1 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
5 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
6 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
8 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
9 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
10 should open a new stream and deliver the data to the current instance.
12 2006-07-11 Timothy Hatcher <timothy@apple.com>
16 Bug 9598: [Drosera] add a JavaScript evaluator console
17 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
19 * Drosera/DebuggerApplication.h:
20 * Drosera/DebuggerApplication.m:
21 (-[DebuggerApplication knownServers]):
22 * Drosera/DebuggerDocument.h:
23 * Drosera/DebuggerDocument.m:
24 (-[WebScriptObject evaluateScript:inCallFrame:]):
25 (-[WebScriptObject showConsole:]):
26 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
27 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
28 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
29 (-[WebScriptObject webView:createWebViewWithRequest:]):
30 (-[WebScriptObject webViewShow:]):
31 (-[WebScriptObject webViewAreToolbarsVisible:]):
32 (-[WebScriptObject webView:setToolbarsVisible:]):
33 (-[WebScriptObject webView:setResizable:]):
34 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
35 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
36 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
37 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
38 (-[WebScriptObject webView:didFinishLoadForFrame:]):
39 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
40 * Drosera/Drosera.xcodeproj/project.pbxproj:
41 * Drosera/Images/console.png: Added.
42 * Drosera/console.css: Added.
43 * Drosera/console.html: Added.
44 * Drosera/console.js: Added.
46 2006-07-11 Timothy Hatcher <timothy@apple.com>
48 Reviewed by a tired Geoff.
50 Bug 9597: [Drosera] hook up the variables table to show stack variables
51 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
53 * Drosera/DebuggerDocument.m:
54 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
55 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
56 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
57 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
58 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
59 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
60 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
61 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
62 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
63 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
64 * Drosera/debugger.css:
65 * Drosera/debugger.html:
66 * Drosera/debugger.js:
68 2006-07-10 Tim Omernick <timo@apple.com>
70 Reviewed by Beth Dakin.
72 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
73 Add DOM access test to DumpRenderTree's Netscape plug-in
75 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
79 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
83 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
84 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
86 Now track three states: initializing, running, and closed. If we are launched and the previous
87 state was initializing then we likely just experienced a crash on launch.
89 * WebKitLauncher/WebKitNightlyEnabler.m:
90 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
91 (myApplicationWillTerminate): Update to use new states.
92 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
93 initializing as early as practical.
94 (symbol_lookup): Bring code up to speed with formatting guidelines.
95 (GDSymbolLookup): Ditto.
97 2006-07-10 Darin Adler <darin@apple.com>
99 - try to fix Windows build
101 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
102 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
104 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
106 Build fix. Reviewed by NOBODY.
108 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
109 devenv.com not available in VC++ Express installations
111 * Scripts/webkitdirs.pm: Backed out previous change.
113 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
117 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
118 svn-apply should set ChangeLog date correctly when applying patches
120 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
121 before applying the patch.
122 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
124 2006-07-09 Darin Adler <darin@apple.com>
126 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
128 2006-07-09 Darin Adler <darin@apple.com>
130 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
132 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
134 Reviewed by NOBODY (build fix).
136 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
137 devenv.com not available in VC++ Express installations
139 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
140 work again. Add VC++ Express check as the fallback.
142 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
144 Reviewed by Timothy Hatcher.
146 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
147 devenv.com not available in VC++ Express installations
149 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
151 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
155 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
156 Patch by coldwinter@katamail.com.
158 In the congratulations message, "capatibilies" should be "capabilities".
160 * Scripts/build-webkit:
162 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
164 Reviewed by Timothy Hatcher.
166 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
167 Teach run-webkit-tests how to ignore tests with performance improvements
169 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
170 feature, and minor clean up.
172 2006-07-08 Darin Adler <darin@apple.com>
174 Reviewed by Geoff (well, half of it at least).
176 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
177 storage leaks in Objective-C tests
179 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
180 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
181 Add a release to fix a storage leak.
183 2006-07-08 Darin Adler <darin@apple.com>
185 * Scripts/do-webcore-rename: A few more.
187 2006-07-08 Darin Adler <darin@apple.com>
189 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
191 2006-07-04 Maciej Stachowiak <mjs@apple.com>
195 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
196 - add support for dumping non-HTML as text - in this case use textContent
199 * DumpRenderTree/DumpRenderTree.m:
202 2006-07-02 Timothy Hatcher <timothy@apple.com>
206 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
207 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
209 Adds step over and step out. Along with a little code cleanup
210 that was minor enough to piggyback on this fix.
212 * Drosera/DebuggerDocument.h:
213 * Drosera/DebuggerDocument.m:
214 (-[DebuggerDocument stepOver:]):
215 (-[DebuggerDocument stepOut:]):
216 (-[DebuggerDocument windowDidLoad]):
217 (-[DebuggerDocument windowWillClose:]):
218 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
219 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
220 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
221 (-[DebuggerDocument validateUserInterfaceItem:]):
222 * Drosera/Drosera.xcodeproj/project.pbxproj:
223 * Drosera/debugger.html:
224 * Drosera/debugger.js:
225 * Drosera/viewer.css:
227 2006-07-02 Timothy Hatcher <timothy@apple.com>
231 Bug 9628: [Drosera] Split Views acting oddly
232 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
234 Only update the last X or Y coordinate if the new
235 size was not constrained. Also adds the resize cursor to
236 the body during the drag incase there is a constrained
237 over drag off of the resizer element.
239 * Drosera/debugger.js:
241 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
243 Reviewed by Alexy Proskuryakov.
245 Bug 9692: Warning about Safari extensions on every launch is obnoxious
246 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
248 * WebKitLauncher/WebKitNightlyEnabler.m:
249 (myApplicationWillTerminate): Note that we are exiting cleanly.
250 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
251 to exit cleanly on our last invocation. This doesn't play nicely with
252 multiple concurrent instances of WebKit.app so it can be disabled via
253 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
255 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
257 Reviewed by Alexy Proskuryakov.
259 Bug 9654: Refresh Loop when accessing feed URLs
260 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
262 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
264 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
266 Reviewed by Timothy Hatcher.
268 Bug 9689: Nightly builds should warn a user about potential problems when using
270 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
272 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
273 * WebKitLauncher/WebKitNightlyEnabler.m:
274 (myBundleDidLoad): Keep track of if any bundles that are loaded.
275 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
276 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
277 NSApplicationWillFinishLaunchingNotification notifications so that we can
278 track bundle loads and notify the user at launch completion.
280 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
284 - first check-in of a Gdk shell for testing WebKit
286 * GdkLauncher: Added.
288 2006-06-29 Timothy Hatcher <timothy@apple.com>
292 Need to call window close so WebView tears-down completly.
294 * DumpRenderTree/DumpRenderTree.m:
295 (main): call [window close]
297 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
301 Bug 9615: Buildbot configuration should be in SVN repository
302 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
304 Import BuildBot configuration files as used by build.webkit.org.
305 auth.py has been stubbed out so that slave passwords are not disclosed.
307 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
308 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
309 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
310 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
311 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
312 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
313 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
314 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
315 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
316 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
317 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
318 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
320 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
324 Bug 9614: Nightly builds should notify user if a newer build is available
325 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
327 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
328 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
329 script so it can keep track of the latest revision.
330 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
331 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
332 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
333 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
334 the nightly start page.
336 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
340 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
341 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
343 Report screenY values as (height of zero screen - screenY)
345 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
347 2006-06-25 Timothy Hatcher <timothy@apple.com>
351 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
352 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
354 Makes breakpoints dragable. If dragged off the gutter they are deleted.
356 * Drosera/debugger.js:
357 * Drosera/viewer.css:
359 2006-06-25 Timothy Hatcher <timothy@apple.com>
363 Bug 9568: assertion failure in Safari after quitting Drosera
364 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
366 Call switchToServerNamed:nil and not removeLister to make sure
367 the server object is set to nil to prevent further removeListener calls.
369 * Drosera/DebuggerDocument.m:
370 (-[DebuggerDocument applicationTerminating:]):
372 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
376 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
377 that the directory is not empty instead of reading in every single file and directory first,
378 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
381 2006-06-25 Darin Adler <darin@apple.com>
383 * Scripts/svn-apply: Tweak comments.
384 * Scripts/svn-create-patch: Ditto.
385 * Scripts/svn-unapply: Ditto.
387 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
389 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
391 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
393 * Scripts/svn-apply: Formatting fix.
395 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
399 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
400 Teach svn-apply and svn-unapply to handle directory adds and removes better
402 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
403 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
405 2006-06-25 Timothy Hatcher <timothy@apple.com>
409 Bug 9574: Drosera should show inline scripts within the original HTML
410 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
412 Refactor the JavaScript code to have a distinction between files
413 and scripts. Show the script in the context of the HTML file if
414 it's URL is the same as the frame's main resource. At the time of
415 the disParseScript callback the main resource might not be completely
416 loaded, but Drosera needs to show whatever we have at the time. Once
417 the main resource is finished, update the file source and reload the file.
419 * Drosera/DebuggerDocument.m:
420 (-[DebuggerDocument pause]):
421 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
422 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
423 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
424 * Drosera/debugger.css:
425 * Drosera/debugger.js:
427 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
431 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
432 Teach prepare-ChangeLog to operate on a list of files or directories
434 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
435 * Scripts/svn-create-patch: Code refactoring.
437 2006-06-24 James G. Speth <speth@end.com>
441 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
442 add a way to build Objective-C test cases in HTML
444 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
445 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
446 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
449 * DumpRenderTree/ObjCPlugin.h:
450 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
451 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
452 (+[ObjCPlugin webScriptNameForSelector:]):
453 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
454 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
455 (+[NSObject allowsScriptsFullAccess]):
456 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
457 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
458 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
459 (+[JSObjC webScriptNameForSelector:]):
460 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
461 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
462 (-[JSObjC log:]): access to NSLog function
463 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
464 (-[JSObjC classOfObject:]):
465 (-[JSObjC classNameOfObject:]):
467 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
471 * DrawTest/Info.plist: Added copyright statement.
472 * Drosera/Info.plist: Ditto.
473 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
474 * WebKitLauncher/Info.plist: Ditto.
476 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
478 Build fix. Reviewed by NOBODY.
480 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
481 devenv.com not available in VC++ Express installations
483 * Scripts/webkitdirs.pm: Backed out previous change.
485 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
489 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
490 devenv.com not available in VC++ Express installations
492 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
494 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
498 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
499 A bunch of fixes to run-webkit-httpd
501 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
502 127.0.0.1. Useful for testing with WinIE running on another machine;
503 - don't call checkFrameworks() - we do not need a built WebKit here;
504 - changed tabs to spaces;
505 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
506 interactive mode, they were a hassle when testing with several browsers, as one
507 had to wait for connection to expire);
508 - remove httpd.pid when done, so that Apache doesn't complain next time.
510 * Scripts/run-webkit-httpd:
512 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
514 Reviewed by ggaren, landed by ap.
516 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
517 Complete DOMUIEvent Obj-C API to reflect UIEvent
519 Add function to enable logging of all events of one DOM node to stdout.
521 * DumpRenderTree/EventSendingController.h:
522 * DumpRenderTree/EventSendingController.m:
523 (+[EventSendingController initialize]):
524 (+[EventSendingController isSelectorExcludedFromWebScript:]):
525 (+[EventSendingController webScriptNameForSelector:]):
526 (-[EventSendingController enableDOMUIEventLogging:]):
527 (-[EventSendingController handleEvent:]):
529 2006-06-23 Kevin Decker <kdecker@apple.com>
531 Reviewed by Tim Hatcher.
533 - Made column headers in Drosera resizable.
535 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
539 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
540 Another case error preventing build
542 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
544 2006-06-22 Timothy Hatcher <timothy@apple.com>
548 Adds a native toolbar to Drosera to be a good citizen.
549 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
550 Fixes a dragging bug from an earlier fix to the divider code.
551 Fixes some poor indenting in debugger.js.
553 * Drosera/DebuggerDocument.h:
554 * Drosera/DebuggerDocument.m:
555 (-[DebuggerDocument stepInto]):
556 (-[DebuggerDocument pause:]):
557 (-[DebuggerDocument resume:]):
558 (-[DebuggerDocument stepInto:]):
559 (-[DebuggerDocument windowDidLoad]):
560 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
561 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
562 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
563 (-[DebuggerDocument validateUserInterfaceItem:]):
564 * Drosera/English.lproj/MainMenu.nib/classes.nib:
565 * Drosera/English.lproj/MainMenu.nib/info.nib:
566 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
567 * Drosera/debugger.css:
568 * Drosera/debugger.html:
569 * Drosera/debugger.js:
570 * Drosera/viewer.html:
572 2006-06-22 Kevin Decker <kdecker@apple.com>
576 - Added pressed column header image.
577 - Made column headers behave more like Xcode.
579 2006-06-22 Timothy Hatcher <timothy@apple.com>
581 Reviewed by Kevin Decker.
583 Code clean up. Adds the stackframe and makes only the body
584 of the tables scrollable keeping the header visible.
585 Shows the current function stack when paused or stepping.
587 * Drosera/DebuggerApplication.m:
588 (-[DebuggerApplication awakeFromNib]):
589 (-[DebuggerApplication numberOfRowsInTableView:]):
590 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
591 * Drosera/DebuggerDocument.h:
592 * Drosera/DebuggerDocument.m:
593 (-[DebuggerDocument dealloc]):
594 (-[DebuggerDocument currentFrame]):
595 (-[DebuggerDocument currentFrameFunctionName]):
596 (-[DebuggerDocument currentFunctionStack]):
597 (-[DebuggerDocument log:]):
598 (-[DebuggerDocument windowWillClose:]):
599 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
600 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
601 * Drosera/Drosera.xcodeproj/project.pbxproj:
602 * Drosera/debugger.css:
603 * Drosera/debugger.html:
604 * Drosera/debugger.js:
606 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
610 Teach run-webkit-httpd to properly look for webkitdirs.pm.
612 * Scripts/run-webkit-httpd:
614 2006-06-22 Kevin Decker <kdecker@apple.com>
616 Reviewed by Tim Hatcher.
618 - More progress toward Javascript Debugger.
619 - Added some new images to the project.
621 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
625 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
626 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
628 * Scripts/run-webkit-httpd: Added.
630 2006-06-20 Timothy Hatcher <timothy@apple.com>
634 Builds Drosera and a launcher to include with the nightly.
636 * BuildSlaveSupport/build-launcher-app:
637 * BuildSlaveSupport/build-launcher-dmg:
638 * Drosera/Drosera.xcodeproj/project.pbxproj:
639 * Drosera/Info.plist:
640 * Drosera/LauncherInfo.plist: Added.
641 * Drosera/launcher.m: Added.
642 (displayErrorAndQuit):
643 (checkMacOSXVersion):
646 * Scripts/build-drosera
647 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
648 * WebKitLauncher/main.m:
651 2006-06-20 Timothy Hatcher <timothy@apple.com>
655 Adds a JavaScript debugger, called Drosera. Named after
656 a genus of bug eating plants.
658 * Drosera/DebuggerApplication.h: Added.
659 * Drosera/DebuggerApplication.m: Added.
660 (-[DebuggerApplication applicationDidFinishLaunching:]):
661 (-[DebuggerApplication serverLoaded:]):
662 (-[DebuggerApplication serverUnloaded:]):
663 (-[DebuggerApplication awakeFromNib]):
664 (-[DebuggerApplication showAttachPanel:]):
665 (-[DebuggerApplication attach:]):
666 (-[DebuggerApplication numberOfRowsInTableView:]):
667 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
668 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
669 (-[DebuggerApplication tableViewSelectionDidChange:]):
670 * Drosera/DebuggerDocument.h: Added.
671 * Drosera/DebuggerDocument.m: Added.
672 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
673 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
674 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
675 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
676 (-[DebuggerDocument initWithServerName:]):
677 (-[DebuggerDocument windowWillClose:]):
678 (-[DebuggerDocument dealloc]):
679 (-[DebuggerDocument isPaused]):
680 (-[DebuggerDocument pause]):
681 (-[DebuggerDocument resume]):
682 (-[DebuggerDocument step]):
683 (-[DebuggerDocument windowNibName]):
684 (-[DebuggerDocument windowDidLoad]):
685 (-[DebuggerDocument switchToServerNamed:]):
686 (-[DebuggerDocument applicationTerminating:]):
687 (-[DebuggerDocument serverConnectionDidDie:]):
688 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
689 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
690 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
691 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
692 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
693 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
694 * Drosera/Drosera.pch: Added.
695 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
696 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
697 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
698 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
699 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
700 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
701 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
702 * Drosera/Images/breakPoint.tif: Added.
703 * Drosera/Images/breakPointDisabled.tif: Added.
704 * Drosera/Images/continue.tif: Added.
705 * Drosera/Images/finishFunction.tif: Added.
706 * Drosera/Images/glossyFooterFill.tif: Added.
707 * Drosera/Images/glossyHeader.png: Added.
708 * Drosera/Images/gradientBackground.png: Added.
709 * Drosera/Images/gutter.png: Added.
710 * Drosera/Images/navLeftDisabled.png: Added.
711 * Drosera/Images/navLeftNormal.png: Added.
712 * Drosera/Images/navLeftPressed.png: Added.
713 * Drosera/Images/navRightDisabled.png: Added.
714 * Drosera/Images/navRightNormal.png: Added.
715 * Drosera/Images/navRightPressed.png: Added.
716 * Drosera/Images/pause.tif: Added.
717 * Drosera/Images/popUpArrows.png: Added.
718 * Drosera/Images/programCounter.tif: Added.
719 * Drosera/Images/programCounterBreakPoint.tif: Added.
720 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
721 * Drosera/Images/run.tif: Added.
722 * Drosera/Images/splitterBar.tif: Added.
723 * Drosera/Images/splitterDimple.tif: Added.
724 * Drosera/Images/step.tif: Added.
725 * Drosera/Images/stepOver.tif: Added.
726 * Drosera/Images/stop.tif: Added.
727 * Drosera/Images/toolbarBackground.png: Added.
728 * Drosera/Info.plist: Added.
729 * Drosera/debugger.css: Added.
730 * Drosera/debugger.html: Added.
731 * Drosera/debugger.js: Added.
732 * Drosera/main.m: Added.
734 * Drosera/viewer.css: Added.
735 * Drosera/viewer.html: Added.
737 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
741 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
742 Teach svn-apply and svn-unapply to use full path names
744 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
745 * Scripts/svn-unapply: Ditto.
747 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
751 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
752 DumpRenderTree should be able to keep URL history during runs
754 Test: LayoutTests/fast/history/clicked-link-is-visited.html
756 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
757 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
758 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
759 it is currently nil since keepWebHistory() might be called more than once incidentally
761 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
762 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
764 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
768 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
769 Make prepare-ChangeLog faster
771 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
772 then save the diff output for reuse. Keep a status variable if changes are made to
773 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
774 WebCore is updated. Added -h|--help command-line switch and help message. Move test
775 for no changed files closer to the beginning of the program.
777 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
779 Reviewed and landed by ap.
781 - make DumpRenderTree build
783 * DumpRenderTree/DumpRenderTree.m:
784 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
785 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
786 (-[LayoutTestController setWindowIsKey:]): Ditto.
787 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
789 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
791 Reviewed by Darin, landed by Geoff.
793 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
794 Use pathcmp() when sorting paths in svn-create-patch
796 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
797 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
798 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
799 switch and printUsage() subroutine.
801 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
805 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
806 Teach svn-create-patch to sort its output
808 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
809 by text files first, then by binary files.
811 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
815 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
816 Teach svn-create-patch and friends to work with binary files
818 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
819 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
820 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
822 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
826 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
827 Performance improvement for svn-create-patch
829 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
831 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
835 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
836 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
838 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
839 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
841 2006-06-03 Steve Falkenburg <sfalken@apple.com>
845 Switch Spinneret to new hosting mechanism
847 * Spinneret/Spinneret.sln:
848 * Spinneret/Spinneret/Spinneret.cpp:
849 (SpinneretWebHost::updateAddressBar):
850 (SpinneretWebHost::QueryInterface):
851 (SpinneretWebHost::AddRef):
852 (SpinneretWebHost::Release):
859 * Spinneret/Spinneret/Spinneret.h:
860 (SpinneretWebHost::didStartProvisionalLoadForFrame):
861 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
862 (SpinneretWebHost::didFailProvisionalLoadWithError):
863 (SpinneretWebHost::didCommitLoadForFrame):
864 (SpinneretWebHost::didReceiveTitle):
865 (SpinneretWebHost::didReceiveIcon):
866 (SpinneretWebHost::didFinishLoadForFrame):
867 (SpinneretWebHost::didFailLoadWithError):
868 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
869 (SpinneretWebHost::willPerformClientRedirectToURL):
870 (SpinneretWebHost::didCancelClientRedirectForFrame):
871 (SpinneretWebHost::willCloseFrame):
872 (SpinneretWebHost::windowScriptObjectAvailable):
873 * Spinneret/Spinneret/Spinneret.vcproj:
875 2006-06-02 Steve Falkenburg <sfalken@apple.com>
881 * Scripts/build-webkit:
883 2006-06-01 Anders Carlsson <acarlsson@apple.com>
887 * DumpRenderTree/DumpRenderTree.m:
888 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
889 (-[LayoutTestController clearBackForwardList]):
890 Add clearBackForwardList function to layoutTestController
892 2006-06-01 Anders Carlsson <acarlsson@apple.com>
896 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
897 slow-utf8-text layout test case failing (no longer deterministic?)
899 * DumpRenderTree/DumpRenderTree.m:
901 Dump as text when the response MIME type is text/plain
903 2006-05-26 Steve Falkenburg <sfalken@apple.com>
907 * Spinneret/Spinneret.sln:
908 * Spinneret/Spinneret/Spinneret.vcproj:
910 2006-05-24 Geoffrey Garen <ggaren@apple.com>
914 Added 'GCController' to DRT to support garbage collection layout tests.
916 GCController.collect() and GCController.collectOnAlternateThread() do
917 what you would expect. The latter takes a boolean argument sepcifying
918 whether to wait for garbage collection to finish before continuing to
921 * DumpRenderTree/DumpRenderTree.m:
922 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
923 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
924 * DumpRenderTree/GCController.h: Added.
925 * DumpRenderTree/GCController.mm: Added.
926 (+[GCController isSelectorExcludedFromWebScript:]):
927 (+[GCController webScriptNameForSelector:]):
928 (-[GCController collect]):
929 (-[GCController collectOnAlternateThread:]):
931 2006-05-23 John Sullivan <sullivan@apple.com>
935 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
936 Newer Xcode removed some obsolete cruft
938 * DumpRenderTree/TextInputController.m:
939 (-[TextInputController textInput]):
940 added (id) cast to make newer compiler happy
942 2006-05-22 Steve Falkenburg <sfalken@apple.com>
948 * Spinneret/Spinneret.sln:
950 2006-05-18 Darin Adler <darin@apple.com>
952 - try to fix no-SVG, no-XPATH build, again
954 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
956 2006-05-18 Darin Adler <darin@apple.com>
958 - try to fix no-SVG, no-XPATH build
960 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
961 since the former is what's used in the WebCore project now.
963 2006-05-17 Darin Adler <darin@apple.com>
965 * Scripts/do-webcore-rename: Some more future renames.
967 2006-05-16 Adele Peterson <adele@apple.com>
971 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
972 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
974 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
976 * Scripts/install-unix-extras: Changed to be executable and removed
977 text in the file generated by "svn diff".
978 * Scripts/regenerate-makefiles: Ditto.
980 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
982 Reviewed by Darin, landed by ap.
984 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
985 Bakefiles (and generated Makefiles) for wx and gdk ports
987 * Scripts/install-unix-extras: Added.
988 * Scripts/regenerate-makefiles: Added.
990 2006-05-10 Steve Falkenburg <sfalken@apple.com>
994 Fix registry usage from perl script. Turns out libwin32's
995 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
997 * Scripts/install-win-extras:
999 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1002 Add load ended callback.
1006 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1007 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1008 * Spinneret/Spinneret/Spinneret.cpp:
1009 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1010 (_tWinMain): Load built-in test content here instead of in lower-level code.
1011 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1013 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1017 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1019 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1023 * Scripts/check-dom-results:
1024 Add XPath to the list of results.
1026 2006-05-08 Darin Adler <darin@apple.com>
1028 * Scripts/do-webcore-rename: Add another rename.
1030 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1034 Spinneret now links against the new separate lib.
1036 * Spinneret/Spinneret.sln:
1037 * Spinneret/Spinneret/Spinneret.cpp:
1038 (SpinneretWebHost::updateLocationBar):
1040 * Spinneret/Spinneret/Spinneret.h:
1041 * Spinneret/Spinneret/Spinneret.vcproj:
1042 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1043 * Spinneret/Spinneret/WebFrame.h: Removed.
1044 * Spinneret/Spinneret/WebView.cpp: Removed.
1045 * Spinneret/Spinneret/WebView.h: Removed.
1047 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1051 Modify error reporting registry keys to disable Dr. Watson.
1052 This allows Javascript test cases to complete without blocking UI.
1054 * Scripts/install-win-extras:
1055 - Use Perl Win32 registry functions to disable blocking UI
1058 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1062 Turned off C++ exceptions, fixed memory leaks
1064 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1065 * Spinneret/Spinneret.sln:
1066 * Spinneret/Spinneret/Spinneret.cpp:
1068 * Spinneret/Spinneret/Spinneret.vcproj:
1069 * Spinneret/Spinneret/WebFrame.cpp:
1070 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1071 (WebKit::WebFrame::WebFrame):
1072 (WebKit::WebFrame::~WebFrame):
1073 (WebKit::WebFrame::impl):
1074 * Spinneret/Spinneret/WebFrame.h:
1075 * Spinneret/Spinneret/WebView.cpp:
1076 * Spinneret/Spinneret/stdafx.h:
1078 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1082 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1083 DumpRenderTree should reset the URL cache
1085 * DumpRenderTree/DumpRenderTree.m:
1086 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1088 2006-04-28 Eric Seidel <eseidel@apple.com>
1090 Reviewed by andersca.
1092 * Scripts/do-webcore-rename: rename KCanvasContainer too
1093 * Scripts/run-webkit-tests: output total time
1095 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1097 Reviewed by hyatt. Landed by eseidel.
1099 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1100 Enable detection of excessive repainting with DumpRenderTree
1102 * DumpRenderTree/DumpRenderTree.m:
1103 (-[LayoutTestController display]):
1105 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1109 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1110 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1112 * DumpRenderTree/DumpRenderTree.m:
1113 (dump): If display() has been called during the test, grab the pixels from
1114 the view, after letting it repaint invalidated rects.
1115 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1116 (-[LayoutTestController display]): Added. Calls -display on the view
1117 and changes the subsequent behavior of dump().
1120 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1124 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1125 Update iExploder to 1.3.2
1127 Test case numbers are not compatible with iExploder 1.2.
1129 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1131 * iExploder/CHANGELOG.txt: Added.
1132 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1133 * iExploder/README.txt: Added some performance hints.
1135 * iExploder/htdocs/config.rb: Added.
1136 * iExploder/htdocs/cssproperties.in:
1137 * iExploder/htdocs/cssvalues.in:
1138 * iExploder/htdocs/htmlattrs.in:
1139 * iExploder/htdocs/htmltags.in:
1140 * iExploder/htdocs/iexploder.cgi:
1141 - Updated to support the latest HTML & CSS tags, properties, and values from both
1142 the WebKit and Mozilla CVS tree
1143 - cssproperties.in cleanup
1144 - Modularized the code a little bit.
1145 - Fix subtest bug that was causing last 5 tags to be missed
1146 - new subtest algorithm to deal better with larger tag counts
1147 - default HTML_MAX_TAGS increased from 32 to 96
1149 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1150 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1151 alternative to our run-iexploder-tests.
1152 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1153 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1154 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1156 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1158 - commit Scripts/run-mangleme-tests (missed it the previous time).
1160 2006-04-18 Darin Adler <darin@apple.com>
1162 - attempt to fix Windows buildbot
1164 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1165 We need a better long-term solution for this.
1167 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1171 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1172 Integrate mangleme test script.
1174 Works in a similar way to run-iexploder-tests.
1176 * Scripts/run-mangleme-tests: Added.
1178 * mangleme/Makefile: Added.
1179 * mangleme/README: Added.
1180 * mangleme/mangle.cgi.c: Added.
1181 * mangleme/remangle.cgi.c: Added.
1182 * mangleme/tags.h: Added.
1184 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1188 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1189 An easier way to save iExploder tests.
1191 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1193 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1197 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1198 Integrate iExploder test script.
1200 This script generates artificially mangled HTML documents, to test that the browser
1201 doesn't crash when handling ill-formed code.
1204 run-iexploder-tests Open an interactive test page in Safari+ToT.
1205 run-iexploder-tests nnnnn Open test #nnnnn.
1207 Command line options:
1208 --guard-malloc (-g) Use Guard Malloc.
1209 --port=nnnn Run Apache on port nnnn (default is 8000).
1211 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1212 (thus, Apache is still running), e.g.:
1213 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1215 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1217 * Scripts/run-iexploder-tests: Added.
1219 * iExploder/LICENSE.txt: Added.
1220 * iExploder/README.txt: Added.
1221 * iExploder/htdocs: Added.
1222 * iExploder/htdocs/cssproperties.in: Added.
1223 * iExploder/htdocs/cssvalues.in: Added.
1224 * iExploder/htdocs/htmlattrs.in: Added.
1225 * iExploder/htdocs/htmltags.in: Added.
1226 * iExploder/htdocs/htmlvalues.in: Added.
1227 * iExploder/htdocs/iexploder.cgi: Added.
1228 * iExploder/htdocs/index.html: Added.
1229 * iExploder/tools: Added.
1230 * iExploder/tools/lasthit.rb: Added.
1231 * iExploder/tools/osx_last_crash.rb: Added.
1233 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1237 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1238 Restore color profile after a crash
1240 * DumpRenderTree/DumpRenderTree.m:
1241 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1242 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1243 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1244 and this code may change significantly.
1246 (main): Install crashHandler.
1248 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1249 (CFStringGetCStringPtr should NEVER EVER be used!).
1251 2006-04-15 Darin Adler <darin@apple.com>
1255 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1256 Seems xmlsoft.org's HTTP no longer has what we need.
1258 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1260 Rubber-stamped by Darin.
1262 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1263 upload-disk-image stage on buildslaves fail with "No space left on device"
1265 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1266 'hdiutil create'. This creates the initial disk image based on the size of
1267 the source folder, and copies the contents to the new disk image. The file
1268 extension on the temporary uncompressed disk image has also been altered from
1269 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1270 the extension is not ".dmg".
1272 2006-04-12 Eric Seidel <eseidel@apple.com>
1276 * Scripts/update-webkit: Make this return non-zero when svn fails.
1278 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1282 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1283 Make HTTP tests using Perl use .pl extension
1285 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1286 removed support for .text. Reduced the number of places that explicitly list supported
1287 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1290 2006-04-06 Darin Adler <darin@apple.com>
1292 Changes requested by Mark Rowe.
1294 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1295 trash at the end of the file.
1296 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1298 * WebKitLauncher/main.m: Removed trash at end of file.
1300 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1303 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1305 Reviewed by Darin, landed by Maciej.
1307 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1308 and bundles the WebKit frameworks inside it.
1309 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1310 containing WebKit.app.
1311 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1312 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1313 number of the SVN working copy.
1314 * WebKitLauncher: Added.
1315 * WebKitLauncher/Info.plist: Added.
1316 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1317 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1318 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1319 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1320 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1321 the nightly launcher.
1322 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1323 It sets up the environment to have Safari use the bundled frameworks
1324 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1325 * WebKitLauncher/start.html: Added.
1326 * WebKitLauncher/webkit.icns: Added.
1328 2006-04-05 Darin Adler <darin@apple.com>
1332 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1333 are allowed to have global initializers.
1335 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1337 Reviewed by OMG BETH
1339 * Scripts/run-testkjs:
1340 - pipe STDERR to /dev/null by default; new --verbose option overrides
1342 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1343 - output run command in a format that can be copied and pasted into the
1344 terminal to run manually
1346 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1348 Reviewed by harrison
1350 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1351 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1353 Tell the source that the drag is over after the drag is performed, not before.
1355 * DumpRenderTree/EventSendingController.m:
1356 (-[EventSendingController mouseUp]):
1358 2006-04-01 Darin Adler <darin@apple.com>
1362 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1363 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1364 elements in that array are not strings.
1366 2006-03-31 Darin Adler <darin@apple.com>
1368 Reviewed by John Sullivan.
1370 - added a "--reset-results" option to run-webkit-tests so you can reset
1371 the results without first deleting expected results
1372 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1374 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1375 more logical. Moved all the subroutines to the end of the file. Added a
1378 * DumpRenderTree/DumpRenderTree.m:
1379 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1380 to generate new output for all tests it runs.
1381 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1382 the --dump-all-pixels option is passed. Also tightened up the image dumping
1383 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1384 with code to save and restore the context.
1386 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1387 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1389 2006-03-30 Tim Omernick <timo@apple.com>
1391 Reviewed by NOBODY (just fixing copyrights)
1393 * DumpRenderTree/ObjCPlugin.h:
1395 * DumpRenderTree/ObjCPlugin.m: ditto
1396 * DumpRenderTree/ObjCPluginFunction.h: ditto
1397 * DumpRenderTree/ObjCPluginFunction.m: ditto
1399 2006-03-30 Tim Omernick <timo@apple.com>
1403 * DumpRenderTree/DumpRenderTree.m:
1404 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1405 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1406 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1407 exposed to JS as a callable object.
1409 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1410 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1412 * DumpRenderTree/ObjCPlugin.h: Added.
1413 * DumpRenderTree/ObjCPlugin.m: Added.
1414 * DumpRenderTree/ObjCPluginFunction.h: Added.
1415 * DumpRenderTree/ObjCPluginFunction.m: Added.
1417 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1418 Added a new method, "removeDefaultMethod", which removes the default method from the
1419 plugin object's class. The effect is that the plugin object is mutated from a callable
1420 function to a simple object.
1422 Handle "removeDefaultMethod".
1423 (pluginInvokeDefault):
1424 Made the default method actually do something (return 1).
1426 2006-03-30 Eric Seidel <eseidel@apple.com>
1430 Remove WebFrame::viewImpl(), setMainFrame on page.
1432 * Spinneret/Spinneret/WebFrame.cpp:
1433 (WebKit::WebFrame::WebFrame):
1434 * Spinneret/Spinneret/WebFrame.h:
1435 * Spinneret/Spinneret/WebView.cpp:
1436 (WebKit::WebView::mouseMoved):
1437 (WebKit::WebView::mouseDown):
1438 (WebKit::WebView::mouseUp):
1439 (WebKit::WebView::mouseDoubleClick):
1440 (WebKit::WebViewWndProc):
1442 2006-03-30 Eric Seidel <eseidel@apple.com>
1446 Fix html editing input & basic form submission.
1448 * Spinneret/Spinneret/WebFrame.cpp:
1449 (WebKit::WebFrame::submitForm):
1450 (WebKit::WebFrame::loadURL):
1451 * Spinneret/Spinneret/WebFrame.h:
1452 * Spinneret/Spinneret/WebView.cpp:
1453 (WebKit::WebView::keyPress):
1454 (WebKit::WebViewWndProc):
1456 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1460 <rdar://problem/4402375>
1461 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1463 Added an option to draw the selectionRect.
1465 * DumpRenderTree/DumpRenderTree.m:
1467 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1468 (-[LayoutTestController dumpSelectionRect]):
1471 2006-03-29 Darin Adler <darin@apple.com>
1473 Reviewed by Tim Hatcher.
1475 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1477 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1479 2006-03-28 Eric Seidel <eseidel@apple.com>
1483 * Scripts/check-for-global-initializers: remove svg exceptions.
1485 2006-03-28 Timothy Hatcher <timothy@apple.com>
1489 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1491 * Scripts/check-for-global-initializers:
1493 2006-03-28 Timothy Hatcher <timothy@apple.com>
1495 Build fix. Turn off uninitialized warnings for the first block of code.
1497 * Scripts/check-for-global-initializers:
1499 2006-03-28 Darin Adler <darin@apple.com>
1503 * Scripts/check-for-global-initializers: Added.
1505 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1507 Reviewed by darin. Landed by eseidel.
1509 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1510 Add repaint testing support to run-webkit-tests
1512 * DumpRenderTree/DumpRenderTree.m:
1513 (main): Added --repaint and --horizontal-sweep options.
1514 (dump): Repaint line-by-line or column-by-column when the appropriate option
1516 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1517 and repaintSweepHorizontally() methods to layoutTestController.
1518 (-[LayoutTestController testRepaint]):
1519 (-[LayoutTestController repaintSweepHorizontally]):
1521 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1522 to force these settings on tests that do not ask for them.
1524 2006-03-24 Eric Seidel <eseidel@apple.com>
1530 * Spinneret/Spinneret/WebFrame.cpp:
1531 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1533 2006-03-21 Beth Dakin <bdakin@apple.com>
1537 Add support for keyDown() to DumpRenderTree.
1539 * DumpRenderTree/DumpRenderTree.m:
1540 (main): Set the preference for tabbing to links.
1541 * DumpRenderTree/EventSendingController.m:
1542 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1543 (+[EventSendingController webScriptNameForSelector:]):
1544 (-[EventSendingController keyDown:withModifiers:]):
1546 2006-03-20 Eric Seidel <eseidel@apple.com>
1552 * Spinneret/Spinneret/Spinneret.vcproj:
1553 * Spinneret/Spinneret/WebFrame.h:
1554 * Spinneret/Spinneret/WebView.cpp:
1555 (WebKit::WebView::mouseMoved):
1556 (WebKit::WebView::mouseDown):
1557 (WebKit::WebView::mouseUp):
1558 (WebKit::WebView::mouseDoubleClick):
1559 (WebKit::WebView::keyPress):
1560 (WebKit::WebViewWndProc):
1562 2006-03-19 Darin Adler <darin@apple.com>
1566 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1567 we can test it in layout tests. We don't really need tests that run with
1568 pop-up blocking off at the moment. If we do some day, we can add some
1569 API for turning it off in the layout test controller.
1571 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1572 don't ignore the leak; it should no longer show up.
1574 2006-03-17 Anders Carlsson <andersca@mac.com>
1578 * Scripts/install-win-extras:
1579 Fetch "Program Files" location from the environment.
1581 2006-03-17 Eric Seidel <eseidel@apple.com>
1585 Fix Spinneret to pass Events as const & not as pointers.
1587 * Spinneret/Spinneret/WebView.cpp:
1588 (WebKit::WebView::mouseMoved):
1589 (WebKit::WebView::mouseDown):
1590 (WebKit::WebView::mouseUp):
1591 (WebKit::WebView::mouseDoubleClick):
1592 (WebKit::WebView::keyPress):
1594 2006-03-17 Eric Seidel <eseidel@apple.com>
1596 Reviewed by justing.
1598 Add support for basic HTML editing.
1600 * Spinneret/Spinneret/WebView.cpp:
1601 (WebKit::WebView::WebView):
1602 (WebKit::WebView::keyPress):
1604 2006-03-17 Eric Seidel <eseidel@apple.com>
1606 Rubber-stamped by ggaren.
1608 Break DumpRenderTree.m up into several files to make the code more readable.
1610 * DumpRenderTree/DumpRenderTree.h: Added.
1611 * DumpRenderTree/DumpRenderTree.m:
1612 (doneLoading): new accessor function for "done" global.
1613 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1614 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1615 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1616 * DumpRenderTree/EditingDelegate.h: Added.
1617 * DumpRenderTree/EditingDelegate.m: Added.
1618 (-[EditingDelegate webViewDidChangeSelection:]):
1619 * DumpRenderTree/EventSendingController.h: Added.
1620 * DumpRenderTree/EventSendingController.m: Added.
1622 2006-03-16 Eric Seidel <eseidel@apple.com>
1626 Add resize, scroll event support.
1628 * Spinneret/Spinneret/WebView.cpp:
1629 (WebKit::WebView::mouseMoved):
1630 (WebKit::WebView::mouseDown):
1631 (WebKit::WebView::mouseUp):
1632 (WebKit::WebView::mouseDoubleClick):
1633 (WebKit::WebView::keyPress):
1634 (WebKit::WebViewWndProc):
1635 * Spinneret/Spinneret/WebView.h:
1637 2006-03-16 Eric Seidel <eseidel@apple.com>
1641 Make build-webkit print correctly to stdout on windows.
1643 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1645 2006-03-15 Eric Seidel <eseidel@apple.com>
1649 Fix eventSender.mouseClick() to update lastClick timestamp.
1651 * DumpRenderTree/DumpRenderTree.m:
1652 (-[EventSendingController mouseClick]):
1654 2006-03-15 Darin Adler <darin@apple.com>
1658 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1659 that had a lowercase "i" in it so this builds on case-sensitive
1662 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1666 Added run-testkjs and compare-timing-files scripts, to support super
1669 * Scripts/compare-timing-files: Added.
1670 * Scripts/run-testkjs: Added.
1672 2006-03-14 Eric Seidel <eseidel@apple.com>
1676 Make the URL bar relinquish focus on page load.
1678 * Spinneret/Spinneret/Spinneret.cpp:
1681 2006-03-14 Eric Seidel <eseidel@apple.com>
1685 Fix WebView to allow KeyFocus.
1686 Add handling of space and shift-space for scrolling.
1688 * Spinneret/Spinneret/WebView.cpp:
1689 (WebKit::scrollMessageForKey):
1690 (WebKit::WebViewWndProc):
1692 2006-03-10 Eric Seidel <eseidel@apple.com>
1696 Add scrolling support into Spinneret.
1698 * Spinneret/Spinneret/WebFrame.cpp:
1699 (WebKit::WebFrame::paint):
1700 * Spinneret/Spinneret/WebView.cpp:
1701 (WebKit::WebView::createWebView):
1702 (WebKit::calculateScrollDelta):
1703 (WebKit::scrollMessageForKey):
1704 (WebKit::WebViewWndProc):
1706 2006-03-13 Eric Seidel <eseidel@apple.com>
1710 Fix checksum generation on Intel machines.
1711 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1712 give a small speed boost now that it uses a shared buffer.
1714 * DumpRenderTree/DumpRenderTree.m:
1717 (md5HashStringForBitmap):
1718 * DumpRenderTree/ImageDiff.m:
1719 (computePercentageDifferent):
1721 2006-03-13 Darin Adler <darin@apple.com>
1723 Reviewed by Tim Hatcher.
1725 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1726 have it named httpd-1.3 instead.
1728 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1730 Fix proposed by Mitz Pettel, reviewed by Darin.
1732 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1733 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1735 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1736 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1739 2006-03-09 Darin Adler <darin@apple.com>
1741 Reviewed by John Sullivan.
1743 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1744 memory leak in the plug-in tests
1746 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1747 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1748 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1750 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1751 Moved the browser global in here since it's declared in this file's header.
1752 Changed the code to set up the pluginClass structure to not use function
1753 pointer casts. Those are dangerous because they can hide many types of mismatch.
1754 And indeed when I did this I discovered that many functions were missing their
1755 boolean return values or had parameter declarations with the wrong types.
1756 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1757 clarity. Added boolean return value: return true when successful and false when not.
1758 (pluginSetProperty): Added boolean return value, return false since we have no
1759 properties we can set.
1760 (pluginInvoke): Added boolean return value. Return true when successful and false
1761 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1762 return value from calling the browser. Changed code to put the strings in malloc
1763 buffers instead of relying on GCC's extension that allows variable-sized arrays
1765 (pluginInvokeDefault): Added boolean return value, return false since we have no
1766 default function to call.
1767 (pluginInvalidate): Added missing parameter. Removed comment.
1768 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1769 to cast the result of malloc.
1770 (pluginDeallocate): Removed uneeded cast.
1772 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1773 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1774 that match NPObject's fields. Removed unused NPWindow pointer.
1776 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1778 Test: fast/events/event-sender-mouse-click.html
1782 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1783 DRT hangs when doing eventSender.mouseDown on native widgets
1785 * DumpRenderTree/DumpRenderTree.m:
1786 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1787 (-[EventSendingController mouseClick]): Simulates a click in a native
1788 widget by queueing a mouseUp before sending the mouseDown, so that
1789 the widget's mouse tracking event loop doesn't hang indefinitely.
1791 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1795 - make link clicks work by handling link click requests
1798 * Spinneret/Spinneret/Spinneret.cpp:
1799 (updateLocationBar):
1800 * Spinneret/Spinneret/Spinneret.h:
1801 * Spinneret/Spinneret/WebFrame.cpp:
1802 (WebKit::WebFrame::WebFrame):
1803 (WebKit::WebFrame::openURL):
1804 (WebKit::WebFrame::loadURL):
1805 * Spinneret/Spinneret/WebFrame.h:
1807 2006-03-08 Eric Seidel <eseidel@apple.com>
1811 Focus URL bar on Spinneret launch, remove border from WebView.
1812 Stop WebFrame from deleting the job (prevent crash).
1814 * Spinneret/Spinneret/Spinneret.cpp:
1816 * Spinneret/Spinneret/WebFrame.cpp:
1817 (WebKit::WebFrame::receivedAllData):
1818 (WebKit::WebFrame::paint):
1819 * Spinneret/Spinneret/WebView.cpp:
1820 (WebKit::WebView::createWebView):
1822 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1826 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1827 (pluginInvoke): Added a method to test getURL.
1829 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1833 - load URLs, not file paths, in Spinneret
1835 * Spinneret/Spinneret/Spinneret.cpp:
1837 * Spinneret/Spinneret/Spinneret.vcproj:
1838 * Spinneret/Spinneret/WebFrame.cpp:
1839 (WebKit::WebFrame::loadURL):
1840 (WebKit::WebFrame::receivedData):
1841 (WebKit::WebFrame::receivedAllData):
1842 * Spinneret/Spinneret/WebFrame.h:
1843 * Spinneret/Spinneret/WebView.cpp:
1844 (WebKit::WebView::WebView):
1846 2006-03-08 Darin Adler <darin@apple.com>
1850 - fixed AppleScript layout test results to not be endian-dependent
1851 (Hyatt complained to me about this one)
1853 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1854 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1855 (which are endian-dependent).
1857 2006-03-07 Darin Adler <darin@apple.com>
1861 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1862 unwanted output while running layout tests
1864 * DumpRenderTree/DumpRenderTree.m:
1865 (checkedMalloc): Added.
1866 (checkedRealloc): Added.
1867 (makeLargeMallocFailSilently): Added.
1868 (main): Call makeLargeMallocFailSilently.
1870 2006-03-06 Darin Adler <darin@apple.com>
1872 * Scripts/do-webcore-rename: Add some more planned renaming.
1874 2006-03-06 Eric Seidel <eseidel@apple.com>
1878 * Spinneret/Spinneret/WebFrame.cpp:
1879 (WebKit::WebFrame::paint): force layout before painting
1881 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1885 Sent the windowNumber when sending events.
1886 Added leapForward so that we don't have to spend time waiting
1887 in layout tests that do mouse operations that require delays.
1889 * DumpRenderTree/DumpRenderTree.m:
1890 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1891 (+[EventSendingController webScriptNameForSelector:]):
1892 (-[EventSendingController currentEventTime]):
1893 (-[EventSendingController leapForward:]):
1894 (-[EventSendingController mouseDown]):
1895 (-[EventSendingController mouseUp]):
1896 (-[EventSendingController mouseMoveToX:Y:]):
1898 2006-03-05 Darin Adler <darin@apple.com>
1900 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1901 Script now works (after landing my two pending patches).
1903 2006-03-05 Darin Adler <darin@apple.com>
1905 - check in a script to do a "big" rename in WebCore
1906 (can be run whenever we're ready to do it)
1908 * Scripts/do-webcore-rename: Added.
1910 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1914 * Spinneret/Spinneret/WebFrame.cpp:
1915 (WebKit::WebFrame::loadFilePath): Close file when done.
1917 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1919 Reviewed by Darin, landed by ap.
1921 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1922 Mouse moved events do not work in DumpRenderTree
1924 Test: fast/events/event-sender-mouse-moved.html
1926 * DumpRenderTree/DumpRenderTree.m:
1927 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1929 2006-03-04 Eric Seidel <eseidel@apple.com>
1933 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1934 Disable background erase to avoid tearing.
1935 Fix potential memory smasher from extra long urls.
1937 * Spinneret/Spinneret/Spinneret.cpp:
1939 * Spinneret/Spinneret/Spinneret.vcproj:
1940 * Spinneret/Spinneret/WebFrame.cpp:
1941 (WebKit::WebFrame::loadFilePath):
1942 (WebKit::WebFrame::paint):
1943 * Spinneret/Spinneret/WebView.cpp:
1944 (WebKit::registerWebViewWithInstance):
1946 2006-03-04 Eric Seidel <eseidel@apple.com>
1950 Hang WebView pointer off of HWND (gets rid of global hack).
1951 Remove MessageBox displayed on url change.
1953 * Spinneret/Spinneret/Spinneret.cpp:
1956 * Spinneret/Spinneret/WebView.cpp:
1957 (WebKit::registerWebViewWithInstance):
1958 (WebKit::WebView::createWebView):
1959 (WebKit::WebViewWndProc):
1961 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
1965 Automatically kill httpd if it appears to be already running.
1967 * Scripts/run-webkit-tests:
1969 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1973 * Spinneret/Spinneret/WebFrame.cpp:
1974 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1976 2006-03-03 Eric Seidel <eseidel@apple.com>
1980 A few more fixes to make run-webkit-tests really work on win32.
1982 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1984 * Scripts/run-webkit-tests:
1986 2006-03-03 Eric Seidel <eseidel@apple.com>
1990 Make run-webkit-tests work on win32.
1992 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1994 (dumpRenderTreeMain):
1995 (dumpRenderTreeToStdOut):
1996 (serializeToStdOut):
1998 * Scripts/run-webkit-tests:
1999 * Scripts/webkitdirs.pm:
2000 * Spinneret/Spinneret/WebView.cpp:
2001 (WebKit::WebView::WebView):
2003 2006-03-03 Eric Seidel <eseidel@apple.com>
2007 Add WebFrame class (to hold Frame and FrameView).
2008 Add Location bar support to Spinneret.
2010 * Spinneret/Spinneret/Spinneret.cpp:
2015 * Spinneret/Spinneret/Spinneret.vcproj:
2016 * Spinneret/Spinneret/WebFrame.cpp: Added.
2017 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2018 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2019 (WebKit::WebFrame::WebFrame):
2020 (WebKit::WebFrame::loadFilePath):
2021 (WebKit::WebFrame::loadHTMLString):
2022 (WebKit::WebFrame::paint):
2023 (WebKit::WebFrame::impl):
2024 (WebKit::WebFrame::viewImpl):
2025 * Spinneret/Spinneret/WebFrame.h: Added.
2026 * Spinneret/Spinneret/WebView.cpp:
2027 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2028 (WebKit::WebView::WebView):
2029 (WebKit::WebView::windowHandle):
2030 (WebKit::WebView::mainFrame):
2031 (WebKit::WebView::mouseMoved):
2032 (WebKit::WebView::mouseDown):
2033 (WebKit::WebView::mouseUp):
2034 (WebKit::WebView::mouseDoubleClick):
2035 (WebKit::WebViewWndProc):
2036 * Spinneret/Spinneret/WebView.h:
2038 2006-03-02 Eric Seidel <eseidel@apple.com>
2042 * Spinneret/Spinneret/WebView.cpp:
2043 (WebKit::registerWebViewWithInstance):
2044 (WebKit::WebView::WebView):
2045 (WebKit::WebView::mouseMoved):
2046 (WebKit::WebView::mouseDown):
2047 (WebKit::WebView::mouseUp):
2048 (WebKit::WebView::mouseDoubleClick):
2049 (WebKit::WebViewWndProc):
2050 * Spinneret/Spinneret/WebView.h:
2052 2006-03-01 Eric Seidel <eseidel@apple.com>
2054 Reviewed by andersca.
2056 Make spinneret take advantage of the new GraphicsContextCairo.
2058 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2059 (main): updated to match style guidelines.
2060 * Spinneret/Spinneret/Spinneret.cpp:
2062 * Spinneret/Spinneret/WebView.cpp:
2063 (WebKit::registerWebViewWithInstance):
2064 (WebKit::WebView::WebView):
2065 (WebKit::WebView::~WebView):
2066 (WebKit::WebView::drawRect):
2068 * Spinneret/Spinneret/WebView.h:
2070 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2074 Give the events that eventSender sends a unique eventNumber
2076 * DumpRenderTree/DumpRenderTree.m:
2077 (-[EventSendingController mouseDown]):
2078 (-[EventSendingController mouseUp]):
2079 (-[EventSendingController mouseMoveToX:Y:]):
2081 2006-03-01 Eric Seidel <eseidel@apple.com>
2085 Add a stub win32 application to test WebCore drawing on windows.
2088 * Spinneret/Spinneret: Added.
2089 * Spinneret/Spinneret.sln: Added.
2090 * Spinneret/Spinneret/Resource.h: Added.
2091 * Spinneret/Spinneret/Spinneret.cpp: Added.
2097 * Spinneret/Spinneret/Spinneret.h: Added.
2098 * Spinneret/Spinneret/Spinneret.ico: Added.
2099 * Spinneret/Spinneret/Spinneret.rc: Added.
2100 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2101 * Spinneret/Spinneret/WebView.cpp: Added.
2102 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2103 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2104 (WebKit::registerWebViewWithInstance):
2105 (WebKit::WebView::createWebView):
2106 (WebKit::WebView::WebView):
2107 (WebKit::WebView::~WebView):
2108 (WebKit::WebView::drawRect):
2109 (WebKit::WebView::windowHandle):
2111 * Spinneret/Spinneret/WebView.h: Added.
2112 * Spinneret/Spinneret/small.ico: Added.
2113 * Spinneret/Spinneret/stdafx.cpp: Added.
2114 * Spinneret/Spinneret/stdafx.h: Added.
2116 2006-02-28 Eric Seidel <eseidel@apple.com>
2120 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2121 (main): add ability to dump render tree and read from a local file.
2123 2006-02-27 Eric Seidel <eseidel@apple.com>
2127 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2129 2006-02-27 Eric Seidel <eseidel@apple.com>
2133 Test new KConfig -> PlugInInfoStore change.
2134 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2136 * DumpRenderTree/DumpRenderTree.m:
2137 (main): load test netscape plugin
2138 * Scripts/run-webkit-tests: style update
2140 2006-02-24 Eric Seidel <eseidel@apple.com>
2144 Make DumpRenderTree link against icu.
2146 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2148 2006-02-24 Eric Seidel <eseidel@apple.com>
2152 Make DumpRenderTree link against libxml, etc.
2154 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2156 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2158 Reviewed and landed by Anders.
2160 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2161 getting called from the run loop, making the view render each test and thus slowing
2164 * DumpRenderTree/DumpRenderTree.m:
2165 (main): Set the offscreen window to not autodisplay.
2167 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2171 - Turn http tests back on by default.
2172 - Wait for Apache to actually start serving requests.
2173 - Get user id from a built-in variable rather than an external command;
2174 don't pass the group.
2176 * Scripts/run-webkit-tests:
2178 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2180 Suggested by Mitz Pettel, reviewed by Darin.
2182 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2183 can run CGIs even if the permissions are 700 or 600.
2185 2006-02-23 Darin Adler <darin@apple.com>
2187 Collaborating with Alexey.
2189 - turn off http tests by default until we figure out how to get them
2190 to run even when permissions on CGI files are 700 instead of 755
2192 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2194 2006-02-23 Eric Seidel <eseidel@apple.com>
2196 Add *.user to ignore list.
2198 2006-02-23 Eric Seidel <eseidel@apple.com>
2200 Remove binary file which shouldn't have been commited (and add to ignore list).
2202 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2203 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2205 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2209 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2211 2006-02-22 Eric Seidel <eseidel@apple.com>
2213 Reviewed by Tim Hatcher.
2215 Fix install-win-extras to not try to re-install setx if installed.
2217 * Scripts/install-win-extras:
2219 2006-02-22 Eric Seidel <eseidel@apple.com>
2221 One more file possibly missing from previous commit?
2223 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2224 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2226 2006-02-22 Eric Seidel <eseidel@apple.com>
2228 Reviewed by justing.
2230 Files missing from previous commit.
2232 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2233 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2235 2006-02-22 Eric Seidel <eseidel@apple.com>
2237 Rubber-stamped by justing.
2239 Corrected path for DumpRenderTree.intermediate files
2241 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2243 2006-02-22 Eric Seidel <eseidel@apple.com>
2245 Reviewed by justing.
2247 Fixed build-dumprendertree to exit with correct error codes.
2249 * Scripts/build-dumprendertree:
2251 2006-02-22 Eric Seidel <eseidel@apple.com>
2253 Reviewed by justing.
2255 Update build scripts to generalize building on Win32, and allow
2256 building of DumpRenderTree on Win32 from build-dumprendertree.
2258 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2260 * Scripts/build-dumprendertree:
2261 * Scripts/build-webkit:
2262 * Scripts/webkitdirs.pm:
2264 2006-02-22 Eric Seidel <eseidel@apple.com>
2268 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2269 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2270 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2271 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2272 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2273 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2275 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2276 * Scripts/build-webkit: make build-webkit cleanup after itself
2278 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2282 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2283 Some minor fixes to http tests.
2285 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2287 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2291 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2292 Would like to use locally installed Apache for testing.
2294 Added two run-webkit-tests options:
2295 --http (--nohttp) - whether to launch Apache (defaults to yes);
2296 --port - which port to listen on (defaults to 8000).
2298 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2299 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2300 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2302 Also added support for .shtml and .text files. Text files give an empty
2303 *-expected.txt, but a correct image.
2305 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2307 * Scripts/run-webkit-tests:
2309 2006-02-21 Darin Adler <darin@apple.com>
2311 Suggested by Mark Rowe.
2313 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2314 reporting leak counts.
2316 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2320 - Added install-win-extras script which installs some extra
2321 programs and libraries, and does Windows first-time setup.
2323 * Scripts/build-webkit: Add a newline between build results.
2324 * Scripts/install-win-extras: Added.
2326 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2330 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2331 DumpRenderTree should be able to load files via HTTP
2333 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2334 Handle tests starting with "http://" as real URLs, not file system paths.
2336 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2340 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2341 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2343 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2345 2006-02-18 Darin Adler <darin@apple.com>
2347 * Scripts/commit-log-editor: Added.
2349 2006-02-17 Eric Seidel <eseidel@apple.com>
2353 Make Win32 have the same default "WebKitBuild" directory behavior.
2355 * Scripts/build-webkit:
2356 * Scripts/webkitdirs.pm:
2358 2006-02-17 Eric Seidel <eseidel@apple.com>
2362 * Scripts/build-webkit: make win32 actually report errors
2364 2006-02-17 Eric Seidel <eseidel@apple.com>
2368 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2370 2006-02-17 Eric Seidel <eseidel@apple.com>
2374 * Scripts/run-webkit-tests: Ignore flash leaks
2376 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2380 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2381 Add drag and drop support to DumpRenderTree
2383 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2384 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2386 * DumpRenderTree/DumpRenderTree.m:
2388 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2389 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2390 (-[WaitUntilDoneDelegate webViewFocus:]):
2391 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2392 (+[LayoutTestController webScriptNameForSelector:]):
2393 (-[LayoutTestController setWindowIsKey:]):
2394 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2395 (-[EventSendingController init]):
2396 (-[EventSendingController mouseDown]):
2397 (-[EventSendingController mouseUp]):
2398 (-[EventSendingController mouseMoveToX:Y:]):
2400 (-[DumpRenderTreeWindow isKeyWindow]):
2401 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2402 (-[DumpRenderTreeDraggingInfo dealloc]):
2403 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2404 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2405 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2406 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2407 (-[DumpRenderTreeDraggingInfo draggedImage]):
2408 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2409 (-[DumpRenderTreeDraggingInfo draggingSource]):
2410 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2411 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2412 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2413 * DumpRenderTree/TextInputController.m:
2414 (-[TextInputController firstRectForCharactersFrom:length:]):
2415 (-[TextInputController characterIndexForPointX:Y:]):
2417 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2421 * DumpRenderTree/DumpRenderTree.m:
2422 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2423 Added a dummy method for the sake of LayoutTests/plugins/
2424 undefined-property-crash.html. (It tests a crash due to fallback
2425 object use. WebCore won't create a fallback object if the method is
2428 2006-02-14 Eric Seidel <eseidel@apple.com>
2432 * Scripts/run-webkit-tests: added --results-directory (-o) option
2434 2006-02-09 Eric Seidel <eseidel@apple.com>
2436 Rubber-stamped by mjs.
2438 Renamed split-class to split-file-by-class.
2440 * Scripts/build-webkit: Updated copyright.
2441 * Scripts/split-class: Removed.
2442 * Scripts/split-file-by-class: Added.
2444 2006-02-08 Eric Seidel <eseidel@apple.com>
2446 Rubber-stamped by mjs.
2448 Adding new script for splitting multi-class files.
2449 Also adding supporting perl module with space removing heuristics.
2451 * Scripts/SpacingHeuristics.pm: Added.
2452 * Scripts/build-drawtest: updated copyright header
2453 * Scripts/split-class: Added.
2455 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2457 Reviewed by thatcher
2459 Changes to test fix for:
2460 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2461 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2463 * DumpRenderTree/DumpRenderTree.m:
2464 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2465 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2466 (+[LayoutTestController webScriptNameForSelector:]):
2467 (-[LayoutTestController setWindowHasFocus:]):
2468 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2470 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2472 Reviewed by Timothy.
2474 Support automated testing of AppleScript "do JavaScript" command
2475 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2477 * DumpRenderTree/AppleScriptController.h: Added.
2478 * DumpRenderTree/AppleScriptController.m: Added.
2479 * DumpRenderTree/DumpRenderTree.m:
2480 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2481 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2483 2006-02-06 Eric Seidel <eseidel@apple.com>
2487 Fix build-webkit for use on win32 (unblocks buildbot usage).
2488 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2490 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2491 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2493 2006-02-06 Eric Seidel <eseidel@apple.com>
2495 Rubber-stamped by darin & mjs.
2497 Added new support directory for build slave scripts.
2498 Committing the first script, for use by the PLT's build slave.
2499 This script is used to kick of the PLT (Page Load Test) slave.
2501 * BuildSlaveSupport: Added.
2502 * BuildSlaveSupport/run-performance-tests: Added.
2504 2006-02-06 Eric Seidel <eseidel@apple.com>
2506 Rubber-stamped by darin.
2508 Adding setSourceDir for scripts stored in non-standard locations.
2510 * Scripts/webkitdirs.pm:
2512 2006-02-04 Darin Adler <darin@apple.com>
2514 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2515 Configuration files that say Development or Deployment in them.
2517 2006-02-04 Darin Adler <darin@apple.com>
2519 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2520 wrapper already in the directory.
2521 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2522 these haven't been working at all.
2523 * Scripts/svn-unapply: Ditto.
2525 2006-02-03 Timothy Hatcher <timothy@apple.com>
2529 Renamed configuration names to Debug, Release and Production.
2531 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2532 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2533 * Scripts/set-webkit-configuration:
2534 * Scripts/webkitdirs.pm:
2536 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2538 Reviewed by thatcher
2540 Enabled spell checking for layout tests.
2542 * DumpRenderTree/DumpRenderTree.m:
2545 2006-01-29 Darin Adler <darin@apple.com>
2547 * Scripts/svn-apply: Added comments about things we should do to improve.
2548 * Scripts/svn-create-patch: Ditto.
2549 * Scripts/svn-unapply: Ditto.
2551 2006-01-28 Darin Adler <darin@apple.com>
2553 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2554 already there, even if the checksum is correct.
2556 2006-01-27 Eric Seidel <eseidel@apple.com>
2560 * Scripts/run-webkit-tests: make new tests use absolute urls
2562 2006-01-27 Eric Seidel <eseidel@apple.com>
2566 make run-webkit-tests output total leaks count
2568 * Scripts/run-webkit-tests:
2570 2006-01-27 Eric Seidel <eseidel@apple.com>
2574 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2575 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2577 * Scripts/run-webkit-tests: fix --leaks to not crash
2579 2006-01-26 Eric Seidel <eseidel@apple.com>
2583 run-webkit-tests should produce a self-contained results directory
2584 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2586 * Scripts/run-webkit-tests: copy failing items to results dir.
2588 2006-01-23 Darin Adler <darin@apple.com>
2590 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2591 need script to update localizable strings file in WebKit
2593 * Scripts/update-webkit-localizable-strings: Added.
2595 2006-01-23 Darin Adler <darin@apple.com>
2597 - added a couple of scripts -- more about these two soon
2599 * Scripts/extract-localizable-strings: Added.
2600 * Scripts/merge-changelog: Added.
2602 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2606 Build fix. build-webkit dies with "invalid build action: (empty string)"
2608 * Scripts/build-webkit:
2609 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2611 2006-01-22 Eric Seidel <eseidel@apple.com>
2615 Fix --no-svg option to use XCode flags instead of gcc flags.
2617 * Scripts/build-webkit:
2619 2006-01-22 Eric Seidel <eseidel@apple.com>
2623 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2625 * Scripts/build-webkit:
2627 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2629 Reviewed by eseidel.
2631 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2632 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2634 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2635 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2637 2006-01-19 Darin Adler <darin@apple.com>
2639 * Scripts/report-include-statistics: Added a new script.
2641 2006-01-19 Timothy Hatcher <timothy@apple.com>
2643 * Scripts/build-webkit: include JavaScriptGlue in the build
2645 2006-01-19 Darin Adler <darin@apple.com>
2647 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2648 spaces in it by using the form of open that treats each argument as a string
2649 rather than backtick syntax for reading the output of the nm tool.
2651 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2655 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2656 detect if there are any new tests
2658 * Scripts/prepare-ChangeLog:
2660 2006-01-12 Darin Adler <darin@apple.com>
2662 - removed some of the cvs-specific scripts -- not needed for this project any more
2664 * Scripts/cvs-abandon: Removed.
2665 * Scripts/cvs-apply: Removed.
2666 * Scripts/cvs-create-patch: Removed.
2667 * Scripts/cvs-unapply: Removed.
2669 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2671 Reviewed by eseidel. Committed by eseidel.
2673 - run-webkit-tests always launches Safari when tests fail
2674 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2676 * Scripts/run-webkit-tests:
2677 Add a command-line flag to prevent Safari being launched to display failed
2678 tests. Always exit with non-zero status when tests have failed.
2680 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2682 Reviewed by eseidel. Committed by eseidel.
2684 - build-webkit should exit with non-zero status when build fails
2685 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2687 * Scripts/build-webkit:
2688 Use correct bits of subprocess exit code when passing back through
2689 as build-webkit's exit code.
2691 2006-01-10 Eric Seidel <eseidel@apple.com>
2693 Restored corrupted nibs from TOT CVS.
2695 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2696 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2697 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2698 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2699 * DrawTest/English.lproj/Inspector.nib: Replaced.
2700 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2701 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2702 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2703 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2704 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2705 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2706 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2707 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2708 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2709 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2710 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2712 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2714 Reviewed by eseidel. Committed by eseidel.
2716 DrawTestView now subclasses WebView instead of DrawView.
2718 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2719 * DrawTest/DrawTestDocument.h:
2720 * DrawTest/DrawTestDocument.m:
2721 (-[DrawTestDocument dealloc]):
2722 (-[DrawTestDocument readFromFile:ofType:]):
2723 (-[DrawTestDocument windowControllerDidLoadNib:]):
2724 (-[DrawTestDocument dumpSVGToConsole:]):
2725 (-[DrawTestDocument openSourceForSelection:]):
2726 (-[DrawTestDocument dataRepresentationOfType:]):
2727 * DrawTest/DrawTestToolbarController.h:
2728 * DrawTest/DrawTestToolbarController.m:
2729 (-[DrawTestToolbarController initWithDrawView:]):
2730 (-[DrawTestToolbarController clickedToolbarItem:]):
2731 (-[DrawTestToolbarController validateToolbarItem:]):
2732 * DrawTest/DrawTestView.h:
2733 * DrawTest/DrawTestView.m:
2734 (-[DrawTestView initWithFrame:]):
2735 (-[DrawTestView setDocument:]):
2736 * DrawTest/SVGTest.h:
2737 * DrawTest/SVGTest.m:
2738 (+[SVGTest sharedDrawView]):
2739 (-[SVGTest generateCompositeIfNecessary]):
2740 * DrawTest/TestController.h:
2741 * DrawTest/TestController.m:
2742 (-[TestController awakeFromNib]):
2743 (-[TestController setSelectedTest:]):
2744 (-[TestController openTestViewerForSelection:]):
2745 (-[TestController toggleViewersScaleRule:]):
2746 * DrawTest/TestViewerSplitView.m:
2747 (-[TestViewerSplitView drawRect:]):
2749 2006-01-10 Anders Carlsson <andersca@mac.com>
2751 Reviewed by Timothy.
2753 * DumpRenderTree/DumpRenderTree.m:
2754 (main): Set the default language to "en", so language tests will work.
2756 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2760 - script to generate HTML wrappers for JS tests
2761 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2763 * Scripts/make-js-test-wrappers: Added.
2765 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2769 * Scripts/svn-create-patch: Fix to work when passed directory names.
2771 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2775 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2776 can start writing automated loader tests now. I have one in the works.
2778 * DumpRenderTree/DumpRenderTree.m:
2779 (main): Construct global navigationController on entry, destroy on exit.
2780 Set frame to nil on exit too, to match all the other global objects.
2781 (Probably academic, since the process is exiting, anyway.)
2782 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2783 navigationController, in case it wants to kick off a load.
2784 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2785 the navigationController to scripting.
2787 New class, should be straightforward:
2789 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2790 * DumpRenderTree/NavigationController.h: Added.
2791 * DumpRenderTree/NavigationController.m: Added.
2793 (+[NavigationController isSelectorExcludedFromWebScript:]):
2794 (+[NavigationController webScriptNameForSelector:]):
2795 (-[NavigationController setPendingScript:]):
2796 (-[NavigationController setPendingRequest:]):
2797 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2798 (-[NavigationController webView:didFinishLoadForFrame:]):
2799 (-[NavigationController dealloc]):
2801 2006-01-08 Timothy Hatcher <timothy@apple.com>
2803 Removed this script, no longer needs with the Subversion switch.
2805 * checkout: Removed.
2807 2006-01-08 Timothy Hatcher <timothy@apple.com>
2809 Removes some stray tabs.
2811 * Scripts/update-webkit:
2813 2005-01-07 Eric Seidel <eseidel@apple.com>
2817 build-webkit should pass on build arguments from command line
2818 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2820 * Scripts/build-webkit:
2822 2006-01-07 Eric Seidel <eseidel@apple.com>
2824 Reviewed by mjs & xenon.
2826 * Scripts/update-webkit: support Internal updates as well
2828 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2830 Temporarily rolling out plugin support from DumpRenderTree because it
2831 caused lots of layout test regressions.
2833 * DumpRenderTree/DumpRenderTree.m:
2834 (main): Remove invisible window added to support plugins.
2836 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2840 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2841 Add plugin support to DumpRenderTree
2843 Also wrote first test plugin.
2845 * DumpRenderTree/DumpRenderTree.m:
2847 (1) Put the WebView in an invisible window, because PlugIns are
2848 optimized not to load if there's no parent window.
2849 (2) Tell WebKit to load any PlugIns in the directory from which we
2850 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2851 and they'll load automagically during layout testing, but they won't be
2852 added to the user's system, hosing apps like Safari.
2854 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2855 test PlugIn to project.
2857 PlugIn added to project:
2859 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2860 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2862 (initializeIdentifiers):
2863 (pluginHasProperty):
2865 (pluginGetProperty):
2866 (pluginSetProperty):
2868 (pluginInvokeDefault):
2872 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2873 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2875 (NP_GetEntryPoints):
2881 (NPP_DestroyStream):
2891 2006-01-04 Timothy Hatcher <timothy@apple.com>
2895 Tweaked and tested by me.
2897 New scripts to work with Subversion when the switch happens.
2898 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2900 * Scripts/svn-apply: Added.
2901 * Scripts/svn-create-patch: Added.
2902 * Scripts/svn-unapply: Added.
2904 2005-12-30 Eric Seidel <eseidel@apple.com>
2908 Move WebView width/height logic into DumpRenderTree to support
2909 running the W3C SVG 1.1 tests along side other tests. The W3C
2910 SVG 1.1 tests require a 480x360 view.
2912 * DumpRenderTree/DumpRenderTree.m:
2913 (main): don't accept width/height
2914 (dump): override width/height for SVG/W3C
2915 * Scripts/run-webkit-tests: don't pass width/height
2917 2005-12-30 Eric Seidel <eseidel@apple.com>
2919 No review, only removing dead code.
2921 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2922 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2924 2005-12-30 Eric Seidel <eseidel@apple.com>
2928 DumpRenderTree should set a consistent color profile while running
2929 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2931 Creates consistent colormatched renderings on every test machine
2932 using the only way possible with Tiger APIs: by setting the
2933 system color profile on the test machine for the duration of the
2934 tests. This will (unfortunately) cause colors to change while
2935 running DumpRenderTree. This can also cause "permanent" color
2936 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2937 This is far from ideal, but it's be best way we've found to deal
2938 with the issue for now.
2940 * DumpRenderTree/DumpRenderTree.m:
2941 (restoreColorSpace):
2942 (setDefaultColorProfileToRGB):
2945 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2947 Reviewed by Darin Adler.
2949 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2950 cvs-create-patch --include produces incorrect paths
2952 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2954 2005-12-19 Eric Seidel <eseidel@apple.com>
2958 * Scripts/run-webkit-tests: stop /etc/catalog warnings
2960 2005-12-19 Darin Adler <darin@apple.com>
2962 Reviewed by Eric Seidel.
2964 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2965 WebKit needs to use a local pasteboard during testing
2967 * DumpRenderTree/DumpRenderTree.m:
2968 (main): Call poseAs to substitute our NSPasteboard class for the default one.
2969 Create a local pasteboard (really a global one with a unique name) and release
2970 it when exiting from the function so we don't leave it in the pasteboard server.
2971 (dumpRenderTree): Added an autorelease pool around one small bit of code that
2972 ddn't have one. Fixed a leak in an unlikely error case.
2973 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2974 of this method to return our local pasteboard.
2976 2005-12-15 Eric Seidel <eseidel@apple.com>
2978 Reviewed by Tim Hatcher.
2980 * Scripts/build-webkit: --svg is now default!
2982 2005-12-15 Eric Seidel <eseidel@apple.com>
2986 Don't run svg test automatically if +SVG is built (yet).
2988 * Scripts/run-webkit-tests:
2990 2005-12-15 Darin Adler <darin@apple.com>
2992 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2993 support is not compiled in. Report the 10 slowest tests if "--slowest" is
2994 passed on the command line.
2996 2005-12-06 John Sullivan <sullivan@apple.com>
2998 Reviewed by Darin Adler.
3000 * Scripts/prepare-ChangeLog:
3001 Remove special-case handling for nib files. This avoided trouble with cvs diff
3002 when we were using wrappers for nib files. Now that we aren't using wrappers,
3003 there's no reason to avoid adding the modified nib files to the file list that
3006 2005-12-05 Eric Seidel <eseidel@apple.com>
3010 Script updates for SVG files move (remove references to SVGSupport)
3012 * Scripts/build-webkit: remove SVGSupport
3013 * Scripts/run-webkit-tests: Resources -> resources for --svg
3014 * Scripts/update-webkit: remove SVGSupport
3016 2005-12-05 Eric Seidel <eseidel@apple.com>
3020 * checkout: remove --svg support, SVG is now checked out by default
3022 2005-11-29 Eric Seidel <eseidel@apple.com>
3026 Update scripts to run SVG tests automatically (w/o --svg) if
3027 WebCore is built with SVG support.
3029 * Scripts/build-drawtest: SVG support required
3030 * Scripts/build-dumpkcanvastree: Removed.
3031 * Scripts/run-drawtest: SVG support required to run
3032 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3033 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3035 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3037 Reviewed by Darin. Committed by Maciej.
3039 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3040 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3042 * DumpRenderTree/DumpRenderTree.m:
3045 2005-11-28 Eric Seidel <eseidel@apple.com>
3047 Reviewed by sullivan and GGAREN.
3049 Minor additions to make error messages more clear from cvs-apply.
3051 * Scripts/cvs-apply: make errors more clear
3053 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3055 Reviewed and committed by Maciej.
3057 - fixed cvs-create-patch --include produces incorrect paths
3058 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3060 * Scripts/cvs-create-patch: produce proper paths for new files.
3062 2005-11-21 Eric Seidel <eseidel@apple.com>
3066 Some simple fixes to the build/test scripts now that SVG uses the
3067 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3068 or symlinks for KDOM.
3070 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3071 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3072 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3073 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3074 * checkout: no longer symlink kdom
3076 2005-11-10 Eric Seidel <eseidel@apple.com>
3080 * Scripts/build-webkit: Pass through options to xcodebuild
3082 2005-11-07 Darin Adler <darin@apple.com>
3084 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3086 2005-11-03 John Sullivan <sullivan@apple.com>
3090 * Scripts/run-safari:
3091 changed message to say "Starting Safari" instead of odd "Start Safari"
3092 * Scripts/run-webkit-tests:
3093 changed the way we pass the file parameter to use -NSOpen rather than relying on
3094 unlabeled arguments being treated as files. This was failing on some machines that
3095 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3097 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3099 Patch by Alexey Proskuryakov.
3103 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3104 TextInputController should support attributed strings
3106 * DumpRenderTree/TextInputController.m:
3107 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3108 (+[NSMutableAttributedString webScriptNameForSelector:]):
3109 (-[NSMutableAttributedString getLength]):
3110 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3111 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3112 (-[NSMutableAttributedString addAttribute:value:]):
3113 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3114 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3115 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3116 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3117 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3118 (+[TextInputController isSelectorExcludedFromWebScript:]):
3119 (+[TextInputController webScriptNameForSelector:]):
3120 (-[TextInputController insertText:]):
3121 (-[TextInputController attributedSubstringFrom:length:]):
3122 (-[TextInputController attributedStringWithString:]):
3124 2005-10-11 Eric Seidel <eseidel@apple.com>
3128 Checks for leaks in ImageDiff too.
3130 * Scripts/run-webkit-tests:
3132 2005-10-09 Darin Adler <darin@apple.com>
3134 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3135 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3136 * Scripts/cvs-unapply: Ditto.
3137 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3139 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3141 Reviewed, rearranged and landed by Darin.
3143 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3144 Need a way to automatically test for regressions in NSTextInput implementation
3146 * DumpRenderTree/DumpRenderTree.m:
3147 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3148 Create a text input controller and put it in a property of the window object.
3150 * DumpRenderTree/TextInputController.h: Added.
3151 * DumpRenderTree/TextInputController.m: Added.
3152 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3154 2005-10-06 Darin Adler <darin@apple.com>
3156 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3157 are controlled by cvs, or when changes cross multiple repositories.
3158 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3160 2005-10-03 Eric Seidel <eseidel@apple.com>
3164 Make mouseDown and mouseUp force layout before acting.
3165 This is used by a new test case for 4233558.
3167 * DumpRenderTree/DumpRenderTree.m:
3168 (-[EventSendingController mouseDown]): force layout
3169 (-[EventSendingController mouseUp]): force layout
3171 2005-09-30 Eric Seidel <eseidel@apple.com>
3175 Updated all the scripts for the move:
3176 WebCore/layout-tests -> LayoutTests
3178 * Scripts/check-dom-results:
3179 * Scripts/prepare-ChangeLog:
3180 * Scripts/run-webkit-tests:
3181 * Scripts/update-webkit: added --no-tests
3182 * checkout: added --no-tests
3184 2005-09-28 Darin Adler <darin@apple.com>
3186 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3187 pixel test should run even if render trees differ
3189 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3191 2005-09-27 Eric Seidel <eseidel@apple.com>
3193 No review needed, SVG build fix only.
3195 * DumpKCanvasTree/DumpKCanvasTree.m:
3196 Missed one in my previous checkin.
3197 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3199 2005-09-26 Eric Seidel <eseidel@apple.com>
3201 No review needed, SVG build fix only.
3203 * DrawTest/DrawTestDocument.m:
3204 * DrawTest/DrawTestToolbarController.m:
3205 * DrawTest/DrawTestView.h:
3206 * DrawTest/DrawTestView.m:
3207 * DrawTest/SVGTest.m:
3208 * DrawTest/TestController.m:
3209 Updated for WebCore+SVG -> WebCore rename.
3210 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3212 2005-09-26 Eric Seidel <eseidel@apple.com>
3216 * DumpRenderTree/DumpRenderTree.m:
3217 (dump): updated error message
3218 * Scripts/check-dom-results: now includes xhtml
3219 Tool updates for xhtml.
3220 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3222 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3227 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3228 "Would like to simulate human interaction with webview"
3230 * DumpRenderTree/DumpRenderTree.m:
3231 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3232 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3233 (+[EventSendingController webScriptNameForSelector:]):
3234 (-[EventSendingController init]):
3235 (-[EventSendingController mouseDown]):
3236 (-[EventSendingController mouseUp]):
3237 (-[EventSendingController mouseMoveToX:Y:]):
3238 Add eventSender javascript object, that sends fake mouse events to the webview.
3240 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3241 link with Carbon.framework
3243 2005-09-22 Eric Seidel <eseidel@apple.com>
3247 Update tools for WebCore+SVG -> WebCore rename.
3248 Also fold several SVG specific tools into their original
3249 WebCore counterparts.
3250 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3252 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3253 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3254 * Scripts/build-drawtest:
3255 * Scripts/build-dumpkcanvastree:
3256 * Scripts/build-webcore-svg: Removed.
3257 * Scripts/build-webkit: added --svg option
3258 * Scripts/run-drawtest:
3259 * Scripts/run-webkit-tests:
3260 * Scripts/webkitdirs.pm: various additions.
3261 * checkout: added --svg option
3262 * checkout-svg: Removed.
3264 2005-09-19 Eric Seidel <eseidel@apple.com>
3268 * Scripts/run-webkit-tests: added --guard-malloc option
3269 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3271 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3275 Removed a script that is only used by apple internal developers
3277 * Scripts/update-webkitsysteminterface: Removed.
3279 2005-09-16 Adele Peterson <adele@apple.com>
3283 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3285 2005-09-14 Darin Adler <darin@apple.com>
3287 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3288 dumpAsText doesn't work with XHTML documents
3290 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3291 rather than of the body element. This works with typical XHTML documents. We can probably
3292 do something even better in the long run, but this fixes the immediate issue.
3296 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3297 run-safari instead of just using "open", which often runs another copy of Safari instead.
3299 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3301 Reviewed, tweaked, and landed by Darin.
3303 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3304 .Mac prefpane crashes when Safari using CVS WebKit is running
3306 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3307 * Scripts/run-webkit-app: Ditto.
3309 2005-09-11 Darin Adler <darin@apple.com>
3311 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3313 2005-09-11 Darin Adler <darin@apple.com>
3317 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3318 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3319 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3322 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3326 * Scripts/update-webkitsysteminterface: Added.
3327 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3329 2005-09-01 John Sullivan <sullivan@apple.com>
3331 * Scripts/run-webkit-tests:
3332 Excluded a known system leak to reduce noise; added comments about which leaks
3335 2005-09-01 Tim Omernick <tomernick@apple.com>
3337 Change made by Darin, reviewed by John and myself.
3339 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3341 * Scripts/prepare-ChangeLog:
3343 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3347 - set color variant and font settings to a consistent value.
3348 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3350 * DumpRenderTree/DumpRenderTree.m:
3353 2005-08-30 Eric Seidel <eseidel@apple.com>
3357 * Scripts/build-svg2png: Removed.
3358 * svg2png/ImageDiff.h: Removed.
3359 * svg2png/ImageDiff.m: Removed.
3360 * svg2png/svg2png.m: Removed.
3361 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3362 * svg2png/svg2png_Prefix.pch: Removed.
3363 svg2png is no longer needed.
3365 2005-08-30 Darin Adler <darin@apple.com>
3367 * Scripts/check-dom-results: Special case 100% to say something nice.
3368 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3369 applying the patch (need a better name).
3370 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3372 2005-08-30 Darin Adler <darin@apple.com>
3374 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3376 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3380 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3381 (some pixel tests fail when AA settings are changed)
3383 * DumpRenderTree/DumpRenderTree.m:
3384 (main): set AA settings to the default values
3386 2005-08-29 Darin Adler <darin@apple.com>
3388 Reviewed by John Sullivan.
3390 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3391 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3394 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3398 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3399 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3401 * DumpRenderTree/DumpRenderTree.m:
3402 (main): set scrollbar arrow setting to a consistent value
3404 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3406 Reviewed and landed by Darin.
3408 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3409 output of update-webkit is too verbose
3411 * Scripts/update-webkit:
3412 Added option --quiet (-q) to decrease the amount of output.
3414 2005-08-27 Darin Adler <darin@apple.com>
3416 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3417 cvs-create-patch --include-unknowns should ignore hidden files
3419 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3421 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3423 Reviewed, tweaked, and landed by Darin.
3425 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3426 update-webkit doesn't notice when you have SVGSupport and update properly
3428 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3430 2005-08-25 Anders Carlsson <andersca@mac.com>
3432 Reviewed and landed by Darin.
3434 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3435 layout test machinery can't handle tests with applets that have code attributes
3437 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3439 2005-08-24 Darin Adler <darin@apple.com>
3443 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3444 DumpRenderTree --pixel-tests crash
3445 - landed some other small changes I had sitting in my tree
3447 * DumpRenderTree/DumpRenderTree.m:
3448 (main): Don't bother saving and restoring the preferences. Not sure
3449 why this was ever done since the preferences are specific to DumpRenderTree.
3450 Clear delegates before releasing the WebView, because you can't count on the
3451 order of object deallocation.
3452 (dumpRenderTree): Fix code that releases a string before storing it in a
3455 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3456 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3458 2005-08-23 Eric Seidel <eseidel@apple.com>
3462 * Scripts/run-webkit-tests:
3463 Made --leaks option more readable by printing to a file.
3464 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3466 2005-08-22 Eric Seidel <eseidel@apple.com>
3467 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3471 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3472 when they are not needed (for pixel-only failures)
3473 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3475 2005-08-22 Eric Seidel <eseidel@apple.com>
3479 * Scripts/run-webkit-tests: Added the ability to display more than
3480 just two images as part of the image-diff "slideshow".
3481 Added display of "-w3c.png" baseline images for SVG.
3482 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3484 2005-08-20 Eric Seidel <eseidel@apple.com>
3486 * Scripts/run-webkit-tests:
3487 "build" fix after committing incorrect version.
3489 2005-08-20 Eric Seidel <eseidel@apple.com>
3493 * DumpRenderTree/DumpRenderTree.m:
3494 (main): cleans up delegates
3495 (dumpRenderTree): closes CFString/CFURL leak
3496 * Scripts/run-webkit-tests:
3497 Adds --leaks option to run-webkit-tests
3498 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3500 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3504 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3505 new files to be included in the patch even without "cvs add".
3507 2005-08-19 Darin Adler <darin@apple.com>
3509 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3510 non-cvs-generated patches. Anders has been creating these, so it's bad that
3511 the script can't handle them.
3512 * Scripts/cvs-unapply: Ditto.
3514 2005-08-18 Darin Adler <darin@apple.com>
3516 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3517 "." in them -- based on complaint by someone here at Apple.
3519 2005-08-18 Eric Seidel <eseidel@apple.com>
3523 * Scripts/run-webkit-tests:
3524 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3526 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3528 - add file that I forgot in the last checkin
3530 * DumpRenderTree/ImageDiff.m: Added.
3532 (getImageFromStdin):
3534 (getDifferenceBitmap):
3535 (computePercentageDifferent):
3537 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3539 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3540 somewhat by me, and also tweaked by me a little bit.
3542 - better support for pixel-dumping
3543 - use checksums of the images so the tests are fast
3544 - change output format to make the tests run faster
3545 - don't dump pixel results for tests that dump as text
3547 * DumpKCanvasTree/DumpKCanvasTree.m:
3550 (md5HashStringForBitmap):
3552 (constrainSizeToMaximum):
3553 (getBitmapImageRepForSVGDocument):
3554 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3555 * DumpRenderTree/DumpRenderTree.m:
3559 (md5HashStringForBitmap):
3560 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3561 * Scripts/run-webkit-tests:
3563 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3567 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3569 * DumpRenderTree/DumpRenderTree.m:
3572 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3574 Reviewed and landed by Darin.
3576 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3577 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3579 * Scripts/run-safari: Pass arguments through to Safari on command line.
3580 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3582 2005-08-11 Eric Seidel <eseidel@apple.com>
3583 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3585 Reviewed by eseidel.
3587 * DrawTest/TestController.m:
3588 (-[TestController imagePathForSVGPath:]):
3589 Fixed support for using TextViewer with the layout-tests.
3590 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3592 2005-08-11 Maciej Stachowiak <mjs@apple.com>
3594 At Least Roughly Glanced At by Anders.
3596 - fix change with totally breaks the layout tests.
3598 * DumpRenderTree/DumpRenderTree.m:
3599 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3600 load, to avoid dumping twice accidentally.
3602 2005-08-10 Eric Seidel <eseidel@apple.com>
3603 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3607 * DumpRenderTree/DumpRenderTree.m:
3608 Added support for rendering to a PNG file.
3609 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3611 2005-08-07 Eric Seidel <eseidel@apple.com>
3615 * Scripts/run-webkit-tests: added --svg option
3616 * Scripts/run-webkit-tests-svg: Removed.
3617 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
3619 2005-08-07 Eric Seidel <eseidel@apple.com>
3620 Changes by Ben La Monica <ben.lamonica@gmail.com>
3624 * svg2png/ImageDiff.h: Added.
3625 * svg2png/ImageDiff.m: Added.
3626 (getDifferenceBitmap):
3627 (computePercentageDifferent):
3628 (saveAnimatedGIFToFile):
3629 * svg2png/svg2png.m:
3630 (usage): added several new options
3631 (getBitmapForSVG): added NSBitmapImageRep generation
3632 (main): various argument changes.
3633 * svg2png/svg2png.xcodeproj/project.pbxproj:
3634 Several additions to provide image differencing functionality.
3635 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3637 2005-08-07 Eric Seidel <eseidel@apple.com>
3641 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3642 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3643 Adding the first SVG layout tests:
3644 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3646 2005-08-07 Darin Adler <darin@apple.com>
3648 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3650 2005-08-06 Eric Seidel <eseidel@apple.com>
3654 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3655 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3656 * Scripts/build-dumpkcanvastree: Added.
3657 * Scripts/run-webkit-tests-svg: Added.
3658 Adds a DumpRenderTree-like tool for SVG which allows us to do
3659 text-based layout regression testing. This (like most of the
3660 SVG specific stuff) is temporary and will be replaced by
3661 DumpRenderTree once the DOMs and RenderTrees merge.
3662 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3664 2005-08-06 Eric Seidel <eseidel@apple.com>
3668 * DrawTest/DrawTestView.m:
3669 (-[DrawTestView toggleFilterSupport:]): missing negation.
3670 One half of fix for toggling filter support.
3671 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3673 2005-08-04 Eric Seidel <eseidel@apple.com>
3677 * Scripts/build-drawtest:
3678 * Scripts/build-dumprendertree:
3679 * Scripts/build-svg2png:
3680 * Scripts/build-webcore-svg:
3681 * Scripts/build-webkit:
3682 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
3683 Added checkRequiredSystemConfig and made all the build-* scripts
3684 use it to print a pretty warning when trying to compile on an
3685 unsupported system (less than 10.4, Xcode 2.1).
3686 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
3688 2005-08-04 Darin Adler <darin@apple.com>
3690 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
3691 the dead. It was removed by accident when someone was trying to work on the branch.
3693 2005-07-31 Darin Adler <darin@apple.com>
3695 - a little tools cleanup
3697 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
3698 project as a whole. Removed unused Default configuration.
3700 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
3702 2005-07-31 Duncan Wilcox <duncan@mclink.it>
3704 Reviewed and landed by Darin Adler.
3706 Add logging of editing delegate calls for regression checking.
3708 * DumpRenderTree/DumpRenderTree.m:
3710 setup editing delegate
3712 (-[DOMNode dumpPath]):
3714 utility for editing delegate logging
3716 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3717 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3718 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3719 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3720 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3721 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3722 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3723 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3724 (-[EditingDelegate webViewDidBeginEditing:]):
3725 (-[EditingDelegate webViewDidChange:]):
3726 (-[EditingDelegate webViewDidEndEditing:]):
3727 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3728 log corresponding editing delegate methods
3730 (-[EditingDelegate webViewDidChangeSelection:]):
3731 log selection except when clearing selection after end of test (uses existing "done" flag)
3734 added clearing of selection after test
3736 2005-07-31 Eric Seidel <eseidel@apple.com>
3740 * Scripts/build-drawtest: Added.
3741 * Scripts/build-svg2png: Added.
3742 * Scripts/build-webcore-svg: Added.
3743 * Scripts/run-drawtest: Added.
3744 * Scripts/webkitdirs.pm: added checkSVGFrameworks
3745 Made it much easier to build WebCore+SVG.
3746 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
3748 2005-07-29 Eric Seidel <eseidel@apple.com>
3752 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3753 Build fix. Removed bad path.
3755 2005-07-29 Eric Seidel <eseidel@apple.com>
3757 Reviewed by sullivan.
3759 * DrawTest/AppDelegate.h: Added.
3760 * DrawTest/AppDelegate.m: Added.
3761 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
3762 * DrawTest/DrawTestDocument.h: Added.
3763 * DrawTest/DrawTestDocument.m: Added.
3764 * DrawTest/DrawTestInspectorController.h: Added.
3765 * DrawTest/DrawTestInspectorController.m: Added.
3766 * DrawTest/DrawTestToolbarController.h: Added.
3767 * DrawTest/DrawTestToolbarController.m: Added.
3768 * DrawTest/DrawTestView.h: Added.
3769 * DrawTest/DrawTestView.m: Added.
3770 * DrawTest/DrawTest_Prefix.pch: Added.
3771 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
3772 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
3773 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
3774 * DrawTest/English.lproj/InfoPlist.strings: Added.
3775 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3776 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3777 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3778 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3779 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3780 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3781 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3782 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3783 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3784 * DrawTest/Info.plist: Added.
3785 * DrawTest/SVGTest.h: Added.
3786 * DrawTest/SVGTest.m: Added.
3787 * DrawTest/ScalingImageView.h: Added.
3788 * DrawTest/ScalingImageView.m: Added.
3789 * DrawTest/TestController.h: Added.
3790 * DrawTest/TestController.m: Added.
3791 * DrawTest/TestViewerSplitView.h: Added.
3792 * DrawTest/TestViewerSplitView.m: Added.
3793 * DrawTest/main.m: Added.
3794 Adding simple cocoa app for testing SVG rendering, interaction.
3795 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3797 2005-07-28 Eric Seidel <eseidel@apple.com>
3801 * svg2png/svg2png.m: Added.
3802 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3803 * svg2png/svg2png_Prefix.pch: Added.
3804 Added a simple test tool which dumps a PNG from an SVG using
3805 WebCore+SVG's SVG rendering support.
3806 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3808 2005-07-26 Maciej Stachowiak <mjs@apple.com>
3812 - new script to review the DOM layout test results and see where we stand
3813 on actual success and failure
3815 * Scripts/check-dom-results: Added.
3817 2005-07-25 Darin Adler <darin@apple.com>
3819 * Scripts/webkitdirs.pm: Check in missing line of code.
3821 2005-07-25 Darin Adler <darin@apple.com>
3823 - fixed problem that was causing JavaScriptCore test to fail
3824 (except for people who had set DYLD_FRAMEWORK_PATH)
3826 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
3827 Add code to parse configuration parameter so you can pass --deployment if you like.
3828 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
3830 * Scripts/update-javascriptcore-test-results: Add license header.
3832 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
3833 from @ARGV. This lets us use this option in commands that take other options and
3834 pass them along to a subsequent tool.
3836 2005-07-25 Darin Adler <darin@apple.com>
3838 Reviewed by Geoff Garen.
3840 - Fixed run-safari and gdb-safari to use the Safari application in the build results
3841 directory, if any, falling back to the one in the Applications directory otherwise.
3842 Does no harm for open source contributors who don't build Safari, and helps out the
3843 Safari team, since we do build Safari.
3845 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
3846 variable, and if that's not present, looks in either the build results directory or
3847 /Applications; factors code that was in both scripts before into a shared function.
3848 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
3849 now in Xcode 2.1 format and incompatible with older versions of Xcode.
3851 * Scripts/gdb-safari: Use safariPath.
3852 * Scripts/run-safari: Use safariPath.
3854 2005-07-22 Geoffrey Garen <ggaren@apple.com>
3856 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
3857 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
3859 Moved Tools/Scripts/update-mozilla-js-test-results to
3860 WebKitTools/Scripts/update-javascriptcore-test-results.
3864 * Scripts/run-javascriptcore-tests: Added.
3866 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3870 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
3872 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3874 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
3876 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3878 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
3880 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3882 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
3884 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3886 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
3888 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3890 * Scripts/build-webkit:
3892 2005-07-12 Eric Seidel <eseidel@apple.com>
3896 * checkout-svg: Fixed error with symlink creation.
3898 2005-07-12 Eric Seidel <eseidel@apple.com>
3902 * checkout-svg: Added.
3903 Script to check out WebCore+SVG
3905 2005-06-30 Darin Adler <darin@apple.com>
3907 Changes based on input from Michael Kahl.
3909 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
3910 specify different style of "diff".
3911 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
3912 determineConfigurationProductDir works in all cases.
3914 2005-06-29 Darin Adler <darin@apple.com>
3916 - fixed bug which would result in multiple unwanted dumps in a single layout test
3918 * DumpRenderTree/DumpRenderTree.m:
3919 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
3921 (-[LayoutTestController waitUntilDone]): Update for name change.
3922 (-[LayoutTestController notifyDone]): Dump only if ready.
3923 (dumpRenderTree): Set up new boolean and update for name change.
3925 2005-06-29 Darin Adler <darin@apple.com>
3927 Changes by Timothy Hatcher.
3930 * Scripts/run-webkit-app: Added script to open an arbritrary application with
3931 a CVS built WebKit. Example: ./run-webkit-app Colloquy
3933 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
3934 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
3935 * Scripts/run-safari: Ditto.
3937 2005-06-26 Darin Adler <darin@apple.com>
3939 * Scripts/build-dumprendertree: Pass -project option so that having a second
3940 copy of the project (like the one Xcode 2.1 offers to make for you) that's
3941 out of date won't screw you up.
3942 * Scripts/build-webkit: Ditto.
3944 2005-06-23 Darin Adler <darin@apple.com>
3946 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
3948 2005-06-23 Darin Adler <darin@apple.com>
3950 Changes based on input from Michael Kahl.
3952 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
3953 directory passed in.
3955 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
3956 getcwd() in the code to find the base product dir. Added code to handle unusual
3957 base product directory values that use SRCROOT.
3959 2005-06-22 Darin Adler <darin@apple.com>
3961 Change by Anders Carlsson.
3963 - added support for dumping title changes
3965 * DumpRenderTree/DumpRenderTree.m:
3966 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
3967 if requested by JavaScript.
3968 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
3969 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
3970 (dumpRenderTree): Start flag as NO.
3972 2005-06-20 Darin Adler <darin@apple.com>
3974 Reviewed by Justin Garcia.
3976 * Scripts/run-webkit-tests: Report number of tests when they succeed.
3978 2005-06-18 Darin Adler <darin@apple.com>
3980 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
3981 in the hope of making the tool use less memory and run faster.
3983 2005-06-18 Darin Adler <darin@apple.com>
3985 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
3986 * Scripts/cvs-unapply: Ditto.
3988 2005-06-17 Maciej Stachowiak <mjs@apple.com>
3990 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
3991 benefit of all WebKit hackerdom
3993 * Scripts/prepare-ChangeLog: Added.
3995 2005-06-16 Darin Adler <darin@apple.com>
3997 - recent changes to XcodeOptions made it depend on the current directory
3998 The intent was to have the WebKitBuild directory be next to WebKitTools,
3999 not inside the various build directories. Workaround for now is to call
4000 XcodeOptions when the directory is set to the WebKit directory.
4002 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
4003 at the start of the script.
4004 * Scripts/build-webkit: Ditto.
4006 2005-06-15 Darin Adler <darin@apple.com>
4008 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
4010 2005-06-14 Darin Adler <darin@apple.com>
4012 Changes by Anders Carlsson.
4015 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
4016 Add gdb-safari script to launch Safari under gdb
4018 * Scripts/gdb-safari: Added.
4020 2005-06-12 Darin Adler <darin@apple.com>
4022 Changes by Stuart Morgan.
4025 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
4026 * Scripts/cvs-apply: Ditto.
4027 * Scripts/cvs-create-patch: Ditto.
4028 * Scripts/cvs-unapply: Ditto.
4029 * Scripts/run-webkit-tests: Ditto.
4030 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
4032 2005-06-12 Darin Adler <darin@apple.com>
4034 * Scripts/cvs-apply: Handle case of an empty patch better.
4035 * Scripts/cvs-unapply: Ditto.
4037 2005-06-12 Darin Adler <darin@apple.com>
4039 Changes by Michael Gaiman.
4042 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
4043 WebKit no longer builds after configuration supporting build changes
4045 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
4047 2005-06-12 Darin Adler <darin@apple.com>
4049 * Scripts/update-webkit: Make this script work when called from any directory.
4051 2005-06-12 Darin Adler <darin@apple.com>
4054 Includes changes by Stuart Morgan as well as my own.
4056 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
4057 symrootXcodeOptions to set the -buildstyle option.
4058 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
4059 The new --development option does the same thing.
4060 * Scripts/run-safari: Ditto.
4061 * Scripts/run-webkit-tests: Ditto.
4062 * Scripts/update-webkit: Ditto.
4063 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
4065 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
4066 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
4067 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
4068 product directory. Read the default configuration from a file, overridable by a passed-in command-line
4071 2005-06-11 Darin Adler <darin@apple.com>
4073 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
4074 to execute the cvs diff commands.
4076 2005-06-11 Darin Adler <darin@apple.com>
4078 - added first cuts at some cvs scripts
4080 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
4081 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
4082 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
4083 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
4085 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
4087 * Scripts/cvs-abandon: Added.
4088 * Scripts/cvs-apply: Added.
4089 * Scripts/cvs-create-patch: Added.
4090 * Scripts/cvs-unapply: Added.
4092 2005-06-09 Darin Adler <darin@apple.com>
4096 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
4097 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
4099 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
4100 for Foundation.framework. How was it ever wrong?
4102 - finally, I tested making the default build directory work; it works now
4104 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
4105 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
4106 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
4107 * Scripts/build-dumprendertree: Ditto.
4109 2005-06-09 Darin Adler <darin@apple.com>
4111 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
4112 work. Someone should try building without setting the Xcode build product directory now,
4113 and let me know if it works.
4115 2005-06-08 Darin Adler <darin@apple.com>
4117 - quick fix to try to get build scripts working again
4119 * Scripts/build-dumprendertree: Add FindBin.
4120 * Scripts/build-webkit: Ditto.
4121 * Scripts/run-safari: Ditto.
4122 * Scripts/run-webkit-tests: Ditto.
4123 * Scripts/update-webkit: Ditto.
4125 2005-06-08 Darin Adler <darin@apple.com>
4129 - some build script enhancements
4131 * Scripts/build-dumprendertree: Changed to use webkitdirs.
4132 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
4134 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
4135 before Deplyment in that case.
4136 * Scripts/run-webkit-tests: Changed to use webkitdirs.
4137 * Scripts/update-webkit: Changed to use webkitdirs.
4139 * Scripts/webkitdirs.pm: Added.
4141 2005-06-08 Maciej Stachowiak <mjs@apple.com>
4143 Code change by Toby Peterson <toby@opendarwin.org>
4146 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
4147 get confused because build-webkit now makes even 2.0 build directories look
4150 2005-06-07 Darin Adler <darin@apple.com>
4152 Reviewed by Adele Peterson.
4154 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
4155 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
4156 so we can run tests with Xcode 2.1.
4158 2005-06-07 Darin Adler <darin@apple.com>
4160 Reviewed by Adele Peterson.
4162 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
4163 layout-tests directory to include additional sets of tests.
4165 2005-06-07 Darin Adler <darin@apple.com>
4167 * checkout: Added license.
4168 * Scripts/build-dumprendertree: Ditto.
4169 * Scripts/run-webkit-tests: Ditto.
4170 * Scripts/update-webkit: Ditto.
4172 2005-06-07 Darin Adler <darin@apple.com>
4174 Change by Toby Peterson <toby@opendarwin.org>.
4177 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
4178 * Scripts/run-safari: Ditto.
4180 2005-06-06 Maciej Stachowiak <mjs@apple.com>
4182 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
4184 2005-06-06 Maciej Stachowiak <mjs@apple.com>
4186 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
4188 2005-06-06 Maciej Stachowiak <mjs@apple.com>
4190 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
4192 2005-06-05 Darin Adler <darin@apple.com>
4194 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
4195 * Scripts/build-dumprendertree: Added.
4196 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
4197 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
4199 2005-06-05 Darin Adler <darin@apple.com>
4201 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
4203 2005-06-05 Darin Adler <darin@apple.com>
4205 - add run-webkit-tests script; not working yet but the pieces are there
4207 * Scripts/run-webkit-tests: Added.
4209 * DumpRenderTree/DumpRenderTree.m: Added.
4210 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
4211 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
4212 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
4214 2005-06-05 Darin Adler <darin@apple.com>
4216 - created module, first cut at Web Kit Open Source Project scripts
4219 * Scripts/build-webkit: Added.
4220 * Scripts/run-safari: Added.
4221 * Scripts/update-webkit: Added.
4224 === creation of WebKitTools module ===