2006-06-02 Steve Falkenburg <sfalken@apple.com>
[WebKit-https.git] / WebKitTools / ChangeLog
1 2006-06-02  Steve Falkenburg  <sfalken@apple.com>
2
3         Reviewed by darin.
4         
5         Updated build script
6
7         * Scripts/build-webkit:
8
9 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
10
11         Reviewed by Darin.
12
13         * DumpRenderTree/DumpRenderTree.m:
14         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15         (-[LayoutTestController clearBackForwardList]):
16         Add clearBackForwardList function to layoutTestController
17         
18 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
19
20         Reviewed by Darin.
21
22         http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
23         slow-utf8-text layout test case failing (no longer deterministic?)
24         
25         * DumpRenderTree/DumpRenderTree.m:
26         (dump):
27         Dump as text when the response MIME type is text/plain
28
29 2006-05-26  Steve Falkenburg  <sfalken@apple.com>
30
31         Build fixes/tweaks
32
33         * Spinneret/Spinneret.sln:
34         * Spinneret/Spinneret/Spinneret.vcproj:
35
36 2006-05-24  Geoffrey Garen  <ggaren@apple.com>
37
38         Reviewed by mjs.
39         
40         Added 'GCController' to DRT to support garbage collection layout tests.
41         
42         GCController.collect() and GCController.collectOnAlternateThread() do
43         what you would expect. The latter takes a boolean argument sepcifying
44         whether to wait for garbage collection to finish before continuing to
45         execute script.
46
47         * DumpRenderTree/DumpRenderTree.m:
48         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
49         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
50         * DumpRenderTree/GCController.h: Added.
51         * DumpRenderTree/GCController.mm: Added.
52         (+[GCController isSelectorExcludedFromWebScript:]):
53         (+[GCController webScriptNameForSelector:]):
54         (-[GCController collect]):
55         (-[GCController collectOnAlternateThread:]):
56
57 2006-05-23  John Sullivan  <sullivan@apple.com>
58
59         Reviewed by Maciej.
60
61         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
62         Newer Xcode removed some obsolete cruft
63         
64         * DumpRenderTree/TextInputController.m:
65         (-[TextInputController textInput]):
66         added (id) cast to make newer compiler happy
67
68 2006-05-22  Steve Falkenburg  <sfalken@apple.com>
69
70         Reviewed by adele.
71         
72         Fix build.
73
74         * Spinneret/Spinneret.sln:
75
76 2006-05-18  Darin Adler  <darin@apple.com>
77
78         - try to fix no-SVG, no-XPATH build, again
79
80         * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
81
82 2006-05-18  Darin Adler  <darin@apple.com>
83
84         - try to fix no-SVG, no-XPATH build
85
86         * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
87         since the former is what's used in the WebCore project now.
88
89 2006-05-17  Darin Adler  <darin@apple.com>
90
91         * Scripts/do-webcore-rename: Some more future renames.
92
93 2006-05-16  Adele Peterson  <adele@apple.com>
94
95         Reviewed by Hyatt.
96
97         * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and 
98         HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
99
100 2006-05-15  Alexey Proskuryakov  <ap@nypop.com>
101
102         * Scripts/install-unix-extras: Changed to be executable and removed
103         text in the file generated by "svn diff".
104         * Scripts/regenerate-makefiles: Ditto.
105
106 2006-05-13  Kevin M. Ollivier  <kevino@theolliviers.com>
107
108         Reviewed by Darin, landed by ap.
109
110         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
111           Bakefiles (and generated Makefiles) for wx and gdk ports
112
113         * Scripts/install-unix-extras: Added.
114         * Scripts/regenerate-makefiles: Added.
115
116 2006-05-10  Steve Falkenburg  <sfalken@apple.com>
117
118         Reviewed by Maciej.
119
120         Fix registry usage from perl script.  Turns out libwin32's
121         SetRegValueEx, even for REG_DWORD, always takes its value as a string!
122         
123         * Scripts/install-win-extras:
124
125 2006-05-09  Steve Falkenburg  <sfalken@apple.com>
126
127         Fix Windows build.
128         Add load ended callback.
129         
130         Reviewed by kevin.
131
132         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
133         * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
134         * Spinneret/Spinneret/Spinneret.cpp: 
135         (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
136         (_tWinMain): Load built-in test content here instead of in lower-level code.
137         * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
138
139 2006-05-08  Maciej Stachowiak  <mjs@apple.com>
140
141         Reviewed by Anders.
142
143         * Scripts/extract-localizable-strings: Update for correct names of log macros.
144
145 2006-05-09  Anders Carlsson  <acarlsson@apple.com>
146
147         Reviewed by Maciej.
148         
149         * Scripts/check-dom-results:
150         Add XPath to the list of results.
151
152 2006-05-08  Darin Adler  <darin@apple.com>
153
154         * Scripts/do-webcore-rename: Add another rename.
155
156 2006-05-01  Steve Falkenburg  <sfalken@apple.com>
157
158         Reviewed by eric.
159
160         Spinneret now links against the new separate lib.
161         
162         * Spinneret/Spinneret.sln:
163         * Spinneret/Spinneret/Spinneret.cpp:
164         (SpinneretWebHost::updateLocationBar):
165         (_tWinMain):
166         * Spinneret/Spinneret/Spinneret.h:
167         * Spinneret/Spinneret/Spinneret.vcproj:
168         * Spinneret/Spinneret/WebFrame.cpp: Removed.
169         * Spinneret/Spinneret/WebFrame.h: Removed.
170         * Spinneret/Spinneret/WebView.cpp: Removed.
171         * Spinneret/Spinneret/WebView.h: Removed.
172
173 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
174
175         Reviewed by kdecker
176
177         Modify error reporting registry keys to disable Dr. Watson.
178         This allows Javascript test cases to complete without blocking UI.
179         
180         * Scripts/install-win-extras:
181          - Use Perl Win32 registry functions to disable blocking UI
182         
183
184 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
185
186         Reviewed by eric.
187         
188         Turned off C++ exceptions, fixed memory leaks
189
190         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
191         * Spinneret/Spinneret.sln:
192         * Spinneret/Spinneret/Spinneret.cpp:
193         (_tWinMain):
194         * Spinneret/Spinneret/Spinneret.vcproj:
195         * Spinneret/Spinneret/WebFrame.cpp:
196         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
197         (WebKit::WebFrame::WebFrame):
198         (WebKit::WebFrame::~WebFrame):
199         (WebKit::WebFrame::impl):
200         * Spinneret/Spinneret/WebFrame.h:
201         * Spinneret/Spinneret/WebView.cpp:
202         * Spinneret/Spinneret/stdafx.h:
203
204 2006-04-28  Alexey Proskuryakov  <ap@nypop.com>
205
206         Reviewed by Darin.
207
208         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
209           DumpRenderTree should reset the URL cache
210
211         * DumpRenderTree/DumpRenderTree.m:
212         (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
213
214 2006-04-28  Eric Seidel  <eseidel@apple.com>
215
216         Reviewed by andersca.
217
218         * Scripts/do-webcore-rename: rename KCanvasContainer too
219         * Scripts/run-webkit-tests: output total time
220
221 2006-04-26  Mitz Pettel  <opendarwin.org@mitzpettel.com>
222
223         Reviewed by hyatt.  Landed by eseidel.
224
225         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
226           Enable detection of excessive repainting with DumpRenderTree
227
228         * DumpRenderTree/DumpRenderTree.m:
229         (-[LayoutTestController display]):
230
231 2006-04-23  Mitz Pettel  <opendarwin.org@mitzpettel.com>
232
233         Reviewed by Darin.
234
235         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
236           DumpRenderTree needs a way to force painting (to allow invalidation tests)
237
238         * DumpRenderTree/DumpRenderTree.m:
239         (dump): If display() has been called during the test, grab the pixels from
240         the view, after letting it repaint invalidated rects.
241         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
242         (-[LayoutTestController display]): Added. Calls -display on the view
243         and changes the subsequent behavior of dump().
244         (dumpRenderTree):
245
246 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
247
248         Reviewed by Maciej.
249
250         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
251           Update iExploder to 1.3.2
252
253         Test case numbers are not compatible with iExploder 1.2.
254
255         * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
256
257         * iExploder/CHANGELOG.txt: Added.
258         * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
259         * iExploder/README.txt: Added some performance hints.
260
261         * iExploder/htdocs/config.rb: Added.
262         * iExploder/htdocs/cssproperties.in:
263         * iExploder/htdocs/cssvalues.in:
264         * iExploder/htdocs/htmlattrs.in:
265         * iExploder/htdocs/htmltags.in:
266         * iExploder/htdocs/iexploder.cgi:
267          - Updated to support the latest HTML & CSS tags, properties, and values from both
268            the WebKit and Mozilla CVS tree
269          - cssproperties.in cleanup
270          - Modularized the code a little bit.
271          - Fix subtest bug that was causing last 5 tags to be missed
272          - new subtest algorithm to deal better with larger tag counts
273          - default HTML_MAX_TAGS increased from 32 to 96
274
275         * iExploder/htdocs/index.html: Updated version to 1.3.2.
276         * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
277         alternative to our run-iexploder-tests.
278         * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
279         * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
280         * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
281
282 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
283
284         - commit Scripts/run-mangleme-tests (missed it the previous time).
285
286 2006-04-18  Darin Adler  <darin@apple.com>
287
288         - attempt to fix Windows buildbot
289
290         * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
291         We need a better long-term solution for this.
292
293 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
294
295         Reviewed by Darin.
296
297         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
298           Integrate mangleme test script.
299
300         Works in a similar way to run-iexploder-tests.
301
302         * Scripts/run-mangleme-tests: Added.
303         * mangleme: Added.
304         * mangleme/Makefile: Added.
305         * mangleme/README: Added.
306         * mangleme/mangle.cgi.c: Added.
307         * mangleme/remangle.cgi.c: Added.
308         * mangleme/tags.h: Added.
309
310 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
311
312         Reviewed by Darin.
313
314         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
315           An easier way to save iExploder tests.
316
317         * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
318
319 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
320
321         Reviewed by Darin.
322
323         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
324           Integrate iExploder test script.
325
326         This script generates artificially mangled HTML documents, to test that the browser
327         doesn't crash when handling ill-formed code.
328         
329         How to use:
330          run-iexploder-tests             Open an interactive test page in Safari+ToT.
331          run-iexploder-tests nnnnn       Open test #nnnnn.
332
333         Command line options:
334          --guard-malloc (-g)              Use Guard Malloc.
335          --port=nnnn                      Run Apache on port nnnn (default is 8000).
336
337         To save a crashing test, you can use curl while the crash reporter dialog is on the screen
338         (thus, Apache is still running), e.g.:
339          curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
340
341         Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
342
343         * Scripts/run-iexploder-tests: Added.
344         * iExploder: Added.
345         * iExploder/LICENSE.txt: Added.
346         * iExploder/README.txt: Added.
347         * iExploder/htdocs: Added.
348         * iExploder/htdocs/cssproperties.in: Added.
349         * iExploder/htdocs/cssvalues.in: Added.
350         * iExploder/htdocs/htmlattrs.in: Added.
351         * iExploder/htdocs/htmltags.in: Added.
352         * iExploder/htdocs/htmlvalues.in: Added.
353         * iExploder/htdocs/iexploder.cgi: Added.
354         * iExploder/htdocs/index.html: Added.
355         * iExploder/tools: Added.
356         * iExploder/tools/lasthit.rb: Added.
357         * iExploder/tools/osx_last_crash.rb: Added.
358
359 2006-04-16  Alexey Proskuryakov  <ap@nypop.com>
360
361         Reviewed by Darin.
362
363         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
364           Restore color profile after a crash
365
366         * DumpRenderTree/DumpRenderTree.m:
367         (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
368         from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
369         I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
370         and this code may change significantly.
371
372         (main): Install crashHandler.
373
374         (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
375         (CFStringGetCStringPtr should NEVER EVER be used!).
376
377 2006-04-15  Darin Adler  <darin@apple.com>
378
379         Reviewed by Eric.
380
381         * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
382         Seems xmlsoft.org's HTTP no longer has what we need.
383
384 2006-04-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
385
386         Rubber-stamped by Darin.
387
388         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
389           upload-disk-image stage on buildslaves fail with "No space left on device"
390
391         * BuildSlaveSupport/build-launcher-dmg:  Use the -srcfolder option to
392           'hdiutil create'.   This creates the initial disk image based on the size of
393           the source folder, and copies the contents to the new disk image.  The file
394           extension on the temporary uncompressed disk image has also been altered from
395           ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
396           the extension is not ".dmg".
397
398 2006-04-12  Eric Seidel  <eseidel@apple.com>
399
400         Reviewed by Tim H.
401
402         * Scripts/update-webkit: Make this return non-zero when svn fails.
403
404 2006-04-10  Alexey Proskuryakov  <ap@nypop.com>
405
406         Reviewed by Darin.
407
408         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
409           Make HTTP tests using Perl use .pl extension
410
411         * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
412           removed support for .text. Reduced the number of places that explicitly list supported
413           extensions. Some of the changes come from bug 8121, the patch for which got landed only
414           partially.
415
416 2006-04-06  Darin Adler  <darin@apple.com>
417
418         Changes requested by Mark Rowe.
419
420         * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
421         trash at the end of the file.
422         * BuildSlaveSupport/build-launcher-dmg: Ditto.
423
424         * WebKitLauncher/main.m: Removed trash at end of file.
425
426         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
427         to make name match.
428
429 2006-04-06  Mark Rowe  <opendarwin.org@bdash.net.nz>
430
431         Reviewed by Darin, landed by Maciej.
432
433         * BuildSlaveSupport/build-launcher-app: Added.  Builds WebKit.app from WebKitLauncher
434           and bundles the WebKit frameworks inside it.
435         * BuildSlaveSupport/build-launcher-dmg: Added.  Builds, and optionally uploads, a disk image
436           containing WebKit.app.
437         * BuildSlaveSupport/run-performance-tests:  Use currentSVNRevision.
438         * Scripts/webkitdirs.pm:  Add currentSVNRevision to retrieve the revision
439           number of the SVN working copy.
440         * WebKitLauncher: Added.
441         * WebKitLauncher/Info.plist: Added.
442         * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
443         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
444         * WebKitLauncher/WebKitNightlyEnabler.m: Added.  This makes
445           up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
446           to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
447           the nightly launcher.
448         * WebKitLauncher/main.m: Added.  The WebKit.app launcher.
449           It sets up the environment to have Safari use the bundled frameworks
450           and load the WebKitNightlyEnabler dylib before exec'ing Safari
451         * WebKitLauncher/start.html: Added.
452         * WebKitLauncher/webkit.icns: Added.
453
454 2006-04-05  Darin Adler  <darin@apple.com>
455
456         Reviewed by Maciej.
457
458         * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
459         are allowed to have global initializers.
460
461 2006-04-05  Geoffrey Garen  <ggaren@apple.com>
462
463         Reviewed by OMG BETH
464
465         * Scripts/run-testkjs:
466         - pipe STDERR to /dev/null by default; new --verbose option overrides
467         this behavior
468         - set DYLD_FRAMEWORK_PATH to the webkit-configured path
469         - output run command in a format that can be copied and pasted into the
470         terminal to run manually
471
472 2006-04-03  Justin Garcia  <justin.garcia@apple.com>
473
474         Reviewed by harrison
475         
476         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
477         A drag and drop in DumpRenderTree copies the source, instead of cutting it
478         
479         Tell the source that the drag is over after the drag is performed, not before.
480
481         * DumpRenderTree/EventSendingController.m:
482         (-[EventSendingController mouseUp]):
483
484 2006-04-01  Darin Adler  <darin@apple.com>
485
486         Reviewed by Justin.
487
488         * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
489         Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
490         elements in that array are not strings.
491
492 2006-03-31  Darin Adler  <darin@apple.com>
493
494         Reviewed by John Sullivan.
495
496         - added a "--reset-results" option to run-webkit-tests so you can reset
497           the results without first deleting expected results
498         - <rdar://problem/4185878> add scroll position to dumpRenderTree
499
500         * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
501         more logical. Moved all the subroutines to the end of the file. Added a
502         "--force" option.
503
504         * DumpRenderTree/DumpRenderTree.m:
505         (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
506         to generate new output for all tests it runs.
507         (dump): Dump the scroll position if it's non-zero. Always dump the image when
508         the --dump-all-pixels option is passed. Also tightened up the image dumping
509         code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
510         with code to save and restore the context.
511
512         * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
513         * DumpRenderTree/EventSendingController.m: Added now-needed include.
514
515 2006-03-30  Tim Omernick  <timo@apple.com>
516
517         Reviewed by NOBODY (just fixing copyrights)
518
519         * DumpRenderTree/ObjCPlugin.h:
520         Fixed copyright.
521         * DumpRenderTree/ObjCPlugin.m: ditto
522         * DumpRenderTree/ObjCPluginFunction.h: ditto
523         * DumpRenderTree/ObjCPluginFunction.m: ditto
524
525 2006-03-30  Tim Omernick  <timo@apple.com>
526
527         Reviewed by Geoff.
528
529         * DumpRenderTree/DumpRenderTree.m:
530         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
531         Add "objCPlugin", "objCPluginFunction" properties to the window.  objCPlugin simulates
532         an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
533         exposed to JS as a callable object.
534
535         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
536         Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
537
538         * DumpRenderTree/ObjCPlugin.h: Added.
539         * DumpRenderTree/ObjCPlugin.m: Added.
540         * DumpRenderTree/ObjCPluginFunction.h: Added.
541         * DumpRenderTree/ObjCPluginFunction.m: Added.
542
543         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
544         Added a new method, "removeDefaultMethod", which removes the default method from the
545         plugin object's class.  The effect is that the plugin object is mutated from a callable
546         function to a simple object.
547         (pluginInvoke):
548         Handle "removeDefaultMethod".
549         (pluginInvokeDefault):
550         Made the default method actually do something (return 1).
551
552 2006-03-30  Eric Seidel  <eseidel@apple.com>
553
554         Reviewed by ggaren.
555
556         Remove WebFrame::viewImpl(), setMainFrame on page.
557
558         * Spinneret/Spinneret/WebFrame.cpp:
559         (WebKit::WebFrame::WebFrame):
560         * Spinneret/Spinneret/WebFrame.h:
561         * Spinneret/Spinneret/WebView.cpp:
562         (WebKit::WebView::mouseMoved):
563         (WebKit::WebView::mouseDown):
564         (WebKit::WebView::mouseUp):
565         (WebKit::WebView::mouseDoubleClick):
566         (WebKit::WebViewWndProc):
567
568 2006-03-30  Eric Seidel  <eseidel@apple.com>
569
570         Reviewed by hyatt.
571
572         Fix html editing input & basic form submission.
573
574         * Spinneret/Spinneret/WebFrame.cpp:
575         (WebKit::WebFrame::submitForm):
576         (WebKit::WebFrame::loadURL):
577         * Spinneret/Spinneret/WebFrame.h:
578         * Spinneret/Spinneret/WebView.cpp:
579         (WebKit::WebView::keyPress):
580         (WebKit::WebViewWndProc):
581
582 2006-03-28  Justin Garcia  <justin.garcia@apple.com>
583
584         Reviewed by darin
585
586         <rdar://problem/4402375>
587         REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
588
589         Added an option to draw the selectionRect.
590
591         * DumpRenderTree/DumpRenderTree.m:
592         (dump):
593         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
594         (-[LayoutTestController dumpSelectionRect]):
595         (dumpRenderTree):
596         
597 2006-03-29  Darin Adler  <darin@apple.com>
598
599         Reviewed by Tim Hatcher.
600
601         - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
602
603         * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
604
605 2006-03-28  Eric Seidel  <eseidel@apple.com>
606
607         Reviewed by darin.
608
609         * Scripts/check-for-global-initializers: remove svg exceptions.
610
611 2006-03-28  Timothy Hatcher  <timothy@apple.com>
612
613         Reviewed by Darin.
614
615         Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
616
617         * Scripts/check-for-global-initializers:
618
619 2006-03-28  Timothy Hatcher  <timothy@apple.com>
620
621         Build fix. Turn off uninitialized warnings for the first block of code.
622
623         * Scripts/check-for-global-initializers:
624
625 2006-03-28  Darin Adler  <darin@apple.com>
626
627         Reviewed by Geoff.
628
629         * Scripts/check-for-global-initializers: Added.
630
631 2006-03-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
632
633         Reviewed by darin.  Landed by eseidel.
634
635         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
636           Add repaint testing support to run-webkit-tests
637
638         * DumpRenderTree/DumpRenderTree.m:
639         (main): Added --repaint and --horizontal-sweep options.
640         (dump): Repaint line-by-line or column-by-column when the appropriate option
641         is selected.
642         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
643         and repaintSweepHorizontally() methods to layoutTestController.
644         (-[LayoutTestController testRepaint]):
645         (-[LayoutTestController repaintSweepHorizontally]):
646         (dumpRenderTree):
647         * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
648         to force these settings on tests that do not ask for them.
649
650 2006-03-24  Eric Seidel  <eseidel@apple.com>
651
652         Reviewed by mjs.
653
654         Build fix.
655
656         * Spinneret/Spinneret/WebFrame.cpp:
657         (WebKit::WebFrame::openURL): replace QString with DeprecatedString
658
659 2006-03-21  Beth Dakin  <bdakin@apple.com>
660
661         Reviewed by Maciej
662
663         Add support for keyDown() to DumpRenderTree.
664
665         * DumpRenderTree/DumpRenderTree.m:
666         (main): Set the preference for tabbing to links.
667         * DumpRenderTree/EventSendingController.m:
668         (+[EventSendingController isSelectorExcludedFromWebScript:]):
669         (+[EventSendingController webScriptNameForSelector:]):
670         (-[EventSendingController keyDown:withModifiers:]):
671
672 2006-03-20  Eric Seidel  <eseidel@apple.com>
673
674         Reviewed by hyatt.
675
676         Fix win32 build.
677
678         * Spinneret/Spinneret/Spinneret.vcproj:
679         * Spinneret/Spinneret/WebFrame.h:
680         * Spinneret/Spinneret/WebView.cpp:
681         (WebKit::WebView::mouseMoved):
682         (WebKit::WebView::mouseDown):
683         (WebKit::WebView::mouseUp):
684         (WebKit::WebView::mouseDoubleClick):
685         (WebKit::WebView::keyPress):
686         (WebKit::WebViewWndProc):
687
688 2006-03-19  Darin Adler  <darin@apple.com>
689
690         Reviewed by Anders.
691
692         * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
693         we can test it in layout tests. We don't really need tests that run with
694         pop-up blocking off at the moment. If we do some day, we can add some
695         API for turning it off in the layout test controller.
696
697         * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
698         don't ignore the leak; it should no longer show up.
699
700 2006-03-17  Anders Carlsson  <andersca@mac.com>
701
702         Reviewed by Eric.
703         
704         * Scripts/install-win-extras:
705         Fetch "Program Files" location from the environment.
706         
707 2006-03-17  Eric Seidel  <eseidel@apple.com>
708
709         Reviewed by ggaren.
710
711         Fix Spinneret to pass Events as const & not as pointers.
712
713         * Spinneret/Spinneret/WebView.cpp:
714         (WebKit::WebView::mouseMoved):
715         (WebKit::WebView::mouseDown):
716         (WebKit::WebView::mouseUp):
717         (WebKit::WebView::mouseDoubleClick):
718         (WebKit::WebView::keyPress):
719
720 2006-03-17  Eric Seidel  <eseidel@apple.com>
721
722         Reviewed by justing.
723
724         Add support for basic HTML editing.
725
726         * Spinneret/Spinneret/WebView.cpp:
727         (WebKit::WebView::WebView):
728         (WebKit::WebView::keyPress):
729
730 2006-03-17  Eric Seidel  <eseidel@apple.com>
731
732         Rubber-stamped by ggaren.
733
734         Break DumpRenderTree.m up into several files to make the code more readable.
735
736         * DumpRenderTree/DumpRenderTree.h: Added.
737         * DumpRenderTree/DumpRenderTree.m:
738         (doneLoading): new accessor function for "done" global.
739         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
740         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
741         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
742         * DumpRenderTree/EditingDelegate.h: Added.
743         * DumpRenderTree/EditingDelegate.m: Added.
744         (-[EditingDelegate webViewDidChangeSelection:]):
745         * DumpRenderTree/EventSendingController.h: Added.
746         * DumpRenderTree/EventSendingController.m: Added.
747
748 2006-03-16  Eric Seidel  <eseidel@apple.com>
749
750         Reviewed by darin.
751
752         Add resize, scroll event support.
753
754         * Spinneret/Spinneret/WebView.cpp:
755         (WebKit::WebView::mouseMoved):
756         (WebKit::WebView::mouseDown):
757         (WebKit::WebView::mouseUp):
758         (WebKit::WebView::mouseDoubleClick):
759         (WebKit::WebView::keyPress):
760         (WebKit::WebViewWndProc):
761         * Spinneret/Spinneret/WebView.h:
762
763 2006-03-16  Eric Seidel  <eseidel@apple.com>
764
765         Reviewed by darin.
766
767         Make build-webkit print correctly to stdout on windows.
768
769         * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
770
771 2006-03-15  Eric Seidel  <eseidel@apple.com>
772
773         Reviewed by mjs.
774
775         Fix eventSender.mouseClick() to update lastClick timestamp.
776
777         * DumpRenderTree/DumpRenderTree.m:
778         (-[EventSendingController mouseClick]):
779
780 2006-03-15  Darin Adler  <darin@apple.com>
781
782         Reviewed by Maciej.
783
784         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
785         that had a lowercase "i" in it so this builds on case-sensitive
786         file systems.
787
788 2006-03-15  Geoffrey Garen  <ggaren@apple.com>
789
790         Reviewed by Eric.
791
792         Added run-testkjs and compare-timing-files scripts, to support super
793         accurate JS iBench.
794
795         * Scripts/compare-timing-files: Added.
796         * Scripts/run-testkjs: Added.
797
798 2006-03-14  Eric Seidel  <eseidel@apple.com>
799
800         Reviewed by mjs.
801
802         Make the URL bar relinquish focus on page load.
803
804         * Spinneret/Spinneret/Spinneret.cpp:
805         (MyEditProc):
806
807 2006-03-14  Eric Seidel  <eseidel@apple.com>
808
809         Reviewed by mjs.
810
811         Fix WebView to allow KeyFocus.
812         Add handling of space and shift-space for scrolling.
813
814         * Spinneret/Spinneret/WebView.cpp:
815         (WebKit::scrollMessageForKey):
816         (WebKit::WebViewWndProc):
817
818 2006-03-10  Eric Seidel  <eseidel@apple.com>
819
820         Reviewed by hyatt.
821
822         Add scrolling support into Spinneret.
823
824         * Spinneret/Spinneret/WebFrame.cpp:
825         (WebKit::WebFrame::paint):
826         * Spinneret/Spinneret/WebView.cpp:
827         (WebKit::WebView::createWebView):
828         (WebKit::calculateScrollDelta):
829         (WebKit::scrollMessageForKey):
830         (WebKit::WebViewWndProc):
831
832 2006-03-13  Eric Seidel  <eseidel@apple.com>
833
834         Reviewed by mjs.
835
836         Fix checksum generation on Intel machines.
837         Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
838         give a small speed boost now that it uses a shared buffer.
839
840         * DumpRenderTree/DumpRenderTree.m:
841         (main):
842         (dump):
843         (md5HashStringForBitmap):
844         * DumpRenderTree/ImageDiff.m:
845         (computePercentageDifferent):
846
847 2006-03-13  Darin Adler  <darin@apple.com>
848
849         Reviewed by Tim Hatcher.
850
851         * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
852         have it named httpd-1.3 instead.
853
854 2006-03-13  Alexey Proskuryakov  <ap@nypop.com>
855
856         Fix proposed by Mitz Pettel, reviewed by Darin.
857
858         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
859           run-webkit-tests fast/dom/HTMLObjectElement/ hangs
860
861         * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
862         (sequences of slashes are equivalent to a single slash in POSIX paths, but not 
863         in URLs).
864
865 2006-03-09  Darin Adler  <darin@apple.com>
866
867         Reviewed by John Sullivan.
868
869         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
870           memory leak in the plug-in tests
871
872         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
873         (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
874         (NPP_SetWindow): Remove unneeded code to store the window pointer.
875
876         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
877         Moved the browser global in here since it's declared in this file's header.
878         Changed the code to set up the pluginClass structure to not use function
879         pointer casts. Those are dangerous because they can hide many types of mismatch.
880         And indeed when I did this I discovered that many functions were missing their
881         boolean return values or had parameter declarations with the wrong types.
882         (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
883         clarity. Added boolean return value: return true when successful and false when not.
884         (pluginSetProperty): Added boolean return value, return false since we have no
885         properties we can set.
886         (pluginInvoke): Added boolean return value. Return true when successful and false
887         when not. Use NPVARIANT macros where appropriate. Added a missing release for the
888         return value from calling the browser. Changed code to put the strings in malloc
889         buffers instead of relying on GCC's extension that allows variable-sized arrays
890         on the stack.
891         (pluginInvokeDefault): Added boolean return value, return false since we have no
892         default function to call.
893         (pluginInvalidate): Added missing parameter. Removed comment.
894         (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
895         to cast the result of malloc.
896         (pluginDeallocate): Removed uneeded cast.
897
898         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
899         includes. Changed our PluginObject to use NPObject instead of re-declaring fields
900         that match NPObject's fields. Removed unused NPWindow pointer.
901
902 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
903
904         Test: fast/events/event-sender-mouse-click.html
905
906         Reviewed by Darin.
907
908         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
909           DRT hangs when doing eventSender.mouseDown on native widgets
910
911         * DumpRenderTree/DumpRenderTree.m:
912         (+[EventSendingController isSelectorExcludedFromWebScript:]):
913         (-[EventSendingController mouseClick]): Simulates a click in a native
914         widget by queueing a mouseUp before sending the mouseDown, so that
915         the widget's mouse tracking event loop doesn't hang indefinitely.
916
917 2006-03-09  Maciej Stachowiak  <mjs@apple.com>
918
919         Reviewed by Eric.
920
921         - make link clicks work by handling link click requests
922         from WebCore
923
924         * Spinneret/Spinneret/Spinneret.cpp:
925         (updateLocationBar):
926         * Spinneret/Spinneret/Spinneret.h:
927         * Spinneret/Spinneret/WebFrame.cpp:
928         (WebKit::WebFrame::WebFrame):
929         (WebKit::WebFrame::openURL):
930         (WebKit::WebFrame::loadURL):
931         * Spinneret/Spinneret/WebFrame.h:
932
933 2006-03-08  Eric Seidel  <eseidel@apple.com>
934
935         Reviewed by mjs.
936
937         Focus URL bar on Spinneret launch, remove border from WebView.
938         Stop WebFrame from deleting the job (prevent crash).
939
940         * Spinneret/Spinneret/Spinneret.cpp:
941         (_tWinMain):
942         * Spinneret/Spinneret/WebFrame.cpp:
943         (WebKit::WebFrame::receivedAllData):
944         (WebKit::WebFrame::paint):
945         * Spinneret/Spinneret/WebView.cpp:
946         (WebKit::WebView::createWebView):
947
948 2006-03-09  Alexey Proskuryakov  <ap@nypop.com>
949
950         Reviewed by Darin.
951
952         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
953         (pluginInvoke): Added a method to test getURL.
954
955 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
956
957         Reviewed by Eric.
958
959         - load URLs, not file paths, in Spinneret
960
961         * Spinneret/Spinneret/Spinneret.cpp:
962         (MyEditProc):
963         * Spinneret/Spinneret/Spinneret.vcproj:
964         * Spinneret/Spinneret/WebFrame.cpp:
965         (WebKit::WebFrame::loadURL):
966         (WebKit::WebFrame::receivedData):
967         (WebKit::WebFrame::receivedAllData):
968         * Spinneret/Spinneret/WebFrame.h:
969         * Spinneret/Spinneret/WebView.cpp:
970         (WebKit::WebView::WebView):
971
972 2006-03-08  Darin Adler  <darin@apple.com>
973
974         Reviewed by Eric.
975
976         - fixed AppleScript layout test results to not be endian-dependent
977           (Hyatt complained to me about this one)
978
979         * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
980         Added specific code for dumping LongDateTime, instead of dumping the raw bytes
981         (which are endian-dependent).
982
983 2006-03-07  Darin Adler  <darin@apple.com>
984
985         Reviewed by Anders.
986
987         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
988           unwanted output while running layout tests
989
990         * DumpRenderTree/DumpRenderTree.m:
991         (checkedMalloc): Added.
992         (checkedRealloc): Added.
993         (makeLargeMallocFailSilently): Added.
994         (main): Call makeLargeMallocFailSilently.
995
996 2006-03-06  Darin Adler  <darin@apple.com>
997
998         * Scripts/do-webcore-rename: Add some more planned renaming.
999
1000 2006-03-06  Eric Seidel  <eseidel@apple.com>
1001
1002         Reviewed by hyatt.
1003
1004         * Spinneret/Spinneret/WebFrame.cpp:
1005         (WebKit::WebFrame::paint): force layout before painting
1006
1007 2006-03-06  Justin Garcia  <justin.garcia@apple.com>
1008
1009         Reviewed by darin
1010         
1011         Sent the windowNumber when sending events.
1012         Added leapForward so that we don't have to spend time waiting
1013         in layout tests that do mouse operations that require delays.
1014
1015         * DumpRenderTree/DumpRenderTree.m:
1016         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1017         (+[EventSendingController webScriptNameForSelector:]):
1018         (-[EventSendingController currentEventTime]):
1019         (-[EventSendingController leapForward:]):
1020         (-[EventSendingController mouseDown]):
1021         (-[EventSendingController mouseUp]):
1022         (-[EventSendingController mouseMoveToX:Y:]):
1023
1024 2006-03-05  Darin Adler  <darin@apple.com>
1025
1026         * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1027         Script now works (after landing my two pending patches).
1028
1029 2006-03-05  Darin Adler  <darin@apple.com>
1030
1031         - check in a script to do a "big" rename in WebCore
1032           (can be run whenever we're ready to do it)
1033
1034         * Scripts/do-webcore-rename: Added.
1035
1036 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
1037
1038         Reviewed by Eric.
1039
1040         * Spinneret/Spinneret/WebFrame.cpp:
1041         (WebKit::WebFrame::loadFilePath): Close file when done.
1042
1043 2006-03-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1044
1045         Reviewed by Darin, landed by ap.
1046
1047         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1048           Mouse moved events do not work in DumpRenderTree
1049
1050         Test: fast/events/event-sender-mouse-moved.html
1051
1052         * DumpRenderTree/DumpRenderTree.m:
1053         (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1054
1055 2006-03-04  Eric Seidel  <eseidel@apple.com>
1056
1057         Reviewed by hyatt.
1058
1059         Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1060         Disable background erase to avoid tearing.
1061         Fix potential memory smasher from extra long urls. 
1062
1063         * Spinneret/Spinneret/Spinneret.cpp:
1064         (MyRegisterClass):
1065         * Spinneret/Spinneret/Spinneret.vcproj:
1066         * Spinneret/Spinneret/WebFrame.cpp:
1067         (WebKit::WebFrame::loadFilePath):
1068         (WebKit::WebFrame::paint):
1069         * Spinneret/Spinneret/WebView.cpp:
1070         (WebKit::registerWebViewWithInstance):
1071
1072 2006-03-04  Eric Seidel  <eseidel@apple.com>
1073
1074         Reviewed by ggaren.
1075
1076         Hang WebView pointer off of HWND (gets rid of global hack).
1077         Remove MessageBox displayed on url change.
1078
1079         * Spinneret/Spinneret/Spinneret.cpp:
1080         (WndProc):
1081         (MyEditProc):
1082         * Spinneret/Spinneret/WebView.cpp:
1083         (WebKit::registerWebViewWithInstance):
1084         (WebKit::WebView::createWebView):
1085         (WebKit::WebViewWndProc):
1086
1087 2006-03-04  Alexey Proskuryakov  <ap@nypop.com>
1088
1089         Reviewed by Eric.
1090
1091         Automatically kill httpd if it appears to be already running.
1092
1093         * Scripts/run-webkit-tests: 
1094
1095 2006-03-04  Maciej Stachowiak  <mjs@apple.com>
1096
1097         Reviewed by Eric.
1098
1099         * Spinneret/Spinneret/WebFrame.cpp:
1100         (WebKit::WebFrame::loadFilePath): Improved local file loading.
1101
1102 2006-03-03  Eric Seidel  <eseidel@apple.com>
1103
1104         Reviewed by hyatt.
1105
1106         A few more fixes to make run-webkit-tests really work on win32.
1107
1108         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1109         (localFileTest):
1110         * Scripts/run-webkit-tests:
1111
1112 2006-03-03  Eric Seidel  <eseidel@apple.com>
1113
1114         Reviewed by darin.
1115
1116         Make run-webkit-tests work on win32.
1117
1118         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1119         (localFileTest):
1120         (dumpRenderTreeMain):
1121         (dumpRenderTreeToStdOut):
1122         (serializeToStdOut):
1123         (main):
1124         * Scripts/run-webkit-tests:
1125         * Scripts/webkitdirs.pm:
1126         * Spinneret/Spinneret/WebView.cpp:
1127         (WebKit::WebView::WebView):
1128
1129 2006-03-03  Eric Seidel  <eseidel@apple.com>
1130
1131         Reviewed by mjs.
1132
1133         Add WebFrame class (to hold Frame and FrameView).
1134         Add Location bar support to Spinneret.
1135
1136         * Spinneret/Spinneret/Spinneret.cpp:
1137         (resizeSubViews):
1138         (_tWinMain):
1139         (WndProc):
1140         (MyEditProc):
1141         * Spinneret/Spinneret/Spinneret.vcproj:
1142         * Spinneret/Spinneret/WebFrame.cpp: Added.
1143         (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1144         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1145         (WebKit::WebFrame::WebFrame):
1146         (WebKit::WebFrame::loadFilePath):
1147         (WebKit::WebFrame::loadHTMLString):
1148         (WebKit::WebFrame::paint):
1149         (WebKit::WebFrame::impl):
1150         (WebKit::WebFrame::viewImpl):
1151         * Spinneret/Spinneret/WebFrame.h: Added.
1152         * Spinneret/Spinneret/WebView.cpp:
1153         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1154         (WebKit::WebView::WebView):
1155         (WebKit::WebView::windowHandle):
1156         (WebKit::WebView::mainFrame):
1157         (WebKit::WebView::mouseMoved):
1158         (WebKit::WebView::mouseDown):
1159         (WebKit::WebView::mouseUp):
1160         (WebKit::WebView::mouseDoubleClick):
1161         (WebKit::WebViewWndProc):
1162         * Spinneret/Spinneret/WebView.h:
1163
1164 2006-03-02  Eric Seidel  <eseidel@apple.com>
1165
1166         Reviewed by ggaren.
1167
1168         * Spinneret/Spinneret/WebView.cpp:
1169         (WebKit::registerWebViewWithInstance):
1170         (WebKit::WebView::WebView):
1171         (WebKit::WebView::mouseMoved):
1172         (WebKit::WebView::mouseDown):
1173         (WebKit::WebView::mouseUp):
1174         (WebKit::WebView::mouseDoubleClick):
1175         (WebKit::WebViewWndProc):
1176         * Spinneret/Spinneret/WebView.h:
1177
1178 2006-03-01  Eric Seidel  <eseidel@apple.com>
1179
1180         Reviewed by andersca.
1181
1182         Make spinneret take advantage of the new GraphicsContextCairo.
1183
1184         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1185         (main): updated to match style guidelines.
1186         * Spinneret/Spinneret/Spinneret.cpp:
1187         (_tWinMain):
1188         * Spinneret/Spinneret/WebView.cpp:
1189         (WebKit::registerWebViewWithInstance):
1190         (WebKit::WebView::WebView):
1191         (WebKit::WebView::~WebView):
1192         (WebKit::WebView::drawRect):
1193         (WebKit::WndProc):
1194         * Spinneret/Spinneret/WebView.h:
1195
1196 2006-03-01  Justin Garcia  <justin.garcia@apple.com>
1197
1198         Reviewed by darin
1199         
1200         Give the events that eventSender sends a unique eventNumber
1201
1202         * DumpRenderTree/DumpRenderTree.m:
1203         (-[EventSendingController mouseDown]):
1204         (-[EventSendingController mouseUp]):
1205         (-[EventSendingController mouseMoveToX:Y:]):
1206
1207 2006-03-01  Eric Seidel  <eseidel@apple.com>
1208
1209         Reviewed by hyatt.
1210
1211         Add a stub win32 application to test WebCore drawing on windows.
1212
1213         * Spinneret: Added.
1214         * Spinneret/Spinneret: Added.
1215         * Spinneret/Spinneret.sln: Added.
1216         * Spinneret/Spinneret/Resource.h: Added.
1217         * Spinneret/Spinneret/Spinneret.cpp: Added.
1218         (_tWinMain):
1219         (MyRegisterClass):
1220         (InitInstance):
1221         (WndProc):
1222         (About):
1223         * Spinneret/Spinneret/Spinneret.h: Added.
1224         * Spinneret/Spinneret/Spinneret.ico: Added.
1225         * Spinneret/Spinneret/Spinneret.rc: Added.
1226         * Spinneret/Spinneret/Spinneret.vcproj: Added.
1227         * Spinneret/Spinneret/WebView.cpp: Added.
1228         (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1229         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1230         (WebKit::registerWebViewWithInstance):
1231         (WebKit::WebView::createWebView):
1232         (WebKit::WebView::WebView):
1233         (WebKit::WebView::~WebView):
1234         (WebKit::WebView::drawRect):
1235         (WebKit::WebView::windowHandle):
1236         (WebKit::WndProc):
1237         * Spinneret/Spinneret/WebView.h: Added.
1238         * Spinneret/Spinneret/small.ico: Added.
1239         * Spinneret/Spinneret/stdafx.cpp: Added.
1240         * Spinneret/Spinneret/stdafx.h: Added.
1241
1242 2006-02-28  Eric Seidel  <eseidel@apple.com>
1243
1244         Reviewed by mjs.
1245
1246         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1247         (main): add ability to dump render tree and read from a local file.
1248
1249 2006-02-27  Eric Seidel  <eseidel@apple.com>
1250
1251         Reviewed by darin.
1252
1253         * Scripts/install-win-extras: fix dll permissions & download zlib too.
1254
1255 2006-02-27  Eric Seidel  <eseidel@apple.com>
1256
1257         Reviewed by ggaren.
1258
1259         Test new KConfig -> PlugInInfoStore change.
1260         http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1261
1262         * DumpRenderTree/DumpRenderTree.m:
1263         (main): load test netscape plugin
1264         * Scripts/run-webkit-tests: style update
1265
1266 2006-02-24  Eric Seidel  <eseidel@apple.com>
1267
1268         Reviewed by mjs.
1269
1270         Make DumpRenderTree link against icu.
1271
1272         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1273
1274 2006-02-24  Eric Seidel  <eseidel@apple.com>
1275
1276         Reviewed by mjs.
1277
1278         Make DumpRenderTree link against libxml, etc.
1279
1280         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1281
1282 2006-02-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1283
1284         Reviewed and landed by Anders.
1285         
1286         Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1287         getting called from the run loop, making the view render each test and thus slowing
1288         down the tests.
1289
1290         * DumpRenderTree/DumpRenderTree.m:
1291         (main): Set the offscreen window to not autodisplay.
1292
1293 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
1294
1295         Reviewed by Darin.
1296
1297         - Turn http tests back on by default.
1298         - Wait for Apache to actually start serving requests.
1299         - Get user id from a built-in variable rather than an external command; 
1300         don't pass the group. 
1301
1302         * Scripts/run-webkit-tests: 
1303
1304 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
1305
1306         Suggested by Mitz Pettel, reviewed by Darin.
1307
1308         * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1309         can run CGIs even if the permissions are 700 or 600.
1310
1311 2006-02-23  Darin Adler  <darin@apple.com>
1312
1313         Collaborating with Alexey.
1314
1315         - turn off http tests by default until we figure out how to get them
1316           to run even when permissions on CGI files are 700 instead of 755
1317
1318         * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1319
1320 2006-02-23  Eric Seidel  <eseidel@apple.com>
1321
1322         Add *.user to ignore list.
1323
1324 2006-02-23  Eric Seidel  <eseidel@apple.com>
1325
1326         Remove binary file which shouldn't have been commited (and add to ignore list).
1327
1328         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1329         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1330
1331 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
1332
1333         Reviewed by Eric.
1334
1335         * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1336
1337 2006-02-22  Eric Seidel  <eseidel@apple.com>
1338
1339         Reviewed by Tim Hatcher.
1340
1341         Fix install-win-extras to not try to re-install setx if installed.
1342
1343         * Scripts/install-win-extras:
1344
1345 2006-02-22  Eric Seidel  <eseidel@apple.com>
1346
1347         One more file possibly missing from previous commit?
1348
1349         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1350         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1351
1352 2006-02-22  Eric Seidel  <eseidel@apple.com>
1353
1354         Reviewed by justing.
1355
1356         Files missing from previous commit.
1357
1358         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1359         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1360
1361 2006-02-22  Eric Seidel  <eseidel@apple.com>
1362
1363         Rubber-stamped by justing.
1364
1365         Corrected path for DumpRenderTree.intermediate files
1366
1367         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1368
1369 2006-02-22  Eric Seidel  <eseidel@apple.com>
1370
1371         Reviewed by justing.
1372
1373         Fixed build-dumprendertree to exit with correct error codes.
1374
1375         * Scripts/build-dumprendertree:
1376
1377 2006-02-22  Eric Seidel  <eseidel@apple.com>
1378
1379         Reviewed by justing.
1380
1381         Update build scripts to generalize building on Win32, and allow
1382         building of DumpRenderTree on Win32 from build-dumprendertree.
1383
1384         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1385         (main):
1386         * Scripts/build-dumprendertree:
1387         * Scripts/build-webkit:
1388         * Scripts/webkitdirs.pm:
1389
1390 2006-02-22  Eric Seidel  <eseidel@apple.com>
1391
1392         Reviewed by hyatt.
1393
1394         * DumpRenderTree/DumpRenderTree.vcproj: Added.
1395         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1396         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1397         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1398         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1399         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1400         (_tmain):
1401         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1402         * Scripts/build-webkit: make build-webkit cleanup after itself
1403
1404 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
1405
1406         Reviewed by Darin.
1407
1408         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1409           Some minor fixes to http tests.
1410
1411         * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1412
1413 2006-02-21  Alexey Proskuryakov  <ap@nypop.com>
1414
1415         Reviewed by Darin.
1416
1417         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1418           Would like to use locally installed Apache for testing.
1419
1420         Added two run-webkit-tests options:
1421           --http (--nohttp)  - whether to launch Apache (defaults to yes);
1422           --port - which port to listen on (defaults to 8000).
1423
1424         Tests in LayoutTests/http are not run directly, and Apache is used instead.
1425         For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1426         http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1427
1428         Also added support for .shtml and .text files. Text files give an empty 
1429         *-expected.txt, but a correct image.
1430
1431         Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1432
1433         * Scripts/run-webkit-tests:
1434
1435 2006-02-21  Darin Adler  <darin@apple.com>
1436
1437         Suggested by Mark Rowe.
1438
1439         * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1440         reporting leak counts.
1441
1442 2006-02-18  Maciej Stachowiak <mjs@apple.com>
1443
1444         Reviewed by Darin.
1445
1446         - Added install-win-extras script which installs some extra 
1447         programs and libraries, and does Windows first-time setup.
1448
1449         * Scripts/build-webkit: Add a newline between build results.
1450         * Scripts/install-win-extras: Added.
1451
1452 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
1453
1454         Reviewed by Darin.
1455
1456         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1457           DumpRenderTree should be able to load files via HTTP
1458
1459         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1460         Handle tests starting with "http://" as real URLs, not file system paths.
1461
1462 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
1463
1464         Reviewed by Maciej.
1465
1466         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1467           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1468
1469         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1470
1471 2006-02-18  Darin Adler  <darin@apple.com>
1472
1473         * Scripts/commit-log-editor: Added.
1474
1475 2006-02-17  Eric Seidel  <eseidel@apple.com>
1476
1477         Reviewed by hyatt.
1478
1479         Make Win32 have the same default "WebKitBuild" directory behavior.
1480
1481         * Scripts/build-webkit:
1482         * Scripts/webkitdirs.pm:
1483
1484 2006-02-17  Eric Seidel  <eseidel@apple.com>
1485
1486         Reviewed by Beth.
1487
1488         * Scripts/build-webkit: make win32 actually report errors
1489
1490 2006-02-17  Eric Seidel  <eseidel@apple.com>
1491
1492         Reviewed by adele.
1493
1494         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1495
1496 2006-02-17  Eric Seidel  <eseidel@apple.com>
1497
1498         Reviewed by adele.
1499
1500         * Scripts/run-webkit-tests: Ignore flash leaks
1501
1502 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
1503
1504         Reviewed by darin
1505         
1506         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1507         Add drag and drop support to DumpRenderTree
1508         
1509         Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1510         and send dragging updates.  Put DumpRenderTree's WebView into an offscreen window.
1511
1512         * DumpRenderTree/DumpRenderTree.m:
1513         (main):
1514         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1515         (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1516         (-[WaitUntilDoneDelegate webViewFocus:]):
1517         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1518         (+[LayoutTestController webScriptNameForSelector:]):
1519         (-[LayoutTestController setWindowIsKey:]):
1520         (-[LayoutTestController setMainFrameIsFirstResponder:]):
1521         (-[EventSendingController init]):
1522         (-[EventSendingController mouseDown]):
1523         (-[EventSendingController mouseUp]):
1524         (-[EventSendingController mouseMoveToX:Y:]):
1525         (dumpRenderTree):
1526         (-[DumpRenderTreeWindow isKeyWindow]):
1527         (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1528         (-[DumpRenderTreeDraggingInfo dealloc]):
1529         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1530         (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1531         (-[DumpRenderTreeDraggingInfo draggingLocation]):
1532         (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1533         (-[DumpRenderTreeDraggingInfo draggedImage]):
1534         (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1535         (-[DumpRenderTreeDraggingInfo draggingSource]):
1536         (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1537         (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1538         (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1539         * DumpRenderTree/TextInputController.m:
1540         (-[TextInputController firstRectForCharactersFrom:length:]):
1541         (-[TextInputController characterIndexForPointX:Y:]):
1542         
1543 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
1544
1545         Reviewed by Eric.
1546
1547         * DumpRenderTree/DumpRenderTree.m:
1548         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 
1549         Added a dummy method for the sake of LayoutTests/plugins/
1550         undefined-property-crash.html. (It tests a crash due to fallback 
1551         object use. WebCore won't create a fallback object if the method is 
1552         not defined.)
1553
1554 2006-02-14  Eric Seidel  <eseidel@apple.com>
1555
1556         Reviewed by adele.
1557
1558         * Scripts/run-webkit-tests: added --results-directory (-o) option
1559
1560 2006-02-09  Eric Seidel  <eseidel@apple.com>
1561
1562         Rubber-stamped by mjs.
1563
1564         Renamed split-class to split-file-by-class.
1565
1566         * Scripts/build-webkit: Updated copyright.
1567         * Scripts/split-class: Removed.
1568         * Scripts/split-file-by-class: Added.
1569
1570 2006-02-08  Eric Seidel  <eseidel@apple.com>
1571
1572         Rubber-stamped by mjs.
1573
1574         Adding new script for splitting multi-class files.
1575         Also adding supporting perl module with space removing heuristics.
1576
1577         * Scripts/SpacingHeuristics.pm: Added.
1578         * Scripts/build-drawtest: updated copyright header
1579         * Scripts/split-class: Added.
1580
1581 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
1582
1583         Reviewed by thatcher
1584         
1585         Changes to test fix for:
1586         <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1587         webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1588
1589         * DumpRenderTree/DumpRenderTree.m:
1590         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1591         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1592         (+[LayoutTestController webScriptNameForSelector:]):
1593         (-[LayoutTestController setWindowHasFocus:]):
1594         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1595
1596 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
1597
1598         Reviewed by Timothy.
1599
1600         Support automated testing of AppleScript "do JavaScript" command
1601         http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1602
1603         * DumpRenderTree/AppleScriptController.h: Added.
1604         * DumpRenderTree/AppleScriptController.m: Added.
1605         * DumpRenderTree/DumpRenderTree.m:
1606         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1607         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1608
1609 2006-02-06  Eric Seidel  <eseidel@apple.com>
1610
1611         Reviewed by hyatt.
1612
1613         Fix build-webkit for use on win32 (unblocks buildbot usage).
1614         http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1615
1616         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1617         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1618
1619 2006-02-06  Eric Seidel  <eseidel@apple.com>
1620
1621         Rubber-stamped by darin & mjs.
1622
1623         Added new support directory for build slave scripts.
1624         Committing the first script, for use by the PLT's build slave.
1625         This script is used to kick of the PLT (Page Load Test) slave.
1626
1627         * BuildSlaveSupport: Added.
1628         * BuildSlaveSupport/run-performance-tests: Added.
1629
1630 2006-02-06  Eric Seidel  <eseidel@apple.com>
1631
1632         Rubber-stamped by darin.
1633
1634         Adding setSourceDir for scripts stored in non-standard locations.
1635
1636         * Scripts/webkitdirs.pm:
1637
1638 2006-02-04  Darin Adler  <darin@apple.com>
1639
1640         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1641         Configuration files that say Development or Deployment in them.
1642
1643 2006-02-04  Darin Adler  <darin@apple.com>
1644
1645         * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1646         wrapper already in the directory.
1647         * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1648         these haven't been working at all.
1649         * Scripts/svn-unapply: Ditto.
1650
1651 2006-02-03  Timothy Hatcher  <timothy@apple.com>
1652
1653         Reviewed by Justin.
1654
1655         Renamed configuration names to Debug, Release and Production.
1656
1657         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1658         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1659         * Scripts/set-webkit-configuration:
1660         * Scripts/webkitdirs.pm:
1661
1662 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
1663
1664         Reviewed by thatcher
1665         
1666         Enabled spell checking for layout tests.
1667         
1668         * DumpRenderTree/DumpRenderTree.m:
1669         (main):
1670
1671 2006-01-29  Darin Adler  <darin@apple.com>
1672
1673         * Scripts/svn-apply: Added comments about things we should do to improve.
1674         * Scripts/svn-create-patch: Ditto.
1675         * Scripts/svn-unapply: Ditto.
1676
1677 2006-01-28  Darin Adler  <darin@apple.com>
1678
1679         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1680         already there, even if the checksum is correct.
1681
1682 2006-01-27  Eric Seidel  <eseidel@apple.com>
1683
1684         Reviewed by adele.
1685
1686         * Scripts/run-webkit-tests: make new tests use absolute urls
1687
1688 2006-01-27  Eric Seidel  <eseidel@apple.com>
1689
1690         Reviewed by mjs.
1691
1692         make run-webkit-tests output total leaks count
1693
1694         * Scripts/run-webkit-tests:
1695
1696 2006-01-27  Eric Seidel  <eseidel@apple.com>
1697
1698         Reviewed by mjs.
1699
1700         run-webkit-test --leaks crashes (malloc logging runs out of memory)
1701         http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
1702
1703         * Scripts/run-webkit-tests: fix --leaks to not crash
1704
1705 2006-01-26  Eric Seidel  <eseidel@apple.com>
1706
1707         Reviewed by darin.
1708
1709         run-webkit-tests should produce a self-contained results directory
1710         http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
1711
1712         * Scripts/run-webkit-tests: copy failing items to results dir.
1713
1714 2006-01-23  Darin Adler  <darin@apple.com>
1715
1716          - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
1717            need script to update localizable strings file in WebKit
1718
1719         * Scripts/update-webkit-localizable-strings: Added.
1720
1721 2006-01-23  Darin Adler  <darin@apple.com>
1722
1723         - added a couple of scripts -- more about these two soon
1724
1725         * Scripts/extract-localizable-strings: Added.
1726         * Scripts/merge-changelog: Added.
1727
1728 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
1729
1730         Reviewed by Anders.
1731         
1732         Build fix.  build-webkit dies with "invalid build action: (empty string)"
1733
1734         * Scripts/build-webkit:
1735         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
1736
1737 2006-01-22  Eric Seidel  <eseidel@apple.com>
1738
1739         Reviewed by anders.
1740
1741         Fix --no-svg option to use XCode flags instead of gcc flags.
1742
1743         * Scripts/build-webkit:
1744
1745 2006-01-22  Eric Seidel  <eseidel@apple.com>
1746
1747         Reviewed by anders.
1748
1749         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
1750
1751         * Scripts/build-webkit:
1752
1753 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
1754
1755         Reviewed by eseidel.
1756
1757         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
1758         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
1759
1760         * Scripts/build-drawtest: Changed bareword 'true' to 1.
1761         * Scripts/run-drawtest: Changed bareword 'true' to 1.
1762
1763 2006-01-19  Darin Adler  <darin@apple.com>
1764
1765         * Scripts/report-include-statistics: Added a new script.
1766
1767 2006-01-19  Timothy Hatcher  <timothy@apple.com>
1768
1769         * Scripts/build-webkit: include JavaScriptGlue in the build
1770
1771 2006-01-19  Darin Adler  <darin@apple.com>
1772
1773         * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
1774         spaces in it by using the form of open that treats each argument as a string
1775         rather than backtick syntax for reading the output of the nm tool.
1776
1777 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
1778
1779         Reviewed by Darin.
1780         
1781         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
1782         detect if there are any new tests
1783
1784         * Scripts/prepare-ChangeLog:
1785
1786 2006-01-12  Darin Adler  <darin@apple.com>
1787
1788         - removed some of the cvs-specific scripts -- not needed for this project any more
1789
1790         * Scripts/cvs-abandon: Removed.
1791         * Scripts/cvs-apply: Removed.
1792         * Scripts/cvs-create-patch: Removed.
1793         * Scripts/cvs-unapply: Removed.
1794
1795 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
1796
1797         Reviewed by eseidel.  Committed by eseidel.
1798
1799         - run-webkit-tests always launches Safari when tests fail
1800         http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
1801
1802         * Scripts/run-webkit-tests:
1803         Add a command-line flag to prevent Safari being launched to display failed
1804         tests.  Always exit with non-zero status when tests have failed.
1805
1806 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
1807
1808         Reviewed by eseidel.  Committed by eseidel.
1809
1810         - build-webkit should exit with non-zero status when build fails
1811         http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
1812
1813         * Scripts/build-webkit:
1814         Use correct bits of subprocess exit code when passing back through
1815         as build-webkit's exit code.
1816
1817 2006-01-10  Eric Seidel  <eseidel@apple.com>
1818
1819         Restored corrupted nibs from TOT CVS.
1820
1821         * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
1822         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
1823         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
1824         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
1825         * DrawTest/English.lproj/Inspector.nib: Replaced.
1826         * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
1827         * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
1828         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
1829         * DrawTest/English.lproj/MainMenu.nib: Replaced.
1830         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
1831         * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
1832         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
1833         * DrawTest/English.lproj/TestViewer.nib: Replaced.
1834         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
1835         * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
1836         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
1837
1838 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
1839
1840         Reviewed by eseidel.  Committed by eseidel.
1841
1842         DrawTestView now subclasses WebView instead of DrawView.
1843
1844         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1845         * DrawTest/DrawTestDocument.h:
1846         * DrawTest/DrawTestDocument.m:
1847         (-[DrawTestDocument dealloc]):
1848         (-[DrawTestDocument readFromFile:ofType:]):
1849         (-[DrawTestDocument windowControllerDidLoadNib:]):
1850         (-[DrawTestDocument dumpSVGToConsole:]):
1851         (-[DrawTestDocument openSourceForSelection:]):
1852         (-[DrawTestDocument dataRepresentationOfType:]):
1853         * DrawTest/DrawTestToolbarController.h:
1854         * DrawTest/DrawTestToolbarController.m:
1855         (-[DrawTestToolbarController initWithDrawView:]):
1856         (-[DrawTestToolbarController clickedToolbarItem:]):
1857         (-[DrawTestToolbarController validateToolbarItem:]):
1858         * DrawTest/DrawTestView.h:
1859         * DrawTest/DrawTestView.m:
1860         (-[DrawTestView initWithFrame:]):
1861         (-[DrawTestView setDocument:]):
1862         * DrawTest/SVGTest.h:
1863         * DrawTest/SVGTest.m:
1864         (+[SVGTest sharedDrawView]):
1865         (-[SVGTest generateCompositeIfNecessary]):
1866         * DrawTest/TestController.h:
1867         * DrawTest/TestController.m:
1868         (-[TestController awakeFromNib]):
1869         (-[TestController setSelectedTest:]):
1870         (-[TestController openTestViewerForSelection:]):
1871         (-[TestController toggleViewersScaleRule:]):
1872         * DrawTest/TestViewerSplitView.m:
1873         (-[TestViewerSplitView drawRect:]):
1874
1875 2006-01-10  Anders Carlsson  <andersca@mac.com>
1876
1877         Reviewed by Timothy.
1878
1879         * DumpRenderTree/DumpRenderTree.m:
1880         (main): Set the default language to "en", so language tests will work.
1881
1882 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
1883
1884         Reviewed by Eric.
1885         
1886         - script to generate HTML wrappers for JS tests
1887         http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
1888
1889         * Scripts/make-js-test-wrappers: Added.
1890
1891 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
1892
1893         Reviewed by Eric.
1894
1895         * Scripts/svn-create-patch: Fix to work when passed directory names.
1896
1897 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
1898
1899         Reviewed by Eric.
1900
1901         - Added back/forward navigation support to DumpRenderTree. Hopefully we
1902         can start writing automated loader tests now. I have one in the works.
1903
1904         * DumpRenderTree/DumpRenderTree.m:
1905         (main): Construct global navigationController on entry, destroy on exit.
1906         Set frame to nil on exit too, to match all the other global objects. 
1907         (Probably academic, since the process is exiting, anyway.)
1908         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
1909         navigationController, in case it wants to kick off a load.
1910         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
1911         the navigationController to scripting.
1912
1913         New class, should be straightforward:
1914
1915         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1916         * DumpRenderTree/NavigationController.h: Added.
1917         * DumpRenderTree/NavigationController.m: Added.
1918
1919         (+[NavigationController isSelectorExcludedFromWebScript:]):
1920         (+[NavigationController webScriptNameForSelector:]):
1921         (-[NavigationController setPendingScript:]):
1922         (-[NavigationController setPendingRequest:]):
1923         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
1924         (-[NavigationController webView:didFinishLoadForFrame:]):
1925         (-[NavigationController dealloc]):
1926
1927 2006-01-08  Timothy Hatcher  <timothy@apple.com>
1928
1929         Removed this script, no longer needs with the Subversion switch.
1930
1931         * checkout: Removed.
1932
1933 2006-01-08  Timothy Hatcher  <timothy@apple.com>
1934
1935         Removes some stray tabs.
1936
1937         * Scripts/update-webkit:
1938
1939 2005-01-07  Eric Seidel  <eseidel@apple.com>
1940
1941         Reviewed by darin.
1942
1943         build-webkit should pass on build arguments from command line
1944         http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
1945
1946         * Scripts/build-webkit:
1947
1948 2006-01-07  Eric Seidel  <eseidel@apple.com>
1949
1950         Reviewed by mjs & xenon.
1951
1952         * Scripts/update-webkit: support Internal updates as well
1953
1954 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
1955
1956         Temporarily rolling out plugin support from DumpRenderTree because it
1957         caused lots of layout test regressions.
1958
1959         * DumpRenderTree/DumpRenderTree.m:
1960         (main): Remove invisible window added to support plugins.
1961
1962 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
1963
1964         Reviewed by darin.
1965
1966         - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
1967         Add plugin support to DumpRenderTree
1968
1969         Also wrote first test plugin.
1970
1971         * DumpRenderTree/DumpRenderTree.m:
1972         (main):
1973         (1) Put the WebView in an invisible window, because PlugIns are
1974         optimized not to load if there's no parent window.
1975         (2) Tell WebKit to load any PlugIns in the directory from which we 
1976         loaded. This means we can build nasty PlugIns alongside DumpRenderTree 
1977         and they'll load automagically during layout testing, but they won't be
1978         added to the user's system, hosing apps like Safari.
1979
1980         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
1981         test PlugIn to project.
1982
1983         PlugIn added to project:
1984
1985         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
1986         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
1987         (getPluginClass):
1988         (initializeIdentifiers):
1989         (pluginHasProperty):
1990         (pluginHasMethod):
1991         (pluginGetProperty):
1992         (pluginSetProperty):
1993         (pluginInvoke):
1994         (pluginInvokeDefault):
1995         (pluginInvalidate):
1996         (pluginAllocate):
1997         (pluginDeallocate):
1998         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
1999         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2000         (NP_Initialize):
2001         (NP_GetEntryPoints):
2002         (NP_Shutdown):
2003         (NPP_New):
2004         (NPP_Destroy):
2005         (NPP_SetWindow):
2006         (NPP_NewStream):
2007         (NPP_DestroyStream):
2008         (NPP_WriteReady):
2009         (NPP_Write):
2010         (NPP_StreamAsFile):
2011         (NPP_Print):
2012         (NPP_HandleEvent):
2013         (NPP_URLNotify):
2014         (NPP_GetValue):
2015         (NPP_SetValue):
2016
2017 2006-01-04  Timothy Hatcher  <timothy@apple.com>
2018
2019         Reviewed by Darin.
2020         Created by Eric.
2021         Tweaked and tested by me.
2022
2023         New scripts to work with Subversion when the switch happens.
2024         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2025
2026         * Scripts/svn-apply: Added.
2027         * Scripts/svn-create-patch: Added.
2028         * Scripts/svn-unapply: Added.
2029
2030 2005-12-30  Eric Seidel  <eseidel@apple.com>
2031
2032         Reviewed by mjs.
2033
2034         Move WebView width/height logic into DumpRenderTree to support
2035         running the W3C SVG 1.1 tests along side other tests.  The W3C
2036         SVG 1.1 tests require a 480x360 view.
2037
2038         * DumpRenderTree/DumpRenderTree.m:
2039         (main): don't accept width/height
2040         (dump): override width/height for SVG/W3C
2041         * Scripts/run-webkit-tests: don't pass width/height
2042
2043 2005-12-30  Eric Seidel  <eseidel@apple.com>
2044
2045         No review, only removing dead code.
2046
2047         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2048         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2049
2050 2005-12-30  Eric Seidel  <eseidel@apple.com>
2051
2052         Reviewed by darin.
2053
2054         DumpRenderTree should set a consistent color profile while running
2055         http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2056
2057         Creates consistent colormatched renderings on every test machine
2058         using the only way possible with Tiger APIs: by setting the
2059         system color profile on the test machine for the duration of the
2060         tests.  This will (unfortunately) cause colors to change while
2061         running DumpRenderTree.  This can also cause "permanent" color
2062         changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2063         This is far from ideal, but it's be best way we've found to deal
2064         with the issue for now.
2065
2066         * DumpRenderTree/DumpRenderTree.m:
2067         (restoreColorSpace):
2068         (setDefaultColorProfileToRGB):
2069         (main):
2070
2071 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
2072
2073         Reviewed by Darin Adler.
2074
2075         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2076           cvs-create-patch --include produces incorrect paths
2077
2078         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2079
2080 2005-12-19  Eric Seidel  <eseidel@apple.com>
2081
2082         Reviewed by darin.
2083
2084         * Scripts/run-webkit-tests: stop /etc/catalog warnings
2085
2086 2005-12-19  Darin Adler  <darin@apple.com>
2087
2088         Reviewed by Eric Seidel.
2089
2090         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2091           WebKit needs to use a local pasteboard during testing
2092
2093         * DumpRenderTree/DumpRenderTree.m:
2094         (main): Call poseAs to substitute our NSPasteboard class for the default one.
2095         Create a local pasteboard (really a global one with a unique name) and release
2096         it when exiting from the function so we don't leave it in the pasteboard server.
2097         (dumpRenderTree): Added an autorelease pool around one small bit of code that
2098         ddn't have one. Fixed a leak in an unlikely error case.
2099         (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2100         of this method to return our local pasteboard.
2101
2102 2005-12-15  Eric Seidel  <eseidel@apple.com>
2103
2104         Reviewed by Tim Hatcher.
2105
2106         * Scripts/build-webkit: --svg is now default!
2107
2108 2005-12-15  Eric Seidel  <eseidel@apple.com>
2109
2110         Reviewed by mjs.
2111
2112         Don't run svg test automatically if +SVG is built (yet).
2113
2114         * Scripts/run-webkit-tests:
2115
2116 2005-12-15  Darin Adler  <darin@apple.com>
2117
2118         * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2119         support is not compiled in. Report the 10 slowest tests if "--slowest" is
2120         passed on the command line.
2121
2122 2005-12-06  John Sullivan  <sullivan@apple.com>
2123
2124         Reviewed by Darin Adler.
2125
2126         * Scripts/prepare-ChangeLog:
2127         Remove special-case handling for nib files. This avoided trouble with cvs diff
2128         when we were using wrappers for nib files. Now that we aren't using wrappers,
2129         there's no reason to avoid adding the modified nib files to the file list that
2130         gets diffed.
2131
2132 2005-12-05  Eric Seidel  <eseidel@apple.com>
2133
2134         Reviewed by mjs.
2135
2136         Script updates for SVG files move (remove references to SVGSupport)
2137
2138         * Scripts/build-webkit: remove SVGSupport
2139         * Scripts/run-webkit-tests: Resources -> resources for --svg
2140         * Scripts/update-webkit: remove SVGSupport
2141
2142 2005-12-05  Eric Seidel  <eseidel@apple.com>
2143
2144         Reviewed mjs.
2145
2146         * checkout: remove --svg support, SVG is now checked out by default
2147
2148 2005-11-29  Eric Seidel  <eseidel@apple.com>
2149
2150         Reviewed by darin.
2151
2152         Update scripts to run SVG tests automatically (w/o --svg) if
2153         WebCore is built with SVG support.
2154
2155         * Scripts/build-drawtest: SVG support required
2156         * Scripts/build-dumpkcanvastree: Removed.
2157         * Scripts/run-drawtest: SVG support required to run
2158         * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2159         * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2160
2161 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
2162
2163         Reviewed by Darin. Committed by Maciej.
2164
2165         - fixed "DumpRenderTree should test for Ahem before doing anything else"
2166         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2167
2168         * DumpRenderTree/DumpRenderTree.m:
2169         (main):
2170
2171 2005-11-28  Eric Seidel  <eseidel@apple.com>
2172
2173         Reviewed by sullivan and GGAREN.
2174
2175         Minor additions to make error messages more clear from cvs-apply.
2176
2177         * Scripts/cvs-apply: make errors more clear
2178
2179 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
2180
2181         Reviewed and committed by Maciej.
2182
2183         - fixed cvs-create-patch --include produces incorrect paths
2184         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2185
2186         * Scripts/cvs-create-patch: produce proper paths for new files.
2187
2188 2005-11-21  Eric Seidel  <eseidel@apple.com>
2189
2190         Reviewed by hyatt.
2191
2192         Some simple fixes to the build/test scripts now that SVG uses the
2193         WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
2194         or symlinks for KDOM.
2195
2196         * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2197         * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2198         * Scripts/run-webkit-tests: now runs SVG tests using DRT
2199         * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI 
2200         * checkout: no longer symlink kdom
2201
2202 2005-11-10  Eric Seidel  <eseidel@apple.com>
2203
2204         Reviewed by ggaren.
2205
2206         * Scripts/build-webkit: Pass through options to xcodebuild
2207
2208 2005-11-07  Darin Adler  <darin@apple.com>
2209
2210         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2211
2212 2005-11-03  John Sullivan  <sullivan@apple.com>
2213
2214         Reviewed by Darin.
2215
2216         * Scripts/run-safari:
2217         changed message to say "Starting Safari" instead of odd "Start Safari"
2218         * Scripts/run-webkit-tests:
2219         changed the way we pass the file parameter to use -NSOpen rather than relying on
2220         unlabeled arguments being treated as files. This was failing on some machines that 
2221         (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2222
2223 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
2224
2225         Patch by Alexey Proskuryakov.
2226
2227         Reviewed by Maciej.
2228         
2229         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2230         TextInputController should support attributed strings
2231
2232         * DumpRenderTree/TextInputController.m:
2233         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2234         (+[NSMutableAttributedString webScriptNameForSelector:]):
2235         (-[NSMutableAttributedString getLength]):
2236         (-[NSMutableAttributedString attributeNamesAtIndex:]):
2237         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2238         (-[NSMutableAttributedString addAttribute:value:]):
2239         (-[NSMutableAttributedString addAttribute:value:from:length:]):
2240         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2241         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2242         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2243         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2244         (+[TextInputController isSelectorExcludedFromWebScript:]):
2245         (+[TextInputController webScriptNameForSelector:]):
2246         (-[TextInputController insertText:]):
2247         (-[TextInputController attributedSubstringFrom:length:]):
2248         (-[TextInputController attributedStringWithString:]):
2249
2250 2005-10-11  Eric Seidel  <eseidel@apple.com>
2251
2252         Reviewed by hyatt.
2253
2254         Checks for leaks in ImageDiff too.
2255
2256         * Scripts/run-webkit-tests:
2257
2258 2005-10-09  Darin Adler  <darin@apple.com>
2259
2260         * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2261         * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2262         * Scripts/cvs-unapply: Ditto.
2263         * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2264
2265 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
2266
2267         Reviewed, rearranged and landed by Darin.
2268
2269         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2270           Need a way to automatically test for regressions in NSTextInput implementation
2271
2272         * DumpRenderTree/DumpRenderTree.m:
2273         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2274         Create a text input controller and put it in a property of the window object.
2275
2276         * DumpRenderTree/TextInputController.h: Added.
2277         * DumpRenderTree/TextInputController.m: Added.
2278         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2279
2280 2005-10-06  Darin Adler  <darin@apple.com>
2281
2282         * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2283         are controlled by cvs, or when changes cross multiple repositories.
2284         * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2285
2286 2005-10-03  Eric Seidel  <eseidel@apple.com>
2287
2288         Reviewed by mjs.
2289
2290         Make mouseDown and mouseUp force layout before acting.
2291         This is used by a new test case for 4233558.
2292
2293         * DumpRenderTree/DumpRenderTree.m:
2294         (-[EventSendingController mouseDown]): force layout
2295         (-[EventSendingController mouseUp]): force layout
2296
2297 2005-09-30  Eric Seidel  <eseidel@apple.com>
2298
2299         Reviewed by xenon.
2300
2301         Updated all the scripts for the move:
2302         WebCore/layout-tests -> LayoutTests
2303
2304         * Scripts/check-dom-results:
2305         * Scripts/prepare-ChangeLog: 
2306         * Scripts/run-webkit-tests:
2307         * Scripts/update-webkit: added --no-tests
2308         * checkout: added --no-tests
2309
2310 2005-09-28  Darin Adler  <darin@apple.com>
2311
2312         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2313           pixel test should run even if render trees differ
2314
2315         * Scripts/run-webkit-tests: Don't check if the text dump matches.
2316
2317 2005-09-27  Eric Seidel  <eseidel@apple.com>
2318
2319         No review needed, SVG build fix only.
2320
2321         * DumpKCanvasTree/DumpKCanvasTree.m:
2322         Missed one in my previous checkin.
2323         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2324
2325 2005-09-26  Eric Seidel  <eseidel@apple.com>
2326
2327         No review needed, SVG build fix only.
2328
2329         * DrawTest/DrawTestDocument.m:
2330         * DrawTest/DrawTestToolbarController.m:
2331         * DrawTest/DrawTestView.h:
2332         * DrawTest/DrawTestView.m:
2333         * DrawTest/SVGTest.m:
2334         * DrawTest/TestController.m:
2335         Updated for WebCore+SVG -> WebCore rename.
2336         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2337
2338 2005-09-26  Eric Seidel  <eseidel@apple.com>
2339
2340         Reviewed by hyatt.
2341
2342         * DumpRenderTree/DumpRenderTree.m:
2343         (dump): updated error message
2344         * Scripts/check-dom-results: now includes xhtml
2345         Tool updates for xhtml.
2346         http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2347
2348 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
2349
2350         Reviewed by Maciej.
2351         Landed by Darin.
2352
2353         - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2354         "Would like to simulate human interaction with webview"
2355
2356         * DumpRenderTree/DumpRenderTree.m:
2357         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2358         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2359         (+[EventSendingController webScriptNameForSelector:]):
2360         (-[EventSendingController init]):
2361         (-[EventSendingController mouseDown]):
2362         (-[EventSendingController mouseUp]):
2363         (-[EventSendingController mouseMoveToX:Y:]):
2364         Add eventSender javascript object, that sends fake mouse events to the webview.
2365
2366         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2367         link with Carbon.framework
2368
2369 2005-09-22  Eric Seidel  <eseidel@apple.com>
2370
2371         Reviewed by mjs.
2372
2373         Update tools for WebCore+SVG -> WebCore rename.
2374         Also fold several SVG specific tools into their original
2375         WebCore counterparts.
2376         http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2377
2378         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2379         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2380         * Scripts/build-drawtest:
2381         * Scripts/build-dumpkcanvastree:
2382         * Scripts/build-webcore-svg: Removed.
2383         * Scripts/build-webkit: added --svg option
2384         * Scripts/run-drawtest:
2385         * Scripts/run-webkit-tests:
2386         * Scripts/webkitdirs.pm: various additions.
2387         * checkout: added --svg option
2388         * checkout-svg: Removed.
2389
2390 2005-09-19  Eric Seidel  <eseidel@apple.com>
2391
2392         Reviewed by darin.
2393
2394         * Scripts/run-webkit-tests: added --guard-malloc option
2395         http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2396
2397 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
2398
2399         Reviewed by geoff
2400         
2401         Removed a script that is only used by apple internal developers
2402
2403         * Scripts/update-webkitsysteminterface: Removed.
2404
2405 2005-09-16  Adele Peterson  <adele@apple.com>
2406
2407         Reviewed by Maciej.
2408
2409         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2410
2411 2005-09-14  Darin Adler  <darin@apple.com>
2412
2413         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2414           dumpAsText doesn't work with XHTML documents
2415
2416         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2417         rather than of the body element. This works with typical XHTML documents. We can probably
2418         do something even better in the long run, but this fixes the immediate issue.
2419
2420         - separate tweak
2421
2422         * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2423         run-safari instead of just using "open", which often runs another copy of Safari instead.
2424
2425 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
2426
2427         Reviewed, tweaked, and landed by Darin.
2428
2429         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2430           .Mac prefpane crashes when Safari using CVS WebKit is running
2431
2432         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2433         * Scripts/run-webkit-app: Ditto.
2434
2435 2005-09-11  Darin Adler  <darin@apple.com>
2436
2437         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2438
2439 2005-09-11  Darin Adler  <darin@apple.com>
2440
2441         Reviewed by Eric.
2442
2443         * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2444         two ways: 1) puts all files in a directory before any files in a subdirectory, and
2445         2) sort file names with numeric digits in them in a logical way, so test-33 will come
2446         before test-3.
2447
2448 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
2449
2450         Reviewed by darin
2451
2452         * Scripts/update-webkitsysteminterface: Added.
2453         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2454
2455 2005-09-01  John Sullivan  <sullivan@apple.com>
2456
2457         * Scripts/run-webkit-tests:
2458         Excluded a known system leak to reduce noise; added comments about which leaks
2459         are being excluded.
2460
2461 2005-09-01  Tim Omernick  <tomernick@apple.com>
2462
2463         Change made by Darin, reviewed by John and myself.
2464
2465         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2466
2467         * Scripts/prepare-ChangeLog:
2468
2469 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
2470
2471         Reviewed by Darin.
2472
2473         - set color variant and font settings to a consistent value.
2474         (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2475
2476         * DumpRenderTree/DumpRenderTree.m:
2477         (main):
2478
2479 2005-08-30  Eric Seidel  <eseidel@apple.com>
2480
2481         Reviewed by mjs.
2482
2483         * Scripts/build-svg2png: Removed.
2484         * svg2png/ImageDiff.h: Removed.
2485         * svg2png/ImageDiff.m: Removed.
2486         * svg2png/svg2png.m: Removed.
2487         * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2488         * svg2png/svg2png_Prefix.pch: Removed.
2489         svg2png is no longer needed.
2490
2491 2005-08-30  Darin Adler  <darin@apple.com>
2492
2493         * Scripts/check-dom-results: Special case 100% to say something nice.
2494         * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2495         applying the patch (need a better name).
2496         * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2497
2498 2005-08-30  Darin Adler  <darin@apple.com>
2499
2500         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2501
2502 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
2503
2504         Reviewed by Darin.
2505
2506         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2507         (some pixel tests fail when AA settings are changed)
2508
2509         * DumpRenderTree/DumpRenderTree.m:
2510         (main): set AA settings to the default values
2511
2512 2005-08-29  Darin Adler  <darin@apple.com>
2513
2514         Reviewed by John Sullivan.
2515
2516         * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2517         executable -- much slower but can help pinpoint leaks. Changed formatting of some
2518         messages too.
2519
2520 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
2521
2522         Reviewed by Eric.
2523
2524         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2525         (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2526
2527         * DumpRenderTree/DumpRenderTree.m:
2528         (main): set scrollbar arrow setting to a consistent value
2529
2530 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
2531
2532         Reviewed and landed by Darin.
2533
2534         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2535           output of update-webkit is too verbose
2536
2537         * Scripts/update-webkit:
2538         Added option --quiet (-q) to decrease the amount of output.
2539
2540 2005-08-27  Darin Adler  <darin@apple.com>
2541
2542         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2543           cvs-create-patch --include-unknowns should ignore hidden files
2544
2545         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2546
2547 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
2548
2549         Reviewed, tweaked, and landed by Darin.
2550
2551         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2552           update-webkit doesn't notice when you have SVGSupport and update properly
2553
2554         * Scripts/update-webkit: Build SVGSupport directory if it's present.
2555
2556 2005-08-25  Anders Carlsson  <andersca@mac.com>
2557
2558         Reviewed and landed by Darin.
2559
2560         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2561           layout test machinery can't handle tests with applets that have code attributes
2562
2563         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2564
2565 2005-08-24  Darin Adler  <darin@apple.com>
2566
2567         Reviewed by Maciej.
2568
2569         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2570           DumpRenderTree --pixel-tests crash
2571         - landed some other small changes I had sitting in my tree
2572
2573         * DumpRenderTree/DumpRenderTree.m:
2574         (main): Don't bother saving and restoring the preferences. Not sure
2575         why this was ever done since the preferences are specific to DumpRenderTree.
2576         Clear delegates before releasing the WebView, because you can't count on the
2577         order of object deallocation.
2578         (dumpRenderTree): Fix code that releases a string before storing it in a
2579         global variable.
2580
2581         * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2582         of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2583
2584 2005-08-23  Eric Seidel  <eseidel@apple.com>
2585
2586         Reviewed by mjs.
2587
2588         * Scripts/run-webkit-tests:
2589         Made --leaks option more readable by printing to a file.
2590         http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2591
2592 2005-08-22  Eric Seidel  <eseidel@apple.com>
2593         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2594
2595         Reviewed by darin.
2596
2597         * Scripts/run-webkit-tests: hides "expected actual diffs" links
2598         when they are not needed (for pixel-only failures)
2599         http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2600
2601 2005-08-22  Eric Seidel  <eseidel@apple.com>
2602
2603         Reviewed by darin.
2604
2605         * Scripts/run-webkit-tests: Added the ability to display more than
2606         just two images as part of the image-diff "slideshow".
2607         Added display of "-w3c.png" baseline images for SVG.
2608         http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2609
2610 2005-08-20  Eric Seidel  <eseidel@apple.com>
2611
2612         * Scripts/run-webkit-tests:
2613         "build" fix after committing incorrect version.
2614
2615 2005-08-20  Eric Seidel  <eseidel@apple.com>
2616
2617         Reviewed by darin.
2618
2619         * DumpRenderTree/DumpRenderTree.m:
2620         (main): cleans up delegates
2621         (dumpRenderTree): closes CFString/CFURL leak
2622         * Scripts/run-webkit-tests:
2623         Adds --leaks option to run-webkit-tests
2624         http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2625
2626 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
2627
2628         Reviewed by Darin.
2629
2630         * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2631         new files to be included in the patch even without "cvs add".
2632
2633 2005-08-19  Darin Adler  <darin@apple.com>
2634
2635         * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2636         non-cvs-generated patches. Anders has been creating these, so it's bad that
2637         the script can't handle them.
2638         * Scripts/cvs-unapply: Ditto.
2639
2640 2005-08-18  Darin Adler  <darin@apple.com>
2641
2642         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2643         "." in them -- based on complaint by someone here at Apple.
2644
2645 2005-08-18  Eric Seidel  <eseidel@apple.com>
2646
2647         Reviewed by mjs.
2648
2649         * Scripts/run-webkit-tests:
2650         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2651
2652 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2653
2654         - add file that I forgot in the last checkin 
2655
2656         * DumpRenderTree/ImageDiff.m: Added.
2657         (main):
2658         (getImageFromStdin):
2659         (compareImages):
2660         (getDifferenceBitmap):
2661         (computePercentageDifferent):
2662
2663 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2664
2665         Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2666         somewhat by me, and also tweaked by me a little bit.
2667
2668         - better support for pixel-dumping
2669         - use checksums of the images so the tests are fast
2670         - change output format to make the tests run faster
2671         - don't dump pixel results for tests that dump as text
2672
2673         * DumpKCanvasTree/DumpKCanvasTree.m:
2674         (main):
2675         (dumpRenderTree):
2676         (md5HashStringForBitmap):
2677         (dumpPixelTests):
2678         (constrainSizeToMaximum):
2679         (getBitmapImageRepForSVGDocument):
2680         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2681         * DumpRenderTree/DumpRenderTree.m:
2682         (main):
2683         (dump):
2684         (dumpRenderTree):
2685         (md5HashStringForBitmap):
2686         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2687         * Scripts/run-webkit-tests:
2688
2689 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2690
2691         Reviewed by Darin.
2692
2693         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2694
2695         * DumpRenderTree/DumpRenderTree.m:
2696         (main):
2697
2698 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
2699
2700         Reviewed and landed by Darin.
2701
2702         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
2703           Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
2704
2705         * Scripts/run-safari: Pass arguments through to Safari on command line.
2706         * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2707
2708 2005-08-11  Eric Seidel  <eseidel@apple.com>
2709         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2710
2711         Reviewed by eseidel.
2712
2713         * DrawTest/TestController.m:
2714         (-[TestController imagePathForSVGPath:]):
2715         Fixed support for using TextViewer with the layout-tests.
2716         http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2717
2718 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
2719
2720         At Least Roughly Glanced At by Anders.
2721
2722         - fix change with totally breaks the layout tests.
2723
2724         * DumpRenderTree/DumpRenderTree.m:
2725         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
2726         load, to avoid dumping twice accidentally.
2727
2728 2005-08-10  Eric Seidel  <eseidel@apple.com>
2729         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
2730
2731         Reviewed by darin.
2732
2733         * DumpRenderTree/DumpRenderTree.m:
2734         Added support for rendering to a PNG file.
2735         http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2736
2737 2005-08-07  Eric Seidel  <eseidel@apple.com>
2738
2739         Reviewed by darin.
2740
2741         * Scripts/run-webkit-tests: added --svg option
2742         * Scripts/run-webkit-tests-svg: Removed.
2743         http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2744
2745 2005-08-07  Eric Seidel  <eseidel@apple.com>
2746         Changes by Ben La Monica <ben.lamonica@gmail.com>
2747
2748         Reviewed by darin.
2749
2750         * svg2png/ImageDiff.h: Added.
2751         * svg2png/ImageDiff.m: Added.
2752         (getDifferenceBitmap):
2753         (computePercentageDifferent):
2754         (saveAnimatedGIFToFile):
2755         * svg2png/svg2png.m:
2756         (usage): added several new options
2757         (getBitmapForSVG): added NSBitmapImageRep generation
2758         (main): various argument changes.
2759         * svg2png/svg2png.xcodeproj/project.pbxproj:
2760         Several additions to provide image differencing functionality.
2761         http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
2762
2763 2005-08-07  Eric Seidel  <eseidel@apple.com>
2764
2765         Reviewed by darin.
2766
2767         * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
2768         * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
2769         Adding the first SVG layout tests:
2770         http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
2771
2772 2005-08-07  Darin Adler  <darin@apple.com>
2773
2774         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
2775
2776 2005-08-06  Eric Seidel  <eseidel@apple.com>
2777
2778         Reviewed by darin.
2779
2780         * DumpKCanvasTree/DumpKCanvasTree.m: Added.
2781         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
2782         * Scripts/build-dumpkcanvastree: Added.
2783         * Scripts/run-webkit-tests-svg: Added.
2784         Adds a DumpRenderTree-like tool for SVG which allows us to do
2785         text-based layout regression testing.  This (like most of the
2786         SVG specific stuff) is temporary and will be replaced by
2787         DumpRenderTree once the DOMs and RenderTrees merge.
2788         http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
2789
2790 2005-08-06  Eric Seidel  <eseidel@apple.com>
2791
2792         Reviewed by darin.
2793
2794         * DrawTest/DrawTestView.m:
2795         (-[DrawTestView toggleFilterSupport:]): missing negation.
2796         One half of fix for toggling filter support.
2797         http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
2798
2799 2005-08-04  Eric Seidel  <eseidel@apple.com>
2800
2801         Reviewed by darin.
2802
2803         * Scripts/build-drawtest:
2804         * Scripts/build-dumprendertree:
2805         * Scripts/build-svg2png:
2806         * Scripts/build-webcore-svg:
2807         * Scripts/build-webkit:
2808         * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
2809         Added checkRequiredSystemConfig and made all the build-* scripts
2810         use it to print a pretty warning when trying to compile on an
2811         unsupported system (less than 10.4, Xcode 2.1).
2812         http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
2813
2814 2005-08-04  Darin Adler  <darin@apple.com>
2815
2816         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
2817         the dead. It was removed by accident when someone was trying to work on the branch.
2818
2819 2005-07-31  Darin Adler  <darin@apple.com>
2820
2821         - a little tools cleanup
2822
2823         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
2824         project as a whole. Removed unused Default configuration.
2825
2826         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2827
2828 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
2829
2830         Reviewed and landed by Darin Adler.
2831
2832         Add logging of editing delegate calls for regression checking.
2833
2834         * DumpRenderTree/DumpRenderTree.m:
2835         (main):
2836           setup editing delegate
2837
2838         (-[DOMNode dumpPath]):
2839         (-[DOMRange dump]):
2840           utility for editing delegate logging
2841
2842         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2843         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2844         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2845         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2846         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2847         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2848         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2849         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2850         (-[EditingDelegate webViewDidBeginEditing:]):
2851         (-[EditingDelegate webViewDidChange:]):
2852         (-[EditingDelegate webViewDidEndEditing:]):
2853         (-[EditingDelegate webViewDidChangeTypingStyle:]):
2854           log corresponding editing delegate methods
2855
2856         (-[EditingDelegate webViewDidChangeSelection:]):
2857           log selection except when clearing selection after end of test (uses existing "done" flag)
2858
2859         (dumpRenderTree):
2860           added clearing of selection after test
2861
2862 2005-07-31  Eric Seidel  <eseidel@apple.com>
2863
2864         Reviewed by hyatt.
2865
2866         * Scripts/build-drawtest: Added.
2867         * Scripts/build-svg2png: Added.
2868         * Scripts/build-webcore-svg: Added.
2869         * Scripts/run-drawtest: Added.
2870         * Scripts/webkitdirs.pm: added checkSVGFrameworks
2871         Made it much easier to build WebCore+SVG.
2872         http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2873
2874 2005-07-29  Eric Seidel  <eseidel@apple.com>
2875
2876         Reviewed by vicki.
2877
2878         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2879         Build fix.  Removed bad path.
2880
2881 2005-07-29  Eric Seidel  <eseidel@apple.com>
2882
2883         Reviewed by sullivan.
2884
2885         * DrawTest/AppDelegate.h: Added.
2886         * DrawTest/AppDelegate.m: Added.
2887         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
2888         * DrawTest/DrawTestDocument.h: Added.
2889         * DrawTest/DrawTestDocument.m: Added.
2890         * DrawTest/DrawTestInspectorController.h: Added.
2891         * DrawTest/DrawTestInspectorController.m: Added.
2892         * DrawTest/DrawTestToolbarController.h: Added.
2893         * DrawTest/DrawTestToolbarController.m: Added.
2894         * DrawTest/DrawTestView.h: Added.
2895         * DrawTest/DrawTestView.m: Added.
2896         * DrawTest/DrawTest_Prefix.pch: Added.
2897         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
2898         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
2899         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
2900         * DrawTest/English.lproj/InfoPlist.strings: Added.
2901         * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
2902         * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
2903         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
2904         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
2905         * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
2906         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2907         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
2908         * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
2909         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
2910         * DrawTest/Info.plist: Added.
2911         * DrawTest/SVGTest.h: Added.
2912         * DrawTest/SVGTest.m: Added.
2913         * DrawTest/ScalingImageView.h: Added.
2914         * DrawTest/ScalingImageView.m: Added.
2915         * DrawTest/TestController.h: Added.
2916         * DrawTest/TestController.m: Added.
2917         * DrawTest/TestViewerSplitView.h: Added.
2918         * DrawTest/TestViewerSplitView.m: Added.
2919         * DrawTest/main.m: Added.
2920         Adding simple cocoa app for testing SVG rendering, interaction.
2921         http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
2922
2923 2005-07-28  Eric Seidel  <eseidel@apple.com>
2924
2925         Reviewed by ggaren.
2926
2927         * svg2png/svg2png.m: Added.
2928         * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
2929         * svg2png/svg2png_Prefix.pch: Added.
2930         Added a simple test tool which dumps a PNG from an SVG using
2931         WebCore+SVG's SVG rendering support.
2932         http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
2933
2934 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
2935
2936         Reviewed by Darin.
2937
2938         - new script to review the DOM layout test results and see where we stand
2939         on actual success and failure
2940
2941         * Scripts/check-dom-results: Added.
2942
2943 2005-07-25  Darin Adler  <darin@apple.com>
2944
2945         * Scripts/webkitdirs.pm: Check in missing line of code.
2946
2947 2005-07-25  Darin Adler  <darin@apple.com>
2948
2949         - fixed problem that was causing JavaScriptCore test to fail
2950           (except for people who had set DYLD_FRAMEWORK_PATH)
2951
2952         * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
2953         Add code to parse configuration parameter so you can pass --deployment if you like.
2954         * Scripts/run-webkit-tests: Add code to parse configuration parameter.
2955
2956         * Scripts/update-javascriptcore-test-results: Add license header.
2957
2958         * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
2959         from @ARGV. This lets us use this option in commands that take other options and
2960         pass them along to a subsequent tool.
2961
2962 2005-07-25  Darin Adler  <darin@apple.com>
2963
2964         Reviewed by Geoff Garen.
2965
2966         - Fixed run-safari and gdb-safari to use the Safari application in the build results
2967           directory, if any, falling back to the one in the Applications directory otherwise.
2968           Does no harm for open source contributors who don't build Safari, and helps out the
2969           Safari team, since we do build Safari.
2970
2971         * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
2972         variable, and if that's not present, looks in either the build results directory or
2973         /Applications; factors code that was in both scripts before into a shared function.
2974         Also removed some Xcode 2.0 support which is no longer relevant since our projects are
2975         now in Xcode 2.1 format and incompatible with older versions of Xcode.
2976
2977         * Scripts/gdb-safari: Use safariPath.
2978         * Scripts/run-safari: Use safariPath.
2979
2980 2005-07-22  Geoffrey Garen  <ggaren@apple.com>
2981
2982         Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
2983         run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
2984         
2985         Moved Tools/Scripts/update-mozilla-js-test-results to 
2986         WebKitTools/Scripts/update-javascriptcore-test-results.
2987         
2988         Reviewed by darin.
2989
2990         * Scripts/run-javascriptcore-tests: Added.
2991
2992 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
2993
2994         Reviewed by Darin.
2995
2996         * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2997
2998 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
2999
3000         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
3001
3002 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3003
3004         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
3005
3006 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3007
3008         * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
3009
3010 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3011
3012         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
3013
3014 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3015
3016         * Scripts/build-webkit:
3017
3018 2005-07-12  Eric Seidel  <eseidel@apple.com>
3019
3020         Reviewed by mjs.
3021
3022         * checkout-svg: Fixed error with symlink creation.
3023
3024 2005-07-12  Eric Seidel  <eseidel@apple.com>
3025
3026         Reviewed by mjs.
3027
3028         * checkout-svg: Added.
3029         Script to check out WebCore+SVG
3030
3031 2005-06-30  Darin Adler  <darin@apple.com>
3032
3033         Changes based on input from Michael Kahl.
3034
3035         * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
3036         specify different style of "diff".
3037         * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
3038         determineConfigurationProductDir works in all cases.
3039
3040 2005-06-29  Darin Adler  <darin@apple.com>
3041
3042         - fixed bug which would result in multiple unwanted dumps in a single layout test
3043
3044         * DumpRenderTree/DumpRenderTree.m:
3045         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
3046         "readyToDump" flag.
3047         (-[LayoutTestController waitUntilDone]): Update for name change.
3048         (-[LayoutTestController notifyDone]): Dump only if ready.
3049         (dumpRenderTree): Set up new boolean and update for name change.
3050
3051 2005-06-29  Darin Adler  <darin@apple.com>
3052
3053         Changes by Timothy Hatcher.
3054         Reviewed by me.
3055
3056         * Scripts/run-webkit-app: Added script to open an arbritrary application with
3057         a CVS built WebKit. Example: ./run-webkit-app Colloquy
3058
3059         * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
3060         a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
3061         * Scripts/run-safari: Ditto.
3062
3063 2005-06-26  Darin Adler  <darin@apple.com>
3064
3065         * Scripts/build-dumprendertree: Pass -project option so that having a second
3066         copy of the project (like the one Xcode 2.1 offers to make for you) that's
3067         out of date won't screw you up.
3068         * Scripts/build-webkit: Ditto.
3069
3070 2005-06-23  Darin Adler  <darin@apple.com>
3071
3072         * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
3073
3074 2005-06-23  Darin Adler  <darin@apple.com>
3075
3076         Changes based on input from Michael Kahl.
3077
3078         * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
3079         directory passed in.
3080
3081         * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
3082         getcwd() in the code to find the base product dir. Added code to handle unusual
3083         base product directory values that use SRCROOT.
3084
3085 2005-06-22  Darin Adler  <darin@apple.com>
3086
3087         Change by Anders Carlsson.
3088
3089         - added support for dumping title changes
3090
3091         * DumpRenderTree/DumpRenderTree.m:
3092         (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
3093         if requested by JavaScript.
3094         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
3095         (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
3096         (dumpRenderTree): Start flag as NO.
3097
3098 2005-06-20  Darin Adler  <darin@apple.com>
3099
3100         Reviewed by Justin Garcia.
3101
3102         * Scripts/run-webkit-tests: Report number of tests when they succeed.
3103
3104 2005-06-18  Darin Adler  <darin@apple.com>
3105
3106         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
3107         in the hope of making the tool use less memory and run faster.
3108
3109 2005-06-18  Darin Adler  <darin@apple.com>
3110
3111         * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
3112         * Scripts/cvs-unapply: Ditto.
3113
3114 2005-06-17  Maciej Stachowiak  <mjs@apple.com>
3115
3116         - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
3117         benefit of all WebKit hackerdom
3118
3119         * Scripts/prepare-ChangeLog: Added.
3120
3121 2005-06-16  Darin Adler  <darin@apple.com>
3122
3123         - recent changes to XcodeOptions made it depend on the current directory
3124           The intent was to have the WebKitBuild directory be next to WebKitTools,
3125           not inside the various build directories. Workaround for now is to call
3126           XcodeOptions when the directory is set to the WebKit directory.
3127
3128         * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
3129         at the start of the script.
3130         * Scripts/build-webkit: Ditto.
3131
3132 2005-06-15  Darin Adler  <darin@apple.com>
3133
3134         * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
3135
3136 2005-06-14  Darin Adler  <darin@apple.com>
3137
3138         Changes by Anders Carlsson.
3139         Reviewed by me.
3140
3141         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
3142           Add gdb-safari script to launch Safari under gdb
3143
3144         * Scripts/gdb-safari: Added.
3145
3146 2005-06-12  Darin Adler  <darin@apple.com>
3147
3148         Changes by Stuart Morgan.
3149         Reviewed by me.
3150
3151         * Scripts/cvs-abandon: Use cwd instead of `pwd`.
3152         * Scripts/cvs-apply: Ditto.
3153         * Scripts/cvs-create-patch: Ditto.
3154         * Scripts/cvs-unapply: Ditto.
3155         * Scripts/run-webkit-tests: Ditto.
3156         * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
3157
3158 2005-06-12  Darin Adler  <darin@apple.com>
3159
3160         * Scripts/cvs-apply: Handle case of an empty patch better.
3161         * Scripts/cvs-unapply: Ditto.
3162
3163 2005-06-12  Darin Adler  <darin@apple.com>
3164
3165         Changes by Michael Gaiman.
3166         Reviewed by me.
3167
3168         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
3169           WebKit no longer builds after configuration supporting build changes
3170
3171         * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
3172
3173 2005-06-12  Darin Adler  <darin@apple.com>
3174
3175         * Scripts/update-webkit: Make this script work when called from any directory.
3176
3177 2005-06-12  Darin Adler  <darin@apple.com>
3178
3179         Reviewed by Maciej.
3180         Includes changes by Stuart Morgan as well as my own.
3181
3182         * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
3183         symrootXcodeOptions to set the -buildstyle option.
3184         * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
3185         The new --development option does the same thing.
3186         * Scripts/run-safari: Ditto.
3187         * Scripts/run-webkit-tests: Ditto.
3188         * Scripts/update-webkit: Ditto.
3189         * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
3190
3191         * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
3192         directory is when invoking a script. Add code to determine the Xcode version so we can do the right
3193         thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
3194         product directory. Read the default configuration from a file, overridable by a passed-in command-line
3195         option.
3196
3197 2005-06-11  Darin Adler  <darin@apple.com>
3198
3199         * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
3200         to execute the cvs diff commands.
3201
3202 2005-06-11  Darin Adler  <darin@apple.com>
3203
3204         - added first cuts at some cvs scripts
3205
3206             cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
3207             cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
3208             cvs-apply is for applying patches; runs patch and cvs add and cvs rm
3209             cvs-unapply is for unapplying patches; does the opposite of cvs-apply
3210
3211           An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
3212
3213         * Scripts/cvs-abandon: Added.
3214         * Scripts/cvs-apply: Added.
3215         * Scripts/cvs-create-patch: Added.
3216         * Scripts/cvs-unapply: Added.
3217
3218 2005-06-09  Darin Adler  <darin@apple.com>
3219
3220         Reviewed by Maciej.
3221
3222         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
3223           Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
3224
3225         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
3226         for Foundation.framework. How was it ever wrong?
3227
3228         - finally, I tested making the default build directory work; it works now
3229
3230         * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
3231         that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
3232         * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
3233         * Scripts/build-dumprendertree: Ditto.
3234
3235 2005-06-09  Darin Adler  <darin@apple.com>
3236
3237         * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
3238         work. Someone should try building without setting the Xcode build product directory now,
3239         and let me know if it works.
3240
3241 2005-06-08  Darin Adler  <darin@apple.com>
3242
3243         - quick fix to try to get build scripts working again
3244
3245         * Scripts/build-dumprendertree: Add FindBin.
3246         * Scripts/build-webkit: Ditto.
3247         * Scripts/run-safari: Ditto.
3248         * Scripts/run-webkit-tests: Ditto.
3249         * Scripts/update-webkit: Ditto.
3250
3251 2005-06-08  Darin Adler  <darin@apple.com>
3252
3253         Reviewed by Maciej.
3254
3255         - some build script enhancements
3256
3257         * Scripts/build-dumprendertree: Changed to use webkitdirs.
3258         * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
3259         they are newer.
3260         * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
3261         before Deplyment in that case.
3262         * Scripts/run-webkit-tests: Changed to use webkitdirs.
3263         * Scripts/update-webkit: Changed to use webkitdirs.
3264
3265         * Scripts/webkitdirs.pm: Added.
3266
3267 2005-06-08  Maciej Stachowiak  <mjs@apple.com>
3268
3269         Code change by Toby Peterson <toby@opendarwin.org>
3270         Reviewed by me.
3271
3272         * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
3273         get confused because build-webkit now makes even 2.0 build directories look
3274         like 2.1.
3275
3276 2005-06-07  Darin Adler  <darin@apple.com>
3277
3278         Reviewed by Adele Peterson.
3279
3280         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
3281         * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
3282         so we can run tests with Xcode 2.1.
3283
3284 2005-06-07  Darin Adler  <darin@apple.com>
3285
3286         Reviewed by Adele Peterson.
3287
3288         * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
3289         layout-tests directory to include additional sets of tests.
3290
3291 2005-06-07  Darin Adler  <darin@apple.com>
3292
3293         * checkout: Added license.
3294         * Scripts/build-dumprendertree: Ditto.
3295         * Scripts/run-webkit-tests: Ditto.
3296         * Scripts/update-webkit: Ditto.
3297
3298 2005-06-07  Darin Adler  <darin@apple.com>
3299
3300         Change by Toby Peterson <toby@opendarwin.org>.
3301         Reviewed by me.
3302
3303         * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
3304         * Scripts/run-safari: Ditto.
3305
3306 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3307
3308         * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
3309
3310 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3311
3312         * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
3313
3314 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3315
3316         * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
3317
3318 2005-06-05  Darin Adler  <darin@apple.com>
3319
3320         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
3321         * Scripts/build-dumprendertree: Added.
3322         * Scripts/build-webkit: Build All in the JavaScriptCore directory.
3323         * Scripts/run-webkit-tests: Build DumpRenderTree before running.
3324
3325 2005-06-05  Darin Adler  <darin@apple.com>
3326
3327         * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
3328
3329 2005-06-05  Darin Adler  <darin@apple.com>
3330
3331         - add run-webkit-tests script; not working yet but the pieces are there
3332
3333         * Scripts/run-webkit-tests: Added.
3334
3335         * DumpRenderTree/DumpRenderTree.m: Added.
3336         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
3337         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
3338         * DumpRenderTree/DumpRenderTreePrefix.h: Added.
3339
3340 2005-06-05  Darin Adler  <darin@apple.com>
3341
3342         - created module, first cut at Web Kit Open Source Project scripts
3343
3344         * ChangeLog: Added.
3345         * Scripts/build-webkit: Added.
3346         * Scripts/run-safari: Added.
3347         * Scripts/update-webkit: Added.
3348         * checkout: Added.
3349
3350 === creation of WebKitTools module ===