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