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