1 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
5 Lets Drosera build universal for the nightlies. Right now it is not
6 possible to build a universal binary on a PPC machine because of a
7 conflict with the universal SDK.
9 * BuildSlaveSupport/build-launcher-app:
10 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
12 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
16 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
17 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
19 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
20 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
21 should open a new stream and deliver the data to the current instance.
23 2006-07-11 Timothy Hatcher <timothy@apple.com>
27 Bug 9598: [Drosera] add a JavaScript evaluator console
28 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
30 * Drosera/DebuggerApplication.h:
31 * Drosera/DebuggerApplication.m:
32 (-[DebuggerApplication knownServers]):
33 * Drosera/DebuggerDocument.h:
34 * Drosera/DebuggerDocument.m:
35 (-[WebScriptObject evaluateScript:inCallFrame:]):
36 (-[WebScriptObject showConsole:]):
37 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
38 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
39 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
40 (-[WebScriptObject webView:createWebViewWithRequest:]):
41 (-[WebScriptObject webViewShow:]):
42 (-[WebScriptObject webViewAreToolbarsVisible:]):
43 (-[WebScriptObject webView:setToolbarsVisible:]):
44 (-[WebScriptObject webView:setResizable:]):
45 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
46 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
47 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
48 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
49 (-[WebScriptObject webView:didFinishLoadForFrame:]):
50 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
51 * Drosera/Drosera.xcodeproj/project.pbxproj:
52 * Drosera/Images/console.png: Added.
53 * Drosera/console.css: Added.
54 * Drosera/console.html: Added.
55 * Drosera/console.js: Added.
57 2006-07-11 Timothy Hatcher <timothy@apple.com>
59 Reviewed by a tired Geoff.
61 Bug 9597: [Drosera] hook up the variables table to show stack variables
62 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
64 * Drosera/DebuggerDocument.m:
65 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
66 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
67 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
68 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
69 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
70 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
71 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
72 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
73 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
74 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
75 * Drosera/debugger.css:
76 * Drosera/debugger.html:
77 * Drosera/debugger.js:
79 2006-07-10 Tim Omernick <timo@apple.com>
81 Reviewed by Beth Dakin.
83 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
84 Add DOM access test to DumpRenderTree's Netscape plug-in
86 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
90 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
94 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
95 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
97 Now track three states: initializing, running, and closed. If we are launched and the previous
98 state was initializing then we likely just experienced a crash on launch.
100 * WebKitLauncher/WebKitNightlyEnabler.m:
101 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
102 (myApplicationWillTerminate): Update to use new states.
103 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
104 initializing as early as practical.
105 (symbol_lookup): Bring code up to speed with formatting guidelines.
106 (GDSymbolLookup): Ditto.
108 2006-07-10 Darin Adler <darin@apple.com>
110 - try to fix Windows build
112 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
113 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
115 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
117 Build fix. Reviewed by NOBODY.
119 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
120 devenv.com not available in VC++ Express installations
122 * Scripts/webkitdirs.pm: Backed out previous change.
124 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
128 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
129 svn-apply should set ChangeLog date correctly when applying patches
131 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
132 before applying the patch.
133 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
135 2006-07-09 Darin Adler <darin@apple.com>
137 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
139 2006-07-09 Darin Adler <darin@apple.com>
141 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
143 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
145 Reviewed by NOBODY (build fix).
147 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
148 devenv.com not available in VC++ Express installations
150 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
151 work again. Add VC++ Express check as the fallback.
153 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
155 Reviewed by Timothy Hatcher.
157 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
158 devenv.com not available in VC++ Express installations
160 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
162 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
166 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
167 Patch by coldwinter@katamail.com.
169 In the congratulations message, "capatibilies" should be "capabilities".
171 * Scripts/build-webkit:
173 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
175 Reviewed by Timothy Hatcher.
177 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
178 Teach run-webkit-tests how to ignore tests with performance improvements
180 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
181 feature, and minor clean up.
183 2006-07-08 Darin Adler <darin@apple.com>
185 Reviewed by Geoff (well, half of it at least).
187 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
188 storage leaks in Objective-C tests
190 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
191 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
192 Add a release to fix a storage leak.
194 2006-07-08 Darin Adler <darin@apple.com>
196 * Scripts/do-webcore-rename: A few more.
198 2006-07-08 Darin Adler <darin@apple.com>
200 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
202 2006-07-04 Maciej Stachowiak <mjs@apple.com>
206 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
207 - add support for dumping non-HTML as text - in this case use textContent
210 * DumpRenderTree/DumpRenderTree.m:
213 2006-07-02 Timothy Hatcher <timothy@apple.com>
217 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
218 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
220 Adds step over and step out. Along with a little code cleanup
221 that was minor enough to piggyback on this fix.
223 * Drosera/DebuggerDocument.h:
224 * Drosera/DebuggerDocument.m:
225 (-[DebuggerDocument stepOver:]):
226 (-[DebuggerDocument stepOut:]):
227 (-[DebuggerDocument windowDidLoad]):
228 (-[DebuggerDocument windowWillClose:]):
229 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
230 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
231 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
232 (-[DebuggerDocument validateUserInterfaceItem:]):
233 * Drosera/Drosera.xcodeproj/project.pbxproj:
234 * Drosera/debugger.html:
235 * Drosera/debugger.js:
236 * Drosera/viewer.css:
238 2006-07-02 Timothy Hatcher <timothy@apple.com>
242 Bug 9628: [Drosera] Split Views acting oddly
243 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
245 Only update the last X or Y coordinate if the new
246 size was not constrained. Also adds the resize cursor to
247 the body during the drag incase there is a constrained
248 over drag off of the resizer element.
250 * Drosera/debugger.js:
252 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
254 Reviewed by Alexy Proskuryakov.
256 Bug 9692: Warning about Safari extensions on every launch is obnoxious
257 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
259 * WebKitLauncher/WebKitNightlyEnabler.m:
260 (myApplicationWillTerminate): Note that we are exiting cleanly.
261 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
262 to exit cleanly on our last invocation. This doesn't play nicely with
263 multiple concurrent instances of WebKit.app so it can be disabled via
264 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
266 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
268 Reviewed by Alexy Proskuryakov.
270 Bug 9654: Refresh Loop when accessing feed URLs
271 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
273 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
275 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
277 Reviewed by Timothy Hatcher.
279 Bug 9689: Nightly builds should warn a user about potential problems when using
281 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
283 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
284 * WebKitLauncher/WebKitNightlyEnabler.m:
285 (myBundleDidLoad): Keep track of if any bundles that are loaded.
286 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
287 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
288 NSApplicationWillFinishLaunchingNotification notifications so that we can
289 track bundle loads and notify the user at launch completion.
291 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
295 - first check-in of a Gdk shell for testing WebKit
297 * GdkLauncher: Added.
299 2006-06-29 Timothy Hatcher <timothy@apple.com>
303 Need to call window close so WebView tears-down completly.
305 * DumpRenderTree/DumpRenderTree.m:
306 (main): call [window close]
308 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
312 Bug 9615: Buildbot configuration should be in SVN repository
313 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
315 Import BuildBot configuration files as used by build.webkit.org.
316 auth.py has been stubbed out so that slave passwords are not disclosed.
318 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
319 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
320 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
321 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
322 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
323 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
324 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
325 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
326 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
327 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
328 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
329 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
331 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
335 Bug 9614: Nightly builds should notify user if a newer build is available
336 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
338 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
339 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
340 script so it can keep track of the latest revision.
341 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
342 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
343 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
344 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
345 the nightly start page.
347 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
351 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
352 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
354 Report screenY values as (height of zero screen - screenY)
356 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
358 2006-06-25 Timothy Hatcher <timothy@apple.com>
362 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
363 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
365 Makes breakpoints dragable. If dragged off the gutter they are deleted.
367 * Drosera/debugger.js:
368 * Drosera/viewer.css:
370 2006-06-25 Timothy Hatcher <timothy@apple.com>
374 Bug 9568: assertion failure in Safari after quitting Drosera
375 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
377 Call switchToServerNamed:nil and not removeLister to make sure
378 the server object is set to nil to prevent further removeListener calls.
380 * Drosera/DebuggerDocument.m:
381 (-[DebuggerDocument applicationTerminating:]):
383 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
387 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
388 that the directory is not empty instead of reading in every single file and directory first,
389 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
392 2006-06-25 Darin Adler <darin@apple.com>
394 * Scripts/svn-apply: Tweak comments.
395 * Scripts/svn-create-patch: Ditto.
396 * Scripts/svn-unapply: Ditto.
398 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
400 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
402 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
404 * Scripts/svn-apply: Formatting fix.
406 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
410 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
411 Teach svn-apply and svn-unapply to handle directory adds and removes better
413 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
414 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
416 2006-06-25 Timothy Hatcher <timothy@apple.com>
420 Bug 9574: Drosera should show inline scripts within the original HTML
421 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
423 Refactor the JavaScript code to have a distinction between files
424 and scripts. Show the script in the context of the HTML file if
425 it's URL is the same as the frame's main resource. At the time of
426 the disParseScript callback the main resource might not be completely
427 loaded, but Drosera needs to show whatever we have at the time. Once
428 the main resource is finished, update the file source and reload the file.
430 * Drosera/DebuggerDocument.m:
431 (-[DebuggerDocument pause]):
432 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
433 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
434 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
435 * Drosera/debugger.css:
436 * Drosera/debugger.js:
438 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
442 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
443 Teach prepare-ChangeLog to operate on a list of files or directories
445 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
446 * Scripts/svn-create-patch: Code refactoring.
448 2006-06-24 James G. Speth <speth@end.com>
452 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
453 add a way to build Objective-C test cases in HTML
455 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
456 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
457 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
460 * DumpRenderTree/ObjCPlugin.h:
461 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
462 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
463 (+[ObjCPlugin webScriptNameForSelector:]):
464 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
465 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
466 (+[NSObject allowsScriptsFullAccess]):
467 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
468 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
469 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
470 (+[JSObjC webScriptNameForSelector:]):
471 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
472 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
473 (-[JSObjC log:]): access to NSLog function
474 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
475 (-[JSObjC classOfObject:]):
476 (-[JSObjC classNameOfObject:]):
478 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
482 * DrawTest/Info.plist: Added copyright statement.
483 * Drosera/Info.plist: Ditto.
484 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
485 * WebKitLauncher/Info.plist: Ditto.
487 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
489 Build fix. Reviewed by NOBODY.
491 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
492 devenv.com not available in VC++ Express installations
494 * Scripts/webkitdirs.pm: Backed out previous change.
496 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
500 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
501 devenv.com not available in VC++ Express installations
503 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
505 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
509 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
510 A bunch of fixes to run-webkit-httpd
512 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
513 127.0.0.1. Useful for testing with WinIE running on another machine;
514 - don't call checkFrameworks() - we do not need a built WebKit here;
515 - changed tabs to spaces;
516 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
517 interactive mode, they were a hassle when testing with several browsers, as one
518 had to wait for connection to expire);
519 - remove httpd.pid when done, so that Apache doesn't complain next time.
521 * Scripts/run-webkit-httpd:
523 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
525 Reviewed by ggaren, landed by ap.
527 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
528 Complete DOMUIEvent Obj-C API to reflect UIEvent
530 Add function to enable logging of all events of one DOM node to stdout.
532 * DumpRenderTree/EventSendingController.h:
533 * DumpRenderTree/EventSendingController.m:
534 (+[EventSendingController initialize]):
535 (+[EventSendingController isSelectorExcludedFromWebScript:]):
536 (+[EventSendingController webScriptNameForSelector:]):
537 (-[EventSendingController enableDOMUIEventLogging:]):
538 (-[EventSendingController handleEvent:]):
540 2006-06-23 Kevin Decker <kdecker@apple.com>
542 Reviewed by Tim Hatcher.
544 - Made column headers in Drosera resizable.
546 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
550 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
551 Another case error preventing build
553 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
555 2006-06-22 Timothy Hatcher <timothy@apple.com>
559 Adds a native toolbar to Drosera to be a good citizen.
560 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
561 Fixes a dragging bug from an earlier fix to the divider code.
562 Fixes some poor indenting in debugger.js.
564 * Drosera/DebuggerDocument.h:
565 * Drosera/DebuggerDocument.m:
566 (-[DebuggerDocument stepInto]):
567 (-[DebuggerDocument pause:]):
568 (-[DebuggerDocument resume:]):
569 (-[DebuggerDocument stepInto:]):
570 (-[DebuggerDocument windowDidLoad]):
571 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
572 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
573 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
574 (-[DebuggerDocument validateUserInterfaceItem:]):
575 * Drosera/English.lproj/MainMenu.nib/classes.nib:
576 * Drosera/English.lproj/MainMenu.nib/info.nib:
577 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
578 * Drosera/debugger.css:
579 * Drosera/debugger.html:
580 * Drosera/debugger.js:
581 * Drosera/viewer.html:
583 2006-06-22 Kevin Decker <kdecker@apple.com>
587 - Added pressed column header image.
588 - Made column headers behave more like Xcode.
590 2006-06-22 Timothy Hatcher <timothy@apple.com>
592 Reviewed by Kevin Decker.
594 Code clean up. Adds the stackframe and makes only the body
595 of the tables scrollable keeping the header visible.
596 Shows the current function stack when paused or stepping.
598 * Drosera/DebuggerApplication.m:
599 (-[DebuggerApplication awakeFromNib]):
600 (-[DebuggerApplication numberOfRowsInTableView:]):
601 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
602 * Drosera/DebuggerDocument.h:
603 * Drosera/DebuggerDocument.m:
604 (-[DebuggerDocument dealloc]):
605 (-[DebuggerDocument currentFrame]):
606 (-[DebuggerDocument currentFrameFunctionName]):
607 (-[DebuggerDocument currentFunctionStack]):
608 (-[DebuggerDocument log:]):
609 (-[DebuggerDocument windowWillClose:]):
610 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
611 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
612 * Drosera/Drosera.xcodeproj/project.pbxproj:
613 * Drosera/debugger.css:
614 * Drosera/debugger.html:
615 * Drosera/debugger.js:
617 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
621 Teach run-webkit-httpd to properly look for webkitdirs.pm.
623 * Scripts/run-webkit-httpd:
625 2006-06-22 Kevin Decker <kdecker@apple.com>
627 Reviewed by Tim Hatcher.
629 - More progress toward Javascript Debugger.
630 - Added some new images to the project.
632 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
636 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
637 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
639 * Scripts/run-webkit-httpd: Added.
641 2006-06-20 Timothy Hatcher <timothy@apple.com>
645 Builds Drosera and a launcher to include with the nightly.
647 * BuildSlaveSupport/build-launcher-app:
648 * BuildSlaveSupport/build-launcher-dmg:
649 * Drosera/Drosera.xcodeproj/project.pbxproj:
650 * Drosera/Info.plist:
651 * Drosera/LauncherInfo.plist: Added.
652 * Drosera/launcher.m: Added.
653 (displayErrorAndQuit):
654 (checkMacOSXVersion):
657 * Scripts/build-drosera
658 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
659 * WebKitLauncher/main.m:
662 2006-06-20 Timothy Hatcher <timothy@apple.com>
666 Adds a JavaScript debugger, called Drosera. Named after
667 a genus of bug eating plants.
669 * Drosera/DebuggerApplication.h: Added.
670 * Drosera/DebuggerApplication.m: Added.
671 (-[DebuggerApplication applicationDidFinishLaunching:]):
672 (-[DebuggerApplication serverLoaded:]):
673 (-[DebuggerApplication serverUnloaded:]):
674 (-[DebuggerApplication awakeFromNib]):
675 (-[DebuggerApplication showAttachPanel:]):
676 (-[DebuggerApplication attach:]):
677 (-[DebuggerApplication numberOfRowsInTableView:]):
678 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
679 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
680 (-[DebuggerApplication tableViewSelectionDidChange:]):
681 * Drosera/DebuggerDocument.h: Added.
682 * Drosera/DebuggerDocument.m: Added.
683 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
684 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
685 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
686 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
687 (-[DebuggerDocument initWithServerName:]):
688 (-[DebuggerDocument windowWillClose:]):
689 (-[DebuggerDocument dealloc]):
690 (-[DebuggerDocument isPaused]):
691 (-[DebuggerDocument pause]):
692 (-[DebuggerDocument resume]):
693 (-[DebuggerDocument step]):
694 (-[DebuggerDocument windowNibName]):
695 (-[DebuggerDocument windowDidLoad]):
696 (-[DebuggerDocument switchToServerNamed:]):
697 (-[DebuggerDocument applicationTerminating:]):
698 (-[DebuggerDocument serverConnectionDidDie:]):
699 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
700 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
701 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
702 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
703 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
704 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
705 * Drosera/Drosera.pch: Added.
706 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
707 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
708 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
709 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
710 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
711 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
712 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
713 * Drosera/Images/breakPoint.tif: Added.
714 * Drosera/Images/breakPointDisabled.tif: Added.
715 * Drosera/Images/continue.tif: Added.
716 * Drosera/Images/finishFunction.tif: Added.
717 * Drosera/Images/glossyFooterFill.tif: Added.
718 * Drosera/Images/glossyHeader.png: Added.
719 * Drosera/Images/gradientBackground.png: Added.
720 * Drosera/Images/gutter.png: Added.
721 * Drosera/Images/navLeftDisabled.png: Added.
722 * Drosera/Images/navLeftNormal.png: Added.
723 * Drosera/Images/navLeftPressed.png: Added.
724 * Drosera/Images/navRightDisabled.png: Added.
725 * Drosera/Images/navRightNormal.png: Added.
726 * Drosera/Images/navRightPressed.png: Added.
727 * Drosera/Images/pause.tif: Added.
728 * Drosera/Images/popUpArrows.png: Added.
729 * Drosera/Images/programCounter.tif: Added.
730 * Drosera/Images/programCounterBreakPoint.tif: Added.
731 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
732 * Drosera/Images/run.tif: Added.
733 * Drosera/Images/splitterBar.tif: Added.
734 * Drosera/Images/splitterDimple.tif: Added.
735 * Drosera/Images/step.tif: Added.
736 * Drosera/Images/stepOver.tif: Added.
737 * Drosera/Images/stop.tif: Added.
738 * Drosera/Images/toolbarBackground.png: Added.
739 * Drosera/Info.plist: Added.
740 * Drosera/debugger.css: Added.
741 * Drosera/debugger.html: Added.
742 * Drosera/debugger.js: Added.
743 * Drosera/main.m: Added.
745 * Drosera/viewer.css: Added.
746 * Drosera/viewer.html: Added.
748 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
752 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
753 Teach svn-apply and svn-unapply to use full path names
755 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
756 * Scripts/svn-unapply: Ditto.
758 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
762 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
763 DumpRenderTree should be able to keep URL history during runs
765 Test: LayoutTests/fast/history/clicked-link-is-visited.html
767 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
768 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
769 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
770 it is currently nil since keepWebHistory() might be called more than once incidentally
772 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
773 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
775 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
779 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
780 Make prepare-ChangeLog faster
782 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
783 then save the diff output for reuse. Keep a status variable if changes are made to
784 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
785 WebCore is updated. Added -h|--help command-line switch and help message. Move test
786 for no changed files closer to the beginning of the program.
788 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
790 Reviewed and landed by ap.
792 - make DumpRenderTree build
794 * DumpRenderTree/DumpRenderTree.m:
795 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
796 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
797 (-[LayoutTestController setWindowIsKey:]): Ditto.
798 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
800 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
802 Reviewed by Darin, landed by Geoff.
804 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
805 Use pathcmp() when sorting paths in svn-create-patch
807 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
808 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
809 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
810 switch and printUsage() subroutine.
812 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
816 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
817 Teach svn-create-patch to sort its output
819 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
820 by text files first, then by binary files.
822 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
826 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
827 Teach svn-create-patch and friends to work with binary files
829 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
830 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
831 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
833 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
837 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
838 Performance improvement for svn-create-patch
840 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
842 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
846 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
847 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
849 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
850 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
852 2006-06-03 Steve Falkenburg <sfalken@apple.com>
856 Switch Spinneret to new hosting mechanism
858 * Spinneret/Spinneret.sln:
859 * Spinneret/Spinneret/Spinneret.cpp:
860 (SpinneretWebHost::updateAddressBar):
861 (SpinneretWebHost::QueryInterface):
862 (SpinneretWebHost::AddRef):
863 (SpinneretWebHost::Release):
870 * Spinneret/Spinneret/Spinneret.h:
871 (SpinneretWebHost::didStartProvisionalLoadForFrame):
872 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
873 (SpinneretWebHost::didFailProvisionalLoadWithError):
874 (SpinneretWebHost::didCommitLoadForFrame):
875 (SpinneretWebHost::didReceiveTitle):
876 (SpinneretWebHost::didReceiveIcon):
877 (SpinneretWebHost::didFinishLoadForFrame):
878 (SpinneretWebHost::didFailLoadWithError):
879 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
880 (SpinneretWebHost::willPerformClientRedirectToURL):
881 (SpinneretWebHost::didCancelClientRedirectForFrame):
882 (SpinneretWebHost::willCloseFrame):
883 (SpinneretWebHost::windowScriptObjectAvailable):
884 * Spinneret/Spinneret/Spinneret.vcproj:
886 2006-06-02 Steve Falkenburg <sfalken@apple.com>
892 * Scripts/build-webkit:
894 2006-06-01 Anders Carlsson <acarlsson@apple.com>
898 * DumpRenderTree/DumpRenderTree.m:
899 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
900 (-[LayoutTestController clearBackForwardList]):
901 Add clearBackForwardList function to layoutTestController
903 2006-06-01 Anders Carlsson <acarlsson@apple.com>
907 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
908 slow-utf8-text layout test case failing (no longer deterministic?)
910 * DumpRenderTree/DumpRenderTree.m:
912 Dump as text when the response MIME type is text/plain
914 2006-05-26 Steve Falkenburg <sfalken@apple.com>
918 * Spinneret/Spinneret.sln:
919 * Spinneret/Spinneret/Spinneret.vcproj:
921 2006-05-24 Geoffrey Garen <ggaren@apple.com>
925 Added 'GCController' to DRT to support garbage collection layout tests.
927 GCController.collect() and GCController.collectOnAlternateThread() do
928 what you would expect. The latter takes a boolean argument sepcifying
929 whether to wait for garbage collection to finish before continuing to
932 * DumpRenderTree/DumpRenderTree.m:
933 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
934 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
935 * DumpRenderTree/GCController.h: Added.
936 * DumpRenderTree/GCController.mm: Added.
937 (+[GCController isSelectorExcludedFromWebScript:]):
938 (+[GCController webScriptNameForSelector:]):
939 (-[GCController collect]):
940 (-[GCController collectOnAlternateThread:]):
942 2006-05-23 John Sullivan <sullivan@apple.com>
946 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
947 Newer Xcode removed some obsolete cruft
949 * DumpRenderTree/TextInputController.m:
950 (-[TextInputController textInput]):
951 added (id) cast to make newer compiler happy
953 2006-05-22 Steve Falkenburg <sfalken@apple.com>
959 * Spinneret/Spinneret.sln:
961 2006-05-18 Darin Adler <darin@apple.com>
963 - try to fix no-SVG, no-XPATH build, again
965 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
967 2006-05-18 Darin Adler <darin@apple.com>
969 - try to fix no-SVG, no-XPATH build
971 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
972 since the former is what's used in the WebCore project now.
974 2006-05-17 Darin Adler <darin@apple.com>
976 * Scripts/do-webcore-rename: Some more future renames.
978 2006-05-16 Adele Peterson <adele@apple.com>
982 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
983 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
985 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
987 * Scripts/install-unix-extras: Changed to be executable and removed
988 text in the file generated by "svn diff".
989 * Scripts/regenerate-makefiles: Ditto.
991 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
993 Reviewed by Darin, landed by ap.
995 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
996 Bakefiles (and generated Makefiles) for wx and gdk ports
998 * Scripts/install-unix-extras: Added.
999 * Scripts/regenerate-makefiles: Added.
1001 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1005 Fix registry usage from perl script. Turns out libwin32's
1006 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1008 * Scripts/install-win-extras:
1010 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1013 Add load ended callback.
1017 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1018 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1019 * Spinneret/Spinneret/Spinneret.cpp:
1020 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1021 (_tWinMain): Load built-in test content here instead of in lower-level code.
1022 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1024 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1028 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1030 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1034 * Scripts/check-dom-results:
1035 Add XPath to the list of results.
1037 2006-05-08 Darin Adler <darin@apple.com>
1039 * Scripts/do-webcore-rename: Add another rename.
1041 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1045 Spinneret now links against the new separate lib.
1047 * Spinneret/Spinneret.sln:
1048 * Spinneret/Spinneret/Spinneret.cpp:
1049 (SpinneretWebHost::updateLocationBar):
1051 * Spinneret/Spinneret/Spinneret.h:
1052 * Spinneret/Spinneret/Spinneret.vcproj:
1053 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1054 * Spinneret/Spinneret/WebFrame.h: Removed.
1055 * Spinneret/Spinneret/WebView.cpp: Removed.
1056 * Spinneret/Spinneret/WebView.h: Removed.
1058 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1062 Modify error reporting registry keys to disable Dr. Watson.
1063 This allows Javascript test cases to complete without blocking UI.
1065 * Scripts/install-win-extras:
1066 - Use Perl Win32 registry functions to disable blocking UI
1069 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1073 Turned off C++ exceptions, fixed memory leaks
1075 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1076 * Spinneret/Spinneret.sln:
1077 * Spinneret/Spinneret/Spinneret.cpp:
1079 * Spinneret/Spinneret/Spinneret.vcproj:
1080 * Spinneret/Spinneret/WebFrame.cpp:
1081 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1082 (WebKit::WebFrame::WebFrame):
1083 (WebKit::WebFrame::~WebFrame):
1084 (WebKit::WebFrame::impl):
1085 * Spinneret/Spinneret/WebFrame.h:
1086 * Spinneret/Spinneret/WebView.cpp:
1087 * Spinneret/Spinneret/stdafx.h:
1089 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1093 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1094 DumpRenderTree should reset the URL cache
1096 * DumpRenderTree/DumpRenderTree.m:
1097 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1099 2006-04-28 Eric Seidel <eseidel@apple.com>
1101 Reviewed by andersca.
1103 * Scripts/do-webcore-rename: rename KCanvasContainer too
1104 * Scripts/run-webkit-tests: output total time
1106 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1108 Reviewed by hyatt. Landed by eseidel.
1110 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1111 Enable detection of excessive repainting with DumpRenderTree
1113 * DumpRenderTree/DumpRenderTree.m:
1114 (-[LayoutTestController display]):
1116 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1120 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1121 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1123 * DumpRenderTree/DumpRenderTree.m:
1124 (dump): If display() has been called during the test, grab the pixels from
1125 the view, after letting it repaint invalidated rects.
1126 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1127 (-[LayoutTestController display]): Added. Calls -display on the view
1128 and changes the subsequent behavior of dump().
1131 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1135 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1136 Update iExploder to 1.3.2
1138 Test case numbers are not compatible with iExploder 1.2.
1140 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1142 * iExploder/CHANGELOG.txt: Added.
1143 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1144 * iExploder/README.txt: Added some performance hints.
1146 * iExploder/htdocs/config.rb: Added.
1147 * iExploder/htdocs/cssproperties.in:
1148 * iExploder/htdocs/cssvalues.in:
1149 * iExploder/htdocs/htmlattrs.in:
1150 * iExploder/htdocs/htmltags.in:
1151 * iExploder/htdocs/iexploder.cgi:
1152 - Updated to support the latest HTML & CSS tags, properties, and values from both
1153 the WebKit and Mozilla CVS tree
1154 - cssproperties.in cleanup
1155 - Modularized the code a little bit.
1156 - Fix subtest bug that was causing last 5 tags to be missed
1157 - new subtest algorithm to deal better with larger tag counts
1158 - default HTML_MAX_TAGS increased from 32 to 96
1160 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1161 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1162 alternative to our run-iexploder-tests.
1163 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1164 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1165 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1167 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1169 - commit Scripts/run-mangleme-tests (missed it the previous time).
1171 2006-04-18 Darin Adler <darin@apple.com>
1173 - attempt to fix Windows buildbot
1175 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1176 We need a better long-term solution for this.
1178 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1182 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1183 Integrate mangleme test script.
1185 Works in a similar way to run-iexploder-tests.
1187 * Scripts/run-mangleme-tests: Added.
1189 * mangleme/Makefile: Added.
1190 * mangleme/README: Added.
1191 * mangleme/mangle.cgi.c: Added.
1192 * mangleme/remangle.cgi.c: Added.
1193 * mangleme/tags.h: Added.
1195 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1199 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1200 An easier way to save iExploder tests.
1202 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1204 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1208 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1209 Integrate iExploder test script.
1211 This script generates artificially mangled HTML documents, to test that the browser
1212 doesn't crash when handling ill-formed code.
1215 run-iexploder-tests Open an interactive test page in Safari+ToT.
1216 run-iexploder-tests nnnnn Open test #nnnnn.
1218 Command line options:
1219 --guard-malloc (-g) Use Guard Malloc.
1220 --port=nnnn Run Apache on port nnnn (default is 8000).
1222 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1223 (thus, Apache is still running), e.g.:
1224 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1226 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1228 * Scripts/run-iexploder-tests: Added.
1230 * iExploder/LICENSE.txt: Added.
1231 * iExploder/README.txt: Added.
1232 * iExploder/htdocs: Added.
1233 * iExploder/htdocs/cssproperties.in: Added.
1234 * iExploder/htdocs/cssvalues.in: Added.
1235 * iExploder/htdocs/htmlattrs.in: Added.
1236 * iExploder/htdocs/htmltags.in: Added.
1237 * iExploder/htdocs/htmlvalues.in: Added.
1238 * iExploder/htdocs/iexploder.cgi: Added.
1239 * iExploder/htdocs/index.html: Added.
1240 * iExploder/tools: Added.
1241 * iExploder/tools/lasthit.rb: Added.
1242 * iExploder/tools/osx_last_crash.rb: Added.
1244 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1248 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1249 Restore color profile after a crash
1251 * DumpRenderTree/DumpRenderTree.m:
1252 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1253 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1254 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1255 and this code may change significantly.
1257 (main): Install crashHandler.
1259 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1260 (CFStringGetCStringPtr should NEVER EVER be used!).
1262 2006-04-15 Darin Adler <darin@apple.com>
1266 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1267 Seems xmlsoft.org's HTTP no longer has what we need.
1269 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1271 Rubber-stamped by Darin.
1273 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1274 upload-disk-image stage on buildslaves fail with "No space left on device"
1276 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1277 'hdiutil create'. This creates the initial disk image based on the size of
1278 the source folder, and copies the contents to the new disk image. The file
1279 extension on the temporary uncompressed disk image has also been altered from
1280 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1281 the extension is not ".dmg".
1283 2006-04-12 Eric Seidel <eseidel@apple.com>
1287 * Scripts/update-webkit: Make this return non-zero when svn fails.
1289 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1293 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1294 Make HTTP tests using Perl use .pl extension
1296 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1297 removed support for .text. Reduced the number of places that explicitly list supported
1298 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1301 2006-04-06 Darin Adler <darin@apple.com>
1303 Changes requested by Mark Rowe.
1305 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1306 trash at the end of the file.
1307 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1309 * WebKitLauncher/main.m: Removed trash at end of file.
1311 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1314 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1316 Reviewed by Darin, landed by Maciej.
1318 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1319 and bundles the WebKit frameworks inside it.
1320 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1321 containing WebKit.app.
1322 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1323 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1324 number of the SVN working copy.
1325 * WebKitLauncher: Added.
1326 * WebKitLauncher/Info.plist: Added.
1327 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1328 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1329 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1330 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1331 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1332 the nightly launcher.
1333 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1334 It sets up the environment to have Safari use the bundled frameworks
1335 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1336 * WebKitLauncher/start.html: Added.
1337 * WebKitLauncher/webkit.icns: Added.
1339 2006-04-05 Darin Adler <darin@apple.com>
1343 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1344 are allowed to have global initializers.
1346 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1348 Reviewed by OMG BETH
1350 * Scripts/run-testkjs:
1351 - pipe STDERR to /dev/null by default; new --verbose option overrides
1353 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1354 - output run command in a format that can be copied and pasted into the
1355 terminal to run manually
1357 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1359 Reviewed by harrison
1361 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1362 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1364 Tell the source that the drag is over after the drag is performed, not before.
1366 * DumpRenderTree/EventSendingController.m:
1367 (-[EventSendingController mouseUp]):
1369 2006-04-01 Darin Adler <darin@apple.com>
1373 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1374 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1375 elements in that array are not strings.
1377 2006-03-31 Darin Adler <darin@apple.com>
1379 Reviewed by John Sullivan.
1381 - added a "--reset-results" option to run-webkit-tests so you can reset
1382 the results without first deleting expected results
1383 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1385 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1386 more logical. Moved all the subroutines to the end of the file. Added a
1389 * DumpRenderTree/DumpRenderTree.m:
1390 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1391 to generate new output for all tests it runs.
1392 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1393 the --dump-all-pixels option is passed. Also tightened up the image dumping
1394 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1395 with code to save and restore the context.
1397 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1398 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1400 2006-03-30 Tim Omernick <timo@apple.com>
1402 Reviewed by NOBODY (just fixing copyrights)
1404 * DumpRenderTree/ObjCPlugin.h:
1406 * DumpRenderTree/ObjCPlugin.m: ditto
1407 * DumpRenderTree/ObjCPluginFunction.h: ditto
1408 * DumpRenderTree/ObjCPluginFunction.m: ditto
1410 2006-03-30 Tim Omernick <timo@apple.com>
1414 * DumpRenderTree/DumpRenderTree.m:
1415 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1416 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1417 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1418 exposed to JS as a callable object.
1420 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1421 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1423 * DumpRenderTree/ObjCPlugin.h: Added.
1424 * DumpRenderTree/ObjCPlugin.m: Added.
1425 * DumpRenderTree/ObjCPluginFunction.h: Added.
1426 * DumpRenderTree/ObjCPluginFunction.m: Added.
1428 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1429 Added a new method, "removeDefaultMethod", which removes the default method from the
1430 plugin object's class. The effect is that the plugin object is mutated from a callable
1431 function to a simple object.
1433 Handle "removeDefaultMethod".
1434 (pluginInvokeDefault):
1435 Made the default method actually do something (return 1).
1437 2006-03-30 Eric Seidel <eseidel@apple.com>
1441 Remove WebFrame::viewImpl(), setMainFrame on page.
1443 * Spinneret/Spinneret/WebFrame.cpp:
1444 (WebKit::WebFrame::WebFrame):
1445 * Spinneret/Spinneret/WebFrame.h:
1446 * Spinneret/Spinneret/WebView.cpp:
1447 (WebKit::WebView::mouseMoved):
1448 (WebKit::WebView::mouseDown):
1449 (WebKit::WebView::mouseUp):
1450 (WebKit::WebView::mouseDoubleClick):
1451 (WebKit::WebViewWndProc):
1453 2006-03-30 Eric Seidel <eseidel@apple.com>
1457 Fix html editing input & basic form submission.
1459 * Spinneret/Spinneret/WebFrame.cpp:
1460 (WebKit::WebFrame::submitForm):
1461 (WebKit::WebFrame::loadURL):
1462 * Spinneret/Spinneret/WebFrame.h:
1463 * Spinneret/Spinneret/WebView.cpp:
1464 (WebKit::WebView::keyPress):
1465 (WebKit::WebViewWndProc):
1467 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1471 <rdar://problem/4402375>
1472 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1474 Added an option to draw the selectionRect.
1476 * DumpRenderTree/DumpRenderTree.m:
1478 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1479 (-[LayoutTestController dumpSelectionRect]):
1482 2006-03-29 Darin Adler <darin@apple.com>
1484 Reviewed by Tim Hatcher.
1486 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1488 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1490 2006-03-28 Eric Seidel <eseidel@apple.com>
1494 * Scripts/check-for-global-initializers: remove svg exceptions.
1496 2006-03-28 Timothy Hatcher <timothy@apple.com>
1500 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1502 * Scripts/check-for-global-initializers:
1504 2006-03-28 Timothy Hatcher <timothy@apple.com>
1506 Build fix. Turn off uninitialized warnings for the first block of code.
1508 * Scripts/check-for-global-initializers:
1510 2006-03-28 Darin Adler <darin@apple.com>
1514 * Scripts/check-for-global-initializers: Added.
1516 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1518 Reviewed by darin. Landed by eseidel.
1520 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1521 Add repaint testing support to run-webkit-tests
1523 * DumpRenderTree/DumpRenderTree.m:
1524 (main): Added --repaint and --horizontal-sweep options.
1525 (dump): Repaint line-by-line or column-by-column when the appropriate option
1527 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1528 and repaintSweepHorizontally() methods to layoutTestController.
1529 (-[LayoutTestController testRepaint]):
1530 (-[LayoutTestController repaintSweepHorizontally]):
1532 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1533 to force these settings on tests that do not ask for them.
1535 2006-03-24 Eric Seidel <eseidel@apple.com>
1541 * Spinneret/Spinneret/WebFrame.cpp:
1542 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1544 2006-03-21 Beth Dakin <bdakin@apple.com>
1548 Add support for keyDown() to DumpRenderTree.
1550 * DumpRenderTree/DumpRenderTree.m:
1551 (main): Set the preference for tabbing to links.
1552 * DumpRenderTree/EventSendingController.m:
1553 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1554 (+[EventSendingController webScriptNameForSelector:]):
1555 (-[EventSendingController keyDown:withModifiers:]):
1557 2006-03-20 Eric Seidel <eseidel@apple.com>
1563 * Spinneret/Spinneret/Spinneret.vcproj:
1564 * Spinneret/Spinneret/WebFrame.h:
1565 * Spinneret/Spinneret/WebView.cpp:
1566 (WebKit::WebView::mouseMoved):
1567 (WebKit::WebView::mouseDown):
1568 (WebKit::WebView::mouseUp):
1569 (WebKit::WebView::mouseDoubleClick):
1570 (WebKit::WebView::keyPress):
1571 (WebKit::WebViewWndProc):
1573 2006-03-19 Darin Adler <darin@apple.com>
1577 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1578 we can test it in layout tests. We don't really need tests that run with
1579 pop-up blocking off at the moment. If we do some day, we can add some
1580 API for turning it off in the layout test controller.
1582 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1583 don't ignore the leak; it should no longer show up.
1585 2006-03-17 Anders Carlsson <andersca@mac.com>
1589 * Scripts/install-win-extras:
1590 Fetch "Program Files" location from the environment.
1592 2006-03-17 Eric Seidel <eseidel@apple.com>
1596 Fix Spinneret to pass Events as const & not as pointers.
1598 * Spinneret/Spinneret/WebView.cpp:
1599 (WebKit::WebView::mouseMoved):
1600 (WebKit::WebView::mouseDown):
1601 (WebKit::WebView::mouseUp):
1602 (WebKit::WebView::mouseDoubleClick):
1603 (WebKit::WebView::keyPress):
1605 2006-03-17 Eric Seidel <eseidel@apple.com>
1607 Reviewed by justing.
1609 Add support for basic HTML editing.
1611 * Spinneret/Spinneret/WebView.cpp:
1612 (WebKit::WebView::WebView):
1613 (WebKit::WebView::keyPress):
1615 2006-03-17 Eric Seidel <eseidel@apple.com>
1617 Rubber-stamped by ggaren.
1619 Break DumpRenderTree.m up into several files to make the code more readable.
1621 * DumpRenderTree/DumpRenderTree.h: Added.
1622 * DumpRenderTree/DumpRenderTree.m:
1623 (doneLoading): new accessor function for "done" global.
1624 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1625 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1626 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1627 * DumpRenderTree/EditingDelegate.h: Added.
1628 * DumpRenderTree/EditingDelegate.m: Added.
1629 (-[EditingDelegate webViewDidChangeSelection:]):
1630 * DumpRenderTree/EventSendingController.h: Added.
1631 * DumpRenderTree/EventSendingController.m: Added.
1633 2006-03-16 Eric Seidel <eseidel@apple.com>
1637 Add resize, scroll event support.
1639 * Spinneret/Spinneret/WebView.cpp:
1640 (WebKit::WebView::mouseMoved):
1641 (WebKit::WebView::mouseDown):
1642 (WebKit::WebView::mouseUp):
1643 (WebKit::WebView::mouseDoubleClick):
1644 (WebKit::WebView::keyPress):
1645 (WebKit::WebViewWndProc):
1646 * Spinneret/Spinneret/WebView.h:
1648 2006-03-16 Eric Seidel <eseidel@apple.com>
1652 Make build-webkit print correctly to stdout on windows.
1654 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1656 2006-03-15 Eric Seidel <eseidel@apple.com>
1660 Fix eventSender.mouseClick() to update lastClick timestamp.
1662 * DumpRenderTree/DumpRenderTree.m:
1663 (-[EventSendingController mouseClick]):
1665 2006-03-15 Darin Adler <darin@apple.com>
1669 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1670 that had a lowercase "i" in it so this builds on case-sensitive
1673 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1677 Added run-testkjs and compare-timing-files scripts, to support super
1680 * Scripts/compare-timing-files: Added.
1681 * Scripts/run-testkjs: Added.
1683 2006-03-14 Eric Seidel <eseidel@apple.com>
1687 Make the URL bar relinquish focus on page load.
1689 * Spinneret/Spinneret/Spinneret.cpp:
1692 2006-03-14 Eric Seidel <eseidel@apple.com>
1696 Fix WebView to allow KeyFocus.
1697 Add handling of space and shift-space for scrolling.
1699 * Spinneret/Spinneret/WebView.cpp:
1700 (WebKit::scrollMessageForKey):
1701 (WebKit::WebViewWndProc):
1703 2006-03-10 Eric Seidel <eseidel@apple.com>
1707 Add scrolling support into Spinneret.
1709 * Spinneret/Spinneret/WebFrame.cpp:
1710 (WebKit::WebFrame::paint):
1711 * Spinneret/Spinneret/WebView.cpp:
1712 (WebKit::WebView::createWebView):
1713 (WebKit::calculateScrollDelta):
1714 (WebKit::scrollMessageForKey):
1715 (WebKit::WebViewWndProc):
1717 2006-03-13 Eric Seidel <eseidel@apple.com>
1721 Fix checksum generation on Intel machines.
1722 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1723 give a small speed boost now that it uses a shared buffer.
1725 * DumpRenderTree/DumpRenderTree.m:
1728 (md5HashStringForBitmap):
1729 * DumpRenderTree/ImageDiff.m:
1730 (computePercentageDifferent):
1732 2006-03-13 Darin Adler <darin@apple.com>
1734 Reviewed by Tim Hatcher.
1736 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1737 have it named httpd-1.3 instead.
1739 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1741 Fix proposed by Mitz Pettel, reviewed by Darin.
1743 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1744 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1746 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1747 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1750 2006-03-09 Darin Adler <darin@apple.com>
1752 Reviewed by John Sullivan.
1754 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1755 memory leak in the plug-in tests
1757 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1758 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1759 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1761 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1762 Moved the browser global in here since it's declared in this file's header.
1763 Changed the code to set up the pluginClass structure to not use function
1764 pointer casts. Those are dangerous because they can hide many types of mismatch.
1765 And indeed when I did this I discovered that many functions were missing their
1766 boolean return values or had parameter declarations with the wrong types.
1767 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1768 clarity. Added boolean return value: return true when successful and false when not.
1769 (pluginSetProperty): Added boolean return value, return false since we have no
1770 properties we can set.
1771 (pluginInvoke): Added boolean return value. Return true when successful and false
1772 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1773 return value from calling the browser. Changed code to put the strings in malloc
1774 buffers instead of relying on GCC's extension that allows variable-sized arrays
1776 (pluginInvokeDefault): Added boolean return value, return false since we have no
1777 default function to call.
1778 (pluginInvalidate): Added missing parameter. Removed comment.
1779 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1780 to cast the result of malloc.
1781 (pluginDeallocate): Removed uneeded cast.
1783 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1784 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1785 that match NPObject's fields. Removed unused NPWindow pointer.
1787 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1789 Test: fast/events/event-sender-mouse-click.html
1793 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1794 DRT hangs when doing eventSender.mouseDown on native widgets
1796 * DumpRenderTree/DumpRenderTree.m:
1797 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1798 (-[EventSendingController mouseClick]): Simulates a click in a native
1799 widget by queueing a mouseUp before sending the mouseDown, so that
1800 the widget's mouse tracking event loop doesn't hang indefinitely.
1802 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1806 - make link clicks work by handling link click requests
1809 * Spinneret/Spinneret/Spinneret.cpp:
1810 (updateLocationBar):
1811 * Spinneret/Spinneret/Spinneret.h:
1812 * Spinneret/Spinneret/WebFrame.cpp:
1813 (WebKit::WebFrame::WebFrame):
1814 (WebKit::WebFrame::openURL):
1815 (WebKit::WebFrame::loadURL):
1816 * Spinneret/Spinneret/WebFrame.h:
1818 2006-03-08 Eric Seidel <eseidel@apple.com>
1822 Focus URL bar on Spinneret launch, remove border from WebView.
1823 Stop WebFrame from deleting the job (prevent crash).
1825 * Spinneret/Spinneret/Spinneret.cpp:
1827 * Spinneret/Spinneret/WebFrame.cpp:
1828 (WebKit::WebFrame::receivedAllData):
1829 (WebKit::WebFrame::paint):
1830 * Spinneret/Spinneret/WebView.cpp:
1831 (WebKit::WebView::createWebView):
1833 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1837 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1838 (pluginInvoke): Added a method to test getURL.
1840 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1844 - load URLs, not file paths, in Spinneret
1846 * Spinneret/Spinneret/Spinneret.cpp:
1848 * Spinneret/Spinneret/Spinneret.vcproj:
1849 * Spinneret/Spinneret/WebFrame.cpp:
1850 (WebKit::WebFrame::loadURL):
1851 (WebKit::WebFrame::receivedData):
1852 (WebKit::WebFrame::receivedAllData):
1853 * Spinneret/Spinneret/WebFrame.h:
1854 * Spinneret/Spinneret/WebView.cpp:
1855 (WebKit::WebView::WebView):
1857 2006-03-08 Darin Adler <darin@apple.com>
1861 - fixed AppleScript layout test results to not be endian-dependent
1862 (Hyatt complained to me about this one)
1864 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1865 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1866 (which are endian-dependent).
1868 2006-03-07 Darin Adler <darin@apple.com>
1872 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1873 unwanted output while running layout tests
1875 * DumpRenderTree/DumpRenderTree.m:
1876 (checkedMalloc): Added.
1877 (checkedRealloc): Added.
1878 (makeLargeMallocFailSilently): Added.
1879 (main): Call makeLargeMallocFailSilently.
1881 2006-03-06 Darin Adler <darin@apple.com>
1883 * Scripts/do-webcore-rename: Add some more planned renaming.
1885 2006-03-06 Eric Seidel <eseidel@apple.com>
1889 * Spinneret/Spinneret/WebFrame.cpp:
1890 (WebKit::WebFrame::paint): force layout before painting
1892 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1896 Sent the windowNumber when sending events.
1897 Added leapForward so that we don't have to spend time waiting
1898 in layout tests that do mouse operations that require delays.
1900 * DumpRenderTree/DumpRenderTree.m:
1901 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1902 (+[EventSendingController webScriptNameForSelector:]):
1903 (-[EventSendingController currentEventTime]):
1904 (-[EventSendingController leapForward:]):
1905 (-[EventSendingController mouseDown]):
1906 (-[EventSendingController mouseUp]):
1907 (-[EventSendingController mouseMoveToX:Y:]):
1909 2006-03-05 Darin Adler <darin@apple.com>
1911 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1912 Script now works (after landing my two pending patches).
1914 2006-03-05 Darin Adler <darin@apple.com>
1916 - check in a script to do a "big" rename in WebCore
1917 (can be run whenever we're ready to do it)
1919 * Scripts/do-webcore-rename: Added.
1921 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1925 * Spinneret/Spinneret/WebFrame.cpp:
1926 (WebKit::WebFrame::loadFilePath): Close file when done.
1928 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1930 Reviewed by Darin, landed by ap.
1932 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1933 Mouse moved events do not work in DumpRenderTree
1935 Test: fast/events/event-sender-mouse-moved.html
1937 * DumpRenderTree/DumpRenderTree.m:
1938 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1940 2006-03-04 Eric Seidel <eseidel@apple.com>
1944 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1945 Disable background erase to avoid tearing.
1946 Fix potential memory smasher from extra long urls.
1948 * Spinneret/Spinneret/Spinneret.cpp:
1950 * Spinneret/Spinneret/Spinneret.vcproj:
1951 * Spinneret/Spinneret/WebFrame.cpp:
1952 (WebKit::WebFrame::loadFilePath):
1953 (WebKit::WebFrame::paint):
1954 * Spinneret/Spinneret/WebView.cpp:
1955 (WebKit::registerWebViewWithInstance):
1957 2006-03-04 Eric Seidel <eseidel@apple.com>
1961 Hang WebView pointer off of HWND (gets rid of global hack).
1962 Remove MessageBox displayed on url change.
1964 * Spinneret/Spinneret/Spinneret.cpp:
1967 * Spinneret/Spinneret/WebView.cpp:
1968 (WebKit::registerWebViewWithInstance):
1969 (WebKit::WebView::createWebView):
1970 (WebKit::WebViewWndProc):
1972 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
1976 Automatically kill httpd if it appears to be already running.
1978 * Scripts/run-webkit-tests:
1980 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1984 * Spinneret/Spinneret/WebFrame.cpp:
1985 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1987 2006-03-03 Eric Seidel <eseidel@apple.com>
1991 A few more fixes to make run-webkit-tests really work on win32.
1993 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1995 * Scripts/run-webkit-tests:
1997 2006-03-03 Eric Seidel <eseidel@apple.com>
2001 Make run-webkit-tests work on win32.
2003 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2005 (dumpRenderTreeMain):
2006 (dumpRenderTreeToStdOut):
2007 (serializeToStdOut):
2009 * Scripts/run-webkit-tests:
2010 * Scripts/webkitdirs.pm:
2011 * Spinneret/Spinneret/WebView.cpp:
2012 (WebKit::WebView::WebView):
2014 2006-03-03 Eric Seidel <eseidel@apple.com>
2018 Add WebFrame class (to hold Frame and FrameView).
2019 Add Location bar support to Spinneret.
2021 * Spinneret/Spinneret/Spinneret.cpp:
2026 * Spinneret/Spinneret/Spinneret.vcproj:
2027 * Spinneret/Spinneret/WebFrame.cpp: Added.
2028 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2029 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2030 (WebKit::WebFrame::WebFrame):
2031 (WebKit::WebFrame::loadFilePath):
2032 (WebKit::WebFrame::loadHTMLString):
2033 (WebKit::WebFrame::paint):
2034 (WebKit::WebFrame::impl):
2035 (WebKit::WebFrame::viewImpl):
2036 * Spinneret/Spinneret/WebFrame.h: Added.
2037 * Spinneret/Spinneret/WebView.cpp:
2038 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2039 (WebKit::WebView::WebView):
2040 (WebKit::WebView::windowHandle):
2041 (WebKit::WebView::mainFrame):
2042 (WebKit::WebView::mouseMoved):
2043 (WebKit::WebView::mouseDown):
2044 (WebKit::WebView::mouseUp):
2045 (WebKit::WebView::mouseDoubleClick):
2046 (WebKit::WebViewWndProc):
2047 * Spinneret/Spinneret/WebView.h:
2049 2006-03-02 Eric Seidel <eseidel@apple.com>
2053 * Spinneret/Spinneret/WebView.cpp:
2054 (WebKit::registerWebViewWithInstance):
2055 (WebKit::WebView::WebView):
2056 (WebKit::WebView::mouseMoved):
2057 (WebKit::WebView::mouseDown):
2058 (WebKit::WebView::mouseUp):
2059 (WebKit::WebView::mouseDoubleClick):
2060 (WebKit::WebViewWndProc):
2061 * Spinneret/Spinneret/WebView.h:
2063 2006-03-01 Eric Seidel <eseidel@apple.com>
2065 Reviewed by andersca.
2067 Make spinneret take advantage of the new GraphicsContextCairo.
2069 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2070 (main): updated to match style guidelines.
2071 * Spinneret/Spinneret/Spinneret.cpp:
2073 * Spinneret/Spinneret/WebView.cpp:
2074 (WebKit::registerWebViewWithInstance):
2075 (WebKit::WebView::WebView):
2076 (WebKit::WebView::~WebView):
2077 (WebKit::WebView::drawRect):
2079 * Spinneret/Spinneret/WebView.h:
2081 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2085 Give the events that eventSender sends a unique eventNumber
2087 * DumpRenderTree/DumpRenderTree.m:
2088 (-[EventSendingController mouseDown]):
2089 (-[EventSendingController mouseUp]):
2090 (-[EventSendingController mouseMoveToX:Y:]):
2092 2006-03-01 Eric Seidel <eseidel@apple.com>
2096 Add a stub win32 application to test WebCore drawing on windows.
2099 * Spinneret/Spinneret: Added.
2100 * Spinneret/Spinneret.sln: Added.
2101 * Spinneret/Spinneret/Resource.h: Added.
2102 * Spinneret/Spinneret/Spinneret.cpp: Added.
2108 * Spinneret/Spinneret/Spinneret.h: Added.
2109 * Spinneret/Spinneret/Spinneret.ico: Added.
2110 * Spinneret/Spinneret/Spinneret.rc: Added.
2111 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2112 * Spinneret/Spinneret/WebView.cpp: Added.
2113 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2114 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2115 (WebKit::registerWebViewWithInstance):
2116 (WebKit::WebView::createWebView):
2117 (WebKit::WebView::WebView):
2118 (WebKit::WebView::~WebView):
2119 (WebKit::WebView::drawRect):
2120 (WebKit::WebView::windowHandle):
2122 * Spinneret/Spinneret/WebView.h: Added.
2123 * Spinneret/Spinneret/small.ico: Added.
2124 * Spinneret/Spinneret/stdafx.cpp: Added.
2125 * Spinneret/Spinneret/stdafx.h: Added.
2127 2006-02-28 Eric Seidel <eseidel@apple.com>
2131 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2132 (main): add ability to dump render tree and read from a local file.
2134 2006-02-27 Eric Seidel <eseidel@apple.com>
2138 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2140 2006-02-27 Eric Seidel <eseidel@apple.com>
2144 Test new KConfig -> PlugInInfoStore change.
2145 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2147 * DumpRenderTree/DumpRenderTree.m:
2148 (main): load test netscape plugin
2149 * Scripts/run-webkit-tests: style update
2151 2006-02-24 Eric Seidel <eseidel@apple.com>
2155 Make DumpRenderTree link against icu.
2157 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2159 2006-02-24 Eric Seidel <eseidel@apple.com>
2163 Make DumpRenderTree link against libxml, etc.
2165 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2167 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2169 Reviewed and landed by Anders.
2171 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2172 getting called from the run loop, making the view render each test and thus slowing
2175 * DumpRenderTree/DumpRenderTree.m:
2176 (main): Set the offscreen window to not autodisplay.
2178 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2182 - Turn http tests back on by default.
2183 - Wait for Apache to actually start serving requests.
2184 - Get user id from a built-in variable rather than an external command;
2185 don't pass the group.
2187 * Scripts/run-webkit-tests:
2189 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2191 Suggested by Mitz Pettel, reviewed by Darin.
2193 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2194 can run CGIs even if the permissions are 700 or 600.
2196 2006-02-23 Darin Adler <darin@apple.com>
2198 Collaborating with Alexey.
2200 - turn off http tests by default until we figure out how to get them
2201 to run even when permissions on CGI files are 700 instead of 755
2203 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2205 2006-02-23 Eric Seidel <eseidel@apple.com>
2207 Add *.user to ignore list.
2209 2006-02-23 Eric Seidel <eseidel@apple.com>
2211 Remove binary file which shouldn't have been commited (and add to ignore list).
2213 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2214 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2216 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2220 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2222 2006-02-22 Eric Seidel <eseidel@apple.com>
2224 Reviewed by Tim Hatcher.
2226 Fix install-win-extras to not try to re-install setx if installed.
2228 * Scripts/install-win-extras:
2230 2006-02-22 Eric Seidel <eseidel@apple.com>
2232 One more file possibly missing from previous commit?
2234 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2235 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2237 2006-02-22 Eric Seidel <eseidel@apple.com>
2239 Reviewed by justing.
2241 Files missing from previous commit.
2243 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2244 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2246 2006-02-22 Eric Seidel <eseidel@apple.com>
2248 Rubber-stamped by justing.
2250 Corrected path for DumpRenderTree.intermediate files
2252 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2254 2006-02-22 Eric Seidel <eseidel@apple.com>
2256 Reviewed by justing.
2258 Fixed build-dumprendertree to exit with correct error codes.
2260 * Scripts/build-dumprendertree:
2262 2006-02-22 Eric Seidel <eseidel@apple.com>
2264 Reviewed by justing.
2266 Update build scripts to generalize building on Win32, and allow
2267 building of DumpRenderTree on Win32 from build-dumprendertree.
2269 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2271 * Scripts/build-dumprendertree:
2272 * Scripts/build-webkit:
2273 * Scripts/webkitdirs.pm:
2275 2006-02-22 Eric Seidel <eseidel@apple.com>
2279 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2280 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2281 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2282 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2283 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2284 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2286 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2287 * Scripts/build-webkit: make build-webkit cleanup after itself
2289 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2293 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2294 Some minor fixes to http tests.
2296 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2298 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2302 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2303 Would like to use locally installed Apache for testing.
2305 Added two run-webkit-tests options:
2306 --http (--nohttp) - whether to launch Apache (defaults to yes);
2307 --port - which port to listen on (defaults to 8000).
2309 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2310 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2311 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2313 Also added support for .shtml and .text files. Text files give an empty
2314 *-expected.txt, but a correct image.
2316 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2318 * Scripts/run-webkit-tests:
2320 2006-02-21 Darin Adler <darin@apple.com>
2322 Suggested by Mark Rowe.
2324 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2325 reporting leak counts.
2327 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2331 - Added install-win-extras script which installs some extra
2332 programs and libraries, and does Windows first-time setup.
2334 * Scripts/build-webkit: Add a newline between build results.
2335 * Scripts/install-win-extras: Added.
2337 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2341 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2342 DumpRenderTree should be able to load files via HTTP
2344 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2345 Handle tests starting with "http://" as real URLs, not file system paths.
2347 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2351 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2352 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2354 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2356 2006-02-18 Darin Adler <darin@apple.com>
2358 * Scripts/commit-log-editor: Added.
2360 2006-02-17 Eric Seidel <eseidel@apple.com>
2364 Make Win32 have the same default "WebKitBuild" directory behavior.
2366 * Scripts/build-webkit:
2367 * Scripts/webkitdirs.pm:
2369 2006-02-17 Eric Seidel <eseidel@apple.com>
2373 * Scripts/build-webkit: make win32 actually report errors
2375 2006-02-17 Eric Seidel <eseidel@apple.com>
2379 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2381 2006-02-17 Eric Seidel <eseidel@apple.com>
2385 * Scripts/run-webkit-tests: Ignore flash leaks
2387 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2391 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2392 Add drag and drop support to DumpRenderTree
2394 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2395 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2397 * DumpRenderTree/DumpRenderTree.m:
2399 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2400 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2401 (-[WaitUntilDoneDelegate webViewFocus:]):
2402 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2403 (+[LayoutTestController webScriptNameForSelector:]):
2404 (-[LayoutTestController setWindowIsKey:]):
2405 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2406 (-[EventSendingController init]):
2407 (-[EventSendingController mouseDown]):
2408 (-[EventSendingController mouseUp]):
2409 (-[EventSendingController mouseMoveToX:Y:]):
2411 (-[DumpRenderTreeWindow isKeyWindow]):
2412 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2413 (-[DumpRenderTreeDraggingInfo dealloc]):
2414 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2415 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2416 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2417 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2418 (-[DumpRenderTreeDraggingInfo draggedImage]):
2419 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2420 (-[DumpRenderTreeDraggingInfo draggingSource]):
2421 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2422 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2423 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2424 * DumpRenderTree/TextInputController.m:
2425 (-[TextInputController firstRectForCharactersFrom:length:]):
2426 (-[TextInputController characterIndexForPointX:Y:]):
2428 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2432 * DumpRenderTree/DumpRenderTree.m:
2433 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2434 Added a dummy method for the sake of LayoutTests/plugins/
2435 undefined-property-crash.html. (It tests a crash due to fallback
2436 object use. WebCore won't create a fallback object if the method is
2439 2006-02-14 Eric Seidel <eseidel@apple.com>
2443 * Scripts/run-webkit-tests: added --results-directory (-o) option
2445 2006-02-09 Eric Seidel <eseidel@apple.com>
2447 Rubber-stamped by mjs.
2449 Renamed split-class to split-file-by-class.
2451 * Scripts/build-webkit: Updated copyright.
2452 * Scripts/split-class: Removed.
2453 * Scripts/split-file-by-class: Added.
2455 2006-02-08 Eric Seidel <eseidel@apple.com>
2457 Rubber-stamped by mjs.
2459 Adding new script for splitting multi-class files.
2460 Also adding supporting perl module with space removing heuristics.
2462 * Scripts/SpacingHeuristics.pm: Added.
2463 * Scripts/build-drawtest: updated copyright header
2464 * Scripts/split-class: Added.
2466 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2468 Reviewed by thatcher
2470 Changes to test fix for:
2471 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2472 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2474 * DumpRenderTree/DumpRenderTree.m:
2475 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2476 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2477 (+[LayoutTestController webScriptNameForSelector:]):
2478 (-[LayoutTestController setWindowHasFocus:]):
2479 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2481 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2483 Reviewed by Timothy.
2485 Support automated testing of AppleScript "do JavaScript" command
2486 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2488 * DumpRenderTree/AppleScriptController.h: Added.
2489 * DumpRenderTree/AppleScriptController.m: Added.
2490 * DumpRenderTree/DumpRenderTree.m:
2491 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2492 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2494 2006-02-06 Eric Seidel <eseidel@apple.com>
2498 Fix build-webkit for use on win32 (unblocks buildbot usage).
2499 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2501 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2502 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2504 2006-02-06 Eric Seidel <eseidel@apple.com>
2506 Rubber-stamped by darin & mjs.
2508 Added new support directory for build slave scripts.
2509 Committing the first script, for use by the PLT's build slave.
2510 This script is used to kick of the PLT (Page Load Test) slave.
2512 * BuildSlaveSupport: Added.
2513 * BuildSlaveSupport/run-performance-tests: Added.
2515 2006-02-06 Eric Seidel <eseidel@apple.com>
2517 Rubber-stamped by darin.
2519 Adding setSourceDir for scripts stored in non-standard locations.
2521 * Scripts/webkitdirs.pm:
2523 2006-02-04 Darin Adler <darin@apple.com>
2525 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2526 Configuration files that say Development or Deployment in them.
2528 2006-02-04 Darin Adler <darin@apple.com>
2530 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2531 wrapper already in the directory.
2532 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2533 these haven't been working at all.
2534 * Scripts/svn-unapply: Ditto.
2536 2006-02-03 Timothy Hatcher <timothy@apple.com>
2540 Renamed configuration names to Debug, Release and Production.
2542 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2543 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2544 * Scripts/set-webkit-configuration:
2545 * Scripts/webkitdirs.pm:
2547 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2549 Reviewed by thatcher
2551 Enabled spell checking for layout tests.
2553 * DumpRenderTree/DumpRenderTree.m:
2556 2006-01-29 Darin Adler <darin@apple.com>
2558 * Scripts/svn-apply: Added comments about things we should do to improve.
2559 * Scripts/svn-create-patch: Ditto.
2560 * Scripts/svn-unapply: Ditto.
2562 2006-01-28 Darin Adler <darin@apple.com>
2564 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2565 already there, even if the checksum is correct.
2567 2006-01-27 Eric Seidel <eseidel@apple.com>
2571 * Scripts/run-webkit-tests: make new tests use absolute urls
2573 2006-01-27 Eric Seidel <eseidel@apple.com>
2577 make run-webkit-tests output total leaks count
2579 * Scripts/run-webkit-tests:
2581 2006-01-27 Eric Seidel <eseidel@apple.com>
2585 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2586 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2588 * Scripts/run-webkit-tests: fix --leaks to not crash
2590 2006-01-26 Eric Seidel <eseidel@apple.com>
2594 run-webkit-tests should produce a self-contained results directory
2595 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2597 * Scripts/run-webkit-tests: copy failing items to results dir.
2599 2006-01-23 Darin Adler <darin@apple.com>
2601 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2602 need script to update localizable strings file in WebKit
2604 * Scripts/update-webkit-localizable-strings: Added.
2606 2006-01-23 Darin Adler <darin@apple.com>
2608 - added a couple of scripts -- more about these two soon
2610 * Scripts/extract-localizable-strings: Added.
2611 * Scripts/merge-changelog: Added.
2613 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2617 Build fix. build-webkit dies with "invalid build action: (empty string)"
2619 * Scripts/build-webkit:
2620 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2622 2006-01-22 Eric Seidel <eseidel@apple.com>
2626 Fix --no-svg option to use XCode flags instead of gcc flags.
2628 * Scripts/build-webkit:
2630 2006-01-22 Eric Seidel <eseidel@apple.com>
2634 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2636 * Scripts/build-webkit:
2638 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2640 Reviewed by eseidel.
2642 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2643 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2645 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2646 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2648 2006-01-19 Darin Adler <darin@apple.com>
2650 * Scripts/report-include-statistics: Added a new script.
2652 2006-01-19 Timothy Hatcher <timothy@apple.com>
2654 * Scripts/build-webkit: include JavaScriptGlue in the build
2656 2006-01-19 Darin Adler <darin@apple.com>
2658 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2659 spaces in it by using the form of open that treats each argument as a string
2660 rather than backtick syntax for reading the output of the nm tool.
2662 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2666 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2667 detect if there are any new tests
2669 * Scripts/prepare-ChangeLog:
2671 2006-01-12 Darin Adler <darin@apple.com>
2673 - removed some of the cvs-specific scripts -- not needed for this project any more
2675 * Scripts/cvs-abandon: Removed.
2676 * Scripts/cvs-apply: Removed.
2677 * Scripts/cvs-create-patch: Removed.
2678 * Scripts/cvs-unapply: Removed.
2680 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2682 Reviewed by eseidel. Committed by eseidel.
2684 - run-webkit-tests always launches Safari when tests fail
2685 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2687 * Scripts/run-webkit-tests:
2688 Add a command-line flag to prevent Safari being launched to display failed
2689 tests. Always exit with non-zero status when tests have failed.
2691 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2693 Reviewed by eseidel. Committed by eseidel.
2695 - build-webkit should exit with non-zero status when build fails
2696 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2698 * Scripts/build-webkit:
2699 Use correct bits of subprocess exit code when passing back through
2700 as build-webkit's exit code.
2702 2006-01-10 Eric Seidel <eseidel@apple.com>
2704 Restored corrupted nibs from TOT CVS.
2706 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2707 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2708 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2709 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2710 * DrawTest/English.lproj/Inspector.nib: Replaced.
2711 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2712 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2713 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2714 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2715 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2716 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2717 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2718 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2719 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2720 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2721 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2723 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2725 Reviewed by eseidel. Committed by eseidel.
2727 DrawTestView now subclasses WebView instead of DrawView.
2729 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2730 * DrawTest/DrawTestDocument.h:
2731 * DrawTest/DrawTestDocument.m:
2732 (-[DrawTestDocument dealloc]):
2733 (-[DrawTestDocument readFromFile:ofType:]):
2734 (-[DrawTestDocument windowControllerDidLoadNib:]):
2735 (-[DrawTestDocument dumpSVGToConsole:]):
2736 (-[DrawTestDocument openSourceForSelection:]):
2737 (-[DrawTestDocument dataRepresentationOfType:]):
2738 * DrawTest/DrawTestToolbarController.h:
2739 * DrawTest/DrawTestToolbarController.m:
2740 (-[DrawTestToolbarController initWithDrawView:]):
2741 (-[DrawTestToolbarController clickedToolbarItem:]):
2742 (-[DrawTestToolbarController validateToolbarItem:]):
2743 * DrawTest/DrawTestView.h:
2744 * DrawTest/DrawTestView.m:
2745 (-[DrawTestView initWithFrame:]):
2746 (-[DrawTestView setDocument:]):
2747 * DrawTest/SVGTest.h:
2748 * DrawTest/SVGTest.m:
2749 (+[SVGTest sharedDrawView]):
2750 (-[SVGTest generateCompositeIfNecessary]):
2751 * DrawTest/TestController.h:
2752 * DrawTest/TestController.m:
2753 (-[TestController awakeFromNib]):
2754 (-[TestController setSelectedTest:]):
2755 (-[TestController openTestViewerForSelection:]):
2756 (-[TestController toggleViewersScaleRule:]):
2757 * DrawTest/TestViewerSplitView.m:
2758 (-[TestViewerSplitView drawRect:]):
2760 2006-01-10 Anders Carlsson <andersca@mac.com>
2762 Reviewed by Timothy.
2764 * DumpRenderTree/DumpRenderTree.m:
2765 (main): Set the default language to "en", so language tests will work.
2767 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2771 - script to generate HTML wrappers for JS tests
2772 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2774 * Scripts/make-js-test-wrappers: Added.
2776 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2780 * Scripts/svn-create-patch: Fix to work when passed directory names.
2782 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2786 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2787 can start writing automated loader tests now. I have one in the works.
2789 * DumpRenderTree/DumpRenderTree.m:
2790 (main): Construct global navigationController on entry, destroy on exit.
2791 Set frame to nil on exit too, to match all the other global objects.
2792 (Probably academic, since the process is exiting, anyway.)
2793 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2794 navigationController, in case it wants to kick off a load.
2795 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2796 the navigationController to scripting.
2798 New class, should be straightforward:
2800 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2801 * DumpRenderTree/NavigationController.h: Added.
2802 * DumpRenderTree/NavigationController.m: Added.
2804 (+[NavigationController isSelectorExcludedFromWebScript:]):
2805 (+[NavigationController webScriptNameForSelector:]):
2806 (-[NavigationController setPendingScript:]):
2807 (-[NavigationController setPendingRequest:]):
2808 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2809 (-[NavigationController webView:didFinishLoadForFrame:]):
2810 (-[NavigationController dealloc]):
2812 2006-01-08 Timothy Hatcher <timothy@apple.com>
2814 Removed this script, no longer needs with the Subversion switch.
2816 * checkout: Removed.
2818 2006-01-08 Timothy Hatcher <timothy@apple.com>
2820 Removes some stray tabs.
2822 * Scripts/update-webkit:
2824 2005-01-07 Eric Seidel <eseidel@apple.com>
2828 build-webkit should pass on build arguments from command line
2829 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2831 * Scripts/build-webkit:
2833 2006-01-07 Eric Seidel <eseidel@apple.com>
2835 Reviewed by mjs & xenon.
2837 * Scripts/update-webkit: support Internal updates as well
2839 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2841 Temporarily rolling out plugin support from DumpRenderTree because it
2842 caused lots of layout test regressions.
2844 * DumpRenderTree/DumpRenderTree.m:
2845 (main): Remove invisible window added to support plugins.
2847 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2851 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2852 Add plugin support to DumpRenderTree
2854 Also wrote first test plugin.
2856 * DumpRenderTree/DumpRenderTree.m:
2858 (1) Put the WebView in an invisible window, because PlugIns are
2859 optimized not to load if there's no parent window.
2860 (2) Tell WebKit to load any PlugIns in the directory from which we
2861 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2862 and they'll load automagically during layout testing, but they won't be
2863 added to the user's system, hosing apps like Safari.
2865 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2866 test PlugIn to project.
2868 PlugIn added to project:
2870 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2871 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2873 (initializeIdentifiers):
2874 (pluginHasProperty):
2876 (pluginGetProperty):
2877 (pluginSetProperty):
2879 (pluginInvokeDefault):
2883 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2884 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2886 (NP_GetEntryPoints):
2892 (NPP_DestroyStream):
2902 2006-01-04 Timothy Hatcher <timothy@apple.com>
2906 Tweaked and tested by me.
2908 New scripts to work with Subversion when the switch happens.
2909 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2911 * Scripts/svn-apply: Added.
2912 * Scripts/svn-create-patch: Added.
2913 * Scripts/svn-unapply: Added.
2915 2005-12-30 Eric Seidel <eseidel@apple.com>
2919 Move WebView width/height logic into DumpRenderTree to support
2920 running the W3C SVG 1.1 tests along side other tests. The W3C
2921 SVG 1.1 tests require a 480x360 view.
2923 * DumpRenderTree/DumpRenderTree.m:
2924 (main): don't accept width/height
2925 (dump): override width/height for SVG/W3C
2926 * Scripts/run-webkit-tests: don't pass width/height
2928 2005-12-30 Eric Seidel <eseidel@apple.com>
2930 No review, only removing dead code.
2932 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2933 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2935 2005-12-30 Eric Seidel <eseidel@apple.com>
2939 DumpRenderTree should set a consistent color profile while running
2940 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2942 Creates consistent colormatched renderings on every test machine
2943 using the only way possible with Tiger APIs: by setting the
2944 system color profile on the test machine for the duration of the
2945 tests. This will (unfortunately) cause colors to change while
2946 running DumpRenderTree. This can also cause "permanent" color
2947 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2948 This is far from ideal, but it's be best way we've found to deal
2949 with the issue for now.
2951 * DumpRenderTree/DumpRenderTree.m:
2952 (restoreColorSpace):
2953 (setDefaultColorProfileToRGB):
2956 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2958 Reviewed by Darin Adler.
2960 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2961 cvs-create-patch --include produces incorrect paths
2963 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2965 2005-12-19 Eric Seidel <eseidel@apple.com>
2969 * Scripts/run-webkit-tests: stop /etc/catalog warnings
2971 2005-12-19 Darin Adler <darin@apple.com>
2973 Reviewed by Eric Seidel.
2975 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2976 WebKit needs to use a local pasteboard during testing
2978 * DumpRenderTree/DumpRenderTree.m:
2979 (main): Call poseAs to substitute our NSPasteboard class for the default one.
2980 Create a local pasteboard (really a global one with a unique name) and release
2981 it when exiting from the function so we don't leave it in the pasteboard server.
2982 (dumpRenderTree): Added an autorelease pool around one small bit of code that
2983 ddn't have one. Fixed a leak in an unlikely error case.
2984 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2985 of this method to return our local pasteboard.
2987 2005-12-15 Eric Seidel <eseidel@apple.com>
2989 Reviewed by Tim Hatcher.
2991 * Scripts/build-webkit: --svg is now default!
2993 2005-12-15 Eric Seidel <eseidel@apple.com>
2997 Don't run svg test automatically if +SVG is built (yet).
2999 * Scripts/run-webkit-tests:
3001 2005-12-15 Darin Adler <darin@apple.com>
3003 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3004 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3005 passed on the command line.
3007 2005-12-06 John Sullivan <sullivan@apple.com>
3009 Reviewed by Darin Adler.
3011 * Scripts/prepare-ChangeLog:
3012 Remove special-case handling for nib files. This avoided trouble with cvs diff
3013 when we were using wrappers for nib files. Now that we aren't using wrappers,
3014 there's no reason to avoid adding the modified nib files to the file list that
3017 2005-12-05 Eric Seidel <eseidel@apple.com>
3021 Script updates for SVG files move (remove references to SVGSupport)
3023 * Scripts/build-webkit: remove SVGSupport
3024 * Scripts/run-webkit-tests: Resources -> resources for --svg
3025 * Scripts/update-webkit: remove SVGSupport
3027 2005-12-05 Eric Seidel <eseidel@apple.com>
3031 * checkout: remove --svg support, SVG is now checked out by default
3033 2005-11-29 Eric Seidel <eseidel@apple.com>
3037 Update scripts to run SVG tests automatically (w/o --svg) if
3038 WebCore is built with SVG support.
3040 * Scripts/build-drawtest: SVG support required
3041 * Scripts/build-dumpkcanvastree: Removed.
3042 * Scripts/run-drawtest: SVG support required to run
3043 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3044 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3046 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3048 Reviewed by Darin. Committed by Maciej.
3050 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3051 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3053 * DumpRenderTree/DumpRenderTree.m:
3056 2005-11-28 Eric Seidel <eseidel@apple.com>
3058 Reviewed by sullivan and GGAREN.
3060 Minor additions to make error messages more clear from cvs-apply.
3062 * Scripts/cvs-apply: make errors more clear
3064 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3066 Reviewed and committed by Maciej.
3068 - fixed cvs-create-patch --include produces incorrect paths
3069 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3071 * Scripts/cvs-create-patch: produce proper paths for new files.
3073 2005-11-21 Eric Seidel <eseidel@apple.com>
3077 Some simple fixes to the build/test scripts now that SVG uses the
3078 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3079 or symlinks for KDOM.
3081 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3082 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3083 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3084 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3085 * checkout: no longer symlink kdom
3087 2005-11-10 Eric Seidel <eseidel@apple.com>
3091 * Scripts/build-webkit: Pass through options to xcodebuild
3093 2005-11-07 Darin Adler <darin@apple.com>
3095 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3097 2005-11-03 John Sullivan <sullivan@apple.com>
3101 * Scripts/run-safari:
3102 changed message to say "Starting Safari" instead of odd "Start Safari"
3103 * Scripts/run-webkit-tests:
3104 changed the way we pass the file parameter to use -NSOpen rather than relying on
3105 unlabeled arguments being treated as files. This was failing on some machines that
3106 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3108 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3110 Patch by Alexey Proskuryakov.
3114 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3115 TextInputController should support attributed strings
3117 * DumpRenderTree/TextInputController.m:
3118 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3119 (+[NSMutableAttributedString webScriptNameForSelector:]):
3120 (-[NSMutableAttributedString getLength]):
3121 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3122 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3123 (-[NSMutableAttributedString addAttribute:value:]):
3124 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3125 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3126 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3127 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3128 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3129 (+[TextInputController isSelectorExcludedFromWebScript:]):
3130 (+[TextInputController webScriptNameForSelector:]):
3131 (-[TextInputController insertText:]):
3132 (-[TextInputController attributedSubstringFrom:length:]):
3133 (-[TextInputController attributedStringWithString:]):
3135 2005-10-11 Eric Seidel <eseidel@apple.com>
3139 Checks for leaks in ImageDiff too.
3141 * Scripts/run-webkit-tests:
3143 2005-10-09 Darin Adler <darin@apple.com>
3145 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3146 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3147 * Scripts/cvs-unapply: Ditto.
3148 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3150 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3152 Reviewed, rearranged and landed by Darin.
3154 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3155 Need a way to automatically test for regressions in NSTextInput implementation
3157 * DumpRenderTree/DumpRenderTree.m:
3158 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3159 Create a text input controller and put it in a property of the window object.
3161 * DumpRenderTree/TextInputController.h: Added.
3162 * DumpRenderTree/TextInputController.m: Added.
3163 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3165 2005-10-06 Darin Adler <darin@apple.com>
3167 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3168 are controlled by cvs, or when changes cross multiple repositories.
3169 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3171 2005-10-03 Eric Seidel <eseidel@apple.com>
3175 Make mouseDown and mouseUp force layout before acting.
3176 This is used by a new test case for 4233558.
3178 * DumpRenderTree/DumpRenderTree.m:
3179 (-[EventSendingController mouseDown]): force layout
3180 (-[EventSendingController mouseUp]): force layout
3182 2005-09-30 Eric Seidel <eseidel@apple.com>
3186 Updated all the scripts for the move:
3187 WebCore/layout-tests -> LayoutTests
3189 * Scripts/check-dom-results:
3190 * Scripts/prepare-ChangeLog:
3191 * Scripts/run-webkit-tests:
3192 * Scripts/update-webkit: added --no-tests
3193 * checkout: added --no-tests
3195 2005-09-28 Darin Adler <darin@apple.com>
3197 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3198 pixel test should run even if render trees differ
3200 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3202 2005-09-27 Eric Seidel <eseidel@apple.com>
3204 No review needed, SVG build fix only.
3206 * DumpKCanvasTree/DumpKCanvasTree.m:
3207 Missed one in my previous checkin.
3208 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3210 2005-09-26 Eric Seidel <eseidel@apple.com>
3212 No review needed, SVG build fix only.
3214 * DrawTest/DrawTestDocument.m:
3215 * DrawTest/DrawTestToolbarController.m:
3216 * DrawTest/DrawTestView.h:
3217 * DrawTest/DrawTestView.m:
3218 * DrawTest/SVGTest.m:
3219 * DrawTest/TestController.m:
3220 Updated for WebCore+SVG -> WebCore rename.
3221 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3223 2005-09-26 Eric Seidel <eseidel@apple.com>
3227 * DumpRenderTree/DumpRenderTree.m:
3228 (dump): updated error message
3229 * Scripts/check-dom-results: now includes xhtml
3230 Tool updates for xhtml.
3231 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3233 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3238 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3239 "Would like to simulate human interaction with webview"
3241 * DumpRenderTree/DumpRenderTree.m:
3242 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3243 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3244 (+[EventSendingController webScriptNameForSelector:]):
3245 (-[EventSendingController init]):
3246 (-[EventSendingController mouseDown]):
3247 (-[EventSendingController mouseUp]):
3248 (-[EventSendingController mouseMoveToX:Y:]):
3249 Add eventSender javascript object, that sends fake mouse events to the webview.
3251 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3252 link with Carbon.framework
3254 2005-09-22 Eric Seidel <eseidel@apple.com>
3258 Update tools for WebCore+SVG -> WebCore rename.
3259 Also fold several SVG specific tools into their original
3260 WebCore counterparts.
3261 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3263 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3264 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3265 * Scripts/build-drawtest:
3266 * Scripts/build-dumpkcanvastree:
3267 * Scripts/build-webcore-svg: Removed.
3268 * Scripts/build-webkit: added --svg option
3269 * Scripts/run-drawtest:
3270 * Scripts/run-webkit-tests:
3271 * Scripts/webkitdirs.pm: various additions.
3272 * checkout: added --svg option
3273 * checkout-svg: Removed.
3275 2005-09-19 Eric Seidel <eseidel@apple.com>
3279 * Scripts/run-webkit-tests: added --guard-malloc option
3280 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3282 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3286 Removed a script that is only used by apple internal developers
3288 * Scripts/update-webkitsysteminterface: Removed.
3290 2005-09-16 Adele Peterson <adele@apple.com>
3294 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3296 2005-09-14 Darin Adler <darin@apple.com>
3298 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3299 dumpAsText doesn't work with XHTML documents
3301 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3302 rather than of the body element. This works with typical XHTML documents. We can probably
3303 do something even better in the long run, but this fixes the immediate issue.
3307 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3308 run-safari instead of just using "open", which often runs another copy of Safari instead.
3310 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3312 Reviewed, tweaked, and landed by Darin.
3314 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3315 .Mac prefpane crashes when Safari using CVS WebKit is running
3317 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3318 * Scripts/run-webkit-app: Ditto.
3320 2005-09-11 Darin Adler <darin@apple.com>
3322 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3324 2005-09-11 Darin Adler <darin@apple.com>
3328 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3329 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3330 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3333 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3337 * Scripts/update-webkitsysteminterface: Added.
3338 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3340 2005-09-01 John Sullivan <sullivan@apple.com>
3342 * Scripts/run-webkit-tests:
3343 Excluded a known system leak to reduce noise; added comments about which leaks
3346 2005-09-01 Tim Omernick <tomernick@apple.com>
3348 Change made by Darin, reviewed by John and myself.
3350 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3352 * Scripts/prepare-ChangeLog:
3354 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3358 - set color variant and font settings to a consistent value.
3359 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3361 * DumpRenderTree/DumpRenderTree.m:
3364 2005-08-30 Eric Seidel <eseidel@apple.com>
3368 * Scripts/build-svg2png: Removed.
3369 * svg2png/ImageDiff.h: Removed.
3370 * svg2png/ImageDiff.m: Removed.
3371 * svg2png/svg2png.m: Removed.
3372 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3373 * svg2png/svg2png_Prefix.pch: Removed.
3374 svg2png is no longer needed.
3376 2005-08-30 Darin Adler <darin@apple.com>
3378 * Scripts/check-dom-results: Special case 100% to say something nice.
3379 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3380 applying the patch (need a better name).
3381 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3383 2005-08-30 Darin Adler <darin@apple.com>
3385 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3387 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3391 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3392 (some pixel tests fail when AA settings are changed)
3394 * DumpRenderTree/DumpRenderTree.m:
3395 (main): set AA settings to the default values
3397 2005-08-29 Darin Adler <darin@apple.com>
3399 Reviewed by John Sullivan.
3401 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3402 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3405 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3409 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3410 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3412 * DumpRenderTree/DumpRenderTree.m:
3413 (main): set scrollbar arrow setting to a consistent value
3415 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3417 Reviewed and landed by Darin.
3419 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3420 output of update-webkit is too verbose
3422 * Scripts/update-webkit:
3423 Added option --quiet (-q) to decrease the amount of output.
3425 2005-08-27 Darin Adler <darin@apple.com>
3427 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3428 cvs-create-patch --include-unknowns should ignore hidden files
3430 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3432 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3434 Reviewed, tweaked, and landed by Darin.
3436 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3437 update-webkit doesn't notice when you have SVGSupport and update properly
3439 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3441 2005-08-25 Anders Carlsson <andersca@mac.com>
3443 Reviewed and landed by Darin.
3445 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3446 layout test machinery can't handle tests with applets that have code attributes
3448 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3450 2005-08-24 Darin Adler <darin@apple.com>
3454 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3455 DumpRenderTree --pixel-tests crash
3456 - landed some other small changes I had sitting in my tree
3458 * DumpRenderTree/DumpRenderTree.m:
3459 (main): Don't bother saving and restoring the preferences. Not sure
3460 why this was ever done since the preferences are specific to DumpRenderTree.
3461 Clear delegates before releasing the WebView, because you can't count on the
3462 order of object deallocation.
3463 (dumpRenderTree): Fix code that releases a string before storing it in a
3466 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3467 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3469 2005-08-23 Eric Seidel <eseidel@apple.com>
3473 * Scripts/run-webkit-tests:
3474 Made --leaks option more readable by printing to a file.
3475 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3477 2005-08-22 Eric Seidel <eseidel@apple.com>
3478 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3482 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3483 when they are not needed (for pixel-only failures)
3484 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3486 2005-08-22 Eric Seidel <eseidel@apple.com>
3490 * Scripts/run-webkit-tests: Added the ability to display more than
3491 just two images as part of the image-diff "slideshow".
3492 Added display of "-w3c.png" baseline images for SVG.
3493 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3495 2005-08-20 Eric Seidel <eseidel@apple.com>
3497 * Scripts/run-webkit-tests:
3498 "build" fix after committing incorrect version.
3500 2005-08-20 Eric Seidel <eseidel@apple.com>
3504 * DumpRenderTree/DumpRenderTree.m:
3505 (main): cleans up delegates
3506 (dumpRenderTree): closes CFString/CFURL leak
3507 * Scripts/run-webkit-tests:
3508 Adds --leaks option to run-webkit-tests
3509 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3511 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3515 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3516 new files to be included in the patch even without "cvs add".
3518 2005-08-19 Darin Adler <darin@apple.com>
3520 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3521 non-cvs-generated patches. Anders has been creating these, so it's bad that
3522 the script can't handle them.
3523 * Scripts/cvs-unapply: Ditto.
3525 2005-08-18 Darin Adler <darin@apple.com>
3527 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3528 "." in them -- based on complaint by someone here at Apple.
3530 2005-08-18 Eric Seidel <eseidel@apple.com>
3534 * Scripts/run-webkit-tests:
3535 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3537 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3539 - add file that I forgot in the last checkin
3541 * DumpRenderTree/ImageDiff.m: Added.
3543 (getImageFromStdin):
3545 (getDifferenceBitmap):
3546 (computePercentageDifferent):
3548 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3550 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3551 somewhat by me, and also tweaked by me a little bit.
3553 - better support for pixel-dumping
3554 - use checksums of the images so the tests are fast
3555 - change output format to make the tests run faster
3556 - don't dump pixel results for tests that dump as text
3558 * DumpKCanvasTree/DumpKCanvasTree.m:
3561 (md5HashStringForBitmap):
3563 (constrainSizeToMaximum):
3564 (getBitmapImageRepForSVGDocument):
3565 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3566 * DumpRenderTree/DumpRenderTree.m:
3570 (md5HashStringForBitmap):
3571 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3572 * Scripts/run-webkit-tests:
3574 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3578 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3580 * DumpRenderTree/DumpRenderTree.m:
3583 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3585 Reviewed and landed by Darin.
3587 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3588 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3590 * Scripts/run-safari: Pass arguments through to Safari on command line.
3591 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3593 2005-08-11 Eric Seidel <eseidel@apple.com>
3594 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3596 Reviewed by eseidel.
3598 * DrawTest/TestController.m:
3599 (-[TestController imagePathForSVGPath:]):
3600 Fixed support for using TextViewer with the layout-tests.
3601 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3603 2005-08-11 Maciej Stachowiak <mjs@apple.com>
3605 At Least Roughly Glanced At by Anders.
3607 - fix change with totally breaks the layout tests.
3609 * DumpRenderTree/DumpRenderTree.m:
3610 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3611 load, to avoid dumping twice accidentally.
3613 2005-08-10 Eric Seidel <eseidel@apple.com>
3614 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3618 * DumpRenderTree/DumpRenderTree.m:
3619 Added support for rendering to a PNG file.
3620 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3622 2005-08-07 Eric Seidel <eseidel@apple.com>
3626 * Scripts/run-webkit-tests: added --svg option
3627 * Scripts/run-webkit-tests-svg: Removed.
3628 http://bugzilla.opendarwi