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