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