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