1 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
5 http://bugzilla.opendarwin.org/show_bug.cgi?id=10175
6 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
8 * Drosera/DebuggerDocument.m:
9 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
11 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
15 http://bugzilla.opendarwin.org/show_bug.cgi?id=10167
16 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
18 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
21 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
25 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
26 http://bugzilla.opendarwin.org/show_bug.cgi?id=9686
28 * Drosera/DebuggerDocument.m:
29 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
30 ensure that the server does not try and notify us of events related to the resumption.
31 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
32 call through to JavaScript.
33 * Drosera/debugger.js: Pause debugger when exception is raised.
35 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
39 - fixes for Linux build
41 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
42 * GdkLauncher/gdklauncher.bkl: Tweak comment.
44 2006-07-24 Dan Waylonis <waylonis@google.com>
46 Reviewed and tweaked a bit by Darin.
48 * DumpRenderTree/ObjCPlugin.m:
49 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
50 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
51 "echo:" so it's nice to call from JavaScript.
52 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
53 to test a round trip through Objective-C types.
55 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
59 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10060
60 Improve iExploder results parsing
62 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
65 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
69 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9964
70 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
72 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
74 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
78 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
79 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
81 Removed "Property changes" that snuck in as part of the "apply patch" process.
83 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
87 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9875
88 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
91 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
93 (patch): Use patch(1) for non-binary additions and deletions.
94 * Scripts/svn-unapply:
96 (patch): Use patch(1) for reverting non-binary additions and deletions.
97 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
99 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
103 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
104 http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
106 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
107 so, have stepOut pause on the next call to willExecuteStatement rather than second.
109 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
113 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
114 Teach svn-create-patch and friends to fix ChangeLog patches
116 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
117 * Scripts/svn-create-patch: Ditto.
118 * Scripts/svn-unapply: Ditto.
120 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
124 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
125 http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
127 * Drosera/DebuggerDocument.m:
128 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
130 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
134 Bug 9863: Drosera needs to show something at launch
135 http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
137 * Drosera/DebuggerApplication.m:
138 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
140 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
144 Lets Drosera build universal for the nightlies. Right now it is not
145 possible to build a universal binary on a PPC machine because of a
146 conflict with the universal SDK.
148 * BuildSlaveSupport/build-launcher-app:
149 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
151 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
155 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
156 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
158 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
159 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
160 should open a new stream and deliver the data to the current instance.
162 2006-07-11 Timothy Hatcher <timothy@apple.com>
166 Bug 9598: [Drosera] add a JavaScript evaluator console
167 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
169 * Drosera/DebuggerApplication.h:
170 * Drosera/DebuggerApplication.m:
171 (-[DebuggerApplication knownServers]):
172 * Drosera/DebuggerDocument.h:
173 * Drosera/DebuggerDocument.m:
174 (-[WebScriptObject evaluateScript:inCallFrame:]):
175 (-[WebScriptObject showConsole:]):
176 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
177 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
178 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
179 (-[WebScriptObject webView:createWebViewWithRequest:]):
180 (-[WebScriptObject webViewShow:]):
181 (-[WebScriptObject webViewAreToolbarsVisible:]):
182 (-[WebScriptObject webView:setToolbarsVisible:]):
183 (-[WebScriptObject webView:setResizable:]):
184 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
185 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
186 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
187 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
188 (-[WebScriptObject webView:didFinishLoadForFrame:]):
189 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
190 * Drosera/Drosera.xcodeproj/project.pbxproj:
191 * Drosera/Images/console.png: Added.
192 * Drosera/console.css: Added.
193 * Drosera/console.html: Added.
194 * Drosera/console.js: Added.
196 2006-07-11 Timothy Hatcher <timothy@apple.com>
198 Reviewed by a tired Geoff.
200 Bug 9597: [Drosera] hook up the variables table to show stack variables
201 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
203 * Drosera/DebuggerDocument.m:
204 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
205 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
206 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
207 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
208 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
209 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
210 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
211 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
212 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
213 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
214 * Drosera/debugger.css:
215 * Drosera/debugger.html:
216 * Drosera/debugger.js:
218 2006-07-10 Tim Omernick <timo@apple.com>
220 Reviewed by Beth Dakin.
222 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
223 Add DOM access test to DumpRenderTree's Netscape plug-in
225 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
229 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
233 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
234 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
236 Now track three states: initializing, running, and closed. If we are launched and the previous
237 state was initializing then we likely just experienced a crash on launch.
239 * WebKitLauncher/WebKitNightlyEnabler.m:
240 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
241 (myApplicationWillTerminate): Update to use new states.
242 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
243 initializing as early as practical.
244 (symbol_lookup): Bring code up to speed with formatting guidelines.
245 (GDSymbolLookup): Ditto.
247 2006-07-10 Darin Adler <darin@apple.com>
249 - try to fix Windows build
251 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
252 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
254 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
256 Build fix. Reviewed by NOBODY.
258 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
259 devenv.com not available in VC++ Express installations
261 * Scripts/webkitdirs.pm: Backed out previous change.
263 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
267 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
268 svn-apply should set ChangeLog date correctly when applying patches
270 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
271 before applying the patch.
272 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
274 2006-07-09 Darin Adler <darin@apple.com>
276 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
278 2006-07-09 Darin Adler <darin@apple.com>
280 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
282 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
284 Reviewed by NOBODY (build fix).
286 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
287 devenv.com not available in VC++ Express installations
289 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
290 work again. Add VC++ Express check as the fallback.
292 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
294 Reviewed by Timothy Hatcher.
296 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
297 devenv.com not available in VC++ Express installations
299 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
301 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
305 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
306 Patch by coldwinter@katamail.com.
308 In the congratulations message, "capatibilies" should be "capabilities".
310 * Scripts/build-webkit:
312 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
314 Reviewed by Timothy Hatcher.
316 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
317 Teach run-webkit-tests how to ignore tests with performance improvements
319 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
320 feature, and minor clean up.
322 2006-07-08 Darin Adler <darin@apple.com>
324 Reviewed by Geoff (well, half of it at least).
326 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
327 storage leaks in Objective-C tests
329 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
330 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
331 Add a release to fix a storage leak.
333 2006-07-08 Darin Adler <darin@apple.com>
335 * Scripts/do-webcore-rename: A few more.
337 2006-07-08 Darin Adler <darin@apple.com>
339 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
341 2006-07-04 Maciej Stachowiak <mjs@apple.com>
345 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
346 - add support for dumping non-HTML as text - in this case use textContent
349 * DumpRenderTree/DumpRenderTree.m:
352 2006-07-02 Timothy Hatcher <timothy@apple.com>
356 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
357 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
359 Adds step over and step out. Along with a little code cleanup
360 that was minor enough to piggyback on this fix.
362 * Drosera/DebuggerDocument.h:
363 * Drosera/DebuggerDocument.m:
364 (-[DebuggerDocument stepOver:]):
365 (-[DebuggerDocument stepOut:]):
366 (-[DebuggerDocument windowDidLoad]):
367 (-[DebuggerDocument windowWillClose:]):
368 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
369 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
370 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
371 (-[DebuggerDocument validateUserInterfaceItem:]):
372 * Drosera/Drosera.xcodeproj/project.pbxproj:
373 * Drosera/debugger.html:
374 * Drosera/debugger.js:
375 * Drosera/viewer.css:
377 2006-07-02 Timothy Hatcher <timothy@apple.com>
381 Bug 9628: [Drosera] Split Views acting oddly
382 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
384 Only update the last X or Y coordinate if the new
385 size was not constrained. Also adds the resize cursor to
386 the body during the drag incase there is a constrained
387 over drag off of the resizer element.
389 * Drosera/debugger.js:
391 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
393 Reviewed by Alexy Proskuryakov.
395 Bug 9692: Warning about Safari extensions on every launch is obnoxious
396 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
398 * WebKitLauncher/WebKitNightlyEnabler.m:
399 (myApplicationWillTerminate): Note that we are exiting cleanly.
400 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
401 to exit cleanly on our last invocation. This doesn't play nicely with
402 multiple concurrent instances of WebKit.app so it can be disabled via
403 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
405 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
407 Reviewed by Alexy Proskuryakov.
409 Bug 9654: Refresh Loop when accessing feed URLs
410 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
412 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
414 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
416 Reviewed by Timothy Hatcher.
418 Bug 9689: Nightly builds should warn a user about potential problems when using
420 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
422 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
423 * WebKitLauncher/WebKitNightlyEnabler.m:
424 (myBundleDidLoad): Keep track of if any bundles that are loaded.
425 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
426 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
427 NSApplicationWillFinishLaunchingNotification notifications so that we can
428 track bundle loads and notify the user at launch completion.
430 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
434 - first check-in of a Gdk shell for testing WebKit
436 * GdkLauncher: Added.
438 2006-06-29 Timothy Hatcher <timothy@apple.com>
442 Need to call window close so WebView tears-down completly.
444 * DumpRenderTree/DumpRenderTree.m:
445 (main): call [window close]
447 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
451 Bug 9615: Buildbot configuration should be in SVN repository
452 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
454 Import BuildBot configuration files as used by build.webkit.org.
455 auth.py has been stubbed out so that slave passwords are not disclosed.
457 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
458 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
459 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
460 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
461 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
462 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
463 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
464 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
465 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
466 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
467 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
468 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
470 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
474 Bug 9614: Nightly builds should notify user if a newer build is available
475 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
477 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
478 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
479 script so it can keep track of the latest revision.
480 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
481 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
482 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
483 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
484 the nightly start page.
486 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
490 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
491 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
493 Report screenY values as (height of zero screen - screenY)
495 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
497 2006-06-25 Timothy Hatcher <timothy@apple.com>
501 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
502 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
504 Makes breakpoints dragable. If dragged off the gutter they are deleted.
506 * Drosera/debugger.js:
507 * Drosera/viewer.css:
509 2006-06-25 Timothy Hatcher <timothy@apple.com>
513 Bug 9568: assertion failure in Safari after quitting Drosera
514 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
516 Call switchToServerNamed:nil and not removeLister to make sure
517 the server object is set to nil to prevent further removeListener calls.
519 * Drosera/DebuggerDocument.m:
520 (-[DebuggerDocument applicationTerminating:]):
522 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
526 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
527 that the directory is not empty instead of reading in every single file and directory first,
528 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
531 2006-06-25 Darin Adler <darin@apple.com>
533 * Scripts/svn-apply: Tweak comments.
534 * Scripts/svn-create-patch: Ditto.
535 * Scripts/svn-unapply: Ditto.
537 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
539 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
541 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
543 * Scripts/svn-apply: Formatting fix.
545 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
549 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
550 Teach svn-apply and svn-unapply to handle directory adds and removes better
552 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
553 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
555 2006-06-25 Timothy Hatcher <timothy@apple.com>
559 Bug 9574: Drosera should show inline scripts within the original HTML
560 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
562 Refactor the JavaScript code to have a distinction between files
563 and scripts. Show the script in the context of the HTML file if
564 it's URL is the same as the frame's main resource. At the time of
565 the disParseScript callback the main resource might not be completely
566 loaded, but Drosera needs to show whatever we have at the time. Once
567 the main resource is finished, update the file source and reload the file.
569 * Drosera/DebuggerDocument.m:
570 (-[DebuggerDocument pause]):
571 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
572 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
573 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
574 * Drosera/debugger.css:
575 * Drosera/debugger.js:
577 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
581 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
582 Teach prepare-ChangeLog to operate on a list of files or directories
584 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
585 * Scripts/svn-create-patch: Code refactoring.
587 2006-06-24 James G. Speth <speth@end.com>
591 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
592 add a way to build Objective-C test cases in HTML
594 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
595 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
596 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
599 * DumpRenderTree/ObjCPlugin.h:
600 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
601 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
602 (+[ObjCPlugin webScriptNameForSelector:]):
603 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
604 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
605 (+[NSObject allowsScriptsFullAccess]):
606 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
607 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
608 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
609 (+[JSObjC webScriptNameForSelector:]):
610 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
611 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
612 (-[JSObjC log:]): access to NSLog function
613 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
614 (-[JSObjC classOfObject:]):
615 (-[JSObjC classNameOfObject:]):
617 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
621 * DrawTest/Info.plist: Added copyright statement.
622 * Drosera/Info.plist: Ditto.
623 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
624 * WebKitLauncher/Info.plist: Ditto.
626 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
628 Build fix. Reviewed by NOBODY.
630 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
631 devenv.com not available in VC++ Express installations
633 * Scripts/webkitdirs.pm: Backed out previous change.
635 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
639 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
640 devenv.com not available in VC++ Express installations
642 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
644 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
648 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
649 A bunch of fixes to run-webkit-httpd
651 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
652 127.0.0.1. Useful for testing with WinIE running on another machine;
653 - don't call checkFrameworks() - we do not need a built WebKit here;
654 - changed tabs to spaces;
655 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
656 interactive mode, they were a hassle when testing with several browsers, as one
657 had to wait for connection to expire);
658 - remove httpd.pid when done, so that Apache doesn't complain next time.
660 * Scripts/run-webkit-httpd:
662 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
664 Reviewed by ggaren, landed by ap.
666 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
667 Complete DOMUIEvent Obj-C API to reflect UIEvent
669 Add function to enable logging of all events of one DOM node to stdout.
671 * DumpRenderTree/EventSendingController.h:
672 * DumpRenderTree/EventSendingController.m:
673 (+[EventSendingController initialize]):
674 (+[EventSendingController isSelectorExcludedFromWebScript:]):
675 (+[EventSendingController webScriptNameForSelector:]):
676 (-[EventSendingController enableDOMUIEventLogging:]):
677 (-[EventSendingController handleEvent:]):
679 2006-06-23 Kevin Decker <kdecker@apple.com>
681 Reviewed by Tim Hatcher.
683 - Made column headers in Drosera resizable.
685 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
689 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
690 Another case error preventing build
692 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
694 2006-06-22 Timothy Hatcher <timothy@apple.com>
698 Adds a native toolbar to Drosera to be a good citizen.
699 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
700 Fixes a dragging bug from an earlier fix to the divider code.
701 Fixes some poor indenting in debugger.js.
703 * Drosera/DebuggerDocument.h:
704 * Drosera/DebuggerDocument.m:
705 (-[DebuggerDocument stepInto]):
706 (-[DebuggerDocument pause:]):
707 (-[DebuggerDocument resume:]):
708 (-[DebuggerDocument stepInto:]):
709 (-[DebuggerDocument windowDidLoad]):
710 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
711 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
712 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
713 (-[DebuggerDocument validateUserInterfaceItem:]):
714 * Drosera/English.lproj/MainMenu.nib/classes.nib:
715 * Drosera/English.lproj/MainMenu.nib/info.nib:
716 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
717 * Drosera/debugger.css:
718 * Drosera/debugger.html:
719 * Drosera/debugger.js:
720 * Drosera/viewer.html:
722 2006-06-22 Kevin Decker <kdecker@apple.com>
726 - Added pressed column header image.
727 - Made column headers behave more like Xcode.
729 2006-06-22 Timothy Hatcher <timothy@apple.com>
731 Reviewed by Kevin Decker.
733 Code clean up. Adds the stackframe and makes only the body
734 of the tables scrollable keeping the header visible.
735 Shows the current function stack when paused or stepping.
737 * Drosera/DebuggerApplication.m:
738 (-[DebuggerApplication awakeFromNib]):
739 (-[DebuggerApplication numberOfRowsInTableView:]):
740 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
741 * Drosera/DebuggerDocument.h:
742 * Drosera/DebuggerDocument.m:
743 (-[DebuggerDocument dealloc]):
744 (-[DebuggerDocument currentFrame]):
745 (-[DebuggerDocument currentFrameFunctionName]):
746 (-[DebuggerDocument currentFunctionStack]):
747 (-[DebuggerDocument log:]):
748 (-[DebuggerDocument windowWillClose:]):
749 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
750 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
751 * Drosera/Drosera.xcodeproj/project.pbxproj:
752 * Drosera/debugger.css:
753 * Drosera/debugger.html:
754 * Drosera/debugger.js:
756 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
760 Teach run-webkit-httpd to properly look for webkitdirs.pm.
762 * Scripts/run-webkit-httpd:
764 2006-06-22 Kevin Decker <kdecker@apple.com>
766 Reviewed by Tim Hatcher.
768 - More progress toward Javascript Debugger.
769 - Added some new images to the project.
771 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
775 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
776 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
778 * Scripts/run-webkit-httpd: Added.
780 2006-06-20 Timothy Hatcher <timothy@apple.com>
784 Builds Drosera and a launcher to include with the nightly.
786 * BuildSlaveSupport/build-launcher-app:
787 * BuildSlaveSupport/build-launcher-dmg:
788 * Drosera/Drosera.xcodeproj/project.pbxproj:
789 * Drosera/Info.plist:
790 * Drosera/LauncherInfo.plist: Added.
791 * Drosera/launcher.m: Added.
792 (displayErrorAndQuit):
793 (checkMacOSXVersion):
796 * Scripts/build-drosera
797 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
798 * WebKitLauncher/main.m:
801 2006-06-20 Timothy Hatcher <timothy@apple.com>
805 Adds a JavaScript debugger, called Drosera. Named after
806 a genus of bug eating plants.
808 * Drosera/DebuggerApplication.h: Added.
809 * Drosera/DebuggerApplication.m: Added.
810 (-[DebuggerApplication applicationDidFinishLaunching:]):
811 (-[DebuggerApplication serverLoaded:]):
812 (-[DebuggerApplication serverUnloaded:]):
813 (-[DebuggerApplication awakeFromNib]):
814 (-[DebuggerApplication showAttachPanel:]):
815 (-[DebuggerApplication attach:]):
816 (-[DebuggerApplication numberOfRowsInTableView:]):
817 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
818 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
819 (-[DebuggerApplication tableViewSelectionDidChange:]):
820 * Drosera/DebuggerDocument.h: Added.
821 * Drosera/DebuggerDocument.m: Added.
822 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
823 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
824 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
825 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
826 (-[DebuggerDocument initWithServerName:]):
827 (-[DebuggerDocument windowWillClose:]):
828 (-[DebuggerDocument dealloc]):
829 (-[DebuggerDocument isPaused]):
830 (-[DebuggerDocument pause]):
831 (-[DebuggerDocument resume]):
832 (-[DebuggerDocument step]):
833 (-[DebuggerDocument windowNibName]):
834 (-[DebuggerDocument windowDidLoad]):
835 (-[DebuggerDocument switchToServerNamed:]):
836 (-[DebuggerDocument applicationTerminating:]):
837 (-[DebuggerDocument serverConnectionDidDie:]):
838 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
839 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
840 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
841 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
842 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
843 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
844 * Drosera/Drosera.pch: Added.
845 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
846 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
847 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
848 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
849 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
850 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
851 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
852 * Drosera/Images/breakPoint.tif: Added.
853 * Drosera/Images/breakPointDisabled.tif: Added.
854 * Drosera/Images/continue.tif: Added.
855 * Drosera/Images/finishFunction.tif: Added.
856 * Drosera/Images/glossyFooterFill.tif: Added.
857 * Drosera/Images/glossyHeader.png: Added.
858 * Drosera/Images/gradientBackground.png: Added.
859 * Drosera/Images/gutter.png: Added.
860 * Drosera/Images/navLeftDisabled.png: Added.
861 * Drosera/Images/navLeftNormal.png: Added.
862 * Drosera/Images/navLeftPressed.png: Added.
863 * Drosera/Images/navRightDisabled.png: Added.
864 * Drosera/Images/navRightNormal.png: Added.
865 * Drosera/Images/navRightPressed.png: Added.
866 * Drosera/Images/pause.tif: Added.
867 * Drosera/Images/popUpArrows.png: Added.
868 * Drosera/Images/programCounter.tif: Added.
869 * Drosera/Images/programCounterBreakPoint.tif: Added.
870 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
871 * Drosera/Images/run.tif: Added.
872 * Drosera/Images/splitterBar.tif: Added.
873 * Drosera/Images/splitterDimple.tif: Added.
874 * Drosera/Images/step.tif: Added.
875 * Drosera/Images/stepOver.tif: Added.
876 * Drosera/Images/stop.tif: Added.
877 * Drosera/Images/toolbarBackground.png: Added.
878 * Drosera/Info.plist: Added.
879 * Drosera/debugger.css: Added.
880 * Drosera/debugger.html: Added.
881 * Drosera/debugger.js: Added.
882 * Drosera/main.m: Added.
884 * Drosera/viewer.css: Added.
885 * Drosera/viewer.html: Added.
887 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
891 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
892 Teach svn-apply and svn-unapply to use full path names
894 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
895 * Scripts/svn-unapply: Ditto.
897 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
901 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
902 DumpRenderTree should be able to keep URL history during runs
904 Test: LayoutTests/fast/history/clicked-link-is-visited.html
906 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
907 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
908 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
909 it is currently nil since keepWebHistory() might be called more than once incidentally
911 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
912 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
914 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
918 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
919 Make prepare-ChangeLog faster
921 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
922 then save the diff output for reuse. Keep a status variable if changes are made to
923 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
924 WebCore is updated. Added -h|--help command-line switch and help message. Move test
925 for no changed files closer to the beginning of the program.
927 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
929 Reviewed and landed by ap.
931 - make DumpRenderTree build
933 * DumpRenderTree/DumpRenderTree.m:
934 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
935 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
936 (-[LayoutTestController setWindowIsKey:]): Ditto.
937 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
939 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
941 Reviewed by Darin, landed by Geoff.
943 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
944 Use pathcmp() when sorting paths in svn-create-patch
946 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
947 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
948 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
949 switch and printUsage() subroutine.
951 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
955 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
956 Teach svn-create-patch to sort its output
958 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
959 by text files first, then by binary files.
961 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
965 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
966 Teach svn-create-patch and friends to work with binary files
968 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
969 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
970 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
972 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
976 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
977 Performance improvement for svn-create-patch
979 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
981 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
985 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
986 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
988 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
989 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
991 2006-06-03 Steve Falkenburg <sfalken@apple.com>
995 Switch Spinneret to new hosting mechanism
997 * Spinneret/Spinneret.sln:
998 * Spinneret/Spinneret/Spinneret.cpp:
999 (SpinneretWebHost::updateAddressBar):
1000 (SpinneretWebHost::QueryInterface):
1001 (SpinneretWebHost::AddRef):
1002 (SpinneretWebHost::Release):
1009 * Spinneret/Spinneret/Spinneret.h:
1010 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1011 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1012 (SpinneretWebHost::didFailProvisionalLoadWithError):
1013 (SpinneretWebHost::didCommitLoadForFrame):
1014 (SpinneretWebHost::didReceiveTitle):
1015 (SpinneretWebHost::didReceiveIcon):
1016 (SpinneretWebHost::didFinishLoadForFrame):
1017 (SpinneretWebHost::didFailLoadWithError):
1018 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1019 (SpinneretWebHost::willPerformClientRedirectToURL):
1020 (SpinneretWebHost::didCancelClientRedirectForFrame):
1021 (SpinneretWebHost::willCloseFrame):
1022 (SpinneretWebHost::windowScriptObjectAvailable):
1023 * Spinneret/Spinneret/Spinneret.vcproj:
1025 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1029 Updated build script
1031 * Scripts/build-webkit:
1033 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1037 * DumpRenderTree/DumpRenderTree.m:
1038 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1039 (-[LayoutTestController clearBackForwardList]):
1040 Add clearBackForwardList function to layoutTestController
1042 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1046 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
1047 slow-utf8-text layout test case failing (no longer deterministic?)
1049 * DumpRenderTree/DumpRenderTree.m:
1051 Dump as text when the response MIME type is text/plain
1053 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1057 * Spinneret/Spinneret.sln:
1058 * Spinneret/Spinneret/Spinneret.vcproj:
1060 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1064 Added 'GCController' to DRT to support garbage collection layout tests.
1066 GCController.collect() and GCController.collectOnAlternateThread() do
1067 what you would expect. The latter takes a boolean argument sepcifying
1068 whether to wait for garbage collection to finish before continuing to
1071 * DumpRenderTree/DumpRenderTree.m:
1072 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1073 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1074 * DumpRenderTree/GCController.h: Added.
1075 * DumpRenderTree/GCController.mm: Added.
1076 (+[GCController isSelectorExcludedFromWebScript:]):
1077 (+[GCController webScriptNameForSelector:]):
1078 (-[GCController collect]):
1079 (-[GCController collectOnAlternateThread:]):
1081 2006-05-23 John Sullivan <sullivan@apple.com>
1085 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1086 Newer Xcode removed some obsolete cruft
1088 * DumpRenderTree/TextInputController.m:
1089 (-[TextInputController textInput]):
1090 added (id) cast to make newer compiler happy
1092 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1098 * Spinneret/Spinneret.sln:
1100 2006-05-18 Darin Adler <darin@apple.com>
1102 - try to fix no-SVG, no-XPATH build, again
1104 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1106 2006-05-18 Darin Adler <darin@apple.com>
1108 - try to fix no-SVG, no-XPATH build
1110 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1111 since the former is what's used in the WebCore project now.
1113 2006-05-17 Darin Adler <darin@apple.com>
1115 * Scripts/do-webcore-rename: Some more future renames.
1117 2006-05-16 Adele Peterson <adele@apple.com>
1121 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1122 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1124 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1126 * Scripts/install-unix-extras: Changed to be executable and removed
1127 text in the file generated by "svn diff".
1128 * Scripts/regenerate-makefiles: Ditto.
1130 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1132 Reviewed by Darin, landed by ap.
1134 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1135 Bakefiles (and generated Makefiles) for wx and gdk ports
1137 * Scripts/install-unix-extras: Added.
1138 * Scripts/regenerate-makefiles: Added.
1140 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1144 Fix registry usage from perl script. Turns out libwin32's
1145 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1147 * Scripts/install-win-extras:
1149 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1152 Add load ended callback.
1156 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1157 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1158 * Spinneret/Spinneret/Spinneret.cpp:
1159 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1160 (_tWinMain): Load built-in test content here instead of in lower-level code.
1161 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1163 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1167 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1169 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1173 * Scripts/check-dom-results:
1174 Add XPath to the list of results.
1176 2006-05-08 Darin Adler <darin@apple.com>
1178 * Scripts/do-webcore-rename: Add another rename.
1180 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1184 Spinneret now links against the new separate lib.
1186 * Spinneret/Spinneret.sln:
1187 * Spinneret/Spinneret/Spinneret.cpp:
1188 (SpinneretWebHost::updateLocationBar):
1190 * Spinneret/Spinneret/Spinneret.h:
1191 * Spinneret/Spinneret/Spinneret.vcproj:
1192 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1193 * Spinneret/Spinneret/WebFrame.h: Removed.
1194 * Spinneret/Spinneret/WebView.cpp: Removed.
1195 * Spinneret/Spinneret/WebView.h: Removed.
1197 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1201 Modify error reporting registry keys to disable Dr. Watson.
1202 This allows Javascript test cases to complete without blocking UI.
1204 * Scripts/install-win-extras:
1205 - Use Perl Win32 registry functions to disable blocking UI
1208 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1212 Turned off C++ exceptions, fixed memory leaks
1214 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1215 * Spinneret/Spinneret.sln:
1216 * Spinneret/Spinneret/Spinneret.cpp:
1218 * Spinneret/Spinneret/Spinneret.vcproj:
1219 * Spinneret/Spinneret/WebFrame.cpp:
1220 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1221 (WebKit::WebFrame::WebFrame):
1222 (WebKit::WebFrame::~WebFrame):
1223 (WebKit::WebFrame::impl):
1224 * Spinneret/Spinneret/WebFrame.h:
1225 * Spinneret/Spinneret/WebView.cpp:
1226 * Spinneret/Spinneret/stdafx.h:
1228 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1232 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1233 DumpRenderTree should reset the URL cache
1235 * DumpRenderTree/DumpRenderTree.m:
1236 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1238 2006-04-28 Eric Seidel <eseidel@apple.com>
1240 Reviewed by andersca.
1242 * Scripts/do-webcore-rename: rename KCanvasContainer too
1243 * Scripts/run-webkit-tests: output total time
1245 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1247 Reviewed by hyatt. Landed by eseidel.
1249 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1250 Enable detection of excessive repainting with DumpRenderTree
1252 * DumpRenderTree/DumpRenderTree.m:
1253 (-[LayoutTestController display]):
1255 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1259 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1260 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1262 * DumpRenderTree/DumpRenderTree.m:
1263 (dump): If display() has been called during the test, grab the pixels from
1264 the view, after letting it repaint invalidated rects.
1265 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1266 (-[LayoutTestController display]): Added. Calls -display on the view
1267 and changes the subsequent behavior of dump().
1270 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1274 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1275 Update iExploder to 1.3.2
1277 Test case numbers are not compatible with iExploder 1.2.
1279 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1281 * iExploder/CHANGELOG.txt: Added.
1282 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1283 * iExploder/README.txt: Added some performance hints.
1285 * iExploder/htdocs/config.rb: Added.
1286 * iExploder/htdocs/cssproperties.in:
1287 * iExploder/htdocs/cssvalues.in:
1288 * iExploder/htdocs/htmlattrs.in:
1289 * iExploder/htdocs/htmltags.in:
1290 * iExploder/htdocs/iexploder.cgi:
1291 - Updated to support the latest HTML & CSS tags, properties, and values from both
1292 the WebKit and Mozilla CVS tree
1293 - cssproperties.in cleanup
1294 - Modularized the code a little bit.
1295 - Fix subtest bug that was causing last 5 tags to be missed
1296 - new subtest algorithm to deal better with larger tag counts
1297 - default HTML_MAX_TAGS increased from 32 to 96
1299 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1300 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1301 alternative to our run-iexploder-tests.
1302 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1303 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1304 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1306 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1308 - commit Scripts/run-mangleme-tests (missed it the previous time).
1310 2006-04-18 Darin Adler <darin@apple.com>
1312 - attempt to fix Windows buildbot
1314 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1315 We need a better long-term solution for this.
1317 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1321 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1322 Integrate mangleme test script.
1324 Works in a similar way to run-iexploder-tests.
1326 * Scripts/run-mangleme-tests: Added.
1328 * mangleme/Makefile: Added.
1329 * mangleme/README: Added.
1330 * mangleme/mangle.cgi.c: Added.
1331 * mangleme/remangle.cgi.c: Added.
1332 * mangleme/tags.h: Added.
1334 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1338 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1339 An easier way to save iExploder tests.
1341 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1343 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1347 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1348 Integrate iExploder test script.
1350 This script generates artificially mangled HTML documents, to test that the browser
1351 doesn't crash when handling ill-formed code.
1354 run-iexploder-tests Open an interactive test page in Safari+ToT.
1355 run-iexploder-tests nnnnn Open test #nnnnn.
1357 Command line options:
1358 --guard-malloc (-g) Use Guard Malloc.
1359 --port=nnnn Run Apache on port nnnn (default is 8000).
1361 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1362 (thus, Apache is still running), e.g.:
1363 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1365 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1367 * Scripts/run-iexploder-tests: Added.
1369 * iExploder/LICENSE.txt: Added.
1370 * iExploder/README.txt: Added.
1371 * iExploder/htdocs: Added.
1372 * iExploder/htdocs/cssproperties.in: Added.
1373 * iExploder/htdocs/cssvalues.in: Added.
1374 * iExploder/htdocs/htmlattrs.in: Added.
1375 * iExploder/htdocs/htmltags.in: Added.
1376 * iExploder/htdocs/htmlvalues.in: Added.
1377 * iExploder/htdocs/iexploder.cgi: Added.
1378 * iExploder/htdocs/index.html: Added.
1379 * iExploder/tools: Added.
1380 * iExploder/tools/lasthit.rb: Added.
1381 * iExploder/tools/osx_last_crash.rb: Added.
1383 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1387 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1388 Restore color profile after a crash
1390 * DumpRenderTree/DumpRenderTree.m:
1391 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1392 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1393 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1394 and this code may change significantly.
1396 (main): Install crashHandler.
1398 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1399 (CFStringGetCStringPtr should NEVER EVER be used!).
1401 2006-04-15 Darin Adler <darin@apple.com>
1405 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1406 Seems xmlsoft.org's HTTP no longer has what we need.
1408 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1410 Rubber-stamped by Darin.
1412 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1413 upload-disk-image stage on buildslaves fail with "No space left on device"
1415 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1416 'hdiutil create'. This creates the initial disk image based on the size of
1417 the source folder, and copies the contents to the new disk image. The file
1418 extension on the temporary uncompressed disk image has also been altered from
1419 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1420 the extension is not ".dmg".
1422 2006-04-12 Eric Seidel <eseidel@apple.com>
1426 * Scripts/update-webkit: Make this return non-zero when svn fails.
1428 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1432 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1433 Make HTTP tests using Perl use .pl extension
1435 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1436 removed support for .text. Reduced the number of places that explicitly list supported
1437 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1440 2006-04-06 Darin Adler <darin@apple.com>
1442 Changes requested by Mark Rowe.
1444 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1445 trash at the end of the file.
1446 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1448 * WebKitLauncher/main.m: Removed trash at end of file.
1450 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1453 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1455 Reviewed by Darin, landed by Maciej.
1457 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1458 and bundles the WebKit frameworks inside it.
1459 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1460 containing WebKit.app.
1461 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1462 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1463 number of the SVN working copy.
1464 * WebKitLauncher: Added.
1465 * WebKitLauncher/Info.plist: Added.
1466 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1467 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1468 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1469 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1470 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1471 the nightly launcher.
1472 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1473 It sets up the environment to have Safari use the bundled frameworks
1474 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1475 * WebKitLauncher/start.html: Added.
1476 * WebKitLauncher/webkit.icns: Added.
1478 2006-04-05 Darin Adler <darin@apple.com>
1482 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1483 are allowed to have global initializers.
1485 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1487 Reviewed by OMG BETH
1489 * Scripts/run-testkjs:
1490 - pipe STDERR to /dev/null by default; new --verbose option overrides
1492 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1493 - output run command in a format that can be copied and pasted into the
1494 terminal to run manually
1496 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1498 Reviewed by harrison
1500 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1501 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1503 Tell the source that the drag is over after the drag is performed, not before.
1505 * DumpRenderTree/EventSendingController.m:
1506 (-[EventSendingController mouseUp]):
1508 2006-04-01 Darin Adler <darin@apple.com>
1512 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1513 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1514 elements in that array are not strings.
1516 2006-03-31 Darin Adler <darin@apple.com>
1518 Reviewed by John Sullivan.
1520 - added a "--reset-results" option to run-webkit-tests so you can reset
1521 the results without first deleting expected results
1522 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1524 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1525 more logical. Moved all the subroutines to the end of the file. Added a
1528 * DumpRenderTree/DumpRenderTree.m:
1529 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1530 to generate new output for all tests it runs.
1531 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1532 the --dump-all-pixels option is passed. Also tightened up the image dumping
1533 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1534 with code to save and restore the context.
1536 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1537 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1539 2006-03-30 Tim Omernick <timo@apple.com>
1541 Reviewed by NOBODY (just fixing copyrights)
1543 * DumpRenderTree/ObjCPlugin.h:
1545 * DumpRenderTree/ObjCPlugin.m: ditto
1546 * DumpRenderTree/ObjCPluginFunction.h: ditto
1547 * DumpRenderTree/ObjCPluginFunction.m: ditto
1549 2006-03-30 Tim Omernick <timo@apple.com>
1553 * DumpRenderTree/DumpRenderTree.m:
1554 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1555 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1556 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1557 exposed to JS as a callable object.
1559 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1560 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1562 * DumpRenderTree/ObjCPlugin.h: Added.
1563 * DumpRenderTree/ObjCPlugin.m: Added.
1564 * DumpRenderTree/ObjCPluginFunction.h: Added.
1565 * DumpRenderTree/ObjCPluginFunction.m: Added.
1567 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1568 Added a new method, "removeDefaultMethod", which removes the default method from the
1569 plugin object's class. The effect is that the plugin object is mutated from a callable
1570 function to a simple object.
1572 Handle "removeDefaultMethod".
1573 (pluginInvokeDefault):
1574 Made the default method actually do something (return 1).
1576 2006-03-30 Eric Seidel <eseidel@apple.com>
1580 Remove WebFrame::viewImpl(), setMainFrame on page.
1582 * Spinneret/Spinneret/WebFrame.cpp:
1583 (WebKit::WebFrame::WebFrame):
1584 * Spinneret/Spinneret/WebFrame.h:
1585 * Spinneret/Spinneret/WebView.cpp:
1586 (WebKit::WebView::mouseMoved):
1587 (WebKit::WebView::mouseDown):
1588 (WebKit::WebView::mouseUp):
1589 (WebKit::WebView::mouseDoubleClick):
1590 (WebKit::WebViewWndProc):
1592 2006-03-30 Eric Seidel <eseidel@apple.com>
1596 Fix html editing input & basic form submission.
1598 * Spinneret/Spinneret/WebFrame.cpp:
1599 (WebKit::WebFrame::submitForm):
1600 (WebKit::WebFrame::loadURL):
1601 * Spinneret/Spinneret/WebFrame.h:
1602 * Spinneret/Spinneret/WebView.cpp:
1603 (WebKit::WebView::keyPress):
1604 (WebKit::WebViewWndProc):
1606 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1610 <rdar://problem/4402375>
1611 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1613 Added an option to draw the selectionRect.
1615 * DumpRenderTree/DumpRenderTree.m:
1617 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1618 (-[LayoutTestController dumpSelectionRect]):
1621 2006-03-29 Darin Adler <darin@apple.com>
1623 Reviewed by Tim Hatcher.
1625 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1627 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1629 2006-03-28 Eric Seidel <eseidel@apple.com>
1633 * Scripts/check-for-global-initializers: remove svg exceptions.
1635 2006-03-28 Timothy Hatcher <timothy@apple.com>
1639 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1641 * Scripts/check-for-global-initializers:
1643 2006-03-28 Timothy Hatcher <timothy@apple.com>
1645 Build fix. Turn off uninitialized warnings for the first block of code.
1647 * Scripts/check-for-global-initializers:
1649 2006-03-28 Darin Adler <darin@apple.com>
1653 * Scripts/check-for-global-initializers: Added.
1655 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1657 Reviewed by darin. Landed by eseidel.
1659 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1660 Add repaint testing support to run-webkit-tests
1662 * DumpRenderTree/DumpRenderTree.m:
1663 (main): Added --repaint and --horizontal-sweep options.
1664 (dump): Repaint line-by-line or column-by-column when the appropriate option
1666 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1667 and repaintSweepHorizontally() methods to layoutTestController.
1668 (-[LayoutTestController testRepaint]):
1669 (-[LayoutTestController repaintSweepHorizontally]):
1671 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1672 to force these settings on tests that do not ask for them.
1674 2006-03-24 Eric Seidel <eseidel@apple.com>
1680 * Spinneret/Spinneret/WebFrame.cpp:
1681 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1683 2006-03-21 Beth Dakin <bdakin@apple.com>
1687 Add support for keyDown() to DumpRenderTree.
1689 * DumpRenderTree/DumpRenderTree.m:
1690 (main): Set the preference for tabbing to links.
1691 * DumpRenderTree/EventSendingController.m:
1692 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1693 (+[EventSendingController webScriptNameForSelector:]):
1694 (-[EventSendingController keyDown:withModifiers:]):
1696 2006-03-20 Eric Seidel <eseidel@apple.com>
1702 * Spinneret/Spinneret/Spinneret.vcproj:
1703 * Spinneret/Spinneret/WebFrame.h:
1704 * Spinneret/Spinneret/WebView.cpp:
1705 (WebKit::WebView::mouseMoved):
1706 (WebKit::WebView::mouseDown):
1707 (WebKit::WebView::mouseUp):
1708 (WebKit::WebView::mouseDoubleClick):
1709 (WebKit::WebView::keyPress):
1710 (WebKit::WebViewWndProc):
1712 2006-03-19 Darin Adler <darin@apple.com>
1716 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1717 we can test it in layout tests. We don't really need tests that run with
1718 pop-up blocking off at the moment. If we do some day, we can add some
1719 API for turning it off in the layout test controller.
1721 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1722 don't ignore the leak; it should no longer show up.
1724 2006-03-17 Anders Carlsson <andersca@mac.com>
1728 * Scripts/install-win-extras:
1729 Fetch "Program Files" location from the environment.
1731 2006-03-17 Eric Seidel <eseidel@apple.com>
1735 Fix Spinneret to pass Events as const & not as pointers.
1737 * Spinneret/Spinneret/WebView.cpp:
1738 (WebKit::WebView::mouseMoved):
1739 (WebKit::WebView::mouseDown):
1740 (WebKit::WebView::mouseUp):
1741 (WebKit::WebView::mouseDoubleClick):
1742 (WebKit::WebView::keyPress):
1744 2006-03-17 Eric Seidel <eseidel@apple.com>
1746 Reviewed by justing.
1748 Add support for basic HTML editing.
1750 * Spinneret/Spinneret/WebView.cpp:
1751 (WebKit::WebView::WebView):
1752 (WebKit::WebView::keyPress):
1754 2006-03-17 Eric Seidel <eseidel@apple.com>
1756 Rubber-stamped by ggaren.
1758 Break DumpRenderTree.m up into several files to make the code more readable.
1760 * DumpRenderTree/DumpRenderTree.h: Added.
1761 * DumpRenderTree/DumpRenderTree.m:
1762 (doneLoading): new accessor function for "done" global.
1763 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1764 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1765 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1766 * DumpRenderTree/EditingDelegate.h: Added.
1767 * DumpRenderTree/EditingDelegate.m: Added.
1768 (-[EditingDelegate webViewDidChangeSelection:]):
1769 * DumpRenderTree/EventSendingController.h: Added.
1770 * DumpRenderTree/EventSendingController.m: Added.
1772 2006-03-16 Eric Seidel <eseidel@apple.com>
1776 Add resize, scroll event support.
1778 * Spinneret/Spinneret/WebView.cpp:
1779 (WebKit::WebView::mouseMoved):
1780 (WebKit::WebView::mouseDown):
1781 (WebKit::WebView::mouseUp):
1782 (WebKit::WebView::mouseDoubleClick):
1783 (WebKit::WebView::keyPress):
1784 (WebKit::WebViewWndProc):
1785 * Spinneret/Spinneret/WebView.h:
1787 2006-03-16 Eric Seidel <eseidel@apple.com>
1791 Make build-webkit print correctly to stdout on windows.
1793 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1795 2006-03-15 Eric Seidel <eseidel@apple.com>
1799 Fix eventSender.mouseClick() to update lastClick timestamp.
1801 * DumpRenderTree/DumpRenderTree.m:
1802 (-[EventSendingController mouseClick]):
1804 2006-03-15 Darin Adler <darin@apple.com>
1808 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1809 that had a lowercase "i" in it so this builds on case-sensitive
1812 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1816 Added run-testkjs and compare-timing-files scripts, to support super
1819 * Scripts/compare-timing-files: Added.
1820 * Scripts/run-testkjs: Added.
1822 2006-03-14 Eric Seidel <eseidel@apple.com>
1826 Make the URL bar relinquish focus on page load.
1828 * Spinneret/Spinneret/Spinneret.cpp:
1831 2006-03-14 Eric Seidel <eseidel@apple.com>
1835 Fix WebView to allow KeyFocus.
1836 Add handling of space and shift-space for scrolling.
1838 * Spinneret/Spinneret/WebView.cpp:
1839 (WebKit::scrollMessageForKey):
1840 (WebKit::WebViewWndProc):
1842 2006-03-10 Eric Seidel <eseidel@apple.com>
1846 Add scrolling support into Spinneret.
1848 * Spinneret/Spinneret/WebFrame.cpp:
1849 (WebKit::WebFrame::paint):
1850 * Spinneret/Spinneret/WebView.cpp:
1851 (WebKit::WebView::createWebView):
1852 (WebKit::calculateScrollDelta):
1853 (WebKit::scrollMessageForKey):
1854 (WebKit::WebViewWndProc):
1856 2006-03-13 Eric Seidel <eseidel@apple.com>
1860 Fix checksum generation on Intel machines.
1861 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1862 give a small speed boost now that it uses a shared buffer.
1864 * DumpRenderTree/DumpRenderTree.m:
1867 (md5HashStringForBitmap):
1868 * DumpRenderTree/ImageDiff.m:
1869 (computePercentageDifferent):
1871 2006-03-13 Darin Adler <darin@apple.com>
1873 Reviewed by Tim Hatcher.
1875 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1876 have it named httpd-1.3 instead.
1878 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1880 Fix proposed by Mitz Pettel, reviewed by Darin.
1882 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1883 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1885 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1886 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1889 2006-03-09 Darin Adler <darin@apple.com>
1891 Reviewed by John Sullivan.
1893 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1894 memory leak in the plug-in tests
1896 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1897 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1898 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1900 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1901 Moved the browser global in here since it's declared in this file's header.
1902 Changed the code to set up the pluginClass structure to not use function
1903 pointer casts. Those are dangerous because they can hide many types of mismatch.
1904 And indeed when I did this I discovered that many functions were missing their
1905 boolean return values or had parameter declarations with the wrong types.
1906 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1907 clarity. Added boolean return value: return true when successful and false when not.
1908 (pluginSetProperty): Added boolean return value, return false since we have no
1909 properties we can set.
1910 (pluginInvoke): Added boolean return value. Return true when successful and false
1911 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1912 return value from calling the browser. Changed code to put the strings in malloc
1913 buffers instead of relying on GCC's extension that allows variable-sized arrays
1915 (pluginInvokeDefault): Added boolean return value, return false since we have no
1916 default function to call.
1917 (pluginInvalidate): Added missing parameter. Removed comment.
1918 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1919 to cast the result of malloc.
1920 (pluginDeallocate): Removed uneeded cast.
1922 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1923 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1924 that match NPObject's fields. Removed unused NPWindow pointer.
1926 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1928 Test: fast/events/event-sender-mouse-click.html
1932 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1933 DRT hangs when doing eventSender.mouseDown on native widgets
1935 * DumpRenderTree/DumpRenderTree.m:
1936 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1937 (-[EventSendingController mouseClick]): Simulates a click in a native
1938 widget by queueing a mouseUp before sending the mouseDown, so that
1939 the widget's mouse tracking event loop doesn't hang indefinitely.
1941 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1945 - make link clicks work by handling link click requests
1948 * Spinneret/Spinneret/Spinneret.cpp:
1949 (updateLocationBar):
1950 * Spinneret/Spinneret/Spinneret.h:
1951 * Spinneret/Spinneret/WebFrame.cpp:
1952 (WebKit::WebFrame::WebFrame):
1953 (WebKit::WebFrame::openURL):
1954 (WebKit::WebFrame::loadURL):
1955 * Spinneret/Spinneret/WebFrame.h:
1957 2006-03-08 Eric Seidel <eseidel@apple.com>
1961 Focus URL bar on Spinneret launch, remove border from WebView.
1962 Stop WebFrame from deleting the job (prevent crash).
1964 * Spinneret/Spinneret/Spinneret.cpp:
1966 * Spinneret/Spinneret/WebFrame.cpp:
1967 (WebKit::WebFrame::receivedAllData):
1968 (WebKit::WebFrame::paint):
1969 * Spinneret/Spinneret/WebView.cpp:
1970 (WebKit::WebView::createWebView):
1972 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1976 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1977 (pluginInvoke): Added a method to test getURL.
1979 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1983 - load URLs, not file paths, in Spinneret
1985 * Spinneret/Spinneret/Spinneret.cpp:
1987 * Spinneret/Spinneret/Spinneret.vcproj:
1988 * Spinneret/Spinneret/WebFrame.cpp:
1989 (WebKit::WebFrame::loadURL):
1990 (WebKit::WebFrame::receivedData):
1991 (WebKit::WebFrame::receivedAllData):
1992 * Spinneret/Spinneret/WebFrame.h:
1993 * Spinneret/Spinneret/WebView.cpp:
1994 (WebKit::WebView::WebView):
1996 2006-03-08 Darin Adler <darin@apple.com>
2000 - fixed AppleScript layout test results to not be endian-dependent
2001 (Hyatt complained to me about this one)
2003 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2004 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2005 (which are endian-dependent).
2007 2006-03-07 Darin Adler <darin@apple.com>
2011 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
2012 unwanted output while running layout tests
2014 * DumpRenderTree/DumpRenderTree.m:
2015 (checkedMalloc): Added.
2016 (checkedRealloc): Added.
2017 (makeLargeMallocFailSilently): Added.
2018 (main): Call makeLargeMallocFailSilently.
2020 2006-03-06 Darin Adler <darin@apple.com>
2022 * Scripts/do-webcore-rename: Add some more planned renaming.
2024 2006-03-06 Eric Seidel <eseidel@apple.com>
2028 * Spinneret/Spinneret/WebFrame.cpp:
2029 (WebKit::WebFrame::paint): force layout before painting
2031 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2035 Sent the windowNumber when sending events.
2036 Added leapForward so that we don't have to spend time waiting
2037 in layout tests that do mouse operations that require delays.
2039 * DumpRenderTree/DumpRenderTree.m:
2040 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2041 (+[EventSendingController webScriptNameForSelector:]):
2042 (-[EventSendingController currentEventTime]):
2043 (-[EventSendingController leapForward:]):
2044 (-[EventSendingController mouseDown]):
2045 (-[EventSendingController mouseUp]):
2046 (-[EventSendingController mouseMoveToX:Y:]):
2048 2006-03-05 Darin Adler <darin@apple.com>
2050 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2051 Script now works (after landing my two pending patches).
2053 2006-03-05 Darin Adler <darin@apple.com>
2055 - check in a script to do a "big" rename in WebCore
2056 (can be run whenever we're ready to do it)
2058 * Scripts/do-webcore-rename: Added.
2060 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2064 * Spinneret/Spinneret/WebFrame.cpp:
2065 (WebKit::WebFrame::loadFilePath): Close file when done.
2067 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2069 Reviewed by Darin, landed by ap.
2071 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
2072 Mouse moved events do not work in DumpRenderTree
2074 Test: fast/events/event-sender-mouse-moved.html
2076 * DumpRenderTree/DumpRenderTree.m:
2077 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2079 2006-03-04 Eric Seidel <eseidel@apple.com>
2083 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2084 Disable background erase to avoid tearing.
2085 Fix potential memory smasher from extra long urls.
2087 * Spinneret/Spinneret/Spinneret.cpp:
2089 * Spinneret/Spinneret/Spinneret.vcproj:
2090 * Spinneret/Spinneret/WebFrame.cpp:
2091 (WebKit::WebFrame::loadFilePath):
2092 (WebKit::WebFrame::paint):
2093 * Spinneret/Spinneret/WebView.cpp:
2094 (WebKit::registerWebViewWithInstance):
2096 2006-03-04 Eric Seidel <eseidel@apple.com>
2100 Hang WebView pointer off of HWND (gets rid of global hack).
2101 Remove MessageBox displayed on url change.
2103 * Spinneret/Spinneret/Spinneret.cpp:
2106 * Spinneret/Spinneret/WebView.cpp:
2107 (WebKit::registerWebViewWithInstance):
2108 (WebKit::WebView::createWebView):
2109 (WebKit::WebViewWndProc):
2111 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2115 Automatically kill httpd if it appears to be already running.
2117 * Scripts/run-webkit-tests:
2119 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2123 * Spinneret/Spinneret/WebFrame.cpp:
2124 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2126 2006-03-03 Eric Seidel <eseidel@apple.com>
2130 A few more fixes to make run-webkit-tests really work on win32.
2132 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2134 * Scripts/run-webkit-tests:
2136 2006-03-03 Eric Seidel <eseidel@apple.com>
2140 Make run-webkit-tests work on win32.
2142 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2144 (dumpRenderTreeMain):
2145 (dumpRenderTreeToStdOut):
2146 (serializeToStdOut):
2148 * Scripts/run-webkit-tests:
2149 * Scripts/webkitdirs.pm:
2150 * Spinneret/Spinneret/WebView.cpp:
2151 (WebKit::WebView::WebView):
2153 2006-03-03 Eric Seidel <eseidel@apple.com>
2157 Add WebFrame class (to hold Frame and FrameView).
2158 Add Location bar support to Spinneret.
2160 * Spinneret/Spinneret/Spinneret.cpp:
2165 * Spinneret/Spinneret/Spinneret.vcproj:
2166 * Spinneret/Spinneret/WebFrame.cpp: Added.
2167 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2168 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2169 (WebKit::WebFrame::WebFrame):
2170 (WebKit::WebFrame::loadFilePath):
2171 (WebKit::WebFrame::loadHTMLString):
2172 (WebKit::WebFrame::paint):
2173 (WebKit::WebFrame::impl):
2174 (WebKit::WebFrame::viewImpl):
2175 * Spinneret/Spinneret/WebFrame.h: Added.
2176 * Spinneret/Spinneret/WebView.cpp:
2177 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2178 (WebKit::WebView::WebView):
2179 (WebKit::WebView::windowHandle):
2180 (WebKit::WebView::mainFrame):
2181 (WebKit::WebView::mouseMoved):
2182 (WebKit::WebView::mouseDown):
2183 (WebKit::WebView::mouseUp):
2184 (WebKit::WebView::mouseDoubleClick):
2185 (WebKit::WebViewWndProc):
2186 * Spinneret/Spinneret/WebView.h:
2188 2006-03-02 Eric Seidel <eseidel@apple.com>
2192 * Spinneret/Spinneret/WebView.cpp:
2193 (WebKit::registerWebViewWithInstance):
2194 (WebKit::WebView::WebView):
2195 (WebKit::WebView::mouseMoved):
2196 (WebKit::WebView::mouseDown):
2197 (WebKit::WebView::mouseUp):
2198 (WebKit::WebView::mouseDoubleClick):
2199 (WebKit::WebViewWndProc):
2200 * Spinneret/Spinneret/WebView.h:
2202 2006-03-01 Eric Seidel <eseidel@apple.com>
2204 Reviewed by andersca.
2206 Make spinneret take advantage of the new GraphicsContextCairo.
2208 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2209 (main): updated to match style guidelines.
2210 * Spinneret/Spinneret/Spinneret.cpp:
2212 * Spinneret/Spinneret/WebView.cpp:
2213 (WebKit::registerWebViewWithInstance):
2214 (WebKit::WebView::WebView):
2215 (WebKit::WebView::~WebView):
2216 (WebKit::WebView::drawRect):
2218 * Spinneret/Spinneret/WebView.h:
2220 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2224 Give the events that eventSender sends a unique eventNumber
2226 * DumpRenderTree/DumpRenderTree.m:
2227 (-[EventSendingController mouseDown]):
2228 (-[EventSendingController mouseUp]):
2229 (-[EventSendingController mouseMoveToX:Y:]):
2231 2006-03-01 Eric Seidel <eseidel@apple.com>
2235 Add a stub win32 application to test WebCore drawing on windows.
2238 * Spinneret/Spinneret: Added.
2239 * Spinneret/Spinneret.sln: Added.
2240 * Spinneret/Spinneret/Resource.h: Added.
2241 * Spinneret/Spinneret/Spinneret.cpp: Added.
2247 * Spinneret/Spinneret/Spinneret.h: Added.
2248 * Spinneret/Spinneret/Spinneret.ico: Added.
2249 * Spinneret/Spinneret/Spinneret.rc: Added.
2250 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2251 * Spinneret/Spinneret/WebView.cpp: Added.
2252 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2253 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2254 (WebKit::registerWebViewWithInstance):
2255 (WebKit::WebView::createWebView):
2256 (WebKit::WebView::WebView):
2257 (WebKit::WebView::~WebView):
2258 (WebKit::WebView::drawRect):
2259 (WebKit::WebView::windowHandle):
2261 * Spinneret/Spinneret/WebView.h: Added.
2262 * Spinneret/Spinneret/small.ico: Added.
2263 * Spinneret/Spinneret/stdafx.cpp: Added.
2264 * Spinneret/Spinneret/stdafx.h: Added.
2266 2006-02-28 Eric Seidel <eseidel@apple.com>
2270 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2271 (main): add ability to dump render tree and read from a local file.
2273 2006-02-27 Eric Seidel <eseidel@apple.com>
2277 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2279 2006-02-27 Eric Seidel <eseidel@apple.com>
2283 Test new KConfig -> PlugInInfoStore change.
2284 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2286 * DumpRenderTree/DumpRenderTree.m:
2287 (main): load test netscape plugin
2288 * Scripts/run-webkit-tests: style update
2290 2006-02-24 Eric Seidel <eseidel@apple.com>
2294 Make DumpRenderTree link against icu.
2296 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2298 2006-02-24 Eric Seidel <eseidel@apple.com>
2302 Make DumpRenderTree link against libxml, etc.
2304 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2306 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2308 Reviewed and landed by Anders.
2310 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2311 getting called from the run loop, making the view render each test and thus slowing
2314 * DumpRenderTree/DumpRenderTree.m:
2315 (main): Set the offscreen window to not autodisplay.
2317 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2321 - Turn http tests back on by default.
2322 - Wait for Apache to actually start serving requests.
2323 - Get user id from a built-in variable rather than an external command;
2324 don't pass the group.
2326 * Scripts/run-webkit-tests:
2328 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2330 Suggested by Mitz Pettel, reviewed by Darin.
2332 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2333 can run CGIs even if the permissions are 700 or 600.
2335 2006-02-23 Darin Adler <darin@apple.com>
2337 Collaborating with Alexey.
2339 - turn off http tests by default until we figure out how to get them
2340 to run even when permissions on CGI files are 700 instead of 755
2342 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2344 2006-02-23 Eric Seidel <eseidel@apple.com>
2346 Add *.user to ignore list.
2348 2006-02-23 Eric Seidel <eseidel@apple.com>
2350 Remove binary file which shouldn't have been commited (and add to ignore list).
2352 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2353 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2355 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2359 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2361 2006-02-22 Eric Seidel <eseidel@apple.com>
2363 Reviewed by Tim Hatcher.
2365 Fix install-win-extras to not try to re-install setx if installed.
2367 * Scripts/install-win-extras:
2369 2006-02-22 Eric Seidel <eseidel@apple.com>
2371 One more file possibly missing from previous commit?
2373 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2374 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2376 2006-02-22 Eric Seidel <eseidel@apple.com>
2378 Reviewed by justing.
2380 Files missing from previous commit.
2382 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2383 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2385 2006-02-22 Eric Seidel <eseidel@apple.com>
2387 Rubber-stamped by justing.
2389 Corrected path for DumpRenderTree.intermediate files
2391 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2393 2006-02-22 Eric Seidel <eseidel@apple.com>
2395 Reviewed by justing.
2397 Fixed build-dumprendertree to exit with correct error codes.
2399 * Scripts/build-dumprendertree:
2401 2006-02-22 Eric Seidel <eseidel@apple.com>
2403 Reviewed by justing.
2405 Update build scripts to generalize building on Win32, and allow
2406 building of DumpRenderTree on Win32 from build-dumprendertree.
2408 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2410 * Scripts/build-dumprendertree:
2411 * Scripts/build-webkit:
2412 * Scripts/webkitdirs.pm:
2414 2006-02-22 Eric Seidel <eseidel@apple.com>
2418 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2419 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2420 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2421 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2422 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2423 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2425 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2426 * Scripts/build-webkit: make build-webkit cleanup after itself
2428 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2432 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2433 Some minor fixes to http tests.
2435 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2437 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2441 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2442 Would like to use locally installed Apache for testing.
2444 Added two run-webkit-tests options:
2445 --http (--nohttp) - whether to launch Apache (defaults to yes);
2446 --port - which port to listen on (defaults to 8000).
2448 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2449 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2450 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2452 Also added support for .shtml and .text files. Text files give an empty
2453 *-expected.txt, but a correct image.
2455 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2457 * Scripts/run-webkit-tests:
2459 2006-02-21 Darin Adler <darin@apple.com>
2461 Suggested by Mark Rowe.
2463 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2464 reporting leak counts.
2466 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2470 - Added install-win-extras script which installs some extra
2471 programs and libraries, and does Windows first-time setup.
2473 * Scripts/build-webkit: Add a newline between build results.
2474 * Scripts/install-win-extras: Added.
2476 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2480 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2481 DumpRenderTree should be able to load files via HTTP
2483 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2484 Handle tests starting with "http://" as real URLs, not file system paths.
2486 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2490 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2491 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2493 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2495 2006-02-18 Darin Adler <darin@apple.com>
2497 * Scripts/commit-log-editor: Added.
2499 2006-02-17 Eric Seidel <eseidel@apple.com>
2503 Make Win32 have the same default "WebKitBuild" directory behavior.
2505 * Scripts/build-webkit:
2506 * Scripts/webkitdirs.pm:
2508 2006-02-17 Eric Seidel <eseidel@apple.com>
2512 * Scripts/build-webkit: make win32 actually report errors
2514 2006-02-17 Eric Seidel <eseidel@apple.com>
2518 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2520 2006-02-17 Eric Seidel <eseidel@apple.com>
2524 * Scripts/run-webkit-tests: Ignore flash leaks
2526 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2530 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2531 Add drag and drop support to DumpRenderTree
2533 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2534 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2536 * DumpRenderTree/DumpRenderTree.m:
2538 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2539 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2540 (-[WaitUntilDoneDelegate webViewFocus:]):
2541 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2542 (+[LayoutTestController webScriptNameForSelector:]):
2543 (-[LayoutTestController setWindowIsKey:]):
2544 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2545 (-[EventSendingController init]):
2546 (-[EventSendingController mouseDown]):
2547 (-[EventSendingController mouseUp]):
2548 (-[EventSendingController mouseMoveToX:Y:]):
2550 (-[DumpRenderTreeWindow isKeyWindow]):
2551 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2552 (-[DumpRenderTreeDraggingInfo dealloc]):
2553 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2554 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2555 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2556 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2557 (-[DumpRenderTreeDraggingInfo draggedImage]):
2558 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2559 (-[DumpRenderTreeDraggingInfo draggingSource]):
2560 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2561 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2562 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2563 * DumpRenderTree/TextInputController.m:
2564 (-[TextInputController firstRectForCharactersFrom:length:]):
2565 (-[TextInputController characterIndexForPointX:Y:]):
2567 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2571 * DumpRenderTree/DumpRenderTree.m:
2572 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2573 Added a dummy method for the sake of LayoutTests/plugins/
2574 undefined-property-crash.html. (It tests a crash due to fallback
2575 object use. WebCore won't create a fallback object if the method is
2578 2006-02-14 Eric Seidel <eseidel@apple.com>
2582 * Scripts/run-webkit-tests: added --results-directory (-o) option
2584 2006-02-09 Eric Seidel <eseidel@apple.com>
2586 Rubber-stamped by mjs.
2588 Renamed split-class to split-file-by-class.
2590 * Scripts/build-webkit: Updated copyright.
2591 * Scripts/split-class: Removed.
2592 * Scripts/split-file-by-class: Added.
2594 2006-02-08 Eric Seidel <eseidel@apple.com>
2596 Rubber-stamped by mjs.
2598 Adding new script for splitting multi-class files.
2599 Also adding supporting perl module with space removing heuristics.
2601 * Scripts/SpacingHeuristics.pm: Added.
2602 * Scripts/build-drawtest: updated copyright header
2603 * Scripts/split-class: Added.
2605 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2607 Reviewed by thatcher
2609 Changes to test fix for:
2610 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2611 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2613 * DumpRenderTree/DumpRenderTree.m:
2614 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2615 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2616 (+[LayoutTestController webScriptNameForSelector:]):
2617 (-[LayoutTestController setWindowHasFocus:]):
2618 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2620 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2622 Reviewed by Timothy.
2624 Support automated testing of AppleScript "do JavaScript" command
2625 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2627 * DumpRenderTree/AppleScriptController.h: Added.
2628 * DumpRenderTree/AppleScriptController.m: Added.
2629 * DumpRenderTree/DumpRenderTree.m:
2630 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2631 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2633 2006-02-06 Eric Seidel <eseidel@apple.com>
2637 Fix build-webkit for use on win32 (unblocks buildbot usage).
2638 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2640 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2641 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2643 2006-02-06 Eric Seidel <eseidel@apple.com>
2645 Rubber-stamped by darin & mjs.
2647 Added new support directory for build slave scripts.
2648 Committing the first script, for use by the PLT's build slave.
2649 This script is used to kick of the PLT (Page Load Test) slave.
2651 * BuildSlaveSupport: Added.
2652 * BuildSlaveSupport/run-performance-tests: Added.
2654 2006-02-06 Eric Seidel <eseidel@apple.com>
2656 Rubber-stamped by darin.
2658 Adding setSourceDir for scripts stored in non-standard locations.
2660 * Scripts/webkitdirs.pm:
2662 2006-02-04 Darin Adler <darin@apple.com>
2664 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2665 Configuration files that say Development or Deployment in them.
2667 2006-02-04 Darin Adler <darin@apple.com>
2669 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2670 wrapper already in the directory.
2671 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2672 these haven't been working at all.
2673 * Scripts/svn-unapply: Ditto.
2675 2006-02-03 Timothy Hatcher <timothy@apple.com>
2679 Renamed configuration names to Debug, Release and Production.
2681 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2682 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2683 * Scripts/set-webkit-configuration:
2684 * Scripts/webkitdirs.pm:
2686 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2688 Reviewed by thatcher
2690 Enabled spell checking for layout tests.
2692 * DumpRenderTree/DumpRenderTree.m:
2695 2006-01-29 Darin Adler <darin@apple.com>
2697 * Scripts/svn-apply: Added comments about things we should do to improve.
2698 * Scripts/svn-create-patch: Ditto.
2699 * Scripts/svn-unapply: Ditto.
2701 2006-01-28 Darin Adler <darin@apple.com>
2703 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2704 already there, even if the checksum is correct.
2706 2006-01-27 Eric Seidel <eseidel@apple.com>
2710 * Scripts/run-webkit-tests: make new tests use absolute urls
2712 2006-01-27 Eric Seidel <eseidel@apple.com>
2716 make run-webkit-tests output total leaks count
2718 * Scripts/run-webkit-tests:
2720 2006-01-27 Eric Seidel <eseidel@apple.com>
2724 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2725 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2727 * Scripts/run-webkit-tests: fix --leaks to not crash
2729 2006-01-26 Eric Seidel <eseidel@apple.com>
2733 run-webkit-tests should produce a self-contained results directory
2734 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2736 * Scripts/run-webkit-tests: copy failing items to results dir.
2738 2006-01-23 Darin Adler <darin@apple.com>
2740 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2741 need script to update localizable strings file in WebKit
2743 * Scripts/update-webkit-localizable-strings: Added.
2745 2006-01-23 Darin Adler <darin@apple.com>
2747 - added a couple of scripts -- more about these two soon
2749 * Scripts/extract-localizable-strings: Added.
2750 * Scripts/merge-changelog: Added.
2752 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2756 Build fix. build-webkit dies with "invalid build action: (empty string)"
2758 * Scripts/build-webkit:
2759 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2761 2006-01-22 Eric Seidel <eseidel@apple.com>
2765 Fix --no-svg option to use XCode flags instead of gcc flags.
2767 * Scripts/build-webkit:
2769 2006-01-22 Eric Seidel <eseidel@apple.com>
2773 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2775 * Scripts/build-webkit:
2777 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2779 Reviewed by eseidel.
2781 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2782 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2784 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2785 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2787 2006-01-19 Darin Adler <darin@apple.com>
2789 * Scripts/report-include-statistics: Added a new script.
2791 2006-01-19 Timothy Hatcher <timothy@apple.com>
2793 * Scripts/build-webkit: include JavaScriptGlue in the build
2795 2006-01-19 Darin Adler <darin@apple.com>
2797 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2798 spaces in it by using the form of open that treats each argument as a string
2799 rather than backtick syntax for reading the output of the nm tool.
2801 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2805 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2806 detect if there are any new tests
2808 * Scripts/prepare-ChangeLog:
2810 2006-01-12 Darin Adler <darin@apple.com>
2812 - removed some of the cvs-specific scripts -- not needed for this project any more
2814 * Scripts/cvs-abandon: Removed.
2815 * Scripts/cvs-apply: Removed.
2816 * Scripts/cvs-create-patch: Removed.
2817 * Scripts/cvs-unapply: Removed.
2819 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2821 Reviewed by eseidel. Committed by eseidel.
2823 - run-webkit-tests always launches Safari when tests fail
2824 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2826 * Scripts/run-webkit-tests:
2827 Add a command-line flag to prevent Safari being launched to display failed
2828 tests. Always exit with non-zero status when tests have failed.
2830 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2832 Reviewed by eseidel. Committed by eseidel.
2834 - build-webkit should exit with non-zero status when build fails
2835 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2837 * Scripts/build-webkit:
2838 Use correct bits of subprocess exit code when passing back through
2839 as build-webkit's exit code.
2841 2006-01-10 Eric Seidel <eseidel@apple.com>
2843 Restored corrupted nibs from TOT CVS.
2845 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2846 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2847 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2848 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2849 * DrawTest/English.lproj/Inspector.nib: Replaced.
2850 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2851 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2852 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2853 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2854 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2855 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2856 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2857 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2858 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2859 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2860 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2862 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2864 Reviewed by eseidel. Committed by eseidel.
2866 DrawTestView now subclasses WebView instead of DrawView.
2868 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2869 * DrawTest/DrawTestDocument.h:
2870 * DrawTest/DrawTestDocument.m:
2871 (-[DrawTestDocument dealloc]):
2872 (-[DrawTestDocument readFromFile:ofType:]):
2873 (-[DrawTestDocument windowControllerDidLoadNib:]):
2874 (-[DrawTestDocument dumpSVGToConsole:]):
2875 (-[DrawTestDocument openSourceForSelection:]):
2876 (-[DrawTestDocument dataRepresentationOfType:]):
2877 * DrawTest/DrawTestToolbarController.h:
2878 * DrawTest/DrawTestToolbarController.m:
2879 (-[DrawTestToolbarController initWithDrawView:]):
2880 (-[DrawTestToolbarController clickedToolbarItem:]):
2881 (-[DrawTestToolbarController validateToolbarItem:]):
2882 * DrawTest/DrawTestView.h:
2883 * DrawTest/DrawTestView.m:
2884 (-[DrawTestView initWithFrame:]):
2885 (-[DrawTestView setDocument:]):
2886 * DrawTest/SVGTest.h:
2887 * DrawTest/SVGTest.m:
2888 (+[SVGTest sharedDrawView]):
2889 (-[SVGTest generateCompositeIfNecessary]):
2890 * DrawTest/TestController.h:
2891 * DrawTest/TestController.m:
2892 (-[TestController awakeFromNib]):
2893 (-[TestController setSelectedTest:]):
2894 (-[TestController openTestViewerForSelection:]):
2895 (-[TestController toggleViewersScaleRule:]):
2896 * DrawTest/TestViewerSplitView.m:
2897 (-[TestViewerSplitView drawRect:]):
2899 2006-01-10 Anders Carlsson <andersca@mac.com>
2901 Reviewed by Timothy.
2903 * DumpRenderTree/DumpRenderTree.m:
2904 (main): Set the default language to "en", so language tests will work.
2906 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2910 - script to generate HTML wrappers for JS tests
2911 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2913 * Scripts/make-js-test-wrappers: Added.
2915 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2919 * Scripts/svn-create-patch: Fix to work when passed directory names.
2921 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2925 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2926 can start writing automated loader tests now. I have one in the works.
2928 * DumpRenderTree/DumpRenderTree.m:
2929 (main): Construct global navigationController on entry, destroy on exit.
2930 Set frame to nil on exit too, to match all the other global objects.
2931 (Probably academic, since the process is exiting, anyway.)
2932 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2933 navigationController, in case it wants to kick off a load.
2934 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2935 the navigationController to scripting.
2937 New class, should be straightforward:
2939 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2940 * DumpRenderTree/NavigationController.h: Added.
2941 * DumpRenderTree/NavigationController.m: Added.
2943 (+[NavigationController isSelectorExcludedFromWebScript:]):
2944 (+[NavigationController webScriptNameForSelector:]):
2945 (-[NavigationController setPendingScript:]):
2946 (-[NavigationController setPendingRequest:]):
2947 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2948 (-[NavigationController webView:didFinishLoadForFrame:]):
2949 (-[NavigationController dealloc]):
2951 2006-01-08 Timothy Hatcher <timothy@apple.com>
2953 Removed this script, no longer needs with the Subversion switch.
2955 * checkout: Removed.
2957 2006-01-08 Timothy Hatcher <timothy@apple.com>
2959 Removes some stray tabs.
2961 * Scripts/update-webkit:
2963 2005-01-07 Eric Seidel <eseidel@apple.com>
2967 build-webkit should pass on build arguments from command line
2968 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2970 * Scripts/build-webkit:
2972 2006-01-07 Eric Seidel <eseidel@apple.com>
2974 Reviewed by mjs & xenon.
2976 * Scripts/update-webkit: support Internal updates as well
2978 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2980 Temporarily rolling out plugin support from DumpRenderTree because it
2981 caused lots of layout test regressions.
2983 * DumpRenderTree/DumpRenderTree.m:
2984 (main): Remove invisible window added to support plugins.
2986 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2990 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2991 Add plugin support to DumpRenderTree
2993 Also wrote first test plugin.
2995 * DumpRenderTree/DumpRenderTree.m:
2997 (1) Put the WebView in an invisible window, because PlugIns are
2998 optimized not to load if there's no parent window.
2999 (2) Tell WebKit to load any PlugIns in the directory from which we
3000 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3001 and they'll load automagically during layout testing, but they won't be
3002 added to the user's system, hosing apps like Safari.
3004 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3005 test PlugIn to project.
3007 PlugIn added to project:
3009 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3010 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3012 (initializeIdentifiers):
3013 (pluginHasProperty):
3015 (pluginGetProperty):
3016 (pluginSetProperty):
3018 (pluginInvokeDefault):
3022 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3023 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3025 (NP_GetEntryPoints):
3031 (NPP_DestroyStream):
3041 2006-01-04 Timothy Hatcher <timothy@apple.com>
3045 Tweaked and tested by me.
3047 New scripts to work with Subversion when the switch happens.
3048 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3050 * Scripts/svn-apply: Added.
3051 * Scripts/svn-create-patch: Added.
3052 * Scripts/svn-unapply: Added.
3054 2005-12-30 Eric Seidel <eseidel@apple.com>
3058 Move WebView width/height logic into DumpRenderTree to support
3059 running the W3C SVG 1.1 tests along side other tests. The W3C
3060 SVG 1.1 tests require a 480x360 view.
3062 * DumpRenderTree/DumpRenderTree.m:
3063 (main): don't accept width/height
3064 (dump): override width/height for SVG/W3C
3065 * Scripts/run-webkit-tests: don't pass width/height
3067 2005-12-30 Eric Seidel <eseidel@apple.com>
3069 No review, only removing dead code.
3071 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3072 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3074 2005-12-30 Eric Seidel <eseidel@apple.com>
3078 DumpRenderTree should set a consistent color profile while running
3079 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
3081 Creates consistent colormatched renderings on every test machine
3082 using the only way possible with Tiger APIs: by setting the
3083 system color profile on the test machine for the duration of the
3084 tests. This will (unfortunately) cause colors to change while
3085 running DumpRenderTree. This can also cause "permanent" color
3086 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3087 This is far from ideal, but it's be best way we've found to deal
3088 with the issue for now.
3090 * DumpRenderTree/DumpRenderTree.m:
3091 (restoreColorSpace):
3092 (setDefaultColorProfileToRGB):
3095 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3097 Reviewed by Darin Adler.
3099 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3100 cvs-create-patch --include produces incorrect paths
3102 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3104 2005-12-19 Eric Seidel <eseidel@apple.com>
3108 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3110 2005-12-19 Darin Adler <darin@apple.com>
3112 Reviewed by Eric Seidel.
3114 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3115 WebKit needs to use a local pasteboard during testing
3117 * DumpRenderTree/DumpRenderTree.m:
3118 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3119 Create a local pasteboard (really a global one with a unique name) and release
3120 it when exiting from the function so we don't leave it in the pasteboard server.
3121 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3122 ddn't have one. Fixed a leak in an unlikely error case.
3123 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3124 of this method to return our local pasteboard.
3126 2005-12-15 Eric Seidel <eseidel@apple.com>
3128 Reviewed by Tim Hatcher.
3130 * Scripts/build-webkit: --svg is now default!
3132 2005-12-15 Eric Seidel <eseidel@apple.com>
3136 Don't run svg test automatically if +SVG is built (yet).
3138 * Scripts/run-webkit-tests:
3140 2005-12-15 Darin Adler <darin@apple.com>
3142 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3143 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3144 passed on the command line.
3146 2005-12-06 John Sullivan <sullivan@apple.com>
3148 Reviewed by Darin Adler.
3150 * Scripts/prepare-ChangeLog:
3151 Remove special-case handling for nib files. This avoided trouble with cvs diff
3152 when we were using wrappers for nib files. Now that we aren't using wrappers,
3153 there's no reason to avoid adding the modified nib files to the file list that
3156 2005-12-05 Eric Seidel <eseidel@apple.com>
3160 Script updates for SVG files move (remove references to SVGSupport)
3162 * Scripts/build-webkit: remove SVGSupport
3163 * Scripts/run-webkit-tests: Resources -> resources for --svg
3164 * Scripts/update-webkit: remove SVGSupport
3166 2005-12-05 Eric Seidel <eseidel@apple.com>
3170 * checkout: remove --svg support, SVG is now checked out by default
3172 2005-11-29 Eric Seidel <eseidel@apple.com>
3176 Update scripts to run SVG tests automatically (w/o --svg) if
3177 WebCore is built with SVG support.
3179 * Scripts/build-drawtest: SVG support required
3180 * Scripts/build-dumpkcanvastree: Removed.
3181 * Scripts/run-drawtest: SVG support required to run
3182 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3183 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3185 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3187 Reviewed by Darin. Committed by Maciej.
3189 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3190 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3192 * DumpRenderTree/DumpRenderTree.m:
3195 2005-11-28 Eric Seidel <eseidel@apple.com>
3197 Reviewed by sullivan and GGAREN.
3199 Minor additions to make error messages more clear from cvs-apply.
3201 * Scripts/cvs-apply: make errors more clear
3203 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3205 Reviewed and committed by Maciej.
3207 - fixed cvs-create-patch --include produces incorrect paths
3208 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3210 * Scripts/cvs-create-patch: produce proper paths for new files.
3212 2005-11-21 Eric Seidel <eseidel@apple.com>
3216 Some simple fixes to the build/test scripts now that SVG uses the
3217 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3218 or symlinks for KDOM.
3220 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3221 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3222 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3223 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3224 * checkout: no longer symlink kdom
3226 2005-11-10 Eric Seidel <eseidel@apple.com>
3230 * Scripts/build-webkit: Pass through options to xcodebuild
3232 2005-11-07 Darin Adler <darin@apple.com>
3234 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3236 2005-11-03 John Sullivan <sullivan@apple.com>
3240 * Scripts/run-safari:
3241 changed message to say "Starting Safari" instead of odd "Start Safari"
3242 * Scripts/run-webkit-tests:
3243 changed the way we pass the file parameter to use -NSOpen rather than relying on
3244 unlabeled arguments being treated as files. This was failing on some machines that
3245 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3247 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3249 Patch by Alexey Proskuryakov.
3253 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3254 TextInputController should support attributed strings
3256 * DumpRenderTree/TextInputController.m:
3257 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3258 (+[NSMutableAttributedString webScriptNameForSelector:]):
3259 (-[NSMutableAttributedString getLength]):
3260 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3261 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3262 (-[NSMutableAttributedString addAttribute:value:]):
3263 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3264 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3265 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3266 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3267 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3268 (+[TextInputController isSelectorExcludedFromWebScript:]):
3269 (+[TextInputController webScriptNameForSelector:]):
3270 (-[TextInputController insertText:]):
3271 (-[TextInputController attributedSubstringFrom:length:]):
3272 (-[TextInputController attributedStringWithString:]):
3274 2005-10-11 Eric Seidel <eseidel@apple.com>
3278 Checks for leaks in ImageDiff too.
3280 * Scripts/run-webkit-tests:
3282 2005-10-09 Darin Adler <darin@apple.com>
3284 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3285 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3286 * Scripts/cvs-unapply: Ditto.
3287 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3289 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3291 Reviewed, rearranged and landed by Darin.
3293 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3294 Need a way to automatically test for regressions in NSTextInput implementation
3296 * DumpRenderTree/DumpRenderTree.m:
3297 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3298 Create a text input controller and put it in a property of the window object.
3300 * DumpRenderTree/TextInputController.h: Added.
3301 * DumpRenderTree/TextInputController.m: Added.
3302 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3304 2005-10-06 Darin Adler <darin@apple.com>
3306 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3307 are controlled by cvs, or when changes cross multiple repositories.
3308 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3310 2005-10-03 Eric Seidel <eseidel@apple.com>
3314 Make mouseDown and mouseUp force layout before acting.
3315 This is used by a new test case for 4233558.
3317 * DumpRenderTree/DumpRenderTree.m:
3318 (-[EventSendingController mouseDown]): force layout
3319 (-[EventSendingController mouseUp]): force layout
3321 2005-09-30 Eric Seidel <eseidel@apple.com>
3325 Updated all the scripts for the move:
3326 WebCore/layout-tests -> LayoutTests
3328 * Scripts/check-dom-results:
3329 * Scripts/prepare-ChangeLog:
3330 * Scripts/run-webkit-tests:
3331 * Scripts/update-webkit: added --no-tests
3332 * checkout: added --no-tests
3334 2005-09-28 Darin Adler <darin@apple.com>
3336 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3337 pixel test should run even if render trees differ
3339 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3341 2005-09-27 Eric Seidel <eseidel@apple.com>
3343 No review needed, SVG build fix only.
3345 * DumpKCanvasTree/DumpKCanvasTree.m:
3346 Missed one in my previous checkin.
3347 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3349 2005-09-26 Eric Seidel <eseidel@apple.com>
3351 No review needed, SVG build fix only.
3353 * DrawTest/DrawTestDocument.m:
3354 * DrawTest/DrawTestToolbarController.m:
3355 * DrawTest/DrawTestView.h:
3356 * DrawTest/DrawTestView.m:
3357 * DrawTest/SVGTest.m:
3358 * DrawTest/TestController.m:
3359 Updated for WebCore+SVG -> WebCore rename.
3360 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3362 2005-09-26 Eric Seidel <eseidel@apple.com>
3366 * DumpRenderTree/DumpRenderTree.m:
3367 (dump): updated error message
3368 * Scripts/check-dom-results: now includes xhtml
3369 Tool updates for xhtml.
3370 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3372 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3377 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3378 "Would like to simulate human interaction with webview"
3380 * DumpRenderTree/DumpRenderTree.m:
3381 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3382 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3383 (+[EventSendingController webScriptNameForSelector:]):
3384 (-[EventSendingController init]):
3385 (-[EventSendingController mouseDown]):
3386 (-[EventSendingController mouseUp]):
3387 (-[EventSendingController mouseMoveToX:Y:]):
3388 Add eventSender javascript object, that sends fake mouse events to the webview.
3390 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3391 link with Carbon.framework
3393 2005-09-22 Eric Seidel <eseidel@apple.com>
3397 Update tools for WebCore+SVG -> WebCore rename.
3398 Also fold several SVG specific tools into their original
3399 WebCore counterparts.
3400 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3402 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3403 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3404 * Scripts/build-drawtest:
3405 * Scripts/build-dumpkcanvastree:
3406 * Scripts/build-webcore-svg: Removed.
3407 * Scripts/build-webkit: added --svg option
3408 * Scripts/run-drawtest:
3409 * Scripts/run-webkit-tests:
3410 * Scripts/webkitdirs.pm: various additions.
3411 * checkout: added --svg option
3412 * checkout-svg: Removed.
3414 2005-09-19 Eric Seidel <eseidel@apple.com>
3418 * Scripts/run-webkit-tests: added --guard-malloc option
3419 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3421 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3425 Removed a script that is only used by apple internal developers
3427 * Scripts/update-webkitsysteminterface: Removed.
3429 2005-09-16 Adele Peterson <adele@apple.com>
3433 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3435 2005-09-14 Darin Adler <darin@apple.com>
3437 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3438 dumpAsText doesn't work with XHTML documents
3440 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3441 rather than of the body element. This works with typical XHTML documents. We can probably
3442 do something even better in the long run, but this fixes the immediate issue.
3446 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3447 run-safari instead of just using "open", which often runs another copy of Safari instead.
3449 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3451 Reviewed, tweaked, and landed by Darin.
3453 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3454 .Mac prefpane crashes when Safari using CVS WebKit is running
3456 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3457 * Scripts/run-webkit-app: Ditto.
3459 2005-09-11 Darin Adler <darin@apple.com>
3461 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3463 2005-09-11 Darin Adler <darin@apple.com>
3467 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3468 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3469 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3472 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3476 * Scripts/update-webkitsysteminterface: Added.
3477 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3479 2005-09-01 John Sullivan <sullivan@apple.com>
3481 * Scripts/run-webkit-tests:
3482 Excluded a known system leak to reduce noise; added comments about which leaks
3485 2005-09-01 Tim Omernick <tomernick@apple.com>
3487 Change made by Darin, reviewed by John and myself.
3489 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3491 * Scripts/prepare-ChangeLog:
3493 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3497 - set color variant and font settings to a consistent value.
3498 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3500 * DumpRenderTree/DumpRenderTree.m:
3503 2005-08-30 Eric Seidel <eseidel@apple.com>
3507 * Scripts/build-svg2png: Removed.
3508 * svg2png/ImageDiff.h: Removed.
3509 * svg2png/ImageDiff.m: Removed.
3510 * svg2png/svg2png.m: Removed.
3511 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3512 * svg2png/svg2png_Prefix.pch: Removed.
3513 svg2png is no longer needed.
3515 2005-08-30 Darin Adler <darin@apple.com>
3517 * Scripts/check-dom-results: Special case 100% to say something nice.
3518 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3519 applying the patch (need a better name).
3520 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3522 2005-08-30 Darin Adler <darin@apple.com>
3524 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3526 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3530 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3531 (some pixel tests fail when AA settings are changed)
3533 * DumpRenderTree/DumpRenderTree.m:
3534 (main): set AA settings to the default values
3536 2005-08-29 Darin Adler <darin@apple.com>
3538 Reviewed by John Sullivan.
3540 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3541 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3544 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3548 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3549 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3551 * DumpRenderTree/DumpRenderTree.m:
3552 (main): set scrollbar arrow setting to a consistent value
3554 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3556 Reviewed and landed by Darin.
3558 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3559 output of update-webkit is too verbose
3561 * Scripts/update-webkit:
3562 Added option --quiet (-q) to decrease the amount of output.
3564 2005-08-27 Darin Adler <darin@apple.com>
3566 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3567 cvs-create-patch --include-unknowns should ignore hidden files
3569 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3571 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3573 Reviewed, tweaked, and landed by Darin.
3575 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3576 update-webkit doesn't notice when you have SVGSupport and update properly
3578 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3580 2005-08-25 Anders Carlsson <andersca@mac.com>
3582 Reviewed and landed by Darin.
3584 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3585 layout test machinery can't handle tests with applets that have code attributes
3587 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3589 2005-08-24 Darin Adler <darin@apple.com>
3593 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3594 DumpRenderTree --pixel-tests crash
3595 - landed some other small changes I had sitting in my tree
3597 * DumpRenderTree/DumpRenderTree.m:
3598 (main): Don't bother saving and restoring the preferences. Not sure
3599 why this was ever done since the preferences are specific to DumpRenderTree.
3600 Clear delegates before releasing the WebView, because you can't count on the
3601 order of object deallocation.
3602 (dumpRenderTree): Fix code that releases a string before storing it in a
3605 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3606 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3608 2005-08-23 Eric Seidel <eseidel@apple.com>
3612 * Scripts/run-webkit-tests:
3613 Made --leaks option more readable by printing to a file.
3614 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3616 2005-08-22 Eric Seidel <eseidel@apple.com>
3617 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3621 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3622 when they are not needed (for pixel-only failures)
3623 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3625 2005-08-22 Eric Seidel <eseidel@apple.com>
3629 * Scripts/run-webkit-tests: Added the ability to display more than
3630 just two images as part of the image-diff "slideshow".
3631 Added display of "-w3c.png" baseline images for SVG.
3632 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3634 2005-08-20 Eric Seidel <eseidel@apple.com>
3636 * Scripts/run-webkit-tests:
3637 "build" fix after committing incorrect version.
3639 2005-08-20 Eric Seidel <eseidel@apple.com>
3643 * DumpRenderTree/DumpRenderTree.m:
3644 (main): cleans up delegates
3645 (dumpRenderTree): closes CFString/CFURL leak
3646 * Scripts/run-webkit-tests:
3647 Adds --leaks option to run-webkit-tests
3648 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3650 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3654 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3655 new files to be included in the patch even without "cvs add".
3657 2005-08-19 Darin Adler <darin@apple.com>
3659 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3660 non-cvs-generated patches. Anders has been creating these, so it's bad that
3661 the script can't handle them.
3662 * Scripts/cvs-unapply: Ditto.
3664 2005-08-18 Darin Adler <darin@apple.com>
3666 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3667 "." in them -- based on complaint by someone here at Apple.
3669 2005-08-18 Eric Seidel <eseidel@apple.com>
3673 * Scripts/run-webkit-tests:
3674 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3676 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3678 - add file that I forgot in the last checkin
3680 * DumpRenderTree/ImageDiff.m: Added.
3682 (getImageFromStdin):
3684 (getDifferenceBitmap):
3685 (computePercentageDifferent):
3687 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3689 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3690 somewhat by me, and also tweaked by me a little bit.
3692 - better support for pixel-dumping
3693 - use checksums of the images so the tests are fast
3694 - change output format to make the tests run faster
3695 - don't dump pixel results for tests that dump as text
3697 * DumpKCanvasTree/DumpKCanvasTree.m:
3700 (md5HashStringForBitmap):
3702 (constrainSizeToMaximum):
3703 (getBitmapImageRepForSVGDocument):
3704 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3705 * DumpRenderTree/DumpRenderTree.m:
3709 (md5HashStringForBitmap):
3710 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3711 * Scripts/run-webkit-tests:
3713 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3717 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3719 * DumpRenderTree/DumpRenderTree.m:
3722 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3724 Reviewed and landed by Darin.
3726 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3727 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3729 * Scripts/run-safari: Pass arguments through to Safari on command line.
3730 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3732 2005-08-11 Eric Seidel <eseidel@apple.com>
3733 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3735 Reviewed by eseidel.
3737 * DrawTest/TestController.m:
3738 (-[TestController imagePathForSVGPath:]):
3739 Fixed support for using TextViewer with the layout-tests.
3740 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3742 2005-08-11 Maciej Stachowiak <mjs@apple.com>
3744 At Least Roughly Glanced At by Anders.
3746 - fix change with totally breaks the layout tests.
3748 * DumpRenderTree/DumpRenderTree.m:
3749 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3750 load, to avoid dumping twice accidentally.
3752 2005-08-10 Eric Seidel <eseidel@apple.com>
3753 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3757 * DumpRenderTree/DumpRenderTree.m:
3758 Added support for rendering to a PNG file.
3759 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3761 2005-08-07 Eric Seidel <eseidel@apple.com>
3765 * Scripts/run-webkit-tests: added --svg option
3766 * Scripts/run-webkit-tests-svg: Removed.
3767 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
3769 2005-08-07 Eric Seidel <eseidel@apple.com>
3770 Changes by Ben La Monica <ben.lamonica@gmail.com>
3774 * svg2png/ImageDiff.h: Added.
3775 * svg2png/ImageDiff.m: Added.
3776 (getDifferenceBitmap):
3777 (computePercentageDifferent):
3778 (saveAnimatedGIFToFile):
3779 * svg2png/svg2png.m:
3780 (usage): added several new options
3781 (getBitmapForSVG): added NSBitmapImageRep generation
3782 (main): various argument changes.
3783 * svg2png/svg2png.xcodeproj/project.pbxproj:
3784 Several additions to provide image differencing functionality.
3785 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3787 2005-08-07 Eric Seidel <eseidel@apple.com>
3791 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3792 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3793 Adding the first SVG layout tests:
3794 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3796 2005-08-07 Darin Adler <darin@apple.com>
3798 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3800 2005-08-06 Eric Seidel <eseidel@apple.com>
3804 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3805 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3806 * Scripts/build-dumpkcanvastree: Added.
3807 * Scripts/run-webkit-tests-svg: Added.
3808 Adds a DumpRenderTree-like tool for SVG which allows us to do
3809 text-based layout regression testing. This (like most of the
3810 SVG specific stuff) is temporary and will be replaced by
3811 DumpRenderTree once the DOMs and RenderTrees merge.
3812 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3814 2005-08-06 Eric Seidel <eseidel@apple.com>
3818 * DrawTest/DrawTestView.m:
3819 (-[DrawTestView toggleFilterSupport:]): missing negation.
3820 One half of fix for toggling filter support.
3821 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3823 2005-08-04 Eric Seidel <eseidel@apple.com>
3827 * Scripts/build-drawtest:
3828 * Scripts/build-dumprendertree:
3829 * Scripts/build-svg2png:
3830 * Scripts/build-webcore-svg:
3831 * Scripts/build-webkit:
3832 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
3833 Added checkRequiredSystemConfig and made all the build-* scripts
3834 use it to print a pretty warning when trying to compile on an
3835 unsupported system (less than 10.4, Xcode 2.1).
3836 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
3838 2005-08-04 Darin Adler <darin@apple.com>
3840 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
3841 the dead. It was removed by accident when someone was trying to work on the branch.
3843 2005-07-31 Darin Adler <darin@apple.com>
3845 - a little tools cleanup
3847 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
3848 project as a whole. Removed unused Default configuration.
3850 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
3852 2005-07-31 Duncan Wilcox <duncan@mclink.it>
3854 Reviewed and landed by Darin Adler.
3856 Add logging of editing delegate calls for regression checking.
3858 * DumpRenderTree/DumpRenderTree.m:
3860 setup editing delegate
3862 (-[DOMNode dumpPath]):
3864 utility for editing delegate logging
3866 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3867 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3868 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3869 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3870 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3871 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3872 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3873 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3874 (-[EditingDelegate webViewDidBeginEditing:]):
3875 (-[EditingDelegate webViewDidChange:]):
3876 (-[EditingDelegate webViewDidEndEditing:]):
3877 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3878 log corresponding editing delegate methods
3880 (-[EditingDelegate webViewDidChangeSelection:]):
3881 log selection except when clearing selection after end of test (uses existing "done" flag)
3884 added clearing of selection after test
3886 2005-07-31 Eric Seidel <eseidel@apple.com>
3890 * Scripts/build-drawtest: Added.
3891 * Scripts/build-svg2png: Added.
3892 * Scripts/build-webcore-svg: Added.
3893 * Scripts/run-drawtest: Added.
3894 * Scripts/webkitdirs.pm: added checkSVGFrameworks
3895 Made it much easier to build WebCore+SVG.
3896 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
3898 2005-07-29 Eric Seidel <eseidel@apple.com>
3902 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3903 Build fix. Removed bad path.
3905 2005-07-29 Eric Seidel <eseidel@apple.com>
3907 Reviewed by sullivan.
3909 * DrawTest/AppDelegate.h: Added.
3910 * DrawTest/AppDelegate.m: Added.
3911 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
3912 * DrawTest/DrawTestDocument.h: Added.
3913 * DrawTest/DrawTestDocument.m: Added.
3914 * DrawTest/DrawTestInspectorController.h: Added.
3915 * DrawTest/DrawTestInspectorController.m: Added.
3916 * DrawTest/DrawTestToolbarController.h: Added.
3917 * DrawTest/DrawTestToolbarController.m: Added.
3918 * DrawTest/DrawTestView.h: Added.
3919 * DrawTest/DrawTestView.m: Added.
3920 * DrawTest/DrawTest_Prefix.pch: Added.
3921 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
3922 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
3923 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
3924 * DrawTest/English.lproj/InfoPlist.strings: Added.
3925 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3926 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3927 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3928 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3929 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3930 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3931 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3932 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3933 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3934 * DrawTest/Info.plist: Added.
3935 * DrawTest/SVGTest.h: Added.
3936 * DrawTest/SVGTest.m: Added.
3937 * DrawTest/ScalingImageView.h: Added.
3938 * DrawTest/ScalingImageView.m: Added.
3939 * DrawTest/TestController.h: Added.
3940 * DrawTest/TestController.m: Added.
3941 * DrawTest/TestViewerSplitView.h: Added.
3942 * DrawTest/TestViewerSplitView.m: Added.
3943 * DrawTest/main.m: Added.
3944 Adding simple cocoa app for testing SVG rendering, interaction.
3945 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3947 2005-07-28 Eric Seidel <eseidel@apple.com>
3951 * svg2png/svg2png.m: Added.
3952 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3953 * svg2png/svg2png_Prefix.pch: Added.
3954 Added a simple test tool which dumps a PNG from an SVG using
3955 WebCore+SVG's SVG rendering support.
3956 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3958 2005-07-26 Maciej Stachowiak <mjs@apple.com>
3962 - new script to review the DOM layout test results and see where we stand
3963 on actual success and failure
3965 * Scripts/check-dom-results: Added.
3967 2005-07-25 Darin Adler <darin@apple.com>
3969 * Scripts/webkitdirs.pm: Check in missing line of code.
3971 2005-07-25 Darin Adler <darin@apple.com>
3973 - fixed problem that was causing JavaScriptCore test to fail
3974 (except for people who had set DYLD_FRAMEWORK_PATH)
3976 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
3977 Add code to parse configuration parameter so you can pass --deployment if you like.
3978 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
3980 * Scripts/update-javascriptcore-test-results: Add license header.
3982 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
3983 from @ARGV. This lets us use this option in commands that take other options and
3984 pass them along to a subsequent tool.
3986 2005-07-25 Darin Adler <darin@apple.com>
3988 Reviewed by Geoff Garen.
3990 - Fixed run-safari and gdb-safari to use the Safari application in the build results
3991 directory, if any, falling back to the one in the Applications directory otherwise.
3992 Does no harm for open source contributors who don't build Safari, and helps out the
3993 Safari team, since we do build Safari.
3995 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
3996 variable, and if that's not present, looks in either the build results directory or
3997 /Applications; factors code that was in both scripts before into a shared function.
3998 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
3999 now in Xcode 2.1 format and incompatible with older versions of Xcode.
4001 * Scripts/gdb-safari: Use safariPath.
4002 * Scripts/run-safari: Use safariPath.
4004 2005-07-22 Geoffrey Garen <ggaren@apple.com>
4006 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
4007 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
4009 Moved Tools/Scripts/update-mozilla-js-test-results to
4010 WebKitTools/Scripts/update-javascriptcore-test-results.
4014 * Scripts/run-javascriptcore-tests: Added.
4016 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4020 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
4022 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4024 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
4026 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4028 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
4030 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4032 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
4034 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4036 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
4038 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4040 * Scripts/build-webkit:
4042 2005-07-12 Eric Seidel <eseidel@apple.com>
4046 * checkout-svg: Fixed error with symlink creation.
4048 2005-07-12 Eric Seidel <eseidel@apple.com>
4052 * checkout-svg: Added.
4053 Script to check out WebCore+SVG
4055 2005-06-30 Darin Adler <darin@apple.com>
4057 Changes based on input from Michael Kahl.
4059 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
4060 specify different style of "diff".
4061 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
4062 determineConfigurationProductDir works in all cases.
4064 2005-06-29 Darin Adler <darin@apple.com>
4066 - fixed bug which would result in multiple unwanted dumps in a single layout test
4068 * DumpRenderTree/DumpRenderTree.m:
4069 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
4071 (-[LayoutTestController waitUntilDone]): Update for name change.
4072 (-[LayoutTestController notifyDone]): Dump only if ready.
4073 (dumpRenderTree): Set up new boolean and update for name change.
4075 2005-06-29 Darin Adler <darin@apple.com>
4077 Changes by Timothy Hatcher.
4080 * Scripts/run-webkit-app: Added script to open an arbritrary application with
4081 a CVS built WebKit. Example: ./run-webkit-app Colloquy
4083 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
4084 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
4085 * Scripts/run-safari: Ditto.
4087 2005-06-26 Darin Adler <darin@apple.com>
4089 * Scripts/build-dumprendertree: Pass -project option so that having a second
4090 copy of the project (like the one Xcode 2.1 offers to make for you) that's
4091 out of date won't screw you up.
4092 * Scripts/build-webkit: Ditto.
4094 2005-06-23 Darin Adler <darin@apple.com>
4096 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
4098 2005-06-23 Darin Adler <darin@apple.com>
4100 Changes based on input from Michael Kahl.
4102 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
4103 directory passed in.
4105 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
4106 getcwd() in the code to find the base product dir. Added code to handle unusual
4107 base product directory values that use SRCROOT.
4109 2005-06-22 Darin Adler <darin@apple.com>
4111 Change by Anders Carlsson.
4113 - added support for dumping title changes
4115 * DumpRenderTree/DumpRenderTree.m:
4116 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
4117 if requested by JavaScript.
4118 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
4119 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
4120 (dumpRenderTree): Start flag as NO.
4122 2005-06-20 Darin Adler <darin@apple.com>
4124 Reviewed by Justin Garcia.
4126 * Scripts/run-webkit-tests: Report number of tests when they succeed.
4128 2005-06-18 Darin Adler <darin@apple.com>
4130 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
4131 in the hope of making the tool use less memory and run faster.
4133 2005-06-18 Darin Adler <darin@apple.com>
4135 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
4136 * Scripts/cvs-unapply: Ditto.
4138 2005-06-17 Maciej Stachowiak <mjs@apple.com>
4140 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
4141 benefit of all WebKit hackerdom
4143 * Scripts/prepare-ChangeLog: Added.
4145 2005-06-16 Darin Adler <darin@apple.com>
4147 - recent changes to XcodeOptions made it depend on the current directory
4148 The intent was to have the WebKitBuild directory be next to WebKitTools,
4149 not inside the various build directories. Workaround for now is to call
4150 XcodeOptions when the directory is set to the WebKit directory.
4152 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
4153 at the start of the script.
4154 * Scripts/build-webkit: Ditto.
4156 2005-06-15 Darin Adler <darin@apple.com>
4158 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
4160 2005-06-14 Darin Adler <darin@apple.com>
4162 Changes by Anders Carlsson.
4165 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
4166 Add gdb-safari script to launch Safari under gdb
4168 * Scripts/gdb-safari: Added.
4170 2005-06-12 Darin Adler <darin@apple.com>
4172 Changes by Stuart Morgan.
4175 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
4176 * Scripts/cvs-apply: Ditto.
4177 * Scripts/cvs-create-patch: Ditto.
4178 * Scripts/cvs-unapply: Ditto.
4179 * Scripts/run-webkit-tests: Ditto.
4180 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
4182 2005-06-12 Darin Adler <darin@apple.com>
4184 * Scripts/cvs-apply: Handle case of an empty patch better.
4185 * Scripts/cvs-unapply: Ditto.
4187 2005-06-12 Darin Adler <darin@apple.com>
4189 Changes by Michael Gaiman.
4192 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
4193 WebKit no longer builds after configuration supporting build changes
4195 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
4197 2005-06-12 Darin Adler <darin@apple.com>
4199 * Scripts/update-webkit: Make this script work when called from any directory.
4201 2005-06-12 Darin Adler <darin@apple.com>
4204 Includes changes by Stuart Morgan as well as my own.
4206 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
4207 symrootXcodeOptions to set the -buildstyle option.
4208 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
4209 The new --development option does the same thing.
4210 * Scripts/run-safari: Ditto.
4211 * Scripts/run-webkit-tests: Ditto.
4212 * Scripts/update-webkit: Ditto.
4213 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
4215 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
4216 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
4217 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
4218 product directory. Read the default configuration from a file, overridable by a passed-in command-line
4221 2005-06-11 Darin Adler <darin@apple.com>
4223 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
4224 to execute the cvs diff commands.
4226 2005-06-11 Darin Adler <darin@apple.com>
4228 - added first cuts at some cvs scripts
4230 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
4231 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
4232 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
4233 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
4235 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
4237 * Scripts/cvs-abandon: Added.
4238 * Scripts/cvs-apply: Added.
4239 * Scripts/cvs-create-patch: Added.
4240 * Scripts/cvs-unapply: Added.
4242 2005-06-09 Darin Adler <darin@apple.com>
4246 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
4247 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
4249 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
4250 for Foundation.framework. How was it ever wrong?