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