1 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
5 Bug 9931: [Drosera] Needs a cool icon
6 http://bugzilla.opendarwin.org/show_bug.cgi?id=9931
8 * Drosera/Drosera.icns: Added.
9 * Drosera/Drosera.xcodeproj/project.pbxproj:
12 2006-08-01 Darin Adler <darin@apple.com>
14 - fix a bug in my recent change where the mouse position at the end of
15 the last test would affect the results of the next test
17 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
19 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
23 http://bugzilla.opendarwin.org/show_bug.cgi?id=10182
24 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
26 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
27 Correct the logic to not reload local variable list unless an '=' character is in the expression.
29 2006-07-31 Darin Adler <darin@apple.com>
33 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10171
34 REGRESSION: failing layout test: fast/events/objc-event-api.html
36 * DumpRenderTree/DumpRenderTree.m:
37 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
38 location in flipped coordinates, since those are the coordinates that we use.
39 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
42 * DumpRenderTree/EventSendingController.m:
43 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
44 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
45 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
46 probably worked OK, but this is needed to be correct.
47 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
48 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
49 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
50 dump the screenY as-is.
52 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
56 http://bugzilla.opendarwin.org/show_bug.cgi?id=10178
57 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
59 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
60 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
62 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
66 http://bugzilla.opendarwin.org/show_bug.cgi?id=10175
67 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
69 * Drosera/DebuggerDocument.m:
70 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
72 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
76 http://bugzilla.opendarwin.org/show_bug.cgi?id=10167
77 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
79 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
82 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
86 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
87 http://bugzilla.opendarwin.org/show_bug.cgi?id=9686
89 * Drosera/DebuggerDocument.m:
90 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
91 ensure that the server does not try and notify us of events related to the resumption.
92 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
93 call through to JavaScript.
94 * Drosera/debugger.js: Pause debugger when exception is raised.
96 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
100 - fixes for Linux build
102 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
103 * GdkLauncher/gdklauncher.bkl: Tweak comment.
105 2006-07-24 Dan Waylonis <waylonis@google.com>
107 Reviewed and tweaked a bit by Darin.
109 * DumpRenderTree/ObjCPlugin.m:
110 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
111 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
112 "echo:" so it's nice to call from JavaScript.
113 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
114 to test a round trip through Objective-C types.
116 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
120 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10060
121 Improve iExploder results parsing
123 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
126 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
130 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9964
131 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
133 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
135 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
139 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
140 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
142 Removed "Property changes" that snuck in as part of the "apply patch" process.
144 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
148 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9875
149 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
152 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
154 (patch): Use patch(1) for non-binary additions and deletions.
155 * Scripts/svn-unapply:
157 (patch): Use patch(1) for reverting non-binary additions and deletions.
158 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
160 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
164 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
165 http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
167 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
168 so, have stepOut pause on the next call to willExecuteStatement rather than second.
170 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
174 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
175 Teach svn-create-patch and friends to fix ChangeLog patches
177 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
178 * Scripts/svn-create-patch: Ditto.
179 * Scripts/svn-unapply: Ditto.
181 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
185 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
186 http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
188 * Drosera/DebuggerDocument.m:
189 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
191 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
195 Bug 9863: Drosera needs to show something at launch
196 http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
198 * Drosera/DebuggerApplication.m:
199 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
201 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
205 Lets Drosera build universal for the nightlies. Right now it is not
206 possible to build a universal binary on a PPC machine because of a
207 conflict with the universal SDK.
209 * BuildSlaveSupport/build-launcher-app:
210 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
212 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
216 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
217 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
219 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
220 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
221 should open a new stream and deliver the data to the current instance.
223 2006-07-11 Timothy Hatcher <timothy@apple.com>
227 Bug 9598: [Drosera] add a JavaScript evaluator console
228 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
230 * Drosera/DebuggerApplication.h:
231 * Drosera/DebuggerApplication.m:
232 (-[DebuggerApplication knownServers]):
233 * Drosera/DebuggerDocument.h:
234 * Drosera/DebuggerDocument.m:
235 (-[WebScriptObject evaluateScript:inCallFrame:]):
236 (-[WebScriptObject showConsole:]):
237 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
238 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
239 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
240 (-[WebScriptObject webView:createWebViewWithRequest:]):
241 (-[WebScriptObject webViewShow:]):
242 (-[WebScriptObject webViewAreToolbarsVisible:]):
243 (-[WebScriptObject webView:setToolbarsVisible:]):
244 (-[WebScriptObject webView:setResizable:]):
245 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
246 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
247 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
248 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
249 (-[WebScriptObject webView:didFinishLoadForFrame:]):
250 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
251 * Drosera/Drosera.xcodeproj/project.pbxproj:
252 * Drosera/Images/console.png: Added.
253 * Drosera/console.css: Added.
254 * Drosera/console.html: Added.
255 * Drosera/console.js: Added.
257 2006-07-11 Timothy Hatcher <timothy@apple.com>
259 Reviewed by a tired Geoff.
261 Bug 9597: [Drosera] hook up the variables table to show stack variables
262 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
264 * Drosera/DebuggerDocument.m:
265 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
266 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
267 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
268 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
269 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
270 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
271 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
272 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
273 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
274 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
275 * Drosera/debugger.css:
276 * Drosera/debugger.html:
277 * Drosera/debugger.js:
279 2006-07-10 Tim Omernick <timo@apple.com>
281 Reviewed by Beth Dakin.
283 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
284 Add DOM access test to DumpRenderTree's Netscape plug-in
286 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
290 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
294 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
295 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
297 Now track three states: initializing, running, and closed. If we are launched and the previous
298 state was initializing then we likely just experienced a crash on launch.
300 * WebKitLauncher/WebKitNightlyEnabler.m:
301 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
302 (myApplicationWillTerminate): Update to use new states.
303 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
304 initializing as early as practical.
305 (symbol_lookup): Bring code up to speed with formatting guidelines.
306 (GDSymbolLookup): Ditto.
308 2006-07-10 Darin Adler <darin@apple.com>
310 - try to fix Windows build
312 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
313 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
315 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
317 Build fix. Reviewed by NOBODY.
319 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
320 devenv.com not available in VC++ Express installations
322 * Scripts/webkitdirs.pm: Backed out previous change.
324 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
328 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
329 svn-apply should set ChangeLog date correctly when applying patches
331 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
332 before applying the patch.
333 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
335 2006-07-09 Darin Adler <darin@apple.com>
337 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
339 2006-07-09 Darin Adler <darin@apple.com>
341 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
343 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
345 Reviewed by NOBODY (build fix).
347 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
348 devenv.com not available in VC++ Express installations
350 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
351 work again. Add VC++ Express check as the fallback.
353 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
355 Reviewed by Timothy Hatcher.
357 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
358 devenv.com not available in VC++ Express installations
360 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
362 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
366 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
367 Patch by coldwinter@katamail.com.
369 In the congratulations message, "capatibilies" should be "capabilities".
371 * Scripts/build-webkit:
373 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
375 Reviewed by Timothy Hatcher.
377 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
378 Teach run-webkit-tests how to ignore tests with performance improvements
380 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
381 feature, and minor clean up.
383 2006-07-08 Darin Adler <darin@apple.com>
385 Reviewed by Geoff (well, half of it at least).
387 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
388 storage leaks in Objective-C tests
390 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
391 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
392 Add a release to fix a storage leak.
394 2006-07-08 Darin Adler <darin@apple.com>
396 * Scripts/do-webcore-rename: A few more.
398 2006-07-08 Darin Adler <darin@apple.com>
400 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
402 2006-07-04 Maciej Stachowiak <mjs@apple.com>
406 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
407 - add support for dumping non-HTML as text - in this case use textContent
410 * DumpRenderTree/DumpRenderTree.m:
413 2006-07-02 Timothy Hatcher <timothy@apple.com>
417 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
418 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
420 Adds step over and step out. Along with a little code cleanup
421 that was minor enough to piggyback on this fix.
423 * Drosera/DebuggerDocument.h:
424 * Drosera/DebuggerDocument.m:
425 (-[DebuggerDocument stepOver:]):
426 (-[DebuggerDocument stepOut:]):
427 (-[DebuggerDocument windowDidLoad]):
428 (-[DebuggerDocument windowWillClose:]):
429 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
430 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
431 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
432 (-[DebuggerDocument validateUserInterfaceItem:]):
433 * Drosera/Drosera.xcodeproj/project.pbxproj:
434 * Drosera/debugger.html:
435 * Drosera/debugger.js:
436 * Drosera/viewer.css:
438 2006-07-02 Timothy Hatcher <timothy@apple.com>
442 Bug 9628: [Drosera] Split Views acting oddly
443 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
445 Only update the last X or Y coordinate if the new
446 size was not constrained. Also adds the resize cursor to
447 the body during the drag incase there is a constrained
448 over drag off of the resizer element.
450 * Drosera/debugger.js:
452 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
454 Reviewed by Alexy Proskuryakov.
456 Bug 9692: Warning about Safari extensions on every launch is obnoxious
457 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
459 * WebKitLauncher/WebKitNightlyEnabler.m:
460 (myApplicationWillTerminate): Note that we are exiting cleanly.
461 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
462 to exit cleanly on our last invocation. This doesn't play nicely with
463 multiple concurrent instances of WebKit.app so it can be disabled via
464 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
466 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
468 Reviewed by Alexy Proskuryakov.
470 Bug 9654: Refresh Loop when accessing feed URLs
471 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
473 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
475 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
477 Reviewed by Timothy Hatcher.
479 Bug 9689: Nightly builds should warn a user about potential problems when using
481 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
483 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
484 * WebKitLauncher/WebKitNightlyEnabler.m:
485 (myBundleDidLoad): Keep track of if any bundles that are loaded.
486 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
487 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
488 NSApplicationWillFinishLaunchingNotification notifications so that we can
489 track bundle loads and notify the user at launch completion.
491 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
495 - first check-in of a Gdk shell for testing WebKit
497 * GdkLauncher: Added.
499 2006-06-29 Timothy Hatcher <timothy@apple.com>
503 Need to call window close so WebView tears-down completly.
505 * DumpRenderTree/DumpRenderTree.m:
506 (main): call [window close]
508 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
512 Bug 9615: Buildbot configuration should be in SVN repository
513 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
515 Import BuildBot configuration files as used by build.webkit.org.
516 auth.py has been stubbed out so that slave passwords are not disclosed.
518 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
519 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
520 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
521 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
522 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
523 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
524 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
525 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
526 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
527 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
528 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
529 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
531 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
535 Bug 9614: Nightly builds should notify user if a newer build is available
536 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
538 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
539 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
540 script so it can keep track of the latest revision.
541 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
542 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
543 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
544 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
545 the nightly start page.
547 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
551 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
552 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
554 Report screenY values as (height of zero screen - screenY)
556 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
558 2006-06-25 Timothy Hatcher <timothy@apple.com>
562 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
563 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
565 Makes breakpoints dragable. If dragged off the gutter they are deleted.
567 * Drosera/debugger.js:
568 * Drosera/viewer.css:
570 2006-06-25 Timothy Hatcher <timothy@apple.com>
574 Bug 9568: assertion failure in Safari after quitting Drosera
575 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
577 Call switchToServerNamed:nil and not removeLister to make sure
578 the server object is set to nil to prevent further removeListener calls.
580 * Drosera/DebuggerDocument.m:
581 (-[DebuggerDocument applicationTerminating:]):
583 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
587 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
588 that the directory is not empty instead of reading in every single file and directory first,
589 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
592 2006-06-25 Darin Adler <darin@apple.com>
594 * Scripts/svn-apply: Tweak comments.
595 * Scripts/svn-create-patch: Ditto.
596 * Scripts/svn-unapply: Ditto.
598 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
600 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
602 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
604 * Scripts/svn-apply: Formatting fix.
606 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
610 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
611 Teach svn-apply and svn-unapply to handle directory adds and removes better
613 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
614 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
616 2006-06-25 Timothy Hatcher <timothy@apple.com>
620 Bug 9574: Drosera should show inline scripts within the original HTML
621 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
623 Refactor the JavaScript code to have a distinction between files
624 and scripts. Show the script in the context of the HTML file if
625 it's URL is the same as the frame's main resource. At the time of
626 the disParseScript callback the main resource might not be completely
627 loaded, but Drosera needs to show whatever we have at the time. Once
628 the main resource is finished, update the file source and reload the file.
630 * Drosera/DebuggerDocument.m:
631 (-[DebuggerDocument pause]):
632 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
633 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
634 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
635 * Drosera/debugger.css:
636 * Drosera/debugger.js:
638 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
642 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
643 Teach prepare-ChangeLog to operate on a list of files or directories
645 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
646 * Scripts/svn-create-patch: Code refactoring.
648 2006-06-24 James G. Speth <speth@end.com>
652 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
653 add a way to build Objective-C test cases in HTML
655 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
656 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
657 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
660 * DumpRenderTree/ObjCPlugin.h:
661 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
662 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
663 (+[ObjCPlugin webScriptNameForSelector:]):
664 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
665 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
666 (+[NSObject allowsScriptsFullAccess]):
667 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
668 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
669 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
670 (+[JSObjC webScriptNameForSelector:]):
671 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
672 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
673 (-[JSObjC log:]): access to NSLog function
674 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
675 (-[JSObjC classOfObject:]):
676 (-[JSObjC classNameOfObject:]):
678 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
682 * DrawTest/Info.plist: Added copyright statement.
683 * Drosera/Info.plist: Ditto.
684 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
685 * WebKitLauncher/Info.plist: Ditto.
687 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
689 Build fix. Reviewed by NOBODY.
691 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
692 devenv.com not available in VC++ Express installations
694 * Scripts/webkitdirs.pm: Backed out previous change.
696 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
700 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
701 devenv.com not available in VC++ Express installations
703 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
705 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
709 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
710 A bunch of fixes to run-webkit-httpd
712 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
713 127.0.0.1. Useful for testing with WinIE running on another machine;
714 - don't call checkFrameworks() - we do not need a built WebKit here;
715 - changed tabs to spaces;
716 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
717 interactive mode, they were a hassle when testing with several browsers, as one
718 had to wait for connection to expire);
719 - remove httpd.pid when done, so that Apache doesn't complain next time.
721 * Scripts/run-webkit-httpd:
723 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
725 Reviewed by ggaren, landed by ap.
727 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
728 Complete DOMUIEvent Obj-C API to reflect UIEvent
730 Add function to enable logging of all events of one DOM node to stdout.
732 * DumpRenderTree/EventSendingController.h:
733 * DumpRenderTree/EventSendingController.m:
734 (+[EventSendingController initialize]):
735 (+[EventSendingController isSelectorExcludedFromWebScript:]):
736 (+[EventSendingController webScriptNameForSelector:]):
737 (-[EventSendingController enableDOMUIEventLogging:]):
738 (-[EventSendingController handleEvent:]):
740 2006-06-23 Kevin Decker <kdecker@apple.com>
742 Reviewed by Tim Hatcher.
744 - Made column headers in Drosera resizable.
746 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
750 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
751 Another case error preventing build
753 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
755 2006-06-22 Timothy Hatcher <timothy@apple.com>
759 Adds a native toolbar to Drosera to be a good citizen.
760 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
761 Fixes a dragging bug from an earlier fix to the divider code.
762 Fixes some poor indenting in debugger.js.
764 * Drosera/DebuggerDocument.h:
765 * Drosera/DebuggerDocument.m:
766 (-[DebuggerDocument stepInto]):
767 (-[DebuggerDocument pause:]):
768 (-[DebuggerDocument resume:]):
769 (-[DebuggerDocument stepInto:]):
770 (-[DebuggerDocument windowDidLoad]):
771 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
772 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
773 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
774 (-[DebuggerDocument validateUserInterfaceItem:]):
775 * Drosera/English.lproj/MainMenu.nib/classes.nib:
776 * Drosera/English.lproj/MainMenu.nib/info.nib:
777 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
778 * Drosera/debugger.css:
779 * Drosera/debugger.html:
780 * Drosera/debugger.js:
781 * Drosera/viewer.html:
783 2006-06-22 Kevin Decker <kdecker@apple.com>
787 - Added pressed column header image.
788 - Made column headers behave more like Xcode.
790 2006-06-22 Timothy Hatcher <timothy@apple.com>
792 Reviewed by Kevin Decker.
794 Code clean up. Adds the stackframe and makes only the body
795 of the tables scrollable keeping the header visible.
796 Shows the current function stack when paused or stepping.
798 * Drosera/DebuggerApplication.m:
799 (-[DebuggerApplication awakeFromNib]):
800 (-[DebuggerApplication numberOfRowsInTableView:]):
801 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
802 * Drosera/DebuggerDocument.h:
803 * Drosera/DebuggerDocument.m:
804 (-[DebuggerDocument dealloc]):
805 (-[DebuggerDocument currentFrame]):
806 (-[DebuggerDocument currentFrameFunctionName]):
807 (-[DebuggerDocument currentFunctionStack]):
808 (-[DebuggerDocument log:]):
809 (-[DebuggerDocument windowWillClose:]):
810 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
811 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
812 * Drosera/Drosera.xcodeproj/project.pbxproj:
813 * Drosera/debugger.css:
814 * Drosera/debugger.html:
815 * Drosera/debugger.js:
817 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
821 Teach run-webkit-httpd to properly look for webkitdirs.pm.
823 * Scripts/run-webkit-httpd:
825 2006-06-22 Kevin Decker <kdecker@apple.com>
827 Reviewed by Tim Hatcher.
829 - More progress toward Javascript Debugger.
830 - Added some new images to the project.
832 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
836 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
837 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
839 * Scripts/run-webkit-httpd: Added.
841 2006-06-20 Timothy Hatcher <timothy@apple.com>
845 Builds Drosera and a launcher to include with the nightly.
847 * BuildSlaveSupport/build-launcher-app:
848 * BuildSlaveSupport/build-launcher-dmg:
849 * Drosera/Drosera.xcodeproj/project.pbxproj:
850 * Drosera/Info.plist:
851 * Drosera/LauncherInfo.plist: Added.
852 * Drosera/launcher.m: Added.
853 (displayErrorAndQuit):
854 (checkMacOSXVersion):
857 * Scripts/build-drosera
858 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
859 * WebKitLauncher/main.m:
862 2006-06-20 Timothy Hatcher <timothy@apple.com>
866 Adds a JavaScript debugger, called Drosera. Named after
867 a genus of bug eating plants.
869 * Drosera/DebuggerApplication.h: Added.
870 * Drosera/DebuggerApplication.m: Added.
871 (-[DebuggerApplication applicationDidFinishLaunching:]):
872 (-[DebuggerApplication serverLoaded:]):
873 (-[DebuggerApplication serverUnloaded:]):
874 (-[DebuggerApplication awakeFromNib]):
875 (-[DebuggerApplication showAttachPanel:]):
876 (-[DebuggerApplication attach:]):
877 (-[DebuggerApplication numberOfRowsInTableView:]):
878 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
879 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
880 (-[DebuggerApplication tableViewSelectionDidChange:]):
881 * Drosera/DebuggerDocument.h: Added.
882 * Drosera/DebuggerDocument.m: Added.
883 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
884 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
885 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
886 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
887 (-[DebuggerDocument initWithServerName:]):
888 (-[DebuggerDocument windowWillClose:]):
889 (-[DebuggerDocument dealloc]):
890 (-[DebuggerDocument isPaused]):
891 (-[DebuggerDocument pause]):
892 (-[DebuggerDocument resume]):
893 (-[DebuggerDocument step]):
894 (-[DebuggerDocument windowNibName]):
895 (-[DebuggerDocument windowDidLoad]):
896 (-[DebuggerDocument switchToServerNamed:]):
897 (-[DebuggerDocument applicationTerminating:]):
898 (-[DebuggerDocument serverConnectionDidDie:]):
899 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
900 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
901 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
902 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
903 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
904 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
905 * Drosera/Drosera.pch: Added.
906 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
907 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
908 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
909 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
910 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
911 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
912 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
913 * Drosera/Images/breakPoint.tif: Added.
914 * Drosera/Images/breakPointDisabled.tif: Added.
915 * Drosera/Images/continue.tif: Added.
916 * Drosera/Images/finishFunction.tif: Added.
917 * Drosera/Images/glossyFooterFill.tif: Added.
918 * Drosera/Images/glossyHeader.png: Added.
919 * Drosera/Images/gradientBackground.png: Added.
920 * Drosera/Images/gutter.png: Added.
921 * Drosera/Images/navLeftDisabled.png: Added.
922 * Drosera/Images/navLeftNormal.png: Added.
923 * Drosera/Images/navLeftPressed.png: Added.
924 * Drosera/Images/navRightDisabled.png: Added.
925 * Drosera/Images/navRightNormal.png: Added.
926 * Drosera/Images/navRightPressed.png: Added.
927 * Drosera/Images/pause.tif: Added.
928 * Drosera/Images/popUpArrows.png: Added.
929 * Drosera/Images/programCounter.tif: Added.
930 * Drosera/Images/programCounterBreakPoint.tif: Added.
931 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
932 * Drosera/Images/run.tif: Added.
933 * Drosera/Images/splitterBar.tif: Added.
934 * Drosera/Images/splitterDimple.tif: Added.
935 * Drosera/Images/step.tif: Added.
936 * Drosera/Images/stepOver.tif: Added.
937 * Drosera/Images/stop.tif: Added.
938 * Drosera/Images/toolbarBackground.png: Added.
939 * Drosera/Info.plist: Added.
940 * Drosera/debugger.css: Added.
941 * Drosera/debugger.html: Added.
942 * Drosera/debugger.js: Added.
943 * Drosera/main.m: Added.
945 * Drosera/viewer.css: Added.
946 * Drosera/viewer.html: Added.
948 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
952 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
953 Teach svn-apply and svn-unapply to use full path names
955 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
956 * Scripts/svn-unapply: Ditto.
958 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
962 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
963 DumpRenderTree should be able to keep URL history during runs
965 Test: LayoutTests/fast/history/clicked-link-is-visited.html
967 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
968 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
969 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
970 it is currently nil since keepWebHistory() might be called more than once incidentally
972 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
973 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
975 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
979 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
980 Make prepare-ChangeLog faster
982 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
983 then save the diff output for reuse. Keep a status variable if changes are made to
984 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
985 WebCore is updated. Added -h|--help command-line switch and help message. Move test
986 for no changed files closer to the beginning of the program.
988 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
990 Reviewed and landed by ap.
992 - make DumpRenderTree build
994 * DumpRenderTree/DumpRenderTree.m:
995 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
996 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
997 (-[LayoutTestController setWindowIsKey:]): Ditto.
998 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1000 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1002 Reviewed by Darin, landed by Geoff.
1004 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
1005 Use pathcmp() when sorting paths in svn-create-patch
1007 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1008 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1009 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1010 switch and printUsage() subroutine.
1012 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1016 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
1017 Teach svn-create-patch to sort its output
1019 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1020 by text files first, then by binary files.
1022 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1026 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
1027 Teach svn-create-patch and friends to work with binary files
1029 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1030 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1031 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1033 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1037 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
1038 Performance improvement for svn-create-patch
1040 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1042 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1046 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
1047 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1049 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1050 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1052 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1056 Switch Spinneret to new hosting mechanism
1058 * Spinneret/Spinneret.sln:
1059 * Spinneret/Spinneret/Spinneret.cpp:
1060 (SpinneretWebHost::updateAddressBar):
1061 (SpinneretWebHost::QueryInterface):
1062 (SpinneretWebHost::AddRef):
1063 (SpinneretWebHost::Release):
1070 * Spinneret/Spinneret/Spinneret.h:
1071 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1072 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1073 (SpinneretWebHost::didFailProvisionalLoadWithError):
1074 (SpinneretWebHost::didCommitLoadForFrame):
1075 (SpinneretWebHost::didReceiveTitle):
1076 (SpinneretWebHost::didReceiveIcon):
1077 (SpinneretWebHost::didFinishLoadForFrame):
1078 (SpinneretWebHost::didFailLoadWithError):
1079 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1080 (SpinneretWebHost::willPerformClientRedirectToURL):
1081 (SpinneretWebHost::didCancelClientRedirectForFrame):
1082 (SpinneretWebHost::willCloseFrame):
1083 (SpinneretWebHost::windowScriptObjectAvailable):
1084 * Spinneret/Spinneret/Spinneret.vcproj:
1086 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1090 Updated build script
1092 * Scripts/build-webkit:
1094 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1098 * DumpRenderTree/DumpRenderTree.m:
1099 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1100 (-[LayoutTestController clearBackForwardList]):
1101 Add clearBackForwardList function to layoutTestController
1103 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1107 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
1108 slow-utf8-text layout test case failing (no longer deterministic?)
1110 * DumpRenderTree/DumpRenderTree.m:
1112 Dump as text when the response MIME type is text/plain
1114 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1118 * Spinneret/Spinneret.sln:
1119 * Spinneret/Spinneret/Spinneret.vcproj:
1121 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1125 Added 'GCController' to DRT to support garbage collection layout tests.
1127 GCController.collect() and GCController.collectOnAlternateThread() do
1128 what you would expect. The latter takes a boolean argument sepcifying
1129 whether to wait for garbage collection to finish before continuing to
1132 * DumpRenderTree/DumpRenderTree.m:
1133 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1134 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1135 * DumpRenderTree/GCController.h: Added.
1136 * DumpRenderTree/GCController.mm: Added.
1137 (+[GCController isSelectorExcludedFromWebScript:]):
1138 (+[GCController webScriptNameForSelector:]):
1139 (-[GCController collect]):
1140 (-[GCController collectOnAlternateThread:]):
1142 2006-05-23 John Sullivan <sullivan@apple.com>
1146 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1147 Newer Xcode removed some obsolete cruft
1149 * DumpRenderTree/TextInputController.m:
1150 (-[TextInputController textInput]):
1151 added (id) cast to make newer compiler happy
1153 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1159 * Spinneret/Spinneret.sln:
1161 2006-05-18 Darin Adler <darin@apple.com>
1163 - try to fix no-SVG, no-XPATH build, again
1165 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1167 2006-05-18 Darin Adler <darin@apple.com>
1169 - try to fix no-SVG, no-XPATH build
1171 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1172 since the former is what's used in the WebCore project now.
1174 2006-05-17 Darin Adler <darin@apple.com>
1176 * Scripts/do-webcore-rename: Some more future renames.
1178 2006-05-16 Adele Peterson <adele@apple.com>
1182 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1183 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1185 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1187 * Scripts/install-unix-extras: Changed to be executable and removed
1188 text in the file generated by "svn diff".
1189 * Scripts/regenerate-makefiles: Ditto.
1191 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1193 Reviewed by Darin, landed by ap.
1195 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1196 Bakefiles (and generated Makefiles) for wx and gdk ports
1198 * Scripts/install-unix-extras: Added.
1199 * Scripts/regenerate-makefiles: Added.
1201 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1205 Fix registry usage from perl script. Turns out libwin32's
1206 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1208 * Scripts/install-win-extras:
1210 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1213 Add load ended callback.
1217 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1218 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1219 * Spinneret/Spinneret/Spinneret.cpp:
1220 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1221 (_tWinMain): Load built-in test content here instead of in lower-level code.
1222 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1224 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1228 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1230 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1234 * Scripts/check-dom-results:
1235 Add XPath to the list of results.
1237 2006-05-08 Darin Adler <darin@apple.com>
1239 * Scripts/do-webcore-rename: Add another rename.
1241 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1245 Spinneret now links against the new separate lib.
1247 * Spinneret/Spinneret.sln:
1248 * Spinneret/Spinneret/Spinneret.cpp:
1249 (SpinneretWebHost::updateLocationBar):
1251 * Spinneret/Spinneret/Spinneret.h:
1252 * Spinneret/Spinneret/Spinneret.vcproj:
1253 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1254 * Spinneret/Spinneret/WebFrame.h: Removed.
1255 * Spinneret/Spinneret/WebView.cpp: Removed.
1256 * Spinneret/Spinneret/WebView.h: Removed.
1258 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1262 Modify error reporting registry keys to disable Dr. Watson.
1263 This allows Javascript test cases to complete without blocking UI.
1265 * Scripts/install-win-extras:
1266 - Use Perl Win32 registry functions to disable blocking UI
1269 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1273 Turned off C++ exceptions, fixed memory leaks
1275 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1276 * Spinneret/Spinneret.sln:
1277 * Spinneret/Spinneret/Spinneret.cpp:
1279 * Spinneret/Spinneret/Spinneret.vcproj:
1280 * Spinneret/Spinneret/WebFrame.cpp:
1281 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1282 (WebKit::WebFrame::WebFrame):
1283 (WebKit::WebFrame::~WebFrame):
1284 (WebKit::WebFrame::impl):
1285 * Spinneret/Spinneret/WebFrame.h:
1286 * Spinneret/Spinneret/WebView.cpp:
1287 * Spinneret/Spinneret/stdafx.h:
1289 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1293 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1294 DumpRenderTree should reset the URL cache
1296 * DumpRenderTree/DumpRenderTree.m:
1297 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1299 2006-04-28 Eric Seidel <eseidel@apple.com>
1301 Reviewed by andersca.
1303 * Scripts/do-webcore-rename: rename KCanvasContainer too
1304 * Scripts/run-webkit-tests: output total time
1306 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1308 Reviewed by hyatt. Landed by eseidel.
1310 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1311 Enable detection of excessive repainting with DumpRenderTree
1313 * DumpRenderTree/DumpRenderTree.m:
1314 (-[LayoutTestController display]):
1316 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1320 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1321 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1323 * DumpRenderTree/DumpRenderTree.m:
1324 (dump): If display() has been called during the test, grab the pixels from
1325 the view, after letting it repaint invalidated rects.
1326 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1327 (-[LayoutTestController display]): Added. Calls -display on the view
1328 and changes the subsequent behavior of dump().
1331 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1335 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1336 Update iExploder to 1.3.2
1338 Test case numbers are not compatible with iExploder 1.2.
1340 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1342 * iExploder/CHANGELOG.txt: Added.
1343 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1344 * iExploder/README.txt: Added some performance hints.
1346 * iExploder/htdocs/config.rb: Added.
1347 * iExploder/htdocs/cssproperties.in:
1348 * iExploder/htdocs/cssvalues.in:
1349 * iExploder/htdocs/htmlattrs.in:
1350 * iExploder/htdocs/htmltags.in:
1351 * iExploder/htdocs/iexploder.cgi:
1352 - Updated to support the latest HTML & CSS tags, properties, and values from both
1353 the WebKit and Mozilla CVS tree
1354 - cssproperties.in cleanup
1355 - Modularized the code a little bit.
1356 - Fix subtest bug that was causing last 5 tags to be missed
1357 - new subtest algorithm to deal better with larger tag counts
1358 - default HTML_MAX_TAGS increased from 32 to 96
1360 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1361 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1362 alternative to our run-iexploder-tests.
1363 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1364 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1365 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1367 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1369 - commit Scripts/run-mangleme-tests (missed it the previous time).
1371 2006-04-18 Darin Adler <darin@apple.com>
1373 - attempt to fix Windows buildbot
1375 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1376 We need a better long-term solution for this.
1378 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1382 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1383 Integrate mangleme test script.
1385 Works in a similar way to run-iexploder-tests.
1387 * Scripts/run-mangleme-tests: Added.
1389 * mangleme/Makefile: Added.
1390 * mangleme/README: Added.
1391 * mangleme/mangle.cgi.c: Added.
1392 * mangleme/remangle.cgi.c: Added.
1393 * mangleme/tags.h: Added.
1395 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1399 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1400 An easier way to save iExploder tests.
1402 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1404 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1408 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1409 Integrate iExploder test script.
1411 This script generates artificially mangled HTML documents, to test that the browser
1412 doesn't crash when handling ill-formed code.
1415 run-iexploder-tests Open an interactive test page in Safari+ToT.
1416 run-iexploder-tests nnnnn Open test #nnnnn.
1418 Command line options:
1419 --guard-malloc (-g) Use Guard Malloc.
1420 --port=nnnn Run Apache on port nnnn (default is 8000).
1422 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1423 (thus, Apache is still running), e.g.:
1424 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1426 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1428 * Scripts/run-iexploder-tests: Added.
1430 * iExploder/LICENSE.txt: Added.
1431 * iExploder/README.txt: Added.
1432 * iExploder/htdocs: Added.
1433 * iExploder/htdocs/cssproperties.in: Added.
1434 * iExploder/htdocs/cssvalues.in: Added.
1435 * iExploder/htdocs/htmlattrs.in: Added.
1436 * iExploder/htdocs/htmltags.in: Added.
1437 * iExploder/htdocs/htmlvalues.in: Added.
1438 * iExploder/htdocs/iexploder.cgi: Added.
1439 * iExploder/htdocs/index.html: Added.
1440 * iExploder/tools: Added.
1441 * iExploder/tools/lasthit.rb: Added.
1442 * iExploder/tools/osx_last_crash.rb: Added.
1444 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1448 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1449 Restore color profile after a crash
1451 * DumpRenderTree/DumpRenderTree.m:
1452 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1453 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1454 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1455 and this code may change significantly.
1457 (main): Install crashHandler.
1459 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1460 (CFStringGetCStringPtr should NEVER EVER be used!).
1462 2006-04-15 Darin Adler <darin@apple.com>
1466 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1467 Seems xmlsoft.org's HTTP no longer has what we need.
1469 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1471 Rubber-stamped by Darin.
1473 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1474 upload-disk-image stage on buildslaves fail with "No space left on device"
1476 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1477 'hdiutil create'. This creates the initial disk image based on the size of
1478 the source folder, and copies the contents to the new disk image. The file
1479 extension on the temporary uncompressed disk image has also been altered from
1480 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1481 the extension is not ".dmg".
1483 2006-04-12 Eric Seidel <eseidel@apple.com>
1487 * Scripts/update-webkit: Make this return non-zero when svn fails.
1489 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1493 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1494 Make HTTP tests using Perl use .pl extension
1496 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1497 removed support for .text. Reduced the number of places that explicitly list supported
1498 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1501 2006-04-06 Darin Adler <darin@apple.com>
1503 Changes requested by Mark Rowe.
1505 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1506 trash at the end of the file.
1507 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1509 * WebKitLauncher/main.m: Removed trash at end of file.
1511 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1514 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1516 Reviewed by Darin, landed by Maciej.
1518 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1519 and bundles the WebKit frameworks inside it.
1520 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1521 containing WebKit.app.
1522 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1523 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1524 number of the SVN working copy.
1525 * WebKitLauncher: Added.
1526 * WebKitLauncher/Info.plist: Added.
1527 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1528 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1529 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1530 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1531 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1532 the nightly launcher.
1533 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1534 It sets up the environment to have Safari use the bundled frameworks
1535 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1536 * WebKitLauncher/start.html: Added.
1537 * WebKitLauncher/webkit.icns: Added.
1539 2006-04-05 Darin Adler <darin@apple.com>
1543 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1544 are allowed to have global initializers.
1546 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1548 Reviewed by OMG BETH
1550 * Scripts/run-testkjs:
1551 - pipe STDERR to /dev/null by default; new --verbose option overrides
1553 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1554 - output run command in a format that can be copied and pasted into the
1555 terminal to run manually
1557 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1559 Reviewed by harrison
1561 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1562 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1564 Tell the source that the drag is over after the drag is performed, not before.
1566 * DumpRenderTree/EventSendingController.m:
1567 (-[EventSendingController mouseUp]):
1569 2006-04-01 Darin Adler <darin@apple.com>
1573 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1574 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1575 elements in that array are not strings.
1577 2006-03-31 Darin Adler <darin@apple.com>
1579 Reviewed by John Sullivan.
1581 - added a "--reset-results" option to run-webkit-tests so you can reset
1582 the results without first deleting expected results
1583 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1585 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1586 more logical. Moved all the subroutines to the end of the file. Added a
1589 * DumpRenderTree/DumpRenderTree.m:
1590 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1591 to generate new output for all tests it runs.
1592 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1593 the --dump-all-pixels option is passed. Also tightened up the image dumping
1594 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1595 with code to save and restore the context.
1597 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1598 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1600 2006-03-30 Tim Omernick <timo@apple.com>
1602 Reviewed by NOBODY (just fixing copyrights)
1604 * DumpRenderTree/ObjCPlugin.h:
1606 * DumpRenderTree/ObjCPlugin.m: ditto
1607 * DumpRenderTree/ObjCPluginFunction.h: ditto
1608 * DumpRenderTree/ObjCPluginFunction.m: ditto
1610 2006-03-30 Tim Omernick <timo@apple.com>
1614 * DumpRenderTree/DumpRenderTree.m:
1615 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1616 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1617 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1618 exposed to JS as a callable object.
1620 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1621 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1623 * DumpRenderTree/ObjCPlugin.h: Added.
1624 * DumpRenderTree/ObjCPlugin.m: Added.
1625 * DumpRenderTree/ObjCPluginFunction.h: Added.
1626 * DumpRenderTree/ObjCPluginFunction.m: Added.
1628 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1629 Added a new method, "removeDefaultMethod", which removes the default method from the
1630 plugin object's class. The effect is that the plugin object is mutated from a callable
1631 function to a simple object.
1633 Handle "removeDefaultMethod".
1634 (pluginInvokeDefault):
1635 Made the default method actually do something (return 1).
1637 2006-03-30 Eric Seidel <eseidel@apple.com>
1641 Remove WebFrame::viewImpl(), setMainFrame on page.
1643 * Spinneret/Spinneret/WebFrame.cpp:
1644 (WebKit::WebFrame::WebFrame):
1645 * Spinneret/Spinneret/WebFrame.h:
1646 * Spinneret/Spinneret/WebView.cpp:
1647 (WebKit::WebView::mouseMoved):
1648 (WebKit::WebView::mouseDown):
1649 (WebKit::WebView::mouseUp):
1650 (WebKit::WebView::mouseDoubleClick):
1651 (WebKit::WebViewWndProc):
1653 2006-03-30 Eric Seidel <eseidel@apple.com>
1657 Fix html editing input & basic form submission.
1659 * Spinneret/Spinneret/WebFrame.cpp:
1660 (WebKit::WebFrame::submitForm):
1661 (WebKit::WebFrame::loadURL):
1662 * Spinneret/Spinneret/WebFrame.h:
1663 * Spinneret/Spinneret/WebView.cpp:
1664 (WebKit::WebView::keyPress):
1665 (WebKit::WebViewWndProc):
1667 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1671 <rdar://problem/4402375>
1672 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1674 Added an option to draw the selectionRect.
1676 * DumpRenderTree/DumpRenderTree.m:
1678 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1679 (-[LayoutTestController dumpSelectionRect]):
1682 2006-03-29 Darin Adler <darin@apple.com>
1684 Reviewed by Tim Hatcher.
1686 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1688 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1690 2006-03-28 Eric Seidel <eseidel@apple.com>
1694 * Scripts/check-for-global-initializers: remove svg exceptions.
1696 2006-03-28 Timothy Hatcher <timothy@apple.com>
1700 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1702 * Scripts/check-for-global-initializers:
1704 2006-03-28 Timothy Hatcher <timothy@apple.com>
1706 Build fix. Turn off uninitialized warnings for the first block of code.
1708 * Scripts/check-for-global-initializers:
1710 2006-03-28 Darin Adler <darin@apple.com>
1714 * Scripts/check-for-global-initializers: Added.
1716 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1718 Reviewed by darin. Landed by eseidel.
1720 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1721 Add repaint testing support to run-webkit-tests
1723 * DumpRenderTree/DumpRenderTree.m:
1724 (main): Added --repaint and --horizontal-sweep options.
1725 (dump): Repaint line-by-line or column-by-column when the appropriate option
1727 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1728 and repaintSweepHorizontally() methods to layoutTestController.
1729 (-[LayoutTestController testRepaint]):
1730 (-[LayoutTestController repaintSweepHorizontally]):
1732 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1733 to force these settings on tests that do not ask for them.
1735 2006-03-24 Eric Seidel <eseidel@apple.com>
1741 * Spinneret/Spinneret/WebFrame.cpp:
1742 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1744 2006-03-21 Beth Dakin <bdakin@apple.com>
1748 Add support for keyDown() to DumpRenderTree.
1750 * DumpRenderTree/DumpRenderTree.m:
1751 (main): Set the preference for tabbing to links.
1752 * DumpRenderTree/EventSendingController.m:
1753 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1754 (+[EventSendingController webScriptNameForSelector:]):
1755 (-[EventSendingController keyDown:withModifiers:]):
1757 2006-03-20 Eric Seidel <eseidel@apple.com>
1763 * Spinneret/Spinneret/Spinneret.vcproj:
1764 * Spinneret/Spinneret/WebFrame.h:
1765 * Spinneret/Spinneret/WebView.cpp:
1766 (WebKit::WebView::mouseMoved):
1767 (WebKit::WebView::mouseDown):
1768 (WebKit::WebView::mouseUp):
1769 (WebKit::WebView::mouseDoubleClick):
1770 (WebKit::WebView::keyPress):
1771 (WebKit::WebViewWndProc):
1773 2006-03-19 Darin Adler <darin@apple.com>
1777 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1778 we can test it in layout tests. We don't really need tests that run with
1779 pop-up blocking off at the moment. If we do some day, we can add some
1780 API for turning it off in the layout test controller.
1782 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1783 don't ignore the leak; it should no longer show up.
1785 2006-03-17 Anders Carlsson <andersca@mac.com>
1789 * Scripts/install-win-extras:
1790 Fetch "Program Files" location from the environment.
1792 2006-03-17 Eric Seidel <eseidel@apple.com>
1796 Fix Spinneret to pass Events as const & not as pointers.
1798 * Spinneret/Spinneret/WebView.cpp:
1799 (WebKit::WebView::mouseMoved):
1800 (WebKit::WebView::mouseDown):
1801 (WebKit::WebView::mouseUp):
1802 (WebKit::WebView::mouseDoubleClick):
1803 (WebKit::WebView::keyPress):
1805 2006-03-17 Eric Seidel <eseidel@apple.com>
1807 Reviewed by justing.
1809 Add support for basic HTML editing.
1811 * Spinneret/Spinneret/WebView.cpp:
1812 (WebKit::WebView::WebView):
1813 (WebKit::WebView::keyPress):
1815 2006-03-17 Eric Seidel <eseidel@apple.com>
1817 Rubber-stamped by ggaren.
1819 Break DumpRenderTree.m up into several files to make the code more readable.
1821 * DumpRenderTree/DumpRenderTree.h: Added.
1822 * DumpRenderTree/DumpRenderTree.m:
1823 (doneLoading): new accessor function for "done" global.
1824 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1825 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1826 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1827 * DumpRenderTree/EditingDelegate.h: Added.
1828 * DumpRenderTree/EditingDelegate.m: Added.
1829 (-[EditingDelegate webViewDidChangeSelection:]):
1830 * DumpRenderTree/EventSendingController.h: Added.
1831 * DumpRenderTree/EventSendingController.m: Added.
1833 2006-03-16 Eric Seidel <eseidel@apple.com>
1837 Add resize, scroll event support.
1839 * Spinneret/Spinneret/WebView.cpp:
1840 (WebKit::WebView::mouseMoved):
1841 (WebKit::WebView::mouseDown):
1842 (WebKit::WebView::mouseUp):
1843 (WebKit::WebView::mouseDoubleClick):
1844 (WebKit::WebView::keyPress):
1845 (WebKit::WebViewWndProc):
1846 * Spinneret/Spinneret/WebView.h:
1848 2006-03-16 Eric Seidel <eseidel@apple.com>
1852 Make build-webkit print correctly to stdout on windows.
1854 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1856 2006-03-15 Eric Seidel <eseidel@apple.com>
1860 Fix eventSender.mouseClick() to update lastClick timestamp.
1862 * DumpRenderTree/DumpRenderTree.m:
1863 (-[EventSendingController mouseClick]):
1865 2006-03-15 Darin Adler <darin@apple.com>
1869 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1870 that had a lowercase "i" in it so this builds on case-sensitive
1873 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1877 Added run-testkjs and compare-timing-files scripts, to support super
1880 * Scripts/compare-timing-files: Added.
1881 * Scripts/run-testkjs: Added.
1883 2006-03-14 Eric Seidel <eseidel@apple.com>
1887 Make the URL bar relinquish focus on page load.
1889 * Spinneret/Spinneret/Spinneret.cpp:
1892 2006-03-14 Eric Seidel <eseidel@apple.com>
1896 Fix WebView to allow KeyFocus.
1897 Add handling of space and shift-space for scrolling.
1899 * Spinneret/Spinneret/WebView.cpp:
1900 (WebKit::scrollMessageForKey):
1901 (WebKit::WebViewWndProc):
1903 2006-03-10 Eric Seidel <eseidel@apple.com>
1907 Add scrolling support into Spinneret.
1909 * Spinneret/Spinneret/WebFrame.cpp:
1910 (WebKit::WebFrame::paint):
1911 * Spinneret/Spinneret/WebView.cpp:
1912 (WebKit::WebView::createWebView):
1913 (WebKit::calculateScrollDelta):
1914 (WebKit::scrollMessageForKey):
1915 (WebKit::WebViewWndProc):
1917 2006-03-13 Eric Seidel <eseidel@apple.com>
1921 Fix checksum generation on Intel machines.
1922 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1923 give a small speed boost now that it uses a shared buffer.
1925 * DumpRenderTree/DumpRenderTree.m:
1928 (md5HashStringForBitmap):
1929 * DumpRenderTree/ImageDiff.m:
1930 (computePercentageDifferent):
1932 2006-03-13 Darin Adler <darin@apple.com>
1934 Reviewed by Tim Hatcher.
1936 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1937 have it named httpd-1.3 instead.
1939 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1941 Fix proposed by Mitz Pettel, reviewed by Darin.
1943 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1944 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1946 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1947 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1950 2006-03-09 Darin Adler <darin@apple.com>
1952 Reviewed by John Sullivan.
1954 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1955 memory leak in the plug-in tests
1957 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1958 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1959 (NPP_SetWindow): Remove unneeded code to store the window pointer.
1961 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1962 Moved the browser global in here since it's declared in this file's header.
1963 Changed the code to set up the pluginClass structure to not use function
1964 pointer casts. Those are dangerous because they can hide many types of mismatch.
1965 And indeed when I did this I discovered that many functions were missing their
1966 boolean return values or had parameter declarations with the wrong types.
1967 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1968 clarity. Added boolean return value: return true when successful and false when not.
1969 (pluginSetProperty): Added boolean return value, return false since we have no
1970 properties we can set.
1971 (pluginInvoke): Added boolean return value. Return true when successful and false
1972 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1973 return value from calling the browser. Changed code to put the strings in malloc
1974 buffers instead of relying on GCC's extension that allows variable-sized arrays
1976 (pluginInvokeDefault): Added boolean return value, return false since we have no
1977 default function to call.
1978 (pluginInvalidate): Added missing parameter. Removed comment.
1979 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1980 to cast the result of malloc.
1981 (pluginDeallocate): Removed uneeded cast.
1983 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1984 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1985 that match NPObject's fields. Removed unused NPWindow pointer.
1987 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1989 Test: fast/events/event-sender-mouse-click.html
1993 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1994 DRT hangs when doing eventSender.mouseDown on native widgets
1996 * DumpRenderTree/DumpRenderTree.m:
1997 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1998 (-[EventSendingController mouseClick]): Simulates a click in a native
1999 widget by queueing a mouseUp before sending the mouseDown, so that
2000 the widget's mouse tracking event loop doesn't hang indefinitely.
2002 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2006 - make link clicks work by handling link click requests
2009 * Spinneret/Spinneret/Spinneret.cpp:
2010 (updateLocationBar):
2011 * Spinneret/Spinneret/Spinneret.h:
2012 * Spinneret/Spinneret/WebFrame.cpp:
2013 (WebKit::WebFrame::WebFrame):
2014 (WebKit::WebFrame::openURL):
2015 (WebKit::WebFrame::loadURL):
2016 * Spinneret/Spinneret/WebFrame.h:
2018 2006-03-08 Eric Seidel <eseidel@apple.com>
2022 Focus URL bar on Spinneret launch, remove border from WebView.
2023 Stop WebFrame from deleting the job (prevent crash).
2025 * Spinneret/Spinneret/Spinneret.cpp:
2027 * Spinneret/Spinneret/WebFrame.cpp:
2028 (WebKit::WebFrame::receivedAllData):
2029 (WebKit::WebFrame::paint):
2030 * Spinneret/Spinneret/WebView.cpp:
2031 (WebKit::WebView::createWebView):
2033 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2037 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2038 (pluginInvoke): Added a method to test getURL.
2040 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2044 - load URLs, not file paths, in Spinneret
2046 * Spinneret/Spinneret/Spinneret.cpp:
2048 * Spinneret/Spinneret/Spinneret.vcproj:
2049 * Spinneret/Spinneret/WebFrame.cpp:
2050 (WebKit::WebFrame::loadURL):
2051 (WebKit::WebFrame::receivedData):
2052 (WebKit::WebFrame::receivedAllData):
2053 * Spinneret/Spinneret/WebFrame.h:
2054 * Spinneret/Spinneret/WebView.cpp:
2055 (WebKit::WebView::WebView):
2057 2006-03-08 Darin Adler <darin@apple.com>
2061 - fixed AppleScript layout test results to not be endian-dependent
2062 (Hyatt complained to me about this one)
2064 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2065 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2066 (which are endian-dependent).
2068 2006-03-07 Darin Adler <darin@apple.com>
2072 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
2073 unwanted output while running layout tests
2075 * DumpRenderTree/DumpRenderTree.m:
2076 (checkedMalloc): Added.
2077 (checkedRealloc): Added.
2078 (makeLargeMallocFailSilently): Added.
2079 (main): Call makeLargeMallocFailSilently.
2081 2006-03-06 Darin Adler <darin@apple.com>
2083 * Scripts/do-webcore-rename: Add some more planned renaming.
2085 2006-03-06 Eric Seidel <eseidel@apple.com>
2089 * Spinneret/Spinneret/WebFrame.cpp:
2090 (WebKit::WebFrame::paint): force layout before painting
2092 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2096 Sent the windowNumber when sending events.
2097 Added leapForward so that we don't have to spend time waiting
2098 in layout tests that do mouse operations that require delays.
2100 * DumpRenderTree/DumpRenderTree.m:
2101 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2102 (+[EventSendingController webScriptNameForSelector:]):
2103 (-[EventSendingController currentEventTime]):
2104 (-[EventSendingController leapForward:]):
2105 (-[EventSendingController mouseDown]):
2106 (-[EventSendingController mouseUp]):
2107 (-[EventSendingController mouseMoveToX:Y:]):
2109 2006-03-05 Darin Adler <darin@apple.com>
2111 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2112 Script now works (after landing my two pending patches).
2114 2006-03-05 Darin Adler <darin@apple.com>
2116 - check in a script to do a "big" rename in WebCore
2117 (can be run whenever we're ready to do it)
2119 * Scripts/do-webcore-rename: Added.
2121 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2125 * Spinneret/Spinneret/WebFrame.cpp:
2126 (WebKit::WebFrame::loadFilePath): Close file when done.
2128 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2130 Reviewed by Darin, landed by ap.
2132 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
2133 Mouse moved events do not work in DumpRenderTree
2135 Test: fast/events/event-sender-mouse-moved.html
2137 * DumpRenderTree/DumpRenderTree.m:
2138 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2140 2006-03-04 Eric Seidel <eseidel@apple.com>
2144 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2145 Disable background erase to avoid tearing.
2146 Fix potential memory smasher from extra long urls.
2148 * Spinneret/Spinneret/Spinneret.cpp:
2150 * Spinneret/Spinneret/Spinneret.vcproj:
2151 * Spinneret/Spinneret/WebFrame.cpp:
2152 (WebKit::WebFrame::loadFilePath):
2153 (WebKit::WebFrame::paint):
2154 * Spinneret/Spinneret/WebView.cpp:
2155 (WebKit::registerWebViewWithInstance):
2157 2006-03-04 Eric Seidel <eseidel@apple.com>
2161 Hang WebView pointer off of HWND (gets rid of global hack).
2162 Remove MessageBox displayed on url change.
2164 * Spinneret/Spinneret/Spinneret.cpp:
2167 * Spinneret/Spinneret/WebView.cpp:
2168 (WebKit::registerWebViewWithInstance):
2169 (WebKit::WebView::createWebView):
2170 (WebKit::WebViewWndProc):
2172 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2176 Automatically kill httpd if it appears to be already running.
2178 * Scripts/run-webkit-tests:
2180 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2184 * Spinneret/Spinneret/WebFrame.cpp:
2185 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2187 2006-03-03 Eric Seidel <eseidel@apple.com>
2191 A few more fixes to make run-webkit-tests really work on win32.
2193 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2195 * Scripts/run-webkit-tests:
2197 2006-03-03 Eric Seidel <eseidel@apple.com>
2201 Make run-webkit-tests work on win32.
2203 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2205 (dumpRenderTreeMain):
2206 (dumpRenderTreeToStdOut):
2207 (serializeToStdOut):
2209 * Scripts/run-webkit-tests:
2210 * Scripts/webkitdirs.pm:
2211 * Spinneret/Spinneret/WebView.cpp:
2212 (WebKit::WebView::WebView):
2214 2006-03-03 Eric Seidel <eseidel@apple.com>
2218 Add WebFrame class (to hold Frame and FrameView).
2219 Add Location bar support to Spinneret.
2221 * Spinneret/Spinneret/Spinneret.cpp:
2226 * Spinneret/Spinneret/Spinneret.vcproj:
2227 * Spinneret/Spinneret/WebFrame.cpp: Added.
2228 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2229 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2230 (WebKit::WebFrame::WebFrame):
2231 (WebKit::WebFrame::loadFilePath):
2232 (WebKit::WebFrame::loadHTMLString):
2233 (WebKit::WebFrame::paint):
2234 (WebKit::WebFrame::impl):
2235 (WebKit::WebFrame::viewImpl):
2236 * Spinneret/Spinneret/WebFrame.h: Added.
2237 * Spinneret/Spinneret/WebView.cpp:
2238 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2239 (WebKit::WebView::WebView):
2240 (WebKit::WebView::windowHandle):
2241 (WebKit::WebView::mainFrame):
2242 (WebKit::WebView::mouseMoved):
2243 (WebKit::WebView::mouseDown):
2244 (WebKit::WebView::mouseUp):
2245 (WebKit::WebView::mouseDoubleClick):
2246 (WebKit::WebViewWndProc):
2247 * Spinneret/Spinneret/WebView.h:
2249 2006-03-02 Eric Seidel <eseidel@apple.com>
2253 * Spinneret/Spinneret/WebView.cpp:
2254 (WebKit::registerWebViewWithInstance):
2255 (WebKit::WebView::WebView):
2256 (WebKit::WebView::mouseMoved):
2257 (WebKit::WebView::mouseDown):
2258 (WebKit::WebView::mouseUp):
2259 (WebKit::WebView::mouseDoubleClick):
2260 (WebKit::WebViewWndProc):
2261 * Spinneret/Spinneret/WebView.h:
2263 2006-03-01 Eric Seidel <eseidel@apple.com>
2265 Reviewed by andersca.
2267 Make spinneret take advantage of the new GraphicsContextCairo.
2269 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2270 (main): updated to match style guidelines.
2271 * Spinneret/Spinneret/Spinneret.cpp:
2273 * Spinneret/Spinneret/WebView.cpp:
2274 (WebKit::registerWebViewWithInstance):
2275 (WebKit::WebView::WebView):
2276 (WebKit::WebView::~WebView):
2277 (WebKit::WebView::drawRect):
2279 * Spinneret/Spinneret/WebView.h:
2281 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2285 Give the events that eventSender sends a unique eventNumber
2287 * DumpRenderTree/DumpRenderTree.m:
2288 (-[EventSendingController mouseDown]):
2289 (-[EventSendingController mouseUp]):
2290 (-[EventSendingController mouseMoveToX:Y:]):
2292 2006-03-01 Eric Seidel <eseidel@apple.com>
2296 Add a stub win32 application to test WebCore drawing on windows.
2299 * Spinneret/Spinneret: Added.
2300 * Spinneret/Spinneret.sln: Added.
2301 * Spinneret/Spinneret/Resource.h: Added.
2302 * Spinneret/Spinneret/Spinneret.cpp: Added.
2308 * Spinneret/Spinneret/Spinneret.h: Added.
2309 * Spinneret/Spinneret/Spinneret.ico: Added.
2310 * Spinneret/Spinneret/Spinneret.rc: Added.
2311 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2312 * Spinneret/Spinneret/WebView.cpp: Added.
2313 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2314 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2315 (WebKit::registerWebViewWithInstance):
2316 (WebKit::WebView::createWebView):
2317 (WebKit::WebView::WebView):
2318 (WebKit::WebView::~WebView):
2319 (WebKit::WebView::drawRect):
2320 (WebKit::WebView::windowHandle):
2322 * Spinneret/Spinneret/WebView.h: Added.
2323 * Spinneret/Spinneret/small.ico: Added.
2324 * Spinneret/Spinneret/stdafx.cpp: Added.
2325 * Spinneret/Spinneret/stdafx.h: Added.
2327 2006-02-28 Eric Seidel <eseidel@apple.com>
2331 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2332 (main): add ability to dump render tree and read from a local file.
2334 2006-02-27 Eric Seidel <eseidel@apple.com>
2338 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2340 2006-02-27 Eric Seidel <eseidel@apple.com>
2344 Test new KConfig -> PlugInInfoStore change.
2345 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2347 * DumpRenderTree/DumpRenderTree.m:
2348 (main): load test netscape plugin
2349 * Scripts/run-webkit-tests: style update
2351 2006-02-24 Eric Seidel <eseidel@apple.com>
2355 Make DumpRenderTree link against icu.
2357 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2359 2006-02-24 Eric Seidel <eseidel@apple.com>
2363 Make DumpRenderTree link against libxml, etc.
2365 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2367 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2369 Reviewed and landed by Anders.
2371 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2372 getting called from the run loop, making the view render each test and thus slowing
2375 * DumpRenderTree/DumpRenderTree.m:
2376 (main): Set the offscreen window to not autodisplay.
2378 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2382 - Turn http tests back on by default.
2383 - Wait for Apache to actually start serving requests.
2384 - Get user id from a built-in variable rather than an external command;
2385 don't pass the group.
2387 * Scripts/run-webkit-tests:
2389 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2391 Suggested by Mitz Pettel, reviewed by Darin.
2393 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2394 can run CGIs even if the permissions are 700 or 600.
2396 2006-02-23 Darin Adler <darin@apple.com>
2398 Collaborating with Alexey.
2400 - turn off http tests by default until we figure out how to get them
2401 to run even when permissions on CGI files are 700 instead of 755
2403 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2405 2006-02-23 Eric Seidel <eseidel@apple.com>
2407 Add *.user to ignore list.
2409 2006-02-23 Eric Seidel <eseidel@apple.com>
2411 Remove binary file which shouldn't have been commited (and add to ignore list).
2413 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2414 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2416 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2420 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2422 2006-02-22 Eric Seidel <eseidel@apple.com>
2424 Reviewed by Tim Hatcher.
2426 Fix install-win-extras to not try to re-install setx if installed.
2428 * Scripts/install-win-extras:
2430 2006-02-22 Eric Seidel <eseidel@apple.com>
2432 One more file possibly missing from previous commit?
2434 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2435 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2437 2006-02-22 Eric Seidel <eseidel@apple.com>
2439 Reviewed by justing.
2441 Files missing from previous commit.
2443 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2444 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2446 2006-02-22 Eric Seidel <eseidel@apple.com>
2448 Rubber-stamped by justing.
2450 Corrected path for DumpRenderTree.intermediate files
2452 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2454 2006-02-22 Eric Seidel <eseidel@apple.com>
2456 Reviewed by justing.
2458 Fixed build-dumprendertree to exit with correct error codes.
2460 * Scripts/build-dumprendertree:
2462 2006-02-22 Eric Seidel <eseidel@apple.com>
2464 Reviewed by justing.
2466 Update build scripts to generalize building on Win32, and allow
2467 building of DumpRenderTree on Win32 from build-dumprendertree.
2469 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2471 * Scripts/build-dumprendertree:
2472 * Scripts/build-webkit:
2473 * Scripts/webkitdirs.pm:
2475 2006-02-22 Eric Seidel <eseidel@apple.com>
2479 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2480 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2481 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2482 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2483 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2484 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2486 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2487 * Scripts/build-webkit: make build-webkit cleanup after itself
2489 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2493 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2494 Some minor fixes to http tests.
2496 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2498 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2502 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2503 Would like to use locally installed Apache for testing.
2505 Added two run-webkit-tests options:
2506 --http (--nohttp) - whether to launch Apache (defaults to yes);
2507 --port - which port to listen on (defaults to 8000).
2509 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2510 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2511 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2513 Also added support for .shtml and .text files. Text files give an empty
2514 *-expected.txt, but a correct image.
2516 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2518 * Scripts/run-webkit-tests:
2520 2006-02-21 Darin Adler <darin@apple.com>
2522 Suggested by Mark Rowe.
2524 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2525 reporting leak counts.
2527 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2531 - Added install-win-extras script which installs some extra
2532 programs and libraries, and does Windows first-time setup.
2534 * Scripts/build-webkit: Add a newline between build results.
2535 * Scripts/install-win-extras: Added.
2537 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2541 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2542 DumpRenderTree should be able to load files via HTTP
2544 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2545 Handle tests starting with "http://" as real URLs, not file system paths.
2547 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2551 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2552 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2554 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2556 2006-02-18 Darin Adler <darin@apple.com>
2558 * Scripts/commit-log-editor: Added.
2560 2006-02-17 Eric Seidel <eseidel@apple.com>
2564 Make Win32 have the same default "WebKitBuild" directory behavior.
2566 * Scripts/build-webkit:
2567 * Scripts/webkitdirs.pm:
2569 2006-02-17 Eric Seidel <eseidel@apple.com>
2573 * Scripts/build-webkit: make win32 actually report errors
2575 2006-02-17 Eric Seidel <eseidel@apple.com>
2579 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2581 2006-02-17 Eric Seidel <eseidel@apple.com>
2585 * Scripts/run-webkit-tests: Ignore flash leaks
2587 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2591 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2592 Add drag and drop support to DumpRenderTree
2594 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2595 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2597 * DumpRenderTree/DumpRenderTree.m:
2599 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2600 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2601 (-[WaitUntilDoneDelegate webViewFocus:]):
2602 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2603 (+[LayoutTestController webScriptNameForSelector:]):
2604 (-[LayoutTestController setWindowIsKey:]):
2605 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2606 (-[EventSendingController init]):
2607 (-[EventSendingController mouseDown]):
2608 (-[EventSendingController mouseUp]):
2609 (-[EventSendingController mouseMoveToX:Y:]):
2611 (-[DumpRenderTreeWindow isKeyWindow]):
2612 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2613 (-[DumpRenderTreeDraggingInfo dealloc]):
2614 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2615 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2616 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2617 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2618 (-[DumpRenderTreeDraggingInfo draggedImage]):
2619 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2620 (-[DumpRenderTreeDraggingInfo draggingSource]):
2621 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2622 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2623 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2624 * DumpRenderTree/TextInputController.m:
2625 (-[TextInputController firstRectForCharactersFrom:length:]):
2626 (-[TextInputController characterIndexForPointX:Y:]):
2628 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2632 * DumpRenderTree/DumpRenderTree.m:
2633 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2634 Added a dummy method for the sake of LayoutTests/plugins/
2635 undefined-property-crash.html. (It tests a crash due to fallback
2636 object use. WebCore won't create a fallback object if the method is
2639 2006-02-14 Eric Seidel <eseidel@apple.com>
2643 * Scripts/run-webkit-tests: added --results-directory (-o) option
2645 2006-02-09 Eric Seidel <eseidel@apple.com>
2647 Rubber-stamped by mjs.
2649 Renamed split-class to split-file-by-class.
2651 * Scripts/build-webkit: Updated copyright.
2652 * Scripts/split-class: Removed.
2653 * Scripts/split-file-by-class: Added.
2655 2006-02-08 Eric Seidel <eseidel@apple.com>
2657 Rubber-stamped by mjs.
2659 Adding new script for splitting multi-class files.
2660 Also adding supporting perl module with space removing heuristics.
2662 * Scripts/SpacingHeuristics.pm: Added.
2663 * Scripts/build-drawtest: updated copyright header
2664 * Scripts/split-class: Added.
2666 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2668 Reviewed by thatcher
2670 Changes to test fix for:
2671 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2672 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2674 * DumpRenderTree/DumpRenderTree.m:
2675 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2676 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2677 (+[LayoutTestController webScriptNameForSelector:]):
2678 (-[LayoutTestController setWindowHasFocus:]):
2679 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2681 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2683 Reviewed by Timothy.
2685 Support automated testing of AppleScript "do JavaScript" command
2686 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2688 * DumpRenderTree/AppleScriptController.h: Added.
2689 * DumpRenderTree/AppleScriptController.m: Added.
2690 * DumpRenderTree/DumpRenderTree.m:
2691 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2692 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2694 2006-02-06 Eric Seidel <eseidel@apple.com>
2698 Fix build-webkit for use on win32 (unblocks buildbot usage).
2699 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2701 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2702 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2704 2006-02-06 Eric Seidel <eseidel@apple.com>
2706 Rubber-stamped by darin & mjs.
2708 Added new support directory for build slave scripts.
2709 Committing the first script, for use by the PLT's build slave.
2710 This script is used to kick of the PLT (Page Load Test) slave.
2712 * BuildSlaveSupport: Added.
2713 * BuildSlaveSupport/run-performance-tests: Added.
2715 2006-02-06 Eric Seidel <eseidel@apple.com>
2717 Rubber-stamped by darin.
2719 Adding setSourceDir for scripts stored in non-standard locations.
2721 * Scripts/webkitdirs.pm:
2723 2006-02-04 Darin Adler <darin@apple.com>
2725 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2726 Configuration files that say Development or Deployment in them.
2728 2006-02-04 Darin Adler <darin@apple.com>
2730 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2731 wrapper already in the directory.
2732 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2733 these haven't been working at all.
2734 * Scripts/svn-unapply: Ditto.
2736 2006-02-03 Timothy Hatcher <timothy@apple.com>
2740 Renamed configuration names to Debug, Release and Production.
2742 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2743 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2744 * Scripts/set-webkit-configuration:
2745 * Scripts/webkitdirs.pm:
2747 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2749 Reviewed by thatcher
2751 Enabled spell checking for layout tests.
2753 * DumpRenderTree/DumpRenderTree.m:
2756 2006-01-29 Darin Adler <darin@apple.com>
2758 * Scripts/svn-apply: Added comments about things we should do to improve.
2759 * Scripts/svn-create-patch: Ditto.
2760 * Scripts/svn-unapply: Ditto.
2762 2006-01-28 Darin Adler <darin@apple.com>
2764 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2765 already there, even if the checksum is correct.
2767 2006-01-27 Eric Seidel <eseidel@apple.com>
2771 * Scripts/run-webkit-tests: make new tests use absolute urls
2773 2006-01-27 Eric Seidel <eseidel@apple.com>
2777 make run-webkit-tests output total leaks count
2779 * Scripts/run-webkit-tests:
2781 2006-01-27 Eric Seidel <eseidel@apple.com>
2785 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2786 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2788 * Scripts/run-webkit-tests: fix --leaks to not crash
2790 2006-01-26 Eric Seidel <eseidel@apple.com>
2794 run-webkit-tests should produce a self-contained results directory
2795 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2797 * Scripts/run-webkit-tests: copy failing items to results dir.
2799 2006-01-23 Darin Adler <darin@apple.com>
2801 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2802 need script to update localizable strings file in WebKit
2804 * Scripts/update-webkit-localizable-strings: Added.
2806 2006-01-23 Darin Adler <darin@apple.com>
2808 - added a couple of scripts -- more about these two soon
2810 * Scripts/extract-localizable-strings: Added.
2811 * Scripts/merge-changelog: Added.
2813 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2817 Build fix. build-webkit dies with "invalid build action: (empty string)"
2819 * Scripts/build-webkit:
2820 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2822 2006-01-22 Eric Seidel <eseidel@apple.com>
2826 Fix --no-svg option to use XCode flags instead of gcc flags.
2828 * Scripts/build-webkit:
2830 2006-01-22 Eric Seidel <eseidel@apple.com>
2834 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2836 * Scripts/build-webkit:
2838 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2840 Reviewed by eseidel.
2842 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2843 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2845 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2846 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2848 2006-01-19 Darin Adler <darin@apple.com>
2850 * Scripts/report-include-statistics: Added a new script.
2852 2006-01-19 Timothy Hatcher <timothy@apple.com>
2854 * Scripts/build-webkit: include JavaScriptGlue in the build
2856 2006-01-19 Darin Adler <darin@apple.com>
2858 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2859 spaces in it by using the form of open that treats each argument as a string
2860 rather than backtick syntax for reading the output of the nm tool.
2862 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2866 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2867 detect if there are any new tests
2869 * Scripts/prepare-ChangeLog:
2871 2006-01-12 Darin Adler <darin@apple.com>
2873 - removed some of the cvs-specific scripts -- not needed for this project any more
2875 * Scripts/cvs-abandon: Removed.
2876 * Scripts/cvs-apply: Removed.
2877 * Scripts/cvs-create-patch: Removed.
2878 * Scripts/cvs-unapply: Removed.
2880 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2882 Reviewed by eseidel. Committed by eseidel.
2884 - run-webkit-tests always launches Safari when tests fail
2885 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2887 * Scripts/run-webkit-tests:
2888 Add a command-line flag to prevent Safari being launched to display failed
2889 tests. Always exit with non-zero status when tests have failed.
2891 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2893 Reviewed by eseidel. Committed by eseidel.
2895 - build-webkit should exit with non-zero status when build fails
2896 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2898 * Scripts/build-webkit:
2899 Use correct bits of subprocess exit code when passing back through
2900 as build-webkit's exit code.
2902 2006-01-10 Eric Seidel <eseidel@apple.com>
2904 Restored corrupted nibs from TOT CVS.
2906 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2907 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2908 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2909 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2910 * DrawTest/English.lproj/Inspector.nib: Replaced.
2911 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2912 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2913 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2914 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2915 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2916 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2917 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2918 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2919 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2920 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2921 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2923 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2925 Reviewed by eseidel. Committed by eseidel.
2927 DrawTestView now subclasses WebView instead of DrawView.
2929 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2930 * DrawTest/DrawTestDocument.h:
2931 * DrawTest/DrawTestDocument.m:
2932 (-[DrawTestDocument dealloc]):
2933 (-[DrawTestDocument readFromFile:ofType:]):
2934 (-[DrawTestDocument windowControllerDidLoadNib:]):
2935 (-[DrawTestDocument dumpSVGToConsole:]):
2936 (-[DrawTestDocument openSourceForSelection:]):
2937 (-[DrawTestDocument dataRepresentationOfType:]):
2938 * DrawTest/DrawTestToolbarController.h:
2939 * DrawTest/DrawTestToolbarController.m:
2940 (-[DrawTestToolbarController initWithDrawView:]):
2941 (-[DrawTestToolbarController clickedToolbarItem:]):
2942 (-[DrawTestToolbarController validateToolbarItem:]):
2943 * DrawTest/DrawTestView.h:
2944 * DrawTest/DrawTestView.m:
2945 (-[DrawTestView initWithFrame:]):
2946 (-[DrawTestView setDocument:]):
2947 * DrawTest/SVGTest.h:
2948 * DrawTest/SVGTest.m:
2949 (+[SVGTest sharedDrawView]):
2950 (-[SVGTest generateCompositeIfNecessary]):
2951 * DrawTest/TestController.h:
2952 * DrawTest/TestController.m:
2953 (-[TestController awakeFromNib]):
2954 (-[TestController setSelectedTest:]):
2955 (-[TestController openTestViewerForSelection:]):
2956 (-[TestController toggleViewersScaleRule:]):
2957 * DrawTest/TestViewerSplitView.m:
2958 (-[TestViewerSplitView drawRect:]):
2960 2006-01-10 Anders Carlsson <andersca@mac.com>
2962 Reviewed by Timothy.
2964 * DumpRenderTree/DumpRenderTree.m:
2965 (main): Set the default language to "en", so language tests will work.
2967 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2971 - script to generate HTML wrappers for JS tests
2972 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2974 * Scripts/make-js-test-wrappers: Added.
2976 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2980 * Scripts/svn-create-patch: Fix to work when passed directory names.
2982 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2986 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2987 can start writing automated loader tests now. I have one in the works.
2989 * DumpRenderTree/DumpRenderTree.m:
2990 (main): Construct global navigationController on entry, destroy on exit.
2991 Set frame to nil on exit too, to match all the other global objects.
2992 (Probably academic, since the process is exiting, anyway.)
2993 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2994 navigationController, in case it wants to kick off a load.
2995 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2996 the navigationController to scripting.
2998 New class, should be straightforward:
3000 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3001 * DumpRenderTree/NavigationController.h: Added.
3002 * DumpRenderTree/NavigationController.m: Added.
3004 (+[NavigationController isSelectorExcludedFromWebScript:]):
3005 (+[NavigationController webScriptNameForSelector:]):
3006 (-[NavigationController setPendingScript:]):
3007 (-[NavigationController setPendingRequest:]):
3008 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3009 (-[NavigationController webView:didFinishLoadForFrame:]):
3010 (-[NavigationController dealloc]):
3012 2006-01-08 Timothy Hatcher <timothy@apple.com>
3014 Removed this script, no longer needs with the Subversion switch.
3016 * checkout: Removed.
3018 2006-01-08 Timothy Hatcher <timothy@apple.com>
3020 Removes some stray tabs.
3022 * Scripts/update-webkit:
3024 2005-01-07 Eric Seidel <eseidel@apple.com>
3028 build-webkit should pass on build arguments from command line
3029 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
3031 * Scripts/build-webkit:
3033 2006-01-07 Eric Seidel <eseidel@apple.com>
3035 Reviewed by mjs & xenon.
3037 * Scripts/update-webkit: support Internal updates as well
3039 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3041 Temporarily rolling out plugin support from DumpRenderTree because it
3042 caused lots of layout test regressions.
3044 * DumpRenderTree/DumpRenderTree.m:
3045 (main): Remove invisible window added to support plugins.
3047 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3051 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
3052 Add plugin support to DumpRenderTree
3054 Also wrote first test plugin.
3056 * DumpRenderTree/DumpRenderTree.m:
3058 (1) Put the WebView in an invisible window, because PlugIns are
3059 optimized not to load if there's no parent window.
3060 (2) Tell WebKit to load any PlugIns in the directory from which we
3061 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3062 and they'll load automagically during layout testing, but they won't be
3063 added to the user's system, hosing apps like Safari.
3065 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3066 test PlugIn to project.
3068 PlugIn added to project:
3070 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3071 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3073 (initializeIdentifiers):
3074 (pluginHasProperty):
3076 (pluginGetProperty):
3077 (pluginSetProperty):
3079 (pluginInvokeDefault):
3083 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3084 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3086 (NP_GetEntryPoints):
3092 (NPP_DestroyStream):
3102 2006-01-04 Timothy Hatcher <timothy@apple.com>
3106 Tweaked and tested by me.
3108 New scripts to work with Subversion when the switch happens.
3109 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3111 * Scripts/svn-apply: Added.
3112 * Scripts/svn-create-patch: Added.
3113 * Scripts/svn-unapply: Added.
3115 2005-12-30 Eric Seidel <eseidel@apple.com>
3119 Move WebView width/height logic into DumpRenderTree to support
3120 running the W3C SVG 1.1 tests along side other tests. The W3C
3121 SVG 1.1 tests require a 480x360 view.
3123 * DumpRenderTree/DumpRenderTree.m:
3124 (main): don't accept width/height
3125 (dump): override width/height for SVG/W3C
3126 * Scripts/run-webkit-tests: don't pass width/height
3128 2005-12-30 Eric Seidel <eseidel@apple.com>
3130 No review, only removing dead code.
3132 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3133 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3135 2005-12-30 Eric Seidel <eseidel@apple.com>
3139 DumpRenderTree should set a consistent color profile while running
3140 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
3142 Creates consistent colormatched renderings on every test machine
3143 using the only way possible with Tiger APIs: by setting the
3144 system color profile on the test machine for the duration of the
3145 tests. This will (unfortunately) cause colors to change while
3146 running DumpRenderTree. This can also cause "permanent" color
3147 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3148 This is far from ideal, but it's be best way we've found to deal
3149 with the issue for now.
3151 * DumpRenderTree/DumpRenderTree.m:
3152 (restoreColorSpace):
3153 (setDefaultColorProfileToRGB):
3156 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3158 Reviewed by Darin Adler.
3160 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3161 cvs-create-patch --include produces incorrect paths
3163 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3165 2005-12-19 Eric Seidel <eseidel@apple.com>
3169 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3171 2005-12-19 Darin Adler <darin@apple.com>
3173 Reviewed by Eric Seidel.
3175 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3176 WebKit needs to use a local pasteboard during testing
3178 * DumpRenderTree/DumpRenderTree.m:
3179 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3180 Create a local pasteboard (really a global one with a unique name) and release
3181 it when exiting from the function so we don't leave it in the pasteboard server.
3182 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3183 ddn't have one. Fixed a leak in an unlikely error case.
3184 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3185 of this method to return our local pasteboard.
3187 2005-12-15 Eric Seidel <eseidel@apple.com>
3189 Reviewed by Tim Hatcher.
3191 * Scripts/build-webkit: --svg is now default!
3193 2005-12-15 Eric Seidel <eseidel@apple.com>
3197 Don't run svg test automatically if +SVG is built (yet).
3199 * Scripts/run-webkit-tests:
3201 2005-12-15 Darin Adler <darin@apple.com>
3203 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3204 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3205 passed on the command line.
3207 2005-12-06 John Sullivan <sullivan@apple.com>
3209 Reviewed by Darin Adler.
3211 * Scripts/prepare-ChangeLog:
3212 Remove special-case handling for nib files. This avoided trouble with cvs diff
3213 when we were using wrappers for nib files. Now that we aren't using wrappers,
3214 there's no reason to avoid adding the modified nib files to the file list that
3217 2005-12-05 Eric Seidel <eseidel@apple.com>
3221 Script updates for SVG files move (remove references to SVGSupport)
3223 * Scripts/build-webkit: remove SVGSupport
3224 * Scripts/run-webkit-tests: Resources -> resources for --svg
3225 * Scripts/update-webkit: remove SVGSupport
3227 2005-12-05 Eric Seidel <eseidel@apple.com>
3231 * checkout: remove --svg support, SVG is now checked out by default
3233 2005-11-29 Eric Seidel <eseidel@apple.com>
3237 Update scripts to run SVG tests automatically (w/o --svg) if
3238 WebCore is built with SVG support.
3240 * Scripts/build-drawtest: SVG support required
3241 * Scripts/build-dumpkcanvastree: Removed.
3242 * Scripts/run-drawtest: SVG support required to run
3243 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3244 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3246 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3248 Reviewed by Darin. Committed by Maciej.
3250 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3251 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3253 * DumpRenderTree/DumpRenderTree.m:
3256 2005-11-28 Eric Seidel <eseidel@apple.com>
3258 Reviewed by sullivan and GGAREN.
3260 Minor additions to make error messages more clear from cvs-apply.
3262 * Scripts/cvs-apply: make errors more clear
3264 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3266 Reviewed and committed by Maciej.
3268 - fixed cvs-create-patch --include produces incorrect paths
3269 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3271 * Scripts/cvs-create-patch: produce proper paths for new files.
3273 2005-11-21 Eric Seidel <eseidel@apple.com>
3277 Some simple fixes to the build/test scripts now that SVG uses the
3278 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3279 or symlinks for KDOM.
3281 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3282 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3283 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3284 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3285 * checkout: no longer symlink kdom
3287 2005-11-10 Eric Seidel <eseidel@apple.com>
3291 * Scripts/build-webkit: Pass through options to xcodebuild
3293 2005-11-07 Darin Adler <darin@apple.com>
3295 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3297 2005-11-03 John Sullivan <sullivan@apple.com>
3301 * Scripts/run-safari:
3302 changed message to say "Starting Safari" instead of odd "Start Safari"
3303 * Scripts/run-webkit-tests:
3304 changed the way we pass the file parameter to use -NSOpen rather than relying on
3305 unlabeled arguments being treated as files. This was failing on some machines that
3306 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3308 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3310 Patch by Alexey Proskuryakov.
3314 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3315 TextInputController should support attributed strings
3317 * DumpRenderTree/TextInputController.m:
3318 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3319 (+[NSMutableAttributedString webScriptNameForSelector:]):
3320 (-[NSMutableAttributedString getLength]):
3321 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3322 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3323 (-[NSMutableAttributedString addAttribute:value:]):
3324 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3325 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3326 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3327 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3328 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3329 (+[TextInputController isSelectorExcludedFromWebScript:]):
3330 (+[TextInputController webScriptNameForSelector:]):
3331 (-[TextInputController insertText:]):
3332 (-[TextInputController attributedSubstringFrom:length:]):
3333 (-[TextInputController attributedStringWithString:]):
3335 2005-10-11 Eric Seidel <eseidel@apple.com>
3339 Checks for leaks in ImageDiff too.
3341 * Scripts/run-webkit-tests:
3343 2005-10-09 Darin Adler <darin@apple.com>
3345 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3346 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3347 * Scripts/cvs-unapply: Ditto.
3348 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3350 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3352 Reviewed, rearranged and landed by Darin.
3354 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3355 Need a way to automatically test for regressions in NSTextInput implementation
3357 * DumpRenderTree/DumpRenderTree.m:
3358 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3359 Create a text input controller and put it in a property of the window object.
3361 * DumpRenderTree/TextInputController.h: Added.
3362 * DumpRenderTree/TextInputController.m: Added.
3363 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3365 2005-10-06 Darin Adler <darin@apple.com>
3367 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3368 are controlled by cvs, or when changes cross multiple repositories.
3369 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3371 2005-10-03 Eric Seidel <eseidel@apple.com>
3375 Make mouseDown and mouseUp force layout before acting.
3376 This is used by a new test case for 4233558.
3378 * DumpRenderTree/DumpRenderTree.m:
3379 (-[EventSendingController mouseDown]): force layout
3380 (-[EventSendingController mouseUp]): force layout
3382 2005-09-30 Eric Seidel <eseidel@apple.com>
3386 Updated all the scripts for the move:
3387 WebCore/layout-tests -> LayoutTests
3389 * Scripts/check-dom-results:
3390 * Scripts/prepare-ChangeLog:
3391 * Scripts/run-webkit-tests:
3392 * Scripts/update-webkit: added --no-tests
3393 * checkout: added --no-tests
3395 2005-09-28 Darin Adler <darin@apple.com>
3397 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3398 pixel test should run even if render trees differ
3400 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3402 2005-09-27 Eric Seidel <eseidel@apple.com>
3404 No review needed, SVG build fix only.
3406 * DumpKCanvasTree/DumpKCanvasTree.m:
3407 Missed one in my previous checkin.
3408 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3410 2005-09-26 Eric Seidel <eseidel@apple.com>
3412 No review needed, SVG build fix only.
3414 * DrawTest/DrawTestDocument.m:
3415 * DrawTest/DrawTestToolbarController.m:
3416 * DrawTest/DrawTestView.h:
3417 * DrawTest/DrawTestView.m:
3418 * DrawTest/SVGTest.m:
3419 * DrawTest/TestController.m:
3420 Updated for WebCore+SVG -> WebCore rename.
3421 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3423 2005-09-26 Eric Seidel <eseidel@apple.com>
3427 * DumpRenderTree/DumpRenderTree.m:
3428 (dump): updated error message
3429 * Scripts/check-dom-results: now includes xhtml
3430 Tool updates for xhtml.
3431 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3433 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3438 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3439 "Would like to simulate human interaction with webview"
3441 * DumpRenderTree/DumpRenderTree.m:
3442 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3443 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3444 (+[EventSendingController webScriptNameForSelector:]):
3445 (-[EventSendingController init]):
3446 (-[EventSendingController mouseDown]):
3447 (-[EventSendingController mouseUp]):
3448 (-[EventSendingController mouseMoveToX:Y:]):
3449 Add eventSender javascript object, that sends fake mouse events to the webview.
3451 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3452 link with Carbon.framework
3454 2005-09-22 Eric Seidel <eseidel@apple.com>
3458 Update tools for WebCore+SVG -> WebCore rename.
3459 Also fold several SVG specific tools into their original
3460 WebCore counterparts.
3461 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3463 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3464 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3465 * Scripts/build-drawtest:
3466 * Scripts/build-dumpkcanvastree:
3467 * Scripts/build-webcore-svg: Removed.
3468 * Scripts/build-webkit: added --svg option
3469 * Scripts/run-drawtest:
3470 * Scripts/run-webkit-tests:
3471 * Scripts/webkitdirs.pm: various additions.
3472 * checkout: added --svg option
3473 * checkout-svg: Removed.
3475 2005-09-19 Eric Seidel <eseidel@apple.com>
3479 * Scripts/run-webkit-tests: added --guard-malloc option
3480 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3482 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3486 Removed a script that is only used by apple internal developers
3488 * Scripts/update-webkitsysteminterface: Removed.
3490 2005-09-16 Adele Peterson <adele@apple.com>
3494 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3496 2005-09-14 Darin Adler <darin@apple.com>
3498 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3499 dumpAsText doesn't work with XHTML documents
3501 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3502 rather than of the body element. This works with typical XHTML documents. We can probably
3503 do something even better in the long run, but this fixes the immediate issue.
3507 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3508 run-safari instead of just using "open", which often runs another copy of Safari instead.
3510 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3512 Reviewed, tweaked, and landed by Darin.
3514 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3515 .Mac prefpane crashes when Safari using CVS WebKit is running
3517 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3518 * Scripts/run-webkit-app: Ditto.
3520 2005-09-11 Darin Adler <darin@apple.com>
3522 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3524 2005-09-11 Darin Adler <darin@apple.com>
3528 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3529 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3530 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3533 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3537 * Scripts/update-webkitsysteminterface: Added.
3538 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3540 2005-09-01 John Sullivan <sullivan@apple.com>
3542 * Scripts/run-webkit-tests:
3543 Excluded a known system leak to reduce noise; added comments about which leaks
3546 2005-09-01 Tim Omernick <tomernick@apple.com>
3548 Change made by Darin, reviewed by John and myself.
3550 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3552 * Scripts/prepare-ChangeLog:
3554 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3558 - set color variant and font settings to a consistent value.
3559 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3561 * DumpRenderTree/DumpRenderTree.m:
3564 2005-08-30 Eric Seidel <eseidel@apple.com>
3568 * Scripts/build-svg2png: Removed.
3569 * svg2png/ImageDiff.h: Removed.
3570 * svg2png/ImageDiff.m: Removed.
3571 * svg2png/svg2png.m: Removed.
3572 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3573 * svg2png/svg2png_Prefix.pch: Removed.
3574 svg2png is no longer needed.
3576 2005-08-30 Darin Adler <darin@apple.com>
3578 * Scripts/check-dom-results: Special case 100% to say something nice.
3579 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3580 applying the patch (need a better name).
3581 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3583 2005-08-30 Darin Adler <darin@apple.com>
3585 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3587 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3591 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3592 (some pixel tests fail when AA settings are changed)
3594 * DumpRenderTree/DumpRenderTree.m:
3595 (main): set AA settings to the default values
3597 2005-08-29 Darin Adler <darin@apple.com>
3599 Reviewed by John Sullivan.
3601 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3602 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3605 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3609 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3610 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3612 * DumpRenderTree/DumpRenderTree.m:
3613 (main): set scrollbar arrow setting to a consistent value
3615 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3617 Reviewed and landed by Darin.
3619 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3620 output of update-webkit is too verbose
3622 * Scripts/update-webkit: