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