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