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