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