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