1 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
5 - first check-in of a Gdk shell for testing WebKit
9 2006-06-29 Timothy Hatcher <timothy@apple.com>
13 Need to call window close so WebView tears-down completly.
15 * DumpRenderTree/DumpRenderTree.m:
16 (main): call [window close]
18 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
22 Bug 9615: Buildbot configuration should be in SVN repository
23 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
25 Import BuildBot configuration files as used by build.webkit.org.
26 auth.py has been stubbed out so that slave passwords are not disclosed.
28 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
29 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
30 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
31 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
32 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
33 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
34 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
35 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
36 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
37 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
38 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
39 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
41 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
45 Bug 9614: Nightly builds should notify user if a newer build is available
46 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
48 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
49 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
50 script so it can keep track of the latest revision.
51 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
52 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
53 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
54 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
55 the nightly start page.
57 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
61 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
62 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
64 Report screenY values as (height of zero screen - screenY)
66 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
68 2006-06-25 Timothy Hatcher <timothy@apple.com>
72 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
73 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
75 Makes breakpoints dragable. If dragged off the gutter they are deleted.
77 * Drosera/debugger.js:
80 2006-06-25 Timothy Hatcher <timothy@apple.com>
84 Bug 9568: assertion failure in Safari after quitting Drosera
85 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
87 Call switchToServerNamed:nil and not removeLister to make sure
88 the server object is set to nil to prevent further removeListener calls.
90 * Drosera/DebuggerDocument.m:
91 (-[DebuggerDocument applicationTerminating:]):
93 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
97 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
98 that the directory is not empty instead of reading in every single file and directory first,
99 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
102 2006-06-25 Darin Adler <darin@apple.com>
104 * Scripts/svn-apply: Tweak comments.
105 * Scripts/svn-create-patch: Ditto.
106 * Scripts/svn-unapply: Ditto.
108 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
110 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
112 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
114 * Scripts/svn-apply: Formatting fix.
116 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
120 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
121 Teach svn-apply and svn-unapply to handle directory adds and removes better
123 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
124 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
126 2006-06-25 Timothy Hatcher <timothy@apple.com>
130 Bug 9574: Drosera should show inline scripts within the original HTML
131 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
133 Refactor the JavaScript code to have a distinction between files
134 and scripts. Show the script in the context of the HTML file if
135 it's URL is the same as the frame's main resource. At the time of
136 the disParseScript callback the main resource might not be completely
137 loaded, but Drosera needs to show whatever we have at the time. Once
138 the main resource is finished, update the file source and reload the file.
140 * Drosera/DebuggerDocument.m:
141 (-[DebuggerDocument pause]):
142 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
143 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
144 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
145 * Drosera/debugger.css:
146 * Drosera/debugger.js:
148 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
152 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
153 Teach prepare-ChangeLog to operate on a list of files or directories
155 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
156 * Scripts/svn-create-patch: Code refactoring.
158 2006-06-24 James G. Speth <speth@end.com>
162 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
163 add a way to build Objective-C test cases in HTML
165 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
166 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
167 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
170 * DumpRenderTree/ObjCPlugin.h:
171 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
172 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
173 (+[ObjCPlugin webScriptNameForSelector:]):
174 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
175 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
176 (+[NSObject allowsScriptsFullAccess]):
177 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
178 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
179 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
180 (+[JSObjC webScriptNameForSelector:]):
181 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
182 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
183 (-[JSObjC log:]): access to NSLog function
184 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
185 (-[JSObjC classOfObject:]):
186 (-[JSObjC classNameOfObject:]):
188 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
192 * DrawTest/Info.plist: Added copyright statement.
193 * Drosera/Info.plist: Ditto.
194 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
195 * WebKitLauncher/Info.plist: Ditto.
197 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
199 Build fix. Reviewed by NOBODY.
201 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
202 devenv.com not available in VC++ Express installations
204 * Scripts/webkitdirs.pm: Backed out previous change.
206 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
210 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
211 devenv.com not available in VC++ Express installations
213 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
215 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
219 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
220 A bunch of fixes to run-webkit-httpd
222 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
223 127.0.0.1. Useful for testing with WinIE running on another machine;
224 - don't call checkFrameworks() - we do not need a built WebKit here;
225 - changed tabs to spaces;
226 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
227 interactive mode, they were a hassle when testing with several browsers, as one
228 had to wait for connection to expire);
229 - remove httpd.pid when done, so that Apache doesn't complain next time.
231 * Scripts/run-webkit-httpd:
233 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
235 Reviewed by ggaren, landed by ap.
237 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
238 Complete DOMUIEvent Obj-C API to reflect UIEvent
240 Add function to enable logging of all events of one DOM node to stdout.
242 * DumpRenderTree/EventSendingController.h:
243 * DumpRenderTree/EventSendingController.m:
244 (+[EventSendingController initialize]):
245 (+[EventSendingController isSelectorExcludedFromWebScript:]):
246 (+[EventSendingController webScriptNameForSelector:]):
247 (-[EventSendingController enableDOMUIEventLogging:]):
248 (-[EventSendingController handleEvent:]):
250 2006-06-23 Kevin Decker <kdecker@apple.com>
252 Reviewed by Tim Hatcher.
254 - Made column headers in Drosera resizable.
256 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
260 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
261 Another case error preventing build
263 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
265 2006-06-22 Timothy Hatcher <timothy@apple.com>
269 Adds a native toolbar to Drosera to be a good citizen.
270 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
271 Fixes a dragging bug from an earlier fix to the divider code.
272 Fixes some poor indenting in debugger.js.
274 * Drosera/DebuggerDocument.h:
275 * Drosera/DebuggerDocument.m:
276 (-[DebuggerDocument stepInto]):
277 (-[DebuggerDocument pause:]):
278 (-[DebuggerDocument resume:]):
279 (-[DebuggerDocument stepInto:]):
280 (-[DebuggerDocument windowDidLoad]):
281 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
282 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
283 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
284 (-[DebuggerDocument validateUserInterfaceItem:]):
285 * Drosera/English.lproj/MainMenu.nib/classes.nib:
286 * Drosera/English.lproj/MainMenu.nib/info.nib:
287 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
288 * Drosera/debugger.css:
289 * Drosera/debugger.html:
290 * Drosera/debugger.js:
291 * Drosera/viewer.html:
293 2006-06-22 Kevin Decker <kdecker@apple.com>
297 - Added pressed column header image.
298 - Made column headers behave more like Xcode.
300 2006-06-22 Timothy Hatcher <timothy@apple.com>
302 Reviewed by Kevin Decker.
304 Code clean up. Adds the stackframe and makes only the body
305 of the tables scrollable keeping the header visible.
306 Shows the current function stack when paused or stepping.
308 * Drosera/DebuggerApplication.m:
309 (-[DebuggerApplication awakeFromNib]):
310 (-[DebuggerApplication numberOfRowsInTableView:]):
311 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
312 * Drosera/DebuggerDocument.h:
313 * Drosera/DebuggerDocument.m:
314 (-[DebuggerDocument dealloc]):
315 (-[DebuggerDocument currentFrame]):
316 (-[DebuggerDocument currentFrameFunctionName]):
317 (-[DebuggerDocument currentFunctionStack]):
318 (-[DebuggerDocument log:]):
319 (-[DebuggerDocument windowWillClose:]):
320 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
321 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
322 * Drosera/Drosera.xcodeproj/project.pbxproj:
323 * Drosera/debugger.css:
324 * Drosera/debugger.html:
325 * Drosera/debugger.js:
327 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
331 Teach run-webkit-httpd to properly look for webkitdirs.pm.
333 * Scripts/run-webkit-httpd:
335 2006-06-22 Kevin Decker <kdecker@apple.com>
337 Reviewed by Tim Hatcher.
339 - More progress toward Javascript Debugger.
340 - Added some new images to the project.
342 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
346 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
347 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
349 * Scripts/run-webkit-httpd: Added.
351 2006-06-20 Timothy Hatcher <timothy@apple.com>
355 Builds Drosera and a launcher to include with the nightly.
357 * BuildSlaveSupport/build-launcher-app:
358 * BuildSlaveSupport/build-launcher-dmg:
359 * Drosera/Drosera.xcodeproj/project.pbxproj:
360 * Drosera/Info.plist:
361 * Drosera/LauncherInfo.plist: Added.
362 * Drosera/launcher.m: Added.
363 (displayErrorAndQuit):
364 (checkMacOSXVersion):
367 * Scripts/build-drosera
368 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
369 * WebKitLauncher/main.m:
372 2006-06-20 Timothy Hatcher <timothy@apple.com>
376 Adds a JavaScript debugger, called Drosera. Named after
377 a genus of bug eating plants.
379 * Drosera/DebuggerApplication.h: Added.
380 * Drosera/DebuggerApplication.m: Added.
381 (-[DebuggerApplication applicationDidFinishLaunching:]):
382 (-[DebuggerApplication serverLoaded:]):
383 (-[DebuggerApplication serverUnloaded:]):
384 (-[DebuggerApplication awakeFromNib]):
385 (-[DebuggerApplication showAttachPanel:]):
386 (-[DebuggerApplication attach:]):
387 (-[DebuggerApplication numberOfRowsInTableView:]):
388 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
389 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
390 (-[DebuggerApplication tableViewSelectionDidChange:]):
391 * Drosera/DebuggerDocument.h: Added.
392 * Drosera/DebuggerDocument.m: Added.
393 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
394 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
395 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
396 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
397 (-[DebuggerDocument initWithServerName:]):
398 (-[DebuggerDocument windowWillClose:]):
399 (-[DebuggerDocument dealloc]):
400 (-[DebuggerDocument isPaused]):
401 (-[DebuggerDocument pause]):
402 (-[DebuggerDocument resume]):
403 (-[DebuggerDocument step]):
404 (-[DebuggerDocument windowNibName]):
405 (-[DebuggerDocument windowDidLoad]):
406 (-[DebuggerDocument switchToServerNamed:]):
407 (-[DebuggerDocument applicationTerminating:]):
408 (-[DebuggerDocument serverConnectionDidDie:]):
409 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
410 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
411 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
412 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
413 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
414 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
415 * Drosera/Drosera.pch: Added.
416 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
417 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
418 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
419 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
420 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
421 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
422 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
423 * Drosera/Images/breakPoint.tif: Added.
424 * Drosera/Images/breakPointDisabled.tif: Added.
425 * Drosera/Images/continue.tif: Added.
426 * Drosera/Images/finishFunction.tif: Added.
427 * Drosera/Images/glossyFooterFill.tif: Added.
428 * Drosera/Images/glossyHeader.png: Added.
429 * Drosera/Images/gradientBackground.png: Added.
430 * Drosera/Images/gutter.png: Added.
431 * Drosera/Images/navLeftDisabled.png: Added.
432 * Drosera/Images/navLeftNormal.png: Added.
433 * Drosera/Images/navLeftPressed.png: Added.
434 * Drosera/Images/navRightDisabled.png: Added.
435 * Drosera/Images/navRightNormal.png: Added.
436 * Drosera/Images/navRightPressed.png: Added.
437 * Drosera/Images/pause.tif: Added.
438 * Drosera/Images/popUpArrows.png: Added.
439 * Drosera/Images/programCounter.tif: Added.
440 * Drosera/Images/programCounterBreakPoint.tif: Added.
441 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
442 * Drosera/Images/run.tif: Added.
443 * Drosera/Images/splitterBar.tif: Added.
444 * Drosera/Images/splitterDimple.tif: Added.
445 * Drosera/Images/step.tif: Added.
446 * Drosera/Images/stepOver.tif: Added.
447 * Drosera/Images/stop.tif: Added.
448 * Drosera/Images/toolbarBackground.png: Added.
449 * Drosera/Info.plist: Added.
450 * Drosera/debugger.css: Added.
451 * Drosera/debugger.html: Added.
452 * Drosera/debugger.js: Added.
453 * Drosera/main.m: Added.
455 * Drosera/viewer.css: Added.
456 * Drosera/viewer.html: Added.
458 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
462 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
463 Teach svn-apply and svn-unapply to use full path names
465 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
466 * Scripts/svn-unapply: Ditto.
468 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
472 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
473 DumpRenderTree should be able to keep URL history during runs
475 Test: LayoutTests/fast/history/clicked-link-is-visited.html
477 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
478 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
479 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
480 it is currently nil since keepWebHistory() might be called more than once incidentally
482 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
483 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
485 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
489 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
490 Make prepare-ChangeLog faster
492 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
493 then save the diff output for reuse. Keep a status variable if changes are made to
494 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
495 WebCore is updated. Added -h|--help command-line switch and help message. Move test
496 for no changed files closer to the beginning of the program.
498 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
500 Reviewed and landed by ap.
502 - make DumpRenderTree build
504 * DumpRenderTree/DumpRenderTree.m:
505 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
506 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
507 (-[LayoutTestController setWindowIsKey:]): Ditto.
508 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
510 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
512 Reviewed by Darin, landed by Geoff.
514 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
515 Use pathcmp() when sorting paths in svn-create-patch
517 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
518 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
519 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
520 switch and printUsage() subroutine.
522 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
526 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
527 Teach svn-create-patch to sort its output
529 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
530 by text files first, then by binary files.
532 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
536 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
537 Teach svn-create-patch and friends to work with binary files
539 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
540 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
541 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
543 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
547 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
548 Performance improvement for svn-create-patch
550 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
552 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
556 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
557 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
559 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
560 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
562 2006-06-03 Steve Falkenburg <sfalken@apple.com>
566 Switch Spinneret to new hosting mechanism
568 * Spinneret/Spinneret.sln:
569 * Spinneret/Spinneret/Spinneret.cpp:
570 (SpinneretWebHost::updateAddressBar):
571 (SpinneretWebHost::QueryInterface):
572 (SpinneretWebHost::AddRef):
573 (SpinneretWebHost::Release):
580 * Spinneret/Spinneret/Spinneret.h:
581 (SpinneretWebHost::didStartProvisionalLoadForFrame):
582 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
583 (SpinneretWebHost::didFailProvisionalLoadWithError):
584 (SpinneretWebHost::didCommitLoadForFrame):
585 (SpinneretWebHost::didReceiveTitle):
586 (SpinneretWebHost::didReceiveIcon):
587 (SpinneretWebHost::didFinishLoadForFrame):
588 (SpinneretWebHost::didFailLoadWithError):
589 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
590 (SpinneretWebHost::willPerformClientRedirectToURL):
591 (SpinneretWebHost::didCancelClientRedirectForFrame):
592 (SpinneretWebHost::willCloseFrame):
593 (SpinneretWebHost::windowScriptObjectAvailable):
594 * Spinneret/Spinneret/Spinneret.vcproj:
596 2006-06-02 Steve Falkenburg <sfalken@apple.com>
602 * Scripts/build-webkit:
604 2006-06-01 Anders Carlsson <acarlsson@apple.com>
608 * DumpRenderTree/DumpRenderTree.m:
609 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
610 (-[LayoutTestController clearBackForwardList]):
611 Add clearBackForwardList function to layoutTestController
613 2006-06-01 Anders Carlsson <acarlsson@apple.com>
617 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
618 slow-utf8-text layout test case failing (no longer deterministic?)
620 * DumpRenderTree/DumpRenderTree.m:
622 Dump as text when the response MIME type is text/plain
624 2006-05-26 Steve Falkenburg <sfalken@apple.com>
628 * Spinneret/Spinneret.sln:
629 * Spinneret/Spinneret/Spinneret.vcproj:
631 2006-05-24 Geoffrey Garen <ggaren@apple.com>
635 Added 'GCController' to DRT to support garbage collection layout tests.
637 GCController.collect() and GCController.collectOnAlternateThread() do
638 what you would expect. The latter takes a boolean argument sepcifying
639 whether to wait for garbage collection to finish before continuing to
642 * DumpRenderTree/DumpRenderTree.m:
643 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
644 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
645 * DumpRenderTree/GCController.h: Added.
646 * DumpRenderTree/GCController.mm: Added.
647 (+[GCController isSelectorExcludedFromWebScript:]):
648 (+[GCController webScriptNameForSelector:]):
649 (-[GCController collect]):
650 (-[GCController collectOnAlternateThread:]):
652 2006-05-23 John Sullivan <sullivan@apple.com>
656 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
657 Newer Xcode removed some obsolete cruft
659 * DumpRenderTree/TextInputController.m:
660 (-[TextInputController textInput]):
661 added (id) cast to make newer compiler happy
663 2006-05-22 Steve Falkenburg <sfalken@apple.com>
669 * Spinneret/Spinneret.sln:
671 2006-05-18 Darin Adler <darin@apple.com>
673 - try to fix no-SVG, no-XPATH build, again
675 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
677 2006-05-18 Darin Adler <darin@apple.com>
679 - try to fix no-SVG, no-XPATH build
681 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
682 since the former is what's used in the WebCore project now.
684 2006-05-17 Darin Adler <darin@apple.com>
686 * Scripts/do-webcore-rename: Some more future renames.
688 2006-05-16 Adele Peterson <adele@apple.com>
692 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
693 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
695 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
697 * Scripts/install-unix-extras: Changed to be executable and removed
698 text in the file generated by "svn diff".
699 * Scripts/regenerate-makefiles: Ditto.
701 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
703 Reviewed by Darin, landed by ap.
705 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
706 Bakefiles (and generated Makefiles) for wx and gdk ports
708 * Scripts/install-unix-extras: Added.
709 * Scripts/regenerate-makefiles: Added.
711 2006-05-10 Steve Falkenburg <sfalken@apple.com>
715 Fix registry usage from perl script. Turns out libwin32's
716 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
718 * Scripts/install-win-extras:
720 2006-05-09 Steve Falkenburg <sfalken@apple.com>
723 Add load ended callback.
727 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
728 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
729 * Spinneret/Spinneret/Spinneret.cpp:
730 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
731 (_tWinMain): Load built-in test content here instead of in lower-level code.
732 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
734 2006-05-08 Maciej Stachowiak <mjs@apple.com>
738 * Scripts/extract-localizable-strings: Update for correct names of log macros.
740 2006-05-09 Anders Carlsson <acarlsson@apple.com>
744 * Scripts/check-dom-results:
745 Add XPath to the list of results.
747 2006-05-08 Darin Adler <darin@apple.com>
749 * Scripts/do-webcore-rename: Add another rename.
751 2006-05-01 Steve Falkenburg <sfalken@apple.com>
755 Spinneret now links against the new separate lib.
757 * Spinneret/Spinneret.sln:
758 * Spinneret/Spinneret/Spinneret.cpp:
759 (SpinneretWebHost::updateLocationBar):
761 * Spinneret/Spinneret/Spinneret.h:
762 * Spinneret/Spinneret/Spinneret.vcproj:
763 * Spinneret/Spinneret/WebFrame.cpp: Removed.
764 * Spinneret/Spinneret/WebFrame.h: Removed.
765 * Spinneret/Spinneret/WebView.cpp: Removed.
766 * Spinneret/Spinneret/WebView.h: Removed.
768 2006-04-28 Steve Falkenburg <sfalken@apple.com>
772 Modify error reporting registry keys to disable Dr. Watson.
773 This allows Javascript test cases to complete without blocking UI.
775 * Scripts/install-win-extras:
776 - Use Perl Win32 registry functions to disable blocking UI
779 2006-04-28 Steve Falkenburg <sfalken@apple.com>
783 Turned off C++ exceptions, fixed memory leaks
785 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
786 * Spinneret/Spinneret.sln:
787 * Spinneret/Spinneret/Spinneret.cpp:
789 * Spinneret/Spinneret/Spinneret.vcproj:
790 * Spinneret/Spinneret/WebFrame.cpp:
791 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
792 (WebKit::WebFrame::WebFrame):
793 (WebKit::WebFrame::~WebFrame):
794 (WebKit::WebFrame::impl):
795 * Spinneret/Spinneret/WebFrame.h:
796 * Spinneret/Spinneret/WebView.cpp:
797 * Spinneret/Spinneret/stdafx.h:
799 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
803 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
804 DumpRenderTree should reset the URL cache
806 * DumpRenderTree/DumpRenderTree.m:
807 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
809 2006-04-28 Eric Seidel <eseidel@apple.com>
811 Reviewed by andersca.
813 * Scripts/do-webcore-rename: rename KCanvasContainer too
814 * Scripts/run-webkit-tests: output total time
816 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
818 Reviewed by hyatt. Landed by eseidel.
820 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
821 Enable detection of excessive repainting with DumpRenderTree
823 * DumpRenderTree/DumpRenderTree.m:
824 (-[LayoutTestController display]):
826 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
830 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
831 DumpRenderTree needs a way to force painting (to allow invalidation tests)
833 * DumpRenderTree/DumpRenderTree.m:
834 (dump): If display() has been called during the test, grab the pixels from
835 the view, after letting it repaint invalidated rects.
836 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
837 (-[LayoutTestController display]): Added. Calls -display on the view
838 and changes the subsequent behavior of dump().
841 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
845 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
846 Update iExploder to 1.3.2
848 Test case numbers are not compatible with iExploder 1.2.
850 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
852 * iExploder/CHANGELOG.txt: Added.
853 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
854 * iExploder/README.txt: Added some performance hints.
856 * iExploder/htdocs/config.rb: Added.
857 * iExploder/htdocs/cssproperties.in:
858 * iExploder/htdocs/cssvalues.in:
859 * iExploder/htdocs/htmlattrs.in:
860 * iExploder/htdocs/htmltags.in:
861 * iExploder/htdocs/iexploder.cgi:
862 - Updated to support the latest HTML & CSS tags, properties, and values from both
863 the WebKit and Mozilla CVS tree
864 - cssproperties.in cleanup
865 - Modularized the code a little bit.
866 - Fix subtest bug that was causing last 5 tags to be missed
867 - new subtest algorithm to deal better with larger tag counts
868 - default HTML_MAX_TAGS increased from 32 to 96
870 * iExploder/htdocs/index.html: Updated version to 1.3.2.
871 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
872 alternative to our run-iexploder-tests.
873 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
874 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
875 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
877 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
879 - commit Scripts/run-mangleme-tests (missed it the previous time).
881 2006-04-18 Darin Adler <darin@apple.com>
883 - attempt to fix Windows buildbot
885 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
886 We need a better long-term solution for this.
888 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
892 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
893 Integrate mangleme test script.
895 Works in a similar way to run-iexploder-tests.
897 * Scripts/run-mangleme-tests: Added.
899 * mangleme/Makefile: Added.
900 * mangleme/README: Added.
901 * mangleme/mangle.cgi.c: Added.
902 * mangleme/remangle.cgi.c: Added.
903 * mangleme/tags.h: Added.
905 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
909 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
910 An easier way to save iExploder tests.
912 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
914 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
918 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
919 Integrate iExploder test script.
921 This script generates artificially mangled HTML documents, to test that the browser
922 doesn't crash when handling ill-formed code.
925 run-iexploder-tests Open an interactive test page in Safari+ToT.
926 run-iexploder-tests nnnnn Open test #nnnnn.
928 Command line options:
929 --guard-malloc (-g) Use Guard Malloc.
930 --port=nnnn Run Apache on port nnnn (default is 8000).
932 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
933 (thus, Apache is still running), e.g.:
934 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
936 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
938 * Scripts/run-iexploder-tests: Added.
940 * iExploder/LICENSE.txt: Added.
941 * iExploder/README.txt: Added.
942 * iExploder/htdocs: Added.
943 * iExploder/htdocs/cssproperties.in: Added.
944 * iExploder/htdocs/cssvalues.in: Added.
945 * iExploder/htdocs/htmlattrs.in: Added.
946 * iExploder/htdocs/htmltags.in: Added.
947 * iExploder/htdocs/htmlvalues.in: Added.
948 * iExploder/htdocs/iexploder.cgi: Added.
949 * iExploder/htdocs/index.html: Added.
950 * iExploder/tools: Added.
951 * iExploder/tools/lasthit.rb: Added.
952 * iExploder/tools/osx_last_crash.rb: Added.
954 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
958 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
959 Restore color profile after a crash
961 * DumpRenderTree/DumpRenderTree.m:
962 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
963 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
964 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
965 and this code may change significantly.
967 (main): Install crashHandler.
969 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
970 (CFStringGetCStringPtr should NEVER EVER be used!).
972 2006-04-15 Darin Adler <darin@apple.com>
976 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
977 Seems xmlsoft.org's HTTP no longer has what we need.
979 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
981 Rubber-stamped by Darin.
983 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
984 upload-disk-image stage on buildslaves fail with "No space left on device"
986 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
987 'hdiutil create'. This creates the initial disk image based on the size of
988 the source folder, and copies the contents to the new disk image. The file
989 extension on the temporary uncompressed disk image has also been altered from
990 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
991 the extension is not ".dmg".
993 2006-04-12 Eric Seidel <eseidel@apple.com>
997 * Scripts/update-webkit: Make this return non-zero when svn fails.
999 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1003 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1004 Make HTTP tests using Perl use .pl extension
1006 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1007 removed support for .text. Reduced the number of places that explicitly list supported
1008 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1011 2006-04-06 Darin Adler <darin@apple.com>
1013 Changes requested by Mark Rowe.
1015 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1016 trash at the end of the file.
1017 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1019 * WebKitLauncher/main.m: Removed trash at end of file.
1021 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1024 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1026 Reviewed by Darin, landed by Maciej.
1028 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1029 and bundles the WebKit frameworks inside it.
1030 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1031 containing WebKit.app.
1032 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1033 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1034 number of the SVN working copy.
1035 * WebKitLauncher: Added.
1036 * WebKitLauncher/Info.plist: Added.
1037 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1038 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1039 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1040 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1041 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1042 the nightly launcher.
1043 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1044 It sets up the environment to have Safari use the bundled frameworks
1045 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1046 * WebKitLauncher/start.html: Added.
1047 * WebKitLauncher/webkit.icns: Added.
1049 2006-04-05 Darin Adler <darin@apple.com>
1053 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1054 are allowed to have global initializers.
1056 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1058 Reviewed by OMG BETH
1060 * Scripts/run-testkjs:
1061 - pipe STDERR to /dev/null by default; new --verbose option overrides
1063 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1064 - output run command in a format that can be copied and pasted into the
1065 terminal to run manually
1067 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1069 Reviewed by harrison
1071 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1072 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1074 Tell the source that the drag is over after the drag is performed, not before.
1076 * DumpRenderTree/EventSendingController.m:
1077 (-[EventSendingController mouseUp]):
1079 2006-04-01 Darin Adler <darin@apple.com>
1083 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1084 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1085 elements in that array are not strings.
1087 2006-03-31 Darin Adler <darin@apple.com>
1089 Reviewed by John Sullivan.
1091 - added a "--reset-results" option to run-webkit-tests so you can reset
1092 the results without first deleting expected results
1093 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1095 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1096 more logical. Moved all the subroutines to the end of the file. Added a
1099 * DumpRenderTree/DumpRenderTree.m:
1100 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1101 to generate new output for all tests it runs.
1102 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1103 the --dump-all-pixels option is passed. Also tightened up the image dumping
1104 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1105 with code to save and restore the context.
1107 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1108 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1110 2006-03-30 Tim Omernick <timo@apple.com>
1112 Reviewed by NOBODY (just fixing copyrights)
1114 * DumpRenderTree/ObjCPlugin.h:
1116 * DumpRenderTree/ObjCPlugin.m: ditto
1117 * DumpRenderTree/ObjCPluginFunction.h: ditto
1118 * DumpRenderTree/ObjCPluginFunction.m: ditto
1120 2006-03-30 Tim Omernick <timo@apple.com>
1124 * DumpRenderTree/DumpRenderTree.m:
1125 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1126 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1127 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1128 exposed to JS as a callable object.
1130 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1131 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1133 * DumpRenderTree/ObjCPlugin.h: Added.
1134 * DumpRenderTree/ObjCPlugin.m: Added.
1135 * DumpRenderTree/ObjCPluginFunction.h: Added.
1136 * DumpRenderTree/ObjCPluginFunction.m: Added.
1138 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1139 Added a new method, "removeDefaultMethod", which removes the default method from the
1140 plugin object's class. The effect is that the plugin object is mutated from a callable
1141 function to a simple object.
1143 Handle "removeDefaultMethod".
1144 (pluginInvokeDefault):
1145 Made the default method actually do something (return 1).
1147 2006-03-30 Eric Seidel <eseidel@apple.com>
1151 Remove WebFrame::viewImpl(), setMainFrame on page.
1153 * Spinneret/Spinneret/WebFrame.cpp:
1154 (WebKit::WebFrame::WebFrame):
1155 * Spinneret/Spinneret/WebFrame.h:
1156 * Spinneret/Spinneret/WebView.cpp:
1157 (WebKit::WebView::mouseMoved):
1158 (WebKit::WebView::mouseDown):
1159 (WebKit::WebView::mouseUp):
1160 (WebKit::WebView::mouseDoubleClick):
1161 (WebKit::WebViewWndProc):
1163 2006-03-30 Eric Seidel <eseidel@apple.com>
1167 Fix html editing input & basic form submission.
1169 * Spinneret/Spinneret/WebFrame.cpp:
1170 (WebKit::WebFrame::submitForm):
1171 (WebKit::WebFrame::loadURL):
1172 * Spinneret/Spinneret/WebFrame.h:
1173 * Spinneret/Spinneret/WebView.cpp:
1174 (WebKit::WebView::keyPress):
1175 (WebKit::WebViewWndProc):
1177 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1181 <rdar://problem/4402375>
1182 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1184 Added an option to draw the selectionRect.
1186 * DumpRenderTree/DumpRenderTree.m:
1188 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1189 (-[LayoutTestController dumpSelectionRect]):
1192 2006-03-29 Darin Adler <darin@apple.com>
1194 Reviewed by Tim Hatcher.
1196 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1198 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1200 2006-03-28 Eric Seidel <eseidel@apple.com>
1204 * Scripts/check-for-global-initializers: remove svg exceptions.
1206 2006-03-28 Timothy Hatcher <timothy@apple.com>
1210 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1212 * Scripts/check-for-global-initializers:
1214 2006-03-28 Timothy Hatcher <timothy@apple.com>
1216 Build fix. Turn off uninitialized warnings for the first block of code.
1218 * Scripts/check-for-global-initializers:
1220 2006-03-28 Darin Adler <darin@apple.com>
1224 * Scripts/check-for-global-initializers: Added.
1226 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1228 Reviewed by darin. Landed by eseidel.
1230 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1231 Add repaint testing support to run-webkit-tests
1233 * DumpRenderTree/DumpRenderTree.m:
1234 (main): Added --repaint and --horizontal-sweep options.
1235 (dump): Repaint line-by-line or column-by-column when the appropriate option
1237 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1238 and repaintSweepHorizontally() methods to layoutTestController.
1239 (-[LayoutTestController testRepaint]):
1240 (-[LayoutTestController repaintSweepHorizontally]):
1242 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1243 to force these settings on tests that do not ask for them.
1245 2006-03-24 Eric Seidel <eseidel@apple.com>
1251 * Spinneret/Spinneret/WebFrame.cpp:
1252 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1254 2006-03-21 Beth Dakin <bdakin@apple.com>
1258 Add support for keyDown() to DumpRenderTree.
1260 * DumpRenderTree/DumpRenderTree.m:
1261 (main): Set the preference for tabbing to links.
1262 * DumpRenderTree/EventSendingController.m:
1263 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1264 (+[EventSendingController webScriptNameForSelector:]):
1265 (-[EventSendingController keyDown:withModifiers:]):
1267 2006-03-20 Eric Seidel <eseidel@apple.com>
1273 * Spinneret/Spinneret/Spinneret.vcproj:
1274 * Spinneret/Spinneret/WebFrame.h:
1275 * Spinneret/Spinneret/WebView.cpp:
1276 (WebKit::WebView::mouseMoved):
1277 (WebKit::WebView::mouseDown):
1278 (WebKit::WebView::mouseUp):
1279 (WebKit::WebView::mouseDoubleClick):
1280 (WebKit::WebView::keyPress):
1281 (WebKit::WebViewWndProc):
1283 2006-03-19 Darin Adler <darin@apple.com>
1287 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1288 we can test it in layout tests. We don't really need tests that run with
1289 pop-up blocking off at the moment. If we do some day, we can add some
1290 API for turning it off in the layout test controller.
1292 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1293 don't ignore the leak; it should no longer show up.
1295 2006-03-17 Anders Carlsson <andersca@mac.com>
1299 * Scripts/install-win-extras:
1300 Fetch "Program Files" location from the environment.
1302 2006-03-17 Eric Seidel <eseidel@apple.com>
1306 Fix Spinneret to pass Events as const & not as pointers.
1308 * Spinneret/Spinneret/WebView.cpp:
1309 (WebKit::WebView::mouseMoved):
1310 (WebKit::WebView::mouseDown):
1311 (WebKit::WebView::mouseUp):
1312 (WebKit::WebView::mouseDoubleClick):
1313 (WebKit::WebView::keyPress):
1315 2006-03-17 Eric Seidel <eseidel@apple.com>
1317 Reviewed by justing.
1319 Add support for basic HTML editing.
1321 * Spinneret/Spinneret/WebView.cpp:
1322 (WebKit::WebView::WebView):
1323 (WebKit::WebView::keyPress):
1325 2006-03-17 Eric Seidel <eseidel@apple.com>
1327 Rubber-stamped by ggaren.
1329 Break DumpRenderTree.m up into several files to make the code more readable.
1331 * DumpRenderTree/DumpRenderTree.h: Added.
1332 * DumpRenderTree/DumpRenderTree.m:
1333 (doneLoading): new accessor function for "done" global.
1334 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1335 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1336 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1337 * DumpRenderTree/EditingDelegate.h: Added.
1338 * DumpRenderTree/EditingDelegate.m: Added.
1339 (-[EditingDelegate webViewDidChangeSelection:]):
1340 * DumpRenderTree/EventSendingController.h: Added.
1341 * DumpRenderTree/EventSendingController.m: Added.
1343 2006-03-16 Eric Seidel <eseidel@apple.com>
1347 Add resize, scroll event support.
1349 * Spinneret/Spinneret/WebView.cpp:
1350 (WebKit::WebView::mouseMoved):
1351 (WebKit::WebView::mouseDown):
1352 (WebKit::WebView::mouseUp):
1353 (WebKit::WebView::mouseDoubleClick):
1354 (WebKit::WebView::keyPress):
1355 (WebKit::WebViewWndProc):
1356 * Spinneret/Spinneret/WebView.h:
1358 2006-03-16 Eric Seidel <eseidel@apple.com>
1362 Make build-webkit print correctly to stdout on windows.
1364 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1366 2006-03-15 Eric Seidel <eseidel@apple.com>
1370 Fix eventSender.mouseClick() to update lastClick timestamp.
1372 * DumpRenderTree/DumpRenderTree.m:
1373 (-[EventSendingController mouseClick]):
1375 2006-03-15 Darin Adler <darin@apple.com>
1379 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1380 that had a lowercase "i" in it so this builds on case-sensitive
1383 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1387 Added run-testkjs and compare-timing-files scripts, to support super
1390 * Scripts/compare-timing-files: Added.
1391 * Scripts/run-testkjs: Added.
1393 2006-03-14 Eric Seidel <eseidel@apple.com>
1397 Make the URL bar relinquish focus on page load.
1399 * Spinneret/Spinneret/Spinneret.cpp:
1402 2006-03-14 Eric Seidel <eseidel@apple.com>
1406 Fix WebView to allow KeyFocus.
1407 Add handling of space and shift-space for scrolling.
1409 * Spinneret/Spinneret/WebView.cpp:
1410 (WebKit::scrollMessageForKey):
1411 (WebKit::WebViewWndProc):
1413 2006-03-10 Eric Seidel <eseidel@apple.com>
1417 Add scrolling support into Spinneret.
1419 * Spinneret/Spinneret/WebFrame.cpp:
1420 (WebKit::WebFrame::paint):
1421 * Spinneret/Spinneret/WebView.cpp:
1422 (WebKit::WebView::createWebView):
1423 (WebKit::calculateScrollDelta):
1424 (WebKit::scrollMessageForKey):
1425 (WebKit::WebViewWndProc):
1427 2006-03-13 Eric Seidel <eseidel@apple.com>
1431 Fix checksum generation on Intel machines.
1432 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1433 give a small speed boost now that it uses a shared buffer.
1435 * DumpRenderTree/DumpRenderTree.m:
1438 (md5HashStringForBitmap):
1439 * DumpRenderTree/ImageDiff.m:
1440 (computePercentageDifferent):
1442 2006-03-13 Darin Adler <darin@apple.com>
1444 Reviewed by Tim Hatcher.
1446 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1447 have it named httpd-1.3 instead.
1449 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1451 Fix proposed by Mitz Pettel, reviewed by Darin.
1453 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1454 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1456 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1457 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1460 2006-03-09 Darin Adler <darin@apple.com>
1462 Reviewed by John Sullivan.
1464 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1465 memory leak in the plug-in tests
1467 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1468 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1469 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1471 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1472 Moved the browser global in here since it's declared in this file's header.
1473 Changed the code to set up the pluginClass structure to not use function
1474 pointer casts. Those are dangerous because they can hide many types of mismatch.
1475 And indeed when I did this I discovered that many functions were missing their
1476 boolean return values or had parameter declarations with the wrong types.
1477 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1478 clarity. Added boolean return value: return true when successful and false when not.
1479 (pluginSetProperty): Added boolean return value, return false since we have no
1480 properties we can set.
1481 (pluginInvoke): Added boolean return value. Return true when successful and false
1482 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1483 return value from calling the browser. Changed code to put the strings in malloc
1484 buffers instead of relying on GCC's extension that allows variable-sized arrays
1486 (pluginInvokeDefault): Added boolean return value, return false since we have no
1487 default function to call.
1488 (pluginInvalidate): Added missing parameter. Removed comment.
1489 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1490 to cast the result of malloc.
1491 (pluginDeallocate): Removed uneeded cast.
1493 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1494 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1495 that match NPObject's fields. Removed unused NPWindow pointer.
1497 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1499 Test: fast/events/event-sender-mouse-click.html
1503 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1504 DRT hangs when doing eventSender.mouseDown on native widgets
1506 * DumpRenderTree/DumpRenderTree.m:
1507 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1508 (-[EventSendingController mouseClick]): Simulates a click in a native
1509 widget by queueing a mouseUp before sending the mouseDown, so that
1510 the widget's mouse tracking event loop doesn't hang indefinitely.
1512 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1516 - make link clicks work by handling link click requests
1519 * Spinneret/Spinneret/Spinneret.cpp:
1520 (updateLocationBar):
1521 * Spinneret/Spinneret/Spinneret.h:
1522 * Spinneret/Spinneret/WebFrame.cpp:
1523 (WebKit::WebFrame::WebFrame):
1524 (WebKit::WebFrame::openURL):
1525 (WebKit::WebFrame::loadURL):
1526 * Spinneret/Spinneret/WebFrame.h:
1528 2006-03-08 Eric Seidel <eseidel@apple.com>
1532 Focus URL bar on Spinneret launch, remove border from WebView.
1533 Stop WebFrame from deleting the job (prevent crash).
1535 * Spinneret/Spinneret/Spinneret.cpp:
1537 * Spinneret/Spinneret/WebFrame.cpp:
1538 (WebKit::WebFrame::receivedAllData):
1539 (WebKit::WebFrame::paint):
1540 * Spinneret/Spinneret/WebView.cpp:
1541 (WebKit::WebView::createWebView):
1543 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1547 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1548 (pluginInvoke): Added a method to test getURL.
1550 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1554 - load URLs, not file paths, in Spinneret
1556 * Spinneret/Spinneret/Spinneret.cpp:
1558 * Spinneret/Spinneret/Spinneret.vcproj:
1559 * Spinneret/Spinneret/WebFrame.cpp:
1560 (WebKit::WebFrame::loadURL):
1561 (WebKit::WebFrame::receivedData):
1562 (WebKit::WebFrame::receivedAllData):
1563 * Spinneret/Spinneret/WebFrame.h:
1564 * Spinneret/Spinneret/WebView.cpp:
1565 (WebKit::WebView::WebView):
1567 2006-03-08 Darin Adler <darin@apple.com>
1571 - fixed AppleScript layout test results to not be endian-dependent
1572 (Hyatt complained to me about this one)
1574 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1575 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1576 (which are endian-dependent).
1578 2006-03-07 Darin Adler <darin@apple.com>
1582 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1583 unwanted output while running layout tests
1585 * DumpRenderTree/DumpRenderTree.m:
1586 (checkedMalloc): Added.
1587 (checkedRealloc): Added.
1588 (makeLargeMallocFailSilently): Added.
1589 (main): Call makeLargeMallocFailSilently.
1591 2006-03-06 Darin Adler <darin@apple.com>
1593 * Scripts/do-webcore-rename: Add some more planned renaming.
1595 2006-03-06 Eric Seidel <eseidel@apple.com>
1599 * Spinneret/Spinneret/WebFrame.cpp:
1600 (WebKit::WebFrame::paint): force layout before painting
1602 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1606 Sent the windowNumber when sending events.
1607 Added leapForward so that we don't have to spend time waiting
1608 in layout tests that do mouse operations that require delays.
1610 * DumpRenderTree/DumpRenderTree.m:
1611 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1612 (+[EventSendingController webScriptNameForSelector:]):
1613 (-[EventSendingController currentEventTime]):
1614 (-[EventSendingController leapForward:]):
1615 (-[EventSendingController mouseDown]):
1616 (-[EventSendingController mouseUp]):
1617 (-[EventSendingController mouseMoveToX:Y:]):
1619 2006-03-05 Darin Adler <darin@apple.com>
1621 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1622 Script now works (after landing my two pending patches).
1624 2006-03-05 Darin Adler <darin@apple.com>
1626 - check in a script to do a "big" rename in WebCore
1627 (can be run whenever we're ready to do it)
1629 * Scripts/do-webcore-rename: Added.
1631 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1635 * Spinneret/Spinneret/WebFrame.cpp:
1636 (WebKit::WebFrame::loadFilePath): Close file when done.
1638 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1640 Reviewed by Darin, landed by ap.
1642 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1643 Mouse moved events do not work in DumpRenderTree
1645 Test: fast/events/event-sender-mouse-moved.html
1647 * DumpRenderTree/DumpRenderTree.m:
1648 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1650 2006-03-04 Eric Seidel <eseidel@apple.com>
1654 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1655 Disable background erase to avoid tearing.
1656 Fix potential memory smasher from extra long urls.
1658 * Spinneret/Spinneret/Spinneret.cpp:
1660 * Spinneret/Spinneret/Spinneret.vcproj:
1661 * Spinneret/Spinneret/WebFrame.cpp:
1662 (WebKit::WebFrame::loadFilePath):
1663 (WebKit::WebFrame::paint):
1664 * Spinneret/Spinneret/WebView.cpp:
1665 (WebKit::registerWebViewWithInstance):
1667 2006-03-04 Eric Seidel <eseidel@apple.com>
1671 Hang WebView pointer off of HWND (gets rid of global hack).
1672 Remove MessageBox displayed on url change.
1674 * Spinneret/Spinneret/Spinneret.cpp:
1677 * Spinneret/Spinneret/WebView.cpp:
1678 (WebKit::registerWebViewWithInstance):
1679 (WebKit::WebView::createWebView):
1680 (WebKit::WebViewWndProc):
1682 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
1686 Automatically kill httpd if it appears to be already running.
1688 * Scripts/run-webkit-tests:
1690 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1694 * Spinneret/Spinneret/WebFrame.cpp:
1695 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1697 2006-03-03 Eric Seidel <eseidel@apple.com>
1701 A few more fixes to make run-webkit-tests really work on win32.
1703 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1705 * Scripts/run-webkit-tests:
1707 2006-03-03 Eric Seidel <eseidel@apple.com>
1711 Make run-webkit-tests work on win32.
1713 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1715 (dumpRenderTreeMain):
1716 (dumpRenderTreeToStdOut):
1717 (serializeToStdOut):
1719 * Scripts/run-webkit-tests:
1720 * Scripts/webkitdirs.pm:
1721 * Spinneret/Spinneret/WebView.cpp:
1722 (WebKit::WebView::WebView):
1724 2006-03-03 Eric Seidel <eseidel@apple.com>
1728 Add WebFrame class (to hold Frame and FrameView).
1729 Add Location bar support to Spinneret.
1731 * Spinneret/Spinneret/Spinneret.cpp:
1736 * Spinneret/Spinneret/Spinneret.vcproj:
1737 * Spinneret/Spinneret/WebFrame.cpp: Added.
1738 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1739 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1740 (WebKit::WebFrame::WebFrame):
1741 (WebKit::WebFrame::loadFilePath):
1742 (WebKit::WebFrame::loadHTMLString):
1743 (WebKit::WebFrame::paint):
1744 (WebKit::WebFrame::impl):
1745 (WebKit::WebFrame::viewImpl):
1746 * Spinneret/Spinneret/WebFrame.h: Added.
1747 * Spinneret/Spinneret/WebView.cpp:
1748 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1749 (WebKit::WebView::WebView):
1750 (WebKit::WebView::windowHandle):
1751 (WebKit::WebView::mainFrame):
1752 (WebKit::WebView::mouseMoved):
1753 (WebKit::WebView::mouseDown):
1754 (WebKit::WebView::mouseUp):
1755 (WebKit::WebView::mouseDoubleClick):
1756 (WebKit::WebViewWndProc):
1757 * Spinneret/Spinneret/WebView.h:
1759 2006-03-02 Eric Seidel <eseidel@apple.com>
1763 * Spinneret/Spinneret/WebView.cpp:
1764 (WebKit::registerWebViewWithInstance):
1765 (WebKit::WebView::WebView):
1766 (WebKit::WebView::mouseMoved):
1767 (WebKit::WebView::mouseDown):
1768 (WebKit::WebView::mouseUp):
1769 (WebKit::WebView::mouseDoubleClick):
1770 (WebKit::WebViewWndProc):
1771 * Spinneret/Spinneret/WebView.h:
1773 2006-03-01 Eric Seidel <eseidel@apple.com>
1775 Reviewed by andersca.
1777 Make spinneret take advantage of the new GraphicsContextCairo.
1779 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1780 (main): updated to match style guidelines.
1781 * Spinneret/Spinneret/Spinneret.cpp:
1783 * Spinneret/Spinneret/WebView.cpp:
1784 (WebKit::registerWebViewWithInstance):
1785 (WebKit::WebView::WebView):
1786 (WebKit::WebView::~WebView):
1787 (WebKit::WebView::drawRect):
1789 * Spinneret/Spinneret/WebView.h:
1791 2006-03-01 Justin Garcia <justin.garcia@apple.com>
1795 Give the events that eventSender sends a unique eventNumber
1797 * DumpRenderTree/DumpRenderTree.m:
1798 (-[EventSendingController mouseDown]):
1799 (-[EventSendingController mouseUp]):
1800 (-[EventSendingController mouseMoveToX:Y:]):
1802 2006-03-01 Eric Seidel <eseidel@apple.com>
1806 Add a stub win32 application to test WebCore drawing on windows.
1809 * Spinneret/Spinneret: Added.
1810 * Spinneret/Spinneret.sln: Added.
1811 * Spinneret/Spinneret/Resource.h: Added.
1812 * Spinneret/Spinneret/Spinneret.cpp: Added.
1818 * Spinneret/Spinneret/Spinneret.h: Added.
1819 * Spinneret/Spinneret/Spinneret.ico: Added.
1820 * Spinneret/Spinneret/Spinneret.rc: Added.
1821 * Spinneret/Spinneret/Spinneret.vcproj: Added.
1822 * Spinneret/Spinneret/WebView.cpp: Added.
1823 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1824 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1825 (WebKit::registerWebViewWithInstance):
1826 (WebKit::WebView::createWebView):
1827 (WebKit::WebView::WebView):
1828 (WebKit::WebView::~WebView):
1829 (WebKit::WebView::drawRect):
1830 (WebKit::WebView::windowHandle):
1832 * Spinneret/Spinneret/WebView.h: Added.
1833 * Spinneret/Spinneret/small.ico: Added.
1834 * Spinneret/Spinneret/stdafx.cpp: Added.
1835 * Spinneret/Spinneret/stdafx.h: Added.
1837 2006-02-28 Eric Seidel <eseidel@apple.com>
1841 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1842 (main): add ability to dump render tree and read from a local file.
1844 2006-02-27 Eric Seidel <eseidel@apple.com>
1848 * Scripts/install-win-extras: fix dll permissions & download zlib too.
1850 2006-02-27 Eric Seidel <eseidel@apple.com>
1854 Test new KConfig -> PlugInInfoStore change.
1855 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1857 * DumpRenderTree/DumpRenderTree.m:
1858 (main): load test netscape plugin
1859 * Scripts/run-webkit-tests: style update
1861 2006-02-24 Eric Seidel <eseidel@apple.com>
1865 Make DumpRenderTree link against icu.
1867 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1869 2006-02-24 Eric Seidel <eseidel@apple.com>
1873 Make DumpRenderTree link against libxml, etc.
1875 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1877 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1879 Reviewed and landed by Anders.
1881 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1882 getting called from the run loop, making the view render each test and thus slowing
1885 * DumpRenderTree/DumpRenderTree.m:
1886 (main): Set the offscreen window to not autodisplay.
1888 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1892 - Turn http tests back on by default.
1893 - Wait for Apache to actually start serving requests.
1894 - Get user id from a built-in variable rather than an external command;
1895 don't pass the group.
1897 * Scripts/run-webkit-tests:
1899 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1901 Suggested by Mitz Pettel, reviewed by Darin.
1903 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1904 can run CGIs even if the permissions are 700 or 600.
1906 2006-02-23 Darin Adler <darin@apple.com>
1908 Collaborating with Alexey.
1910 - turn off http tests by default until we figure out how to get them
1911 to run even when permissions on CGI files are 700 instead of 755
1913 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1915 2006-02-23 Eric Seidel <eseidel@apple.com>
1917 Add *.user to ignore list.
1919 2006-02-23 Eric Seidel <eseidel@apple.com>
1921 Remove binary file which shouldn't have been commited (and add to ignore list).
1923 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1924 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1926 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1930 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1932 2006-02-22 Eric Seidel <eseidel@apple.com>
1934 Reviewed by Tim Hatcher.
1936 Fix install-win-extras to not try to re-install setx if installed.
1938 * Scripts/install-win-extras:
1940 2006-02-22 Eric Seidel <eseidel@apple.com>
1942 One more file possibly missing from previous commit?
1944 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1945 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1947 2006-02-22 Eric Seidel <eseidel@apple.com>
1949 Reviewed by justing.
1951 Files missing from previous commit.
1953 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1954 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1956 2006-02-22 Eric Seidel <eseidel@apple.com>
1958 Rubber-stamped by justing.
1960 Corrected path for DumpRenderTree.intermediate files
1962 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1964 2006-02-22 Eric Seidel <eseidel@apple.com>
1966 Reviewed by justing.
1968 Fixed build-dumprendertree to exit with correct error codes.
1970 * Scripts/build-dumprendertree:
1972 2006-02-22 Eric Seidel <eseidel@apple.com>
1974 Reviewed by justing.
1976 Update build scripts to generalize building on Win32, and allow
1977 building of DumpRenderTree on Win32 from build-dumprendertree.
1979 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1981 * Scripts/build-dumprendertree:
1982 * Scripts/build-webkit:
1983 * Scripts/webkitdirs.pm:
1985 2006-02-22 Eric Seidel <eseidel@apple.com>
1989 * DumpRenderTree/DumpRenderTree.vcproj: Added.
1990 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1991 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1992 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1993 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1994 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1996 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1997 * Scripts/build-webkit: make build-webkit cleanup after itself
1999 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2003 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2004 Some minor fixes to http tests.
2006 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2008 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2012 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2013 Would like to use locally installed Apache for testing.
2015 Added two run-webkit-tests options:
2016 --http (--nohttp) - whether to launch Apache (defaults to yes);
2017 --port - which port to listen on (defaults to 8000).
2019 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2020 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2021 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2023 Also added support for .shtml and .text files. Text files give an empty
2024 *-expected.txt, but a correct image.
2026 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2028 * Scripts/run-webkit-tests:
2030 2006-02-21 Darin Adler <darin@apple.com>
2032 Suggested by Mark Rowe.
2034 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2035 reporting leak counts.
2037 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2041 - Added install-win-extras script which installs some extra
2042 programs and libraries, and does Windows first-time setup.
2044 * Scripts/build-webkit: Add a newline between build results.
2045 * Scripts/install-win-extras: Added.
2047 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2051 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2052 DumpRenderTree should be able to load files via HTTP
2054 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2055 Handle tests starting with "http://" as real URLs, not file system paths.
2057 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2061 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2062 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2064 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2066 2006-02-18 Darin Adler <darin@apple.com>
2068 * Scripts/commit-log-editor: Added.
2070 2006-02-17 Eric Seidel <eseidel@apple.com>
2074 Make Win32 have the same default "WebKitBuild" directory behavior.
2076 * Scripts/build-webkit:
2077 * Scripts/webkitdirs.pm:
2079 2006-02-17 Eric Seidel <eseidel@apple.com>
2083 * Scripts/build-webkit: make win32 actually report errors
2085 2006-02-17 Eric Seidel <eseidel@apple.com>
2089 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2091 2006-02-17 Eric Seidel <eseidel@apple.com>
2095 * Scripts/run-webkit-tests: Ignore flash leaks
2097 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2101 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2102 Add drag and drop support to DumpRenderTree
2104 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2105 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2107 * DumpRenderTree/DumpRenderTree.m:
2109 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2110 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2111 (-[WaitUntilDoneDelegate webViewFocus:]):
2112 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2113 (+[LayoutTestController webScriptNameForSelector:]):
2114 (-[LayoutTestController setWindowIsKey:]):
2115 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2116 (-[EventSendingController init]):
2117 (-[EventSendingController mouseDown]):
2118 (-[EventSendingController mouseUp]):
2119 (-[EventSendingController mouseMoveToX:Y:]):
2121 (-[DumpRenderTreeWindow isKeyWindow]):
2122 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2123 (-[DumpRenderTreeDraggingInfo dealloc]):
2124 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2125 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2126 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2127 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2128 (-[DumpRenderTreeDraggingInfo draggedImage]):
2129 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2130 (-[DumpRenderTreeDraggingInfo draggingSource]):
2131 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2132 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2133 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2134 * DumpRenderTree/TextInputController.m:
2135 (-[TextInputController firstRectForCharactersFrom:length:]):
2136 (-[TextInputController characterIndexForPointX:Y:]):
2138 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2142 * DumpRenderTree/DumpRenderTree.m:
2143 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2144 Added a dummy method for the sake of LayoutTests/plugins/
2145 undefined-property-crash.html. (It tests a crash due to fallback
2146 object use. WebCore won't create a fallback object if the method is
2149 2006-02-14 Eric Seidel <eseidel@apple.com>
2153 * Scripts/run-webkit-tests: added --results-directory (-o) option
2155 2006-02-09 Eric Seidel <eseidel@apple.com>
2157 Rubber-stamped by mjs.
2159 Renamed split-class to split-file-by-class.
2161 * Scripts/build-webkit: Updated copyright.
2162 * Scripts/split-class: Removed.
2163 * Scripts/split-file-by-class: Added.
2165 2006-02-08 Eric Seidel <eseidel@apple.com>
2167 Rubber-stamped by mjs.
2169 Adding new script for splitting multi-class files.
2170 Also adding supporting perl module with space removing heuristics.
2172 * Scripts/SpacingHeuristics.pm: Added.
2173 * Scripts/build-drawtest: updated copyright header
2174 * Scripts/split-class: Added.
2176 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2178 Reviewed by thatcher
2180 Changes to test fix for:
2181 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2182 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2184 * DumpRenderTree/DumpRenderTree.m:
2185 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2186 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2187 (+[LayoutTestController webScriptNameForSelector:]):
2188 (-[LayoutTestController setWindowHasFocus:]):
2189 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2191 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2193 Reviewed by Timothy.
2195 Support automated testing of AppleScript "do JavaScript" command
2196 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2198 * DumpRenderTree/AppleScriptController.h: Added.
2199 * DumpRenderTree/AppleScriptController.m: Added.
2200 * DumpRenderTree/DumpRenderTree.m:
2201 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2202 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2204 2006-02-06 Eric Seidel <eseidel@apple.com>
2208 Fix build-webkit for use on win32 (unblocks buildbot usage).
2209 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2211 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2212 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2214 2006-02-06 Eric Seidel <eseidel@apple.com>
2216 Rubber-stamped by darin & mjs.
2218 Added new support directory for build slave scripts.
2219 Committing the first script, for use by the PLT's build slave.
2220 This script is used to kick of the PLT (Page Load Test) slave.
2222 * BuildSlaveSupport: Added.
2223 * BuildSlaveSupport/run-performance-tests: Added.
2225 2006-02-06 Eric Seidel <eseidel@apple.com>
2227 Rubber-stamped by darin.
2229 Adding setSourceDir for scripts stored in non-standard locations.
2231 * Scripts/webkitdirs.pm:
2233 2006-02-04 Darin Adler <darin@apple.com>
2235 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2236 Configuration files that say Development or Deployment in them.
2238 2006-02-04 Darin Adler <darin@apple.com>
2240 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2241 wrapper already in the directory.
2242 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2243 these haven't been working at all.
2244 * Scripts/svn-unapply: Ditto.
2246 2006-02-03 Timothy Hatcher <timothy@apple.com>
2250 Renamed configuration names to Debug, Release and Production.
2252 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2253 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2254 * Scripts/set-webkit-configuration:
2255 * Scripts/webkitdirs.pm:
2257 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2259 Reviewed by thatcher
2261 Enabled spell checking for layout tests.
2263 * DumpRenderTree/DumpRenderTree.m:
2266 2006-01-29 Darin Adler <darin@apple.com>
2268 * Scripts/svn-apply: Added comments about things we should do to improve.
2269 * Scripts/svn-create-patch: Ditto.
2270 * Scripts/svn-unapply: Ditto.
2272 2006-01-28 Darin Adler <darin@apple.com>
2274 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2275 already there, even if the checksum is correct.
2277 2006-01-27 Eric Seidel <eseidel@apple.com>
2281 * Scripts/run-webkit-tests: make new tests use absolute urls
2283 2006-01-27 Eric Seidel <eseidel@apple.com>
2287 make run-webkit-tests output total leaks count
2289 * Scripts/run-webkit-tests:
2291 2006-01-27 Eric Seidel <eseidel@apple.com>
2295 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2296 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2298 * Scripts/run-webkit-tests: fix --leaks to not crash
2300 2006-01-26 Eric Seidel <eseidel@apple.com>
2304 run-webkit-tests should produce a self-contained results directory
2305 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2307 * Scripts/run-webkit-tests: copy failing items to results dir.
2309 2006-01-23 Darin Adler <darin@apple.com>
2311 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2312 need script to update localizable strings file in WebKit
2314 * Scripts/update-webkit-localizable-strings: Added.
2316 2006-01-23 Darin Adler <darin@apple.com>
2318 - added a couple of scripts -- more about these two soon
2320 * Scripts/extract-localizable-strings: Added.
2321 * Scripts/merge-changelog: Added.
2323 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2327 Build fix. build-webkit dies with "invalid build action: (empty string)"
2329 * Scripts/build-webkit:
2330 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2332 2006-01-22 Eric Seidel <eseidel@apple.com>
2336 Fix --no-svg option to use XCode flags instead of gcc flags.
2338 * Scripts/build-webkit:
2340 2006-01-22 Eric Seidel <eseidel@apple.com>
2344 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2346 * Scripts/build-webkit:
2348 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2350 Reviewed by eseidel.
2352 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2353 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2355 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2356 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2358 2006-01-19 Darin Adler <darin@apple.com>
2360 * Scripts/report-include-statistics: Added a new script.
2362 2006-01-19 Timothy Hatcher <timothy@apple.com>
2364 * Scripts/build-webkit: include JavaScriptGlue in the build
2366 2006-01-19 Darin Adler <darin@apple.com>
2368 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2369 spaces in it by using the form of open that treats each argument as a string
2370 rather than backtick syntax for reading the output of the nm tool.
2372 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2376 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2377 detect if there are any new tests
2379 * Scripts/prepare-ChangeLog:
2381 2006-01-12 Darin Adler <darin@apple.com>
2383 - removed some of the cvs-specific scripts -- not needed for this project any more
2385 * Scripts/cvs-abandon: Removed.
2386 * Scripts/cvs-apply: Removed.
2387 * Scripts/cvs-create-patch: Removed.
2388 * Scripts/cvs-unapply: Removed.
2390 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2392 Reviewed by eseidel. Committed by eseidel.
2394 - run-webkit-tests always launches Safari when tests fail
2395 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2397 * Scripts/run-webkit-tests:
2398 Add a command-line flag to prevent Safari being launched to display failed
2399 tests. Always exit with non-zero status when tests have failed.
2401 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2403 Reviewed by eseidel. Committed by eseidel.
2405 - build-webkit should exit with non-zero status when build fails
2406 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2408 * Scripts/build-webkit:
2409 Use correct bits of subprocess exit code when passing back through
2410 as build-webkit's exit code.
2412 2006-01-10 Eric Seidel <eseidel@apple.com>
2414 Restored corrupted nibs from TOT CVS.
2416 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2417 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2418 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2419 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2420 * DrawTest/English.lproj/Inspector.nib: Replaced.
2421 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2422 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2423 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2424 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2425 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2426 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2427 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2428 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2429 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2430 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2431 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2433 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2435 Reviewed by eseidel. Committed by eseidel.
2437 DrawTestView now subclasses WebView instead of DrawView.
2439 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2440 * DrawTest/DrawTestDocument.h:
2441 * DrawTest/DrawTestDocument.m:
2442 (-[DrawTestDocument dealloc]):
2443 (-[DrawTestDocument readFromFile:ofType:]):
2444 (-[DrawTestDocument windowControllerDidLoadNib:]):
2445 (-[DrawTestDocument dumpSVGToConsole:]):
2446 (-[DrawTestDocument openSourceForSelection:]):
2447 (-[DrawTestDocument dataRepresentationOfType:]):
2448 * DrawTest/DrawTestToolbarController.h:
2449 * DrawTest/DrawTestToolbarController.m:
2450 (-[DrawTestToolbarController initWithDrawView:]):
2451 (-[DrawTestToolbarController clickedToolbarItem:]):
2452 (-[DrawTestToolbarController validateToolbarItem:]):
2453 * DrawTest/DrawTestView.h:
2454 * DrawTest/DrawTestView.m:
2455 (-[DrawTestView initWithFrame:]):
2456 (-[DrawTestView setDocument:]):
2457 * DrawTest/SVGTest.h:
2458 * DrawTest/SVGTest.m:
2459 (+[SVGTest sharedDrawView]):
2460 (-[SVGTest generateCompositeIfNecessary]):
2461 * DrawTest/TestController.h:
2462 * DrawTest/TestController.m:
2463 (-[TestController awakeFromNib]):
2464 (-[TestController setSelectedTest:]):
2465 (-[TestController openTestViewerForSelection:]):
2466 (-[TestController toggleViewersScaleRule:]):
2467 * DrawTest/TestViewerSplitView.m:
2468 (-[TestViewerSplitView drawRect:]):
2470 2006-01-10 Anders Carlsson <andersca@mac.com>
2472 Reviewed by Timothy.
2474 * DumpRenderTree/DumpRenderTree.m:
2475 (main): Set the default language to "en", so language tests will work.
2477 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2481 - script to generate HTML wrappers for JS tests
2482 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2484 * Scripts/make-js-test-wrappers: Added.
2486 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2490 * Scripts/svn-create-patch: Fix to work when passed directory names.
2492 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2496 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2497 can start writing automated loader tests now. I have one in the works.
2499 * DumpRenderTree/DumpRenderTree.m:
2500 (main): Construct global navigationController on entry, destroy on exit.
2501 Set frame to nil on exit too, to match all the other global objects.
2502 (Probably academic, since the process is exiting, anyway.)
2503 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2504 navigationController, in case it wants to kick off a load.
2505 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2506 the navigationController to scripting.
2508 New class, should be straightforward:
2510 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2511 * DumpRenderTree/NavigationController.h: Added.
2512 * DumpRenderTree/NavigationController.m: Added.
2514 (+[NavigationController isSelectorExcludedFromWebScript:]):
2515 (+[NavigationController webScriptNameForSelector:]):
2516 (-[NavigationController setPendingScript:]):
2517 (-[NavigationController setPendingRequest:]):
2518 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2519 (-[NavigationController webView:didFinishLoadForFrame:]):
2520 (-[NavigationController dealloc]):
2522 2006-01-08 Timothy Hatcher <timothy@apple.com>
2524 Removed this script, no longer needs with the Subversion switch.
2526 * checkout: Removed.
2528 2006-01-08 Timothy Hatcher <timothy@apple.com>
2530 Removes some stray tabs.
2532 * Scripts/update-webkit:
2534 2005-01-07 Eric Seidel <eseidel@apple.com>
2538 build-webkit should pass on build arguments from command line
2539 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2541 * Scripts/build-webkit:
2543 2006-01-07 Eric Seidel <eseidel@apple.com>
2545 Reviewed by mjs & xenon.
2547 * Scripts/update-webkit: support Internal updates as well
2549 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2551 Temporarily rolling out plugin support from DumpRenderTree because it
2552 caused lots of layout test regressions.
2554 * DumpRenderTree/DumpRenderTree.m:
2555 (main): Remove invisible window added to support plugins.
2557 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2561 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2562 Add plugin support to DumpRenderTree
2564 Also wrote first test plugin.
2566 * DumpRenderTree/DumpRenderTree.m:
2568 (1) Put the WebView in an invisible window, because PlugIns are
2569 optimized not to load if there's no parent window.
2570 (2) Tell WebKit to load any PlugIns in the directory from which we
2571 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2572 and they'll load automagically during layout testing, but they won't be
2573 added to the user's system, hosing apps like Safari.
2575 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2576 test PlugIn to project.
2578 PlugIn added to project:
2580 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2581 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2583 (initializeIdentifiers):
2584 (pluginHasProperty):
2586 (pluginGetProperty):
2587 (pluginSetProperty):
2589 (pluginInvokeDefault):
2593 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2594 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2596 (NP_GetEntryPoints):
2602 (NPP_DestroyStream):
2612 2006-01-04 Timothy Hatcher <timothy@apple.com>
2616 Tweaked and tested by me.
2618 New scripts to work with Subversion when the switch happens.
2619 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2621 * Scripts/svn-apply: Added.
2622 * Scripts/svn-create-patch: Added.
2623 * Scripts/svn-unapply: Added.
2625 2005-12-30 Eric Seidel <eseidel@apple.com>
2629 Move WebView width/height logic into DumpRenderTree to support
2630 running the W3C SVG 1.1 tests along side other tests. The W3C
2631 SVG 1.1 tests require a 480x360 view.
2633 * DumpRenderTree/DumpRenderTree.m:
2634 (main): don't accept width/height
2635 (dump): override width/height for SVG/W3C
2636 * Scripts/run-webkit-tests: don't pass width/height
2638 2005-12-30 Eric Seidel <eseidel@apple.com>
2640 No review, only removing dead code.
2642 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2643 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2645 2005-12-30 Eric Seidel <eseidel@apple.com>
2649 DumpRenderTree should set a consistent color profile while running
2650 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2652 Creates consistent colormatched renderings on every test machine
2653 using the only way possible with Tiger APIs: by setting the
2654 system color profile on the test machine for the duration of the
2655 tests. This will (unfortunately) cause colors to change while
2656 running DumpRenderTree. This can also cause "permanent" color
2657 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2658 This is far from ideal, but it's be best way we've found to deal
2659 with the issue for now.
2661 * DumpRenderTree/DumpRenderTree.m:
2662 (restoreColorSpace):
2663 (setDefaultColorProfileToRGB):
2666 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2668 Reviewed by Darin Adler.
2670 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2671 cvs-create-patch --include produces incorrect paths
2673 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2675 2005-12-19 Eric Seidel <eseidel@apple.com>
2679 * Scripts/run-webkit-tests: stop /etc/catalog warnings
2681 2005-12-19 Darin Adler <darin@apple.com>
2683 Reviewed by Eric Seidel.
2685 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2686 WebKit needs to use a local pasteboard during testing
2688 * DumpRenderTree/DumpRenderTree.m:
2689 (main): Call poseAs to substitute our NSPasteboard class for the default one.
2690 Create a local pasteboard (really a global one with a unique name) and release
2691 it when exiting from the function so we don't leave it in the pasteboard server.
2692 (dumpRenderTree): Added an autorelease pool around one small bit of code that
2693 ddn't have one. Fixed a leak in an unlikely error case.
2694 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2695 of this method to return our local pasteboard.
2697 2005-12-15 Eric Seidel <eseidel@apple.com>
2699 Reviewed by Tim Hatcher.
2701 * Scripts/build-webkit: --svg is now default!
2703 2005-12-15 Eric Seidel <eseidel@apple.com>
2707 Don't run svg test automatically if +SVG is built (yet).
2709 * Scripts/run-webkit-tests:
2711 2005-12-15 Darin Adler <darin@apple.com>
2713 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2714 support is not compiled in. Report the 10 slowest tests if "--slowest" is
2715 passed on the command line.
2717 2005-12-06 John Sullivan <sullivan@apple.com>
2719 Reviewed by Darin Adler.
2721 * Scripts/prepare-ChangeLog:
2722 Remove special-case handling for nib files. This avoided trouble with cvs diff
2723 when we were using wrappers for nib files. Now that we aren't using wrappers,
2724 there's no reason to avoid adding the modified nib files to the file list that
2727 2005-12-05 Eric Seidel <eseidel@apple.com>
2731 Script updates for SVG files move (remove references to SVGSupport)
2733 * Scripts/build-webkit: remove SVGSupport
2734 * Scripts/run-webkit-tests: Resources -> resources for --svg
2735 * Scripts/update-webkit: remove SVGSupport
2737 2005-12-05 Eric Seidel <eseidel@apple.com>
2741 * checkout: remove --svg support, SVG is now checked out by default
2743 2005-11-29 Eric Seidel <eseidel@apple.com>
2747 Update scripts to run SVG tests automatically (w/o --svg) if
2748 WebCore is built with SVG support.
2750 * Scripts/build-drawtest: SVG support required
2751 * Scripts/build-dumpkcanvastree: Removed.
2752 * Scripts/run-drawtest: SVG support required to run
2753 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2754 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2756 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
2758 Reviewed by Darin. Committed by Maciej.
2760 - fixed "DumpRenderTree should test for Ahem before doing anything else"
2761 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2763 * DumpRenderTree/DumpRenderTree.m:
2766 2005-11-28 Eric Seidel <eseidel@apple.com>
2768 Reviewed by sullivan and GGAREN.
2770 Minor additions to make error messages more clear from cvs-apply.
2772 * Scripts/cvs-apply: make errors more clear
2774 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2776 Reviewed and committed by Maciej.
2778 - fixed cvs-create-patch --include produces incorrect paths
2779 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2781 * Scripts/cvs-create-patch: produce proper paths for new files.
2783 2005-11-21 Eric Seidel <eseidel@apple.com>
2787 Some simple fixes to the build/test scripts now that SVG uses the
2788 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
2789 or symlinks for KDOM.
2791 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2792 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2793 * Scripts/run-webkit-tests: now runs SVG tests using DRT
2794 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
2795 * checkout: no longer symlink kdom
2797 2005-11-10 Eric Seidel <eseidel@apple.com>
2801 * Scripts/build-webkit: Pass through options to xcodebuild
2803 2005-11-07 Darin Adler <darin@apple.com>
2805 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2807 2005-11-03 John Sullivan <sullivan@apple.com>
2811 * Scripts/run-safari:
2812 changed message to say "Starting Safari" instead of odd "Start Safari"
2813 * Scripts/run-webkit-tests:
2814 changed the way we pass the file parameter to use -NSOpen rather than relying on
2815 unlabeled arguments being treated as files. This was failing on some machines that
2816 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2818 2005-10-27 Geoffrey Garen <ggaren@apple.com>
2820 Patch by Alexey Proskuryakov.
2824 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2825 TextInputController should support attributed strings
2827 * DumpRenderTree/TextInputController.m:
2828 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2829 (+[NSMutableAttributedString webScriptNameForSelector:]):
2830 (-[NSMutableAttributedString getLength]):
2831 (-[NSMutableAttributedString attributeNamesAtIndex:]):
2832 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2833 (-[NSMutableAttributedString addAttribute:value:]):
2834 (-[NSMutableAttributedString addAttribute:value:from:length:]):
2835 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2836 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2837 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2838 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2839 (+[TextInputController isSelectorExcludedFromWebScript:]):
2840 (+[TextInputController webScriptNameForSelector:]):
2841 (-[TextInputController insertText:]):
2842 (-[TextInputController attributedSubstringFrom:length:]):
2843 (-[TextInputController attributedStringWithString:]):
2845 2005-10-11 Eric Seidel <eseidel@apple.com>
2849 Checks for leaks in ImageDiff too.
2851 * Scripts/run-webkit-tests:
2853 2005-10-09 Darin Adler <darin@apple.com>
2855 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2856 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2857 * Scripts/cvs-unapply: Ditto.
2858 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2860 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
2862 Reviewed, rearranged and landed by Darin.
2864 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2865 Need a way to automatically test for regressions in NSTextInput implementation
2867 * DumpRenderTree/DumpRenderTree.m:
2868 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2869 Create a text input controller and put it in a property of the window object.
2871 * DumpRenderTree/TextInputController.h: Added.
2872 * DumpRenderTree/TextInputController.m: Added.
2873 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2875 2005-10-06 Darin Adler <darin@apple.com>
2877 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2878 are controlled by cvs, or when changes cross multiple repositories.
2879 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2881 2005-10-03 Eric Seidel <eseidel@apple.com>
2885 Make mouseDown and mouseUp force layout before acting.
2886 This is used by a new test case for 4233558.
2888 * DumpRenderTree/DumpRenderTree.m:
2889 (-[EventSendingController mouseDown]): force layout
2890 (-[EventSendingController mouseUp]): force layout
2892 2005-09-30 Eric Seidel <eseidel@apple.com>
2896 Updated all the scripts for the move:
2897 WebCore/layout-tests -> LayoutTests
2899 * Scripts/check-dom-results:
2900 * Scripts/prepare-ChangeLog:
2901 * Scripts/run-webkit-tests:
2902 * Scripts/update-webkit: added --no-tests
2903 * checkout: added --no-tests
2905 2005-09-28 Darin Adler <darin@apple.com>
2907 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2908 pixel test should run even if render trees differ
2910 * Scripts/run-webkit-tests: Don't check if the text dump matches.
2912 2005-09-27 Eric Seidel <eseidel@apple.com>
2914 No review needed, SVG build fix only.
2916 * DumpKCanvasTree/DumpKCanvasTree.m:
2917 Missed one in my previous checkin.
2918 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2920 2005-09-26 Eric Seidel <eseidel@apple.com>
2922 No review needed, SVG build fix only.
2924 * DrawTest/DrawTestDocument.m:
2925 * DrawTest/DrawTestToolbarController.m:
2926 * DrawTest/DrawTestView.h:
2927 * DrawTest/DrawTestView.m:
2928 * DrawTest/SVGTest.m:
2929 * DrawTest/TestController.m:
2930 Updated for WebCore+SVG -> WebCore rename.
2931 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2933 2005-09-26 Eric Seidel <eseidel@apple.com>
2937 * DumpRenderTree/DumpRenderTree.m:
2938 (dump): updated error message
2939 * Scripts/check-dom-results: now includes xhtml
2940 Tool updates for xhtml.
2941 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2943 2005-09-22 Duncan Wilcox <duncan@mclink.it>
2948 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2949 "Would like to simulate human interaction with webview"
2951 * DumpRenderTree/DumpRenderTree.m:
2952 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2953 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2954 (+[EventSendingController webScriptNameForSelector:]):
2955 (-[EventSendingController init]):
2956 (-[EventSendingController mouseDown]):
2957 (-[EventSendingController mouseUp]):
2958 (-[EventSendingController mouseMoveToX:Y:]):
2959 Add eventSender javascript object, that sends fake mouse events to the webview.
2961 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2962 link with Carbon.framework
2964 2005-09-22 Eric Seidel <eseidel@apple.com>
2968 Update tools for WebCore+SVG -> WebCore rename.
2969 Also fold several SVG specific tools into their original
2970 WebCore counterparts.
2971 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2973 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2974 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2975 * Scripts/build-drawtest:
2976 * Scripts/build-dumpkcanvastree:
2977 * Scripts/build-webcore-svg: Removed.
2978 * Scripts/build-webkit: added --svg option
2979 * Scripts/run-drawtest:
2980 * Scripts/run-webkit-tests:
2981 * Scripts/webkitdirs.pm: various additions.
2982 * checkout: added --svg option
2983 * checkout-svg: Removed.
2985 2005-09-19 Eric Seidel <eseidel@apple.com>
2989 * Scripts/run-webkit-tests: added --guard-malloc option
2990 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2992 2005-09-16 Justin Garcia <justin.garcia@apple.com>
2996 Removed a script that is only used by apple internal developers
2998 * Scripts/update-webkitsysteminterface: Removed.
3000 2005-09-16 Adele Peterson <adele@apple.com>
3004 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3006 2005-09-14 Darin Adler <darin@apple.com>
3008 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3009 dumpAsText doesn't work with XHTML documents
3011 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3012 rather than of the body element. This works with typical XHTML documents. We can probably
3013 do something even better in the long run, but this fixes the immediate issue.
3017 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3018 run-safari instead of just using "open", which often runs another copy of Safari instead.
3020 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3022 Reviewed, tweaked, and landed by Darin.
3024 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3025 .Mac prefpane crashes when Safari using CVS WebKit is running
3027 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3028 * Scripts/run-webkit-app: Ditto.
3030 2005-09-11 Darin Adler <darin@apple.com>
3032 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3034 2005-09-11 Darin Adler <darin@apple.com>
3038 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3039 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3040 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3043 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3047 * Scripts/update-webkitsysteminterface: Added.
3048 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3050 2005-09-01 John Sullivan <sullivan@apple.com>
3052 * Scripts/run-webkit-tests:
3053 Excluded a known system leak to reduce noise; added comments about which leaks
3056 2005-09-01 Tim Omernick <tomernick@apple.com>
3058 Change made by Darin, reviewed by John and myself.
3060 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3062 * Scripts/prepare-ChangeLog:
3064 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3068 - set color variant and font settings to a consistent value.
3069 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3071 * DumpRenderTree/DumpRenderTree.m:
3074 2005-08-30 Eric Seidel <eseidel@apple.com>
3078 * Scripts/build-svg2png: Removed.
3079 * svg2png/ImageDiff.h: Removed.
3080 * svg2png/ImageDiff.m: Removed.
3081 * svg2png/svg2png.m: Removed.
3082 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3083 * svg2png/svg2png_Prefix.pch: Removed.
3084 svg2png is no longer needed.
3086 2005-08-30 Darin Adler <darin@apple.com>
3088 * Scripts/check-dom-results: Special case 100% to say something nice.
3089 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3090 applying the patch (need a better name).
3091 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3093 2005-08-30 Darin Adler <darin@apple.com>
3095 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3097 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3101 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3102 (some pixel tests fail when AA settings are changed)
3104 * DumpRenderTree/DumpRenderTree.m:
3105 (main): set AA settings to the default values
3107 2005-08-29 Darin Adler <darin@apple.com>
3109 Reviewed by John Sullivan.
3111 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3112 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3115 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3119 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3120 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3122 * DumpRenderTree/DumpRenderTree.m:
3123 (main): set scrollbar arrow setting to a consistent value
3125 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3127 Reviewed and landed by Darin.
3129 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3130 output of update-webkit is too verbose
3132 * Scripts/update-webkit:
3133 Added option --quiet (-q) to decrease the amount of output.
3135 2005-08-27 Darin Adler <darin@apple.com>
3137 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3138 cvs-create-patch --include-unknowns should ignore hidden files
3140 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3142 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3144 Reviewed, tweaked, and landed by Darin.
3146 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3147 update-webkit doesn't notice when you have SVGSupport and update properly
3149 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3151 2005-08-25 Anders Carlsson <andersca@mac.com>
3153 Reviewed and landed by Darin.
3155 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3156 layout test machinery can't handle tests with applets that have code attributes
3158 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3160 2005-08-24 Darin Adler <darin@apple.com>
3164 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3165 DumpRenderTree --pixel-tests crash
3166 - landed some other small changes I had sitting in my tree
3168 * DumpRenderTree/DumpRenderTree.m:
3169 (main): Don't bother saving and restoring the preferences. Not sure
3170 why this was ever done since the preferences are specific to DumpRenderTree.
3171 Clear delegates before releasing the WebView, because you can't count on the
3172 order of object deallocation.
3173 (dumpRenderTree): Fix code that releases a string before storing it in a
3176 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3177 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3179 2005-08-23 Eric Seidel <eseidel@apple.com>
3183 * Scripts/run-webkit-tests:
3184 Made --leaks option more readable by printing to a file.
3185 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3187 2005-08-22 Eric Seidel <eseidel@apple.com>
3188 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3192 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3193 when they are not needed (for pixel-only failures)
3194 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3196 2005-08-22 Eric Seidel <eseidel@apple.com>
3200 * Scripts/run-webkit-tests: Added the ability to display more than
3201 just two images as part of the image-diff "slideshow".
3202 Added display of "-w3c.png" baseline images for SVG.
3203 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3205 2005-08-20 Eric Seidel <eseidel@apple.com>
3207 * Scripts/run-webkit-tests:
3208 "build" fix after committing incorrect version.
3210 2005-08-20 Eric Seidel <eseidel@apple.com>
3214 * DumpRenderTree/DumpRenderTree.m:
3215 (main): cleans up delegates
3216 (dumpRenderTree): closes CFString/CFURL leak
3217 * Scripts/run-webkit-tests:
3218 Adds --leaks option to run-webkit-tests
3219 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3221 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3225 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3226 new files to be included in the patch even without "cvs add".
3228 2005-08-19 Darin Adler <darin@apple.com>
3230 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3231 non-cvs-generated patches. Anders has been creating these, so it's bad that
3232 the script can't handle them.
3233 * Scripts/cvs-unapply: Ditto.
3235 2005-08-18 Darin Adler <darin@apple.com>
3237 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3238 "." in them -- based on complaint by someone here at Apple.
3240 2005-08-18 Eric Seidel <eseidel@apple.com>
3244 * Scripts/run-webkit-tests:
3245 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3247 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3249 - add file that I forgot in the last checkin
3251 * DumpRenderTree/ImageDiff.m: Added.
3253 (getImageFromStdin):
3255 (getDifferenceBitmap):
3256 (computePercentageDifferent):
3258 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3260 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3261 somewhat by me, and also tweaked by me a little bit.
3263 - better support for pixel-dumping
3264 - use checksums of the images so the tests are fast
3265 - change output format to make the tests run faster
3266 - don't dump pixel results for tests that dump as text
3268 * DumpKCanvasTree/DumpKCanvasTree.m:
3271 (md5HashStringForBitmap):
3273 (constrainSizeToMaximum):
3274 (getBitmapImageRepForSVGDocument):
3275 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3276 * DumpRenderTree/DumpRenderTree.m:
3280 (md5HashStringForBitmap):
3281 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3282 * Scripts/run-webkit-tests:
3284 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3288 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3290 * DumpRenderTree/DumpRenderTree.m:
3293 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3295 Reviewed and landed by Darin.
3297 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3298 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3300 * Scripts/run-safari: Pass arguments through to Safari on command line.
3301 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3303 2005-08-11 Eric Seidel <eseidel@apple.com>
3304 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3306 Reviewed by eseidel.
3308 * DrawTest/TestController.m:
3309 (-[TestController imagePathForSVGPath:]):
3310 Fixed support for using TextViewer with the layout-tests.
3311 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3313 2005-08-11 Maciej Stachowiak <mjs@apple.com>
3315 At Least Roughly Glanced At by Anders.
3317 - fix change with totally breaks the layout tests.
3319 * DumpRenderTree/DumpRenderTree.m:
3320 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3321 load, to avoid dumping twice accidentally.
3323 2005-08-10 Eric Seidel <eseidel@apple.com>
3324 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3328 * DumpRenderTree/DumpRenderTree.m:
3329 Added support for rendering to a PNG file.
3330 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3332 2005-08-07 Eric Seidel <eseidel@apple.com>
3336 * Scripts/run-webkit-tests: added --svg option
3337 * Scripts/run-webkit-tests-svg: Removed.
3338 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
3340 2005-08-07 Eric Seidel <eseidel@apple.com>
3341 Changes by Ben La Monica <ben.lamonica@gmail.com>
3345 * svg2png/ImageDiff.h: Added.
3346 * svg2png/ImageDiff.m: Added.
3347 (getDifferenceBitmap):
3348 (computePercentageDifferent):
3349 (saveAnimatedGIFToFile):
3350 * svg2png/svg2png.m:
3351 (usage): added several new options
3352 (getBitmapForSVG): added NSBitmapImageRep generation
3353 (main): various argument changes.
3354 * svg2png/svg2png.xcodeproj/project.pbxproj:
3355 Several additions to provide image differencing functionality.
3356 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3358 2005-08-07 Eric Seidel <eseidel@apple.com>
3362 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3363 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3364 Adding the first SVG layout tests:
3365 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3367 2005-08-07 Darin Adler <darin@apple.com>
3369 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3371 2005-08-06 Eric Seidel <eseidel@apple.com>
3375 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3376 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3377 * Scripts/build-dumpkcanvastree: Added.
3378 * Scripts/run-webkit-tests-svg: Added.
3379 Adds a DumpRenderTree-like tool for SVG which allows us to do
3380 text-based layout regression testing. This (like most of the
3381 SVG specific stuff) is temporary and will be replaced by
3382 DumpRenderTree once the DOMs and RenderTrees merge.
3383 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3385 2005-08-06 Eric Seidel <eseidel@apple.com>
3389 * DrawTest/DrawTestView.m:
3390 (-[DrawTestView toggleFilterSupport:]): missing negation.
3391 One half of fix for toggling filter support.
3392 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3394 2005-08-04 Eric Seidel <eseidel@apple.com>
3398 * Scripts/build-drawtest:
3399 * Scripts/build-dumprendertree:
3400 * Scripts/build-svg2png:
3401 * Scripts/build-webcore-svg:
3402 * Scripts/build-webkit:
3403 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
3404 Added checkRequiredSystemConfig and made all the build-* scripts
3405 use it to print a pretty warning when trying to compile on an
3406 unsupported system (less than 10.4, Xcode 2.1).
3407 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
3409 2005-08-04 Darin Adler <darin@apple.com>
3411 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
3412 the dead. It was removed by accident when someone was trying to work on the branch.
3414 2005-07-31 Darin Adler <darin@apple.com>
3416 - a little tools cleanup
3418 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
3419 project as a whole. Removed unused Default configuration.
3421 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
3423 2005-07-31 Duncan Wilcox <duncan@mclink.it>
3425 Reviewed and landed by Darin Adler.
3427 Add logging of editing delegate calls for regression checking.
3429 * DumpRenderTree/DumpRenderTree.m:
3431 setup editing delegate
3433 (-[DOMNode dumpPath]):
3435 utility for editing delegate logging
3437 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3438 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3439 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3440 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3441 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3442 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3443 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3444 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3445 (-[EditingDelegate webViewDidBeginEditing:]):
3446 (-[EditingDelegate webViewDidChange:]):
3447 (-[EditingDelegate webViewDidEndEditing:]):
3448 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3449 log corresponding editing delegate methods
3451 (-[EditingDelegate webViewDidChangeSelection:]):
3452 log selection except when clearing selection after end of test (uses existing "done" flag)
3455 added clearing of selection after test
3457 2005-07-31 Eric Seidel <eseidel@apple.com>
3461 * Scripts/build-drawtest: Added.
3462 * Scripts/build-svg2png: Added.
3463 * Scripts/build-webcore-svg: Added.
3464 * Scripts/run-drawtest: Added.
3465 * Scripts/webkitdirs.pm: added checkSVGFrameworks
3466 Made it much easier to build WebCore+SVG.
3467 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
3469 2005-07-29 Eric Seidel <eseidel@apple.com>
3473 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3474 Build fix. Removed bad path.
3476 2005-07-29 Eric Seidel <eseidel@apple.com>
3478 Reviewed by sullivan.
3480 * DrawTest/AppDelegate.h: Added.
3481 * DrawTest/AppDelegate.m: Added.
3482 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
3483 * DrawTest/DrawTestDocument.h: Added.
3484 * DrawTest/DrawTestDocument.m: Added.
3485 * DrawTest/DrawTestInspectorController.h: Added.
3486 * DrawTest/DrawTestInspectorController.m: Added.
3487 * DrawTest/DrawTestToolbarController.h: Added.
3488 * DrawTest/DrawTestToolbarController.m: Added.
3489 * DrawTest/DrawTestView.h: Added.
3490 * DrawTest/DrawTestView.m: Added.
3491 * DrawTest/DrawTest_Prefix.pch: Added.
3492 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
3493 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
3494 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
3495 * DrawTest/English.lproj/InfoPlist.strings: Added.
3496 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3497 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3498 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3499 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3500 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3501 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3502 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3503 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3504 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3505 * DrawTest/Info.plist: Added.
3506 * DrawTest/SVGTest.h: Added.
3507 * DrawTest/SVGTest.m: Added.
3508 * DrawTest/ScalingImageView.h: Added.
3509 * DrawTest/ScalingImageView.m: Added.
3510 * DrawTest/TestController.h: Added.
3511 * DrawTest/TestController.m: Added.
3512 * DrawTest/TestViewerSplitView.h: Added.
3513 * DrawTest/TestViewerSplitView.m: Added.
3514 * DrawTest/main.m: Added.
3515 Adding simple cocoa app for testing SVG rendering, interaction.
3516 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3518 2005-07-28 Eric Seidel <eseidel@apple.com>
3522 * svg2png/svg2png.m: Added.
3523 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3524 * svg2png/svg2png_Prefix.pch: Added.
3525 Added a simple test tool which dumps a PNG from an SVG using
3526 WebCore+SVG's SVG rendering support.
3527 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3529 2005-07-26 Maciej Stachowiak <mjs@apple.com>
3533 - new script to review the DOM layout test results and see where we stand
3534 on actual success and failure
3536 * Scripts/check-dom-results: Added.
3538 2005-07-25 Darin Adler <darin@apple.com>
3540 * Scripts/webkitdirs.pm: Check in missing line of code.
3542 2005-07-25 Darin Adler <darin@apple.com>
3544 - fixed problem that was causing JavaScriptCore test to fail
3545 (except for people who had set DYLD_FRAMEWORK_PATH)
3547 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
3548 Add code to parse configuration parameter so you can pass --deployment if you like.
3549 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
3551 * Scripts/update-javascriptcore-test-results: Add license header.
3553 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
3554 from @ARGV. This lets us use this option in commands that take other options and
3555 pass them along to a subsequent tool.
3557 2005-07-25 Darin Adler <darin@apple.com>
3559 Reviewed by Geoff Garen.
3561 - Fixed run-safari and gdb-safari to use the Safari application in the build results
3562 directory, if any, falling back to the one in the Applications directory otherwise.
3563 Does no harm for open source contributors who don't build Safari, and helps out the
3564 Safari team, since we do build Safari.
3566 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
3567 variable, and if that's not present, looks in either the build results directory or
3568 /Applications; factors code that was in both scripts before into a shared function.
3569 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
3570 now in Xcode 2.1 format and incompatible with older versions of Xcode.
3572 * Scripts/gdb-safari: Use safariPath.
3573 * Scripts/run-safari: Use safariPath.
3575 2005-07-22 Geoffrey Garen <ggaren@apple.com>
3577 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
3578 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
3580 Moved Tools/Scripts/update-mozilla-js-test-results to
3581 WebKitTools/Scripts/update-javascriptcore-test-results.
3585 * Scripts/run-javascriptcore-tests: Added.
3587 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3591 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
3593 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3595 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
3597 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3599 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
3601 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3603 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
3605 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3607 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
3609 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3611 * Scripts/build-webkit:
3613 2005-07-12 Eric Seidel <eseidel@apple.com>
3617 * checkout-svg: Fixed error with symlink creation.
3619 2005-07-12 Eric Seidel <eseidel@apple.com>
3623 * checkout-svg: Added.
3624 Script to check out WebCore+SVG
3626 2005-06-30 Darin Adler <darin@apple.com>
3628 Changes based on input from Michael Kahl.