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