1 2006-07-08 Darin Adler <darin@apple.com>
3 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
5 2006-07-04 Maciej Stachowiak <mjs@apple.com>
9 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
10 - add support for dumping non-HTML as text - in this case use textContent
13 * DumpRenderTree/DumpRenderTree.m:
16 2006-07-02 Timothy Hatcher <timothy@apple.com>
20 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
21 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
23 Adds step over and step out. Along with a little code cleanup
24 that was minor enough to piggyback on this fix.
26 * Drosera/DebuggerDocument.h:
27 * Drosera/DebuggerDocument.m:
28 (-[DebuggerDocument stepOver:]):
29 (-[DebuggerDocument stepOut:]):
30 (-[DebuggerDocument windowDidLoad]):
31 (-[DebuggerDocument windowWillClose:]):
32 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
33 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
34 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
35 (-[DebuggerDocument validateUserInterfaceItem:]):
36 * Drosera/Drosera.xcodeproj/project.pbxproj:
37 * Drosera/debugger.html:
38 * Drosera/debugger.js:
41 2006-07-02 Timothy Hatcher <timothy@apple.com>
45 Bug 9628: [Drosera] Split Views acting oddly
46 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
48 Only update the last X or Y coordinate if the new
49 size was not constrained. Also adds the resize cursor to
50 the body during the drag incase there is a constrained
51 over drag off of the resizer element.
53 * Drosera/debugger.js:
55 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
57 Reviewed by Alexy Proskuryakov.
59 Bug 9692: Warning about Safari extensions on every launch is obnoxious
60 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
62 * WebKitLauncher/WebKitNightlyEnabler.m:
63 (myApplicationWillTerminate): Note that we are exiting cleanly.
64 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
65 to exit cleanly on our last invocation. This doesn't play nicely with
66 multiple concurrent instances of WebKit.app so it can be disabled via
67 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
69 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
71 Reviewed by Alexy Proskuryakov.
73 Bug 9654: Refresh Loop when accessing feed URLs
74 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
76 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
78 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
80 Reviewed by Timothy Hatcher.
82 Bug 9689: Nightly builds should warn a user about potential problems when using
84 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
86 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
87 * WebKitLauncher/WebKitNightlyEnabler.m:
88 (myBundleDidLoad): Keep track of if any bundles that are loaded.
89 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
90 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
91 NSApplicationWillFinishLaunchingNotification notifications so that we can
92 track bundle loads and notify the user at launch completion.
94 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
98 - first check-in of a Gdk shell for testing WebKit
100 * GdkLauncher: Added.
102 2006-06-29 Timothy Hatcher <timothy@apple.com>
106 Need to call window close so WebView tears-down completly.
108 * DumpRenderTree/DumpRenderTree.m:
109 (main): call [window close]
111 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
115 Bug 9615: Buildbot configuration should be in SVN repository
116 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
118 Import BuildBot configuration files as used by build.webkit.org.
119 auth.py has been stubbed out so that slave passwords are not disclosed.
121 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
122 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
123 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
124 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
125 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
126 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
127 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
128 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
129 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
130 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
131 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
132 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
134 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
138 Bug 9614: Nightly builds should notify user if a newer build is available
139 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
141 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
142 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
143 script so it can keep track of the latest revision.
144 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
145 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
146 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
147 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
148 the nightly start page.
150 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
154 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
155 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
157 Report screenY values as (height of zero screen - screenY)
159 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
161 2006-06-25 Timothy Hatcher <timothy@apple.com>
165 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
166 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
168 Makes breakpoints dragable. If dragged off the gutter they are deleted.
170 * Drosera/debugger.js:
171 * Drosera/viewer.css:
173 2006-06-25 Timothy Hatcher <timothy@apple.com>
177 Bug 9568: assertion failure in Safari after quitting Drosera
178 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
180 Call switchToServerNamed:nil and not removeLister to make sure
181 the server object is set to nil to prevent further removeListener calls.
183 * Drosera/DebuggerDocument.m:
184 (-[DebuggerDocument applicationTerminating:]):
186 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
190 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
191 that the directory is not empty instead of reading in every single file and directory first,
192 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
195 2006-06-25 Darin Adler <darin@apple.com>
197 * Scripts/svn-apply: Tweak comments.
198 * Scripts/svn-create-patch: Ditto.
199 * Scripts/svn-unapply: Ditto.
201 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
203 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
205 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
207 * Scripts/svn-apply: Formatting fix.
209 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
213 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
214 Teach svn-apply and svn-unapply to handle directory adds and removes better
216 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
217 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
219 2006-06-25 Timothy Hatcher <timothy@apple.com>
223 Bug 9574: Drosera should show inline scripts within the original HTML
224 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
226 Refactor the JavaScript code to have a distinction between files
227 and scripts. Show the script in the context of the HTML file if
228 it's URL is the same as the frame's main resource. At the time of
229 the disParseScript callback the main resource might not be completely
230 loaded, but Drosera needs to show whatever we have at the time. Once
231 the main resource is finished, update the file source and reload the file.
233 * Drosera/DebuggerDocument.m:
234 (-[DebuggerDocument pause]):
235 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
236 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
237 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
238 * Drosera/debugger.css:
239 * Drosera/debugger.js:
241 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
245 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
246 Teach prepare-ChangeLog to operate on a list of files or directories
248 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
249 * Scripts/svn-create-patch: Code refactoring.
251 2006-06-24 James G. Speth <speth@end.com>
255 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
256 add a way to build Objective-C test cases in HTML
258 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
259 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
260 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
263 * DumpRenderTree/ObjCPlugin.h:
264 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
265 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
266 (+[ObjCPlugin webScriptNameForSelector:]):
267 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
268 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
269 (+[NSObject allowsScriptsFullAccess]):
270 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
271 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
272 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
273 (+[JSObjC webScriptNameForSelector:]):
274 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
275 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
276 (-[JSObjC log:]): access to NSLog function
277 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
278 (-[JSObjC classOfObject:]):
279 (-[JSObjC classNameOfObject:]):
281 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
285 * DrawTest/Info.plist: Added copyright statement.
286 * Drosera/Info.plist: Ditto.
287 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
288 * WebKitLauncher/Info.plist: Ditto.
290 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
292 Build fix. Reviewed by NOBODY.
294 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
295 devenv.com not available in VC++ Express installations
297 * Scripts/webkitdirs.pm: Backed out previous change.
299 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
303 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
304 devenv.com not available in VC++ Express installations
306 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
308 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
312 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
313 A bunch of fixes to run-webkit-httpd
315 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
316 127.0.0.1. Useful for testing with WinIE running on another machine;
317 - don't call checkFrameworks() - we do not need a built WebKit here;
318 - changed tabs to spaces;
319 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
320 interactive mode, they were a hassle when testing with several browsers, as one
321 had to wait for connection to expire);
322 - remove httpd.pid when done, so that Apache doesn't complain next time.
324 * Scripts/run-webkit-httpd:
326 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
328 Reviewed by ggaren, landed by ap.
330 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
331 Complete DOMUIEvent Obj-C API to reflect UIEvent
333 Add function to enable logging of all events of one DOM node to stdout.
335 * DumpRenderTree/EventSendingController.h:
336 * DumpRenderTree/EventSendingController.m:
337 (+[EventSendingController initialize]):
338 (+[EventSendingController isSelectorExcludedFromWebScript:]):
339 (+[EventSendingController webScriptNameForSelector:]):
340 (-[EventSendingController enableDOMUIEventLogging:]):
341 (-[EventSendingController handleEvent:]):
343 2006-06-23 Kevin Decker <kdecker@apple.com>
345 Reviewed by Tim Hatcher.
347 - Made column headers in Drosera resizable.
349 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
353 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
354 Another case error preventing build
356 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
358 2006-06-22 Timothy Hatcher <timothy@apple.com>
362 Adds a native toolbar to Drosera to be a good citizen.
363 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
364 Fixes a dragging bug from an earlier fix to the divider code.
365 Fixes some poor indenting in debugger.js.
367 * Drosera/DebuggerDocument.h:
368 * Drosera/DebuggerDocument.m:
369 (-[DebuggerDocument stepInto]):
370 (-[DebuggerDocument pause:]):
371 (-[DebuggerDocument resume:]):
372 (-[DebuggerDocument stepInto:]):
373 (-[DebuggerDocument windowDidLoad]):
374 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
375 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
376 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
377 (-[DebuggerDocument validateUserInterfaceItem:]):
378 * Drosera/English.lproj/MainMenu.nib/classes.nib:
379 * Drosera/English.lproj/MainMenu.nib/info.nib:
380 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
381 * Drosera/debugger.css:
382 * Drosera/debugger.html:
383 * Drosera/debugger.js:
384 * Drosera/viewer.html:
386 2006-06-22 Kevin Decker <kdecker@apple.com>
390 - Added pressed column header image.
391 - Made column headers behave more like Xcode.
393 2006-06-22 Timothy Hatcher <timothy@apple.com>
395 Reviewed by Kevin Decker.
397 Code clean up. Adds the stackframe and makes only the body
398 of the tables scrollable keeping the header visible.
399 Shows the current function stack when paused or stepping.
401 * Drosera/DebuggerApplication.m:
402 (-[DebuggerApplication awakeFromNib]):
403 (-[DebuggerApplication numberOfRowsInTableView:]):
404 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
405 * Drosera/DebuggerDocument.h:
406 * Drosera/DebuggerDocument.m:
407 (-[DebuggerDocument dealloc]):
408 (-[DebuggerDocument currentFrame]):
409 (-[DebuggerDocument currentFrameFunctionName]):
410 (-[DebuggerDocument currentFunctionStack]):
411 (-[DebuggerDocument log:]):
412 (-[DebuggerDocument windowWillClose:]):
413 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
414 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
415 * Drosera/Drosera.xcodeproj/project.pbxproj:
416 * Drosera/debugger.css:
417 * Drosera/debugger.html:
418 * Drosera/debugger.js:
420 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
424 Teach run-webkit-httpd to properly look for webkitdirs.pm.
426 * Scripts/run-webkit-httpd:
428 2006-06-22 Kevin Decker <kdecker@apple.com>
430 Reviewed by Tim Hatcher.
432 - More progress toward Javascript Debugger.
433 - Added some new images to the project.
435 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
439 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
440 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
442 * Scripts/run-webkit-httpd: Added.
444 2006-06-20 Timothy Hatcher <timothy@apple.com>
448 Builds Drosera and a launcher to include with the nightly.
450 * BuildSlaveSupport/build-launcher-app:
451 * BuildSlaveSupport/build-launcher-dmg:
452 * Drosera/Drosera.xcodeproj/project.pbxproj:
453 * Drosera/Info.plist:
454 * Drosera/LauncherInfo.plist: Added.
455 * Drosera/launcher.m: Added.
456 (displayErrorAndQuit):
457 (checkMacOSXVersion):
460 * Scripts/build-drosera
461 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
462 * WebKitLauncher/main.m:
465 2006-06-20 Timothy Hatcher <timothy@apple.com>
469 Adds a JavaScript debugger, called Drosera. Named after
470 a genus of bug eating plants.
472 * Drosera/DebuggerApplication.h: Added.
473 * Drosera/DebuggerApplication.m: Added.
474 (-[DebuggerApplication applicationDidFinishLaunching:]):
475 (-[DebuggerApplication serverLoaded:]):
476 (-[DebuggerApplication serverUnloaded:]):
477 (-[DebuggerApplication awakeFromNib]):
478 (-[DebuggerApplication showAttachPanel:]):
479 (-[DebuggerApplication attach:]):
480 (-[DebuggerApplication numberOfRowsInTableView:]):
481 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
482 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
483 (-[DebuggerApplication tableViewSelectionDidChange:]):
484 * Drosera/DebuggerDocument.h: Added.
485 * Drosera/DebuggerDocument.m: Added.
486 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
487 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
488 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
489 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
490 (-[DebuggerDocument initWithServerName:]):
491 (-[DebuggerDocument windowWillClose:]):
492 (-[DebuggerDocument dealloc]):
493 (-[DebuggerDocument isPaused]):
494 (-[DebuggerDocument pause]):
495 (-[DebuggerDocument resume]):
496 (-[DebuggerDocument step]):
497 (-[DebuggerDocument windowNibName]):
498 (-[DebuggerDocument windowDidLoad]):
499 (-[DebuggerDocument switchToServerNamed:]):
500 (-[DebuggerDocument applicationTerminating:]):
501 (-[DebuggerDocument serverConnectionDidDie:]):
502 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
503 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
504 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
505 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
506 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
507 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
508 * Drosera/Drosera.pch: Added.
509 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
510 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
511 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
512 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
513 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
514 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
515 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
516 * Drosera/Images/breakPoint.tif: Added.
517 * Drosera/Images/breakPointDisabled.tif: Added.
518 * Drosera/Images/continue.tif: Added.
519 * Drosera/Images/finishFunction.tif: Added.
520 * Drosera/Images/glossyFooterFill.tif: Added.
521 * Drosera/Images/glossyHeader.png: Added.
522 * Drosera/Images/gradientBackground.png: Added.
523 * Drosera/Images/gutter.png: Added.
524 * Drosera/Images/navLeftDisabled.png: Added.
525 * Drosera/Images/navLeftNormal.png: Added.
526 * Drosera/Images/navLeftPressed.png: Added.
527 * Drosera/Images/navRightDisabled.png: Added.
528 * Drosera/Images/navRightNormal.png: Added.
529 * Drosera/Images/navRightPressed.png: Added.
530 * Drosera/Images/pause.tif: Added.
531 * Drosera/Images/popUpArrows.png: Added.
532 * Drosera/Images/programCounter.tif: Added.
533 * Drosera/Images/programCounterBreakPoint.tif: Added.
534 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
535 * Drosera/Images/run.tif: Added.
536 * Drosera/Images/splitterBar.tif: Added.
537 * Drosera/Images/splitterDimple.tif: Added.
538 * Drosera/Images/step.tif: Added.
539 * Drosera/Images/stepOver.tif: Added.
540 * Drosera/Images/stop.tif: Added.
541 * Drosera/Images/toolbarBackground.png: Added.
542 * Drosera/Info.plist: Added.
543 * Drosera/debugger.css: Added.
544 * Drosera/debugger.html: Added.
545 * Drosera/debugger.js: Added.
546 * Drosera/main.m: Added.
548 * Drosera/viewer.css: Added.
549 * Drosera/viewer.html: Added.
551 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
555 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
556 Teach svn-apply and svn-unapply to use full path names
558 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
559 * Scripts/svn-unapply: Ditto.
561 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
565 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
566 DumpRenderTree should be able to keep URL history during runs
568 Test: LayoutTests/fast/history/clicked-link-is-visited.html
570 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
571 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
572 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
573 it is currently nil since keepWebHistory() might be called more than once incidentally
575 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
576 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
578 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
582 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
583 Make prepare-ChangeLog faster
585 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
586 then save the diff output for reuse. Keep a status variable if changes are made to
587 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
588 WebCore is updated. Added -h|--help command-line switch and help message. Move test
589 for no changed files closer to the beginning of the program.
591 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
593 Reviewed and landed by ap.
595 - make DumpRenderTree build
597 * DumpRenderTree/DumpRenderTree.m:
598 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
599 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
600 (-[LayoutTestController setWindowIsKey:]): Ditto.
601 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
603 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
605 Reviewed by Darin, landed by Geoff.
607 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
608 Use pathcmp() when sorting paths in svn-create-patch
610 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
611 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
612 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
613 switch and printUsage() subroutine.
615 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
619 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
620 Teach svn-create-patch to sort its output
622 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
623 by text files first, then by binary files.
625 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
629 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
630 Teach svn-create-patch and friends to work with binary files
632 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
633 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
634 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
636 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
640 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
641 Performance improvement for svn-create-patch
643 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
645 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
649 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
650 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
652 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
653 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
655 2006-06-03 Steve Falkenburg <sfalken@apple.com>
659 Switch Spinneret to new hosting mechanism
661 * Spinneret/Spinneret.sln:
662 * Spinneret/Spinneret/Spinneret.cpp:
663 (SpinneretWebHost::updateAddressBar):
664 (SpinneretWebHost::QueryInterface):
665 (SpinneretWebHost::AddRef):
666 (SpinneretWebHost::Release):
673 * Spinneret/Spinneret/Spinneret.h:
674 (SpinneretWebHost::didStartProvisionalLoadForFrame):
675 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
676 (SpinneretWebHost::didFailProvisionalLoadWithError):
677 (SpinneretWebHost::didCommitLoadForFrame):
678 (SpinneretWebHost::didReceiveTitle):
679 (SpinneretWebHost::didReceiveIcon):
680 (SpinneretWebHost::didFinishLoadForFrame):
681 (SpinneretWebHost::didFailLoadWithError):
682 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
683 (SpinneretWebHost::willPerformClientRedirectToURL):
684 (SpinneretWebHost::didCancelClientRedirectForFrame):
685 (SpinneretWebHost::willCloseFrame):
686 (SpinneretWebHost::windowScriptObjectAvailable):
687 * Spinneret/Spinneret/Spinneret.vcproj:
689 2006-06-02 Steve Falkenburg <sfalken@apple.com>
695 * Scripts/build-webkit:
697 2006-06-01 Anders Carlsson <acarlsson@apple.com>
701 * DumpRenderTree/DumpRenderTree.m:
702 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
703 (-[LayoutTestController clearBackForwardList]):
704 Add clearBackForwardList function to layoutTestController
706 2006-06-01 Anders Carlsson <acarlsson@apple.com>
710 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
711 slow-utf8-text layout test case failing (no longer deterministic?)
713 * DumpRenderTree/DumpRenderTree.m:
715 Dump as text when the response MIME type is text/plain
717 2006-05-26 Steve Falkenburg <sfalken@apple.com>
721 * Spinneret/Spinneret.sln:
722 * Spinneret/Spinneret/Spinneret.vcproj:
724 2006-05-24 Geoffrey Garen <ggaren@apple.com>
728 Added 'GCController' to DRT to support garbage collection layout tests.
730 GCController.collect() and GCController.collectOnAlternateThread() do
731 what you would expect. The latter takes a boolean argument sepcifying
732 whether to wait for garbage collection to finish before continuing to
735 * DumpRenderTree/DumpRenderTree.m:
736 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
737 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
738 * DumpRenderTree/GCController.h: Added.
739 * DumpRenderTree/GCController.mm: Added.
740 (+[GCController isSelectorExcludedFromWebScript:]):
741 (+[GCController webScriptNameForSelector:]):
742 (-[GCController collect]):
743 (-[GCController collectOnAlternateThread:]):
745 2006-05-23 John Sullivan <sullivan@apple.com>
749 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
750 Newer Xcode removed some obsolete cruft
752 * DumpRenderTree/TextInputController.m:
753 (-[TextInputController textInput]):
754 added (id) cast to make newer compiler happy
756 2006-05-22 Steve Falkenburg <sfalken@apple.com>
762 * Spinneret/Spinneret.sln:
764 2006-05-18 Darin Adler <darin@apple.com>
766 - try to fix no-SVG, no-XPATH build, again
768 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
770 2006-05-18 Darin Adler <darin@apple.com>
772 - try to fix no-SVG, no-XPATH build
774 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
775 since the former is what's used in the WebCore project now.
777 2006-05-17 Darin Adler <darin@apple.com>
779 * Scripts/do-webcore-rename: Some more future renames.
781 2006-05-16 Adele Peterson <adele@apple.com>
785 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
786 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
788 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
790 * Scripts/install-unix-extras: Changed to be executable and removed
791 text in the file generated by "svn diff".
792 * Scripts/regenerate-makefiles: Ditto.
794 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
796 Reviewed by Darin, landed by ap.
798 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
799 Bakefiles (and generated Makefiles) for wx and gdk ports
801 * Scripts/install-unix-extras: Added.
802 * Scripts/regenerate-makefiles: Added.
804 2006-05-10 Steve Falkenburg <sfalken@apple.com>
808 Fix registry usage from perl script. Turns out libwin32's
809 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
811 * Scripts/install-win-extras:
813 2006-05-09 Steve Falkenburg <sfalken@apple.com>
816 Add load ended callback.
820 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
821 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
822 * Spinneret/Spinneret/Spinneret.cpp:
823 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
824 (_tWinMain): Load built-in test content here instead of in lower-level code.
825 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
827 2006-05-08 Maciej Stachowiak <mjs@apple.com>
831 * Scripts/extract-localizable-strings: Update for correct names of log macros.
833 2006-05-09 Anders Carlsson <acarlsson@apple.com>
837 * Scripts/check-dom-results:
838 Add XPath to the list of results.
840 2006-05-08 Darin Adler <darin@apple.com>
842 * Scripts/do-webcore-rename: Add another rename.
844 2006-05-01 Steve Falkenburg <sfalken@apple.com>
848 Spinneret now links against the new separate lib.
850 * Spinneret/Spinneret.sln:
851 * Spinneret/Spinneret/Spinneret.cpp:
852 (SpinneretWebHost::updateLocationBar):
854 * Spinneret/Spinneret/Spinneret.h:
855 * Spinneret/Spinneret/Spinneret.vcproj:
856 * Spinneret/Spinneret/WebFrame.cpp: Removed.
857 * Spinneret/Spinneret/WebFrame.h: Removed.
858 * Spinneret/Spinneret/WebView.cpp: Removed.
859 * Spinneret/Spinneret/WebView.h: Removed.
861 2006-04-28 Steve Falkenburg <sfalken@apple.com>
865 Modify error reporting registry keys to disable Dr. Watson.
866 This allows Javascript test cases to complete without blocking UI.
868 * Scripts/install-win-extras:
869 - Use Perl Win32 registry functions to disable blocking UI
872 2006-04-28 Steve Falkenburg <sfalken@apple.com>
876 Turned off C++ exceptions, fixed memory leaks
878 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
879 * Spinneret/Spinneret.sln:
880 * Spinneret/Spinneret/Spinneret.cpp:
882 * Spinneret/Spinneret/Spinneret.vcproj:
883 * Spinneret/Spinneret/WebFrame.cpp:
884 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
885 (WebKit::WebFrame::WebFrame):
886 (WebKit::WebFrame::~WebFrame):
887 (WebKit::WebFrame::impl):
888 * Spinneret/Spinneret/WebFrame.h:
889 * Spinneret/Spinneret/WebView.cpp:
890 * Spinneret/Spinneret/stdafx.h:
892 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
896 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
897 DumpRenderTree should reset the URL cache
899 * DumpRenderTree/DumpRenderTree.m:
900 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
902 2006-04-28 Eric Seidel <eseidel@apple.com>
904 Reviewed by andersca.
906 * Scripts/do-webcore-rename: rename KCanvasContainer too
907 * Scripts/run-webkit-tests: output total time
909 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
911 Reviewed by hyatt. Landed by eseidel.
913 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
914 Enable detection of excessive repainting with DumpRenderTree
916 * DumpRenderTree/DumpRenderTree.m:
917 (-[LayoutTestController display]):
919 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
923 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
924 DumpRenderTree needs a way to force painting (to allow invalidation tests)
926 * DumpRenderTree/DumpRenderTree.m:
927 (dump): If display() has been called during the test, grab the pixels from
928 the view, after letting it repaint invalidated rects.
929 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
930 (-[LayoutTestController display]): Added. Calls -display on the view
931 and changes the subsequent behavior of dump().
934 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
938 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
939 Update iExploder to 1.3.2
941 Test case numbers are not compatible with iExploder 1.2.
943 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
945 * iExploder/CHANGELOG.txt: Added.
946 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
947 * iExploder/README.txt: Added some performance hints.
949 * iExploder/htdocs/config.rb: Added.
950 * iExploder/htdocs/cssproperties.in:
951 * iExploder/htdocs/cssvalues.in:
952 * iExploder/htdocs/htmlattrs.in:
953 * iExploder/htdocs/htmltags.in:
954 * iExploder/htdocs/iexploder.cgi:
955 - Updated to support the latest HTML & CSS tags, properties, and values from both
956 the WebKit and Mozilla CVS tree
957 - cssproperties.in cleanup
958 - Modularized the code a little bit.
959 - Fix subtest bug that was causing last 5 tags to be missed
960 - new subtest algorithm to deal better with larger tag counts
961 - default HTML_MAX_TAGS increased from 32 to 96
963 * iExploder/htdocs/index.html: Updated version to 1.3.2.
964 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
965 alternative to our run-iexploder-tests.
966 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
967 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
968 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
970 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
972 - commit Scripts/run-mangleme-tests (missed it the previous time).
974 2006-04-18 Darin Adler <darin@apple.com>
976 - attempt to fix Windows buildbot
978 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
979 We need a better long-term solution for this.
981 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
985 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
986 Integrate mangleme test script.
988 Works in a similar way to run-iexploder-tests.
990 * Scripts/run-mangleme-tests: Added.
992 * mangleme/Makefile: Added.
993 * mangleme/README: Added.
994 * mangleme/mangle.cgi.c: Added.
995 * mangleme/remangle.cgi.c: Added.
996 * mangleme/tags.h: Added.
998 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1002 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1003 An easier way to save iExploder tests.
1005 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1007 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1011 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1012 Integrate iExploder test script.
1014 This script generates artificially mangled HTML documents, to test that the browser
1015 doesn't crash when handling ill-formed code.
1018 run-iexploder-tests Open an interactive test page in Safari+ToT.
1019 run-iexploder-tests nnnnn Open test #nnnnn.
1021 Command line options:
1022 --guard-malloc (-g) Use Guard Malloc.
1023 --port=nnnn Run Apache on port nnnn (default is 8000).
1025 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1026 (thus, Apache is still running), e.g.:
1027 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1029 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1031 * Scripts/run-iexploder-tests: Added.
1033 * iExploder/LICENSE.txt: Added.
1034 * iExploder/README.txt: Added.
1035 * iExploder/htdocs: Added.
1036 * iExploder/htdocs/cssproperties.in: Added.
1037 * iExploder/htdocs/cssvalues.in: Added.
1038 * iExploder/htdocs/htmlattrs.in: Added.
1039 * iExploder/htdocs/htmltags.in: Added.
1040 * iExploder/htdocs/htmlvalues.in: Added.
1041 * iExploder/htdocs/iexploder.cgi: Added.
1042 * iExploder/htdocs/index.html: Added.
1043 * iExploder/tools: Added.
1044 * iExploder/tools/lasthit.rb: Added.
1045 * iExploder/tools/osx_last_crash.rb: Added.
1047 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1051 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1052 Restore color profile after a crash
1054 * DumpRenderTree/DumpRenderTree.m:
1055 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1056 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1057 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1058 and this code may change significantly.
1060 (main): Install crashHandler.
1062 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1063 (CFStringGetCStringPtr should NEVER EVER be used!).
1065 2006-04-15 Darin Adler <darin@apple.com>
1069 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1070 Seems xmlsoft.org's HTTP no longer has what we need.
1072 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1074 Rubber-stamped by Darin.
1076 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1077 upload-disk-image stage on buildslaves fail with "No space left on device"
1079 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1080 'hdiutil create'. This creates the initial disk image based on the size of
1081 the source folder, and copies the contents to the new disk image. The file
1082 extension on the temporary uncompressed disk image has also been altered from
1083 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1084 the extension is not ".dmg".
1086 2006-04-12 Eric Seidel <eseidel@apple.com>
1090 * Scripts/update-webkit: Make this return non-zero when svn fails.
1092 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1096 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1097 Make HTTP tests using Perl use .pl extension
1099 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1100 removed support for .text. Reduced the number of places that explicitly list supported
1101 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1104 2006-04-06 Darin Adler <darin@apple.com>
1106 Changes requested by Mark Rowe.
1108 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1109 trash at the end of the file.
1110 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1112 * WebKitLauncher/main.m: Removed trash at end of file.
1114 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1117 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1119 Reviewed by Darin, landed by Maciej.
1121 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1122 and bundles the WebKit frameworks inside it.
1123 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1124 containing WebKit.app.
1125 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1126 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1127 number of the SVN working copy.
1128 * WebKitLauncher: Added.
1129 * WebKitLauncher/Info.plist: Added.
1130 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1131 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1132 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1133 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1134 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1135 the nightly launcher.
1136 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1137 It sets up the environment to have Safari use the bundled frameworks
1138 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1139 * WebKitLauncher/start.html: Added.
1140 * WebKitLauncher/webkit.icns: Added.
1142 2006-04-05 Darin Adler <darin@apple.com>
1146 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1147 are allowed to have global initializers.
1149 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1151 Reviewed by OMG BETH
1153 * Scripts/run-testkjs:
1154 - pipe STDERR to /dev/null by default; new --verbose option overrides
1156 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1157 - output run command in a format that can be copied and pasted into the
1158 terminal to run manually
1160 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1162 Reviewed by harrison
1164 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1165 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1167 Tell the source that the drag is over after the drag is performed, not before.
1169 * DumpRenderTree/EventSendingController.m:
1170 (-[EventSendingController mouseUp]):
1172 2006-04-01 Darin Adler <darin@apple.com>
1176 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1177 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1178 elements in that array are not strings.
1180 2006-03-31 Darin Adler <darin@apple.com>
1182 Reviewed by John Sullivan.
1184 - added a "--reset-results" option to run-webkit-tests so you can reset
1185 the results without first deleting expected results
1186 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1188 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1189 more logical. Moved all the subroutines to the end of the file. Added a
1192 * DumpRenderTree/DumpRenderTree.m:
1193 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1194 to generate new output for all tests it runs.
1195 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1196 the --dump-all-pixels option is passed. Also tightened up the image dumping
1197 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1198 with code to save and restore the context.
1200 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1201 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1203 2006-03-30 Tim Omernick <timo@apple.com>
1205 Reviewed by NOBODY (just fixing copyrights)
1207 * DumpRenderTree/ObjCPlugin.h:
1209 * DumpRenderTree/ObjCPlugin.m: ditto
1210 * DumpRenderTree/ObjCPluginFunction.h: ditto
1211 * DumpRenderTree/ObjCPluginFunction.m: ditto
1213 2006-03-30 Tim Omernick <timo@apple.com>
1217 * DumpRenderTree/DumpRenderTree.m:
1218 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1219 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1220 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1221 exposed to JS as a callable object.
1223 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1224 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1226 * DumpRenderTree/ObjCPlugin.h: Added.
1227 * DumpRenderTree/ObjCPlugin.m: Added.
1228 * DumpRenderTree/ObjCPluginFunction.h: Added.
1229 * DumpRenderTree/ObjCPluginFunction.m: Added.
1231 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1232 Added a new method, "removeDefaultMethod", which removes the default method from the
1233 plugin object's class. The effect is that the plugin object is mutated from a callable
1234 function to a simple object.
1236 Handle "removeDefaultMethod".
1237 (pluginInvokeDefault):
1238 Made the default method actually do something (return 1).
1240 2006-03-30 Eric Seidel <eseidel@apple.com>
1244 Remove WebFrame::viewImpl(), setMainFrame on page.
1246 * Spinneret/Spinneret/WebFrame.cpp:
1247 (WebKit::WebFrame::WebFrame):
1248 * Spinneret/Spinneret/WebFrame.h:
1249 * Spinneret/Spinneret/WebView.cpp:
1250 (WebKit::WebView::mouseMoved):
1251 (WebKit::WebView::mouseDown):
1252 (WebKit::WebView::mouseUp):
1253 (WebKit::WebView::mouseDoubleClick):
1254 (WebKit::WebViewWndProc):
1256 2006-03-30 Eric Seidel <eseidel@apple.com>
1260 Fix html editing input & basic form submission.
1262 * Spinneret/Spinneret/WebFrame.cpp:
1263 (WebKit::WebFrame::submitForm):
1264 (WebKit::WebFrame::loadURL):
1265 * Spinneret/Spinneret/WebFrame.h:
1266 * Spinneret/Spinneret/WebView.cpp:
1267 (WebKit::WebView::keyPress):
1268 (WebKit::WebViewWndProc):
1270 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1274 <rdar://problem/4402375>
1275 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1277 Added an option to draw the selectionRect.
1279 * DumpRenderTree/DumpRenderTree.m:
1281 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1282 (-[LayoutTestController dumpSelectionRect]):
1285 2006-03-29 Darin Adler <darin@apple.com>
1287 Reviewed by Tim Hatcher.
1289 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1291 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1293 2006-03-28 Eric Seidel <eseidel@apple.com>
1297 * Scripts/check-for-global-initializers: remove svg exceptions.
1299 2006-03-28 Timothy Hatcher <timothy@apple.com>
1303 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1305 * Scripts/check-for-global-initializers:
1307 2006-03-28 Timothy Hatcher <timothy@apple.com>
1309 Build fix. Turn off uninitialized warnings for the first block of code.
1311 * Scripts/check-for-global-initializers:
1313 2006-03-28 Darin Adler <darin@apple.com>
1317 * Scripts/check-for-global-initializers: Added.
1319 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1321 Reviewed by darin. Landed by eseidel.
1323 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1324 Add repaint testing support to run-webkit-tests
1326 * DumpRenderTree/DumpRenderTree.m:
1327 (main): Added --repaint and --horizontal-sweep options.
1328 (dump): Repaint line-by-line or column-by-column when the appropriate option
1330 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1331 and repaintSweepHorizontally() methods to layoutTestController.
1332 (-[LayoutTestController testRepaint]):
1333 (-[LayoutTestController repaintSweepHorizontally]):
1335 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1336 to force these settings on tests that do not ask for them.
1338 2006-03-24 Eric Seidel <eseidel@apple.com>
1344 * Spinneret/Spinneret/WebFrame.cpp:
1345 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1347 2006-03-21 Beth Dakin <bdakin@apple.com>
1351 Add support for keyDown() to DumpRenderTree.
1353 * DumpRenderTree/DumpRenderTree.m:
1354 (main): Set the preference for tabbing to links.
1355 * DumpRenderTree/EventSendingController.m:
1356 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1357 (+[EventSendingController webScriptNameForSelector:]):
1358 (-[EventSendingController keyDown:withModifiers:]):
1360 2006-03-20 Eric Seidel <eseidel@apple.com>
1366 * Spinneret/Spinneret/Spinneret.vcproj:
1367 * Spinneret/Spinneret/WebFrame.h:
1368 * Spinneret/Spinneret/WebView.cpp:
1369 (WebKit::WebView::mouseMoved):
1370 (WebKit::WebView::mouseDown):
1371 (WebKit::WebView::mouseUp):
1372 (WebKit::WebView::mouseDoubleClick):
1373 (WebKit::WebView::keyPress):
1374 (WebKit::WebViewWndProc):
1376 2006-03-19 Darin Adler <darin@apple.com>
1380 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1381 we can test it in layout tests. We don't really need tests that run with
1382 pop-up blocking off at the moment. If we do some day, we can add some
1383 API for turning it off in the layout test controller.
1385 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1386 don't ignore the leak; it should no longer show up.
1388 2006-03-17 Anders Carlsson <andersca@mac.com>
1392 * Scripts/install-win-extras:
1393 Fetch "Program Files" location from the environment.
1395 2006-03-17 Eric Seidel <eseidel@apple.com>
1399 Fix Spinneret to pass Events as const & not as pointers.
1401 * Spinneret/Spinneret/WebView.cpp:
1402 (WebKit::WebView::mouseMoved):
1403 (WebKit::WebView::mouseDown):
1404 (WebKit::WebView::mouseUp):
1405 (WebKit::WebView::mouseDoubleClick):
1406 (WebKit::WebView::keyPress):
1408 2006-03-17 Eric Seidel <eseidel@apple.com>
1410 Reviewed by justing.
1412 Add support for basic HTML editing.
1414 * Spinneret/Spinneret/WebView.cpp:
1415 (WebKit::WebView::WebView):
1416 (WebKit::WebView::keyPress):
1418 2006-03-17 Eric Seidel <eseidel@apple.com>
1420 Rubber-stamped by ggaren.
1422 Break DumpRenderTree.m up into several files to make the code more readable.
1424 * DumpRenderTree/DumpRenderTree.h: Added.
1425 * DumpRenderTree/DumpRenderTree.m:
1426 (doneLoading): new accessor function for "done" global.
1427 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1428 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1429 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1430 * DumpRenderTree/EditingDelegate.h: Added.
1431 * DumpRenderTree/EditingDelegate.m: Added.
1432 (-[EditingDelegate webViewDidChangeSelection:]):
1433 * DumpRenderTree/EventSendingController.h: Added.
1434 * DumpRenderTree/EventSendingController.m: Added.
1436 2006-03-16 Eric Seidel <eseidel@apple.com>
1440 Add resize, scroll event support.
1442 * Spinneret/Spinneret/WebView.cpp:
1443 (WebKit::WebView::mouseMoved):
1444 (WebKit::WebView::mouseDown):
1445 (WebKit::WebView::mouseUp):
1446 (WebKit::WebView::mouseDoubleClick):
1447 (WebKit::WebView::keyPress):
1448 (WebKit::WebViewWndProc):
1449 * Spinneret/Spinneret/WebView.h:
1451 2006-03-16 Eric Seidel <eseidel@apple.com>
1455 Make build-webkit print correctly to stdout on windows.
1457 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1459 2006-03-15 Eric Seidel <eseidel@apple.com>
1463 Fix eventSender.mouseClick() to update lastClick timestamp.
1465 * DumpRenderTree/DumpRenderTree.m:
1466 (-[EventSendingController mouseClick]):
1468 2006-03-15 Darin Adler <darin@apple.com>
1472 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1473 that had a lowercase "i" in it so this builds on case-sensitive
1476 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1480 Added run-testkjs and compare-timing-files scripts, to support super
1483 * Scripts/compare-timing-files: Added.
1484 * Scripts/run-testkjs: Added.
1486 2006-03-14 Eric Seidel <eseidel@apple.com>
1490 Make the URL bar relinquish focus on page load.
1492 * Spinneret/Spinneret/Spinneret.cpp:
1495 2006-03-14 Eric Seidel <eseidel@apple.com>
1499 Fix WebView to allow KeyFocus.
1500 Add handling of space and shift-space for scrolling.
1502 * Spinneret/Spinneret/WebView.cpp:
1503 (WebKit::scrollMessageForKey):
1504 (WebKit::WebViewWndProc):
1506 2006-03-10 Eric Seidel <eseidel@apple.com>
1510 Add scrolling support into Spinneret.
1512 * Spinneret/Spinneret/WebFrame.cpp:
1513 (WebKit::WebFrame::paint):
1514 * Spinneret/Spinneret/WebView.cpp:
1515 (WebKit::WebView::createWebView):
1516 (WebKit::calculateScrollDelta):
1517 (WebKit::scrollMessageForKey):
1518 (WebKit::WebViewWndProc):
1520 2006-03-13 Eric Seidel <eseidel@apple.com>
1524 Fix checksum generation on Intel machines.
1525 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1526 give a small speed boost now that it uses a shared buffer.
1528 * DumpRenderTree/DumpRenderTree.m:
1531 (md5HashStringForBitmap):
1532 * DumpRenderTree/ImageDiff.m:
1533 (computePercentageDifferent):
1535 2006-03-13 Darin Adler <darin@apple.com>
1537 Reviewed by Tim Hatcher.
1539 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1540 have it named httpd-1.3 instead.
1542 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1544 Fix proposed by Mitz Pettel, reviewed by Darin.
1546 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1547 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1549 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1550 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1553 2006-03-09 Darin Adler <darin@apple.com>
1555 Reviewed by John Sullivan.
1557 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1558 memory leak in the plug-in tests
1560 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1561 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1562 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1564 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1565 Moved the browser global in here since it's declared in this file's header.
1566 Changed the code to set up the pluginClass structure to not use function
1567 pointer casts. Those are dangerous because they can hide many types of mismatch.
1568 And indeed when I did this I discovered that many functions were missing their
1569 boolean return values or had parameter declarations with the wrong types.
1570 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1571 clarity. Added boolean return value: return true when successful and false when not.
1572 (pluginSetProperty): Added boolean return value, return false since we have no
1573 properties we can set.
1574 (pluginInvoke): Added boolean return value. Return true when successful and false
1575 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1576 return value from calling the browser. Changed code to put the strings in malloc
1577 buffers instead of relying on GCC's extension that allows variable-sized arrays
1579 (pluginInvokeDefault): Added boolean return value, return false since we have no
1580 default function to call.
1581 (pluginInvalidate): Added missing parameter. Removed comment.
1582 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1583 to cast the result of malloc.
1584 (pluginDeallocate): Removed uneeded cast.
1586 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1587 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1588 that match NPObject's fields. Removed unused NPWindow pointer.
1590 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1592 Test: fast/events/event-sender-mouse-click.html
1596 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1597 DRT hangs when doing eventSender.mouseDown on native widgets
1599 * DumpRenderTree/DumpRenderTree.m:
1600 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1601 (-[EventSendingController mouseClick]): Simulates a click in a native
1602 widget by queueing a mouseUp before sending the mouseDown, so that
1603 the widget's mouse tracking event loop doesn't hang indefinitely.
1605 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1609 - make link clicks work by handling link click requests
1612 * Spinneret/Spinneret/Spinneret.cpp:
1613 (updateLocationBar):
1614 * Spinneret/Spinneret/Spinneret.h:
1615 * Spinneret/Spinneret/WebFrame.cpp:
1616 (WebKit::WebFrame::WebFrame):
1617 (WebKit::WebFrame::openURL):
1618 (WebKit::WebFrame::loadURL):
1619 * Spinneret/Spinneret/WebFrame.h:
1621 2006-03-08 Eric Seidel <eseidel@apple.com>
1625 Focus URL bar on Spinneret launch, remove border from WebView.
1626 Stop WebFrame from deleting the job (prevent crash).
1628 * Spinneret/Spinneret/Spinneret.cpp:
1630 * Spinneret/Spinneret/WebFrame.cpp:
1631 (WebKit::WebFrame::receivedAllData):
1632 (WebKit::WebFrame::paint):
1633 * Spinneret/Spinneret/WebView.cpp:
1634 (WebKit::WebView::createWebView):
1636 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1640 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1641 (pluginInvoke): Added a method to test getURL.
1643 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1647 - load URLs, not file paths, in Spinneret
1649 * Spinneret/Spinneret/Spinneret.cpp:
1651 * Spinneret/Spinneret/Spinneret.vcproj:
1652 * Spinneret/Spinneret/WebFrame.cpp:
1653 (WebKit::WebFrame::loadURL):
1654 (WebKit::WebFrame::receivedData):
1655 (WebKit::WebFrame::receivedAllData):
1656 * Spinneret/Spinneret/WebFrame.h:
1657 * Spinneret/Spinneret/WebView.cpp:
1658 (WebKit::WebView::WebView):
1660 2006-03-08 Darin Adler <darin@apple.com>
1664 - fixed AppleScript layout test results to not be endian-dependent
1665 (Hyatt complained to me about this one)
1667 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1668 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1669 (which are endian-dependent).
1671 2006-03-07 Darin Adler <darin@apple.com>
1675 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1676 unwanted output while running layout tests
1678 * DumpRenderTree/DumpRenderTree.m:
1679 (checkedMalloc): Added.
1680 (checkedRealloc): Added.
1681 (makeLargeMallocFailSilently): Added.
1682 (main): Call makeLargeMallocFailSilently.
1684 2006-03-06 Darin Adler <darin@apple.com>
1686 * Scripts/do-webcore-rename: Add some more planned renaming.
1688 2006-03-06 Eric Seidel <eseidel@apple.com>
1692 * Spinneret/Spinneret/WebFrame.cpp:
1693 (WebKit::WebFrame::paint): force layout before painting
1695 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1699 Sent the windowNumber when sending events.
1700 Added leapForward so that we don't have to spend time waiting
1701 in layout tests that do mouse operations that require delays.
1703 * DumpRenderTree/DumpRenderTree.m:
1704 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1705 (+[EventSendingController webScriptNameForSelector:]):
1706 (-[EventSendingController currentEventTime]):
1707 (-[EventSendingController leapForward:]):
1708 (-[EventSendingController mouseDown]):
1709 (-[EventSendingController mouseUp]):
1710 (-[EventSendingController mouseMoveToX:Y:]):
1712 2006-03-05 Darin Adler <darin@apple.com>
1714 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1715 Script now works (after landing my two pending patches).
1717 2006-03-05 Darin Adler <darin@apple.com>
1719 - check in a script to do a "big" rename in WebCore
1720 (can be run whenever we're ready to do it)
1722 * Scripts/do-webcore-rename: Added.
1724 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1728 * Spinneret/Spinneret/WebFrame.cpp:
1729 (WebKit::WebFrame::loadFilePath): Close file when done.
1731 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1733 Reviewed by Darin, landed by ap.
1735 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1736 Mouse moved events do not work in DumpRenderTree
1738 Test: fast/events/event-sender-mouse-moved.html
1740 * DumpRenderTree/DumpRenderTree.m:
1741 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1743 2006-03-04 Eric Seidel <eseidel@apple.com>
1747 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1748 Disable background erase to avoid tearing.
1749 Fix potential memory smasher from extra long urls.
1751 * Spinneret/Spinneret/Spinneret.cpp:
1753 * Spinneret/Spinneret/Spinneret.vcproj:
1754 * Spinneret/Spinneret/WebFrame.cpp:
1755 (WebKit::WebFrame::loadFilePath):
1756 (WebKit::WebFrame::paint):
1757 * Spinneret/Spinneret/WebView.cpp:
1758 (WebKit::registerWebViewWithInstance):
1760 2006-03-04 Eric Seidel <eseidel@apple.com>
1764 Hang WebView pointer off of HWND (gets rid of global hack).
1765 Remove MessageBox displayed on url change.
1767 * Spinneret/Spinneret/Spinneret.cpp:
1770 * Spinneret/Spinneret/WebView.cpp:
1771 (WebKit::registerWebViewWithInstance):
1772 (WebKit::WebView::createWebView):
1773 (WebKit::WebViewWndProc):
1775 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
1779 Automatically kill httpd if it appears to be already running.
1781 * Scripts/run-webkit-tests:
1783 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1787 * Spinneret/Spinneret/WebFrame.cpp:
1788 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1790 2006-03-03 Eric Seidel <eseidel@apple.com>
1794 A few more fixes to make run-webkit-tests really work on win32.
1796 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1798 * Scripts/run-webkit-tests:
1800 2006-03-03 Eric Seidel <eseidel@apple.com>
1804 Make run-webkit-tests work on win32.
1806 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1808 (dumpRenderTreeMain):
1809 (dumpRenderTreeToStdOut):
1810 (serializeToStdOut):
1812 * Scripts/run-webkit-tests:
1813 * Scripts/webkitdirs.pm:
1814 * Spinneret/Spinneret/WebView.cpp:
1815 (WebKit::WebView::WebView):
1817 2006-03-03 Eric Seidel <eseidel@apple.com>
1821 Add WebFrame class (to hold Frame and FrameView).
1822 Add Location bar support to Spinneret.
1824 * Spinneret/Spinneret/Spinneret.cpp:
1829 * Spinneret/Spinneret/Spinneret.vcproj:
1830 * Spinneret/Spinneret/WebFrame.cpp: Added.
1831 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1832 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1833 (WebKit::WebFrame::WebFrame):
1834 (WebKit::WebFrame::loadFilePath):
1835 (WebKit::WebFrame::loadHTMLString):
1836 (WebKit::WebFrame::paint):
1837 (WebKit::WebFrame::impl):
1838 (WebKit::WebFrame::viewImpl):
1839 * Spinneret/Spinneret/WebFrame.h: Added.
1840 * Spinneret/Spinneret/WebView.cpp:
1841 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1842 (WebKit::WebView::WebView):
1843 (WebKit::WebView::windowHandle):
1844 (WebKit::WebView::mainFrame):
1845 (WebKit::WebView::mouseMoved):
1846 (WebKit::WebView::mouseDown):
1847 (WebKit::WebView::mouseUp):
1848 (WebKit::WebView::mouseDoubleClick):
1849 (WebKit::WebViewWndProc):
1850 * Spinneret/Spinneret/WebView.h:
1852 2006-03-02 Eric Seidel <eseidel@apple.com>
1856 * Spinneret/Spinneret/WebView.cpp:
1857 (WebKit::registerWebViewWithInstance):
1858 (WebKit::WebView::WebView):
1859 (WebKit::WebView::mouseMoved):
1860 (WebKit::WebView::mouseDown):
1861 (WebKit::WebView::mouseUp):
1862 (WebKit::WebView::mouseDoubleClick):
1863 (WebKit::WebViewWndProc):
1864 * Spinneret/Spinneret/WebView.h:
1866 2006-03-01 Eric Seidel <eseidel@apple.com>
1868 Reviewed by andersca.
1870 Make spinneret take advantage of the new GraphicsContextCairo.
1872 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1873 (main): updated to match style guidelines.
1874 * Spinneret/Spinneret/Spinneret.cpp:
1876 * Spinneret/Spinneret/WebView.cpp:
1877 (WebKit::registerWebViewWithInstance):
1878 (WebKit::WebView::WebView):
1879 (WebKit::WebView::~WebView):
1880 (WebKit::WebView::drawRect):
1882 * Spinneret/Spinneret/WebView.h:
1884 2006-03-01 Justin Garcia <justin.garcia@apple.com>
1888 Give the events that eventSender sends a unique eventNumber
1890 * DumpRenderTree/DumpRenderTree.m:
1891 (-[EventSendingController mouseDown]):
1892 (-[EventSendingController mouseUp]):
1893 (-[EventSendingController mouseMoveToX:Y:]):
1895 2006-03-01 Eric Seidel <eseidel@apple.com>
1899 Add a stub win32 application to test WebCore drawing on windows.
1902 * Spinneret/Spinneret: Added.
1903 * Spinneret/Spinneret.sln: Added.
1904 * Spinneret/Spinneret/Resource.h: Added.
1905 * Spinneret/Spinneret/Spinneret.cpp: Added.
1911 * Spinneret/Spinneret/Spinneret.h: Added.
1912 * Spinneret/Spinneret/Spinneret.ico: Added.
1913 * Spinneret/Spinneret/Spinneret.rc: Added.
1914 * Spinneret/Spinneret/Spinneret.vcproj: Added.
1915 * Spinneret/Spinneret/WebView.cpp: Added.
1916 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1917 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1918 (WebKit::registerWebViewWithInstance):
1919 (WebKit::WebView::createWebView):
1920 (WebKit::WebView::WebView):
1921 (WebKit::WebView::~WebView):
1922 (WebKit::WebView::drawRect):
1923 (WebKit::WebView::windowHandle):
1925 * Spinneret/Spinneret/WebView.h: Added.
1926 * Spinneret/Spinneret/small.ico: Added.
1927 * Spinneret/Spinneret/stdafx.cpp: Added.
1928 * Spinneret/Spinneret/stdafx.h: Added.
1930 2006-02-28 Eric Seidel <eseidel@apple.com>
1934 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1935 (main): add ability to dump render tree and read from a local file.
1937 2006-02-27 Eric Seidel <eseidel@apple.com>
1941 * Scripts/install-win-extras: fix dll permissions & download zlib too.
1943 2006-02-27 Eric Seidel <eseidel@apple.com>
1947 Test new KConfig -> PlugInInfoStore change.
1948 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1950 * DumpRenderTree/DumpRenderTree.m:
1951 (main): load test netscape plugin
1952 * Scripts/run-webkit-tests: style update
1954 2006-02-24 Eric Seidel <eseidel@apple.com>
1958 Make DumpRenderTree link against icu.
1960 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1962 2006-02-24 Eric Seidel <eseidel@apple.com>
1966 Make DumpRenderTree link against libxml, etc.
1968 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1970 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1972 Reviewed and landed by Anders.
1974 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1975 getting called from the run loop, making the view render each test and thus slowing
1978 * DumpRenderTree/DumpRenderTree.m:
1979 (main): Set the offscreen window to not autodisplay.
1981 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1985 - Turn http tests back on by default.
1986 - Wait for Apache to actually start serving requests.
1987 - Get user id from a built-in variable rather than an external command;
1988 don't pass the group.
1990 * Scripts/run-webkit-tests:
1992 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1994 Suggested by Mitz Pettel, reviewed by Darin.
1996 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1997 can run CGIs even if the permissions are 700 or 600.
1999 2006-02-23 Darin Adler <darin@apple.com>
2001 Collaborating with Alexey.
2003 - turn off http tests by default until we figure out how to get them
2004 to run even when permissions on CGI files are 700 instead of 755
2006 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2008 2006-02-23 Eric Seidel <eseidel@apple.com>
2010 Add *.user to ignore list.
2012 2006-02-23 Eric Seidel <eseidel@apple.com>
2014 Remove binary file which shouldn't have been commited (and add to ignore list).
2016 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2017 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2019 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2023 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2025 2006-02-22 Eric Seidel <eseidel@apple.com>
2027 Reviewed by Tim Hatcher.
2029 Fix install-win-extras to not try to re-install setx if installed.
2031 * Scripts/install-win-extras:
2033 2006-02-22 Eric Seidel <eseidel@apple.com>
2035 One more file possibly missing from previous commit?
2037 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2038 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2040 2006-02-22 Eric Seidel <eseidel@apple.com>
2042 Reviewed by justing.
2044 Files missing from previous commit.
2046 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2047 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2049 2006-02-22 Eric Seidel <eseidel@apple.com>
2051 Rubber-stamped by justing.
2053 Corrected path for DumpRenderTree.intermediate files
2055 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2057 2006-02-22 Eric Seidel <eseidel@apple.com>
2059 Reviewed by justing.
2061 Fixed build-dumprendertree to exit with correct error codes.
2063 * Scripts/build-dumprendertree:
2065 2006-02-22 Eric Seidel <eseidel@apple.com>
2067 Reviewed by justing.
2069 Update build scripts to generalize building on Win32, and allow
2070 building of DumpRenderTree on Win32 from build-dumprendertree.
2072 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2074 * Scripts/build-dumprendertree:
2075 * Scripts/build-webkit:
2076 * Scripts/webkitdirs.pm:
2078 2006-02-22 Eric Seidel <eseidel@apple.com>
2082 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2083 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2084 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2085 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2086 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2087 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2089 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2090 * Scripts/build-webkit: make build-webkit cleanup after itself
2092 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2096 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2097 Some minor fixes to http tests.
2099 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2101 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2105 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2106 Would like to use locally installed Apache for testing.
2108 Added two run-webkit-tests options:
2109 --http (--nohttp) - whether to launch Apache (defaults to yes);
2110 --port - which port to listen on (defaults to 8000).
2112 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2113 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2114 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2116 Also added support for .shtml and .text files. Text files give an empty
2117 *-expected.txt, but a correct image.
2119 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2121 * Scripts/run-webkit-tests:
2123 2006-02-21 Darin Adler <darin@apple.com>
2125 Suggested by Mark Rowe.
2127 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2128 reporting leak counts.
2130 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2134 - Added install-win-extras script which installs some extra
2135 programs and libraries, and does Windows first-time setup.
2137 * Scripts/build-webkit: Add a newline between build results.
2138 * Scripts/install-win-extras: Added.
2140 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2144 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2145 DumpRenderTree should be able to load files via HTTP
2147 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2148 Handle tests starting with "http://" as real URLs, not file system paths.
2150 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2154 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2155 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2157 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2159 2006-02-18 Darin Adler <darin@apple.com>
2161 * Scripts/commit-log-editor: Added.
2163 2006-02-17 Eric Seidel <eseidel@apple.com>
2167 Make Win32 have the same default "WebKitBuild" directory behavior.
2169 * Scripts/build-webkit:
2170 * Scripts/webkitdirs.pm:
2172 2006-02-17 Eric Seidel <eseidel@apple.com>
2176 * Scripts/build-webkit: make win32 actually report errors
2178 2006-02-17 Eric Seidel <eseidel@apple.com>
2182 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2184 2006-02-17 Eric Seidel <eseidel@apple.com>
2188 * Scripts/run-webkit-tests: Ignore flash leaks
2190 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2194 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2195 Add drag and drop support to DumpRenderTree
2197 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2198 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2200 * DumpRenderTree/DumpRenderTree.m:
2202 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2203 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2204 (-[WaitUntilDoneDelegate webViewFocus:]):
2205 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2206 (+[LayoutTestController webScriptNameForSelector:]):
2207 (-[LayoutTestController setWindowIsKey:]):
2208 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2209 (-[EventSendingController init]):
2210 (-[EventSendingController mouseDown]):
2211 (-[EventSendingController mouseUp]):
2212 (-[EventSendingController mouseMoveToX:Y:]):
2214 (-[DumpRenderTreeWindow isKeyWindow]):
2215 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2216 (-[DumpRenderTreeDraggingInfo dealloc]):
2217 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2218 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2219 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2220 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2221 (-[DumpRenderTreeDraggingInfo draggedImage]):
2222 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2223 (-[DumpRenderTreeDraggingInfo draggingSource]):
2224 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2225 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2226 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2227 * DumpRenderTree/TextInputController.m:
2228 (-[TextInputController firstRectForCharactersFrom:length:]):
2229 (-[TextInputController characterIndexForPointX:Y:]):
2231 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2235 * DumpRenderTree/DumpRenderTree.m:
2236 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2237 Added a dummy method for the sake of LayoutTests/plugins/
2238 undefined-property-crash.html. (It tests a crash due to fallback
2239 object use. WebCore won't create a fallback object if the method is
2242 2006-02-14 Eric Seidel <eseidel@apple.com>
2246 * Scripts/run-webkit-tests: added --results-directory (-o) option
2248 2006-02-09 Eric Seidel <eseidel@apple.com>
2250 Rubber-stamped by mjs.
2252 Renamed split-class to split-file-by-class.
2254 * Scripts/build-webkit: Updated copyright.
2255 * Scripts/split-class: Removed.
2256 * Scripts/split-file-by-class: Added.
2258 2006-02-08 Eric Seidel <eseidel@apple.com>
2260 Rubber-stamped by mjs.
2262 Adding new script for splitting multi-class files.
2263 Also adding supporting perl module with space removing heuristics.
2265 * Scripts/SpacingHeuristics.pm: Added.
2266 * Scripts/build-drawtest: updated copyright header
2267 * Scripts/split-class: Added.
2269 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2271 Reviewed by thatcher
2273 Changes to test fix for:
2274 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2275 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2277 * DumpRenderTree/DumpRenderTree.m:
2278 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2279 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2280 (+[LayoutTestController webScriptNameForSelector:]):
2281 (-[LayoutTestController setWindowHasFocus:]):
2282 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2284 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2286 Reviewed by Timothy.
2288 Support automated testing of AppleScript "do JavaScript" command
2289 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2291 * DumpRenderTree/AppleScriptController.h: Added.
2292 * DumpRenderTree/AppleScriptController.m: Added.
2293 * DumpRenderTree/DumpRenderTree.m:
2294 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2295 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2297 2006-02-06 Eric Seidel <eseidel@apple.com>
2301 Fix build-webkit for use on win32 (unblocks buildbot usage).
2302 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2304 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2305 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2307 2006-02-06 Eric Seidel <eseidel@apple.com>
2309 Rubber-stamped by darin & mjs.
2311 Added new support directory for build slave scripts.
2312 Committing the first script, for use by the PLT's build slave.
2313 This script is used to kick of the PLT (Page Load Test) slave.
2315 * BuildSlaveSupport: Added.
2316 * BuildSlaveSupport/run-performance-tests: Added.
2318 2006-02-06 Eric Seidel <eseidel@apple.com>
2320 Rubber-stamped by darin.
2322 Adding setSourceDir for scripts stored in non-standard locations.
2324 * Scripts/webkitdirs.pm:
2326 2006-02-04 Darin Adler <darin@apple.com>
2328 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2329 Configuration files that say Development or Deployment in them.
2331 2006-02-04 Darin Adler <darin@apple.com>
2333 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2334 wrapper already in the directory.
2335 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2336 these haven't been working at all.
2337 * Scripts/svn-unapply: Ditto.
2339 2006-02-03 Timothy Hatcher <timothy@apple.com>
2343 Renamed configuration names to Debug, Release and Production.
2345 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2346 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2347 * Scripts/set-webkit-configuration:
2348 * Scripts/webkitdirs.pm:
2350 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2352 Reviewed by thatcher
2354 Enabled spell checking for layout tests.
2356 * DumpRenderTree/DumpRenderTree.m:
2359 2006-01-29 Darin Adler <darin@apple.com>
2361 * Scripts/svn-apply: Added comments about things we should do to improve.
2362 * Scripts/svn-create-patch: Ditto.
2363 * Scripts/svn-unapply: Ditto.
2365 2006-01-28 Darin Adler <darin@apple.com>
2367 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2368 already there, even if the checksum is correct.
2370 2006-01-27 Eric Seidel <eseidel@apple.com>
2374 * Scripts/run-webkit-tests: make new tests use absolute urls
2376 2006-01-27 Eric Seidel <eseidel@apple.com>
2380 make run-webkit-tests output total leaks count
2382 * Scripts/run-webkit-tests:
2384 2006-01-27 Eric Seidel <eseidel@apple.com>
2388 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2389 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2391 * Scripts/run-webkit-tests: fix --leaks to not crash
2393 2006-01-26 Eric Seidel <eseidel@apple.com>
2397 run-webkit-tests should produce a self-contained results directory
2398 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2400 * Scripts/run-webkit-tests: copy failing items to results dir.
2402 2006-01-23 Darin Adler <darin@apple.com>
2404 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2405 need script to update localizable strings file in WebKit
2407 * Scripts/update-webkit-localizable-strings: Added.
2409 2006-01-23 Darin Adler <darin@apple.com>
2411 - added a couple of scripts -- more about these two soon
2413 * Scripts/extract-localizable-strings: Added.
2414 * Scripts/merge-changelog: Added.
2416 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2420 Build fix. build-webkit dies with "invalid build action: (empty string)"
2422 * Scripts/build-webkit:
2423 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2425 2006-01-22 Eric Seidel <eseidel@apple.com>
2429 Fix --no-svg option to use XCode flags instead of gcc flags.
2431 * Scripts/build-webkit:
2433 2006-01-22 Eric Seidel <eseidel@apple.com>
2437 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2439 * Scripts/build-webkit:
2441 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2443 Reviewed by eseidel.
2445 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2446 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2448 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2449 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2451 2006-01-19 Darin Adler <darin@apple.com>
2453 * Scripts/report-include-statistics: Added a new script.
2455 2006-01-19 Timothy Hatcher <timothy@apple.com>
2457 * Scripts/build-webkit: include JavaScriptGlue in the build
2459 2006-01-19 Darin Adler <darin@apple.com>
2461 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2462 spaces in it by using the form of open that treats each argument as a string
2463 rather than backtick syntax for reading the output of the nm tool.
2465 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2469 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2470 detect if there are any new tests
2472 * Scripts/prepare-ChangeLog:
2474 2006-01-12 Darin Adler <darin@apple.com>
2476 - removed some of the cvs-specific scripts -- not needed for this project any more
2478 * Scripts/cvs-abandon: Removed.
2479 * Scripts/cvs-apply: Removed.
2480 * Scripts/cvs-create-patch: Removed.
2481 * Scripts/cvs-unapply: Removed.
2483 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2485 Reviewed by eseidel. Committed by eseidel.
2487 - run-webkit-tests always launches Safari when tests fail
2488 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2490 * Scripts/run-webkit-tests:
2491 Add a command-line flag to prevent Safari being launched to display failed
2492 tests. Always exit with non-zero status when tests have failed.
2494 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2496 Reviewed by eseidel. Committed by eseidel.
2498 - build-webkit should exit with non-zero status when build fails
2499 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2501 * Scripts/build-webkit:
2502 Use correct bits of subprocess exit code when passing back through
2503 as build-webkit's exit code.
2505 2006-01-10 Eric Seidel <eseidel@apple.com>
2507 Restored corrupted nibs from TOT CVS.
2509 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2510 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2511 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2512 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2513 * DrawTest/English.lproj/Inspector.nib: Replaced.
2514 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2515 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2516 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2517 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2518 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2519 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2520 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2521 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2522 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2523 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2524 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2526 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2528 Reviewed by eseidel. Committed by eseidel.
2530 DrawTestView now subclasses WebView instead of DrawView.
2532 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2533 * DrawTest/DrawTestDocument.h:
2534 * DrawTest/DrawTestDocument.m:
2535 (-[DrawTestDocument dealloc]):
2536 (-[DrawTestDocument readFromFile:ofType:]):
2537 (-[DrawTestDocument windowControllerDidLoadNib:]):
2538 (-[DrawTestDocument dumpSVGToConsole:]):
2539 (-[DrawTestDocument openSourceForSelection:]):
2540 (-[DrawTestDocument dataRepresentationOfType:]):
2541 * DrawTest/DrawTestToolbarController.h:
2542 * DrawTest/DrawTestToolbarController.m:
2543 (-[DrawTestToolbarController initWithDrawView:]):
2544 (-[DrawTestToolbarController clickedToolbarItem:]):
2545 (-[DrawTestToolbarController validateToolbarItem:]):
2546 * DrawTest/DrawTestView.h:
2547 * DrawTest/DrawTestView.m:
2548 (-[DrawTestView initWithFrame:]):
2549 (-[DrawTestView setDocument:]):
2550 * DrawTest/SVGTest.h:
2551 * DrawTest/SVGTest.m:
2552 (+[SVGTest sharedDrawView]):
2553 (-[SVGTest generateCompositeIfNecessary]):
2554 * DrawTest/TestController.h:
2555 * DrawTest/TestController.m:
2556 (-[TestController awakeFromNib]):
2557 (-[TestController setSelectedTest:]):
2558 (-[TestController openTestViewerForSelection:]):
2559 (-[TestController toggleViewersScaleRule:]):
2560 * DrawTest/TestViewerSplitView.m:
2561 (-[TestViewerSplitView drawRect:]):
2563 2006-01-10 Anders Carlsson <andersca@mac.com>
2565 Reviewed by Timothy.
2567 * DumpRenderTree/DumpRenderTree.m:
2568 (main): Set the default language to "en", so language tests will work.
2570 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2574 - script to generate HTML wrappers for JS tests
2575 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2577 * Scripts/make-js-test-wrappers: Added.
2579 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2583 * Scripts/svn-create-patch: Fix to work when passed directory names.
2585 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2589 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2590 can start writing automated loader tests now. I have one in the works.
2592 * DumpRenderTree/DumpRenderTree.m:
2593 (main): Construct global navigationController on entry, destroy on exit.
2594 Set frame to nil on exit too, to match all the other global objects.
2595 (Probably academic, since the process is exiting, anyway.)
2596 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2597 navigationController, in case it wants to kick off a load.
2598 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2599 the navigationController to scripting.
2601 New class, should be straightforward:
2603 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2604 * DumpRenderTree/NavigationController.h: Added.
2605 * DumpRenderTree/NavigationController.m: Added.
2607 (+[NavigationController isSelectorExcludedFromWebScript:]):
2608 (+[NavigationController webScriptNameForSelector:]):
2609 (-[NavigationController setPendingScript:]):
2610 (-[NavigationController setPendingRequest:]):
2611 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2612 (-[NavigationController webView:didFinishLoadForFrame:]):
2613 (-[NavigationController dealloc]):
2615 2006-01-08 Timothy Hatcher <timothy@apple.com>
2617 Removed this script, no longer needs with the Subversion switch.
2619 * checkout: Removed.
2621 2006-01-08 Timothy Hatcher <timothy@apple.com>
2623 Removes some stray tabs.
2625 * Scripts/update-webkit:
2627 2005-01-07 Eric Seidel <eseidel@apple.com>
2631 build-webkit should pass on build arguments from command line
2632 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2634 * Scripts/build-webkit:
2636 2006-01-07 Eric Seidel <eseidel@apple.com>
2638 Reviewed by mjs & xenon.
2640 * Scripts/update-webkit: support Internal updates as well
2642 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2644 Temporarily rolling out plugin support from DumpRenderTree because it
2645 caused lots of layout test regressions.
2647 * DumpRenderTree/DumpRenderTree.m:
2648 (main): Remove invisible window added to support plugins.
2650 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2654 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2655 Add plugin support to DumpRenderTree
2657 Also wrote first test plugin.
2659 * DumpRenderTree/DumpRenderTree.m:
2661 (1) Put the WebView in an invisible window, because PlugIns are
2662 optimized not to load if there's no parent window.
2663 (2) Tell WebKit to load any PlugIns in the directory from which we
2664 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2665 and they'll load automagically during layout testing, but they won't be
2666 added to the user's system, hosing apps like Safari.
2668 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2669 test PlugIn to project.
2671 PlugIn added to project:
2673 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2674 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2676 (initializeIdentifiers):
2677 (pluginHasProperty):
2679 (pluginGetProperty):
2680 (pluginSetProperty):
2682 (pluginInvokeDefault):
2686 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2687 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2689 (NP_GetEntryPoints):
2695 (NPP_DestroyStream):
2705 2006-01-04 Timothy Hatcher <timothy@apple.com>
2709 Tweaked and tested by me.
2711 New scripts to work with Subversion when the switch happens.
2712 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2714 * Scripts/svn-apply: Added.
2715 * Scripts/svn-create-patch: Added.
2716 * Scripts/svn-unapply: Added.
2718 2005-12-30 Eric Seidel <eseidel@apple.com>
2722 Move WebView width/height logic into DumpRenderTree to support
2723 running the W3C SVG 1.1 tests along side other tests. The W3C
2724 SVG 1.1 tests require a 480x360 view.
2726 * DumpRenderTree/DumpRenderTree.m:
2727 (main): don't accept width/height
2728 (dump): override width/height for SVG/W3C
2729 * Scripts/run-webkit-tests: don't pass width/height
2731 2005-12-30 Eric Seidel <eseidel@apple.com>
2733 No review, only removing dead code.
2735 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2736 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2738 2005-12-30 Eric Seidel <eseidel@apple.com>
2742 DumpRenderTree should set a consistent color profile while running
2743 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2745 Creates consistent colormatched renderings on every test machine
2746 using the only way possible with Tiger APIs: by setting the
2747 system color profile on the test machine for the duration of the
2748 tests. This will (unfortunately) cause colors to change while
2749 running DumpRenderTree. This can also cause "permanent" color
2750 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2751 This is far from ideal, but it's be best way we've found to deal
2752 with the issue for now.
2754 * DumpRenderTree/DumpRenderTree.m:
2755 (restoreColorSpace):
2756 (setDefaultColorProfileToRGB):
2759 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2761 Reviewed by Darin Adler.
2763 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2764 cvs-create-patch --include produces incorrect paths
2766 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2768 2005-12-19 Eric Seidel <eseidel@apple.com>
2772 * Scripts/run-webkit-tests: stop /etc/catalog warnings
2774 2005-12-19 Darin Adler <darin@apple.com>
2776 Reviewed by Eric Seidel.
2778 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2779 WebKit needs to use a local pasteboard during testing
2781 * DumpRenderTree/DumpRenderTree.m:
2782 (main): Call poseAs to substitute our NSPasteboard class for the default one.
2783 Create a local pasteboard (really a global one with a unique name) and release
2784 it when exiting from the function so we don't leave it in the pasteboard server.
2785 (dumpRenderTree): Added an autorelease pool around one small bit of code that
2786 ddn't have one. Fixed a leak in an unlikely error case.
2787 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2788 of this method to return our local pasteboard.
2790 2005-12-15 Eric Seidel <eseidel@apple.com>
2792 Reviewed by Tim Hatcher.
2794 * Scripts/build-webkit: --svg is now default!
2796 2005-12-15 Eric Seidel <eseidel@apple.com>
2800 Don't run svg test automatically if +SVG is built (yet).
2802 * Scripts/run-webkit-tests:
2804 2005-12-15 Darin Adler <darin@apple.com>
2806 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2807 support is not compiled in. Report the 10 slowest tests if "--slowest" is
2808 passed on the command line.
2810 2005-12-06 John Sullivan <sullivan@apple.com>
2812 Reviewed by Darin Adler.
2814 * Scripts/prepare-ChangeLog:
2815 Remove special-case handling for nib files. This avoided trouble with cvs diff
2816 when we were using wrappers for nib files. Now that we aren't using wrappers,
2817 there's no reason to avoid adding the modified nib files to the file list that
2820 2005-12-05 Eric Seidel <eseidel@apple.com>
2824 Script updates for SVG files move (remove references to SVGSupport)
2826 * Scripts/build-webkit: remove SVGSupport
2827 * Scripts/run-webkit-tests: Resources -> resources for --svg
2828 * Scripts/update-webkit: remove SVGSupport
2830 2005-12-05 Eric Seidel <eseidel@apple.com>
2834 * checkout: remove --svg support, SVG is now checked out by default
2836 2005-11-29 Eric Seidel <eseidel@apple.com>
2840 Update scripts to run SVG tests automatically (w/o --svg) if
2841 WebCore is built with SVG support.
2843 * Scripts/build-drawtest: SVG support required
2844 * Scripts/build-dumpkcanvastree: Removed.
2845 * Scripts/run-drawtest: SVG support required to run
2846 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2847 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2849 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
2851 Reviewed by Darin. Committed by Maciej.
2853 - fixed "DumpRenderTree should test for Ahem before doing anything else"
2854 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2856 * DumpRenderTree/DumpRenderTree.m:
2859 2005-11-28 Eric Seidel <eseidel@apple.com>
2861 Reviewed by sullivan and GGAREN.
2863 Minor additions to make error messages more clear from cvs-apply.
2865 * Scripts/cvs-apply: make errors more clear
2867 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2869 Reviewed and committed by Maciej.
2871 - fixed cvs-create-patch --include produces incorrect paths
2872 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2874 * Scripts/cvs-create-patch: produce proper paths for new files.
2876 2005-11-21 Eric Seidel <eseidel@apple.com>
2880 Some simple fixes to the build/test scripts now that SVG uses the
2881 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
2882 or symlinks for KDOM.
2884 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2885 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2886 * Scripts/run-webkit-tests: now runs SVG tests using DRT
2887 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
2888 * checkout: no longer symlink kdom
2890 2005-11-10 Eric Seidel <eseidel@apple.com>
2894 * Scripts/build-webkit: Pass through options to xcodebuild
2896 2005-11-07 Darin Adler <darin@apple.com>
2898 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2900 2005-11-03 John Sullivan <sullivan@apple.com>
2904 * Scripts/run-safari:
2905 changed message to say "Starting Safari" instead of odd "Start Safari"
2906 * Scripts/run-webkit-tests:
2907 changed the way we pass the file parameter to use -NSOpen rather than relying on
2908 unlabeled arguments being treated as files. This was failing on some machines that
2909 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2911 2005-10-27 Geoffrey Garen <ggaren@apple.com>
2913 Patch by Alexey Proskuryakov.
2917 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2918 TextInputController should support attributed strings
2920 * DumpRenderTree/TextInputController.m:
2921 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2922 (+[NSMutableAttributedString webScriptNameForSelector:]):
2923 (-[NSMutableAttributedString getLength]):
2924 (-[NSMutableAttributedString attributeNamesAtIndex:]):
2925 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2926 (-[NSMutableAttributedString addAttribute:value:]):
2927 (-[NSMutableAttributedString addAttribute:value:from:length:]):
2928 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2929 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2930 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2931 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2932 (+[TextInputController isSelectorExcludedFromWebScript:]):
2933 (+[TextInputController webScriptNameForSelector:]):
2934 (-[TextInputController insertText:]):
2935 (-[TextInputController attributedSubstringFrom:length:]):
2936 (-[TextInputController attributedStringWithString:]):
2938 2005-10-11 Eric Seidel <eseidel@apple.com>
2942 Checks for leaks in ImageDiff too.
2944 * Scripts/run-webkit-tests:
2946 2005-10-09 Darin Adler <darin@apple.com>
2948 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2949 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2950 * Scripts/cvs-unapply: Ditto.
2951 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2953 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
2955 Reviewed, rearranged and landed by Darin.
2957 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2958 Need a way to automatically test for regressions in NSTextInput implementation
2960 * DumpRenderTree/DumpRenderTree.m:
2961 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2962 Create a text input controller and put it in a property of the window object.
2964 * DumpRenderTree/TextInputController.h: Added.
2965 * DumpRenderTree/TextInputController.m: Added.
2966 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2968 2005-10-06 Darin Adler <darin@apple.com>
2970 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2971 are controlled by cvs, or when changes cross multiple repositories.
2972 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2974 2005-10-03 Eric Seidel <eseidel@apple.com>
2978 Make mouseDown and mouseUp force layout before acting.
2979 This is used by a new test case for 4233558.
2981 * DumpRenderTree/DumpRenderTree.m:
2982 (-[EventSendingController mouseDown]): force layout
2983 (-[EventSendingController mouseUp]): force layout
2985 2005-09-30 Eric Seidel <eseidel@apple.com>
2989 Updated all the scripts for the move:
2990 WebCore/layout-tests -> LayoutTests
2992 * Scripts/check-dom-results:
2993 * Scripts/prepare-ChangeLog:
2994 * Scripts/run-webkit-tests:
2995 * Scripts/update-webkit: added --no-tests
2996 * checkout: added --no-tests
2998 2005-09-28 Darin Adler <darin@apple.com>
3000 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3001 pixel test should run even if render trees differ
3003 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3005 2005-09-27 Eric Seidel <eseidel@apple.com>
3007 No review needed, SVG build fix only.
3009 * DumpKCanvasTree/DumpKCanvasTree.m:
3010 Missed one in my previous checkin.
3011 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3013 2005-09-26 Eric Seidel <eseidel@apple.com>
3015 No review needed, SVG build fix only.
3017 * DrawTest/DrawTestDocument.m:
3018 * DrawTest/DrawTestToolbarController.m:
3019 * DrawTest/DrawTestView.h:
3020 * DrawTest/DrawTestView.m:
3021 * DrawTest/SVGTest.m:
3022 * DrawTest/TestController.m:
3023 Updated for WebCore+SVG -> WebCore rename.
3024 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3026 2005-09-26 Eric Seidel <eseidel@apple.com>
3030 * DumpRenderTree/DumpRenderTree.m:
3031 (dump): updated error message
3032 * Scripts/check-dom-results: now includes xhtml
3033 Tool updates for xhtml.
3034 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3036 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3041 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3042 "Would like to simulate human interaction with webview"
3044 * DumpRenderTree/DumpRenderTree.m:
3045 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3046 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3047 (+[EventSendingController webScriptNameForSelector:]):
3048 (-[EventSendingController init]):
3049 (-[EventSendingController mouseDown]):
3050 (-[EventSendingController mouseUp]):
3051 (-[EventSendingController mouseMoveToX:Y:]):
3052 Add eventSender javascript object, that sends fake mouse events to the webview.
3054 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3055 link with Carbon.framework
3057 2005-09-22 Eric Seidel <eseidel@apple.com>
3061 Update tools for WebCore+SVG -> WebCore rename.
3062 Also fold several SVG specific tools into their original
3063 WebCore counterparts.
3064 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3066 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3067 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3068 * Scripts/build-drawtest:
3069 * Scripts/build-dumpkcanvastree:
3070 * Scripts/build-webcore-svg: Removed.
3071 * Scripts/build-webkit: added --svg option
3072 * Scripts/run-drawtest:
3073 * Scripts/run-webkit-tests:
3074 * Scripts/webkitdirs.pm: various additions.
3075 * checkout: added --svg option
3076 * checkout-svg: Removed.
3078 2005-09-19 Eric Seidel <eseidel@apple.com>
3082 * Scripts/run-webkit-tests: added --guard-malloc option
3083 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3085 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3089 Removed a script that is only used by apple internal developers
3091 * Scripts/update-webkitsysteminterface: Removed.
3093 2005-09-16 Adele Peterson <adele@apple.com>
3097 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3099 2005-09-14 Darin Adler <darin@apple.com>
3101 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3102 dumpAsText doesn't work with XHTML documents
3104 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3105 rather than of the body element. This works with typical XHTML documents. We can probably
3106 do something even better in the long run, but this fixes the immediate issue.
3110 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3111 run-safari instead of just using "open", which often runs another copy of Safari instead.
3113 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3115 Reviewed, tweaked, and landed by Darin.
3117 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3118 .Mac prefpane crashes when Safari using CVS WebKit is running
3120 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3121 * Scripts/run-webkit-app: Ditto.
3123 2005-09-11 Darin Adler <darin@apple.com>
3125 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3127 2005-09-11 Darin Adler <darin@apple.com>
3131 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3132 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3133 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3136 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3140 * Scripts/update-webkitsysteminterface: Added.
3141 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3143 2005-09-01 John Sullivan <sullivan@apple.com>
3145 * Scripts/run-webkit-tests:
3146 Excluded a known system leak to reduce noise; added comments about which leaks
3149 2005-09-01 Tim Omernick <tomernick@apple.com>
3151 Change made by Darin, reviewed by John and myself.
3153 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3155 * Scripts/prepare-ChangeLog:
3157 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3161 - set color variant and font settings to a consistent value.
3162 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3164 * DumpRenderTree/DumpRenderTree.m:
3167 2005-08-30 Eric Seidel <eseidel@apple.com>
3171 * Scripts/build-svg2png: Removed.
3172 * svg2png/ImageDiff.h: Removed.
3173 * svg2png/ImageDiff.m: Removed.
3174 * svg2png/svg2png.m: Removed.
3175 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3176 * svg2png/svg2png_Prefix.pch: Removed.
3177 svg2png is no longer needed.
3179 2005-08-30 Darin Adler <darin@apple.com>
3181 * Scripts/check-dom-results: Special case 100% to say something nice.
3182 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3183 applying the patch (need a better name).
3184 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3186 2005-08-30 Darin Adler <darin@apple.com>
3188 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3190 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3194 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3195 (some pixel tests fail when AA settings are changed)
3197 * DumpRenderTree/DumpRenderTree.m:
3198 (main): set AA settings to the default values
3200 2005-08-29 Darin Adler <darin@apple.com>
3202 Reviewed by John Sullivan.
3204 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3205 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3208 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3212 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3213 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3215 * DumpRenderTree/DumpRenderTree.m:
3216 (main): set scrollbar arrow setting to a consistent value
3218 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3220 Reviewed and landed by Darin.
3222 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3223 output of update-webkit is too verbose
3225 * Scripts/update-webkit:
3226 Added option --quiet (-q) to decrease the amount of output.
3228 2005-08-27 Darin Adler <darin@apple.com>
3230 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3231 cvs-create-patch --include-unknowns should ignore hidden files
3233 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3235 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3237 Reviewed, tweaked, and landed by Darin.
3239 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3240 update-webkit doesn't notice when you have SVGSupport and update properly
3242 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3244 2005-08-25 Anders Carlsson <andersca@mac.com>
3246 Reviewed and landed by Darin.
3248 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3249 layout test machinery can't handle tests with applets that have code attributes
3251 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3253 2005-08-24 Darin Adler <darin@apple.com>
3257 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3258 DumpRenderTree --pixel-tests crash
3259 - landed some other small changes I had sitting in my tree
3261 * DumpRenderTree/DumpRenderTree.m:
3262 (main): Don't bother saving and restoring the preferences. Not sure
3263 why this was ever done since the preferences are specific to DumpRenderTree.
3264 Clear delegates before releasing the WebView, because you can't count on the
3265 order of object deallocation.
3266 (dumpRenderTree): Fix code that releases a string before storing it in a
3269 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3270 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3272 2005-08-23 Eric Seidel <eseidel@apple.com>
3276 * Scripts/run-webkit-tests:
3277 Made --leaks option more readable by printing to a file.
3278 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3280 2005-08-22 Eric Seidel <eseidel@apple.com>
3281 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3285 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3286 when they are not needed (for pixel-only failures)
3287 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3289 2005-08-22 Eric Seidel <eseidel@apple.com>
3293 * Scripts/run-webkit-tests: Added the ability to display more than
3294 just two images as part of the image-diff "slideshow".
3295 Added display of "-w3c.png" baseline images for SVG.
3296 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3298 2005-08-20 Eric Seidel <eseidel@apple.com>
3300 * Scripts/run-webkit-tests:
3301 "build" fix after committing incorrect version.
3303 2005-08-20 Eric Seidel <eseidel@apple.com>
3307 * DumpRenderTree/DumpRenderTree.m:
3308 (main): cleans up delegates
3309 (dumpRenderTree): closes CFString/CFURL leak
3310 * Scripts/run-webkit-tests:
3311 Adds --leaks option to run-webkit-tests
3312 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3314 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3318 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3319 new files to be included in the patch even without "cvs add".
3321 2005-08-19 Darin Adler <darin@apple.com>
3323 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3324 non-cvs-generated patches. Anders has been creating these, so it's bad that
3325 the script can't handle them.
3326 * Scripts/cvs-unapply: Ditto.
3328 2005-08-18 Darin Adler <darin@apple.com>
3330 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3331 "." in them -- based on complaint by someone here at Apple.
3333 2005-08-18 Eric Seidel <eseidel@apple.com>
3337 * Scripts/run-webkit-tests:
3338 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3340 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3342 - add file that I forgot in the last checkin
3344 * DumpRenderTree/ImageDiff.m: Added.
3346 (getImageFromStdin):
3348 (getDifferenceBitmap):
3349 (computePercentageDifferent):
3351 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3353 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3354 somewhat by me, and also tweaked by me a little bit.
3356 - better support for pixel-dumping
3357 - use checksums of the images so the tests are fast
3358 - change output format to make the tests run faster
3359 - don't dump pixel results for tests that dump as text
3361 * DumpKCanvasTree/DumpKCanvasTree.m:
3364 (md5HashStringForBitmap):
3366 (constrainSizeToMaximum):
3367 (getBitmapImageRepForSVGDocument):
3368 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3369 * DumpRenderTree/DumpRenderTree.m:
3373 (md5HashStringForBitmap):
3374 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3375 * Scripts/run-webkit-tests:
3377 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3381 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3383 * DumpRenderTree/DumpRenderTree.m:
3386 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3388 Reviewed and landed by Darin.
3390 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3391 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3393 * Scripts/run-safari: Pass arguments through to Safari on command line.
3394 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3396 2005-08-11 Eric Seidel <eseidel@apple.com>
3397 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3399 Reviewed by eseidel.
3401 * DrawTest/TestController.m:
3402 (-[TestController imagePathForSVGPath:]):
3403 Fixed support for using TextViewer with the layout-tests.
3404 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3406 2005-08-11 Maciej Stachowiak <mjs@apple.com>
3408 At Least Roughly Glanced At by Anders.
3410 - fix change with totally breaks the layout tests.
3412 * DumpRenderTree/DumpRenderTree.m:
3413 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3414 load, to avoid dumping twice accidentally.
3416 2005-08-10 Eric Seidel <eseidel@apple.com>
3417 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3421 * DumpRenderTree/DumpRenderTree.m:
3422 Added support for rendering to a PNG file.
3423 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3425 2005-08-07 Eric Seidel <eseidel@apple.com>
3429 * Scripts/run-webkit-tests: added --svg option
3430 * Scripts/run-webkit-tests-svg: Removed.
3431 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
3433 2005-08-07 Eric Seidel <eseidel@apple.com>
3434 Changes by Ben La Monica <ben.lamonica@gmail.com>
3438 * svg2png/ImageDiff.h: Added.
3439 * svg2png/ImageDiff.m: Added.
3440 (getDifferenceBitmap):
3441 (computePercentageDifferent):
3442 (saveAnimatedGIFToFile):
3443 * svg2png/svg2png.m:
3444 (usage): added several new options
3445 (getBitmapForSVG): added NSBitmapImageRep generation
3446 (main): various argument changes.
3447 * svg2png/svg2png.xcodeproj/project.pbxproj:
3448 Several additions to provide image differencing functionality.
3449 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3451 2005-08-07 Eric Seidel <eseidel@apple.com>
3455 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3456 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3457 Adding the first SVG layout tests:
3458 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3460 2005-08-07 Darin Adler <darin@apple.com>
3462 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3464 2005-08-06 Eric Seidel <eseidel@apple.com>
3468 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3469 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3470 * Scripts/build-dumpkcanvastree: Added.
3471 * Scripts/run-webkit-tests-svg: Added.
3472 Adds a DumpRenderTree-like tool for SVG which allows us to do
3473 text-based layout regression testing. This (like most of the
3474 SVG specific stuff) is temporary and will be replaced by
3475 DumpRenderTree once the DOMs and RenderTrees merge.
3476 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3478 2005-08-06 Eric Seidel <eseidel@apple.com>
3482 * DrawTest/DrawTestView.m:
3483 (-[DrawTestView toggleFilterSupport:]): missing negation.
3484 One half of fix for toggling filter support.
3485 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3487 2005-08-04 Eric Seidel <eseidel@apple.com>
3491 * Scripts/build-drawtest:
3492 * Scripts/build-dumprendertree:
3493 * Scripts/build-svg2png:
3494 * Scripts/build-webcore-svg:
3495 * Scripts/build-webkit:
3496 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
3497 Added checkRequiredSystemConfig and made all the build-* scripts
3498 use it to print a pretty warning when trying to compile on an
3499 unsupported system (less than 10.4, Xcode 2.1).
3500 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
3502 2005-08-04 Darin Adler <darin@apple.com>
3504 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
3505 the dead. It was removed by accident when someone was trying to work on the branch.
3507 2005-07-31 Darin Adler <darin@apple.com>
3509 - a little tools cleanup
3511 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
3512 project as a whole. Removed unused Default configuration.
3514 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
3516 2005-07-31 Duncan Wilcox <duncan@mclink.it>
3518 Reviewed and landed by Darin Adler.
3520 Add logging of editing delegate calls for regression checking.
3522 * DumpRenderTree/DumpRenderTree.m:
3524 setup editing delegate
3526 (-[DOMNode dumpPath]):
3528 utility for editing delegate logging
3530 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3531 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3532 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3533 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3534 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3535 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3536 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3537 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3538 (-[EditingDelegate webViewDidBeginEditing:]):
3539 (-[EditingDelegate webViewDidChange:]):
3540 (-[EditingDelegate webViewDidEndEditing:]):
3541 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3542 log corresponding editing delegate methods
3544 (-[EditingDelegate webViewDidChangeSelection:]):
3545 log selection except when clearing selection after end of test (uses existing "done" flag)
3548 added clearing of selection after test
3550 2005-07-31 Eric Seidel <eseidel@apple.com>
3554 * Scripts/build-drawtest: Added.
3555 * Scripts/build-svg2png: Added.
3556 * Scripts/build-webcore-svg: Added.
3557 * Scripts/run-drawtest: Added.
3558 * Scripts/webkitdirs.pm: added checkSVGFrameworks
3559 Made it much easier to build WebCore+SVG.
3560 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
3562 2005-07-29 Eric Seidel <eseidel@apple.com>
3566 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3567 Build fix. Removed bad path.
3569 2005-07-29 Eric Seidel <eseidel@apple.com>
3571 Reviewed by sullivan.
3573 * DrawTest/AppDelegate.h: Added.
3574 * DrawTest/AppDelegate.m: Added.
3575 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
3576 * DrawTest/DrawTestDocument.h: Added.
3577 * DrawTest/DrawTestDocument.m: Added.
3578 * DrawTest/DrawTestInspectorController.h: Added.
3579 * DrawTest/DrawTestInspectorController.m: Added.
3580 * DrawTest/DrawTestToolbarController.h: Added.
3581 * DrawTest/DrawTestToolbarController.m: Added.
3582 * DrawTest/DrawTestView.h: Added.
3583 * DrawTest/DrawTestView.m: Added.
3584 * DrawTest/DrawTest_Prefix.pch: Added.
3585 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
3586 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
3587 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
3588 * DrawTest/English.lproj/InfoPlist.strings: Added.
3589 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3590 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3591 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3592 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3593 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3594 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3595 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3596 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3597 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3598 * DrawTest/Info.plist: Added.
3599 * DrawTest/SVGTest.h: Added.
3600 * DrawTest/SVGTest.m: Added.
3601 * DrawTest/ScalingImageView.h: Added.
3602 * DrawTest/ScalingImageView.m: Added.
3603 * DrawTest/TestController.h: Added.
3604 * DrawTest/TestController.m: Added.
3605 * DrawTest/TestViewerSplitView.h: Added.
3606 * DrawTest/TestViewerSplitView.m: Added.
3607 * DrawTest/main.m: Added.
3608 Adding simple cocoa app for testing SVG rendering, interaction.
3609 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3611 2005-07-28 Eric Seidel <eseidel@apple.com>
3615 * svg2png/svg2png.m: Added.
3616 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3617 * svg2png/svg2png_Prefix.pch: Added.
3618 Added a simple test tool which dumps a PNG from an SVG using
3619 WebCore+SVG's SVG rendering support.
3620 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3622 2005-07-26 Maciej Stachowiak <mjs@apple.com>
3626 - new script to review the DOM layout test results and see where we stand