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