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