1 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
5 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
6 http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
8 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
9 so, have stepOut pause on the next call to willExecuteStatement rather than second.
11 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
15 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
16 Teach svn-create-patch and friends to fix ChangeLog patches
18 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
19 * Scripts/svn-create-patch: Ditto.
20 * Scripts/svn-unapply: Ditto.
22 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
26 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
27 http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
29 * Drosera/DebuggerDocument.m:
30 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
32 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
36 Bug 9863: Drosera needs to show something at launch
37 http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
39 * Drosera/DebuggerApplication.m:
40 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
42 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
46 Lets Drosera build universal for the nightlies. Right now it is not
47 possible to build a universal binary on a PPC machine because of a
48 conflict with the universal SDK.
50 * BuildSlaveSupport/build-launcher-app:
51 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
53 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
57 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
58 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
60 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
61 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
62 should open a new stream and deliver the data to the current instance.
64 2006-07-11 Timothy Hatcher <timothy@apple.com>
68 Bug 9598: [Drosera] add a JavaScript evaluator console
69 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
71 * Drosera/DebuggerApplication.h:
72 * Drosera/DebuggerApplication.m:
73 (-[DebuggerApplication knownServers]):
74 * Drosera/DebuggerDocument.h:
75 * Drosera/DebuggerDocument.m:
76 (-[WebScriptObject evaluateScript:inCallFrame:]):
77 (-[WebScriptObject showConsole:]):
78 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
79 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
80 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
81 (-[WebScriptObject webView:createWebViewWithRequest:]):
82 (-[WebScriptObject webViewShow:]):
83 (-[WebScriptObject webViewAreToolbarsVisible:]):
84 (-[WebScriptObject webView:setToolbarsVisible:]):
85 (-[WebScriptObject webView:setResizable:]):
86 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
87 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
88 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
89 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
90 (-[WebScriptObject webView:didFinishLoadForFrame:]):
91 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
92 * Drosera/Drosera.xcodeproj/project.pbxproj:
93 * Drosera/Images/console.png: Added.
94 * Drosera/console.css: Added.
95 * Drosera/console.html: Added.
96 * Drosera/console.js: Added.
98 2006-07-11 Timothy Hatcher <timothy@apple.com>
100 Reviewed by a tired Geoff.
102 Bug 9597: [Drosera] hook up the variables table to show stack variables
103 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
105 * Drosera/DebuggerDocument.m:
106 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
107 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
108 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
109 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
110 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
111 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
112 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
113 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
114 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
115 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
116 * Drosera/debugger.css:
117 * Drosera/debugger.html:
118 * Drosera/debugger.js:
120 2006-07-10 Tim Omernick <timo@apple.com>
122 Reviewed by Beth Dakin.
124 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
125 Add DOM access test to DumpRenderTree's Netscape plug-in
127 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
131 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
135 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
136 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
138 Now track three states: initializing, running, and closed. If we are launched and the previous
139 state was initializing then we likely just experienced a crash on launch.
141 * WebKitLauncher/WebKitNightlyEnabler.m:
142 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
143 (myApplicationWillTerminate): Update to use new states.
144 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
145 initializing as early as practical.
146 (symbol_lookup): Bring code up to speed with formatting guidelines.
147 (GDSymbolLookup): Ditto.
149 2006-07-10 Darin Adler <darin@apple.com>
151 - try to fix Windows build
153 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
154 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
156 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
158 Build fix. Reviewed by NOBODY.
160 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
161 devenv.com not available in VC++ Express installations
163 * Scripts/webkitdirs.pm: Backed out previous change.
165 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
169 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
170 svn-apply should set ChangeLog date correctly when applying patches
172 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
173 before applying the patch.
174 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
176 2006-07-09 Darin Adler <darin@apple.com>
178 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
180 2006-07-09 Darin Adler <darin@apple.com>
182 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
184 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
186 Reviewed by NOBODY (build fix).
188 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
189 devenv.com not available in VC++ Express installations
191 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
192 work again. Add VC++ Express check as the fallback.
194 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
196 Reviewed by Timothy Hatcher.
198 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
199 devenv.com not available in VC++ Express installations
201 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
203 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
207 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
208 Patch by coldwinter@katamail.com.
210 In the congratulations message, "capatibilies" should be "capabilities".
212 * Scripts/build-webkit:
214 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
216 Reviewed by Timothy Hatcher.
218 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
219 Teach run-webkit-tests how to ignore tests with performance improvements
221 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
222 feature, and minor clean up.
224 2006-07-08 Darin Adler <darin@apple.com>
226 Reviewed by Geoff (well, half of it at least).
228 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
229 storage leaks in Objective-C tests
231 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
232 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
233 Add a release to fix a storage leak.
235 2006-07-08 Darin Adler <darin@apple.com>
237 * Scripts/do-webcore-rename: A few more.
239 2006-07-08 Darin Adler <darin@apple.com>
241 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
243 2006-07-04 Maciej Stachowiak <mjs@apple.com>
247 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
248 - add support for dumping non-HTML as text - in this case use textContent
251 * DumpRenderTree/DumpRenderTree.m:
254 2006-07-02 Timothy Hatcher <timothy@apple.com>
258 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
259 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
261 Adds step over and step out. Along with a little code cleanup
262 that was minor enough to piggyback on this fix.
264 * Drosera/DebuggerDocument.h:
265 * Drosera/DebuggerDocument.m:
266 (-[DebuggerDocument stepOver:]):
267 (-[DebuggerDocument stepOut:]):
268 (-[DebuggerDocument windowDidLoad]):
269 (-[DebuggerDocument windowWillClose:]):
270 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
271 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
272 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
273 (-[DebuggerDocument validateUserInterfaceItem:]):
274 * Drosera/Drosera.xcodeproj/project.pbxproj:
275 * Drosera/debugger.html:
276 * Drosera/debugger.js:
277 * Drosera/viewer.css:
279 2006-07-02 Timothy Hatcher <timothy@apple.com>
283 Bug 9628: [Drosera] Split Views acting oddly
284 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
286 Only update the last X or Y coordinate if the new
287 size was not constrained. Also adds the resize cursor to
288 the body during the drag incase there is a constrained
289 over drag off of the resizer element.
291 * Drosera/debugger.js:
293 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
295 Reviewed by Alexy Proskuryakov.
297 Bug 9692: Warning about Safari extensions on every launch is obnoxious
298 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
300 * WebKitLauncher/WebKitNightlyEnabler.m:
301 (myApplicationWillTerminate): Note that we are exiting cleanly.
302 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
303 to exit cleanly on our last invocation. This doesn't play nicely with
304 multiple concurrent instances of WebKit.app so it can be disabled via
305 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
307 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
309 Reviewed by Alexy Proskuryakov.
311 Bug 9654: Refresh Loop when accessing feed URLs
312 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
314 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
316 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
318 Reviewed by Timothy Hatcher.
320 Bug 9689: Nightly builds should warn a user about potential problems when using
322 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
324 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
325 * WebKitLauncher/WebKitNightlyEnabler.m:
326 (myBundleDidLoad): Keep track of if any bundles that are loaded.
327 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
328 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
329 NSApplicationWillFinishLaunchingNotification notifications so that we can
330 track bundle loads and notify the user at launch completion.
332 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
336 - first check-in of a Gdk shell for testing WebKit
338 * GdkLauncher: Added.
340 2006-06-29 Timothy Hatcher <timothy@apple.com>
344 Need to call window close so WebView tears-down completly.
346 * DumpRenderTree/DumpRenderTree.m:
347 (main): call [window close]
349 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
353 Bug 9615: Buildbot configuration should be in SVN repository
354 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
356 Import BuildBot configuration files as used by build.webkit.org.
357 auth.py has been stubbed out so that slave passwords are not disclosed.
359 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
360 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
361 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
362 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
363 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
364 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
365 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
366 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
367 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
368 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
369 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
370 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
372 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
376 Bug 9614: Nightly builds should notify user if a newer build is available
377 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
379 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
380 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
381 script so it can keep track of the latest revision.
382 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
383 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
384 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
385 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
386 the nightly start page.
388 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
392 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
393 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
395 Report screenY values as (height of zero screen - screenY)
397 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
399 2006-06-25 Timothy Hatcher <timothy@apple.com>
403 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
404 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
406 Makes breakpoints dragable. If dragged off the gutter they are deleted.
408 * Drosera/debugger.js:
409 * Drosera/viewer.css:
411 2006-06-25 Timothy Hatcher <timothy@apple.com>
415 Bug 9568: assertion failure in Safari after quitting Drosera
416 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
418 Call switchToServerNamed:nil and not removeLister to make sure
419 the server object is set to nil to prevent further removeListener calls.
421 * Drosera/DebuggerDocument.m:
422 (-[DebuggerDocument applicationTerminating:]):
424 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
428 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
429 that the directory is not empty instead of reading in every single file and directory first,
430 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
433 2006-06-25 Darin Adler <darin@apple.com>
435 * Scripts/svn-apply: Tweak comments.
436 * Scripts/svn-create-patch: Ditto.
437 * Scripts/svn-unapply: Ditto.
439 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
441 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
443 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
445 * Scripts/svn-apply: Formatting fix.
447 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
451 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
452 Teach svn-apply and svn-unapply to handle directory adds and removes better
454 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
455 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
457 2006-06-25 Timothy Hatcher <timothy@apple.com>
461 Bug 9574: Drosera should show inline scripts within the original HTML
462 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
464 Refactor the JavaScript code to have a distinction between files
465 and scripts. Show the script in the context of the HTML file if
466 it's URL is the same as the frame's main resource. At the time of
467 the disParseScript callback the main resource might not be completely
468 loaded, but Drosera needs to show whatever we have at the time. Once
469 the main resource is finished, update the file source and reload the file.
471 * Drosera/DebuggerDocument.m:
472 (-[DebuggerDocument pause]):
473 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
474 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
475 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
476 * Drosera/debugger.css:
477 * Drosera/debugger.js:
479 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
483 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
484 Teach prepare-ChangeLog to operate on a list of files or directories
486 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
487 * Scripts/svn-create-patch: Code refactoring.
489 2006-06-24 James G. Speth <speth@end.com>
493 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
494 add a way to build Objective-C test cases in HTML
496 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
497 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
498 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
501 * DumpRenderTree/ObjCPlugin.h:
502 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
503 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
504 (+[ObjCPlugin webScriptNameForSelector:]):
505 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
506 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
507 (+[NSObject allowsScriptsFullAccess]):
508 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
509 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
510 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
511 (+[JSObjC webScriptNameForSelector:]):
512 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
513 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
514 (-[JSObjC log:]): access to NSLog function
515 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
516 (-[JSObjC classOfObject:]):
517 (-[JSObjC classNameOfObject:]):
519 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
523 * DrawTest/Info.plist: Added copyright statement.
524 * Drosera/Info.plist: Ditto.
525 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
526 * WebKitLauncher/Info.plist: Ditto.
528 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
530 Build fix. Reviewed by NOBODY.
532 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
533 devenv.com not available in VC++ Express installations
535 * Scripts/webkitdirs.pm: Backed out previous change.
537 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
541 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
542 devenv.com not available in VC++ Express installations
544 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
546 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
550 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
551 A bunch of fixes to run-webkit-httpd
553 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
554 127.0.0.1. Useful for testing with WinIE running on another machine;
555 - don't call checkFrameworks() - we do not need a built WebKit here;
556 - changed tabs to spaces;
557 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
558 interactive mode, they were a hassle when testing with several browsers, as one
559 had to wait for connection to expire);
560 - remove httpd.pid when done, so that Apache doesn't complain next time.
562 * Scripts/run-webkit-httpd:
564 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
566 Reviewed by ggaren, landed by ap.
568 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
569 Complete DOMUIEvent Obj-C API to reflect UIEvent
571 Add function to enable logging of all events of one DOM node to stdout.
573 * DumpRenderTree/EventSendingController.h:
574 * DumpRenderTree/EventSendingController.m:
575 (+[EventSendingController initialize]):
576 (+[EventSendingController isSelectorExcludedFromWebScript:]):
577 (+[EventSendingController webScriptNameForSelector:]):
578 (-[EventSendingController enableDOMUIEventLogging:]):
579 (-[EventSendingController handleEvent:]):
581 2006-06-23 Kevin Decker <kdecker@apple.com>
583 Reviewed by Tim Hatcher.
585 - Made column headers in Drosera resizable.
587 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
591 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
592 Another case error preventing build
594 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
596 2006-06-22 Timothy Hatcher <timothy@apple.com>
600 Adds a native toolbar to Drosera to be a good citizen.
601 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
602 Fixes a dragging bug from an earlier fix to the divider code.
603 Fixes some poor indenting in debugger.js.
605 * Drosera/DebuggerDocument.h:
606 * Drosera/DebuggerDocument.m:
607 (-[DebuggerDocument stepInto]):
608 (-[DebuggerDocument pause:]):
609 (-[DebuggerDocument resume:]):
610 (-[DebuggerDocument stepInto:]):
611 (-[DebuggerDocument windowDidLoad]):
612 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
613 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
614 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
615 (-[DebuggerDocument validateUserInterfaceItem:]):
616 * Drosera/English.lproj/MainMenu.nib/classes.nib:
617 * Drosera/English.lproj/MainMenu.nib/info.nib:
618 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
619 * Drosera/debugger.css:
620 * Drosera/debugger.html:
621 * Drosera/debugger.js:
622 * Drosera/viewer.html:
624 2006-06-22 Kevin Decker <kdecker@apple.com>
628 - Added pressed column header image.
629 - Made column headers behave more like Xcode.
631 2006-06-22 Timothy Hatcher <timothy@apple.com>
633 Reviewed by Kevin Decker.
635 Code clean up. Adds the stackframe and makes only the body
636 of the tables scrollable keeping the header visible.
637 Shows the current function stack when paused or stepping.
639 * Drosera/DebuggerApplication.m:
640 (-[DebuggerApplication awakeFromNib]):
641 (-[DebuggerApplication numberOfRowsInTableView:]):
642 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
643 * Drosera/DebuggerDocument.h:
644 * Drosera/DebuggerDocument.m:
645 (-[DebuggerDocument dealloc]):
646 (-[DebuggerDocument currentFrame]):
647 (-[DebuggerDocument currentFrameFunctionName]):
648 (-[DebuggerDocument currentFunctionStack]):
649 (-[DebuggerDocument log:]):
650 (-[DebuggerDocument windowWillClose:]):
651 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
652 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
653 * Drosera/Drosera.xcodeproj/project.pbxproj:
654 * Drosera/debugger.css:
655 * Drosera/debugger.html:
656 * Drosera/debugger.js:
658 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
662 Teach run-webkit-httpd to properly look for webkitdirs.pm.
664 * Scripts/run-webkit-httpd:
666 2006-06-22 Kevin Decker <kdecker@apple.com>
668 Reviewed by Tim Hatcher.
670 - More progress toward Javascript Debugger.
671 - Added some new images to the project.
673 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
677 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
678 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
680 * Scripts/run-webkit-httpd: Added.
682 2006-06-20 Timothy Hatcher <timothy@apple.com>
686 Builds Drosera and a launcher to include with the nightly.
688 * BuildSlaveSupport/build-launcher-app:
689 * BuildSlaveSupport/build-launcher-dmg:
690 * Drosera/Drosera.xcodeproj/project.pbxproj:
691 * Drosera/Info.plist:
692 * Drosera/LauncherInfo.plist: Added.
693 * Drosera/launcher.m: Added.
694 (displayErrorAndQuit):
695 (checkMacOSXVersion):
698 * Scripts/build-drosera
699 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
700 * WebKitLauncher/main.m:
703 2006-06-20 Timothy Hatcher <timothy@apple.com>
707 Adds a JavaScript debugger, called Drosera. Named after
708 a genus of bug eating plants.
710 * Drosera/DebuggerApplication.h: Added.
711 * Drosera/DebuggerApplication.m: Added.
712 (-[DebuggerApplication applicationDidFinishLaunching:]):
713 (-[DebuggerApplication serverLoaded:]):
714 (-[DebuggerApplication serverUnloaded:]):
715 (-[DebuggerApplication awakeFromNib]):
716 (-[DebuggerApplication showAttachPanel:]):
717 (-[DebuggerApplication attach:]):
718 (-[DebuggerApplication numberOfRowsInTableView:]):
719 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
720 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
721 (-[DebuggerApplication tableViewSelectionDidChange:]):
722 * Drosera/DebuggerDocument.h: Added.
723 * Drosera/DebuggerDocument.m: Added.
724 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
725 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
726 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
727 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
728 (-[DebuggerDocument initWithServerName:]):
729 (-[DebuggerDocument windowWillClose:]):
730 (-[DebuggerDocument dealloc]):
731 (-[DebuggerDocument isPaused]):
732 (-[DebuggerDocument pause]):
733 (-[DebuggerDocument resume]):
734 (-[DebuggerDocument step]):
735 (-[DebuggerDocument windowNibName]):
736 (-[DebuggerDocument windowDidLoad]):
737 (-[DebuggerDocument switchToServerNamed:]):
738 (-[DebuggerDocument applicationTerminating:]):
739 (-[DebuggerDocument serverConnectionDidDie:]):
740 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
741 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
742 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
743 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
744 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
745 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
746 * Drosera/Drosera.pch: Added.
747 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
748 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
749 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
750 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
751 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
752 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
753 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
754 * Drosera/Images/breakPoint.tif: Added.
755 * Drosera/Images/breakPointDisabled.tif: Added.
756 * Drosera/Images/continue.tif: Added.
757 * Drosera/Images/finishFunction.tif: Added.
758 * Drosera/Images/glossyFooterFill.tif: Added.
759 * Drosera/Images/glossyHeader.png: Added.
760 * Drosera/Images/gradientBackground.png: Added.
761 * Drosera/Images/gutter.png: Added.
762 * Drosera/Images/navLeftDisabled.png: Added.
763 * Drosera/Images/navLeftNormal.png: Added.
764 * Drosera/Images/navLeftPressed.png: Added.
765 * Drosera/Images/navRightDisabled.png: Added.
766 * Drosera/Images/navRightNormal.png: Added.
767 * Drosera/Images/navRightPressed.png: Added.
768 * Drosera/Images/pause.tif: Added.
769 * Drosera/Images/popUpArrows.png: Added.
770 * Drosera/Images/programCounter.tif: Added.
771 * Drosera/Images/programCounterBreakPoint.tif: Added.
772 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
773 * Drosera/Images/run.tif: Added.
774 * Drosera/Images/splitterBar.tif: Added.
775 * Drosera/Images/splitterDimple.tif: Added.
776 * Drosera/Images/step.tif: Added.
777 * Drosera/Images/stepOver.tif: Added.
778 * Drosera/Images/stop.tif: Added.
779 * Drosera/Images/toolbarBackground.png: Added.
780 * Drosera/Info.plist: Added.
781 * Drosera/debugger.css: Added.
782 * Drosera/debugger.html: Added.
783 * Drosera/debugger.js: Added.
784 * Drosera/main.m: Added.
786 * Drosera/viewer.css: Added.
787 * Drosera/viewer.html: Added.
789 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
793 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
794 Teach svn-apply and svn-unapply to use full path names
796 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
797 * Scripts/svn-unapply: Ditto.
799 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
803 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
804 DumpRenderTree should be able to keep URL history during runs
806 Test: LayoutTests/fast/history/clicked-link-is-visited.html
808 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
809 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
810 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
811 it is currently nil since keepWebHistory() might be called more than once incidentally
813 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
814 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
816 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
820 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
821 Make prepare-ChangeLog faster
823 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
824 then save the diff output for reuse. Keep a status variable if changes are made to
825 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
826 WebCore is updated. Added -h|--help command-line switch and help message. Move test
827 for no changed files closer to the beginning of the program.
829 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
831 Reviewed and landed by ap.
833 - make DumpRenderTree build
835 * DumpRenderTree/DumpRenderTree.m:
836 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
837 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
838 (-[LayoutTestController setWindowIsKey:]): Ditto.
839 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
841 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
843 Reviewed by Darin, landed by Geoff.
845 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
846 Use pathcmp() when sorting paths in svn-create-patch
848 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
849 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
850 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
851 switch and printUsage() subroutine.
853 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
857 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
858 Teach svn-create-patch to sort its output
860 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
861 by text files first, then by binary files.
863 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
867 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
868 Teach svn-create-patch and friends to work with binary files
870 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
871 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
872 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
874 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
878 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
879 Performance improvement for svn-create-patch
881 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
883 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
887 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
888 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
890 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
891 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
893 2006-06-03 Steve Falkenburg <sfalken@apple.com>
897 Switch Spinneret to new hosting mechanism
899 * Spinneret/Spinneret.sln:
900 * Spinneret/Spinneret/Spinneret.cpp:
901 (SpinneretWebHost::updateAddressBar):
902 (SpinneretWebHost::QueryInterface):
903 (SpinneretWebHost::AddRef):
904 (SpinneretWebHost::Release):
911 * Spinneret/Spinneret/Spinneret.h:
912 (SpinneretWebHost::didStartProvisionalLoadForFrame):
913 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
914 (SpinneretWebHost::didFailProvisionalLoadWithError):
915 (SpinneretWebHost::didCommitLoadForFrame):
916 (SpinneretWebHost::didReceiveTitle):
917 (SpinneretWebHost::didReceiveIcon):
918 (SpinneretWebHost::didFinishLoadForFrame):
919 (SpinneretWebHost::didFailLoadWithError):
920 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
921 (SpinneretWebHost::willPerformClientRedirectToURL):
922 (SpinneretWebHost::didCancelClientRedirectForFrame):
923 (SpinneretWebHost::willCloseFrame):
924 (SpinneretWebHost::windowScriptObjectAvailable):
925 * Spinneret/Spinneret/Spinneret.vcproj:
927 2006-06-02 Steve Falkenburg <sfalken@apple.com>
933 * Scripts/build-webkit:
935 2006-06-01 Anders Carlsson <acarlsson@apple.com>
939 * DumpRenderTree/DumpRenderTree.m:
940 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
941 (-[LayoutTestController clearBackForwardList]):
942 Add clearBackForwardList function to layoutTestController
944 2006-06-01 Anders Carlsson <acarlsson@apple.com>
948 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
949 slow-utf8-text layout test case failing (no longer deterministic?)
951 * DumpRenderTree/DumpRenderTree.m:
953 Dump as text when the response MIME type is text/plain
955 2006-05-26 Steve Falkenburg <sfalken@apple.com>
959 * Spinneret/Spinneret.sln:
960 * Spinneret/Spinneret/Spinneret.vcproj:
962 2006-05-24 Geoffrey Garen <ggaren@apple.com>
966 Added 'GCController' to DRT to support garbage collection layout tests.
968 GCController.collect() and GCController.collectOnAlternateThread() do
969 what you would expect. The latter takes a boolean argument sepcifying
970 whether to wait for garbage collection to finish before continuing to
973 * DumpRenderTree/DumpRenderTree.m:
974 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
975 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
976 * DumpRenderTree/GCController.h: Added.
977 * DumpRenderTree/GCController.mm: Added.
978 (+[GCController isSelectorExcludedFromWebScript:]):
979 (+[GCController webScriptNameForSelector:]):
980 (-[GCController collect]):
981 (-[GCController collectOnAlternateThread:]):
983 2006-05-23 John Sullivan <sullivan@apple.com>
987 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
988 Newer Xcode removed some obsolete cruft
990 * DumpRenderTree/TextInputController.m:
991 (-[TextInputController textInput]):
992 added (id) cast to make newer compiler happy
994 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1000 * Spinneret/Spinneret.sln:
1002 2006-05-18 Darin Adler <darin@apple.com>
1004 - try to fix no-SVG, no-XPATH build, again
1006 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1008 2006-05-18 Darin Adler <darin@apple.com>
1010 - try to fix no-SVG, no-XPATH build
1012 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1013 since the former is what's used in the WebCore project now.
1015 2006-05-17 Darin Adler <darin@apple.com>
1017 * Scripts/do-webcore-rename: Some more future renames.
1019 2006-05-16 Adele Peterson <adele@apple.com>
1023 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1024 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1026 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1028 * Scripts/install-unix-extras: Changed to be executable and removed
1029 text in the file generated by "svn diff".
1030 * Scripts/regenerate-makefiles: Ditto.
1032 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1034 Reviewed by Darin, landed by ap.
1036 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1037 Bakefiles (and generated Makefiles) for wx and gdk ports
1039 * Scripts/install-unix-extras: Added.
1040 * Scripts/regenerate-makefiles: Added.
1042 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1046 Fix registry usage from perl script. Turns out libwin32's
1047 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1049 * Scripts/install-win-extras:
1051 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1054 Add load ended callback.
1058 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1059 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1060 * Spinneret/Spinneret/Spinneret.cpp:
1061 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1062 (_tWinMain): Load built-in test content here instead of in lower-level code.
1063 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1065 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1069 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1071 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1075 * Scripts/check-dom-results:
1076 Add XPath to the list of results.
1078 2006-05-08 Darin Adler <darin@apple.com>
1080 * Scripts/do-webcore-rename: Add another rename.
1082 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1086 Spinneret now links against the new separate lib.
1088 * Spinneret/Spinneret.sln:
1089 * Spinneret/Spinneret/Spinneret.cpp:
1090 (SpinneretWebHost::updateLocationBar):
1092 * Spinneret/Spinneret/Spinneret.h:
1093 * Spinneret/Spinneret/Spinneret.vcproj:
1094 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1095 * Spinneret/Spinneret/WebFrame.h: Removed.
1096 * Spinneret/Spinneret/WebView.cpp: Removed.
1097 * Spinneret/Spinneret/WebView.h: Removed.
1099 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1103 Modify error reporting registry keys to disable Dr. Watson.
1104 This allows Javascript test cases to complete without blocking UI.
1106 * Scripts/install-win-extras:
1107 - Use Perl Win32 registry functions to disable blocking UI
1110 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1114 Turned off C++ exceptions, fixed memory leaks
1116 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1117 * Spinneret/Spinneret.sln:
1118 * Spinneret/Spinneret/Spinneret.cpp:
1120 * Spinneret/Spinneret/Spinneret.vcproj:
1121 * Spinneret/Spinneret/WebFrame.cpp:
1122 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1123 (WebKit::WebFrame::WebFrame):
1124 (WebKit::WebFrame::~WebFrame):
1125 (WebKit::WebFrame::impl):
1126 * Spinneret/Spinneret/WebFrame.h:
1127 * Spinneret/Spinneret/WebView.cpp:
1128 * Spinneret/Spinneret/stdafx.h:
1130 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1134 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1135 DumpRenderTree should reset the URL cache
1137 * DumpRenderTree/DumpRenderTree.m:
1138 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1140 2006-04-28 Eric Seidel <eseidel@apple.com>
1142 Reviewed by andersca.
1144 * Scripts/do-webcore-rename: rename KCanvasContainer too
1145 * Scripts/run-webkit-tests: output total time
1147 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1149 Reviewed by hyatt. Landed by eseidel.
1151 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1152 Enable detection of excessive repainting with DumpRenderTree
1154 * DumpRenderTree/DumpRenderTree.m:
1155 (-[LayoutTestController display]):
1157 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1161 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1162 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1164 * DumpRenderTree/DumpRenderTree.m:
1165 (dump): If display() has been called during the test, grab the pixels from
1166 the view, after letting it repaint invalidated rects.
1167 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1168 (-[LayoutTestController display]): Added. Calls -display on the view
1169 and changes the subsequent behavior of dump().
1172 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1176 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1177 Update iExploder to 1.3.2
1179 Test case numbers are not compatible with iExploder 1.2.
1181 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1183 * iExploder/CHANGELOG.txt: Added.
1184 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1185 * iExploder/README.txt: Added some performance hints.
1187 * iExploder/htdocs/config.rb: Added.
1188 * iExploder/htdocs/cssproperties.in:
1189 * iExploder/htdocs/cssvalues.in:
1190 * iExploder/htdocs/htmlattrs.in:
1191 * iExploder/htdocs/htmltags.in:
1192 * iExploder/htdocs/iexploder.cgi:
1193 - Updated to support the latest HTML & CSS tags, properties, and values from both
1194 the WebKit and Mozilla CVS tree
1195 - cssproperties.in cleanup
1196 - Modularized the code a little bit.
1197 - Fix subtest bug that was causing last 5 tags to be missed
1198 - new subtest algorithm to deal better with larger tag counts
1199 - default HTML_MAX_TAGS increased from 32 to 96
1201 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1202 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1203 alternative to our run-iexploder-tests.
1204 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1205 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1206 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1208 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1210 - commit Scripts/run-mangleme-tests (missed it the previous time).
1212 2006-04-18 Darin Adler <darin@apple.com>
1214 - attempt to fix Windows buildbot
1216 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1217 We need a better long-term solution for this.
1219 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1223 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1224 Integrate mangleme test script.
1226 Works in a similar way to run-iexploder-tests.
1228 * Scripts/run-mangleme-tests: Added.
1230 * mangleme/Makefile: Added.
1231 * mangleme/README: Added.
1232 * mangleme/mangle.cgi.c: Added.
1233 * mangleme/remangle.cgi.c: Added.
1234 * mangleme/tags.h: Added.
1236 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1240 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1241 An easier way to save iExploder tests.
1243 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1245 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1249 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1250 Integrate iExploder test script.
1252 This script generates artificially mangled HTML documents, to test that the browser
1253 doesn't crash when handling ill-formed code.
1256 run-iexploder-tests Open an interactive test page in Safari+ToT.
1257 run-iexploder-tests nnnnn Open test #nnnnn.
1259 Command line options:
1260 --guard-malloc (-g) Use Guard Malloc.
1261 --port=nnnn Run Apache on port nnnn (default is 8000).
1263 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1264 (thus, Apache is still running), e.g.:
1265 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1267 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1269 * Scripts/run-iexploder-tests: Added.
1271 * iExploder/LICENSE.txt: Added.
1272 * iExploder/README.txt: Added.
1273 * iExploder/htdocs: Added.
1274 * iExploder/htdocs/cssproperties.in: Added.
1275 * iExploder/htdocs/cssvalues.in: Added.
1276 * iExploder/htdocs/htmlattrs.in: Added.
1277 * iExploder/htdocs/htmltags.in: Added.
1278 * iExploder/htdocs/htmlvalues.in: Added.
1279 * iExploder/htdocs/iexploder.cgi: Added.
1280 * iExploder/htdocs/index.html: Added.
1281 * iExploder/tools: Added.
1282 * iExploder/tools/lasthit.rb: Added.
1283 * iExploder/tools/osx_last_crash.rb: Added.
1285 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1289 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1290 Restore color profile after a crash
1292 * DumpRenderTree/DumpRenderTree.m:
1293 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1294 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1295 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1296 and this code may change significantly.
1298 (main): Install crashHandler.
1300 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1301 (CFStringGetCStringPtr should NEVER EVER be used!).
1303 2006-04-15 Darin Adler <darin@apple.com>
1307 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1308 Seems xmlsoft.org's HTTP no longer has what we need.
1310 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1312 Rubber-stamped by Darin.
1314 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1315 upload-disk-image stage on buildslaves fail with "No space left on device"
1317 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1318 'hdiutil create'. This creates the initial disk image based on the size of
1319 the source folder, and copies the contents to the new disk image. The file
1320 extension on the temporary uncompressed disk image has also been altered from
1321 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1322 the extension is not ".dmg".
1324 2006-04-12 Eric Seidel <eseidel@apple.com>
1328 * Scripts/update-webkit: Make this return non-zero when svn fails.
1330 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1334 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1335 Make HTTP tests using Perl use .pl extension
1337 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1338 removed support for .text. Reduced the number of places that explicitly list supported
1339 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1342 2006-04-06 Darin Adler <darin@apple.com>
1344 Changes requested by Mark Rowe.
1346 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1347 trash at the end of the file.
1348 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1350 * WebKitLauncher/main.m: Removed trash at end of file.
1352 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1355 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1357 Reviewed by Darin, landed by Maciej.
1359 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1360 and bundles the WebKit frameworks inside it.
1361 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1362 containing WebKit.app.
1363 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1364 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1365 number of the SVN working copy.
1366 * WebKitLauncher: Added.
1367 * WebKitLauncher/Info.plist: Added.
1368 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1369 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1370 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1371 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1372 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1373 the nightly launcher.
1374 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1375 It sets up the environment to have Safari use the bundled frameworks
1376 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1377 * WebKitLauncher/start.html: Added.
1378 * WebKitLauncher/webkit.icns: Added.
1380 2006-04-05 Darin Adler <darin@apple.com>
1384 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1385 are allowed to have global initializers.
1387 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1389 Reviewed by OMG BETH
1391 * Scripts/run-testkjs:
1392 - pipe STDERR to /dev/null by default; new --verbose option overrides
1394 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1395 - output run command in a format that can be copied and pasted into the
1396 terminal to run manually
1398 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1400 Reviewed by harrison
1402 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1403 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1405 Tell the source that the drag is over after the drag is performed, not before.
1407 * DumpRenderTree/EventSendingController.m:
1408 (-[EventSendingController mouseUp]):
1410 2006-04-01 Darin Adler <darin@apple.com>
1414 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1415 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1416 elements in that array are not strings.
1418 2006-03-31 Darin Adler <darin@apple.com>
1420 Reviewed by John Sullivan.
1422 - added a "--reset-results" option to run-webkit-tests so you can reset
1423 the results without first deleting expected results
1424 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1426 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1427 more logical. Moved all the subroutines to the end of the file. Added a
1430 * DumpRenderTree/DumpRenderTree.m:
1431 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1432 to generate new output for all tests it runs.
1433 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1434 the --dump-all-pixels option is passed. Also tightened up the image dumping
1435 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1436 with code to save and restore the context.
1438 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1439 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1441 2006-03-30 Tim Omernick <timo@apple.com>
1443 Reviewed by NOBODY (just fixing copyrights)
1445 * DumpRenderTree/ObjCPlugin.h:
1447 * DumpRenderTree/ObjCPlugin.m: ditto
1448 * DumpRenderTree/ObjCPluginFunction.h: ditto
1449 * DumpRenderTree/ObjCPluginFunction.m: ditto
1451 2006-03-30 Tim Omernick <timo@apple.com>
1455 * DumpRenderTree/DumpRenderTree.m:
1456 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1457 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1458 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1459 exposed to JS as a callable object.
1461 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1462 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1464 * DumpRenderTree/ObjCPlugin.h: Added.
1465 * DumpRenderTree/ObjCPlugin.m: Added.
1466 * DumpRenderTree/ObjCPluginFunction.h: Added.
1467 * DumpRenderTree/ObjCPluginFunction.m: Added.
1469 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1470 Added a new method, "removeDefaultMethod", which removes the default method from the
1471 plugin object's class. The effect is that the plugin object is mutated from a callable
1472 function to a simple object.
1474 Handle "removeDefaultMethod".
1475 (pluginInvokeDefault):
1476 Made the default method actually do something (return 1).
1478 2006-03-30 Eric Seidel <eseidel@apple.com>
1482 Remove WebFrame::viewImpl(), setMainFrame on page.
1484 * Spinneret/Spinneret/WebFrame.cpp:
1485 (WebKit::WebFrame::WebFrame):
1486 * Spinneret/Spinneret/WebFrame.h:
1487 * Spinneret/Spinneret/WebView.cpp:
1488 (WebKit::WebView::mouseMoved):
1489 (WebKit::WebView::mouseDown):
1490 (WebKit::WebView::mouseUp):
1491 (WebKit::WebView::mouseDoubleClick):
1492 (WebKit::WebViewWndProc):
1494 2006-03-30 Eric Seidel <eseidel@apple.com>
1498 Fix html editing input & basic form submission.
1500 * Spinneret/Spinneret/WebFrame.cpp:
1501 (WebKit::WebFrame::submitForm):
1502 (WebKit::WebFrame::loadURL):
1503 * Spinneret/Spinneret/WebFrame.h:
1504 * Spinneret/Spinneret/WebView.cpp:
1505 (WebKit::WebView::keyPress):
1506 (WebKit::WebViewWndProc):
1508 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1512 <rdar://problem/4402375>
1513 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1515 Added an option to draw the selectionRect.
1517 * DumpRenderTree/DumpRenderTree.m:
1519 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1520 (-[LayoutTestController dumpSelectionRect]):
1523 2006-03-29 Darin Adler <darin@apple.com>
1525 Reviewed by Tim Hatcher.
1527 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1529 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1531 2006-03-28 Eric Seidel <eseidel@apple.com>
1535 * Scripts/check-for-global-initializers: remove svg exceptions.
1537 2006-03-28 Timothy Hatcher <timothy@apple.com>
1541 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1543 * Scripts/check-for-global-initializers:
1545 2006-03-28 Timothy Hatcher <timothy@apple.com>
1547 Build fix. Turn off uninitialized warnings for the first block of code.
1549 * Scripts/check-for-global-initializers:
1551 2006-03-28 Darin Adler <darin@apple.com>
1555 * Scripts/check-for-global-initializers: Added.
1557 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1559 Reviewed by darin. Landed by eseidel.
1561 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1562 Add repaint testing support to run-webkit-tests
1564 * DumpRenderTree/DumpRenderTree.m:
1565 (main): Added --repaint and --horizontal-sweep options.
1566 (dump): Repaint line-by-line or column-by-column when the appropriate option
1568 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1569 and repaintSweepHorizontally() methods to layoutTestController.
1570 (-[LayoutTestController testRepaint]):
1571 (-[LayoutTestController repaintSweepHorizontally]):
1573 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1574 to force these settings on tests that do not ask for them.
1576 2006-03-24 Eric Seidel <eseidel@apple.com>
1582 * Spinneret/Spinneret/WebFrame.cpp:
1583 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1585 2006-03-21 Beth Dakin <bdakin@apple.com>
1589 Add support for keyDown() to DumpRenderTree.
1591 * DumpRenderTree/DumpRenderTree.m:
1592 (main): Set the preference for tabbing to links.
1593 * DumpRenderTree/EventSendingController.m:
1594 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1595 (+[EventSendingController webScriptNameForSelector:]):
1596 (-[EventSendingController keyDown:withModifiers:]):
1598 2006-03-20 Eric Seidel <eseidel@apple.com>
1604 * Spinneret/Spinneret/Spinneret.vcproj:
1605 * Spinneret/Spinneret/WebFrame.h:
1606 * Spinneret/Spinneret/WebView.cpp:
1607 (WebKit::WebView::mouseMoved):
1608 (WebKit::WebView::mouseDown):
1609 (WebKit::WebView::mouseUp):
1610 (WebKit::WebView::mouseDoubleClick):
1611 (WebKit::WebView::keyPress):
1612 (WebKit::WebViewWndProc):
1614 2006-03-19 Darin Adler <darin@apple.com>
1618 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1619 we can test it in layout tests. We don't really need tests that run with
1620 pop-up blocking off at the moment. If we do some day, we can add some
1621 API for turning it off in the layout test controller.
1623 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1624 don't ignore the leak; it should no longer show up.
1626 2006-03-17 Anders Carlsson <andersca@mac.com>
1630 * Scripts/install-win-extras:
1631 Fetch "Program Files" location from the environment.
1633 2006-03-17 Eric Seidel <eseidel@apple.com>
1637 Fix Spinneret to pass Events as const & not as pointers.
1639 * Spinneret/Spinneret/WebView.cpp:
1640 (WebKit::WebView::mouseMoved):
1641 (WebKit::WebView::mouseDown):
1642 (WebKit::WebView::mouseUp):
1643 (WebKit::WebView::mouseDoubleClick):
1644 (WebKit::WebView::keyPress):
1646 2006-03-17 Eric Seidel <eseidel@apple.com>
1648 Reviewed by justing.
1650 Add support for basic HTML editing.
1652 * Spinneret/Spinneret/WebView.cpp:
1653 (WebKit::WebView::WebView):
1654 (WebKit::WebView::keyPress):
1656 2006-03-17 Eric Seidel <eseidel@apple.com>
1658 Rubber-stamped by ggaren.
1660 Break DumpRenderTree.m up into several files to make the code more readable.
1662 * DumpRenderTree/DumpRenderTree.h: Added.
1663 * DumpRenderTree/DumpRenderTree.m:
1664 (doneLoading): new accessor function for "done" global.
1665 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1666 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1667 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1668 * DumpRenderTree/EditingDelegate.h: Added.
1669 * DumpRenderTree/EditingDelegate.m: Added.
1670 (-[EditingDelegate webViewDidChangeSelection:]):
1671 * DumpRenderTree/EventSendingController.h: Added.
1672 * DumpRenderTree/EventSendingController.m: Added.
1674 2006-03-16 Eric Seidel <eseidel@apple.com>
1678 Add resize, scroll event support.
1680 * Spinneret/Spinneret/WebView.cpp:
1681 (WebKit::WebView::mouseMoved):
1682 (WebKit::WebView::mouseDown):
1683 (WebKit::WebView::mouseUp):
1684 (WebKit::WebView::mouseDoubleClick):
1685 (WebKit::WebView::keyPress):
1686 (WebKit::WebViewWndProc):
1687 * Spinneret/Spinneret/WebView.h:
1689 2006-03-16 Eric Seidel <eseidel@apple.com>
1693 Make build-webkit print correctly to stdout on windows.
1695 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1697 2006-03-15 Eric Seidel <eseidel@apple.com>
1701 Fix eventSender.mouseClick() to update lastClick timestamp.
1703 * DumpRenderTree/DumpRenderTree.m:
1704 (-[EventSendingController mouseClick]):
1706 2006-03-15 Darin Adler <darin@apple.com>
1710 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1711 that had a lowercase "i" in it so this builds on case-sensitive
1714 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1718 Added run-testkjs and compare-timing-files scripts, to support super
1721 * Scripts/compare-timing-files: Added.
1722 * Scripts/run-testkjs: Added.
1724 2006-03-14 Eric Seidel <eseidel@apple.com>
1728 Make the URL bar relinquish focus on page load.
1730 * Spinneret/Spinneret/Spinneret.cpp:
1733 2006-03-14 Eric Seidel <eseidel@apple.com>
1737 Fix WebView to allow KeyFocus.
1738 Add handling of space and shift-space for scrolling.
1740 * Spinneret/Spinneret/WebView.cpp:
1741 (WebKit::scrollMessageForKey):
1742 (WebKit::WebViewWndProc):
1744 2006-03-10 Eric Seidel <eseidel@apple.com>
1748 Add scrolling support into Spinneret.
1750 * Spinneret/Spinneret/WebFrame.cpp:
1751 (WebKit::WebFrame::paint):
1752 * Spinneret/Spinneret/WebView.cpp:
1753 (WebKit::WebView::createWebView):
1754 (WebKit::calculateScrollDelta):
1755 (WebKit::scrollMessageForKey):
1756 (WebKit::WebViewWndProc):
1758 2006-03-13 Eric Seidel <eseidel@apple.com>
1762 Fix checksum generation on Intel machines.
1763 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1764 give a small speed boost now that it uses a shared buffer.
1766 * DumpRenderTree/DumpRenderTree.m:
1769 (md5HashStringForBitmap):
1770 * DumpRenderTree/ImageDiff.m:
1771 (computePercentageDifferent):
1773 2006-03-13 Darin Adler <darin@apple.com>
1775 Reviewed by Tim Hatcher.
1777 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1778 have it named httpd-1.3 instead.
1780 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1782 Fix proposed by Mitz Pettel, reviewed by Darin.
1784 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1785 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1787 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1788 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1791 2006-03-09 Darin Adler <darin@apple.com>
1793 Reviewed by John Sullivan.
1795 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1796 memory leak in the plug-in tests
1798 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1799 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1800 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1802 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1803 Moved the browser global in here since it's declared in this file's header.
1804 Changed the code to set up the pluginClass structure to not use function
1805 pointer casts. Those are dangerous because they can hide many types of mismatch.
1806 And indeed when I did this I discovered that many functions were missing their
1807 boolean return values or had parameter declarations with the wrong types.
1808 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1809 clarity. Added boolean return value: return true when successful and false when not.
1810 (pluginSetProperty): Added boolean return value, return false since we have no
1811 properties we can set.
1812 (pluginInvoke): Added boolean return value. Return true when successful and false
1813 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1814 return value from calling the browser. Changed code to put the strings in malloc
1815 buffers instead of relying on GCC's extension that allows variable-sized arrays
1817 (pluginInvokeDefault): Added boolean return value, return false since we have no
1818 default function to call.
1819 (pluginInvalidate): Added missing parameter. Removed comment.
1820 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1821 to cast the result of malloc.
1822 (pluginDeallocate): Removed uneeded cast.
1824 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1825 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1826 that match NPObject's fields. Removed unused NPWindow pointer.
1828 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1830 Test: fast/events/event-sender-mouse-click.html
1834 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1835 DRT hangs when doing eventSender.mouseDown on native widgets
1837 * DumpRenderTree/DumpRenderTree.m:
1838 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1839 (-[EventSendingController mouseClick]): Simulates a click in a native
1840 widget by queueing a mouseUp before sending the mouseDown, so that
1841 the widget's mouse tracking event loop doesn't hang indefinitely.
1843 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1847 - make link clicks work by handling link click requests
1850 * Spinneret/Spinneret/Spinneret.cpp:
1851 (updateLocationBar):
1852 * Spinneret/Spinneret/Spinneret.h:
1853 * Spinneret/Spinneret/WebFrame.cpp:
1854 (WebKit::WebFrame::WebFrame):
1855 (WebKit::WebFrame::openURL):
1856 (WebKit::WebFrame::loadURL):
1857 * Spinneret/Spinneret/WebFrame.h:
1859 2006-03-08 Eric Seidel <eseidel@apple.com>
1863 Focus URL bar on Spinneret launch, remove border from WebView.
1864 Stop WebFrame from deleting the job (prevent crash).
1866 * Spinneret/Spinneret/Spinneret.cpp:
1868 * Spinneret/Spinneret/WebFrame.cpp:
1869 (WebKit::WebFrame::receivedAllData):
1870 (WebKit::WebFrame::paint):
1871 * Spinneret/Spinneret/WebView.cpp:
1872 (WebKit::WebView::createWebView):
1874 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1878 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1879 (pluginInvoke): Added a method to test getURL.
1881 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1885 - load URLs, not file paths, in Spinneret
1887 * Spinneret/Spinneret/Spinneret.cpp:
1889 * Spinneret/Spinneret/Spinneret.vcproj:
1890 * Spinneret/Spinneret/WebFrame.cpp:
1891 (WebKit::WebFrame::loadURL):
1892 (WebKit::WebFrame::receivedData):
1893 (WebKit::WebFrame::receivedAllData):
1894 * Spinneret/Spinneret/WebFrame.h:
1895 * Spinneret/Spinneret/WebView.cpp:
1896 (WebKit::WebView::WebView):
1898 2006-03-08 Darin Adler <darin@apple.com>
1902 - fixed AppleScript layout test results to not be endian-dependent
1903 (Hyatt complained to me about this one)
1905 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1906 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1907 (which are endian-dependent).
1909 2006-03-07 Darin Adler <darin@apple.com>
1913 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1914 unwanted output while running layout tests
1916 * DumpRenderTree/DumpRenderTree.m:
1917 (checkedMalloc): Added.
1918 (checkedRealloc): Added.
1919 (makeLargeMallocFailSilently): Added.
1920 (main): Call makeLargeMallocFailSilently.
1922 2006-03-06 Darin Adler <darin@apple.com>
1924 * Scripts/do-webcore-rename: Add some more planned renaming.
1926 2006-03-06 Eric Seidel <eseidel@apple.com>
1930 * Spinneret/Spinneret/WebFrame.cpp:
1931 (WebKit::WebFrame::paint): force layout before painting
1933 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1937 Sent the windowNumber when sending events.
1938 Added leapForward so that we don't have to spend time waiting
1939 in layout tests that do mouse operations that require delays.
1941 * DumpRenderTree/DumpRenderTree.m:
1942 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1943 (+[EventSendingController webScriptNameForSelector:]):
1944 (-[EventSendingController currentEventTime]):
1945 (-[EventSendingController leapForward:]):
1946 (-[EventSendingController mouseDown]):
1947 (-[EventSendingController mouseUp]):
1948 (-[EventSendingController mouseMoveToX:Y:]):
1950 2006-03-05 Darin Adler <darin@apple.com>
1952 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1953 Script now works (after landing my two pending patches).
1955 2006-03-05 Darin Adler <darin@apple.com>
1957 - check in a script to do a "big" rename in WebCore
1958 (can be run whenever we're ready to do it)
1960 * Scripts/do-webcore-rename: Added.
1962 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1966 * Spinneret/Spinneret/WebFrame.cpp:
1967 (WebKit::WebFrame::loadFilePath): Close file when done.
1969 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1971 Reviewed by Darin, landed by ap.
1973 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1974 Mouse moved events do not work in DumpRenderTree
1976 Test: fast/events/event-sender-mouse-moved.html
1978 * DumpRenderTree/DumpRenderTree.m:
1979 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1981 2006-03-04 Eric Seidel <eseidel@apple.com>
1985 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1986 Disable background erase to avoid tearing.
1987 Fix potential memory smasher from extra long urls.
1989 * Spinneret/Spinneret/Spinneret.cpp:
1991 * Spinneret/Spinneret/Spinneret.vcproj:
1992 * Spinneret/Spinneret/WebFrame.cpp:
1993 (WebKit::WebFrame::loadFilePath):
1994 (WebKit::WebFrame::paint):
1995 * Spinneret/Spinneret/WebView.cpp:
1996 (WebKit::registerWebViewWithInstance):
1998 2006-03-04 Eric Seidel <eseidel@apple.com>
2002 Hang WebView pointer off of HWND (gets rid of global hack).
2003 Remove MessageBox displayed on url change.
2005 * Spinneret/Spinneret/Spinneret.cpp:
2008 * Spinneret/Spinneret/WebView.cpp:
2009 (WebKit::registerWebViewWithInstance):
2010 (WebKit::WebView::createWebView):
2011 (WebKit::WebViewWndProc):
2013 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2017 Automatically kill httpd if it appears to be already running.
2019 * Scripts/run-webkit-tests:
2021 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2025 * Spinneret/Spinneret/WebFrame.cpp:
2026 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2028 2006-03-03 Eric Seidel <eseidel@apple.com>
2032 A few more fixes to make run-webkit-tests really work on win32.
2034 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2036 * Scripts/run-webkit-tests:
2038 2006-03-03 Eric Seidel <eseidel@apple.com>
2042 Make run-webkit-tests work on win32.
2044 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2046 (dumpRenderTreeMain):
2047 (dumpRenderTreeToStdOut):
2048 (serializeToStdOut):
2050 * Scripts/run-webkit-tests:
2051 * Scripts/webkitdirs.pm:
2052 * Spinneret/Spinneret/WebView.cpp:
2053 (WebKit::WebView::WebView):
2055 2006-03-03 Eric Seidel <eseidel@apple.com>
2059 Add WebFrame class (to hold Frame and FrameView).
2060 Add Location bar support to Spinneret.
2062 * Spinneret/Spinneret/Spinneret.cpp:
2067 * Spinneret/Spinneret/Spinneret.vcproj:
2068 * Spinneret/Spinneret/WebFrame.cpp: Added.
2069 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2070 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2071 (WebKit::WebFrame::WebFrame):
2072 (WebKit::WebFrame::loadFilePath):
2073 (WebKit::WebFrame::loadHTMLString):
2074 (WebKit::WebFrame::paint):
2075 (WebKit::WebFrame::impl):
2076 (WebKit::WebFrame::viewImpl):
2077 * Spinneret/Spinneret/WebFrame.h: Added.
2078 * Spinneret/Spinneret/WebView.cpp:
2079 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2080 (WebKit::WebView::WebView):
2081 (WebKit::WebView::windowHandle):
2082 (WebKit::WebView::mainFrame):
2083 (WebKit::WebView::mouseMoved):
2084 (WebKit::WebView::mouseDown):
2085 (WebKit::WebView::mouseUp):
2086 (WebKit::WebView::mouseDoubleClick):
2087 (WebKit::WebViewWndProc):
2088 * Spinneret/Spinneret/WebView.h:
2090 2006-03-02 Eric Seidel <eseidel@apple.com>
2094 * Spinneret/Spinneret/WebView.cpp:
2095 (WebKit::registerWebViewWithInstance):
2096 (WebKit::WebView::WebView):
2097 (WebKit::WebView::mouseMoved):
2098 (WebKit::WebView::mouseDown):
2099 (WebKit::WebView::mouseUp):
2100 (WebKit::WebView::mouseDoubleClick):
2101 (WebKit::WebViewWndProc):
2102 * Spinneret/Spinneret/WebView.h:
2104 2006-03-01 Eric Seidel <eseidel@apple.com>
2106 Reviewed by andersca.
2108 Make spinneret take advantage of the new GraphicsContextCairo.
2110 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2111 (main): updated to match style guidelines.
2112 * Spinneret/Spinneret/Spinneret.cpp:
2114 * Spinneret/Spinneret/WebView.cpp:
2115 (WebKit::registerWebViewWithInstance):
2116 (WebKit::WebView::WebView):
2117 (WebKit::WebView::~WebView):
2118 (WebKit::WebView::drawRect):
2120 * Spinneret/Spinneret/WebView.h:
2122 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2126 Give the events that eventSender sends a unique eventNumber
2128 * DumpRenderTree/DumpRenderTree.m:
2129 (-[EventSendingController mouseDown]):
2130 (-[EventSendingController mouseUp]):
2131 (-[EventSendingController mouseMoveToX:Y:]):
2133 2006-03-01 Eric Seidel <eseidel@apple.com>
2137 Add a stub win32 application to test WebCore drawing on windows.
2140 * Spinneret/Spinneret: Added.
2141 * Spinneret/Spinneret.sln: Added.
2142 * Spinneret/Spinneret/Resource.h: Added.
2143 * Spinneret/Spinneret/Spinneret.cpp: Added.
2149 * Spinneret/Spinneret/Spinneret.h: Added.
2150 * Spinneret/Spinneret/Spinneret.ico: Added.
2151 * Spinneret/Spinneret/Spinneret.rc: Added.
2152 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2153 * Spinneret/Spinneret/WebView.cpp: Added.
2154 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2155 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2156 (WebKit::registerWebViewWithInstance):
2157 (WebKit::WebView::createWebView):
2158 (WebKit::WebView::WebView):
2159 (WebKit::WebView::~WebView):
2160 (WebKit::WebView::drawRect):
2161 (WebKit::WebView::windowHandle):
2163 * Spinneret/Spinneret/WebView.h: Added.
2164 * Spinneret/Spinneret/small.ico: Added.
2165 * Spinneret/Spinneret/stdafx.cpp: Added.
2166 * Spinneret/Spinneret/stdafx.h: Added.
2168 2006-02-28 Eric Seidel <eseidel@apple.com>
2172 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2173 (main): add ability to dump render tree and read from a local file.
2175 2006-02-27 Eric Seidel <eseidel@apple.com>
2179 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2181 2006-02-27 Eric Seidel <eseidel@apple.com>
2185 Test new KConfig -> PlugInInfoStore change.
2186 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2188 * DumpRenderTree/DumpRenderTree.m:
2189 (main): load test netscape plugin
2190 * Scripts/run-webkit-tests: style update
2192 2006-02-24 Eric Seidel <eseidel@apple.com>
2196 Make DumpRenderTree link against icu.
2198 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2200 2006-02-24 Eric Seidel <eseidel@apple.com>
2204 Make DumpRenderTree link against libxml, etc.
2206 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2208 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2210 Reviewed and landed by Anders.
2212 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2213 getting called from the run loop, making the view render each test and thus slowing
2216 * DumpRenderTree/DumpRenderTree.m:
2217 (main): Set the offscreen window to not autodisplay.
2219 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2223 - Turn http tests back on by default.
2224 - Wait for Apache to actually start serving requests.
2225 - Get user id from a built-in variable rather than an external command;
2226 don't pass the group.
2228 * Scripts/run-webkit-tests:
2230 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2232 Suggested by Mitz Pettel, reviewed by Darin.
2234 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2235 can run CGIs even if the permissions are 700 or 600.
2237 2006-02-23 Darin Adler <darin@apple.com>
2239 Collaborating with Alexey.
2241 - turn off http tests by default until we figure out how to get them
2242 to run even when permissions on CGI files are 700 instead of 755
2244 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2246 2006-02-23 Eric Seidel <eseidel@apple.com>
2248 Add *.user to ignore list.
2250 2006-02-23 Eric Seidel <eseidel@apple.com>
2252 Remove binary file which shouldn't have been commited (and add to ignore list).
2254 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2255 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2257 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2261 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2263 2006-02-22 Eric Seidel <eseidel@apple.com>
2265 Reviewed by Tim Hatcher.
2267 Fix install-win-extras to not try to re-install setx if installed.
2269 * Scripts/install-win-extras:
2271 2006-02-22 Eric Seidel <eseidel@apple.com>
2273 One more file possibly missing from previous commit?
2275 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2276 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2278 2006-02-22 Eric Seidel <eseidel@apple.com>
2280 Reviewed by justing.
2282 Files missing from previous commit.
2284 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2285 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2287 2006-02-22 Eric Seidel <eseidel@apple.com>
2289 Rubber-stamped by justing.
2291 Corrected path for DumpRenderTree.intermediate files
2293 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2295 2006-02-22 Eric Seidel <eseidel@apple.com>
2297 Reviewed by justing.
2299 Fixed build-dumprendertree to exit with correct error codes.
2301 * Scripts/build-dumprendertree:
2303 2006-02-22 Eric Seidel <eseidel@apple.com>
2305 Reviewed by justing.
2307 Update build scripts to generalize building on Win32, and allow
2308 building of DumpRenderTree on Win32 from build-dumprendertree.
2310 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2312 * Scripts/build-dumprendertree:
2313 * Scripts/build-webkit:
2314 * Scripts/webkitdirs.pm:
2316 2006-02-22 Eric Seidel <eseidel@apple.com>
2320 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2321 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2322 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2323 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2324 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2325 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2327 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2328 * Scripts/build-webkit: make build-webkit cleanup after itself
2330 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2334 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2335 Some minor fixes to http tests.
2337 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2339 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2343 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2344 Would like to use locally installed Apache for testing.
2346 Added two run-webkit-tests options:
2347 --http (--nohttp) - whether to launch Apache (defaults to yes);
2348 --port - which port to listen on (defaults to 8000).
2350 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2351 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2352 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2354 Also added support for .shtml and .text files. Text files give an empty
2355 *-expected.txt, but a correct image.
2357 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2359 * Scripts/run-webkit-tests:
2361 2006-02-21 Darin Adler <darin@apple.com>
2363 Suggested by Mark Rowe.
2365 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2366 reporting leak counts.
2368 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2372 - Added install-win-extras script which installs some extra
2373 programs and libraries, and does Windows first-time setup.
2375 * Scripts/build-webkit: Add a newline between build results.
2376 * Scripts/install-win-extras: Added.
2378 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2382 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2383 DumpRenderTree should be able to load files via HTTP
2385 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2386 Handle tests starting with "http://" as real URLs, not file system paths.
2388 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2392 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2393 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2395 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2397 2006-02-18 Darin Adler <darin@apple.com>
2399 * Scripts/commit-log-editor: Added.
2401 2006-02-17 Eric Seidel <eseidel@apple.com>
2405 Make Win32 have the same default "WebKitBuild" directory behavior.
2407 * Scripts/build-webkit:
2408 * Scripts/webkitdirs.pm:
2410 2006-02-17 Eric Seidel <eseidel@apple.com>
2414 * Scripts/build-webkit: make win32 actually report errors
2416 2006-02-17 Eric Seidel <eseidel@apple.com>
2420 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2422 2006-02-17 Eric Seidel <eseidel@apple.com>
2426 * Scripts/run-webkit-tests: Ignore flash leaks
2428 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2432 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2433 Add drag and drop support to DumpRenderTree
2435 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2436 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2438 * DumpRenderTree/DumpRenderTree.m:
2440 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2441 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2442 (-[WaitUntilDoneDelegate webViewFocus:]):
2443 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2444 (+[LayoutTestController webScriptNameForSelector:]):
2445 (-[LayoutTestController setWindowIsKey:]):
2446 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2447 (-[EventSendingController init]):
2448 (-[EventSendingController mouseDown]):
2449 (-[EventSendingController mouseUp]):
2450 (-[EventSendingController mouseMoveToX:Y:]):
2452 (-[DumpRenderTreeWindow isKeyWindow]):
2453 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2454 (-[DumpRenderTreeDraggingInfo dealloc]):
2455 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2456 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2457 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2458 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2459 (-[DumpRenderTreeDraggingInfo draggedImage]):
2460 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2461 (-[DumpRenderTreeDraggingInfo draggingSource]):
2462 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2463 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2464 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2465 * DumpRenderTree/TextInputController.m:
2466 (-[TextInputController firstRectForCharactersFrom:length:]):
2467 (-[TextInputController characterIndexForPointX:Y:]):
2469 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2473 * DumpRenderTree/DumpRenderTree.m:
2474 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2475 Added a dummy method for the sake of LayoutTests/plugins/
2476 undefined-property-crash.html. (It tests a crash due to fallback
2477 object use. WebCore won't create a fallback object if the method is
2480 2006-02-14 Eric Seidel <eseidel@apple.com>
2484 * Scripts/run-webkit-tests: added --results-directory (-o) option
2486 2006-02-09 Eric Seidel <eseidel@apple.com>
2488 Rubber-stamped by mjs.
2490 Renamed split-class to split-file-by-class.
2492 * Scripts/build-webkit: Updated copyright.
2493 * Scripts/split-class: Removed.
2494 * Scripts/split-file-by-class: Added.
2496 2006-02-08 Eric Seidel <eseidel@apple.com>
2498 Rubber-stamped by mjs.
2500 Adding new script for splitting multi-class files.
2501 Also adding supporting perl module with space removing heuristics.
2503 * Scripts/SpacingHeuristics.pm: Added.
2504 * Scripts/build-drawtest: updated copyright header
2505 * Scripts/split-class: Added.
2507 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2509 Reviewed by thatcher
2511 Changes to test fix for:
2512 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2513 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2515 * DumpRenderTree/DumpRenderTree.m:
2516 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2517 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2518 (+[LayoutTestController webScriptNameForSelector:]):
2519 (-[LayoutTestController setWindowHasFocus:]):
2520 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2522 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2524 Reviewed by Timothy.
2526 Support automated testing of AppleScript "do JavaScript" command
2527 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2529 * DumpRenderTree/AppleScriptController.h: Added.
2530 * DumpRenderTree/AppleScriptController.m: Added.
2531 * DumpRenderTree/DumpRenderTree.m:
2532 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2533 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2535 2006-02-06 Eric Seidel <eseidel@apple.com>
2539 Fix build-webkit for use on win32 (unblocks buildbot usage).
2540 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2542 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2543 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2545 2006-02-06 Eric Seidel <eseidel@apple.com>
2547 Rubber-stamped by darin & mjs.
2549 Added new support directory for build slave scripts.
2550 Committing the first script, for use by the PLT's build slave.
2551 This script is used to kick of the PLT (Page Load Test) slave.
2553 * BuildSlaveSupport: Added.
2554 * BuildSlaveSupport/run-performance-tests: Added.
2556 2006-02-06 Eric Seidel <eseidel@apple.com>
2558 Rubber-stamped by darin.
2560 Adding setSourceDir for scripts stored in non-standard locations.
2562 * Scripts/webkitdirs.pm:
2564 2006-02-04 Darin Adler <darin@apple.com>
2566 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2567 Configuration files that say Development or Deployment in them.
2569 2006-02-04 Darin Adler <darin@apple.com>
2571 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2572 wrapper already in the directory.
2573 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2574 these haven't been working at all.
2575 * Scripts/svn-unapply: Ditto.
2577 2006-02-03 Timothy Hatcher <timothy@apple.com>
2581 Renamed configuration names to Debug, Release and Production.
2583 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2584 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2585 * Scripts/set-webkit-configuration:
2586 * Scripts/webkitdirs.pm:
2588 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2590 Reviewed by thatcher
2592 Enabled spell checking for layout tests.
2594 * DumpRenderTree/DumpRenderTree.m:
2597 2006-01-29 Darin Adler <darin@apple.com>
2599 * Scripts/svn-apply: Added comments about things we should do to improve.
2600 * Scripts/svn-create-patch: Ditto.
2601 * Scripts/svn-unapply: Ditto.
2603 2006-01-28 Darin Adler <darin@apple.com>
2605 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2606 already there, even if the checksum is correct.
2608 2006-01-27 Eric Seidel <eseidel@apple.com>
2612 * Scripts/run-webkit-tests: make new tests use absolute urls
2614 2006-01-27 Eric Seidel <eseidel@apple.com>
2618 make run-webkit-tests output total leaks count
2620 * Scripts/run-webkit-tests:
2622 2006-01-27 Eric Seidel <eseidel@apple.com>
2626 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2627 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2629 * Scripts/run-webkit-tests: fix --leaks to not crash
2631 2006-01-26 Eric Seidel <eseidel@apple.com>
2635 run-webkit-tests should produce a self-contained results directory
2636 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2638 * Scripts/run-webkit-tests: copy failing items to results dir.
2640 2006-01-23 Darin Adler <darin@apple.com>
2642 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2643 need script to update localizable strings file in WebKit
2645 * Scripts/update-webkit-localizable-strings: Added.
2647 2006-01-23 Darin Adler <darin@apple.com>
2649 - added a couple of scripts -- more about these two soon
2651 * Scripts/extract-localizable-strings: Added.
2652 * Scripts/merge-changelog: Added.
2654 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2658 Build fix. build-webkit dies with "invalid build action: (empty string)"
2660 * Scripts/build-webkit:
2661 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2663 2006-01-22 Eric Seidel <eseidel@apple.com>
2667 Fix --no-svg option to use XCode flags instead of gcc flags.
2669 * Scripts/build-webkit:
2671 2006-01-22 Eric Seidel <eseidel@apple.com>
2675 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2677 * Scripts/build-webkit:
2679 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2681 Reviewed by eseidel.
2683 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2684 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2686 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2687 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2689 2006-01-19 Darin Adler <darin@apple.com>
2691 * Scripts/report-include-statistics: Added a new script.
2693 2006-01-19 Timothy Hatcher <timothy@apple.com>
2695 * Scripts/build-webkit: include JavaScriptGlue in the build
2697 2006-01-19 Darin Adler <darin@apple.com>
2699 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2700 spaces in it by using the form of open that treats each argument as a string
2701 rather than backtick syntax for reading the output of the nm tool.
2703 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2707 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2708 detect if there are any new tests
2710 * Scripts/prepare-ChangeLog:
2712 2006-01-12 Darin Adler <darin@apple.com>
2714 - removed some of the cvs-specific scripts -- not needed for this project any more
2716 * Scripts/cvs-abandon: Removed.
2717 * Scripts/cvs-apply: Removed.
2718 * Scripts/cvs-create-patch: Removed.
2719 * Scripts/cvs-unapply: Removed.
2721 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2723 Reviewed by eseidel. Committed by eseidel.
2725 - run-webkit-tests always launches Safari when tests fail
2726 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2728 * Scripts/run-webkit-tests:
2729 Add a command-line flag to prevent Safari being launched to display failed
2730 tests. Always exit with non-zero status when tests have failed.
2732 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2734 Reviewed by eseidel. Committed by eseidel.
2736 - build-webkit should exit with non-zero status when build fails
2737 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2739 * Scripts/build-webkit:
2740 Use correct bits of subprocess exit code when passing back through
2741 as build-webkit's exit code.
2743 2006-01-10 Eric Seidel <eseidel@apple.com>
2745 Restored corrupted nibs from TOT CVS.
2747 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2748 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2749 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2750 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2751 * DrawTest/English.lproj/Inspector.nib: Replaced.
2752 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2753 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2754 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2755 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2756 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2757 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2758 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2759 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2760 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2761 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2762 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2764 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2766 Reviewed by eseidel. Committed by eseidel.
2768 DrawTestView now subclasses WebView instead of DrawView.
2770 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2771 * DrawTest/DrawTestDocument.h:
2772 * DrawTest/DrawTestDocument.m:
2773 (-[DrawTestDocument dealloc]):
2774 (-[DrawTestDocument readFromFile:ofType:]):
2775 (-[DrawTestDocument windowControllerDidLoadNib:]):
2776 (-[DrawTestDocument dumpSVGToConsole:]):
2777 (-[DrawTestDocument openSourceForSelection:]):
2778 (-[DrawTestDocument dataRepresentationOfType:]):
2779 * DrawTest/DrawTestToolbarController.h:
2780 * DrawTest/DrawTestToolbarController.m:
2781 (-[DrawTestToolbarController initWithDrawView:]):
2782 (-[DrawTestToolbarController clickedToolbarItem:]):
2783 (-[DrawTestToolbarController validateToolbarItem:]):
2784 * DrawTest/DrawTestView.h:
2785 * DrawTest/DrawTestView.m:
2786 (-[DrawTestView initWithFrame:]):
2787 (-[DrawTestView setDocument:]):
2788 * DrawTest/SVGTest.h:
2789 * DrawTest/SVGTest.m:
2790 (+[SVGTest sharedDrawView]):
2791 (-[SVGTest generateCompositeIfNecessary]):
2792 * DrawTest/TestController.h:
2793 * DrawTest/TestController.m:
2794 (-[TestController awakeFromNib]):
2795 (-[TestController setSelectedTest:]):
2796 (-[TestController openTestViewerForSelection:]):
2797 (-[TestController toggleViewersScaleRule:]):
2798 * DrawTest/TestViewerSplitView.m:
2799 (-[TestViewerSplitView drawRect:]):
2801 2006-01-10 Anders Carlsson <andersca@mac.com>
2803 Reviewed by Timothy.
2805 * DumpRenderTree/DumpRenderTree.m:
2806 (main): Set the default language to "en", so language tests will work.
2808 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2812 - script to generate HTML wrappers for JS tests
2813 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2815 * Scripts/make-js-test-wrappers: Added.
2817 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2821 * Scripts/svn-create-patch: Fix to work when passed directory names.
2823 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2827 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2828 can start writing automated loader tests now. I have one in the works.
2830 * DumpRenderTree/DumpRenderTree.m:
2831 (main): Construct global navigationController on entry, destroy on exit.
2832 Set frame to nil on exit too, to match all the other global objects.
2833 (Probably academic, since the process is exiting, anyway.)
2834 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2835 navigationController, in case it wants to kick off a load.
2836 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2837 the navigationController to scripting.
2839 New class, should be straightforward:
2841 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2842 * DumpRenderTree/NavigationController.h: Added.
2843 * DumpRenderTree/NavigationController.m: Added.
2845 (+[NavigationController isSelectorExcludedFromWebScript:]):
2846 (+[NavigationController webScriptNameForSelector:]):
2847 (-[NavigationController setPendingScript:]):
2848 (-[NavigationController setPendingRequest:]):
2849 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2850 (-[NavigationController webView:didFinishLoadForFrame:]):
2851 (-[NavigationController dealloc]):
2853 2006-01-08 Timothy Hatcher <timothy@apple.com>
2855 Removed this script, no longer needs with the Subversion switch.
2857 * checkout: Removed.
2859 2006-01-08 Timothy Hatcher <timothy@apple.com>
2861 Removes some stray tabs.
2863 * Scripts/update-webkit:
2865 2005-01-07 Eric Seidel <eseidel@apple.com>
2869 build-webkit should pass on build arguments from command line
2870 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2872 * Scripts/build-webkit:
2874 2006-01-07 Eric Seidel <eseidel@apple.com>
2876 Reviewed by mjs & xenon.
2878 * Scripts/update-webkit: support Internal updates as well
2880 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2882 Temporarily rolling out plugin support from DumpRenderTree because it
2883 caused lots of layout test regressions.
2885 * DumpRenderTree/DumpRenderTree.m:
2886 (main): Remove invisible window added to support plugins.
2888 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2892 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2893 Add plugin support to DumpRenderTree
2895 Also wrote first test plugin.
2897 * DumpRenderTree/DumpRenderTree.m:
2899 (1) Put the WebView in an invisible window, because PlugIns are
2900 optimized not to load if there's no parent window.
2901 (2) Tell WebKit to load any PlugIns in the directory from which we
2902 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2903 and they'll load automagically during layout testing, but they won't be
2904 added to the user's system, hosing apps like Safari.
2906 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2907 test PlugIn to project.
2909 PlugIn added to project:
2911 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2912 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2914 (initializeIdentifiers):
2915 (pluginHasProperty):
2917 (pluginGetProperty):
2918 (pluginSetProperty):
2920 (pluginInvokeDefault):
2924 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2925 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2927 (NP_GetEntryPoints):
2933 (NPP_DestroyStream):
2943 2006-01-04 Timothy Hatcher <timothy@apple.com>
2947 Tweaked and tested by me.
2949 New scripts to work with Subversion when the switch happens.
2950 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2952 * Scripts/svn-apply: Added.
2953 * Scripts/svn-create-patch: Added.
2954 * Scripts/svn-unapply: Added.
2956 2005-12-30 Eric Seidel <eseidel@apple.com>
2960 Move WebView width/height logic into DumpRenderTree to support
2961 running the W3C SVG 1.1 tests along side other tests. The W3C
2962 SVG 1.1 tests require a 480x360 view.
2964 * DumpRenderTree/DumpRenderTree.m:
2965 (main): don't accept width/height
2966 (dump): override width/height for SVG/W3C
2967 * Scripts/run-webkit-tests: don't pass width/height
2969 2005-12-30 Eric Seidel <eseidel@apple.com>
2971 No review, only removing dead code.
2973 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2974 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2976 2005-12-30 Eric Seidel <eseidel@apple.com>
2980 DumpRenderTree should set a consistent color profile while running
2981 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2983 Creates consistent colormatched renderings on every test machine
2984 using the only way possible with Tiger APIs: by setting the
2985 system color profile on the test machine for the duration of the
2986 tests. This will (unfortunately) cause colors to change while
2987 running DumpRenderTree. This can also cause "permanent" color
2988 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2989 This is far from ideal, but it's be best way we've found to deal
2990 with the issue for now.
2992 * DumpRenderTree/DumpRenderTree.m:
2993 (restoreColorSpace):
2994 (setDefaultColorProfileToRGB):
2997 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2999 Reviewed by Darin Adler.
3001 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3002 cvs-create-patch --include produces incorrect paths
3004 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3006 2005-12-19 Eric Seidel <eseidel@apple.com>
3010 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3012 2005-12-19 Darin Adler <darin@apple.com>
3014 Reviewed by Eric Seidel.
3016 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3017 WebKit needs to use a local pasteboard during testing
3019 * DumpRenderTree/DumpRenderTree.m:
3020 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3021 Create a local pasteboard (really a global one with a unique name) and release
3022 it when exiting from the function so we don't leave it in the pasteboard server.
3023 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3024 ddn't have one. Fixed a leak in an unlikely error case.
3025 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3026 of this method to return our local pasteboard.
3028 2005-12-15 Eric Seidel <eseidel@apple.com>
3030 Reviewed by Tim Hatcher.
3032 * Scripts/build-webkit: --svg is now default!
3034 2005-12-15 Eric Seidel <eseidel@apple.com>
3038 Don't run svg test automatically if +SVG is built (yet).
3040 * Scripts/run-webkit-tests:
3042 2005-12-15 Darin Adler <darin@apple.com>
3044 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3045 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3046 passed on the command line.
3048 2005-12-06 John Sullivan <sullivan@apple.com>
3050 Reviewed by Darin Adler.
3052 * Scripts/prepare-ChangeLog:
3053 Remove special-case handling for nib files. This avoided trouble with cvs diff
3054 when we were using wrappers for nib files. Now that we aren't using wrappers,
3055 there's no reason to avoid adding the modified nib files to the file list that
3058 2005-12-05 Eric Seidel <eseidel@apple.com>
3062 Script updates for SVG files move (remove references to SVGSupport)
3064 * Scripts/build-webkit: remove SVGSupport
3065 * Scripts/run-webkit-tests: Resources -> resources for --svg
3066 * Scripts/update-webkit: remove SVGSupport
3068 2005-12-05 Eric Seidel <eseidel@apple.com>
3072 * checkout: remove --svg support, SVG is now checked out by default
3074 2005-11-29 Eric Seidel <eseidel@apple.com>
3078 Update scripts to run SVG tests automatically (w/o --svg) if
3079 WebCore is built with SVG support.
3081 * Scripts/build-drawtest: SVG support required
3082 * Scripts/build-dumpkcanvastree: Removed.
3083 * Scripts/run-drawtest: SVG support required to run
3084 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3085 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3087 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3089 Reviewed by Darin. Committed by Maciej.
3091 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3092 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3094 * DumpRenderTree/DumpRenderTree.m:
3097 2005-11-28 Eric Seidel <eseidel@apple.com>
3099 Reviewed by sullivan and GGAREN.
3101 Minor additions to make error messages more clear from cvs-apply.
3103 * Scripts/cvs-apply: make errors more clear
3105 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3107 Reviewed and committed by Maciej.
3109 - fixed cvs-create-patch --include produces incorrect paths
3110 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3112 * Scripts/cvs-create-patch: produce proper paths for new files.
3114 2005-11-21 Eric Seidel <eseidel@apple.com>
3118 Some simple fixes to the build/test scripts now that SVG uses the
3119 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3120 or symlinks for KDOM.
3122 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3123 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3124 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3125 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3126 * checkout: no longer symlink kdom
3128 2005-11-10 Eric Seidel <eseidel@apple.com>
3132 * Scripts/build-webkit: Pass through options to xcodebuild
3134 2005-11-07 Darin Adler <darin@apple.com>
3136 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3138 2005-11-03 John Sullivan <sullivan@apple.com>
3142 * Scripts/run-safari:
3143 changed message to say "Starting Safari" instead of odd "Start Safari"
3144 * Scripts/run-webkit-tests:
3145 changed the way we pass the file parameter to use -NSOpen rather than relying on
3146 unlabeled arguments being treated as files. This was failing on some machines that
3147 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3149 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3151 Patch by Alexey Proskuryakov.
3155 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3156 TextInputController should support attributed strings
3158 * DumpRenderTree/TextInputController.m:
3159 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3160 (+[NSMutableAttributedString webScriptNameForSelector:]):
3161 (-[NSMutableAttributedString getLength]):
3162 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3163 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3164 (-[NSMutableAttributedString addAttribute:value:]):
3165 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3166 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3167 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3168 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3169 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3170 (+[TextInputController isSelectorExcludedFromWebScript:]):
3171 (+[TextInputController webScriptNameForSelector:]):
3172 (-[TextInputController insertText:]):
3173 (-[TextInputController attributedSubstringFrom:length:]):
3174 (-[TextInputController attributedStringWithString:]):
3176 2005-10-11 Eric Seidel <eseidel@apple.com>
3180 Checks for leaks in ImageDiff too.
3182 * Scripts/run-webkit-tests:
3184 2005-10-09 Darin Adler <darin@apple.com>
3186 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3187 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3188 * Scripts/cvs-unapply: Ditto.
3189 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3191 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3193 Reviewed, rearranged and landed by Darin.
3195 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3196 Need a way to automatically test for regressions in NSTextInput implementation
3198 * DumpRenderTree/DumpRenderTree.m:
3199 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3200 Create a text input controller and put it in a property of the window object.
3202 * DumpRenderTree/TextInputController.h: Added.
3203 * DumpRenderTree/TextInputController.m: Added.
3204 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3206 2005-10-06 Darin Adler <darin@apple.com>
3208 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3209 are controlled by cvs, or when changes cross multiple repositories.
3210 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3212 2005-10-03 Eric Seidel <eseidel@apple.com>
3216 Make mouseDown and mouseUp force layout before acting.
3217 This is used by a new test case for 4233558.
3219 * DumpRenderTree/DumpRenderTree.m:
3220 (-[EventSendingController mouseDown]): force layout
3221 (-[EventSendingController mouseUp]): force layout
3223 2005-09-30 Eric Seidel <eseidel@apple.com>
3227 Updated all the scripts for the move:
3228 WebCore/layout-tests -> LayoutTests
3230 * Scripts/check-dom-results:
3231 * Scripts/prepare-ChangeLog:
3232 * Scripts/run-webkit-tests:
3233 * Scripts/update-webkit: added --no-tests
3234 * checkout: added --no-tests
3236 2005-09-28 Darin Adler <darin@apple.com>
3238 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3239 pixel test should run even if render trees differ
3241 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3243 2005-09-27 Eric Seidel <eseidel@apple.com>
3245 No review needed, SVG build fix only.
3247 * DumpKCanvasTree/DumpKCanvasTree.m:
3248 Missed one in my previous checkin.
3249 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3251 2005-09-26 Eric Seidel <eseidel@apple.com>
3253 No review needed, SVG build fix only.
3255 * DrawTest/DrawTestDocument.m:
3256 * DrawTest/DrawTestToolbarController.m:
3257 * DrawTest/DrawTestView.h:
3258 * DrawTest/DrawTestView.m:
3259 * DrawTest/SVGTest.m:
3260 * DrawTest/TestController.m:
3261 Updated for WebCore+SVG -> WebCore rename.
3262 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3264 2005-09-26 Eric Seidel <eseidel@apple.com>
3268 * DumpRenderTree/DumpRenderTree.m:
3269 (dump): updated error message
3270 * Scripts/check-dom-results: now includes xhtml
3271 Tool updates for xhtml.
3272 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3274 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3279 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3280 "Would like to simulate human interaction with webview"
3282 * DumpRenderTree/DumpRenderTree.m:
3283 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3284 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3285 (+[EventSendingController webScriptNameForSelector:]):
3286 (-[EventSendingController init]):
3287 (-[EventSendingController mouseDown]):
3288 (-[EventSendingController mouseUp]):
3289 (-[EventSendingController mouseMoveToX:Y:]):
3290 Add eventSender javascript object, that sends fake mouse events to the webview.
3292 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3293 link with Carbon.framework
3295 2005-09-22 Eric Seidel <eseidel@apple.com>
3299 Update tools for WebCore+SVG -> WebCore rename.
3300 Also fold several SVG specific tools into their original
3301 WebCore counterparts.
3302 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3304 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3305 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3306 * Scripts/build-drawtest:
3307 * Scripts/build-dumpkcanvastree:
3308 * Scripts/build-webcore-svg: Removed.
3309 * Scripts/build-webkit: added --svg option
3310 * Scripts/run-drawtest:
3311 * Scripts/run-webkit-tests:
3312 * Scripts/webkitdirs.pm: various additions.
3313 * checkout: added --svg option
3314 * checkout-svg: Removed.
3316 2005-09-19 Eric Seidel <eseidel@apple.com>
3320 * Scripts/run-webkit-tests: added --guard-malloc option
3321 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3323 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3327 Removed a script that is only used by apple internal developers
3329 * Scripts/update-webkitsysteminterface: Removed.
3331 2005-09-16 Adele Peterson <adele@apple.com>
3335 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3337 2005-09-14 Darin Adler <darin@apple.com>
3339 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3340 dumpAsText doesn't work with XHTML documents
3342 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3343 rather than of the body element. This works with typical XHTML documents. We can probably
3344 do something even better in the long run, but this fixes the immediate issue.
3348 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3349 run-safari instead of just using "open", which often runs another copy of Safari instead.
3351 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3353 Reviewed, tweaked, and landed by Darin.
3355 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3356 .Mac prefpane crashes when Safari using CVS WebKit is running
3358 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3359 * Scripts/run-webkit-app: Ditto.
3361 2005-09-11 Darin Adler <darin@apple.com>
3363 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3365 2005-09-11 Darin Adler <darin@apple.com>
3369 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3370 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3371 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3374 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3378 * Scripts/update-webkitsysteminterface: Added.
3379 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3381 2005-09-01 John Sullivan <sullivan@apple.com>
3383 * Scripts/run-webkit-tests:
3384 Excluded a known system leak to reduce noise; added comments about which leaks
3387 2005-09-01 Tim Omernick <tomernick@apple.com>
3389 Change made by Darin, reviewed by John and myself.
3391 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3393 * Scripts/prepare-ChangeLog:
3395 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3399 - set color variant and font settings to a consistent value.
3400 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3402 * DumpRenderTree/DumpRenderTree.m:
3405 2005-08-30 Eric Seidel <eseidel@apple.com>
3409 * Scripts/build-svg2png: Removed.
3410 * svg2png/ImageDiff.h: Removed.
3411 * svg2png/ImageDiff.m: Removed.
3412 * svg2png/svg2png.m: Removed.
3413 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3414 * svg2png/svg2png_Prefix.pch: Removed.
3415 svg2png is no longer needed.
3417 2005-08-30 Darin Adler <darin@apple.com>
3419 * Scripts/check-dom-results: Special case 100% to say something nice.
3420 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3421 applying the patch (need a better name).
3422 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3424 2005-08-30 Darin Adler <darin@apple.com>
3426 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3428 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3432 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3433 (some pixel tests fail when AA settings are changed)
3435 * DumpRenderTree/DumpRenderTree.m:
3436 (main): set AA settings to the default values
3438 2005-08-29 Darin Adler <darin@apple.com>
3440 Reviewed by John Sullivan.
3442 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3443 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3446 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3450 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3451 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3453 * DumpRenderTree/DumpRenderTree.m:
3454 (main): set scrollbar arrow setting to a consistent value
3456 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3458 Reviewed and landed by Darin.
3460 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3461 output of update-webkit is too verbose
3463 * Scripts/update-webkit:
3464 Added option --quiet (-q) to decrease the amount of output.
3466 2005-08-27 Darin Adler <darin@apple.com>
3468 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3469 cvs-create-patch --include-unknowns should ignore hidden files
3471 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3473 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3475 Reviewed, tweaked, and landed by Darin.
3477 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3478 update-webkit doesn't notice when you have SVGSupport and update properly
3480 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3482 2005-08-25 Anders Carlsson <andersca@mac.com>
3484 Reviewed and landed by Darin.
3486 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3487 layout test machinery can't handle tests with applets that have code attributes
3489 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3491 2005-08-24 Darin Adler <darin@apple.com>
3495 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3496 DumpRenderTree --pixel-tests crash
3497 - landed some other small changes I had sitting in my tree
3499 * DumpRenderTree/DumpRenderTree.m:
3500 (main): Don't bother saving and restoring the preferences. Not sure
3501 why this was ever done since the preferences are specific to DumpRenderTree.
3502 Clear delegates before releasing the WebView, because you can't count on the
3503 order of object deallocation.
3504 (dumpRenderTree): Fix code that releases a string before storing it in a
3507 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3508 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3510 2005-08-23 Eric Seidel <eseidel@apple.com>
3514 * Scripts/run-webkit-tests:
3515 Made --leaks option more readable by printing to a file.
3516 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3518 2005-08-22 Eric Seidel <eseidel@apple.com>
3519 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3523 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3524 when they are not needed (for pixel-only failures)
3525 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3527 2005-08-22 Eric Seidel <eseidel@apple.com>
3531 * Scripts/run-webkit-tests: Added the ability to display more than
3532 just two images as part of the image-diff "slideshow".
3533 Added display of "-w3c.png" baseline images for SVG.
3534 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3536 2005-08-20 Eric Seidel <eseidel@apple.com>
3538 * Scripts/run-webkit-tests:
3539 "build" fix after committing incorrect version.
3541 2005-08-20 Eric Seidel <eseidel@apple.com>
3545 * DumpRenderTree/DumpRenderTree.m:
3546 (main): cleans up delegates
3547 (dumpRenderTree): closes CFString/CFURL leak
3548 * Scripts/run-webkit-tests:
3549 Adds --leaks option to run-webkit-tests
3550 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3552 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3556 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3557 new files to be included in the patch even without "cvs add".
3559 2005-08-19 Darin Adler <darin@apple.com>
3561 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3562 non-cvs-generated patches. Anders has been creating these, so it's bad that
3563 the script can't handle them.
3564 * Scripts/cvs-unapply: Ditto.
3566 2005-08-18 Darin Adler <darin@apple.com>
3568 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3569 "." in them -- based on complaint by someone here at Apple.
3571 2005-08-18 Eric Seidel <eseidel@apple.com>
3575 * Scripts/run-webkit-tests:
3576 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3578 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3580 - add file that I forgot in the last checkin
3582 * DumpRenderTree/ImageDiff.m: Added.
3584 (getImageFromStdin):
3586 (getDifferenceBitmap):
3587 (computePercentageDifferent):
3589 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3591 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3592 somewhat by me, and also tweaked by me a little bit.
3594 - better support for pixel-dumping
3595 - use checksums of the images so the tests are fast
3596 - change output format to make the tests run faster
3597 - don't dump pixel results for tests that dump as text
3599 * DumpKCanvasTree/DumpKCanvasTree.m:
3602 (md5HashStringForBitmap):
3604 (constrainSizeToMaximum):
3605 (getBitmapImageRepForSVGDocument):
3606 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3607 * DumpRenderTree/DumpRenderTree.m:
3611 (md5HashStringForBitmap):
3612 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3613 * Scripts/run-webkit-tests:
3615 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3619 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3621 * DumpRenderTree/DumpRenderTree.m:
3624 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3626 Reviewed and landed by Darin.
3628 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251