1 2006-06-25 Timothy Hatcher <timothy@apple.com>
5 Bug 9568: assertion failure in Safari after quitting Drosera
6 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
8 Call switchToServerNamed:nil and not removeLister to make sure
9 the server object is set to nil to prevent further removeListener calls.
11 * Drosera/DebuggerDocument.m:
12 (-[DebuggerDocument applicationTerminating:]):
14 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
18 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
19 that the directory is not empty instead of reading in every single file and directory first,
20 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
23 2006-06-25 Darin Adler <darin@apple.com>
25 * Scripts/svn-apply: Tweak comments.
26 * Scripts/svn-create-patch: Ditto.
27 * Scripts/svn-unapply: Ditto.
29 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
31 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
33 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
35 * Scripts/svn-apply: Formatting fix.
37 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
41 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
42 Teach svn-apply and svn-unapply to handle directory adds and removes better
44 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
45 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
47 2006-06-25 Timothy Hatcher <timothy@apple.com>
51 Bug 9574: Drosera should show inline scripts within the original HTML
52 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
54 Refactor the JavaScript code to have a distinction between files
55 and scripts. Show the script in the context of the HTML file if
56 it's URL is the same as the frame's main resource. At the time of
57 the disParseScript callback the main resource might not be completely
58 loaded, but Drosera needs to show whatever we have at the time. Once
59 the main resource is finished, update the file source and reload the file.
61 * Drosera/DebuggerDocument.m:
62 (-[DebuggerDocument pause]):
63 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
64 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
65 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
66 * Drosera/debugger.css:
67 * Drosera/debugger.js:
69 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
73 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
74 Teach prepare-ChangeLog to operate on a list of files or directories
76 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
77 * Scripts/svn-create-patch: Code refactoring.
79 2006-06-24 James G. Speth <speth@end.com>
83 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
84 add a way to build Objective-C test cases in HTML
86 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
87 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
88 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
91 * DumpRenderTree/ObjCPlugin.h:
92 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
93 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
94 (+[ObjCPlugin webScriptNameForSelector:]):
95 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
96 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
97 (+[NSObject allowsScriptsFullAccess]):
98 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
99 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
100 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
101 (+[JSObjC webScriptNameForSelector:]):
102 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
103 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
104 (-[JSObjC log:]): access to NSLog function
105 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
106 (-[JSObjC classOfObject:]):
107 (-[JSObjC classNameOfObject:]):
109 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
113 * DrawTest/Info.plist: Added copyright statement.
114 * Drosera/Info.plist: Ditto.
115 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
116 * WebKitLauncher/Info.plist: Ditto.
118 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
120 Build fix. Reviewed by NOBODY.
122 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
123 devenv.com not available in VC++ Express installations
125 * Scripts/webkitdirs.pm: Backed out previous change.
127 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
131 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
132 devenv.com not available in VC++ Express installations
134 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
136 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
140 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
141 A bunch of fixes to run-webkit-httpd
143 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
144 127.0.0.1. Useful for testing with WinIE running on another machine;
145 - don't call checkFrameworks() - we do not need a built WebKit here;
146 - changed tabs to spaces;
147 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
148 interactive mode, they were a hassle when testing with several browsers, as one
149 had to wait for connection to expire);
150 - remove httpd.pid when done, so that Apache doesn't complain next time.
152 * Scripts/run-webkit-httpd:
154 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
156 Reviewed by ggaren, landed by ap.
158 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
159 Complete DOMUIEvent Obj-C API to reflect UIEvent
161 Add function to enable logging of all events of one DOM node to stdout.
163 * DumpRenderTree/EventSendingController.h:
164 * DumpRenderTree/EventSendingController.m:
165 (+[EventSendingController initialize]):
166 (+[EventSendingController isSelectorExcludedFromWebScript:]):
167 (+[EventSendingController webScriptNameForSelector:]):
168 (-[EventSendingController enableDOMUIEventLogging:]):
169 (-[EventSendingController handleEvent:]):
171 2006-06-23 Kevin Decker <kdecker@apple.com>
173 Reviewed by Tim Hatcher.
175 - Made column headers in Drosera resizable.
177 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
181 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
182 Another case error preventing build
184 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
186 2006-06-22 Timothy Hatcher <timothy@apple.com>
190 Adds a native toolbar to Drosera to be a good citizen.
191 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
192 Fixes a dragging bug from an earlier fix to the divider code.
193 Fixes some poor indenting in debugger.js.
195 * Drosera/DebuggerDocument.h:
196 * Drosera/DebuggerDocument.m:
197 (-[DebuggerDocument stepInto]):
198 (-[DebuggerDocument pause:]):
199 (-[DebuggerDocument resume:]):
200 (-[DebuggerDocument stepInto:]):
201 (-[DebuggerDocument windowDidLoad]):
202 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
203 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
204 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
205 (-[DebuggerDocument validateUserInterfaceItem:]):
206 * Drosera/English.lproj/MainMenu.nib/classes.nib:
207 * Drosera/English.lproj/MainMenu.nib/info.nib:
208 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
209 * Drosera/debugger.css:
210 * Drosera/debugger.html:
211 * Drosera/debugger.js:
212 * Drosera/viewer.html:
214 2006-06-22 Kevin Decker <kdecker@apple.com>
218 - Added pressed column header image.
219 - Made column headers behave more like Xcode.
221 2006-06-22 Timothy Hatcher <timothy@apple.com>
223 Reviewed by Kevin Decker.
225 Code clean up. Adds the stackframe and makes only the body
226 of the tables scrollable keeping the header visible.
227 Shows the current function stack when paused or stepping.
229 * Drosera/DebuggerApplication.m:
230 (-[DebuggerApplication awakeFromNib]):
231 (-[DebuggerApplication numberOfRowsInTableView:]):
232 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
233 * Drosera/DebuggerDocument.h:
234 * Drosera/DebuggerDocument.m:
235 (-[DebuggerDocument dealloc]):
236 (-[DebuggerDocument currentFrame]):
237 (-[DebuggerDocument currentFrameFunctionName]):
238 (-[DebuggerDocument currentFunctionStack]):
239 (-[DebuggerDocument log:]):
240 (-[DebuggerDocument windowWillClose:]):
241 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
242 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
243 * Drosera/Drosera.xcodeproj/project.pbxproj:
244 * Drosera/debugger.css:
245 * Drosera/debugger.html:
246 * Drosera/debugger.js:
248 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
252 Teach run-webkit-httpd to properly look for webkitdirs.pm.
254 * Scripts/run-webkit-httpd:
256 2006-06-22 Kevin Decker <kdecker@apple.com>
258 Reviewed by Tim Hatcher.
260 - More progress toward Javascript Debugger.
261 - Added some new images to the project.
263 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
267 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
268 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
270 * Scripts/run-webkit-httpd: Added.
272 2006-06-20 Timothy Hatcher <timothy@apple.com>
276 Builds Drosera and a launcher to include with the nightly.
278 * BuildSlaveSupport/build-launcher-app:
279 * BuildSlaveSupport/build-launcher-dmg:
280 * Drosera/Drosera.xcodeproj/project.pbxproj:
281 * Drosera/Info.plist:
282 * Drosera/LauncherInfo.plist: Added.
283 * Drosera/launcher.m: Added.
284 (displayErrorAndQuit):
285 (checkMacOSXVersion):
288 * Scripts/build-drosera
289 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
290 * WebKitLauncher/main.m:
293 2006-06-20 Timothy Hatcher <timothy@apple.com>
297 Adds a JavaScript debugger, called Drosera. Named after
298 a genus of bug eating plants.
300 * Drosera/DebuggerApplication.h: Added.
301 * Drosera/DebuggerApplication.m: Added.
302 (-[DebuggerApplication applicationDidFinishLaunching:]):
303 (-[DebuggerApplication serverLoaded:]):
304 (-[DebuggerApplication serverUnloaded:]):
305 (-[DebuggerApplication awakeFromNib]):
306 (-[DebuggerApplication showAttachPanel:]):
307 (-[DebuggerApplication attach:]):
308 (-[DebuggerApplication numberOfRowsInTableView:]):
309 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
310 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
311 (-[DebuggerApplication tableViewSelectionDidChange:]):
312 * Drosera/DebuggerDocument.h: Added.
313 * Drosera/DebuggerDocument.m: Added.
314 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
315 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
316 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
317 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
318 (-[DebuggerDocument initWithServerName:]):
319 (-[DebuggerDocument windowWillClose:]):
320 (-[DebuggerDocument dealloc]):
321 (-[DebuggerDocument isPaused]):
322 (-[DebuggerDocument pause]):
323 (-[DebuggerDocument resume]):
324 (-[DebuggerDocument step]):
325 (-[DebuggerDocument windowNibName]):
326 (-[DebuggerDocument windowDidLoad]):
327 (-[DebuggerDocument switchToServerNamed:]):
328 (-[DebuggerDocument applicationTerminating:]):
329 (-[DebuggerDocument serverConnectionDidDie:]):
330 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
331 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
332 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
333 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
334 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
335 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
336 * Drosera/Drosera.pch: Added.
337 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
338 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
339 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
340 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
341 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
342 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
343 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
344 * Drosera/Images/breakPoint.tif: Added.
345 * Drosera/Images/breakPointDisabled.tif: Added.
346 * Drosera/Images/continue.tif: Added.
347 * Drosera/Images/finishFunction.tif: Added.
348 * Drosera/Images/glossyFooterFill.tif: Added.
349 * Drosera/Images/glossyHeader.png: Added.
350 * Drosera/Images/gradientBackground.png: Added.
351 * Drosera/Images/gutter.png: Added.
352 * Drosera/Images/navLeftDisabled.png: Added.
353 * Drosera/Images/navLeftNormal.png: Added.
354 * Drosera/Images/navLeftPressed.png: Added.
355 * Drosera/Images/navRightDisabled.png: Added.
356 * Drosera/Images/navRightNormal.png: Added.
357 * Drosera/Images/navRightPressed.png: Added.
358 * Drosera/Images/pause.tif: Added.
359 * Drosera/Images/popUpArrows.png: Added.
360 * Drosera/Images/programCounter.tif: Added.
361 * Drosera/Images/programCounterBreakPoint.tif: Added.
362 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
363 * Drosera/Images/run.tif: Added.
364 * Drosera/Images/splitterBar.tif: Added.
365 * Drosera/Images/splitterDimple.tif: Added.
366 * Drosera/Images/step.tif: Added.
367 * Drosera/Images/stepOver.tif: Added.
368 * Drosera/Images/stop.tif: Added.
369 * Drosera/Images/toolbarBackground.png: Added.
370 * Drosera/Info.plist: Added.
371 * Drosera/debugger.css: Added.
372 * Drosera/debugger.html: Added.
373 * Drosera/debugger.js: Added.
374 * Drosera/main.m: Added.
376 * Drosera/viewer.css: Added.
377 * Drosera/viewer.html: Added.
379 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
383 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
384 Teach svn-apply and svn-unapply to use full path names
386 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
387 * Scripts/svn-unapply: Ditto.
389 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
393 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
394 DumpRenderTree should be able to keep URL history during runs
396 Test: LayoutTests/fast/history/clicked-link-is-visited.html
398 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
399 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
400 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
401 it is currently nil since keepWebHistory() might be called more than once incidentally
403 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
404 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
406 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
410 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
411 Make prepare-ChangeLog faster
413 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
414 then save the diff output for reuse. Keep a status variable if changes are made to
415 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
416 WebCore is updated. Added -h|--help command-line switch and help message. Move test
417 for no changed files closer to the beginning of the program.
419 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
421 Reviewed and landed by ap.
423 - make DumpRenderTree build
425 * DumpRenderTree/DumpRenderTree.m:
426 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
427 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
428 (-[LayoutTestController setWindowIsKey:]): Ditto.
429 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
431 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
433 Reviewed by Darin, landed by Geoff.
435 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
436 Use pathcmp() when sorting paths in svn-create-patch
438 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
439 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
440 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
441 switch and printUsage() subroutine.
443 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
447 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
448 Teach svn-create-patch to sort its output
450 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
451 by text files first, then by binary files.
453 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
457 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
458 Teach svn-create-patch and friends to work with binary files
460 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
461 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
462 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
464 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
468 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
469 Performance improvement for svn-create-patch
471 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
473 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
477 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
478 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
480 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
481 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
483 2006-06-03 Steve Falkenburg <sfalken@apple.com>
487 Switch Spinneret to new hosting mechanism
489 * Spinneret/Spinneret.sln:
490 * Spinneret/Spinneret/Spinneret.cpp:
491 (SpinneretWebHost::updateAddressBar):
492 (SpinneretWebHost::QueryInterface):
493 (SpinneretWebHost::AddRef):
494 (SpinneretWebHost::Release):
501 * Spinneret/Spinneret/Spinneret.h:
502 (SpinneretWebHost::didStartProvisionalLoadForFrame):
503 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
504 (SpinneretWebHost::didFailProvisionalLoadWithError):
505 (SpinneretWebHost::didCommitLoadForFrame):
506 (SpinneretWebHost::didReceiveTitle):
507 (SpinneretWebHost::didReceiveIcon):
508 (SpinneretWebHost::didFinishLoadForFrame):
509 (SpinneretWebHost::didFailLoadWithError):
510 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
511 (SpinneretWebHost::willPerformClientRedirectToURL):
512 (SpinneretWebHost::didCancelClientRedirectForFrame):
513 (SpinneretWebHost::willCloseFrame):
514 (SpinneretWebHost::windowScriptObjectAvailable):
515 * Spinneret/Spinneret/Spinneret.vcproj:
517 2006-06-02 Steve Falkenburg <sfalken@apple.com>
523 * Scripts/build-webkit:
525 2006-06-01 Anders Carlsson <acarlsson@apple.com>
529 * DumpRenderTree/DumpRenderTree.m:
530 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
531 (-[LayoutTestController clearBackForwardList]):
532 Add clearBackForwardList function to layoutTestController
534 2006-06-01 Anders Carlsson <acarlsson@apple.com>
538 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
539 slow-utf8-text layout test case failing (no longer deterministic?)
541 * DumpRenderTree/DumpRenderTree.m:
543 Dump as text when the response MIME type is text/plain
545 2006-05-26 Steve Falkenburg <sfalken@apple.com>
549 * Spinneret/Spinneret.sln:
550 * Spinneret/Spinneret/Spinneret.vcproj:
552 2006-05-24 Geoffrey Garen <ggaren@apple.com>
556 Added 'GCController' to DRT to support garbage collection layout tests.
558 GCController.collect() and GCController.collectOnAlternateThread() do
559 what you would expect. The latter takes a boolean argument sepcifying
560 whether to wait for garbage collection to finish before continuing to
563 * DumpRenderTree/DumpRenderTree.m:
564 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
565 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
566 * DumpRenderTree/GCController.h: Added.
567 * DumpRenderTree/GCController.mm: Added.
568 (+[GCController isSelectorExcludedFromWebScript:]):
569 (+[GCController webScriptNameForSelector:]):
570 (-[GCController collect]):
571 (-[GCController collectOnAlternateThread:]):
573 2006-05-23 John Sullivan <sullivan@apple.com>
577 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
578 Newer Xcode removed some obsolete cruft
580 * DumpRenderTree/TextInputController.m:
581 (-[TextInputController textInput]):
582 added (id) cast to make newer compiler happy
584 2006-05-22 Steve Falkenburg <sfalken@apple.com>
590 * Spinneret/Spinneret.sln:
592 2006-05-18 Darin Adler <darin@apple.com>
594 - try to fix no-SVG, no-XPATH build, again
596 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
598 2006-05-18 Darin Adler <darin@apple.com>
600 - try to fix no-SVG, no-XPATH build
602 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
603 since the former is what's used in the WebCore project now.
605 2006-05-17 Darin Adler <darin@apple.com>
607 * Scripts/do-webcore-rename: Some more future renames.
609 2006-05-16 Adele Peterson <adele@apple.com>
613 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
614 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
616 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
618 * Scripts/install-unix-extras: Changed to be executable and removed
619 text in the file generated by "svn diff".
620 * Scripts/regenerate-makefiles: Ditto.
622 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
624 Reviewed by Darin, landed by ap.
626 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
627 Bakefiles (and generated Makefiles) for wx and gdk ports
629 * Scripts/install-unix-extras: Added.
630 * Scripts/regenerate-makefiles: Added.
632 2006-05-10 Steve Falkenburg <sfalken@apple.com>
636 Fix registry usage from perl script. Turns out libwin32's
637 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
639 * Scripts/install-win-extras:
641 2006-05-09 Steve Falkenburg <sfalken@apple.com>
644 Add load ended callback.
648 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
649 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
650 * Spinneret/Spinneret/Spinneret.cpp:
651 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
652 (_tWinMain): Load built-in test content here instead of in lower-level code.
653 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
655 2006-05-08 Maciej Stachowiak <mjs@apple.com>
659 * Scripts/extract-localizable-strings: Update for correct names of log macros.
661 2006-05-09 Anders Carlsson <acarlsson@apple.com>
665 * Scripts/check-dom-results:
666 Add XPath to the list of results.
668 2006-05-08 Darin Adler <darin@apple.com>
670 * Scripts/do-webcore-rename: Add another rename.
672 2006-05-01 Steve Falkenburg <sfalken@apple.com>
676 Spinneret now links against the new separate lib.
678 * Spinneret/Spinneret.sln:
679 * Spinneret/Spinneret/Spinneret.cpp:
680 (SpinneretWebHost::updateLocationBar):
682 * Spinneret/Spinneret/Spinneret.h:
683 * Spinneret/Spinneret/Spinneret.vcproj:
684 * Spinneret/Spinneret/WebFrame.cpp: Removed.
685 * Spinneret/Spinneret/WebFrame.h: Removed.
686 * Spinneret/Spinneret/WebView.cpp: Removed.
687 * Spinneret/Spinneret/WebView.h: Removed.
689 2006-04-28 Steve Falkenburg <sfalken@apple.com>
693 Modify error reporting registry keys to disable Dr. Watson.
694 This allows Javascript test cases to complete without blocking UI.
696 * Scripts/install-win-extras:
697 - Use Perl Win32 registry functions to disable blocking UI
700 2006-04-28 Steve Falkenburg <sfalken@apple.com>
704 Turned off C++ exceptions, fixed memory leaks
706 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
707 * Spinneret/Spinneret.sln:
708 * Spinneret/Spinneret/Spinneret.cpp:
710 * Spinneret/Spinneret/Spinneret.vcproj:
711 * Spinneret/Spinneret/WebFrame.cpp:
712 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
713 (WebKit::WebFrame::WebFrame):
714 (WebKit::WebFrame::~WebFrame):
715 (WebKit::WebFrame::impl):
716 * Spinneret/Spinneret/WebFrame.h:
717 * Spinneret/Spinneret/WebView.cpp:
718 * Spinneret/Spinneret/stdafx.h:
720 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
724 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
725 DumpRenderTree should reset the URL cache
727 * DumpRenderTree/DumpRenderTree.m:
728 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
730 2006-04-28 Eric Seidel <eseidel@apple.com>
732 Reviewed by andersca.
734 * Scripts/do-webcore-rename: rename KCanvasContainer too
735 * Scripts/run-webkit-tests: output total time
737 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
739 Reviewed by hyatt. Landed by eseidel.
741 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
742 Enable detection of excessive repainting with DumpRenderTree
744 * DumpRenderTree/DumpRenderTree.m:
745 (-[LayoutTestController display]):
747 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
751 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
752 DumpRenderTree needs a way to force painting (to allow invalidation tests)
754 * DumpRenderTree/DumpRenderTree.m:
755 (dump): If display() has been called during the test, grab the pixels from
756 the view, after letting it repaint invalidated rects.
757 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
758 (-[LayoutTestController display]): Added. Calls -display on the view
759 and changes the subsequent behavior of dump().
762 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
766 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
767 Update iExploder to 1.3.2
769 Test case numbers are not compatible with iExploder 1.2.
771 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
773 * iExploder/CHANGELOG.txt: Added.
774 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
775 * iExploder/README.txt: Added some performance hints.
777 * iExploder/htdocs/config.rb: Added.
778 * iExploder/htdocs/cssproperties.in:
779 * iExploder/htdocs/cssvalues.in:
780 * iExploder/htdocs/htmlattrs.in:
781 * iExploder/htdocs/htmltags.in:
782 * iExploder/htdocs/iexploder.cgi:
783 - Updated to support the latest HTML & CSS tags, properties, and values from both
784 the WebKit and Mozilla CVS tree
785 - cssproperties.in cleanup
786 - Modularized the code a little bit.
787 - Fix subtest bug that was causing last 5 tags to be missed
788 - new subtest algorithm to deal better with larger tag counts
789 - default HTML_MAX_TAGS increased from 32 to 96
791 * iExploder/htdocs/index.html: Updated version to 1.3.2.
792 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
793 alternative to our run-iexploder-tests.
794 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
795 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
796 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
798 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
800 - commit Scripts/run-mangleme-tests (missed it the previous time).
802 2006-04-18 Darin Adler <darin@apple.com>
804 - attempt to fix Windows buildbot
806 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
807 We need a better long-term solution for this.
809 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
813 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
814 Integrate mangleme test script.
816 Works in a similar way to run-iexploder-tests.
818 * Scripts/run-mangleme-tests: Added.
820 * mangleme/Makefile: Added.
821 * mangleme/README: Added.
822 * mangleme/mangle.cgi.c: Added.
823 * mangleme/remangle.cgi.c: Added.
824 * mangleme/tags.h: Added.
826 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
830 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
831 An easier way to save iExploder tests.
833 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
835 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
839 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
840 Integrate iExploder test script.
842 This script generates artificially mangled HTML documents, to test that the browser
843 doesn't crash when handling ill-formed code.
846 run-iexploder-tests Open an interactive test page in Safari+ToT.
847 run-iexploder-tests nnnnn Open test #nnnnn.
849 Command line options:
850 --guard-malloc (-g) Use Guard Malloc.
851 --port=nnnn Run Apache on port nnnn (default is 8000).
853 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
854 (thus, Apache is still running), e.g.:
855 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
857 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
859 * Scripts/run-iexploder-tests: Added.
861 * iExploder/LICENSE.txt: Added.
862 * iExploder/README.txt: Added.
863 * iExploder/htdocs: Added.
864 * iExploder/htdocs/cssproperties.in: Added.
865 * iExploder/htdocs/cssvalues.in: Added.
866 * iExploder/htdocs/htmlattrs.in: Added.
867 * iExploder/htdocs/htmltags.in: Added.
868 * iExploder/htdocs/htmlvalues.in: Added.
869 * iExploder/htdocs/iexploder.cgi: Added.
870 * iExploder/htdocs/index.html: Added.
871 * iExploder/tools: Added.
872 * iExploder/tools/lasthit.rb: Added.
873 * iExploder/tools/osx_last_crash.rb: Added.
875 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
879 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
880 Restore color profile after a crash
882 * DumpRenderTree/DumpRenderTree.m:
883 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
884 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
885 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
886 and this code may change significantly.
888 (main): Install crashHandler.
890 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
891 (CFStringGetCStringPtr should NEVER EVER be used!).
893 2006-04-15 Darin Adler <darin@apple.com>
897 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
898 Seems xmlsoft.org's HTTP no longer has what we need.
900 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
902 Rubber-stamped by Darin.
904 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
905 upload-disk-image stage on buildslaves fail with "No space left on device"
907 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
908 'hdiutil create'. This creates the initial disk image based on the size of
909 the source folder, and copies the contents to the new disk image. The file
910 extension on the temporary uncompressed disk image has also been altered from
911 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
912 the extension is not ".dmg".
914 2006-04-12 Eric Seidel <eseidel@apple.com>
918 * Scripts/update-webkit: Make this return non-zero when svn fails.
920 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
924 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
925 Make HTTP tests using Perl use .pl extension
927 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
928 removed support for .text. Reduced the number of places that explicitly list supported
929 extensions. Some of the changes come from bug 8121, the patch for which got landed only
932 2006-04-06 Darin Adler <darin@apple.com>
934 Changes requested by Mark Rowe.
936 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
937 trash at the end of the file.
938 * BuildSlaveSupport/build-launcher-dmg: Ditto.
940 * WebKitLauncher/main.m: Removed trash at end of file.
942 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
945 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
947 Reviewed by Darin, landed by Maciej.
949 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
950 and bundles the WebKit frameworks inside it.
951 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
952 containing WebKit.app.
953 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
954 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
955 number of the SVN working copy.
956 * WebKitLauncher: Added.
957 * WebKitLauncher/Info.plist: Added.
958 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
959 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
960 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
961 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
962 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
963 the nightly launcher.
964 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
965 It sets up the environment to have Safari use the bundled frameworks
966 and load the WebKitNightlyEnabler dylib before exec'ing Safari
967 * WebKitLauncher/start.html: Added.
968 * WebKitLauncher/webkit.icns: Added.
970 2006-04-05 Darin Adler <darin@apple.com>
974 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
975 are allowed to have global initializers.
977 2006-04-05 Geoffrey Garen <ggaren@apple.com>
981 * Scripts/run-testkjs:
982 - pipe STDERR to /dev/null by default; new --verbose option overrides
984 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
985 - output run command in a format that can be copied and pasted into the
986 terminal to run manually
988 2006-04-03 Justin Garcia <justin.garcia@apple.com>
992 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
993 A drag and drop in DumpRenderTree copies the source, instead of cutting it
995 Tell the source that the drag is over after the drag is performed, not before.
997 * DumpRenderTree/EventSendingController.m:
998 (-[EventSendingController mouseUp]):
1000 2006-04-01 Darin Adler <darin@apple.com>
1004 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1005 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1006 elements in that array are not strings.
1008 2006-03-31 Darin Adler <darin@apple.com>
1010 Reviewed by John Sullivan.
1012 - added a "--reset-results" option to run-webkit-tests so you can reset
1013 the results without first deleting expected results
1014 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1016 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1017 more logical. Moved all the subroutines to the end of the file. Added a
1020 * DumpRenderTree/DumpRenderTree.m:
1021 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1022 to generate new output for all tests it runs.
1023 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1024 the --dump-all-pixels option is passed. Also tightened up the image dumping
1025 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1026 with code to save and restore the context.
1028 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1029 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1031 2006-03-30 Tim Omernick <timo@apple.com>
1033 Reviewed by NOBODY (just fixing copyrights)
1035 * DumpRenderTree/ObjCPlugin.h:
1037 * DumpRenderTree/ObjCPlugin.m: ditto
1038 * DumpRenderTree/ObjCPluginFunction.h: ditto
1039 * DumpRenderTree/ObjCPluginFunction.m: ditto
1041 2006-03-30 Tim Omernick <timo@apple.com>
1045 * DumpRenderTree/DumpRenderTree.m:
1046 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1047 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1048 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1049 exposed to JS as a callable object.
1051 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1052 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1054 * DumpRenderTree/ObjCPlugin.h: Added.
1055 * DumpRenderTree/ObjCPlugin.m: Added.
1056 * DumpRenderTree/ObjCPluginFunction.h: Added.
1057 * DumpRenderTree/ObjCPluginFunction.m: Added.
1059 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1060 Added a new method, "removeDefaultMethod", which removes the default method from the
1061 plugin object's class. The effect is that the plugin object is mutated from a callable
1062 function to a simple object.
1064 Handle "removeDefaultMethod".
1065 (pluginInvokeDefault):
1066 Made the default method actually do something (return 1).
1068 2006-03-30 Eric Seidel <eseidel@apple.com>
1072 Remove WebFrame::viewImpl(), setMainFrame on page.
1074 * Spinneret/Spinneret/WebFrame.cpp:
1075 (WebKit::WebFrame::WebFrame):
1076 * Spinneret/Spinneret/WebFrame.h:
1077 * Spinneret/Spinneret/WebView.cpp:
1078 (WebKit::WebView::mouseMoved):
1079 (WebKit::WebView::mouseDown):
1080 (WebKit::WebView::mouseUp):
1081 (WebKit::WebView::mouseDoubleClick):
1082 (WebKit::WebViewWndProc):
1084 2006-03-30 Eric Seidel <eseidel@apple.com>
1088 Fix html editing input & basic form submission.
1090 * Spinneret/Spinneret/WebFrame.cpp:
1091 (WebKit::WebFrame::submitForm):
1092 (WebKit::WebFrame::loadURL):
1093 * Spinneret/Spinneret/WebFrame.h:
1094 * Spinneret/Spinneret/WebView.cpp:
1095 (WebKit::WebView::keyPress):
1096 (WebKit::WebViewWndProc):
1098 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1102 <rdar://problem/4402375>
1103 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1105 Added an option to draw the selectionRect.
1107 * DumpRenderTree/DumpRenderTree.m:
1109 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1110 (-[LayoutTestController dumpSelectionRect]):
1113 2006-03-29 Darin Adler <darin@apple.com>
1115 Reviewed by Tim Hatcher.
1117 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1119 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1121 2006-03-28 Eric Seidel <eseidel@apple.com>
1125 * Scripts/check-for-global-initializers: remove svg exceptions.
1127 2006-03-28 Timothy Hatcher <timothy@apple.com>
1131 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1133 * Scripts/check-for-global-initializers:
1135 2006-03-28 Timothy Hatcher <timothy@apple.com>
1137 Build fix. Turn off uninitialized warnings for the first block of code.
1139 * Scripts/check-for-global-initializers:
1141 2006-03-28 Darin Adler <darin@apple.com>
1145 * Scripts/check-for-global-initializers: Added.
1147 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1149 Reviewed by darin. Landed by eseidel.
1151 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1152 Add repaint testing support to run-webkit-tests
1154 * DumpRenderTree/DumpRenderTree.m:
1155 (main): Added --repaint and --horizontal-sweep options.
1156 (dump): Repaint line-by-line or column-by-column when the appropriate option
1158 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1159 and repaintSweepHorizontally() methods to layoutTestController.
1160 (-[LayoutTestController testRepaint]):
1161 (-[LayoutTestController repaintSweepHorizontally]):
1163 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1164 to force these settings on tests that do not ask for them.
1166 2006-03-24 Eric Seidel <eseidel@apple.com>
1172 * Spinneret/Spinneret/WebFrame.cpp:
1173 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1175 2006-03-21 Beth Dakin <bdakin@apple.com>
1179 Add support for keyDown() to DumpRenderTree.
1181 * DumpRenderTree/DumpRenderTree.m:
1182 (main): Set the preference for tabbing to links.
1183 * DumpRenderTree/EventSendingController.m:
1184 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1185 (+[EventSendingController webScriptNameForSelector:]):
1186 (-[EventSendingController keyDown:withModifiers:]):
1188 2006-03-20 Eric Seidel <eseidel@apple.com>
1194 * Spinneret/Spinneret/Spinneret.vcproj:
1195 * Spinneret/Spinneret/WebFrame.h:
1196 * Spinneret/Spinneret/WebView.cpp:
1197 (WebKit::WebView::mouseMoved):
1198 (WebKit::WebView::mouseDown):
1199 (WebKit::WebView::mouseUp):
1200 (WebKit::WebView::mouseDoubleClick):
1201 (WebKit::WebView::keyPress):
1202 (WebKit::WebViewWndProc):
1204 2006-03-19 Darin Adler <darin@apple.com>
1208 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1209 we can test it in layout tests. We don't really need tests that run with
1210 pop-up blocking off at the moment. If we do some day, we can add some
1211 API for turning it off in the layout test controller.
1213 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1214 don't ignore the leak; it should no longer show up.
1216 2006-03-17 Anders Carlsson <andersca@mac.com>
1220 * Scripts/install-win-extras:
1221 Fetch "Program Files" location from the environment.
1223 2006-03-17 Eric Seidel <eseidel@apple.com>
1227 Fix Spinneret to pass Events as const & not as pointers.
1229 * Spinneret/Spinneret/WebView.cpp:
1230 (WebKit::WebView::mouseMoved):
1231 (WebKit::WebView::mouseDown):
1232 (WebKit::WebView::mouseUp):
1233 (WebKit::WebView::mouseDoubleClick):
1234 (WebKit::WebView::keyPress):
1236 2006-03-17 Eric Seidel <eseidel@apple.com>
1238 Reviewed by justing.
1240 Add support for basic HTML editing.
1242 * Spinneret/Spinneret/WebView.cpp:
1243 (WebKit::WebView::WebView):
1244 (WebKit::WebView::keyPress):
1246 2006-03-17 Eric Seidel <eseidel@apple.com>
1248 Rubber-stamped by ggaren.
1250 Break DumpRenderTree.m up into several files to make the code more readable.
1252 * DumpRenderTree/DumpRenderTree.h: Added.
1253 * DumpRenderTree/DumpRenderTree.m:
1254 (doneLoading): new accessor function for "done" global.
1255 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1256 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1257 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1258 * DumpRenderTree/EditingDelegate.h: Added.
1259 * DumpRenderTree/EditingDelegate.m: Added.
1260 (-[EditingDelegate webViewDidChangeSelection:]):
1261 * DumpRenderTree/EventSendingController.h: Added.
1262 * DumpRenderTree/EventSendingController.m: Added.
1264 2006-03-16 Eric Seidel <eseidel@apple.com>
1268 Add resize, scroll event support.
1270 * Spinneret/Spinneret/WebView.cpp:
1271 (WebKit::WebView::mouseMoved):
1272 (WebKit::WebView::mouseDown):
1273 (WebKit::WebView::mouseUp):
1274 (WebKit::WebView::mouseDoubleClick):
1275 (WebKit::WebView::keyPress):
1276 (WebKit::WebViewWndProc):
1277 * Spinneret/Spinneret/WebView.h:
1279 2006-03-16 Eric Seidel <eseidel@apple.com>
1283 Make build-webkit print correctly to stdout on windows.
1285 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1287 2006-03-15 Eric Seidel <eseidel@apple.com>
1291 Fix eventSender.mouseClick() to update lastClick timestamp.
1293 * DumpRenderTree/DumpRenderTree.m:
1294 (-[EventSendingController mouseClick]):
1296 2006-03-15 Darin Adler <darin@apple.com>
1300 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1301 that had a lowercase "i" in it so this builds on case-sensitive
1304 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1308 Added run-testkjs and compare-timing-files scripts, to support super
1311 * Scripts/compare-timing-files: Added.
1312 * Scripts/run-testkjs: Added.
1314 2006-03-14 Eric Seidel <eseidel@apple.com>
1318 Make the URL bar relinquish focus on page load.
1320 * Spinneret/Spinneret/Spinneret.cpp:
1323 2006-03-14 Eric Seidel <eseidel@apple.com>
1327 Fix WebView to allow KeyFocus.
1328 Add handling of space and shift-space for scrolling.
1330 * Spinneret/Spinneret/WebView.cpp:
1331 (WebKit::scrollMessageForKey):
1332 (WebKit::WebViewWndProc):
1334 2006-03-10 Eric Seidel <eseidel@apple.com>
1338 Add scrolling support into Spinneret.
1340 * Spinneret/Spinneret/WebFrame.cpp:
1341 (WebKit::WebFrame::paint):
1342 * Spinneret/Spinneret/WebView.cpp:
1343 (WebKit::WebView::createWebView):
1344 (WebKit::calculateScrollDelta):
1345 (WebKit::scrollMessageForKey):
1346 (WebKit::WebViewWndProc):
1348 2006-03-13 Eric Seidel <eseidel@apple.com>
1352 Fix checksum generation on Intel machines.
1353 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1354 give a small speed boost now that it uses a shared buffer.
1356 * DumpRenderTree/DumpRenderTree.m:
1359 (md5HashStringForBitmap):
1360 * DumpRenderTree/ImageDiff.m:
1361 (computePercentageDifferent):
1363 2006-03-13 Darin Adler <darin@apple.com>
1365 Reviewed by Tim Hatcher.
1367 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1368 have it named httpd-1.3 instead.
1370 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1372 Fix proposed by Mitz Pettel, reviewed by Darin.
1374 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1375 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1377 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1378 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1381 2006-03-09 Darin Adler <darin@apple.com>
1383 Reviewed by John Sullivan.
1385 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1386 memory leak in the plug-in tests
1388 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1389 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1390 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1392 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1393 Moved the browser global in here since it's declared in this file's header.
1394 Changed the code to set up the pluginClass structure to not use function
1395 pointer casts. Those are dangerous because they can hide many types of mismatch.
1396 And indeed when I did this I discovered that many functions were missing their
1397 boolean return values or had parameter declarations with the wrong types.
1398 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1399 clarity. Added boolean return value: return true when successful and false when not.
1400 (pluginSetProperty): Added boolean return value, return false since we have no
1401 properties we can set.
1402 (pluginInvoke): Added boolean return value. Return true when successful and false
1403 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1404 return value from calling the browser. Changed code to put the strings in malloc
1405 buffers instead of relying on GCC's extension that allows variable-sized arrays
1407 (pluginInvokeDefault): Added boolean return value, return false since we have no
1408 default function to call.
1409 (pluginInvalidate): Added missing parameter. Removed comment.
1410 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1411 to cast the result of malloc.
1412 (pluginDeallocate): Removed uneeded cast.
1414 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1415 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1416 that match NPObject's fields. Removed unused NPWindow pointer.
1418 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1420 Test: fast/events/event-sender-mouse-click.html
1424 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1425 DRT hangs when doing eventSender.mouseDown on native widgets
1427 * DumpRenderTree/DumpRenderTree.m:
1428 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1429 (-[EventSendingController mouseClick]): Simulates a click in a native
1430 widget by queueing a mouseUp before sending the mouseDown, so that
1431 the widget's mouse tracking event loop doesn't hang indefinitely.
1433 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1437 - make link clicks work by handling link click requests
1440 * Spinneret/Spinneret/Spinneret.cpp:
1441 (updateLocationBar):
1442 * Spinneret/Spinneret/Spinneret.h:
1443 * Spinneret/Spinneret/WebFrame.cpp:
1444 (WebKit::WebFrame::WebFrame):
1445 (WebKit::WebFrame::openURL):
1446 (WebKit::WebFrame::loadURL):
1447 * Spinneret/Spinneret/WebFrame.h:
1449 2006-03-08 Eric Seidel <eseidel@apple.com>
1453 Focus URL bar on Spinneret launch, remove border from WebView.
1454 Stop WebFrame from deleting the job (prevent crash).
1456 * Spinneret/Spinneret/Spinneret.cpp:
1458 * Spinneret/Spinneret/WebFrame.cpp:
1459 (WebKit::WebFrame::receivedAllData):
1460 (WebKit::WebFrame::paint):
1461 * Spinneret/Spinneret/WebView.cpp:
1462 (WebKit::WebView::createWebView):
1464 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1468 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1469 (pluginInvoke): Added a method to test getURL.
1471 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1475 - load URLs, not file paths, in Spinneret
1477 * Spinneret/Spinneret/Spinneret.cpp:
1479 * Spinneret/Spinneret/Spinneret.vcproj:
1480 * Spinneret/Spinneret/WebFrame.cpp:
1481 (WebKit::WebFrame::loadURL):
1482 (WebKit::WebFrame::receivedData):
1483 (WebKit::WebFrame::receivedAllData):
1484 * Spinneret/Spinneret/WebFrame.h:
1485 * Spinneret/Spinneret/WebView.cpp:
1486 (WebKit::WebView::WebView):
1488 2006-03-08 Darin Adler <darin@apple.com>
1492 - fixed AppleScript layout test results to not be endian-dependent
1493 (Hyatt complained to me about this one)
1495 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1496 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1497 (which are endian-dependent).
1499 2006-03-07 Darin Adler <darin@apple.com>
1503 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1504 unwanted output while running layout tests
1506 * DumpRenderTree/DumpRenderTree.m:
1507 (checkedMalloc): Added.
1508 (checkedRealloc): Added.
1509 (makeLargeMallocFailSilently): Added.
1510 (main): Call makeLargeMallocFailSilently.
1512 2006-03-06 Darin Adler <darin@apple.com>
1514 * Scripts/do-webcore-rename: Add some more planned renaming.
1516 2006-03-06 Eric Seidel <eseidel@apple.com>
1520 * Spinneret/Spinneret/WebFrame.cpp:
1521 (WebKit::WebFrame::paint): force layout before painting
1523 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1527 Sent the windowNumber when sending events.
1528 Added leapForward so that we don't have to spend time waiting
1529 in layout tests that do mouse operations that require delays.
1531 * DumpRenderTree/DumpRenderTree.m:
1532 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1533 (+[EventSendingController webScriptNameForSelector:]):
1534 (-[EventSendingController currentEventTime]):
1535 (-[EventSendingController leapForward:]):
1536 (-[EventSendingController mouseDown]):
1537 (-[EventSendingController mouseUp]):
1538 (-[EventSendingController mouseMoveToX:Y:]):
1540 2006-03-05 Darin Adler <darin@apple.com>
1542 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1543 Script now works (after landing my two pending patches).
1545 2006-03-05 Darin Adler <darin@apple.com>
1547 - check in a script to do a "big" rename in WebCore
1548 (can be run whenever we're ready to do it)
1550 * Scripts/do-webcore-rename: Added.
1552 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1556 * Spinneret/Spinneret/WebFrame.cpp:
1557 (WebKit::WebFrame::loadFilePath): Close file when done.
1559 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1561 Reviewed by Darin, landed by ap.
1563 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1564 Mouse moved events do not work in DumpRenderTree
1566 Test: fast/events/event-sender-mouse-moved.html
1568 * DumpRenderTree/DumpRenderTree.m:
1569 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1571 2006-03-04 Eric Seidel <eseidel@apple.com>
1575 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1576 Disable background erase to avoid tearing.
1577 Fix potential memory smasher from extra long urls.
1579 * Spinneret/Spinneret/Spinneret.cpp:
1581 * Spinneret/Spinneret/Spinneret.vcproj:
1582 * Spinneret/Spinneret/WebFrame.cpp:
1583 (WebKit::WebFrame::loadFilePath):
1584 (WebKit::WebFrame::paint):
1585 * Spinneret/Spinneret/WebView.cpp:
1586 (WebKit::registerWebViewWithInstance):
1588 2006-03-04 Eric Seidel <eseidel@apple.com>
1592 Hang WebView pointer off of HWND (gets rid of global hack).
1593 Remove MessageBox displayed on url change.
1595 * Spinneret/Spinneret/Spinneret.cpp:
1598 * Spinneret/Spinneret/WebView.cpp:
1599 (WebKit::registerWebViewWithInstance):
1600 (WebKit::WebView::createWebView):
1601 (WebKit::WebViewWndProc):
1603 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
1607 Automatically kill httpd if it appears to be already running.
1609 * Scripts/run-webkit-tests:
1611 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1615 * Spinneret/Spinneret/WebFrame.cpp:
1616 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1618 2006-03-03 Eric Seidel <eseidel@apple.com>
1622 A few more fixes to make run-webkit-tests really work on win32.
1624 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1626 * Scripts/run-webkit-tests:
1628 2006-03-03 Eric Seidel <eseidel@apple.com>
1632 Make run-webkit-tests work on win32.
1634 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1636 (dumpRenderTreeMain):
1637 (dumpRenderTreeToStdOut):
1638 (serializeToStdOut):
1640 * Scripts/run-webkit-tests:
1641 * Scripts/webkitdirs.pm:
1642 * Spinneret/Spinneret/WebView.cpp:
1643 (WebKit::WebView::WebView):
1645 2006-03-03 Eric Seidel <eseidel@apple.com>
1649 Add WebFrame class (to hold Frame and FrameView).
1650 Add Location bar support to Spinneret.
1652 * Spinneret/Spinneret/Spinneret.cpp:
1657 * Spinneret/Spinneret/Spinneret.vcproj:
1658 * Spinneret/Spinneret/WebFrame.cpp: Added.
1659 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1660 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1661 (WebKit::WebFrame::WebFrame):
1662 (WebKit::WebFrame::loadFilePath):
1663 (WebKit::WebFrame::loadHTMLString):
1664 (WebKit::WebFrame::paint):
1665 (WebKit::WebFrame::impl):
1666 (WebKit::WebFrame::viewImpl):
1667 * Spinneret/Spinneret/WebFrame.h: Added.
1668 * Spinneret/Spinneret/WebView.cpp:
1669 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1670 (WebKit::WebView::WebView):
1671 (WebKit::WebView::windowHandle):
1672 (WebKit::WebView::mainFrame):
1673 (WebKit::WebView::mouseMoved):
1674 (WebKit::WebView::mouseDown):
1675 (WebKit::WebView::mouseUp):
1676 (WebKit::WebView::mouseDoubleClick):
1677 (WebKit::WebViewWndProc):
1678 * Spinneret/Spinneret/WebView.h:
1680 2006-03-02 Eric Seidel <eseidel@apple.com>
1684 * Spinneret/Spinneret/WebView.cpp:
1685 (WebKit::registerWebViewWithInstance):
1686 (WebKit::WebView::WebView):
1687 (WebKit::WebView::mouseMoved):
1688 (WebKit::WebView::mouseDown):
1689 (WebKit::WebView::mouseUp):
1690 (WebKit::WebView::mouseDoubleClick):
1691 (WebKit::WebViewWndProc):
1692 * Spinneret/Spinneret/WebView.h:
1694 2006-03-01 Eric Seidel <eseidel@apple.com>
1696 Reviewed by andersca.
1698 Make spinneret take advantage of the new GraphicsContextCairo.
1700 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1701 (main): updated to match style guidelines.
1702 * Spinneret/Spinneret/Spinneret.cpp:
1704 * Spinneret/Spinneret/WebView.cpp:
1705 (WebKit::registerWebViewWithInstance):
1706 (WebKit::WebView::WebView):
1707 (WebKit::WebView::~WebView):
1708 (WebKit::WebView::drawRect):
1710 * Spinneret/Spinneret/WebView.h:
1712 2006-03-01 Justin Garcia <justin.garcia@apple.com>
1716 Give the events that eventSender sends a unique eventNumber
1718 * DumpRenderTree/DumpRenderTree.m:
1719 (-[EventSendingController mouseDown]):
1720 (-[EventSendingController mouseUp]):
1721 (-[EventSendingController mouseMoveToX:Y:]):
1723 2006-03-01 Eric Seidel <eseidel@apple.com>
1727 Add a stub win32 application to test WebCore drawing on windows.
1730 * Spinneret/Spinneret: Added.
1731 * Spinneret/Spinneret.sln: Added.
1732 * Spinneret/Spinneret/Resource.h: Added.
1733 * Spinneret/Spinneret/Spinneret.cpp: Added.
1739 * Spinneret/Spinneret/Spinneret.h: Added.
1740 * Spinneret/Spinneret/Spinneret.ico: Added.
1741 * Spinneret/Spinneret/Spinneret.rc: Added.
1742 * Spinneret/Spinneret/Spinneret.vcproj: Added.
1743 * Spinneret/Spinneret/WebView.cpp: Added.
1744 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1745 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1746 (WebKit::registerWebViewWithInstance):
1747 (WebKit::WebView::createWebView):
1748 (WebKit::WebView::WebView):
1749 (WebKit::WebView::~WebView):
1750 (WebKit::WebView::drawRect):
1751 (WebKit::WebView::windowHandle):
1753 * Spinneret/Spinneret/WebView.h: Added.
1754 * Spinneret/Spinneret/small.ico: Added.
1755 * Spinneret/Spinneret/stdafx.cpp: Added.
1756 * Spinneret/Spinneret/stdafx.h: Added.
1758 2006-02-28 Eric Seidel <eseidel@apple.com>
1762 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1763 (main): add ability to dump render tree and read from a local file.
1765 2006-02-27 Eric Seidel <eseidel@apple.com>
1769 * Scripts/install-win-extras: fix dll permissions & download zlib too.
1771 2006-02-27 Eric Seidel <eseidel@apple.com>
1775 Test new KConfig -> PlugInInfoStore change.
1776 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1778 * DumpRenderTree/DumpRenderTree.m:
1779 (main): load test netscape plugin
1780 * Scripts/run-webkit-tests: style update
1782 2006-02-24 Eric Seidel <eseidel@apple.com>
1786 Make DumpRenderTree link against icu.
1788 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1790 2006-02-24 Eric Seidel <eseidel@apple.com>
1794 Make DumpRenderTree link against libxml, etc.
1796 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1798 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1800 Reviewed and landed by Anders.
1802 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1803 getting called from the run loop, making the view render each test and thus slowing
1806 * DumpRenderTree/DumpRenderTree.m:
1807 (main): Set the offscreen window to not autodisplay.
1809 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1813 - Turn http tests back on by default.
1814 - Wait for Apache to actually start serving requests.
1815 - Get user id from a built-in variable rather than an external command;
1816 don't pass the group.
1818 * Scripts/run-webkit-tests:
1820 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1822 Suggested by Mitz Pettel, reviewed by Darin.
1824 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1825 can run CGIs even if the permissions are 700 or 600.
1827 2006-02-23 Darin Adler <darin@apple.com>
1829 Collaborating with Alexey.
1831 - turn off http tests by default until we figure out how to get them
1832 to run even when permissions on CGI files are 700 instead of 755
1834 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1836 2006-02-23 Eric Seidel <eseidel@apple.com>
1838 Add *.user to ignore list.
1840 2006-02-23 Eric Seidel <eseidel@apple.com>
1842 Remove binary file which shouldn't have been commited (and add to ignore list).
1844 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1845 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1847 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1851 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1853 2006-02-22 Eric Seidel <eseidel@apple.com>
1855 Reviewed by Tim Hatcher.
1857 Fix install-win-extras to not try to re-install setx if installed.
1859 * Scripts/install-win-extras:
1861 2006-02-22 Eric Seidel <eseidel@apple.com>
1863 One more file possibly missing from previous commit?
1865 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1866 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1868 2006-02-22 Eric Seidel <eseidel@apple.com>
1870 Reviewed by justing.
1872 Files missing from previous commit.
1874 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1875 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1877 2006-02-22 Eric Seidel <eseidel@apple.com>
1879 Rubber-stamped by justing.
1881 Corrected path for DumpRenderTree.intermediate files
1883 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1885 2006-02-22 Eric Seidel <eseidel@apple.com>
1887 Reviewed by justing.
1889 Fixed build-dumprendertree to exit with correct error codes.
1891 * Scripts/build-dumprendertree:
1893 2006-02-22 Eric Seidel <eseidel@apple.com>
1895 Reviewed by justing.
1897 Update build scripts to generalize building on Win32, and allow
1898 building of DumpRenderTree on Win32 from build-dumprendertree.
1900 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1902 * Scripts/build-dumprendertree:
1903 * Scripts/build-webkit:
1904 * Scripts/webkitdirs.pm:
1906 2006-02-22 Eric Seidel <eseidel@apple.com>
1910 * DumpRenderTree/DumpRenderTree.vcproj: Added.
1911 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1912 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1913 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1914 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1915 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1917 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1918 * Scripts/build-webkit: make build-webkit cleanup after itself
1920 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1924 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1925 Some minor fixes to http tests.
1927 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1929 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
1933 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1934 Would like to use locally installed Apache for testing.
1936 Added two run-webkit-tests options:
1937 --http (--nohttp) - whether to launch Apache (defaults to yes);
1938 --port - which port to listen on (defaults to 8000).
1940 Tests in LayoutTests/http are not run directly, and Apache is used instead.
1941 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1942 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1944 Also added support for .shtml and .text files. Text files give an empty
1945 *-expected.txt, but a correct image.
1947 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1949 * Scripts/run-webkit-tests:
1951 2006-02-21 Darin Adler <darin@apple.com>
1953 Suggested by Mark Rowe.
1955 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1956 reporting leak counts.
1958 2006-02-18 Maciej Stachowiak <mjs@apple.com>
1962 - Added install-win-extras script which installs some extra
1963 programs and libraries, and does Windows first-time setup.
1965 * Scripts/build-webkit: Add a newline between build results.
1966 * Scripts/install-win-extras: Added.
1968 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1972 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1973 DumpRenderTree should be able to load files via HTTP
1975 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1976 Handle tests starting with "http://" as real URLs, not file system paths.
1978 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1982 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1983 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1985 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1987 2006-02-18 Darin Adler <darin@apple.com>
1989 * Scripts/commit-log-editor: Added.
1991 2006-02-17 Eric Seidel <eseidel@apple.com>
1995 Make Win32 have the same default "WebKitBuild" directory behavior.
1997 * Scripts/build-webkit:
1998 * Scripts/webkitdirs.pm:
2000 2006-02-17 Eric Seidel <eseidel@apple.com>
2004 * Scripts/build-webkit: make win32 actually report errors
2006 2006-02-17 Eric Seidel <eseidel@apple.com>
2010 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2012 2006-02-17 Eric Seidel <eseidel@apple.com>
2016 * Scripts/run-webkit-tests: Ignore flash leaks
2018 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2022 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2023 Add drag and drop support to DumpRenderTree
2025 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2026 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2028 * DumpRenderTree/DumpRenderTree.m:
2030 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2031 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2032 (-[WaitUntilDoneDelegate webViewFocus:]):
2033 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2034 (+[LayoutTestController webScriptNameForSelector:]):
2035 (-[LayoutTestController setWindowIsKey:]):
2036 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2037 (-[EventSendingController init]):
2038 (-[EventSendingController mouseDown]):
2039 (-[EventSendingController mouseUp]):
2040 (-[EventSendingController mouseMoveToX:Y:]):
2042 (-[DumpRenderTreeWindow isKeyWindow]):
2043 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2044 (-[DumpRenderTreeDraggingInfo dealloc]):
2045 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2046 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2047 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2048 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2049 (-[DumpRenderTreeDraggingInfo draggedImage]):
2050 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2051 (-[DumpRenderTreeDraggingInfo draggingSource]):
2052 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2053 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2054 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2055 * DumpRenderTree/TextInputController.m:
2056 (-[TextInputController firstRectForCharactersFrom:length:]):
2057 (-[TextInputController characterIndexForPointX:Y:]):
2059 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2063 * DumpRenderTree/DumpRenderTree.m:
2064 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2065 Added a dummy method for the sake of LayoutTests/plugins/
2066 undefined-property-crash.html. (It tests a crash due to fallback
2067 object use. WebCore won't create a fallback object if the method is
2070 2006-02-14 Eric Seidel <eseidel@apple.com>
2074 * Scripts/run-webkit-tests: added --results-directory (-o) option
2076 2006-02-09 Eric Seidel <eseidel@apple.com>
2078 Rubber-stamped by mjs.
2080 Renamed split-class to split-file-by-class.
2082 * Scripts/build-webkit: Updated copyright.
2083 * Scripts/split-class: Removed.
2084 * Scripts/split-file-by-class: Added.
2086 2006-02-08 Eric Seidel <eseidel@apple.com>
2088 Rubber-stamped by mjs.
2090 Adding new script for splitting multi-class files.
2091 Also adding supporting perl module with space removing heuristics.
2093 * Scripts/SpacingHeuristics.pm: Added.
2094 * Scripts/build-drawtest: updated copyright header
2095 * Scripts/split-class: Added.
2097 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2099 Reviewed by thatcher
2101 Changes to test fix for:
2102 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2103 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2105 * DumpRenderTree/DumpRenderTree.m:
2106 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2107 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2108 (+[LayoutTestController webScriptNameForSelector:]):
2109 (-[LayoutTestController setWindowHasFocus:]):
2110 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2112 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2114 Reviewed by Timothy.
2116 Support automated testing of AppleScript "do JavaScript" command
2117 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2119 * DumpRenderTree/AppleScriptController.h: Added.
2120 * DumpRenderTree/AppleScriptController.m: Added.
2121 * DumpRenderTree/DumpRenderTree.m:
2122 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2123 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2125 2006-02-06 Eric Seidel <eseidel@apple.com>
2129 Fix build-webkit for use on win32 (unblocks buildbot usage).
2130 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2132 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2133 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2135 2006-02-06 Eric Seidel <eseidel@apple.com>
2137 Rubber-stamped by darin & mjs.
2139 Added new support directory for build slave scripts.
2140 Committing the first script, for use by the PLT's build slave.
2141 This script is used to kick of the PLT (Page Load Test) slave.
2143 * BuildSlaveSupport: Added.
2144 * BuildSlaveSupport/run-performance-tests: Added.
2146 2006-02-06 Eric Seidel <eseidel@apple.com>
2148 Rubber-stamped by darin.
2150 Adding setSourceDir for scripts stored in non-standard locations.
2152 * Scripts/webkitdirs.pm:
2154 2006-02-04 Darin Adler <darin@apple.com>
2156 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2157 Configuration files that say Development or Deployment in them.
2159 2006-02-04 Darin Adler <darin@apple.com>
2161 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2162 wrapper already in the directory.
2163 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2164 these haven't been working at all.
2165 * Scripts/svn-unapply: Ditto.
2167 2006-02-03 Timothy Hatcher <timothy@apple.com>
2171 Renamed configuration names to Debug, Release and Production.
2173 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2174 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2175 * Scripts/set-webkit-configuration:
2176 * Scripts/webkitdirs.pm:
2178 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2180 Reviewed by thatcher
2182 Enabled spell checking for layout tests.
2184 * DumpRenderTree/DumpRenderTree.m:
2187 2006-01-29 Darin Adler <darin@apple.com>
2189 * Scripts/svn-apply: Added comments about things we should do to improve.
2190 * Scripts/svn-create-patch: Ditto.
2191 * Scripts/svn-unapply: Ditto.
2193 2006-01-28 Darin Adler <darin@apple.com>
2195 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2196 already there, even if the checksum is correct.
2198 2006-01-27 Eric Seidel <eseidel@apple.com>
2202 * Scripts/run-webkit-tests: make new tests use absolute urls
2204 2006-01-27 Eric Seidel <eseidel@apple.com>
2208 make run-webkit-tests output total leaks count
2210 * Scripts/run-webkit-tests:
2212 2006-01-27 Eric Seidel <eseidel@apple.com>
2216 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2217 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2219 * Scripts/run-webkit-tests: fix --leaks to not crash
2221 2006-01-26 Eric Seidel <eseidel@apple.com>
2225 run-webkit-tests should produce a self-contained results directory
2226 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2228 * Scripts/run-webkit-tests: copy failing items to results dir.
2230 2006-01-23 Darin Adler <darin@apple.com>
2232 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2233 need script to update localizable strings file in WebKit
2235 * Scripts/update-webkit-localizable-strings: Added.
2237 2006-01-23 Darin Adler <darin@apple.com>
2239 - added a couple of scripts -- more about these two soon
2241 * Scripts/extract-localizable-strings: Added.
2242 * Scripts/merge-changelog: Added.
2244 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2248 Build fix. build-webkit dies with "invalid build action: (empty string)"
2250 * Scripts/build-webkit:
2251 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2253 2006-01-22 Eric Seidel <eseidel@apple.com>
2257 Fix --no-svg option to use XCode flags instead of gcc flags.
2259 * Scripts/build-webkit:
2261 2006-01-22 Eric Seidel <eseidel@apple.com>
2265 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2267 * Scripts/build-webkit:
2269 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2271 Reviewed by eseidel.
2273 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2274 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2276 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2277 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2279 2006-01-19 Darin Adler <darin@apple.com>
2281 * Scripts/report-include-statistics: Added a new script.
2283 2006-01-19 Timothy Hatcher <timothy@apple.com>
2285 * Scripts/build-webkit: include JavaScriptGlue in the build
2287 2006-01-19 Darin Adler <darin@apple.com>
2289 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2290 spaces in it by using the form of open that treats each argument as a string
2291 rather than backtick syntax for reading the output of the nm tool.
2293 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2297 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2298 detect if there are any new tests
2300 * Scripts/prepare-ChangeLog:
2302 2006-01-12 Darin Adler <darin@apple.com>
2304 - removed some of the cvs-specific scripts -- not needed for this project any more
2306 * Scripts/cvs-abandon: Removed.
2307 * Scripts/cvs-apply: Removed.
2308 * Scripts/cvs-create-patch: Removed.
2309 * Scripts/cvs-unapply: Removed.
2311 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2313 Reviewed by eseidel. Committed by eseidel.
2315 - run-webkit-tests always launches Safari when tests fail
2316 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2318 * Scripts/run-webkit-tests:
2319 Add a command-line flag to prevent Safari being launched to display failed
2320 tests. Always exit with non-zero status when tests have failed.
2322 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2324 Reviewed by eseidel. Committed by eseidel.
2326 - build-webkit should exit with non-zero status when build fails
2327 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2329 * Scripts/build-webkit:
2330 Use correct bits of subprocess exit code when passing back through
2331 as build-webkit's exit code.
2333 2006-01-10 Eric Seidel <eseidel@apple.com>
2335 Restored corrupted nibs from TOT CVS.
2337 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2338 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2339 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2340 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2341 * DrawTest/English.lproj/Inspector.nib: Replaced.
2342 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2343 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2344 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2345 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2346 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2347 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2348 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2349 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2350 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2351 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2352 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2354 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2356 Reviewed by eseidel. Committed by eseidel.
2358 DrawTestView now subclasses WebView instead of DrawView.
2360 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2361 * DrawTest/DrawTestDocument.h:
2362 * DrawTest/DrawTestDocument.m:
2363 (-[DrawTestDocument dealloc]):
2364 (-[DrawTestDocument readFromFile:ofType:]):
2365 (-[DrawTestDocument windowControllerDidLoadNib:]):
2366 (-[DrawTestDocument dumpSVGToConsole:]):
2367 (-[DrawTestDocument openSourceForSelection:]):
2368 (-[DrawTestDocument dataRepresentationOfType:]):
2369 * DrawTest/DrawTestToolbarController.h:
2370 * DrawTest/DrawTestToolbarController.m:
2371 (-[DrawTestToolbarController initWithDrawView:]):
2372 (-[DrawTestToolbarController clickedToolbarItem:]):
2373 (-[DrawTestToolbarController validateToolbarItem:]):
2374 * DrawTest/DrawTestView.h:
2375 * DrawTest/DrawTestView.m:
2376 (-[DrawTestView initWithFrame:]):
2377 (-[DrawTestView setDocument:]):
2378 * DrawTest/SVGTest.h:
2379 * DrawTest/SVGTest.m:
2380 (+[SVGTest sharedDrawView]):
2381 (-[SVGTest generateCompositeIfNecessary]):
2382 * DrawTest/TestController.h:
2383 * DrawTest/TestController.m:
2384 (-[TestController awakeFromNib]):
2385 (-[TestController setSelectedTest:]):
2386 (-[TestController openTestViewerForSelection:]):
2387 (-[TestController toggleViewersScaleRule:]):
2388 * DrawTest/TestViewerSplitView.m:
2389 (-[TestViewerSplitView drawRect:]):
2391 2006-01-10 Anders Carlsson <andersca@mac.com>
2393 Reviewed by Timothy.
2395 * DumpRenderTree/DumpRenderTree.m:
2396 (main): Set the default language to "en", so language tests will work.
2398 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2402 - script to generate HTML wrappers for JS tests
2403 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2405 * Scripts/make-js-test-wrappers: Added.
2407 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2411 * Scripts/svn-create-patch: Fix to work when passed directory names.
2413 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2417 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2418 can start writing automated loader tests now. I have one in the works.
2420 * DumpRenderTree/DumpRenderTree.m:
2421 (main): Construct global navigationController on entry, destroy on exit.
2422 Set frame to nil on exit too, to match all the other global objects.
2423 (Probably academic, since the process is exiting, anyway.)
2424 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2425 navigationController, in case it wants to kick off a load.
2426 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2427 the navigationController to scripting.
2429 New class, should be straightforward:
2431 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2432 * DumpRenderTree/NavigationController.h: Added.
2433 * DumpRenderTree/NavigationController.m: Added.
2435 (+[NavigationController isSelectorExcludedFromWebScript:]):
2436 (+[NavigationController webScriptNameForSelector:]):
2437 (-[NavigationController setPendingScript:]):
2438 (-[NavigationController setPendingRequest:]):
2439 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2440 (-[NavigationController webView:didFinishLoadForFrame:]):
2441 (-[NavigationController dealloc]):
2443 2006-01-08 Timothy Hatcher <timothy@apple.com>
2445 Removed this script, no longer needs with the Subversion switch.
2447 * checkout: Removed.
2449 2006-01-08 Timothy Hatcher <timothy@apple.com>
2451 Removes some stray tabs.
2453 * Scripts/update-webkit:
2455 2005-01-07 Eric Seidel <eseidel@apple.com>
2459 build-webkit should pass on build arguments from command line
2460 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2462 * Scripts/build-webkit:
2464 2006-01-07 Eric Seidel <eseidel@apple.com>
2466 Reviewed by mjs & xenon.
2468 * Scripts/update-webkit: support Internal updates as well
2470 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2472 Temporarily rolling out plugin support from DumpRenderTree because it
2473 caused lots of layout test regressions.
2475 * DumpRenderTree/DumpRenderTree.m:
2476 (main): Remove invisible window added to support plugins.
2478 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2482 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2483 Add plugin support to DumpRenderTree
2485 Also wrote first test plugin.
2487 * DumpRenderTree/DumpRenderTree.m:
2489 (1) Put the WebView in an invisible window, because PlugIns are
2490 optimized not to load if there's no parent window.
2491 (2) Tell WebKit to load any PlugIns in the directory from which we
2492 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2493 and they'll load automagically during layout testing, but they won't be
2494 added to the user's system, hosing apps like Safari.
2496 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2497 test PlugIn to project.
2499 PlugIn added to project:
2501 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2502 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2504 (initializeIdentifiers):
2505 (pluginHasProperty):
2507 (pluginGetProperty):
2508 (pluginSetProperty):
2510 (pluginInvokeDefault):
2514 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2515 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2517 (NP_GetEntryPoints):
2523 (NPP_DestroyStream):
2533 2006-01-04 Timothy Hatcher <timothy@apple.com>
2537 Tweaked and tested by me.
2539 New scripts to work with Subversion when the switch happens.
2540 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2542 * Scripts/svn-apply: Added.
2543 * Scripts/svn-create-patch: Added.
2544 * Scripts/svn-unapply: Added.
2546 2005-12-30 Eric Seidel <eseidel@apple.com>
2550 Move WebView width/height logic into DumpRenderTree to support
2551 running the W3C SVG 1.1 tests along side other tests. The W3C
2552 SVG 1.1 tests require a 480x360 view.
2554 * DumpRenderTree/DumpRenderTree.m:
2555 (main): don't accept width/height
2556 (dump): override width/height for SVG/W3C
2557 * Scripts/run-webkit-tests: don't pass width/height
2559 2005-12-30 Eric Seidel <eseidel@apple.com>
2561 No review, only removing dead code.
2563 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2564 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2566 2005-12-30 Eric Seidel <eseidel@apple.com>
2570 DumpRenderTree should set a consistent color profile while running
2571 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2573 Creates consistent colormatched renderings on every test machine
2574 using the only way possible with Tiger APIs: by setting the
2575 system color profile on the test machine for the duration of the
2576 tests. This will (unfortunately) cause colors to change while
2577 running DumpRenderTree. This can also cause "permanent" color
2578 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2579 This is far from ideal, but it's be best way we've found to deal
2580 with the issue for now.
2582 * DumpRenderTree/DumpRenderTree.m:
2583 (restoreColorSpace):
2584 (setDefaultColorProfileToRGB):
2587 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2589 Reviewed by Darin Adler.
2591 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2592 cvs-create-patch --include produces incorrect paths
2594 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2596 2005-12-19 Eric Seidel <eseidel@apple.com>
2600 * Scripts/run-webkit-tests: stop /etc/catalog warnings
2602 2005-12-19 Darin Adler <darin@apple.com>
2604 Reviewed by Eric Seidel.
2606 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2607 WebKit needs to use a local pasteboard during testing
2609 * DumpRenderTree/DumpRenderTree.m:
2610 (main): Call poseAs to substitute our NSPasteboard class for the default one.
2611 Create a local pasteboard (really a global one with a unique name) and release
2612 it when exiting from the function so we don't leave it in the pasteboard server.
2613 (dumpRenderTree): Added an autorelease pool around one small bit of code that
2614 ddn't have one. Fixed a leak in an unlikely error case.
2615 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2616 of this method to return our local pasteboard.
2618 2005-12-15 Eric Seidel <eseidel@apple.com>
2620 Reviewed by Tim Hatcher.
2622 * Scripts/build-webkit: --svg is now default!
2624 2005-12-15 Eric Seidel <eseidel@apple.com>
2628 Don't run svg test automatically if +SVG is built (yet).
2630 * Scripts/run-webkit-tests:
2632 2005-12-15 Darin Adler <darin@apple.com>
2634 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2635 support is not compiled in. Report the 10 slowest tests if "--slowest" is
2636 passed on the command line.
2638 2005-12-06 John Sullivan <sullivan@apple.com>
2640 Reviewed by Darin Adler.
2642 * Scripts/prepare-ChangeLog:
2643 Remove special-case handling for nib files. This avoided trouble with cvs diff
2644 when we were using wrappers for nib files. Now that we aren't using wrappers,
2645 there's no reason to avoid adding the modified nib files to the file list that
2648 2005-12-05 Eric Seidel <eseidel@apple.com>
2652 Script updates for SVG files move (remove references to SVGSupport)
2654 * Scripts/build-webkit: remove SVGSupport
2655 * Scripts/run-webkit-tests: Resources -> resources for --svg
2656 * Scripts/update-webkit: remove SVGSupport
2658 2005-12-05 Eric Seidel <eseidel@apple.com>
2662 * checkout: remove --svg support, SVG is now checked out by default
2664 2005-11-29 Eric Seidel <eseidel@apple.com>
2668 Update scripts to run SVG tests automatically (w/o --svg) if
2669 WebCore is built with SVG support.
2671 * Scripts/build-drawtest: SVG support required
2672 * Scripts/build-dumpkcanvastree: Removed.
2673 * Scripts/run-drawtest: SVG support required to run
2674 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2675 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2677 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
2679 Reviewed by Darin. Committed by Maciej.
2681 - fixed "DumpRenderTree should test for Ahem before doing anything else"
2682 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2684 * DumpRenderTree/DumpRenderTree.m:
2687 2005-11-28 Eric Seidel <eseidel@apple.com>
2689 Reviewed by sullivan and GGAREN.
2691 Minor additions to make error messages more clear from cvs-apply.
2693 * Scripts/cvs-apply: make errors more clear
2695 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2697 Reviewed and committed by Maciej.
2699 - fixed cvs-create-patch --include produces incorrect paths
2700 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2702 * Scripts/cvs-create-patch: produce proper paths for new files.
2704 2005-11-21 Eric Seidel <eseidel@apple.com>
2708 Some simple fixes to the build/test scripts now that SVG uses the
2709 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
2710 or symlinks for KDOM.
2712 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2713 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2714 * Scripts/run-webkit-tests: now runs SVG tests using DRT
2715 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
2716 * checkout: no longer symlink kdom
2718 2005-11-10 Eric Seidel <eseidel@apple.com>
2722 * Scripts/build-webkit: Pass through options to xcodebuild
2724 2005-11-07 Darin Adler <darin@apple.com>
2726 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2728 2005-11-03 John Sullivan <sullivan@apple.com>
2732 * Scripts/run-safari:
2733 changed message to say "Starting Safari" instead of odd "Start Safari"
2734 * Scripts/run-webkit-tests:
2735 changed the way we pass the file parameter to use -NSOpen rather than relying on
2736 unlabeled arguments being treated as files. This was failing on some machines that
2737 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2739 2005-10-27 Geoffrey Garen <ggaren@apple.com>
2741 Patch by Alexey Proskuryakov.
2745 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2746 TextInputController should support attributed strings
2748 * DumpRenderTree/TextInputController.m:
2749 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2750 (+[NSMutableAttributedString webScriptNameForSelector:]):
2751 (-[NSMutableAttributedString getLength]):
2752 (-[NSMutableAttributedString attributeNamesAtIndex:]):
2753 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2754 (-[NSMutableAttributedString addAttribute:value:]):
2755 (-[NSMutableAttributedString addAttribute:value:from:length:]):
2756 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2757 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2758 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2759 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2760 (+[TextInputController isSelectorExcludedFromWebScript:]):
2761 (+[TextInputController webScriptNameForSelector:]):
2762 (-[TextInputController insertText:]):
2763 (-[TextInputController attributedSubstringFrom:length:]):
2764 (-[TextInputController attributedStringWithString:]):
2766 2005-10-11 Eric Seidel <eseidel@apple.com>
2770 Checks for leaks in ImageDiff too.
2772 * Scripts/run-webkit-tests:
2774 2005-10-09 Darin Adler <darin@apple.com>
2776 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2777 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2778 * Scripts/cvs-unapply: Ditto.
2779 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2781 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
2783 Reviewed, rearranged and landed by Darin.
2785 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2786 Need a way to automatically test for regressions in NSTextInput implementation
2788 * DumpRenderTree/DumpRenderTree.m:
2789 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2790 Create a text input controller and put it in a property of the window object.
2792 * DumpRenderTree/TextInputController.h: Added.
2793 * DumpRenderTree/TextInputController.m: Added.
2794 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2796 2005-10-06 Darin Adler <darin@apple.com>
2798 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2799 are controlled by cvs, or when changes cross multiple repositories.
2800 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2802 2005-10-03 Eric Seidel <eseidel@apple.com>
2806 Make mouseDown and mouseUp force layout before acting.
2807 This is used by a new test case for 4233558.
2809 * DumpRenderTree/DumpRenderTree.m:
2810 (-[EventSendingController mouseDown]): force layout
2811 (-[EventSendingController mouseUp]): force layout
2813 2005-09-30 Eric Seidel <eseidel@apple.com>
2817 Updated all the scripts for the move:
2818 WebCore/layout-tests -> LayoutTests
2820 * Scripts/check-dom-results:
2821 * Scripts/prepare-ChangeLog:
2822 * Scripts/run-webkit-tests:
2823 * Scripts/update-webkit: added --no-tests
2824 * checkout: added --no-tests
2826 2005-09-28 Darin Adler <darin@apple.com>
2828 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2829 pixel test should run even if render trees differ
2831 * Scripts/run-webkit-tests: Don't check if the text dump matches.
2833 2005-09-27 Eric Seidel <eseidel@apple.com>
2835 No review needed, SVG build fix only.
2837 * DumpKCanvasTree/DumpKCanvasTree.m:
2838 Missed one in my previous checkin.
2839 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2841 2005-09-26 Eric Seidel <eseidel@apple.com>
2843 No review needed, SVG build fix only.
2845 * DrawTest/DrawTestDocument.m:
2846 * DrawTest/DrawTestToolbarController.m:
2847 * DrawTest/DrawTestView.h:
2848 * DrawTest/DrawTestView.m:
2849 * DrawTest/SVGTest.m:
2850 * DrawTest/TestController.m:
2851 Updated for WebCore+SVG -> WebCore rename.
2852 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2854 2005-09-26 Eric Seidel <eseidel@apple.com>
2858 * DumpRenderTree/DumpRenderTree.m:
2859 (dump): updated error message
2860 * Scripts/check-dom-results: now includes xhtml
2861 Tool updates for xhtml.
2862 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2864 2005-09-22 Duncan Wilcox <duncan@mclink.it>
2869 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2870 "Would like to simulate human interaction with webview"
2872 * DumpRenderTree/DumpRenderTree.m:
2873 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2874 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2875 (+[EventSendingController webScriptNameForSelector:]):
2876 (-[EventSendingController init]):
2877 (-[EventSendingController mouseDown]):
2878 (-[EventSendingController mouseUp]):
2879 (-[EventSendingController mouseMoveToX:Y:]):
2880 Add eventSender javascript object, that sends fake mouse events to the webview.
2882 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2883 link with Carbon.framework
2885 2005-09-22 Eric Seidel <eseidel@apple.com>
2889 Update tools for WebCore+SVG -> WebCore rename.
2890 Also fold several SVG specific tools into their original
2891 WebCore counterparts.
2892 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2894 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2895 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2896 * Scripts/build-drawtest:
2897 * Scripts/build-dumpkcanvastree:
2898 * Scripts/build-webcore-svg: Removed.
2899 * Scripts/build-webkit: added --svg option
2900 * Scripts/run-drawtest:
2901 * Scripts/run-webkit-tests:
2902 * Scripts/webkitdirs.pm: various additions.
2903 * checkout: added --svg option
2904 * checkout-svg: Removed.
2906 2005-09-19 Eric Seidel <eseidel@apple.com>
2910 * Scripts/run-webkit-tests: added --guard-malloc option
2911 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2913 2005-09-16 Justin Garcia <justin.garcia@apple.com>
2917 Removed a script that is only used by apple internal developers
2919 * Scripts/update-webkitsysteminterface: Removed.
2921 2005-09-16 Adele Peterson <adele@apple.com>
2925 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2927 2005-09-14 Darin Adler <darin@apple.com>
2929 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2930 dumpAsText doesn't work with XHTML documents
2932 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2933 rather than of the body element. This works with typical XHTML documents. We can probably
2934 do something even better in the long run, but this fixes the immediate issue.
2938 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2939 run-safari instead of just using "open", which often runs another copy of Safari instead.
2941 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
2943 Reviewed, tweaked, and landed by Darin.
2945 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2946 .Mac prefpane crashes when Safari using CVS WebKit is running
2948 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2949 * Scripts/run-webkit-app: Ditto.
2951 2005-09-11 Darin Adler <darin@apple.com>
2953 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2955 2005-09-11 Darin Adler <darin@apple.com>
2959 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2960 two ways: 1) puts all files in a directory before any files in a subdirectory, and
2961 2) sort file names with numeric digits in them in a logical way, so test-33 will come
2964 2005-09-08 Justin Garcia <justin.garcia@apple.com>
2968 * Scripts/update-webkitsysteminterface: Added.
2969 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2971 2005-09-01 John Sullivan <sullivan@apple.com>
2973 * Scripts/run-webkit-tests:
2974 Excluded a known system leak to reduce noise; added comments about which leaks
2977 2005-09-01 Tim Omernick <tomernick@apple.com>
2979 Change made by Darin, reviewed by John and myself.
2981 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2983 * Scripts/prepare-ChangeLog:
2985 2005-08-31 Maciej Stachowiak <mjs@apple.com>
2989 - set color variant and font settings to a consistent value.
2990 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2992 * DumpRenderTree/DumpRenderTree.m:
2995 2005-08-30 Eric Seidel <eseidel@apple.com>
2999 * Scripts/build-svg2png: Removed.
3000 * svg2png/ImageDiff.h: Removed.
3001 * svg2png/ImageDiff.m: Removed.
3002 * svg2png/svg2png.m: Removed.
3003 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3004 * svg2png/svg2png_Prefix.pch: Removed.
3005 svg2png is no longer needed.
3007 2005-08-30 Darin Adler <darin@apple.com>
3009 * Scripts/check-dom-results: Special case 100% to say something nice.
3010 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3011 applying the patch (need a better name).
3012 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3014 2005-08-30 Darin Adler <darin@apple.com>
3016 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3018 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3022 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3023 (some pixel tests fail when AA settings are changed)
3025 * DumpRenderTree/DumpRenderTree.m:
3026 (main): set AA settings to the default values
3028 2005-08-29 Darin Adler <darin@apple.com>
3030 Reviewed by John Sullivan.
3032 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3033 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3036 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3040 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3041 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3043 * DumpRenderTree/DumpRenderTree.m:
3044 (main): set scrollbar arrow setting to a consistent value
3046 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3048 Reviewed and landed by Darin.
3050 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3051 output of update-webkit is too verbose
3053 * Scripts/update-webkit:
3054 Added option --quiet (-q) to decrease the amount of output.
3056 2005-08-27 Darin Adler <darin@apple.com>
3058 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3059 cvs-create-patch --include-unknowns should ignore hidden files
3061 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3063 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3065 Reviewed, tweaked, and landed by Darin.
3067 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3068 update-webkit doesn't notice when you have SVGSupport and update properly
3070 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3072 2005-08-25 Anders Carlsson <andersca@mac.com>
3074 Reviewed and landed by Darin.
3076 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3077 layout test machinery can't handle tests with applets that have code attributes
3079 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3081 2005-08-24 Darin Adler <darin@apple.com>
3085 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3086 DumpRenderTree --pixel-tests crash
3087 - landed some other small changes I had sitting in my tree
3089 * DumpRenderTree/DumpRenderTree.m:
3090 (main): Don't bother saving and restoring the preferences. Not sure
3091 why this was ever done since the preferences are specific to DumpRenderTree.
3092 Clear delegates before releasing the WebView, because you can't count on the
3093 order of object deallocation.
3094 (dumpRenderTree): Fix code that releases a string before storing it in a
3097 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3098 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3100 2005-08-23 Eric Seidel <eseidel@apple.com>
3104 * Scripts/run-webkit-tests:
3105 Made --leaks option more readable by printing to a file.
3106 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3108 2005-08-22 Eric Seidel <eseidel@apple.com>
3109 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3113 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3114 when they are not needed (for pixel-only failures)
3115 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3117 2005-08-22 Eric Seidel <eseidel@apple.com>
3121 * Scripts/run-webkit-tests: Added the ability to display more than
3122 just two images as part of the image-diff "slideshow".
3123 Added display of "-w3c.png" baseline images for SVG.
3124 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3126 2005-08-20 Eric Seidel <eseidel@apple.com>
3128 * Scripts/run-webkit-tests:
3129 "build" fix after committing incorrect version.
3131 2005-08-20 Eric Seidel <eseidel@apple.com>
3135 * DumpRenderTree/DumpRenderTree.m:
3136 (main): cleans up delegates
3137 (dumpRenderTree): closes CFString/CFURL leak
3138 * Scripts/run-webkit-tests:
3139 Adds --leaks option to run-webkit-tests
3140 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3142 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3146 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3147 new files to be included in the patch even without "cvs add".
3149 2005-08-19 Darin Adler <darin@apple.com>
3151 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3152 non-cvs-generated patches. Anders has been creating these, so it's bad that
3153 the script can't handle them.
3154 * Scripts/cvs-unapply: Ditto.
3156 2005-08-18 Darin Adler <darin@apple.com>
3158 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3159 "." in them -- based on complaint by someone here at Apple.
3161 2005-08-18 Eric Seidel <eseidel@apple.com>
3165 * Scripts/run-webkit-tests:
3166 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3168 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3170 - add file that I forgot in the last checkin
3172 * DumpRenderTree/ImageDiff.m: Added.
3174 (getImageFromStdin):
3176 (getDifferenceBitmap):
3177 (computePercentageDifferent):
3179 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3181 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3182 somewhat by me, and also tweaked by me a little bit.
3184 - better support for pixel-dumping
3185 - use checksums of the images so the tests are fast
3186 - change output format to make the tests run faster
3187 - don't dump pixel results for tests that dump as text
3189 * DumpKCanvasTree/DumpKCanvasTree.m:
3192 (md5HashStringForBitmap):
3194 (constrainSizeToMaximum):
3195 (getBitmapImageRepForSVGDocument):
3196 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3197 * DumpRenderTree/DumpRenderTree.m:
3201 (md5HashStringForBitmap):
3202 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3203 * Scripts/run-webkit-tests:
3205 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3209 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3211 * DumpRenderTree/DumpRenderTree.m:
3214 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3216 Reviewed and landed by Darin.
3218 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3219 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3221 * Scripts/run-safari: Pass arguments through to Safari on command line.
3222 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3224 2005-08-11 Eric Seidel <eseidel@apple.com>
3225 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3227 Reviewed by eseidel.
3229 * DrawTest/TestController.m:
3230 (-[TestController imagePathForSVGPath:]):
3231 Fixed support for using TextViewer with the layout-tests.
3232 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3234 2005-08-11 Maciej Stachowiak <mjs@apple.com>
3236 At Least Roughly Glanced At by Anders.
3238 - fix change with totally breaks the layout tests.
3240 * DumpRenderTree/DumpRenderTree.m:
3241 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3242 load, to avoid dumping twice accidentally.
3244 2005-08-10 Eric Seidel <eseidel@apple.com>
3245 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3249 * DumpRenderTree/DumpRenderTree.m:
3250 Added support for rendering to a PNG file.
3251 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3253 2005-08-07 Eric Seidel <eseidel@apple.com>
3257 * Scripts/run-webkit-tests: added --svg option
3258 * Scripts/run-webkit-tests-svg: Removed.
3259 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
3261 2005-08-07 Eric Seidel <eseidel@apple.com>
3262 Changes by Ben La Monica <ben.lamonica@gmail.com>
3266 * svg2png/ImageDiff.h: Added.
3267 * svg2png/ImageDiff.m: Added.
3268 (getDifferenceBitmap):
3269 (computePercentageDifferent):
3270 (saveAnimatedGIFToFile):
3271 * svg2png/svg2png.m:
3272 (usage): added several new options
3273 (getBitmapForSVG): added NSBitmapImageRep generation
3274 (main): various argument changes.
3275 * svg2png/svg2png.xcodeproj/project.pbxproj:
3276 Several additions to provide image differencing functionality.
3277 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3279 2005-08-07 Eric Seidel <eseidel@apple.com>
3283 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3284 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3285 Adding the first SVG layout tests:
3286 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3288 2005-08-07 Darin Adler <darin@apple.com>
3290 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3292 2005-08-06 Eric Seidel <eseidel@apple.com>
3296 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3297 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3298 * Scripts/build-dumpkcanvastree: Added.
3299 * Scripts/run-webkit-tests-svg: Added.
3300 Adds a DumpRenderTree-like tool for SVG which allows us to do
3301 text-based layout regression testing. This (like most of the
3302 SVG specific stuff) is temporary and will be replaced by
3303 DumpRenderTree once the DOMs and RenderTrees merge.
3304 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3306 2005-08-06 Eric Seidel <eseidel@apple.com>
3310 * DrawTest/DrawTestView.m:
3311 (-[DrawTestView toggleFilterSupport:]): missing negation.
3312 One half of fix for toggling filter support.
3313 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3315 2005-08-04 Eric Seidel <eseidel@apple.com>
3319 * Scripts/build-drawtest:
3320 * Scripts/build-dumprendertree:
3321 * Scripts/build-svg2png:
3322 * Scripts/build-webcore-svg:
3323 * Scripts/build-webkit:
3324 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
3325 Added checkRequiredSystemConfig and made all the build-* scripts
3326 use it to print a pretty warning when trying to compile on an
3327 unsupported system (less than 10.4, Xcode 2.1).
3328 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
3330 2005-08-04 Darin Adler <darin@apple.com>
3332 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
3333 the dead. It was removed by accident when someone was trying to work on the branch.
3335 2005-07-31 Darin Adler <darin@apple.com>
3337 - a little tools cleanup
3339 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
3340 project as a whole. Removed unused Default configuration.
3342 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
3344 2005-07-31 Duncan Wilcox <duncan@mclink.it>
3346 Reviewed and landed by Darin Adler.
3348 Add logging of editing delegate calls for regression checking.
3350 * DumpRenderTree/DumpRenderTree.m:
3352 setup editing delegate
3354 (-[DOMNode dumpPath]):
3356 utility for editing delegate logging
3358 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3359 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3360 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3361 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3362 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3363 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3364 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3365 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3366 (-[EditingDelegate webViewDidBeginEditing:]):
3367 (-[EditingDelegate webViewDidChange:]):
3368 (-[EditingDelegate webViewDidEndEditing:]):
3369 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3370 log corresponding editing delegate methods
3372 (-[EditingDelegate webViewDidChangeSelection:]):
3373 log selection except when clearing selection after end of test (uses existing "done" flag)
3376 added clearing of selection after test
3378 2005-07-31 Eric Seidel <eseidel@apple.com>
3382 * Scripts/build-drawtest: Added.
3383 * Scripts/build-svg2png: Added.
3384 * Scripts/build-webcore-svg: Added.
3385 * Scripts/run-drawtest: Added.
3386 * Scripts/webkitdirs.pm: added checkSVGFrameworks
3387 Made it much easier to build WebCore+SVG.
3388 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
3390 2005-07-29 Eric Seidel <eseidel@apple.com>
3394 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3395 Build fix. Removed bad path.
3397 2005-07-29 Eric Seidel <eseidel@apple.com>
3399 Reviewed by sullivan.
3401 * DrawTest/AppDelegate.h: Added.
3402 * DrawTest/AppDelegate.m: Added.
3403 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
3404 * DrawTest/DrawTestDocument.h: Added.
3405 * DrawTest/DrawTestDocument.m: Added.
3406 * DrawTest/DrawTestInspectorController.h: Added.
3407 * DrawTest/DrawTestInspectorController.m: Added.
3408 * DrawTest/DrawTestToolbarController.h: Added.
3409 * DrawTest/DrawTestToolbarController.m: Added.
3410 * DrawTest/DrawTestView.h: Added.
3411 * DrawTest/DrawTestView.m: Added.
3412 * DrawTest/DrawTest_Prefix.pch: Added.
3413 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
3414 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
3415 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
3416 * DrawTest/English.lproj/InfoPlist.strings: Added.
3417 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3418 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3419 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3420 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3421 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3422 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3423 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3424 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3425 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3426 * DrawTest/Info.plist: Added.
3427 * DrawTest/SVGTest.h: Added.
3428 * DrawTest/SVGTest.m: Added.
3429 * DrawTest/ScalingImageView.h: Added.
3430 * DrawTest/ScalingImageView.m: Added.
3431 * DrawTest/TestController.h: Added.
3432 * DrawTest/TestController.m: Added.
3433 * DrawTest/TestViewerSplitView.h: Added.
3434 * DrawTest/TestViewerSplitView.m: Added.
3435 * DrawTest/main.m: Added.
3436 Adding simple cocoa app for testing SVG rendering, interaction.
3437 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3439 2005-07-28 Eric Seidel <eseidel@apple.com>
3443 * svg2png/svg2png.m: Added.
3444 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3445 * svg2png/svg2png_Prefix.pch: Added.
3446 Added a simple test tool which dumps a PNG from an SVG using
3447 WebCore+SVG's SVG rendering support.
3448 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3450 2005-07-26 Maciej Stachowiak <mjs@apple.com>
3454 - new script to review the DOM layout test results and see where we stand
3455 on actual success and failure
3457 * Scripts/check-dom-results: Added.
3459 2005-07-25 Darin Adler <darin@apple.com>
3461 * Scripts/webkitdirs.pm: Check in missing line of code.
3463 2005-07-25 Darin Adler <darin@apple.com>
3465 - fixed problem that was causing JavaScriptCore test to fail
3466 (except for people who had set DYLD_FRAMEWORK_PATH)
3468 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
3469 Add code to parse configuration parameter so you can pass --deployment if you like.
3470 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
3472 * Scripts/update-javascriptcore-test-results: Add license header.
3474 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
3475 from @ARGV. This lets us use this option in commands that take other options and
3476 pass them along to a subsequent tool.
3478 2005-07-25 Darin Adler <darin@apple.com>
3480 Reviewed by Geoff Garen.
3482 - Fixed run-safari and gdb-safari to use the Safari application in the build results
3483 directory, if any, falling back to the one in the Applications directory otherwise.
3484 Does no harm for open source contributors who don't build Safari, and helps out the
3485 Safari team, since we do build Safari.
3487 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
3488 variable, and if that's not present, looks in either the build results directory or
3489 /Applications; factors code that was in both scripts before into a shared function.
3490 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
3491 now in Xcode 2.1 format and incompatible with older versions of Xcode.
3493 * Scripts/gdb-safari: Use safariPath.
3494 * Scripts/run-safari: Use safariPath.
3496 2005-07-22 Geoffrey Garen <ggaren@apple.com>
3498 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
3499 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
3501 Moved Tools/Scripts/update-mozilla-js-test-results to
3502 WebKitTools/Scripts/update-javascriptcore-test-results.
3506 * Scripts/run-javascriptcore-tests: Added.
3508 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3512 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
3514 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3516 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
3518 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3520 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
3522 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3524 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
3526 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3528 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
3530 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3532 * Scripts/build-webkit:
3534 2005-07-12 Eric Seidel <eseidel@apple.com>
3538 * checkout-svg: Fixed error with symlink creation.
3540 2005-07-12 Eric Seidel <eseidel@apple.com>
3544 * checkout-svg: Added.
3545 Script to check out WebCore+SVG
3547 2005-06-30 Darin Adler <darin@apple.com>
3549 Changes based on input from Michael Kahl.
3551 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
3552 specify different style of "diff".
3553 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
3554 determineConfigurationProductDir works in all cases.
3556 2005-06-29 Darin Adler <darin@apple.com>
3558 - fixed bug which would result in multiple unwanted dumps in a single layout test
3560 * DumpRenderTree/DumpRenderTree.m:
3561 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
3563 (-[LayoutTestController waitUntilDone]): Update for name change.
3564 (-[LayoutTestController notifyDone]): Dump only if ready.
3565 (dumpRenderTree): Set up new boolean and update for name change.
3567 2005-06-29 Darin Adler <darin@apple.com>
3569 Changes by Timothy Hatcher.
3572 * Scripts/run-webkit-app: Added script to open an arbritrary application with
3573 a CVS built WebKit. Example: ./run-webkit-app Colloquy
3575 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
3576 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
3577 * Scripts/run-safari: Ditto.
3579 2005-06-26 Darin Adler <darin@apple.com>
3581 * Scripts/build-dumprendertree: Pass -project option so that having a second
3582 copy of the project (like the one Xcode 2.1 offers to make for you) that's
3583 out of date won't screw you up.
3584 * Scripts/build-webkit: Ditto.
3586 2005-06-23 Darin Adler <darin@apple.com>
3588 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
3590 2005-06-23 Darin Adler <darin@apple.com>
3592 Changes based on input from Michael Kahl.
3594 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
3595 directory passed in.
3597 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
3598 getcwd() in the code to find the base product dir. Added code to handle unusual
3599 base product directory values that use SRCROOT.
3601 2005-06-22 Darin Adler <darin@apple.com>
3603 Change by Anders Carlsson.
3605 - added support for dumping title changes
3607 * DumpRenderTree/DumpRenderTree.m:
3608 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
3609 if requested by JavaScript.
3610 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
3611 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
3612 (dumpRenderTree): Start flag as NO.
3614 2005-06-20 Darin Adler <darin@apple.com>
3616 Reviewed by Justin Garcia.
3618 * Scripts/run-webkit-tests: Report number of tests when they succeed.
3620 2005-06-18 Darin Adler <darin@apple.com>
3622 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
3623 in the hope of making the tool use less memory and run faster.
3625 2005-06-18 Darin Adler <darin@apple.com>
3627 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
3628 * Scripts/cvs-unapply: Ditto.