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