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