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