1 2006-07-11 Timothy Hatcher <timothy@apple.com>
3 Reviewed by a tired Geoff.
5 Bug 9597: [Drosera] hook up the variables table to show stack variables
6 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
8 * Drosera/DebuggerDocument.m:
9 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
10 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
11 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
12 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
13 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
14 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
15 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
16 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
17 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
18 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
19 * Drosera/debugger.css:
20 * Drosera/debugger.html:
21 * Drosera/debugger.js:
23 2006-07-10 Tim Omernick <timo@apple.com>
25 Reviewed by Beth Dakin.
27 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
28 Add DOM access test to DumpRenderTree's Netscape plug-in
30 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
34 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
38 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
39 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
41 Now track three states: initializing, running, and closed. If we are launched and the previous
42 state was initializing then we likely just experienced a crash on launch.
44 * WebKitLauncher/WebKitNightlyEnabler.m:
45 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
46 (myApplicationWillTerminate): Update to use new states.
47 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
48 initializing as early as practical.
49 (symbol_lookup): Bring code up to speed with formatting guidelines.
50 (GDSymbolLookup): Ditto.
52 2006-07-10 Darin Adler <darin@apple.com>
54 - try to fix Windows build
56 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
57 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
59 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
61 Build fix. Reviewed by NOBODY.
63 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
64 devenv.com not available in VC++ Express installations
66 * Scripts/webkitdirs.pm: Backed out previous change.
68 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
72 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
73 svn-apply should set ChangeLog date correctly when applying patches
75 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
76 before applying the patch.
77 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
79 2006-07-09 Darin Adler <darin@apple.com>
81 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
83 2006-07-09 Darin Adler <darin@apple.com>
85 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
87 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
89 Reviewed by NOBODY (build fix).
91 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
92 devenv.com not available in VC++ Express installations
94 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
95 work again. Add VC++ Express check as the fallback.
97 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
99 Reviewed by Timothy Hatcher.
101 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
102 devenv.com not available in VC++ Express installations
104 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
106 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
110 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
111 Patch by coldwinter@katamail.com.
113 In the congratulations message, "capatibilies" should be "capabilities".
115 * Scripts/build-webkit:
117 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
119 Reviewed by Timothy Hatcher.
121 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
122 Teach run-webkit-tests how to ignore tests with performance improvements
124 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
125 feature, and minor clean up.
127 2006-07-08 Darin Adler <darin@apple.com>
129 Reviewed by Geoff (well, half of it at least).
131 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
132 storage leaks in Objective-C tests
134 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
135 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
136 Add a release to fix a storage leak.
138 2006-07-08 Darin Adler <darin@apple.com>
140 * Scripts/do-webcore-rename: A few more.
142 2006-07-08 Darin Adler <darin@apple.com>
144 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
146 2006-07-04 Maciej Stachowiak <mjs@apple.com>
150 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
151 - add support for dumping non-HTML as text - in this case use textContent
154 * DumpRenderTree/DumpRenderTree.m:
157 2006-07-02 Timothy Hatcher <timothy@apple.com>
161 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
162 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
164 Adds step over and step out. Along with a little code cleanup
165 that was minor enough to piggyback on this fix.
167 * Drosera/DebuggerDocument.h:
168 * Drosera/DebuggerDocument.m:
169 (-[DebuggerDocument stepOver:]):
170 (-[DebuggerDocument stepOut:]):
171 (-[DebuggerDocument windowDidLoad]):
172 (-[DebuggerDocument windowWillClose:]):
173 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
174 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
175 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
176 (-[DebuggerDocument validateUserInterfaceItem:]):
177 * Drosera/Drosera.xcodeproj/project.pbxproj:
178 * Drosera/debugger.html:
179 * Drosera/debugger.js:
180 * Drosera/viewer.css:
182 2006-07-02 Timothy Hatcher <timothy@apple.com>
186 Bug 9628: [Drosera] Split Views acting oddly
187 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
189 Only update the last X or Y coordinate if the new
190 size was not constrained. Also adds the resize cursor to
191 the body during the drag incase there is a constrained
192 over drag off of the resizer element.
194 * Drosera/debugger.js:
196 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
198 Reviewed by Alexy Proskuryakov.
200 Bug 9692: Warning about Safari extensions on every launch is obnoxious
201 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
203 * WebKitLauncher/WebKitNightlyEnabler.m:
204 (myApplicationWillTerminate): Note that we are exiting cleanly.
205 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
206 to exit cleanly on our last invocation. This doesn't play nicely with
207 multiple concurrent instances of WebKit.app so it can be disabled via
208 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
210 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
212 Reviewed by Alexy Proskuryakov.
214 Bug 9654: Refresh Loop when accessing feed URLs
215 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
217 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
219 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
221 Reviewed by Timothy Hatcher.
223 Bug 9689: Nightly builds should warn a user about potential problems when using
225 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
227 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
228 * WebKitLauncher/WebKitNightlyEnabler.m:
229 (myBundleDidLoad): Keep track of if any bundles that are loaded.
230 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
231 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
232 NSApplicationWillFinishLaunchingNotification notifications so that we can
233 track bundle loads and notify the user at launch completion.
235 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
239 - first check-in of a Gdk shell for testing WebKit
241 * GdkLauncher: Added.
243 2006-06-29 Timothy Hatcher <timothy@apple.com>
247 Need to call window close so WebView tears-down completly.
249 * DumpRenderTree/DumpRenderTree.m:
250 (main): call [window close]
252 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
256 Bug 9615: Buildbot configuration should be in SVN repository
257 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
259 Import BuildBot configuration files as used by build.webkit.org.
260 auth.py has been stubbed out so that slave passwords are not disclosed.
262 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
263 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
264 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
265 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
266 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
267 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
268 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
269 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
270 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
271 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
272 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
273 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
275 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
279 Bug 9614: Nightly builds should notify user if a newer build is available
280 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
282 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
283 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
284 script so it can keep track of the latest revision.
285 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
286 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
287 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
288 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
289 the nightly start page.
291 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
295 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
296 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
298 Report screenY values as (height of zero screen - screenY)
300 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
302 2006-06-25 Timothy Hatcher <timothy@apple.com>
306 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
307 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
309 Makes breakpoints dragable. If dragged off the gutter they are deleted.
311 * Drosera/debugger.js:
312 * Drosera/viewer.css:
314 2006-06-25 Timothy Hatcher <timothy@apple.com>
318 Bug 9568: assertion failure in Safari after quitting Drosera
319 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
321 Call switchToServerNamed:nil and not removeLister to make sure
322 the server object is set to nil to prevent further removeListener calls.
324 * Drosera/DebuggerDocument.m:
325 (-[DebuggerDocument applicationTerminating:]):
327 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
331 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
332 that the directory is not empty instead of reading in every single file and directory first,
333 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
336 2006-06-25 Darin Adler <darin@apple.com>
338 * Scripts/svn-apply: Tweak comments.
339 * Scripts/svn-create-patch: Ditto.
340 * Scripts/svn-unapply: Ditto.
342 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
344 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
346 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
348 * Scripts/svn-apply: Formatting fix.
350 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
354 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
355 Teach svn-apply and svn-unapply to handle directory adds and removes better
357 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
358 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
360 2006-06-25 Timothy Hatcher <timothy@apple.com>
364 Bug 9574: Drosera should show inline scripts within the original HTML
365 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
367 Refactor the JavaScript code to have a distinction between files
368 and scripts. Show the script in the context of the HTML file if
369 it's URL is the same as the frame's main resource. At the time of
370 the disParseScript callback the main resource might not be completely
371 loaded, but Drosera needs to show whatever we have at the time. Once
372 the main resource is finished, update the file source and reload the file.
374 * Drosera/DebuggerDocument.m:
375 (-[DebuggerDocument pause]):
376 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
377 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
378 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
379 * Drosera/debugger.css:
380 * Drosera/debugger.js:
382 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
386 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
387 Teach prepare-ChangeLog to operate on a list of files or directories
389 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
390 * Scripts/svn-create-patch: Code refactoring.
392 2006-06-24 James G. Speth <speth@end.com>
396 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
397 add a way to build Objective-C test cases in HTML
399 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
400 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
401 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
404 * DumpRenderTree/ObjCPlugin.h:
405 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
406 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
407 (+[ObjCPlugin webScriptNameForSelector:]):
408 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
409 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
410 (+[NSObject allowsScriptsFullAccess]):
411 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
412 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
413 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
414 (+[JSObjC webScriptNameForSelector:]):
415 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
416 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
417 (-[JSObjC log:]): access to NSLog function
418 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
419 (-[JSObjC classOfObject:]):
420 (-[JSObjC classNameOfObject:]):
422 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
426 * DrawTest/Info.plist: Added copyright statement.
427 * Drosera/Info.plist: Ditto.
428 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
429 * WebKitLauncher/Info.plist: Ditto.
431 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
433 Build fix. Reviewed by NOBODY.
435 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
436 devenv.com not available in VC++ Express installations
438 * Scripts/webkitdirs.pm: Backed out previous change.
440 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
444 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
445 devenv.com not available in VC++ Express installations
447 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
449 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
453 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
454 A bunch of fixes to run-webkit-httpd
456 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
457 127.0.0.1. Useful for testing with WinIE running on another machine;
458 - don't call checkFrameworks() - we do not need a built WebKit here;
459 - changed tabs to spaces;
460 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
461 interactive mode, they were a hassle when testing with several browsers, as one
462 had to wait for connection to expire);
463 - remove httpd.pid when done, so that Apache doesn't complain next time.
465 * Scripts/run-webkit-httpd:
467 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
469 Reviewed by ggaren, landed by ap.
471 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
472 Complete DOMUIEvent Obj-C API to reflect UIEvent
474 Add function to enable logging of all events of one DOM node to stdout.
476 * DumpRenderTree/EventSendingController.h:
477 * DumpRenderTree/EventSendingController.m:
478 (+[EventSendingController initialize]):
479 (+[EventSendingController isSelectorExcludedFromWebScript:]):
480 (+[EventSendingController webScriptNameForSelector:]):
481 (-[EventSendingController enableDOMUIEventLogging:]):
482 (-[EventSendingController handleEvent:]):
484 2006-06-23 Kevin Decker <kdecker@apple.com>
486 Reviewed by Tim Hatcher.
488 - Made column headers in Drosera resizable.
490 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
494 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
495 Another case error preventing build
497 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
499 2006-06-22 Timothy Hatcher <timothy@apple.com>
503 Adds a native toolbar to Drosera to be a good citizen.
504 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
505 Fixes a dragging bug from an earlier fix to the divider code.
506 Fixes some poor indenting in debugger.js.
508 * Drosera/DebuggerDocument.h:
509 * Drosera/DebuggerDocument.m:
510 (-[DebuggerDocument stepInto]):
511 (-[DebuggerDocument pause:]):
512 (-[DebuggerDocument resume:]):
513 (-[DebuggerDocument stepInto:]):
514 (-[DebuggerDocument windowDidLoad]):
515 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
516 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
517 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
518 (-[DebuggerDocument validateUserInterfaceItem:]):
519 * Drosera/English.lproj/MainMenu.nib/classes.nib:
520 * Drosera/English.lproj/MainMenu.nib/info.nib:
521 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
522 * Drosera/debugger.css:
523 * Drosera/debugger.html:
524 * Drosera/debugger.js:
525 * Drosera/viewer.html:
527 2006-06-22 Kevin Decker <kdecker@apple.com>
531 - Added pressed column header image.
532 - Made column headers behave more like Xcode.
534 2006-06-22 Timothy Hatcher <timothy@apple.com>
536 Reviewed by Kevin Decker.
538 Code clean up. Adds the stackframe and makes only the body
539 of the tables scrollable keeping the header visible.
540 Shows the current function stack when paused or stepping.
542 * Drosera/DebuggerApplication.m:
543 (-[DebuggerApplication awakeFromNib]):
544 (-[DebuggerApplication numberOfRowsInTableView:]):
545 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
546 * Drosera/DebuggerDocument.h:
547 * Drosera/DebuggerDocument.m:
548 (-[DebuggerDocument dealloc]):
549 (-[DebuggerDocument currentFrame]):
550 (-[DebuggerDocument currentFrameFunctionName]):
551 (-[DebuggerDocument currentFunctionStack]):
552 (-[DebuggerDocument log:]):
553 (-[DebuggerDocument windowWillClose:]):
554 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
555 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
556 * Drosera/Drosera.xcodeproj/project.pbxproj:
557 * Drosera/debugger.css:
558 * Drosera/debugger.html:
559 * Drosera/debugger.js:
561 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
565 Teach run-webkit-httpd to properly look for webkitdirs.pm.
567 * Scripts/run-webkit-httpd:
569 2006-06-22 Kevin Decker <kdecker@apple.com>
571 Reviewed by Tim Hatcher.
573 - More progress toward Javascript Debugger.
574 - Added some new images to the project.
576 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
580 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
581 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
583 * Scripts/run-webkit-httpd: Added.
585 2006-06-20 Timothy Hatcher <timothy@apple.com>
589 Builds Drosera and a launcher to include with the nightly.
591 * BuildSlaveSupport/build-launcher-app:
592 * BuildSlaveSupport/build-launcher-dmg:
593 * Drosera/Drosera.xcodeproj/project.pbxproj:
594 * Drosera/Info.plist:
595 * Drosera/LauncherInfo.plist: Added.
596 * Drosera/launcher.m: Added.
597 (displayErrorAndQuit):
598 (checkMacOSXVersion):
601 * Scripts/build-drosera
602 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
603 * WebKitLauncher/main.m:
606 2006-06-20 Timothy Hatcher <timothy@apple.com>
610 Adds a JavaScript debugger, called Drosera. Named after
611 a genus of bug eating plants.
613 * Drosera/DebuggerApplication.h: Added.
614 * Drosera/DebuggerApplication.m: Added.
615 (-[DebuggerApplication applicationDidFinishLaunching:]):
616 (-[DebuggerApplication serverLoaded:]):
617 (-[DebuggerApplication serverUnloaded:]):
618 (-[DebuggerApplication awakeFromNib]):
619 (-[DebuggerApplication showAttachPanel:]):
620 (-[DebuggerApplication attach:]):
621 (-[DebuggerApplication numberOfRowsInTableView:]):
622 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
623 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
624 (-[DebuggerApplication tableViewSelectionDidChange:]):
625 * Drosera/DebuggerDocument.h: Added.
626 * Drosera/DebuggerDocument.m: Added.
627 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
628 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
629 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
630 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
631 (-[DebuggerDocument initWithServerName:]):
632 (-[DebuggerDocument windowWillClose:]):
633 (-[DebuggerDocument dealloc]):
634 (-[DebuggerDocument isPaused]):
635 (-[DebuggerDocument pause]):
636 (-[DebuggerDocument resume]):
637 (-[DebuggerDocument step]):
638 (-[DebuggerDocument windowNibName]):
639 (-[DebuggerDocument windowDidLoad]):
640 (-[DebuggerDocument switchToServerNamed:]):
641 (-[DebuggerDocument applicationTerminating:]):
642 (-[DebuggerDocument serverConnectionDidDie:]):
643 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
644 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
645 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
646 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
647 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
648 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
649 * Drosera/Drosera.pch: Added.
650 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
651 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
652 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
653 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
654 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
655 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
656 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
657 * Drosera/Images/breakPoint.tif: Added.
658 * Drosera/Images/breakPointDisabled.tif: Added.
659 * Drosera/Images/continue.tif: Added.
660 * Drosera/Images/finishFunction.tif: Added.
661 * Drosera/Images/glossyFooterFill.tif: Added.
662 * Drosera/Images/glossyHeader.png: Added.
663 * Drosera/Images/gradientBackground.png: Added.
664 * Drosera/Images/gutter.png: Added.
665 * Drosera/Images/navLeftDisabled.png: Added.
666 * Drosera/Images/navLeftNormal.png: Added.
667 * Drosera/Images/navLeftPressed.png: Added.
668 * Drosera/Images/navRightDisabled.png: Added.
669 * Drosera/Images/navRightNormal.png: Added.
670 * Drosera/Images/navRightPressed.png: Added.
671 * Drosera/Images/pause.tif: Added.
672 * Drosera/Images/popUpArrows.png: Added.
673 * Drosera/Images/programCounter.tif: Added.
674 * Drosera/Images/programCounterBreakPoint.tif: Added.
675 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
676 * Drosera/Images/run.tif: Added.
677 * Drosera/Images/splitterBar.tif: Added.
678 * Drosera/Images/splitterDimple.tif: Added.
679 * Drosera/Images/step.tif: Added.
680 * Drosera/Images/stepOver.tif: Added.
681 * Drosera/Images/stop.tif: Added.
682 * Drosera/Images/toolbarBackground.png: Added.
683 * Drosera/Info.plist: Added.
684 * Drosera/debugger.css: Added.
685 * Drosera/debugger.html: Added.
686 * Drosera/debugger.js: Added.
687 * Drosera/main.m: Added.
689 * Drosera/viewer.css: Added.
690 * Drosera/viewer.html: Added.
692 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
696 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
697 Teach svn-apply and svn-unapply to use full path names
699 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
700 * Scripts/svn-unapply: Ditto.
702 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
706 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
707 DumpRenderTree should be able to keep URL history during runs
709 Test: LayoutTests/fast/history/clicked-link-is-visited.html
711 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
712 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
713 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
714 it is currently nil since keepWebHistory() might be called more than once incidentally
716 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
717 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
719 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
723 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
724 Make prepare-ChangeLog faster
726 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
727 then save the diff output for reuse. Keep a status variable if changes are made to
728 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
729 WebCore is updated. Added -h|--help command-line switch and help message. Move test
730 for no changed files closer to the beginning of the program.
732 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
734 Reviewed and landed by ap.
736 - make DumpRenderTree build
738 * DumpRenderTree/DumpRenderTree.m:
739 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
740 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
741 (-[LayoutTestController setWindowIsKey:]): Ditto.
742 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
744 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
746 Reviewed by Darin, landed by Geoff.
748 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
749 Use pathcmp() when sorting paths in svn-create-patch
751 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
752 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
753 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
754 switch and printUsage() subroutine.
756 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
760 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
761 Teach svn-create-patch to sort its output
763 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
764 by text files first, then by binary files.
766 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
770 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
771 Teach svn-create-patch and friends to work with binary files
773 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
774 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
775 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
777 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
781 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
782 Performance improvement for svn-create-patch
784 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
786 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
790 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
791 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
793 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
794 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
796 2006-06-03 Steve Falkenburg <sfalken@apple.com>
800 Switch Spinneret to new hosting mechanism
802 * Spinneret/Spinneret.sln:
803 * Spinneret/Spinneret/Spinneret.cpp:
804 (SpinneretWebHost::updateAddressBar):
805 (SpinneretWebHost::QueryInterface):
806 (SpinneretWebHost::AddRef):
807 (SpinneretWebHost::Release):
814 * Spinneret/Spinneret/Spinneret.h:
815 (SpinneretWebHost::didStartProvisionalLoadForFrame):
816 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
817 (SpinneretWebHost::didFailProvisionalLoadWithError):
818 (SpinneretWebHost::didCommitLoadForFrame):
819 (SpinneretWebHost::didReceiveTitle):
820 (SpinneretWebHost::didReceiveIcon):
821 (SpinneretWebHost::didFinishLoadForFrame):
822 (SpinneretWebHost::didFailLoadWithError):
823 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
824 (SpinneretWebHost::willPerformClientRedirectToURL):
825 (SpinneretWebHost::didCancelClientRedirectForFrame):
826 (SpinneretWebHost::willCloseFrame):
827 (SpinneretWebHost::windowScriptObjectAvailable):
828 * Spinneret/Spinneret/Spinneret.vcproj:
830 2006-06-02 Steve Falkenburg <sfalken@apple.com>
836 * Scripts/build-webkit:
838 2006-06-01 Anders Carlsson <acarlsson@apple.com>
842 * DumpRenderTree/DumpRenderTree.m:
843 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
844 (-[LayoutTestController clearBackForwardList]):
845 Add clearBackForwardList function to layoutTestController
847 2006-06-01 Anders Carlsson <acarlsson@apple.com>
851 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
852 slow-utf8-text layout test case failing (no longer deterministic?)
854 * DumpRenderTree/DumpRenderTree.m:
856 Dump as text when the response MIME type is text/plain
858 2006-05-26 Steve Falkenburg <sfalken@apple.com>
862 * Spinneret/Spinneret.sln:
863 * Spinneret/Spinneret/Spinneret.vcproj:
865 2006-05-24 Geoffrey Garen <ggaren@apple.com>
869 Added 'GCController' to DRT to support garbage collection layout tests.
871 GCController.collect() and GCController.collectOnAlternateThread() do
872 what you would expect. The latter takes a boolean argument sepcifying
873 whether to wait for garbage collection to finish before continuing to
876 * DumpRenderTree/DumpRenderTree.m:
877 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
878 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
879 * DumpRenderTree/GCController.h: Added.
880 * DumpRenderTree/GCController.mm: Added.
881 (+[GCController isSelectorExcludedFromWebScript:]):
882 (+[GCController webScriptNameForSelector:]):
883 (-[GCController collect]):
884 (-[GCController collectOnAlternateThread:]):
886 2006-05-23 John Sullivan <sullivan@apple.com>
890 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
891 Newer Xcode removed some obsolete cruft
893 * DumpRenderTree/TextInputController.m:
894 (-[TextInputController textInput]):
895 added (id) cast to make newer compiler happy
897 2006-05-22 Steve Falkenburg <sfalken@apple.com>
903 * Spinneret/Spinneret.sln:
905 2006-05-18 Darin Adler <darin@apple.com>
907 - try to fix no-SVG, no-XPATH build, again
909 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
911 2006-05-18 Darin Adler <darin@apple.com>
913 - try to fix no-SVG, no-XPATH build
915 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
916 since the former is what's used in the WebCore project now.
918 2006-05-17 Darin Adler <darin@apple.com>
920 * Scripts/do-webcore-rename: Some more future renames.
922 2006-05-16 Adele Peterson <adele@apple.com>
926 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
927 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
929 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
931 * Scripts/install-unix-extras: Changed to be executable and removed
932 text in the file generated by "svn diff".
933 * Scripts/regenerate-makefiles: Ditto.
935 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
937 Reviewed by Darin, landed by ap.
939 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
940 Bakefiles (and generated Makefiles) for wx and gdk ports
942 * Scripts/install-unix-extras: Added.
943 * Scripts/regenerate-makefiles: Added.
945 2006-05-10 Steve Falkenburg <sfalken@apple.com>
949 Fix registry usage from perl script. Turns out libwin32's
950 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
952 * Scripts/install-win-extras:
954 2006-05-09 Steve Falkenburg <sfalken@apple.com>
957 Add load ended callback.
961 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
962 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
963 * Spinneret/Spinneret/Spinneret.cpp:
964 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
965 (_tWinMain): Load built-in test content here instead of in lower-level code.
966 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
968 2006-05-08 Maciej Stachowiak <mjs@apple.com>
972 * Scripts/extract-localizable-strings: Update for correct names of log macros.
974 2006-05-09 Anders Carlsson <acarlsson@apple.com>
978 * Scripts/check-dom-results:
979 Add XPath to the list of results.
981 2006-05-08 Darin Adler <darin@apple.com>
983 * Scripts/do-webcore-rename: Add another rename.
985 2006-05-01 Steve Falkenburg <sfalken@apple.com>
989 Spinneret now links against the new separate lib.
991 * Spinneret/Spinneret.sln:
992 * Spinneret/Spinneret/Spinneret.cpp:
993 (SpinneretWebHost::updateLocationBar):
995 * Spinneret/Spinneret/Spinneret.h:
996 * Spinneret/Spinneret/Spinneret.vcproj:
997 * Spinneret/Spinneret/WebFrame.cpp: Removed.
998 * Spinneret/Spinneret/WebFrame.h: Removed.
999 * Spinneret/Spinneret/WebView.cpp: Removed.
1000 * Spinneret/Spinneret/WebView.h: Removed.
1002 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1006 Modify error reporting registry keys to disable Dr. Watson.
1007 This allows Javascript test cases to complete without blocking UI.
1009 * Scripts/install-win-extras:
1010 - Use Perl Win32 registry functions to disable blocking UI
1013 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1017 Turned off C++ exceptions, fixed memory leaks
1019 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1020 * Spinneret/Spinneret.sln:
1021 * Spinneret/Spinneret/Spinneret.cpp:
1023 * Spinneret/Spinneret/Spinneret.vcproj:
1024 * Spinneret/Spinneret/WebFrame.cpp:
1025 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1026 (WebKit::WebFrame::WebFrame):
1027 (WebKit::WebFrame::~WebFrame):
1028 (WebKit::WebFrame::impl):
1029 * Spinneret/Spinneret/WebFrame.h:
1030 * Spinneret/Spinneret/WebView.cpp:
1031 * Spinneret/Spinneret/stdafx.h:
1033 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1037 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1038 DumpRenderTree should reset the URL cache
1040 * DumpRenderTree/DumpRenderTree.m:
1041 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1043 2006-04-28 Eric Seidel <eseidel@apple.com>
1045 Reviewed by andersca.
1047 * Scripts/do-webcore-rename: rename KCanvasContainer too
1048 * Scripts/run-webkit-tests: output total time
1050 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1052 Reviewed by hyatt. Landed by eseidel.
1054 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1055 Enable detection of excessive repainting with DumpRenderTree
1057 * DumpRenderTree/DumpRenderTree.m:
1058 (-[LayoutTestController display]):
1060 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1064 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1065 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1067 * DumpRenderTree/DumpRenderTree.m:
1068 (dump): If display() has been called during the test, grab the pixels from
1069 the view, after letting it repaint invalidated rects.
1070 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1071 (-[LayoutTestController display]): Added. Calls -display on the view
1072 and changes the subsequent behavior of dump().
1075 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1079 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1080 Update iExploder to 1.3.2
1082 Test case numbers are not compatible with iExploder 1.2.
1084 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1086 * iExploder/CHANGELOG.txt: Added.
1087 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1088 * iExploder/README.txt: Added some performance hints.
1090 * iExploder/htdocs/config.rb: Added.
1091 * iExploder/htdocs/cssproperties.in:
1092 * iExploder/htdocs/cssvalues.in:
1093 * iExploder/htdocs/htmlattrs.in:
1094 * iExploder/htdocs/htmltags.in:
1095 * iExploder/htdocs/iexploder.cgi:
1096 - Updated to support the latest HTML & CSS tags, properties, and values from both
1097 the WebKit and Mozilla CVS tree
1098 - cssproperties.in cleanup
1099 - Modularized the code a little bit.
1100 - Fix subtest bug that was causing last 5 tags to be missed
1101 - new subtest algorithm to deal better with larger tag counts
1102 - default HTML_MAX_TAGS increased from 32 to 96
1104 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1105 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1106 alternative to our run-iexploder-tests.
1107 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1108 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1109 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1111 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1113 - commit Scripts/run-mangleme-tests (missed it the previous time).
1115 2006-04-18 Darin Adler <darin@apple.com>
1117 - attempt to fix Windows buildbot
1119 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1120 We need a better long-term solution for this.
1122 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1126 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1127 Integrate mangleme test script.
1129 Works in a similar way to run-iexploder-tests.
1131 * Scripts/run-mangleme-tests: Added.
1133 * mangleme/Makefile: Added.
1134 * mangleme/README: Added.
1135 * mangleme/mangle.cgi.c: Added.
1136 * mangleme/remangle.cgi.c: Added.
1137 * mangleme/tags.h: Added.
1139 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1143 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1144 An easier way to save iExploder tests.
1146 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1148 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1152 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1153 Integrate iExploder test script.
1155 This script generates artificially mangled HTML documents, to test that the browser
1156 doesn't crash when handling ill-formed code.
1159 run-iexploder-tests Open an interactive test page in Safari+ToT.
1160 run-iexploder-tests nnnnn Open test #nnnnn.
1162 Command line options:
1163 --guard-malloc (-g) Use Guard Malloc.
1164 --port=nnnn Run Apache on port nnnn (default is 8000).
1166 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1167 (thus, Apache is still running), e.g.:
1168 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1170 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1172 * Scripts/run-iexploder-tests: Added.
1174 * iExploder/LICENSE.txt: Added.
1175 * iExploder/README.txt: Added.
1176 * iExploder/htdocs: Added.
1177 * iExploder/htdocs/cssproperties.in: Added.
1178 * iExploder/htdocs/cssvalues.in: Added.
1179 * iExploder/htdocs/htmlattrs.in: Added.
1180 * iExploder/htdocs/htmltags.in: Added.
1181 * iExploder/htdocs/htmlvalues.in: Added.
1182 * iExploder/htdocs/iexploder.cgi: Added.
1183 * iExploder/htdocs/index.html: Added.
1184 * iExploder/tools: Added.
1185 * iExploder/tools/lasthit.rb: Added.
1186 * iExploder/tools/osx_last_crash.rb: Added.
1188 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1192 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1193 Restore color profile after a crash
1195 * DumpRenderTree/DumpRenderTree.m:
1196 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1197 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1198 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1199 and this code may change significantly.
1201 (main): Install crashHandler.
1203 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1204 (CFStringGetCStringPtr should NEVER EVER be used!).
1206 2006-04-15 Darin Adler <darin@apple.com>
1210 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1211 Seems xmlsoft.org's HTTP no longer has what we need.
1213 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1215 Rubber-stamped by Darin.
1217 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1218 upload-disk-image stage on buildslaves fail with "No space left on device"
1220 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1221 'hdiutil create'. This creates the initial disk image based on the size of
1222 the source folder, and copies the contents to the new disk image. The file
1223 extension on the temporary uncompressed disk image has also been altered from
1224 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1225 the extension is not ".dmg".
1227 2006-04-12 Eric Seidel <eseidel@apple.com>
1231 * Scripts/update-webkit: Make this return non-zero when svn fails.
1233 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1237 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1238 Make HTTP tests using Perl use .pl extension
1240 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1241 removed support for .text. Reduced the number of places that explicitly list supported
1242 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1245 2006-04-06 Darin Adler <darin@apple.com>
1247 Changes requested by Mark Rowe.
1249 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1250 trash at the end of the file.
1251 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1253 * WebKitLauncher/main.m: Removed trash at end of file.
1255 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1258 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1260 Reviewed by Darin, landed by Maciej.
1262 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1263 and bundles the WebKit frameworks inside it.
1264 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1265 containing WebKit.app.
1266 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1267 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1268 number of the SVN working copy.
1269 * WebKitLauncher: Added.
1270 * WebKitLauncher/Info.plist: Added.
1271 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1272 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1273 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1274 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1275 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1276 the nightly launcher.
1277 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1278 It sets up the environment to have Safari use the bundled frameworks
1279 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1280 * WebKitLauncher/start.html: Added.
1281 * WebKitLauncher/webkit.icns: Added.
1283 2006-04-05 Darin Adler <darin@apple.com>
1287 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1288 are allowed to have global initializers.
1290 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1292 Reviewed by OMG BETH
1294 * Scripts/run-testkjs:
1295 - pipe STDERR to /dev/null by default; new --verbose option overrides
1297 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1298 - output run command in a format that can be copied and pasted into the
1299 terminal to run manually
1301 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1303 Reviewed by harrison
1305 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1306 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1308 Tell the source that the drag is over after the drag is performed, not before.
1310 * DumpRenderTree/EventSendingController.m:
1311 (-[EventSendingController mouseUp]):
1313 2006-04-01 Darin Adler <darin@apple.com>
1317 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1318 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1319 elements in that array are not strings.
1321 2006-03-31 Darin Adler <darin@apple.com>
1323 Reviewed by John Sullivan.
1325 - added a "--reset-results" option to run-webkit-tests so you can reset
1326 the results without first deleting expected results
1327 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1329 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1330 more logical. Moved all the subroutines to the end of the file. Added a
1333 * DumpRenderTree/DumpRenderTree.m:
1334 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1335 to generate new output for all tests it runs.
1336 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1337 the --dump-all-pixels option is passed. Also tightened up the image dumping
1338 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1339 with code to save and restore the context.
1341 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1342 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1344 2006-03-30 Tim Omernick <timo@apple.com>
1346 Reviewed by NOBODY (just fixing copyrights)
1348 * DumpRenderTree/ObjCPlugin.h:
1350 * DumpRenderTree/ObjCPlugin.m: ditto
1351 * DumpRenderTree/ObjCPluginFunction.h: ditto
1352 * DumpRenderTree/ObjCPluginFunction.m: ditto
1354 2006-03-30 Tim Omernick <timo@apple.com>
1358 * DumpRenderTree/DumpRenderTree.m:
1359 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1360 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1361 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1362 exposed to JS as a callable object.
1364 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1365 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1367 * DumpRenderTree/ObjCPlugin.h: Added.
1368 * DumpRenderTree/ObjCPlugin.m: Added.
1369 * DumpRenderTree/ObjCPluginFunction.h: Added.
1370 * DumpRenderTree/ObjCPluginFunction.m: Added.
1372 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1373 Added a new method, "removeDefaultMethod", which removes the default method from the
1374 plugin object's class. The effect is that the plugin object is mutated from a callable
1375 function to a simple object.
1377 Handle "removeDefaultMethod".
1378 (pluginInvokeDefault):
1379 Made the default method actually do something (return 1).
1381 2006-03-30 Eric Seidel <eseidel@apple.com>
1385 Remove WebFrame::viewImpl(), setMainFrame on page.
1387 * Spinneret/Spinneret/WebFrame.cpp:
1388 (WebKit::WebFrame::WebFrame):
1389 * Spinneret/Spinneret/WebFrame.h:
1390 * Spinneret/Spinneret/WebView.cpp:
1391 (WebKit::WebView::mouseMoved):
1392 (WebKit::WebView::mouseDown):
1393 (WebKit::WebView::mouseUp):
1394 (WebKit::WebView::mouseDoubleClick):
1395 (WebKit::WebViewWndProc):
1397 2006-03-30 Eric Seidel <eseidel@apple.com>
1401 Fix html editing input & basic form submission.
1403 * Spinneret/Spinneret/WebFrame.cpp:
1404 (WebKit::WebFrame::submitForm):
1405 (WebKit::WebFrame::loadURL):
1406 * Spinneret/Spinneret/WebFrame.h:
1407 * Spinneret/Spinneret/WebView.cpp:
1408 (WebKit::WebView::keyPress):
1409 (WebKit::WebViewWndProc):
1411 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1415 <rdar://problem/4402375>
1416 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1418 Added an option to draw the selectionRect.
1420 * DumpRenderTree/DumpRenderTree.m:
1422 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1423 (-[LayoutTestController dumpSelectionRect]):
1426 2006-03-29 Darin Adler <darin@apple.com>
1428 Reviewed by Tim Hatcher.
1430 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1432 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1434 2006-03-28 Eric Seidel <eseidel@apple.com>
1438 * Scripts/check-for-global-initializers: remove svg exceptions.
1440 2006-03-28 Timothy Hatcher <timothy@apple.com>
1444 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1446 * Scripts/check-for-global-initializers:
1448 2006-03-28 Timothy Hatcher <timothy@apple.com>
1450 Build fix. Turn off uninitialized warnings for the first block of code.
1452 * Scripts/check-for-global-initializers:
1454 2006-03-28 Darin Adler <darin@apple.com>
1458 * Scripts/check-for-global-initializers: Added.
1460 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1462 Reviewed by darin. Landed by eseidel.
1464 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1465 Add repaint testing support to run-webkit-tests
1467 * DumpRenderTree/DumpRenderTree.m:
1468 (main): Added --repaint and --horizontal-sweep options.
1469 (dump): Repaint line-by-line or column-by-column when the appropriate option
1471 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1472 and repaintSweepHorizontally() methods to layoutTestController.
1473 (-[LayoutTestController testRepaint]):
1474 (-[LayoutTestController repaintSweepHorizontally]):
1476 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1477 to force these settings on tests that do not ask for them.
1479 2006-03-24 Eric Seidel <eseidel@apple.com>
1485 * Spinneret/Spinneret/WebFrame.cpp:
1486 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1488 2006-03-21 Beth Dakin <bdakin@apple.com>
1492 Add support for keyDown() to DumpRenderTree.
1494 * DumpRenderTree/DumpRenderTree.m:
1495 (main): Set the preference for tabbing to links.
1496 * DumpRenderTree/EventSendingController.m:
1497 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1498 (+[EventSendingController webScriptNameForSelector:]):
1499 (-[EventSendingController keyDown:withModifiers:]):
1501 2006-03-20 Eric Seidel <eseidel@apple.com>
1507 * Spinneret/Spinneret/Spinneret.vcproj:
1508 * Spinneret/Spinneret/WebFrame.h:
1509 * Spinneret/Spinneret/WebView.cpp:
1510 (WebKit::WebView::mouseMoved):
1511 (WebKit::WebView::mouseDown):
1512 (WebKit::WebView::mouseUp):
1513 (WebKit::WebView::mouseDoubleClick):
1514 (WebKit::WebView::keyPress):
1515 (WebKit::WebViewWndProc):
1517 2006-03-19 Darin Adler <darin@apple.com>
1521 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1522 we can test it in layout tests. We don't really need tests that run with
1523 pop-up blocking off at the moment. If we do some day, we can add some
1524 API for turning it off in the layout test controller.
1526 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1527 don't ignore the leak; it should no longer show up.
1529 2006-03-17 Anders Carlsson <andersca@mac.com>
1533 * Scripts/install-win-extras:
1534 Fetch "Program Files" location from the environment.
1536 2006-03-17 Eric Seidel <eseidel@apple.com>
1540 Fix Spinneret to pass Events as const & not as pointers.
1542 * Spinneret/Spinneret/WebView.cpp:
1543 (WebKit::WebView::mouseMoved):
1544 (WebKit::WebView::mouseDown):
1545 (WebKit::WebView::mouseUp):
1546 (WebKit::WebView::mouseDoubleClick):
1547 (WebKit::WebView::keyPress):
1549 2006-03-17 Eric Seidel <eseidel@apple.com>
1551 Reviewed by justing.
1553 Add support for basic HTML editing.
1555 * Spinneret/Spinneret/WebView.cpp:
1556 (WebKit::WebView::WebView):
1557 (WebKit::WebView::keyPress):
1559 2006-03-17 Eric Seidel <eseidel@apple.com>
1561 Rubber-stamped by ggaren.
1563 Break DumpRenderTree.m up into several files to make the code more readable.
1565 * DumpRenderTree/DumpRenderTree.h: Added.
1566 * DumpRenderTree/DumpRenderTree.m:
1567 (doneLoading): new accessor function for "done" global.
1568 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1569 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1570 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1571 * DumpRenderTree/EditingDelegate.h: Added.
1572 * DumpRenderTree/EditingDelegate.m: Added.
1573 (-[EditingDelegate webViewDidChangeSelection:]):
1574 * DumpRenderTree/EventSendingController.h: Added.
1575 * DumpRenderTree/EventSendingController.m: Added.
1577 2006-03-16 Eric Seidel <eseidel@apple.com>
1581 Add resize, scroll event support.
1583 * Spinneret/Spinneret/WebView.cpp:
1584 (WebKit::WebView::mouseMoved):
1585 (WebKit::WebView::mouseDown):
1586 (WebKit::WebView::mouseUp):
1587 (WebKit::WebView::mouseDoubleClick):
1588 (WebKit::WebView::keyPress):
1589 (WebKit::WebViewWndProc):
1590 * Spinneret/Spinneret/WebView.h:
1592 2006-03-16 Eric Seidel <eseidel@apple.com>
1596 Make build-webkit print correctly to stdout on windows.
1598 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1600 2006-03-15 Eric Seidel <eseidel@apple.com>
1604 Fix eventSender.mouseClick() to update lastClick timestamp.
1606 * DumpRenderTree/DumpRenderTree.m:
1607 (-[EventSendingController mouseClick]):
1609 2006-03-15 Darin Adler <darin@apple.com>
1613 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1614 that had a lowercase "i" in it so this builds on case-sensitive
1617 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1621 Added run-testkjs and compare-timing-files scripts, to support super
1624 * Scripts/compare-timing-files: Added.
1625 * Scripts/run-testkjs: Added.
1627 2006-03-14 Eric Seidel <eseidel@apple.com>
1631 Make the URL bar relinquish focus on page load.
1633 * Spinneret/Spinneret/Spinneret.cpp:
1636 2006-03-14 Eric Seidel <eseidel@apple.com>
1640 Fix WebView to allow KeyFocus.
1641 Add handling of space and shift-space for scrolling.
1643 * Spinneret/Spinneret/WebView.cpp:
1644 (WebKit::scrollMessageForKey):
1645 (WebKit::WebViewWndProc):
1647 2006-03-10 Eric Seidel <eseidel@apple.com>
1651 Add scrolling support into Spinneret.
1653 * Spinneret/Spinneret/WebFrame.cpp:
1654 (WebKit::WebFrame::paint):
1655 * Spinneret/Spinneret/WebView.cpp:
1656 (WebKit::WebView::createWebView):
1657 (WebKit::calculateScrollDelta):
1658 (WebKit::scrollMessageForKey):
1659 (WebKit::WebViewWndProc):
1661 2006-03-13 Eric Seidel <eseidel@apple.com>
1665 Fix checksum generation on Intel machines.
1666 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1667 give a small speed boost now that it uses a shared buffer.
1669 * DumpRenderTree/DumpRenderTree.m:
1672 (md5HashStringForBitmap):
1673 * DumpRenderTree/ImageDiff.m:
1674 (computePercentageDifferent):
1676 2006-03-13 Darin Adler <darin@apple.com>
1678 Reviewed by Tim Hatcher.
1680 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1681 have it named httpd-1.3 instead.
1683 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1685 Fix proposed by Mitz Pettel, reviewed by Darin.
1687 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1688 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1690 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1691 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1694 2006-03-09 Darin Adler <darin@apple.com>
1696 Reviewed by John Sullivan.
1698 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1699 memory leak in the plug-in tests
1701 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1702 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1703 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1705 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1706 Moved the browser global in here since it's declared in this file's header.
1707 Changed the code to set up the pluginClass structure to not use function
1708 pointer casts. Those are dangerous because they can hide many types of mismatch.
1709 And indeed when I did this I discovered that many functions were missing their
1710 boolean return values or had parameter declarations with the wrong types.
1711 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1712 clarity. Added boolean return value: return true when successful and false when not.
1713 (pluginSetProperty): Added boolean return value, return false since we have no
1714 properties we can set.
1715 (pluginInvoke): Added boolean return value. Return true when successful and false
1716 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1717 return value from calling the browser. Changed code to put the strings in malloc
1718 buffers instead of relying on GCC's extension that allows variable-sized arrays
1720 (pluginInvokeDefault): Added boolean return value, return false since we have no
1721 default function to call.
1722 (pluginInvalidate): Added missing parameter. Removed comment.
1723 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1724 to cast the result of malloc.
1725 (pluginDeallocate): Removed uneeded cast.
1727 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1728 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1729 that match NPObject's fields. Removed unused NPWindow pointer.
1731 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1733 Test: fast/events/event-sender-mouse-click.html
1737 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1738 DRT hangs when doing eventSender.mouseDown on native widgets
1740 * DumpRenderTree/DumpRenderTree.m:
1741 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1742 (-[EventSendingController mouseClick]): Simulates a click in a native
1743 widget by queueing a mouseUp before sending the mouseDown, so that
1744 the widget's mouse tracking event loop doesn't hang indefinitely.
1746 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1750 - make link clicks work by handling link click requests
1753 * Spinneret/Spinneret/Spinneret.cpp:
1754 (updateLocationBar):
1755 * Spinneret/Spinneret/Spinneret.h:
1756 * Spinneret/Spinneret/WebFrame.cpp:
1757 (WebKit::WebFrame::WebFrame):
1758 (WebKit::WebFrame::openURL):
1759 (WebKit::WebFrame::loadURL):
1760 * Spinneret/Spinneret/WebFrame.h:
1762 2006-03-08 Eric Seidel <eseidel@apple.com>
1766 Focus URL bar on Spinneret launch, remove border from WebView.
1767 Stop WebFrame from deleting the job (prevent crash).
1769 * Spinneret/Spinneret/Spinneret.cpp:
1771 * Spinneret/Spinneret/WebFrame.cpp:
1772 (WebKit::WebFrame::receivedAllData):
1773 (WebKit::WebFrame::paint):
1774 * Spinneret/Spinneret/WebView.cpp:
1775 (WebKit::WebView::createWebView):
1777 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1781 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1782 (pluginInvoke): Added a method to test getURL.
1784 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1788 - load URLs, not file paths, in Spinneret
1790 * Spinneret/Spinneret/Spinneret.cpp:
1792 * Spinneret/Spinneret/Spinneret.vcproj:
1793 * Spinneret/Spinneret/WebFrame.cpp:
1794 (WebKit::WebFrame::loadURL):
1795 (WebKit::WebFrame::receivedData):
1796 (WebKit::WebFrame::receivedAllData):
1797 * Spinneret/Spinneret/WebFrame.h:
1798 * Spinneret/Spinneret/WebView.cpp:
1799 (WebKit::WebView::WebView):
1801 2006-03-08 Darin Adler <darin@apple.com>
1805 - fixed AppleScript layout test results to not be endian-dependent
1806 (Hyatt complained to me about this one)
1808 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1809 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1810 (which are endian-dependent).
1812 2006-03-07 Darin Adler <darin@apple.com>
1816 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1817 unwanted output while running layout tests
1819 * DumpRenderTree/DumpRenderTree.m:
1820 (checkedMalloc): Added.
1821 (checkedRealloc): Added.
1822 (makeLargeMallocFailSilently): Added.
1823 (main): Call makeLargeMallocFailSilently.
1825 2006-03-06 Darin Adler <darin@apple.com>
1827 * Scripts/do-webcore-rename: Add some more planned renaming.
1829 2006-03-06 Eric Seidel <eseidel@apple.com>
1833 * Spinneret/Spinneret/WebFrame.cpp:
1834 (WebKit::WebFrame::paint): force layout before painting
1836 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1840 Sent the windowNumber when sending events.
1841 Added leapForward so that we don't have to spend time waiting
1842 in layout tests that do mouse operations that require delays.
1844 * DumpRenderTree/DumpRenderTree.m:
1845 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1846 (+[EventSendingController webScriptNameForSelector:]):
1847 (-[EventSendingController currentEventTime]):
1848 (-[EventSendingController leapForward:]):
1849 (-[EventSendingController mouseDown]):
1850 (-[EventSendingController mouseUp]):
1851 (-[EventSendingController mouseMoveToX:Y:]):
1853 2006-03-05 Darin Adler <darin@apple.com>
1855 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1856 Script now works (after landing my two pending patches).
1858 2006-03-05 Darin Adler <darin@apple.com>
1860 - check in a script to do a "big" rename in WebCore
1861 (can be run whenever we're ready to do it)
1863 * Scripts/do-webcore-rename: Added.
1865 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1869 * Spinneret/Spinneret/WebFrame.cpp:
1870 (WebKit::WebFrame::loadFilePath): Close file when done.
1872 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1874 Reviewed by Darin, landed by ap.
1876 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1877 Mouse moved events do not work in DumpRenderTree
1879 Test: fast/events/event-sender-mouse-moved.html
1881 * DumpRenderTree/DumpRenderTree.m:
1882 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1884 2006-03-04 Eric Seidel <eseidel@apple.com>
1888 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1889 Disable background erase to avoid tearing.
1890 Fix potential memory smasher from extra long urls.
1892 * Spinneret/Spinneret/Spinneret.cpp:
1894 * Spinneret/Spinneret/Spinneret.vcproj:
1895 * Spinneret/Spinneret/WebFrame.cpp:
1896 (WebKit::WebFrame::loadFilePath):
1897 (WebKit::WebFrame::paint):
1898 * Spinneret/Spinneret/WebView.cpp:
1899 (WebKit::registerWebViewWithInstance):
1901 2006-03-04 Eric Seidel <eseidel@apple.com>
1905 Hang WebView pointer off of HWND (gets rid of global hack).
1906 Remove MessageBox displayed on url change.
1908 * Spinneret/Spinneret/Spinneret.cpp:
1911 * Spinneret/Spinneret/WebView.cpp:
1912 (WebKit::registerWebViewWithInstance):
1913 (WebKit::WebView::createWebView):
1914 (WebKit::WebViewWndProc):
1916 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
1920 Automatically kill httpd if it appears to be already running.
1922 * Scripts/run-webkit-tests:
1924 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1928 * Spinneret/Spinneret/WebFrame.cpp:
1929 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1931 2006-03-03 Eric Seidel <eseidel@apple.com>
1935 A few more fixes to make run-webkit-tests really work on win32.
1937 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1939 * Scripts/run-webkit-tests:
1941 2006-03-03 Eric Seidel <eseidel@apple.com>
1945 Make run-webkit-tests work on win32.
1947 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1949 (dumpRenderTreeMain):
1950 (dumpRenderTreeToStdOut):
1951 (serializeToStdOut):
1953 * Scripts/run-webkit-tests:
1954 * Scripts/webkitdirs.pm:
1955 * Spinneret/Spinneret/WebView.cpp:
1956 (WebKit::WebView::WebView):
1958 2006-03-03 Eric Seidel <eseidel@apple.com>
1962 Add WebFrame class (to hold Frame and FrameView).
1963 Add Location bar support to Spinneret.
1965 * Spinneret/Spinneret/Spinneret.cpp:
1970 * Spinneret/Spinneret/Spinneret.vcproj:
1971 * Spinneret/Spinneret/WebFrame.cpp: Added.
1972 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1973 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1974 (WebKit::WebFrame::WebFrame):
1975 (WebKit::WebFrame::loadFilePath):
1976 (WebKit::WebFrame::loadHTMLString):
1977 (WebKit::WebFrame::paint):
1978 (WebKit::WebFrame::impl):
1979 (WebKit::WebFrame::viewImpl):
1980 * Spinneret/Spinneret/WebFrame.h: Added.
1981 * Spinneret/Spinneret/WebView.cpp:
1982 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1983 (WebKit::WebView::WebView):
1984 (WebKit::WebView::windowHandle):
1985 (WebKit::WebView::mainFrame):
1986 (WebKit::WebView::mouseMoved):
1987 (WebKit::WebView::mouseDown):
1988 (WebKit::WebView::mouseUp):
1989 (WebKit::WebView::mouseDoubleClick):
1990 (WebKit::WebViewWndProc):
1991 * Spinneret/Spinneret/WebView.h:
1993 2006-03-02 Eric Seidel <eseidel@apple.com>
1997 * Spinneret/Spinneret/WebView.cpp:
1998 (WebKit::registerWebViewWithInstance):
1999 (WebKit::WebView::WebView):
2000 (WebKit::WebView::mouseMoved):
2001 (WebKit::WebView::mouseDown):
2002 (WebKit::WebView::mouseUp):
2003 (WebKit::WebView::mouseDoubleClick):
2004 (WebKit::WebViewWndProc):
2005 * Spinneret/Spinneret/WebView.h:
2007 2006-03-01 Eric Seidel <eseidel@apple.com>
2009 Reviewed by andersca.
2011 Make spinneret take advantage of the new GraphicsContextCairo.
2013 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2014 (main): updated to match style guidelines.
2015 * Spinneret/Spinneret/Spinneret.cpp:
2017 * Spinneret/Spinneret/WebView.cpp:
2018 (WebKit::registerWebViewWithInstance):
2019 (WebKit::WebView::WebView):
2020 (WebKit::WebView::~WebView):
2021 (WebKit::WebView::drawRect):
2023 * Spinneret/Spinneret/WebView.h:
2025 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2029 Give the events that eventSender sends a unique eventNumber
2031 * DumpRenderTree/DumpRenderTree.m:
2032 (-[EventSendingController mouseDown]):
2033 (-[EventSendingController mouseUp]):
2034 (-[EventSendingController mouseMoveToX:Y:]):
2036 2006-03-01 Eric Seidel <eseidel@apple.com>
2040 Add a stub win32 application to test WebCore drawing on windows.
2043 * Spinneret/Spinneret: Added.
2044 * Spinneret/Spinneret.sln: Added.
2045 * Spinneret/Spinneret/Resource.h: Added.
2046 * Spinneret/Spinneret/Spinneret.cpp: Added.
2052 * Spinneret/Spinneret/Spinneret.h: Added.
2053 * Spinneret/Spinneret/Spinneret.ico: Added.
2054 * Spinneret/Spinneret/Spinneret.rc: Added.
2055 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2056 * Spinneret/Spinneret/WebView.cpp: Added.
2057 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2058 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2059 (WebKit::registerWebViewWithInstance):
2060 (WebKit::WebView::createWebView):
2061 (WebKit::WebView::WebView):
2062 (WebKit::WebView::~WebView):
2063 (WebKit::WebView::drawRect):
2064 (WebKit::WebView::windowHandle):
2066 * Spinneret/Spinneret/WebView.h: Added.
2067 * Spinneret/Spinneret/small.ico: Added.
2068 * Spinneret/Spinneret/stdafx.cpp: Added.
2069 * Spinneret/Spinneret/stdafx.h: Added.
2071 2006-02-28 Eric Seidel <eseidel@apple.com>
2075 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2076 (main): add ability to dump render tree and read from a local file.
2078 2006-02-27 Eric Seidel <eseidel@apple.com>
2082 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2084 2006-02-27 Eric Seidel <eseidel@apple.com>
2088 Test new KConfig -> PlugInInfoStore change.
2089 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2091 * DumpRenderTree/DumpRenderTree.m:
2092 (main): load test netscape plugin
2093 * Scripts/run-webkit-tests: style update
2095 2006-02-24 Eric Seidel <eseidel@apple.com>
2099 Make DumpRenderTree link against icu.
2101 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2103 2006-02-24 Eric Seidel <eseidel@apple.com>
2107 Make DumpRenderTree link against libxml, etc.
2109 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2111 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2113 Reviewed and landed by Anders.
2115 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2116 getting called from the run loop, making the view render each test and thus slowing
2119 * DumpRenderTree/DumpRenderTree.m:
2120 (main): Set the offscreen window to not autodisplay.
2122 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2126 - Turn http tests back on by default.
2127 - Wait for Apache to actually start serving requests.
2128 - Get user id from a built-in variable rather than an external command;
2129 don't pass the group.
2131 * Scripts/run-webkit-tests:
2133 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2135 Suggested by Mitz Pettel, reviewed by Darin.
2137 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2138 can run CGIs even if the permissions are 700 or 600.
2140 2006-02-23 Darin Adler <darin@apple.com>
2142 Collaborating with Alexey.
2144 - turn off http tests by default until we figure out how to get them
2145 to run even when permissions on CGI files are 700 instead of 755
2147 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2149 2006-02-23 Eric Seidel <eseidel@apple.com>
2151 Add *.user to ignore list.
2153 2006-02-23 Eric Seidel <eseidel@apple.com>
2155 Remove binary file which shouldn't have been commited (and add to ignore list).
2157 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2158 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2160 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2164 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2166 2006-02-22 Eric Seidel <eseidel@apple.com>
2168 Reviewed by Tim Hatcher.
2170 Fix install-win-extras to not try to re-install setx if installed.
2172 * Scripts/install-win-extras:
2174 2006-02-22 Eric Seidel <eseidel@apple.com>
2176 One more file possibly missing from previous commit?
2178 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2179 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2181 2006-02-22 Eric Seidel <eseidel@apple.com>
2183 Reviewed by justing.
2185 Files missing from previous commit.
2187 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2188 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2190 2006-02-22 Eric Seidel <eseidel@apple.com>
2192 Rubber-stamped by justing.
2194 Corrected path for DumpRenderTree.intermediate files
2196 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2198 2006-02-22 Eric Seidel <eseidel@apple.com>
2200 Reviewed by justing.
2202 Fixed build-dumprendertree to exit with correct error codes.
2204 * Scripts/build-dumprendertree:
2206 2006-02-22 Eric Seidel <eseidel@apple.com>
2208 Reviewed by justing.
2210 Update build scripts to generalize building on Win32, and allow
2211 building of DumpRenderTree on Win32 from build-dumprendertree.
2213 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2215 * Scripts/build-dumprendertree:
2216 * Scripts/build-webkit:
2217 * Scripts/webkitdirs.pm:
2219 2006-02-22 Eric Seidel <eseidel@apple.com>
2223 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2224 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2225 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2226 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2227 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2228 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2230 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2231 * Scripts/build-webkit: make build-webkit cleanup after itself
2233 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2237 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2238 Some minor fixes to http tests.
2240 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2242 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2246 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2247 Would like to use locally installed Apache for testing.
2249 Added two run-webkit-tests options:
2250 --http (--nohttp) - whether to launch Apache (defaults to yes);
2251 --port - which port to listen on (defaults to 8000).
2253 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2254 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2255 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2257 Also added support for .shtml and .text files. Text files give an empty
2258 *-expected.txt, but a correct image.
2260 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2262 * Scripts/run-webkit-tests:
2264 2006-02-21 Darin Adler <darin@apple.com>
2266 Suggested by Mark Rowe.
2268 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2269 reporting leak counts.
2271 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2275 - Added install-win-extras script which installs some extra
2276 programs and libraries, and does Windows first-time setup.
2278 * Scripts/build-webkit: Add a newline between build results.
2279 * Scripts/install-win-extras: Added.
2281 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2285 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2286 DumpRenderTree should be able to load files via HTTP
2288 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2289 Handle tests starting with "http://" as real URLs, not file system paths.
2291 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2295 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2296 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2298 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2300 2006-02-18 Darin Adler <darin@apple.com>
2302 * Scripts/commit-log-editor: Added.
2304 2006-02-17 Eric Seidel <eseidel@apple.com>
2308 Make Win32 have the same default "WebKitBuild" directory behavior.
2310 * Scripts/build-webkit:
2311 * Scripts/webkitdirs.pm:
2313 2006-02-17 Eric Seidel <eseidel@apple.com>
2317 * Scripts/build-webkit: make win32 actually report errors
2319 2006-02-17 Eric Seidel <eseidel@apple.com>
2323 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2325 2006-02-17 Eric Seidel <eseidel@apple.com>
2329 * Scripts/run-webkit-tests: Ignore flash leaks
2331 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2335 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2336 Add drag and drop support to DumpRenderTree
2338 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2339 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2341 * DumpRenderTree/DumpRenderTree.m:
2343 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2344 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2345 (-[WaitUntilDoneDelegate webViewFocus:]):
2346 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2347 (+[LayoutTestController webScriptNameForSelector:]):
2348 (-[LayoutTestController setWindowIsKey:]):
2349 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2350 (-[EventSendingController init]):
2351 (-[EventSendingController mouseDown]):
2352 (-[EventSendingController mouseUp]):
2353 (-[EventSendingController mouseMoveToX:Y:]):
2355 (-[DumpRenderTreeWindow isKeyWindow]):
2356 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2357 (-[DumpRenderTreeDraggingInfo dealloc]):
2358 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2359 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2360 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2361 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2362 (-[DumpRenderTreeDraggingInfo draggedImage]):
2363 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2364 (-[DumpRenderTreeDraggingInfo draggingSource]):
2365 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2366 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2367 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2368 * DumpRenderTree/TextInputController.m:
2369 (-[TextInputController firstRectForCharactersFrom:length:]):
2370 (-[TextInputController characterIndexForPointX:Y:]):
2372 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2376 * DumpRenderTree/DumpRenderTree.m:
2377 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2378 Added a dummy method for the sake of LayoutTests/plugins/
2379 undefined-property-crash.html. (It tests a crash due to fallback
2380 object use. WebCore won't create a fallback object if the method is
2383 2006-02-14 Eric Seidel <eseidel@apple.com>
2387 * Scripts/run-webkit-tests: added --results-directory (-o) option
2389 2006-02-09 Eric Seidel <eseidel@apple.com>
2391 Rubber-stamped by mjs.
2393 Renamed split-class to split-file-by-class.
2395 * Scripts/build-webkit: Updated copyright.
2396 * Scripts/split-class: Removed.
2397 * Scripts/split-file-by-class: Added.
2399 2006-02-08 Eric Seidel <eseidel@apple.com>
2401 Rubber-stamped by mjs.
2403 Adding new script for splitting multi-class files.
2404 Also adding supporting perl module with space removing heuristics.
2406 * Scripts/SpacingHeuristics.pm: Added.
2407 * Scripts/build-drawtest: updated copyright header
2408 * Scripts/split-class: Added.
2410 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2412 Reviewed by thatcher
2414 Changes to test fix for:
2415 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2416 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2418 * DumpRenderTree/DumpRenderTree.m:
2419 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2420 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2421 (+[LayoutTestController webScriptNameForSelector:]):
2422 (-[LayoutTestController setWindowHasFocus:]):
2423 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2425 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2427 Reviewed by Timothy.
2429 Support automated testing of AppleScript "do JavaScript" command
2430 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2432 * DumpRenderTree/AppleScriptController.h: Added.
2433 * DumpRenderTree/AppleScriptController.m: Added.
2434 * DumpRenderTree/DumpRenderTree.m:
2435 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2436 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2438 2006-02-06 Eric Seidel <eseidel@apple.com>
2442 Fix build-webkit for use on win32 (unblocks buildbot usage).
2443 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2445 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2446 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2448 2006-02-06 Eric Seidel <eseidel@apple.com>
2450 Rubber-stamped by darin & mjs.
2452 Added new support directory for build slave scripts.
2453 Committing the first script, for use by the PLT's build slave.
2454 This script is used to kick of the PLT (Page Load Test) slave.
2456 * BuildSlaveSupport: Added.
2457 * BuildSlaveSupport/run-performance-tests: Added.
2459 2006-02-06 Eric Seidel <eseidel@apple.com>
2461 Rubber-stamped by darin.
2463 Adding setSourceDir for scripts stored in non-standard locations.
2465 * Scripts/webkitdirs.pm:
2467 2006-02-04 Darin Adler <darin@apple.com>
2469 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2470 Configuration files that say Development or Deployment in them.
2472 2006-02-04 Darin Adler <darin@apple.com>
2474 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2475 wrapper already in the directory.
2476 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2477 these haven't been working at all.
2478 * Scripts/svn-unapply: Ditto.
2480 2006-02-03 Timothy Hatcher <timothy@apple.com>
2484 Renamed configuration names to Debug, Release and Production.
2486 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2487 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2488 * Scripts/set-webkit-configuration:
2489 * Scripts/webkitdirs.pm:
2491 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2493 Reviewed by thatcher
2495 Enabled spell checking for layout tests.
2497 * DumpRenderTree/DumpRenderTree.m:
2500 2006-01-29 Darin Adler <darin@apple.com>
2502 * Scripts/svn-apply: Added comments about things we should do to improve.
2503 * Scripts/svn-create-patch: Ditto.
2504 * Scripts/svn-unapply: Ditto.
2506 2006-01-28 Darin Adler <darin@apple.com>
2508 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2509 already there, even if the checksum is correct.
2511 2006-01-27 Eric Seidel <eseidel@apple.com>
2515 * Scripts/run-webkit-tests: make new tests use absolute urls
2517 2006-01-27 Eric Seidel <eseidel@apple.com>
2521 make run-webkit-tests output total leaks count
2523 * Scripts/run-webkit-tests:
2525 2006-01-27 Eric Seidel <eseidel@apple.com>
2529 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2530 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2532 * Scripts/run-webkit-tests: fix --leaks to not crash
2534 2006-01-26 Eric Seidel <eseidel@apple.com>
2538 run-webkit-tests should produce a self-contained results directory
2539 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2541 * Scripts/run-webkit-tests: copy failing items to results dir.
2543 2006-01-23 Darin Adler <darin@apple.com>
2545 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2546 need script to update localizable strings file in WebKit
2548 * Scripts/update-webkit-localizable-strings: Added.
2550 2006-01-23 Darin Adler <darin@apple.com>
2552 - added a couple of scripts -- more about these two soon
2554 * Scripts/extract-localizable-strings: Added.
2555 * Scripts/merge-changelog: Added.
2557 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2561 Build fix. build-webkit dies with "invalid build action: (empty string)"
2563 * Scripts/build-webkit:
2564 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2566 2006-01-22 Eric Seidel <eseidel@apple.com>
2570 Fix --no-svg option to use XCode flags instead of gcc flags.
2572 * Scripts/build-webkit:
2574 2006-01-22 Eric Seidel <eseidel@apple.com>
2578 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2580 * Scripts/build-webkit:
2582 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2584 Reviewed by eseidel.
2586 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2587 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2589 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2590 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2592 2006-01-19 Darin Adler <darin@apple.com>
2594 * Scripts/report-include-statistics: Added a new script.
2596 2006-01-19 Timothy Hatcher <timothy@apple.com>
2598 * Scripts/build-webkit: include JavaScriptGlue in the build
2600 2006-01-19 Darin Adler <darin@apple.com>
2602 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2603 spaces in it by using the form of open that treats each argument as a string
2604 rather than backtick syntax for reading the output of the nm tool.
2606 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2610 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2611 detect if there are any new tests
2613 * Scripts/prepare-ChangeLog:
2615 2006-01-12 Darin Adler <darin@apple.com>
2617 - removed some of the cvs-specific scripts -- not needed for this project any more
2619 * Scripts/cvs-abandon: Removed.
2620 * Scripts/cvs-apply: Removed.
2621 * Scripts/cvs-create-patch: Removed.
2622 * Scripts/cvs-unapply: Removed.
2624 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2626 Reviewed by eseidel. Committed by eseidel.
2628 - run-webkit-tests always launches Safari when tests fail
2629 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2631 * Scripts/run-webkit-tests:
2632 Add a command-line flag to prevent Safari being launched to display failed
2633 tests. Always exit with non-zero status when tests have failed.
2635 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2637 Reviewed by eseidel. Committed by eseidel.
2639 - build-webkit should exit with non-zero status when build fails
2640 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2642 * Scripts/build-webkit:
2643 Use correct bits of subprocess exit code when passing back through
2644 as build-webkit's exit code.
2646 2006-01-10 Eric Seidel <eseidel@apple.com>
2648 Restored corrupted nibs from TOT CVS.
2650 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2651 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2652 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2653 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2654 * DrawTest/English.lproj/Inspector.nib: Replaced.
2655 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2656 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2657 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2658 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2659 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2660 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2661 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2662 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2663 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2664 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2665 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2667 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2669 Reviewed by eseidel. Committed by eseidel.
2671 DrawTestView now subclasses WebView instead of DrawView.
2673 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2674 * DrawTest/DrawTestDocument.h:
2675 * DrawTest/DrawTestDocument.m:
2676 (-[DrawTestDocument dealloc]):
2677 (-[DrawTestDocument readFromFile:ofType:]):
2678 (-[DrawTestDocument windowControllerDidLoadNib:]):
2679 (-[DrawTestDocument dumpSVGToConsole:]):
2680 (-[DrawTestDocument openSourceForSelection:]):
2681 (-[DrawTestDocument dataRepresentationOfType:]):
2682 * DrawTest/DrawTestToolbarController.h:
2683 * DrawTest/DrawTestToolbarController.m:
2684 (-[DrawTestToolbarController initWithDrawView:]):
2685 (-[DrawTestToolbarController clickedToolbarItem:]):
2686 (-[DrawTestToolbarController validateToolbarItem:]):
2687 * DrawTest/DrawTestView.h:
2688 * DrawTest/DrawTestView.m:
2689 (-[DrawTestView initWithFrame:]):
2690 (-[DrawTestView setDocument:]):
2691 * DrawTest/SVGTest.h:
2692 * DrawTest/SVGTest.m:
2693 (+[SVGTest sharedDrawView]):
2694 (-[SVGTest generateCompositeIfNecessary]):
2695 * DrawTest/TestController.h:
2696 * DrawTest/TestController.m:
2697 (-[TestController awakeFromNib]):
2698 (-[TestController setSelectedTest:]):
2699 (-[TestController openTestViewerForSelection:]):
2700 (-[TestController toggleViewersScaleRule:]):
2701 * DrawTest/TestViewerSplitView.m:
2702 (-[TestViewerSplitView drawRect:]):
2704 2006-01-10 Anders Carlsson <andersca@mac.com>
2706 Reviewed by Timothy.
2708 * DumpRenderTree/DumpRenderTree.m:
2709 (main): Set the default language to "en", so language tests will work.
2711 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2715 - script to generate HTML wrappers for JS tests
2716 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2718 * Scripts/make-js-test-wrappers: Added.
2720 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2724 * Scripts/svn-create-patch: Fix to work when passed directory names.
2726 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2730 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2731 can start writing automated loader tests now. I have one in the works.
2733 * DumpRenderTree/DumpRenderTree.m:
2734 (main): Construct global navigationController on entry, destroy on exit.
2735 Set frame to nil on exit too, to match all the other global objects.
2736 (Probably academic, since the process is exiting, anyway.)
2737 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2738 navigationController, in case it wants to kick off a load.
2739 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2740 the navigationController to scripting.
2742 New class, should be straightforward:
2744 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2745 * DumpRenderTree/NavigationController.h: Added.
2746 * DumpRenderTree/NavigationController.m: Added.
2748 (+[NavigationController isSelectorExcludedFromWebScript:]):
2749 (+[NavigationController webScriptNameForSelector:]):
2750 (-[NavigationController setPendingScript:]):
2751 (-[NavigationController setPendingRequest:]):
2752 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2753 (-[NavigationController webView:didFinishLoadForFrame:]):
2754 (-[NavigationController dealloc]):
2756 2006-01-08 Timothy Hatcher <timothy@apple.com>
2758 Removed this script, no longer needs with the Subversion switch.
2760 * checkout: Removed.
2762 2006-01-08 Timothy Hatcher <timothy@apple.com>
2764 Removes some stray tabs.
2766 * Scripts/update-webkit:
2768 2005-01-07 Eric Seidel <eseidel@apple.com>
2772 build-webkit should pass on build arguments from command line
2773 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2775 * Scripts/build-webkit:
2777 2006-01-07 Eric Seidel <eseidel@apple.com>
2779 Reviewed by mjs & xenon.
2781 * Scripts/update-webkit: support Internal updates as well
2783 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2785 Temporarily rolling out plugin support from DumpRenderTree because it
2786 caused lots of layout test regressions.
2788 * DumpRenderTree/DumpRenderTree.m:
2789 (main): Remove invisible window added to support plugins.
2791 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2795 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2796 Add plugin support to DumpRenderTree
2798 Also wrote first test plugin.
2800 * DumpRenderTree/DumpRenderTree.m:
2802 (1) Put the WebView in an invisible window, because PlugIns are
2803 optimized not to load if there's no parent window.
2804 (2) Tell WebKit to load any PlugIns in the directory from which we
2805 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2806 and they'll load automagically during layout testing, but they won't be
2807 added to the user's system, hosing apps like Safari.
2809 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2810 test PlugIn to project.
2812 PlugIn added to project:
2814 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2815 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2817 (initializeIdentifiers):
2818 (pluginHasProperty):
2820 (pluginGetProperty):
2821 (pluginSetProperty):
2823 (pluginInvokeDefault):
2827 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2828 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2830 (NP_GetEntryPoints):
2836 (NPP_DestroyStream):
2846 2006-01-04 Timothy Hatcher <timothy@apple.com>
2850 Tweaked and tested by me.
2852 New scripts to work with Subversion when the switch happens.
2853 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2855 * Scripts/svn-apply: Added.
2856 * Scripts/svn-create-patch: Added.
2857 * Scripts/svn-unapply: Added.
2859 2005-12-30 Eric Seidel <eseidel@apple.com>
2863 Move WebView width/height logic into DumpRenderTree to support
2864 running the W3C SVG 1.1 tests along side other tests. The W3C
2865 SVG 1.1 tests require a 480x360 view.
2867 * DumpRenderTree/DumpRenderTree.m:
2868 (main): don't accept width/height
2869 (dump): override width/height for SVG/W3C
2870 * Scripts/run-webkit-tests: don't pass width/height
2872 2005-12-30 Eric Seidel <eseidel@apple.com>
2874 No review, only removing dead code.
2876 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2877 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2879 2005-12-30 Eric Seidel <eseidel@apple.com>
2883 DumpRenderTree should set a consistent color profile while running
2884 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2886 Creates consistent colormatched renderings on every test machine
2887 using the only way possible with Tiger APIs: by setting the
2888 system color profile on the test machine for the duration of the
2889 tests. This will (unfortunately) cause colors to change while
2890 running DumpRenderTree. This can also cause "permanent" color
2891 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2892 This is far from ideal, but it's be best way we've found to deal
2893 with the issue for now.
2895 * DumpRenderTree/DumpRenderTree.m:
2896 (restoreColorSpace):
2897 (setDefaultColorProfileToRGB):
2900 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2902 Reviewed by Darin Adler.
2904 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2905 cvs-create-patch --include produces incorrect paths
2907 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2909 2005-12-19 Eric Seidel <eseidel@apple.com>
2913 * Scripts/run-webkit-tests: stop /etc/catalog warnings
2915 2005-12-19 Darin Adler <darin@apple.com>
2917 Reviewed by Eric Seidel.
2919 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2920 WebKit needs to use a local pasteboard during testing
2922 * DumpRenderTree/DumpRenderTree.m:
2923 (main): Call poseAs to substitute our NSPasteboard class for the default one.
2924 Create a local pasteboard (really a global one with a unique name) and release
2925 it when exiting from the function so we don't leave it in the pasteboard server.
2926 (dumpRenderTree): Added an autorelease pool around one small bit of code that
2927 ddn't have one. Fixed a leak in an unlikely error case.
2928 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2929 of this method to return our local pasteboard.
2931 2005-12-15 Eric Seidel <eseidel@apple.com>
2933 Reviewed by Tim Hatcher.
2935 * Scripts/build-webkit: --svg is now default!
2937 2005-12-15 Eric Seidel <eseidel@apple.com>
2941 Don't run svg test automatically if +SVG is built (yet).
2943 * Scripts/run-webkit-tests:
2945 2005-12-15 Darin Adler <darin@apple.com>
2947 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2948 support is not compiled in. Report the 10 slowest tests if "--slowest" is
2949 passed on the command line.
2951 2005-12-06 John Sullivan <sullivan@apple.com>
2953 Reviewed by Darin Adler.
2955 * Scripts/prepare-ChangeLog:
2956 Remove special-case handling for nib files. This avoided trouble with cvs diff
2957 when we were using wrappers for nib files. Now that we aren't using wrappers,
2958 there's no reason to avoid adding the modified nib files to the file list that
2961 2005-12-05 Eric Seidel <eseidel@apple.com>
2965 Script updates for SVG files move (remove references to SVGSupport)
2967 * Scripts/build-webkit: remove SVGSupport
2968 * Scripts/run-webkit-tests: Resources -> resources for --svg
2969 * Scripts/update-webkit: remove SVGSupport
2971 2005-12-05 Eric Seidel <eseidel@apple.com>
2975 * checkout: remove --svg support, SVG is now checked out by default
2977 2005-11-29 Eric Seidel <eseidel@apple.com>
2981 Update scripts to run SVG tests automatically (w/o --svg) if
2982 WebCore is built with SVG support.
2984 * Scripts/build-drawtest: SVG support required
2985 * Scripts/build-dumpkcanvastree: Removed.
2986 * Scripts/run-drawtest: SVG support required to run
2987 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2988 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2990 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
2992 Reviewed by Darin. Committed by Maciej.
2994 - fixed "DumpRenderTree should test for Ahem before doing anything else"
2995 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2997 * DumpRenderTree/DumpRenderTree.m:
3000 2005-11-28 Eric Seidel <eseidel@apple.com>
3002 Reviewed by sullivan and GGAREN.
3004 Minor additions to make error messages more clear from cvs-apply.
3006 * Scripts/cvs-apply: make errors more clear
3008 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3010 Reviewed and committed by Maciej.
3012 - fixed cvs-create-patch --include produces incorrect paths
3013 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3015 * Scripts/cvs-create-patch: produce proper paths for new files.
3017 2005-11-21 Eric Seidel <eseidel@apple.com>
3021 Some simple fixes to the build/test scripts now that SVG uses the
3022 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3023 or symlinks for KDOM.
3025 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3026 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3027 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3028 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3029 * checkout: no longer symlink kdom
3031 2005-11-10 Eric Seidel <eseidel@apple.com>
3035 * Scripts/build-webkit: Pass through options to xcodebuild
3037 2005-11-07 Darin Adler <darin@apple.com>
3039 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3041 2005-11-03 John Sullivan <sullivan@apple.com>
3045 * Scripts/run-safari:
3046 changed message to say "Starting Safari" instead of odd "Start Safari"
3047 * Scripts/run-webkit-tests:
3048 changed the way we pass the file parameter to use -NSOpen rather than relying on
3049 unlabeled arguments being treated as files. This was failing on some machines that
3050 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3052 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3054 Patch by Alexey Proskuryakov.
3058 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3059 TextInputController should support attributed strings
3061 * DumpRenderTree/TextInputController.m:
3062 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3063 (+[NSMutableAttributedString webScriptNameForSelector:]):
3064 (-[NSMutableAttributedString getLength]):
3065 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3066 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3067 (-[NSMutableAttributedString addAttribute:value:]):
3068 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3069 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3070 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3071 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3072 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3073 (+[TextInputController isSelectorExcludedFromWebScript:]):
3074 (+[TextInputController webScriptNameForSelector:]):
3075 (-[TextInputController insertText:]):
3076 (-[TextInputController attributedSubstringFrom:length:]):
3077 (-[TextInputController attributedStringWithString:]):
3079 2005-10-11 Eric Seidel <eseidel@apple.com>
3083 Checks for leaks in ImageDiff too.
3085 * Scripts/run-webkit-tests:
3087 2005-10-09 Darin Adler <darin@apple.com>
3089 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3090 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3091 * Scripts/cvs-unapply: Ditto.
3092 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3094 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3096 Reviewed, rearranged and landed by Darin.
3098 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3099 Need a way to automatically test for regressions in NSTextInput implementation
3101 * DumpRenderTree/DumpRenderTree.m:
3102 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3103 Create a text input controller and put it in a property of the window object.
3105 * DumpRenderTree/TextInputController.h: Added.
3106 * DumpRenderTree/TextInputController.m: Added.
3107 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3109 2005-10-06 Darin Adler <darin@apple.com>
3111 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3112 are controlled by cvs, or when changes cross multiple repositories.
3113 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3115 2005-10-03 Eric Seidel <eseidel@apple.com>
3119 Make mouseDown and mouseUp force layout before acting.
3120 This is used by a new test case for 4233558.
3122 * DumpRenderTree/DumpRenderTree.m:
3123 (-[EventSendingController mouseDown]): force layout
3124 (-[EventSendingController mouseUp]): force layout
3126 2005-09-30 Eric Seidel <eseidel@apple.com>
3130 Updated all the scripts for the move:
3131 WebCore/layout-tests -> LayoutTests
3133 * Scripts/check-dom-results:
3134 * Scripts/prepare-ChangeLog:
3135 * Scripts/run-webkit-tests:
3136 * Scripts/update-webkit: added --no-tests
3137 * checkout: added --no-tests
3139 2005-09-28 Darin Adler <darin@apple.com>
3141 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3142 pixel test should run even if render trees differ
3144 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3146 2005-09-27 Eric Seidel <eseidel@apple.com>
3148 No review needed, SVG build fix only.
3150 * DumpKCanvasTree/DumpKCanvasTree.m:
3151 Missed one in my previous checkin.
3152 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3154 2005-09-26 Eric Seidel <eseidel@apple.com>
3156 No review needed, SVG build fix only.
3158 * DrawTest/DrawTestDocument.m:
3159 * DrawTest/DrawTestToolbarController.m:
3160 * DrawTest/DrawTestView.h:
3161 * DrawTest/DrawTestView.m:
3162 * DrawTest/SVGTest.m:
3163 * DrawTest/TestController.m:
3164 Updated for WebCore+SVG -> WebCore rename.
3165 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3167 2005-09-26 Eric Seidel <eseidel@apple.com>
3171 * DumpRenderTree/DumpRenderTree.m:
3172 (dump): updated error message
3173 * Scripts/check-dom-results: now includes xhtml
3174 Tool updates for xhtml.
3175 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3177 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3182 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3183 "Would like to simulate human interaction with webview"
3185 * DumpRenderTree/DumpRenderTree.m:
3186 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3187 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3188 (+[EventSendingController webScriptNameForSelector:]):
3189 (-[EventSendingController init]):
3190 (-[EventSendingController mouseDown]):
3191 (-[EventSendingController mouseUp]):
3192 (-[EventSendingController mouseMoveToX:Y:]):
3193 Add eventSender javascript object, that sends fake mouse events to the webview.
3195 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3196 link with Carbon.framework
3198 2005-09-22 Eric Seidel <eseidel@apple.com>
3202 Update tools for WebCore+SVG -> WebCore rename.
3203 Also fold several SVG specific tools into their original
3204 WebCore counterparts.
3205 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3207 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3208 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3209 * Scripts/build-drawtest:
3210 * Scripts/build-dumpkcanvastree:
3211 * Scripts/build-webcore-svg: Removed.
3212 * Scripts/build-webkit: added --svg option
3213 * Scripts/run-drawtest:
3214 * Scripts/run-webkit-tests:
3215 * Scripts/webkitdirs.pm: various additions.
3216 * checkout: added --svg option
3217 * checkout-svg: Removed.
3219 2005-09-19 Eric Seidel <eseidel@apple.com>
3223 * Scripts/run-webkit-tests: added --guard-malloc option
3224 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3226 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3230 Removed a script that is only used by apple internal developers
3232 * Scripts/update-webkitsysteminterface: Removed.
3234 2005-09-16 Adele Peterson <adele@apple.com>
3238 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3240 2005-09-14 Darin Adler <darin@apple.com>
3242 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3243 dumpAsText doesn't work with XHTML documents
3245 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3246 rather than of the body element. This works with typical XHTML documents. We can probably
3247 do something even better in the long run, but this fixes the immediate issue.
3251 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3252 run-safari instead of just using "open", which often runs another copy of Safari instead.
3254 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3256 Reviewed, tweaked, and landed by Darin.
3258 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3259 .Mac prefpane crashes when Safari using CVS WebKit is running
3261 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3262 * Scripts/run-webkit-app: Ditto.
3264 2005-09-11 Darin Adler <darin@apple.com>
3266 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3268 2005-09-11 Darin Adler <darin@apple.com>
3272 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3273 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3274 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3277 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3281 * Scripts/update-webkitsysteminterface: Added.
3282 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3284 2005-09-01 John Sullivan <sullivan@apple.com>
3286 * Scripts/run-webkit-tests:
3287 Excluded a known system leak to reduce noise; added comments about which leaks
3290 2005-09-01 Tim Omernick <tomernick@apple.com>
3292 Change made by Darin, reviewed by John and myself.
3294 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3296 * Scripts/prepare-ChangeLog:
3298 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3302 - set color variant and font settings to a consistent value.
3303 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3305 * DumpRenderTree/DumpRenderTree.m:
3308 2005-08-30 Eric Seidel <eseidel@apple.com>
3312 * Scripts/build-svg2png: Removed.
3313 * svg2png/ImageDiff.h: Removed.
3314 * svg2png/ImageDiff.m: Removed.
3315 * svg2png/svg2png.m: Removed.
3316 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3317 * svg2png/svg2png_Prefix.pch: Removed.
3318 svg2png is no longer needed.
3320 2005-08-30 Darin Adler <darin@apple.com>
3322 * Scripts/check-dom-results: Special case 100% to say something nice.
3323 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3324 applying the patch (need a better name).
3325 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3327 2005-08-30 Darin Adler <darin@apple.com>
3329 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3331 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3335 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3336 (some pixel tests fail when AA settings are changed)
3338 * DumpRenderTree/DumpRenderTree.m:
3339 (main): set AA settings to the default values
3341 2005-08-29 Darin Adler <darin@apple.com>
3343 Reviewed by John Sullivan.
3345 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3346 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3349 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3353 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3354 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3356 * DumpRenderTree/DumpRenderTree.m:
3357 (main): set scrollbar arrow setting to a consistent value
3359 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3361 Reviewed and landed by Darin.
3363 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3364 output of update-webkit is too verbose
3366 * Scripts/update-webkit:
3367 Added option --quiet (-q) to decrease the amount of output.
3369 2005-08-27 Darin Adler <darin@apple.com>
3371 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3372 cvs-create-patch --include-unknowns should ignore hidden files
3374 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3376 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3378 Reviewed, tweaked, and landed by Darin.
3380 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3381 update-webkit doesn't notice when you have SVGSupport and update properly
3383 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3385 2005-08-25 Anders Carlsson <andersca@mac.com>
3387 Reviewed and landed by Darin.
3389 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3390 layout test machinery can't handle tests with applets that have code attributes
3392 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3394 2005-08-24 Darin Adler <darin@apple.com>
3398 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3399 DumpRenderTree --pixel-tests crash
3400 - landed some other small changes I had sitting in my tree
3402 * DumpRenderTree/DumpRenderTree.m:
3403 (main): Don't bother saving and restoring the preferences. Not sure
3404 why this was ever done since the preferences are specific to DumpRenderTree.
3405 Clear delegates before releasing the WebView, because you can't count on the
3406 order of object deallocation.
3407 (dumpRenderTree): Fix code that releases a string before storing it in a
3410 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3411 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3413 2005-08-23 Eric Seidel <eseidel@apple.com>
3417 * Scripts/run-webkit-tests:
3418 Made --leaks option more readable by printing to a file.
3419 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3421 2005-08-22 Eric Seidel <eseidel@apple.com>
3422 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3426 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3427 when they are not needed (for pixel-only failures)
3428 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3430 2005-08-22 Eric Seidel <eseidel@apple.com>
3434 * Scripts/run-webkit-tests: Added the ability to display more than
3435 just two images as part of the image-diff "slideshow".
3436 Added display of "-w3c.png" baseline images for SVG.
3437 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3439 2005-08-20 Eric Seidel <eseidel@apple.com>
3441 * Scripts/run-webkit-tests:
3442 "build" fix after committing incorrect version.
3444 2005-08-20 Eric Seidel <eseidel@apple.com>
3448 * DumpRenderTree/DumpRenderTree.m:
3449 (main): cleans up delegates
3450 (dumpRenderTree): closes CFString/CFURL leak
3451 * Scripts/run-webkit-tests:
3452 Adds --leaks option to run-webkit-tests
3453 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3455 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3459 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3460 new files to be included in the patch even without "cvs add".
3462 2005-08-19 Darin Adler <darin@apple.com>
3464 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3465 non-cvs-generated patches. Anders has been creating these, so it's bad that
3466 the script can't handle them.
3467 * Scripts/cvs-unapply: Ditto.
3469 2005-08-18 Darin Adler <darin@apple.com>
3471 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3472 "." in them -- based on complaint by someone here at Apple.
3474 2005-08-18 Eric Seidel <eseidel@apple.com>
3478 * Scripts/run-webkit-tests:
3479 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3481 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3483 - add file that I forgot in the last checkin
3485 * DumpRenderTree/ImageDiff.m: Added.
3487 (getImageFromStdin):
3489 (getDifferenceBitmap):
3490 (computePercentageDifferent):
3492 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3494 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3495 somewhat by me, and also tweaked by me a little bit.
3497 - better support for pixel-dumping
3498 - use checksums of the images so the tests are fast
3499 - change output format to make the tests run faster
3500 - don't dump pixel results for tests that dump as text
3502 * DumpKCanvasTree/DumpKCanvasTree.m:
3505 (md5HashStringForBitmap):
3507 (constrainSizeToMaximum):
3508 (getBitmapImageRepForSVGDocument):
3509 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3510 * DumpRenderTree/DumpRenderTree.m:
3514 (md5HashStringForBitmap):
3515 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3516 * Scripts/run-webkit-tests:
3518 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3522 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3524 * DumpRenderTree/DumpRenderTree.m:
3527 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3529 Reviewed and landed by Darin.
3531 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3532 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3534 * Scripts/run-safari: Pass arguments through to Safari on command line.
3535 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3537 2005-08-11 Eric Seidel <eseidel@apple.com>
3538 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3540 Reviewed by eseidel.
3542 * DrawTest/TestController.m:
3543 (-[TestController imagePathForSVGPath:]):
3544 Fixed support for using TextViewer with the layout-tests.
3545 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3547 2005-08-11 Maciej Stachowiak <mjs@apple.com>
3549 At Least Roughly Glanced At by Anders.
3551 - fix change with totally breaks the layout tests.
3553 * DumpRenderTree/DumpRenderTree.m:
3554 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3555 load, to avoid dumping twice accidentally.
3557 2005-08-10 Eric Seidel <eseidel@apple.com>
3558 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3562 * DumpRenderTree/DumpRenderTree.m:
3563 Added support for rendering to a PNG file.
3564 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3566 2005-08-07 Eric Seidel <eseidel@apple.com>
3570 * Scripts/run-webkit-tests: added --svg option
3571 * Scripts/run-webkit-tests-svg: Removed.
3572 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
3574 2005-08-07 Eric Seidel <eseidel@apple.com>
3575 Changes by Ben La Monica <ben.lamonica@gmail.com>
3579 * svg2png/ImageDiff.h: Added.
3580 * svg2png/ImageDiff.m: Added.
3581 (getDifferenceBitmap):
3582 (computePercentageDifferent):
3583 (saveAnimatedGIFToFile):
3584 * svg2png/svg2png.m:
3585 (usage): added several new options
3586 (getBitmapForSVG): added NSBitmapImageRep generation
3587 (main): various argument changes.
3588 * svg2png/svg2png.xcodeproj/project.pbxproj:
3589 Several additions to provide image differencing functionality.
3590 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3592 2005-08-07 Eric Seidel <eseidel@apple.com>
3596 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3597 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3598 Adding the first SVG layout tests:
3599 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3601 2005-08-07 Darin Adler <darin@apple.com>
3603 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3605 2005-08-06 Eric Seidel <eseidel@apple.com>
3609 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3610 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3611 * Scripts/build-dumpkcanvastree: Added.
3612 * Scripts/run-webkit-tests-svg: Added.
3613 Adds a DumpRenderTree-like tool for SVG which allows us to do
3614 text-based layout regression testing. This (like most of the
3615 SVG specific stuff) is temporary and will be replaced by
3616 DumpRenderTree once the DOMs and RenderTrees merge.
3617 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3619 2005-08-06 Eric Seidel <eseidel@apple.com>
3623 * DrawTest/DrawTestView.m:
3624 (-[DrawTestView toggleFilterSupport:]): missing negation.
3625 One half of fix for toggling filter support.
3626 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3628 2005-08-04 Eric Seidel <eseidel@apple.com>