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