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