1 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
5 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
6 http://bugzilla.opendarwin.org/show_bug.cgi?id=10224
8 * Drosera/Drosera.xcodeproj/project.pbxproj:
9 * Drosera/LauncherInfo.plist:
11 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
13 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
14 when a test performs an unsuccessful drag and drop operation.
16 * DumpRenderTree/EventSendingController.m:
17 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
18 drag operation for the mouse release is NSDragOperationNone.
20 2006-08-02 Timothy Hatcher <timothy@apple.com>
24 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
25 http://bugzilla.opendarwin.org/show_bug.cgi?id=9632
27 Do not change the file source when normalizing the line endings.
28 We use this file source to compare against new versions of the source
29 as it comes in, so we can skip re-syntax highlighting if they are the same.
30 The problem is apparent on yahoo.com since they have mixed line endings and
31 once we normalize them the source will always be different. This was
32 compounded by the fact that yahoo has around 40 inline scripts. Each
33 inline script causes us to check if the main document has more loaded,
34 that is when we compare the source strings. Since they are always different
35 we would syntax highlight yahoo.com 40 times! We do check source length before
36 doing a more expensive string comparison, but the lengths were the same.
38 * Drosera/debugger.js:
40 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
44 Bug 9931: [Drosera] Needs a cool icon
45 http://bugzilla.opendarwin.org/show_bug.cgi?id=9931
47 * Drosera/Drosera.icns: Added.
48 * Drosera/Drosera.xcodeproj/project.pbxproj:
51 2006-08-01 Darin Adler <darin@apple.com>
53 - fix a bug in my recent change where the mouse position at the end of
54 the last test would affect the results of the next test
56 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
58 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
62 http://bugzilla.opendarwin.org/show_bug.cgi?id=10182
63 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
65 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
66 Correct the logic to not reload local variable list unless an '=' character is in the expression.
68 2006-07-31 Darin Adler <darin@apple.com>
72 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10171
73 REGRESSION: failing layout test: fast/events/objc-event-api.html
75 * DumpRenderTree/DumpRenderTree.m:
76 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
77 location in flipped coordinates, since those are the coordinates that we use.
78 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
81 * DumpRenderTree/EventSendingController.m:
82 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
83 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
84 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
85 probably worked OK, but this is needed to be correct.
86 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
87 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
88 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
89 dump the screenY as-is.
91 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
95 http://bugzilla.opendarwin.org/show_bug.cgi?id=10178
96 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
98 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
99 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
101 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
105 http://bugzilla.opendarwin.org/show_bug.cgi?id=10175
106 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
108 * Drosera/DebuggerDocument.m:
109 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
111 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
115 http://bugzilla.opendarwin.org/show_bug.cgi?id=10167
116 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
118 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
121 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
125 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
126 http://bugzilla.opendarwin.org/show_bug.cgi?id=9686
128 * Drosera/DebuggerDocument.m:
129 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
130 ensure that the server does not try and notify us of events related to the resumption.
131 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
132 call through to JavaScript.
133 * Drosera/debugger.js: Pause debugger when exception is raised.
135 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
139 - fixes for Linux build
141 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
142 * GdkLauncher/gdklauncher.bkl: Tweak comment.
144 2006-07-24 Dan Waylonis <waylonis@google.com>
146 Reviewed and tweaked a bit by Darin.
148 * DumpRenderTree/ObjCPlugin.m:
149 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
150 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
151 "echo:" so it's nice to call from JavaScript.
152 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
153 to test a round trip through Objective-C types.
155 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
159 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10060
160 Improve iExploder results parsing
162 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
165 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
169 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9964
170 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
172 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
174 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
178 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
179 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
181 Removed "Property changes" that snuck in as part of the "apply patch" process.
183 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
187 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9875
188 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
191 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
193 (patch): Use patch(1) for non-binary additions and deletions.
194 * Scripts/svn-unapply:
196 (patch): Use patch(1) for reverting non-binary additions and deletions.
197 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
199 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
203 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
204 http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
206 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
207 so, have stepOut pause on the next call to willExecuteStatement rather than second.
209 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
213 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
214 Teach svn-create-patch and friends to fix ChangeLog patches
216 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
217 * Scripts/svn-create-patch: Ditto.
218 * Scripts/svn-unapply: Ditto.
220 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
224 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
225 http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
227 * Drosera/DebuggerDocument.m:
228 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
230 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
234 Bug 9863: Drosera needs to show something at launch
235 http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
237 * Drosera/DebuggerApplication.m:
238 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
240 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
244 Lets Drosera build universal for the nightlies. Right now it is not
245 possible to build a universal binary on a PPC machine because of a
246 conflict with the universal SDK.
248 * BuildSlaveSupport/build-launcher-app:
249 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
251 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
255 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
256 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
258 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
259 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
260 should open a new stream and deliver the data to the current instance.
262 2006-07-11 Timothy Hatcher <timothy@apple.com>
266 Bug 9598: [Drosera] add a JavaScript evaluator console
267 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
269 * Drosera/DebuggerApplication.h:
270 * Drosera/DebuggerApplication.m:
271 (-[DebuggerApplication knownServers]):
272 * Drosera/DebuggerDocument.h:
273 * Drosera/DebuggerDocument.m:
274 (-[WebScriptObject evaluateScript:inCallFrame:]):
275 (-[WebScriptObject showConsole:]):
276 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
277 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
278 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
279 (-[WebScriptObject webView:createWebViewWithRequest:]):
280 (-[WebScriptObject webViewShow:]):
281 (-[WebScriptObject webViewAreToolbarsVisible:]):
282 (-[WebScriptObject webView:setToolbarsVisible:]):
283 (-[WebScriptObject webView:setResizable:]):
284 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
285 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
286 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
287 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
288 (-[WebScriptObject webView:didFinishLoadForFrame:]):
289 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
290 * Drosera/Drosera.xcodeproj/project.pbxproj:
291 * Drosera/Images/console.png: Added.
292 * Drosera/console.css: Added.
293 * Drosera/console.html: Added.
294 * Drosera/console.js: Added.
296 2006-07-11 Timothy Hatcher <timothy@apple.com>
298 Reviewed by a tired Geoff.
300 Bug 9597: [Drosera] hook up the variables table to show stack variables
301 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
303 * Drosera/DebuggerDocument.m:
304 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
305 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
306 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
307 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
308 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
309 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
310 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
311 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
312 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
313 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
314 * Drosera/debugger.css:
315 * Drosera/debugger.html:
316 * Drosera/debugger.js:
318 2006-07-10 Tim Omernick <timo@apple.com>
320 Reviewed by Beth Dakin.
322 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
323 Add DOM access test to DumpRenderTree's Netscape plug-in
325 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
329 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
333 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
334 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
336 Now track three states: initializing, running, and closed. If we are launched and the previous
337 state was initializing then we likely just experienced a crash on launch.
339 * WebKitLauncher/WebKitNightlyEnabler.m:
340 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
341 (myApplicationWillTerminate): Update to use new states.
342 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
343 initializing as early as practical.
344 (symbol_lookup): Bring code up to speed with formatting guidelines.
345 (GDSymbolLookup): Ditto.
347 2006-07-10 Darin Adler <darin@apple.com>
349 - try to fix Windows build
351 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
352 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
354 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
356 Build fix. Reviewed by NOBODY.
358 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
359 devenv.com not available in VC++ Express installations
361 * Scripts/webkitdirs.pm: Backed out previous change.
363 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
367 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
368 svn-apply should set ChangeLog date correctly when applying patches
370 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
371 before applying the patch.
372 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
374 2006-07-09 Darin Adler <darin@apple.com>
376 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
378 2006-07-09 Darin Adler <darin@apple.com>
380 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
382 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
384 Reviewed by NOBODY (build fix).
386 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
387 devenv.com not available in VC++ Express installations
389 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
390 work again. Add VC++ Express check as the fallback.
392 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
394 Reviewed by Timothy Hatcher.
396 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
397 devenv.com not available in VC++ Express installations
399 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
401 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
405 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
406 Patch by coldwinter@katamail.com.
408 In the congratulations message, "capatibilies" should be "capabilities".
410 * Scripts/build-webkit:
412 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
414 Reviewed by Timothy Hatcher.
416 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
417 Teach run-webkit-tests how to ignore tests with performance improvements
419 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
420 feature, and minor clean up.
422 2006-07-08 Darin Adler <darin@apple.com>
424 Reviewed by Geoff (well, half of it at least).
426 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
427 storage leaks in Objective-C tests
429 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
430 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
431 Add a release to fix a storage leak.
433 2006-07-08 Darin Adler <darin@apple.com>
435 * Scripts/do-webcore-rename: A few more.
437 2006-07-08 Darin Adler <darin@apple.com>
439 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
441 2006-07-04 Maciej Stachowiak <mjs@apple.com>
445 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
446 - add support for dumping non-HTML as text - in this case use textContent
449 * DumpRenderTree/DumpRenderTree.m:
452 2006-07-02 Timothy Hatcher <timothy@apple.com>
456 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
457 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
459 Adds step over and step out. Along with a little code cleanup
460 that was minor enough to piggyback on this fix.
462 * Drosera/DebuggerDocument.h:
463 * Drosera/DebuggerDocument.m:
464 (-[DebuggerDocument stepOver:]):
465 (-[DebuggerDocument stepOut:]):
466 (-[DebuggerDocument windowDidLoad]):
467 (-[DebuggerDocument windowWillClose:]):
468 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
469 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
470 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
471 (-[DebuggerDocument validateUserInterfaceItem:]):
472 * Drosera/Drosera.xcodeproj/project.pbxproj:
473 * Drosera/debugger.html:
474 * Drosera/debugger.js:
475 * Drosera/viewer.css:
477 2006-07-02 Timothy Hatcher <timothy@apple.com>
481 Bug 9628: [Drosera] Split Views acting oddly
482 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
484 Only update the last X or Y coordinate if the new
485 size was not constrained. Also adds the resize cursor to
486 the body during the drag incase there is a constrained
487 over drag off of the resizer element.
489 * Drosera/debugger.js:
491 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
493 Reviewed by Alexy Proskuryakov.
495 Bug 9692: Warning about Safari extensions on every launch is obnoxious
496 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
498 * WebKitLauncher/WebKitNightlyEnabler.m:
499 (myApplicationWillTerminate): Note that we are exiting cleanly.
500 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
501 to exit cleanly on our last invocation. This doesn't play nicely with
502 multiple concurrent instances of WebKit.app so it can be disabled via
503 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
505 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
507 Reviewed by Alexy Proskuryakov.
509 Bug 9654: Refresh Loop when accessing feed URLs
510 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
512 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
514 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
516 Reviewed by Timothy Hatcher.
518 Bug 9689: Nightly builds should warn a user about potential problems when using
520 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
522 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
523 * WebKitLauncher/WebKitNightlyEnabler.m:
524 (myBundleDidLoad): Keep track of if any bundles that are loaded.
525 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
526 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
527 NSApplicationWillFinishLaunchingNotification notifications so that we can
528 track bundle loads and notify the user at launch completion.
530 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
534 - first check-in of a Gdk shell for testing WebKit
536 * GdkLauncher: Added.
538 2006-06-29 Timothy Hatcher <timothy@apple.com>
542 Need to call window close so WebView tears-down completly.
544 * DumpRenderTree/DumpRenderTree.m:
545 (main): call [window close]
547 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
551 Bug 9615: Buildbot configuration should be in SVN repository
552 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
554 Import BuildBot configuration files as used by build.webkit.org.
555 auth.py has been stubbed out so that slave passwords are not disclosed.
557 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
558 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
559 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
560 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
561 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
562 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
563 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
564 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
565 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
566 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
567 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
568 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
570 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
574 Bug 9614: Nightly builds should notify user if a newer build is available
575 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
577 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
578 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
579 script so it can keep track of the latest revision.
580 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
581 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
582 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
583 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
584 the nightly start page.
586 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
590 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
591 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
593 Report screenY values as (height of zero screen - screenY)
595 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
597 2006-06-25 Timothy Hatcher <timothy@apple.com>
601 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
602 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
604 Makes breakpoints dragable. If dragged off the gutter they are deleted.
606 * Drosera/debugger.js:
607 * Drosera/viewer.css:
609 2006-06-25 Timothy Hatcher <timothy@apple.com>
613 Bug 9568: assertion failure in Safari after quitting Drosera
614 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
616 Call switchToServerNamed:nil and not removeLister to make sure
617 the server object is set to nil to prevent further removeListener calls.
619 * Drosera/DebuggerDocument.m:
620 (-[DebuggerDocument applicationTerminating:]):
622 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
626 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
627 that the directory is not empty instead of reading in every single file and directory first,
628 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
631 2006-06-25 Darin Adler <darin@apple.com>
633 * Scripts/svn-apply: Tweak comments.
634 * Scripts/svn-create-patch: Ditto.
635 * Scripts/svn-unapply: Ditto.
637 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
639 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
641 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
643 * Scripts/svn-apply: Formatting fix.
645 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
649 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
650 Teach svn-apply and svn-unapply to handle directory adds and removes better
652 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
653 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
655 2006-06-25 Timothy Hatcher <timothy@apple.com>
659 Bug 9574: Drosera should show inline scripts within the original HTML
660 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
662 Refactor the JavaScript code to have a distinction between files
663 and scripts. Show the script in the context of the HTML file if
664 it's URL is the same as the frame's main resource. At the time of
665 the disParseScript callback the main resource might not be completely
666 loaded, but Drosera needs to show whatever we have at the time. Once
667 the main resource is finished, update the file source and reload the file.
669 * Drosera/DebuggerDocument.m:
670 (-[DebuggerDocument pause]):
671 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
672 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
673 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
674 * Drosera/debugger.css:
675 * Drosera/debugger.js:
677 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
681 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
682 Teach prepare-ChangeLog to operate on a list of files or directories
684 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
685 * Scripts/svn-create-patch: Code refactoring.
687 2006-06-24 James G. Speth <speth@end.com>
691 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
692 add a way to build Objective-C test cases in HTML
694 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
695 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
696 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
699 * DumpRenderTree/ObjCPlugin.h:
700 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
701 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
702 (+[ObjCPlugin webScriptNameForSelector:]):
703 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
704 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
705 (+[NSObject allowsScriptsFullAccess]):
706 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
707 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
708 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
709 (+[JSObjC webScriptNameForSelector:]):
710 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
711 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
712 (-[JSObjC log:]): access to NSLog function
713 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
714 (-[JSObjC classOfObject:]):
715 (-[JSObjC classNameOfObject:]):
717 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
721 * DrawTest/Info.plist: Added copyright statement.
722 * Drosera/Info.plist: Ditto.
723 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
724 * WebKitLauncher/Info.plist: Ditto.
726 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
728 Build fix. Reviewed by NOBODY.
730 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
731 devenv.com not available in VC++ Express installations
733 * Scripts/webkitdirs.pm: Backed out previous change.
735 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
739 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
740 devenv.com not available in VC++ Express installations
742 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
744 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
748 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
749 A bunch of fixes to run-webkit-httpd
751 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
752 127.0.0.1. Useful for testing with WinIE running on another machine;
753 - don't call checkFrameworks() - we do not need a built WebKit here;
754 - changed tabs to spaces;
755 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
756 interactive mode, they were a hassle when testing with several browsers, as one
757 had to wait for connection to expire);
758 - remove httpd.pid when done, so that Apache doesn't complain next time.
760 * Scripts/run-webkit-httpd:
762 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
764 Reviewed by ggaren, landed by ap.
766 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
767 Complete DOMUIEvent Obj-C API to reflect UIEvent
769 Add function to enable logging of all events of one DOM node to stdout.
771 * DumpRenderTree/EventSendingController.h:
772 * DumpRenderTree/EventSendingController.m:
773 (+[EventSendingController initialize]):
774 (+[EventSendingController isSelectorExcludedFromWebScript:]):
775 (+[EventSendingController webScriptNameForSelector:]):
776 (-[EventSendingController enableDOMUIEventLogging:]):
777 (-[EventSendingController handleEvent:]):
779 2006-06-23 Kevin Decker <kdecker@apple.com>
781 Reviewed by Tim Hatcher.
783 - Made column headers in Drosera resizable.
785 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
789 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
790 Another case error preventing build
792 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
794 2006-06-22 Timothy Hatcher <timothy@apple.com>
798 Adds a native toolbar to Drosera to be a good citizen.
799 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
800 Fixes a dragging bug from an earlier fix to the divider code.
801 Fixes some poor indenting in debugger.js.
803 * Drosera/DebuggerDocument.h:
804 * Drosera/DebuggerDocument.m:
805 (-[DebuggerDocument stepInto]):
806 (-[DebuggerDocument pause:]):
807 (-[DebuggerDocument resume:]):
808 (-[DebuggerDocument stepInto:]):
809 (-[DebuggerDocument windowDidLoad]):
810 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
811 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
812 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
813 (-[DebuggerDocument validateUserInterfaceItem:]):
814 * Drosera/English.lproj/MainMenu.nib/classes.nib:
815 * Drosera/English.lproj/MainMenu.nib/info.nib:
816 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
817 * Drosera/debugger.css:
818 * Drosera/debugger.html:
819 * Drosera/debugger.js:
820 * Drosera/viewer.html:
822 2006-06-22 Kevin Decker <kdecker@apple.com>
826 - Added pressed column header image.
827 - Made column headers behave more like Xcode.
829 2006-06-22 Timothy Hatcher <timothy@apple.com>
831 Reviewed by Kevin Decker.
833 Code clean up. Adds the stackframe and makes only the body
834 of the tables scrollable keeping the header visible.
835 Shows the current function stack when paused or stepping.
837 * Drosera/DebuggerApplication.m:
838 (-[DebuggerApplication awakeFromNib]):
839 (-[DebuggerApplication numberOfRowsInTableView:]):
840 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
841 * Drosera/DebuggerDocument.h:
842 * Drosera/DebuggerDocument.m:
843 (-[DebuggerDocument dealloc]):
844 (-[DebuggerDocument currentFrame]):
845 (-[DebuggerDocument currentFrameFunctionName]):
846 (-[DebuggerDocument currentFunctionStack]):
847 (-[DebuggerDocument log:]):
848 (-[DebuggerDocument windowWillClose:]):
849 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
850 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
851 * Drosera/Drosera.xcodeproj/project.pbxproj:
852 * Drosera/debugger.css:
853 * Drosera/debugger.html:
854 * Drosera/debugger.js:
856 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
860 Teach run-webkit-httpd to properly look for webkitdirs.pm.
862 * Scripts/run-webkit-httpd:
864 2006-06-22 Kevin Decker <kdecker@apple.com>
866 Reviewed by Tim Hatcher.
868 - More progress toward Javascript Debugger.
869 - Added some new images to the project.
871 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
875 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
876 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
878 * Scripts/run-webkit-httpd: Added.
880 2006-06-20 Timothy Hatcher <timothy@apple.com>
884 Builds Drosera and a launcher to include with the nightly.
886 * BuildSlaveSupport/build-launcher-app:
887 * BuildSlaveSupport/build-launcher-dmg:
888 * Drosera/Drosera.xcodeproj/project.pbxproj:
889 * Drosera/Info.plist:
890 * Drosera/LauncherInfo.plist: Added.
891 * Drosera/launcher.m: Added.
892 (displayErrorAndQuit):
893 (checkMacOSXVersion):
896 * Scripts/build-drosera
897 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
898 * WebKitLauncher/main.m:
901 2006-06-20 Timothy Hatcher <timothy@apple.com>
905 Adds a JavaScript debugger, called Drosera. Named after
906 a genus of bug eating plants.
908 * Drosera/DebuggerApplication.h: Added.
909 * Drosera/DebuggerApplication.m: Added.
910 (-[DebuggerApplication applicationDidFinishLaunching:]):
911 (-[DebuggerApplication serverLoaded:]):
912 (-[DebuggerApplication serverUnloaded:]):
913 (-[DebuggerApplication awakeFromNib]):
914 (-[DebuggerApplication showAttachPanel:]):
915 (-[DebuggerApplication attach:]):
916 (-[DebuggerApplication numberOfRowsInTableView:]):
917 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
918 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
919 (-[DebuggerApplication tableViewSelectionDidChange:]):
920 * Drosera/DebuggerDocument.h: Added.
921 * Drosera/DebuggerDocument.m: Added.
922 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
923 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
924 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
925 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
926 (-[DebuggerDocument initWithServerName:]):
927 (-[DebuggerDocument windowWillClose:]):
928 (-[DebuggerDocument dealloc]):
929 (-[DebuggerDocument isPaused]):
930 (-[DebuggerDocument pause]):
931 (-[DebuggerDocument resume]):
932 (-[DebuggerDocument step]):
933 (-[DebuggerDocument windowNibName]):
934 (-[DebuggerDocument windowDidLoad]):
935 (-[DebuggerDocument switchToServerNamed:]):
936 (-[DebuggerDocument applicationTerminating:]):
937 (-[DebuggerDocument serverConnectionDidDie:]):
938 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
939 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
940 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
941 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
942 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
943 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
944 * Drosera/Drosera.pch: Added.
945 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
946 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
947 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
948 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
949 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
950 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
951 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
952 * Drosera/Images/breakPoint.tif: Added.
953 * Drosera/Images/breakPointDisabled.tif: Added.
954 * Drosera/Images/continue.tif: Added.
955 * Drosera/Images/finishFunction.tif: Added.
956 * Drosera/Images/glossyFooterFill.tif: Added.
957 * Drosera/Images/glossyHeader.png: Added.
958 * Drosera/Images/gradientBackground.png: Added.
959 * Drosera/Images/gutter.png: Added.
960 * Drosera/Images/navLeftDisabled.png: Added.
961 * Drosera/Images/navLeftNormal.png: Added.
962 * Drosera/Images/navLeftPressed.png: Added.
963 * Drosera/Images/navRightDisabled.png: Added.
964 * Drosera/Images/navRightNormal.png: Added.
965 * Drosera/Images/navRightPressed.png: Added.
966 * Drosera/Images/pause.tif: Added.
967 * Drosera/Images/popUpArrows.png: Added.
968 * Drosera/Images/programCounter.tif: Added.
969 * Drosera/Images/programCounterBreakPoint.tif: Added.
970 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
971 * Drosera/Images/run.tif: Added.
972 * Drosera/Images/splitterBar.tif: Added.
973 * Drosera/Images/splitterDimple.tif: Added.
974 * Drosera/Images/step.tif: Added.
975 * Drosera/Images/stepOver.tif: Added.
976 * Drosera/Images/stop.tif: Added.
977 * Drosera/Images/toolbarBackground.png: Added.
978 * Drosera/Info.plist: Added.
979 * Drosera/debugger.css: Added.
980 * Drosera/debugger.html: Added.
981 * Drosera/debugger.js: Added.
982 * Drosera/main.m: Added.
984 * Drosera/viewer.css: Added.
985 * Drosera/viewer.html: Added.
987 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
991 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
992 Teach svn-apply and svn-unapply to use full path names
994 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
995 * Scripts/svn-unapply: Ditto.
997 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1001 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
1002 DumpRenderTree should be able to keep URL history during runs
1004 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1006 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1007 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1008 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1009 it is currently nil since keepWebHistory() might be called more than once incidentally
1011 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1012 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1014 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1018 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
1019 Make prepare-ChangeLog faster
1021 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1022 then save the diff output for reuse. Keep a status variable if changes are made to
1023 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1024 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1025 for no changed files closer to the beginning of the program.
1027 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1029 Reviewed and landed by ap.
1031 - make DumpRenderTree build
1033 * DumpRenderTree/DumpRenderTree.m:
1034 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1035 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1036 (-[LayoutTestController setWindowIsKey:]): Ditto.
1037 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1039 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1041 Reviewed by Darin, landed by Geoff.
1043 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
1044 Use pathcmp() when sorting paths in svn-create-patch
1046 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1047 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1048 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1049 switch and printUsage() subroutine.
1051 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1055 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
1056 Teach svn-create-patch to sort its output
1058 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1059 by text files first, then by binary files.
1061 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1065 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
1066 Teach svn-create-patch and friends to work with binary files
1068 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1069 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1070 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1072 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1076 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
1077 Performance improvement for svn-create-patch
1079 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1081 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1085 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
1086 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1088 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1089 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1091 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1095 Switch Spinneret to new hosting mechanism
1097 * Spinneret/Spinneret.sln:
1098 * Spinneret/Spinneret/Spinneret.cpp:
1099 (SpinneretWebHost::updateAddressBar):
1100 (SpinneretWebHost::QueryInterface):
1101 (SpinneretWebHost::AddRef):
1102 (SpinneretWebHost::Release):
1109 * Spinneret/Spinneret/Spinneret.h:
1110 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1111 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1112 (SpinneretWebHost::didFailProvisionalLoadWithError):
1113 (SpinneretWebHost::didCommitLoadForFrame):
1114 (SpinneretWebHost::didReceiveTitle):
1115 (SpinneretWebHost::didReceiveIcon):
1116 (SpinneretWebHost::didFinishLoadForFrame):
1117 (SpinneretWebHost::didFailLoadWithError):
1118 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1119 (SpinneretWebHost::willPerformClientRedirectToURL):
1120 (SpinneretWebHost::didCancelClientRedirectForFrame):
1121 (SpinneretWebHost::willCloseFrame):
1122 (SpinneretWebHost::windowScriptObjectAvailable):
1123 * Spinneret/Spinneret/Spinneret.vcproj:
1125 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1129 Updated build script
1131 * Scripts/build-webkit:
1133 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1137 * DumpRenderTree/DumpRenderTree.m:
1138 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1139 (-[LayoutTestController clearBackForwardList]):
1140 Add clearBackForwardList function to layoutTestController
1142 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1146 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
1147 slow-utf8-text layout test case failing (no longer deterministic?)
1149 * DumpRenderTree/DumpRenderTree.m:
1151 Dump as text when the response MIME type is text/plain
1153 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1157 * Spinneret/Spinneret.sln:
1158 * Spinneret/Spinneret/Spinneret.vcproj:
1160 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1164 Added 'GCController' to DRT to support garbage collection layout tests.
1166 GCController.collect() and GCController.collectOnAlternateThread() do
1167 what you would expect. The latter takes a boolean argument sepcifying
1168 whether to wait for garbage collection to finish before continuing to
1171 * DumpRenderTree/DumpRenderTree.m:
1172 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1173 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1174 * DumpRenderTree/GCController.h: Added.
1175 * DumpRenderTree/GCController.mm: Added.
1176 (+[GCController isSelectorExcludedFromWebScript:]):
1177 (+[GCController webScriptNameForSelector:]):
1178 (-[GCController collect]):
1179 (-[GCController collectOnAlternateThread:]):
1181 2006-05-23 John Sullivan <sullivan@apple.com>
1185 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1186 Newer Xcode removed some obsolete cruft
1188 * DumpRenderTree/TextInputController.m:
1189 (-[TextInputController textInput]):
1190 added (id) cast to make newer compiler happy
1192 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1198 * Spinneret/Spinneret.sln:
1200 2006-05-18 Darin Adler <darin@apple.com>
1202 - try to fix no-SVG, no-XPATH build, again
1204 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1206 2006-05-18 Darin Adler <darin@apple.com>
1208 - try to fix no-SVG, no-XPATH build
1210 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1211 since the former is what's used in the WebCore project now.
1213 2006-05-17 Darin Adler <darin@apple.com>
1215 * Scripts/do-webcore-rename: Some more future renames.
1217 2006-05-16 Adele Peterson <adele@apple.com>
1221 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1222 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1224 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1226 * Scripts/install-unix-extras: Changed to be executable and removed
1227 text in the file generated by "svn diff".
1228 * Scripts/regenerate-makefiles: Ditto.
1230 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1232 Reviewed by Darin, landed by ap.
1234 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1235 Bakefiles (and generated Makefiles) for wx and gdk ports
1237 * Scripts/install-unix-extras: Added.
1238 * Scripts/regenerate-makefiles: Added.
1240 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1244 Fix registry usage from perl script. Turns out libwin32's
1245 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1247 * Scripts/install-win-extras:
1249 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1252 Add load ended callback.
1256 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1257 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1258 * Spinneret/Spinneret/Spinneret.cpp:
1259 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1260 (_tWinMain): Load built-in test content here instead of in lower-level code.
1261 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1263 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1267 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1269 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1273 * Scripts/check-dom-results:
1274 Add XPath to the list of results.
1276 2006-05-08 Darin Adler <darin@apple.com>
1278 * Scripts/do-webcore-rename: Add another rename.
1280 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1284 Spinneret now links against the new separate lib.
1286 * Spinneret/Spinneret.sln:
1287 * Spinneret/Spinneret/Spinneret.cpp:
1288 (SpinneretWebHost::updateLocationBar):
1290 * Spinneret/Spinneret/Spinneret.h:
1291 * Spinneret/Spinneret/Spinneret.vcproj:
1292 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1293 * Spinneret/Spinneret/WebFrame.h: Removed.
1294 * Spinneret/Spinneret/WebView.cpp: Removed.
1295 * Spinneret/Spinneret/WebView.h: Removed.
1297 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1301 Modify error reporting registry keys to disable Dr. Watson.
1302 This allows Javascript test cases to complete without blocking UI.
1304 * Scripts/install-win-extras:
1305 - Use Perl Win32 registry functions to disable blocking UI
1308 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1312 Turned off C++ exceptions, fixed memory leaks
1314 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1315 * Spinneret/Spinneret.sln:
1316 * Spinneret/Spinneret/Spinneret.cpp:
1318 * Spinneret/Spinneret/Spinneret.vcproj:
1319 * Spinneret/Spinneret/WebFrame.cpp:
1320 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1321 (WebKit::WebFrame::WebFrame):
1322 (WebKit::WebFrame::~WebFrame):
1323 (WebKit::WebFrame::impl):
1324 * Spinneret/Spinneret/WebFrame.h:
1325 * Spinneret/Spinneret/WebView.cpp:
1326 * Spinneret/Spinneret/stdafx.h:
1328 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1332 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1333 DumpRenderTree should reset the URL cache
1335 * DumpRenderTree/DumpRenderTree.m:
1336 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1338 2006-04-28 Eric Seidel <eseidel@apple.com>
1340 Reviewed by andersca.
1342 * Scripts/do-webcore-rename: rename KCanvasContainer too
1343 * Scripts/run-webkit-tests: output total time
1345 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1347 Reviewed by hyatt. Landed by eseidel.
1349 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1350 Enable detection of excessive repainting with DumpRenderTree
1352 * DumpRenderTree/DumpRenderTree.m:
1353 (-[LayoutTestController display]):
1355 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1359 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1360 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1362 * DumpRenderTree/DumpRenderTree.m:
1363 (dump): If display() has been called during the test, grab the pixels from
1364 the view, after letting it repaint invalidated rects.
1365 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1366 (-[LayoutTestController display]): Added. Calls -display on the view
1367 and changes the subsequent behavior of dump().
1370 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1374 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1375 Update iExploder to 1.3.2
1377 Test case numbers are not compatible with iExploder 1.2.
1379 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1381 * iExploder/CHANGELOG.txt: Added.
1382 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1383 * iExploder/README.txt: Added some performance hints.
1385 * iExploder/htdocs/config.rb: Added.
1386 * iExploder/htdocs/cssproperties.in:
1387 * iExploder/htdocs/cssvalues.in:
1388 * iExploder/htdocs/htmlattrs.in:
1389 * iExploder/htdocs/htmltags.in:
1390 * iExploder/htdocs/iexploder.cgi:
1391 - Updated to support the latest HTML & CSS tags, properties, and values from both
1392 the WebKit and Mozilla CVS tree
1393 - cssproperties.in cleanup
1394 - Modularized the code a little bit.
1395 - Fix subtest bug that was causing last 5 tags to be missed
1396 - new subtest algorithm to deal better with larger tag counts
1397 - default HTML_MAX_TAGS increased from 32 to 96
1399 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1400 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1401 alternative to our run-iexploder-tests.
1402 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1403 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1404 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1406 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1408 - commit Scripts/run-mangleme-tests (missed it the previous time).
1410 2006-04-18 Darin Adler <darin@apple.com>
1412 - attempt to fix Windows buildbot
1414 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1415 We need a better long-term solution for this.
1417 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1421 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1422 Integrate mangleme test script.
1424 Works in a similar way to run-iexploder-tests.
1426 * Scripts/run-mangleme-tests: Added.
1428 * mangleme/Makefile: Added.
1429 * mangleme/README: Added.
1430 * mangleme/mangle.cgi.c: Added.
1431 * mangleme/remangle.cgi.c: Added.
1432 * mangleme/tags.h: Added.
1434 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1438 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1439 An easier way to save iExploder tests.
1441 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1443 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1447 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1448 Integrate iExploder test script.
1450 This script generates artificially mangled HTML documents, to test that the browser
1451 doesn't crash when handling ill-formed code.
1454 run-iexploder-tests Open an interactive test page in Safari+ToT.
1455 run-iexploder-tests nnnnn Open test #nnnnn.
1457 Command line options:
1458 --guard-malloc (-g) Use Guard Malloc.
1459 --port=nnnn Run Apache on port nnnn (default is 8000).
1461 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1462 (thus, Apache is still running), e.g.:
1463 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1465 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1467 * Scripts/run-iexploder-tests: Added.
1469 * iExploder/LICENSE.txt: Added.
1470 * iExploder/README.txt: Added.
1471 * iExploder/htdocs: Added.
1472 * iExploder/htdocs/cssproperties.in: Added.
1473 * iExploder/htdocs/cssvalues.in: Added.
1474 * iExploder/htdocs/htmlattrs.in: Added.
1475 * iExploder/htdocs/htmltags.in: Added.
1476 * iExploder/htdocs/htmlvalues.in: Added.
1477 * iExploder/htdocs/iexploder.cgi: Added.
1478 * iExploder/htdocs/index.html: Added.
1479 * iExploder/tools: Added.
1480 * iExploder/tools/lasthit.rb: Added.
1481 * iExploder/tools/osx_last_crash.rb: Added.
1483 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1487 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1488 Restore color profile after a crash
1490 * DumpRenderTree/DumpRenderTree.m:
1491 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1492 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1493 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1494 and this code may change significantly.
1496 (main): Install crashHandler.
1498 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1499 (CFStringGetCStringPtr should NEVER EVER be used!).
1501 2006-04-15 Darin Adler <darin@apple.com>
1505 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1506 Seems xmlsoft.org's HTTP no longer has what we need.
1508 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1510 Rubber-stamped by Darin.
1512 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1513 upload-disk-image stage on buildslaves fail with "No space left on device"
1515 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1516 'hdiutil create'. This creates the initial disk image based on the size of
1517 the source folder, and copies the contents to the new disk image. The file
1518 extension on the temporary uncompressed disk image has also been altered from
1519 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1520 the extension is not ".dmg".
1522 2006-04-12 Eric Seidel <eseidel@apple.com>
1526 * Scripts/update-webkit: Make this return non-zero when svn fails.
1528 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1532 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1533 Make HTTP tests using Perl use .pl extension
1535 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1536 removed support for .text. Reduced the number of places that explicitly list supported
1537 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1540 2006-04-06 Darin Adler <darin@apple.com>
1542 Changes requested by Mark Rowe.
1544 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1545 trash at the end of the file.
1546 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1548 * WebKitLauncher/main.m: Removed trash at end of file.
1550 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1553 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1555 Reviewed by Darin, landed by Maciej.
1557 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1558 and bundles the WebKit frameworks inside it.
1559 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1560 containing WebKit.app.
1561 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1562 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1563 number of the SVN working copy.
1564 * WebKitLauncher: Added.
1565 * WebKitLauncher/Info.plist: Added.
1566 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1567 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1568 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1569 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1570 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1571 the nightly launcher.
1572 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1573 It sets up the environment to have Safari use the bundled frameworks
1574 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1575 * WebKitLauncher/start.html: Added.
1576 * WebKitLauncher/webkit.icns: Added.
1578 2006-04-05 Darin Adler <darin@apple.com>
1582 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1583 are allowed to have global initializers.
1585 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1587 Reviewed by OMG BETH
1589 * Scripts/run-testkjs:
1590 - pipe STDERR to /dev/null by default; new --verbose option overrides
1592 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1593 - output run command in a format that can be copied and pasted into the
1594 terminal to run manually
1596 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1598 Reviewed by harrison
1600 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1601 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1603 Tell the source that the drag is over after the drag is performed, not before.
1605 * DumpRenderTree/EventSendingController.m:
1606 (-[EventSendingController mouseUp]):
1608 2006-04-01 Darin Adler <darin@apple.com>
1612 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1613 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1614 elements in that array are not strings.
1616 2006-03-31 Darin Adler <darin@apple.com>
1618 Reviewed by John Sullivan.
1620 - added a "--reset-results" option to run-webkit-tests so you can reset
1621 the results without first deleting expected results
1622 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1624 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1625 more logical. Moved all the subroutines to the end of the file. Added a
1628 * DumpRenderTree/DumpRenderTree.m:
1629 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1630 to generate new output for all tests it runs.
1631 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1632 the --dump-all-pixels option is passed. Also tightened up the image dumping
1633 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1634 with code to save and restore the context.
1636 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1637 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1639 2006-03-30 Tim Omernick <timo@apple.com>
1641 Reviewed by NOBODY (just fixing copyrights)
1643 * DumpRenderTree/ObjCPlugin.h:
1645 * DumpRenderTree/ObjCPlugin.m: ditto
1646 * DumpRenderTree/ObjCPluginFunction.h: ditto
1647 * DumpRenderTree/ObjCPluginFunction.m: ditto
1649 2006-03-30 Tim Omernick <timo@apple.com>
1653 * DumpRenderTree/DumpRenderTree.m:
1654 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1655 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1656 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1657 exposed to JS as a callable object.
1659 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1660 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1662 * DumpRenderTree/ObjCPlugin.h: Added.
1663 * DumpRenderTree/ObjCPlugin.m: Added.
1664 * DumpRenderTree/ObjCPluginFunction.h: Added.
1665 * DumpRenderTree/ObjCPluginFunction.m: Added.
1667 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1668 Added a new method, "removeDefaultMethod", which removes the default method from the
1669 plugin object's class. The effect is that the plugin object is mutated from a callable
1670 function to a simple object.
1672 Handle "removeDefaultMethod".
1673 (pluginInvokeDefault):
1674 Made the default method actually do something (return 1).
1676 2006-03-30 Eric Seidel <eseidel@apple.com>
1680 Remove WebFrame::viewImpl(), setMainFrame on page.
1682 * Spinneret/Spinneret/WebFrame.cpp:
1683 (WebKit::WebFrame::WebFrame):
1684 * Spinneret/Spinneret/WebFrame.h:
1685 * Spinneret/Spinneret/WebView.cpp:
1686 (WebKit::WebView::mouseMoved):
1687 (WebKit::WebView::mouseDown):
1688 (WebKit::WebView::mouseUp):
1689 (WebKit::WebView::mouseDoubleClick):
1690 (WebKit::WebViewWndProc):
1692 2006-03-30 Eric Seidel <eseidel@apple.com>
1696 Fix html editing input & basic form submission.
1698 * Spinneret/Spinneret/WebFrame.cpp:
1699 (WebKit::WebFrame::submitForm):
1700 (WebKit::WebFrame::loadURL):
1701 * Spinneret/Spinneret/WebFrame.h:
1702 * Spinneret/Spinneret/WebView.cpp:
1703 (WebKit::WebView::keyPress):
1704 (WebKit::WebViewWndProc):
1706 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1710 <rdar://problem/4402375>
1711 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1713 Added an option to draw the selectionRect.
1715 * DumpRenderTree/DumpRenderTree.m:
1717 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1718 (-[LayoutTestController dumpSelectionRect]):
1721 2006-03-29 Darin Adler <darin@apple.com>
1723 Reviewed by Tim Hatcher.
1725 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1727 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1729 2006-03-28 Eric Seidel <eseidel@apple.com>
1733 * Scripts/check-for-global-initializers: remove svg exceptions.
1735 2006-03-28 Timothy Hatcher <timothy@apple.com>
1739 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1741 * Scripts/check-for-global-initializers:
1743 2006-03-28 Timothy Hatcher <timothy@apple.com>
1745 Build fix. Turn off uninitialized warnings for the first block of code.
1747 * Scripts/check-for-global-initializers:
1749 2006-03-28 Darin Adler <darin@apple.com>
1753 * Scripts/check-for-global-initializers: Added.
1755 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1757 Reviewed by darin. Landed by eseidel.
1759 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1760 Add repaint testing support to run-webkit-tests
1762 * DumpRenderTree/DumpRenderTree.m:
1763 (main): Added --repaint and --horizontal-sweep options.
1764 (dump): Repaint line-by-line or column-by-column when the appropriate option
1766 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1767 and repaintSweepHorizontally() methods to layoutTestController.
1768 (-[LayoutTestController testRepaint]):
1769 (-[LayoutTestController repaintSweepHorizontally]):
1771 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1772 to force these settings on tests that do not ask for them.
1774 2006-03-24 Eric Seidel <eseidel@apple.com>
1780 * Spinneret/Spinneret/WebFrame.cpp:
1781 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
1783 2006-03-21 Beth Dakin <bdakin@apple.com>
1787 Add support for keyDown() to DumpRenderTree.
1789 * DumpRenderTree/DumpRenderTree.m:
1790 (main): Set the preference for tabbing to links.
1791 * DumpRenderTree/EventSendingController.m:
1792 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1793 (+[EventSendingController webScriptNameForSelector:]):
1794 (-[EventSendingController keyDown:withModifiers:]):
1796 2006-03-20 Eric Seidel <eseidel@apple.com>
1802 * Spinneret/Spinneret/Spinneret.vcproj:
1803 * Spinneret/Spinneret/WebFrame.h:
1804 * Spinneret/Spinneret/WebView.cpp:
1805 (WebKit::WebView::mouseMoved):
1806 (WebKit::WebView::mouseDown):
1807 (WebKit::WebView::mouseUp):
1808 (WebKit::WebView::mouseDoubleClick):
1809 (WebKit::WebView::keyPress):
1810 (WebKit::WebViewWndProc):
1812 2006-03-19 Darin Adler <darin@apple.com>
1816 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
1817 we can test it in layout tests. We don't really need tests that run with
1818 pop-up blocking off at the moment. If we do some day, we can add some
1819 API for turning it off in the layout test controller.
1821 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1822 don't ignore the leak; it should no longer show up.
1824 2006-03-17 Anders Carlsson <andersca@mac.com>
1828 * Scripts/install-win-extras:
1829 Fetch "Program Files" location from the environment.
1831 2006-03-17 Eric Seidel <eseidel@apple.com>
1835 Fix Spinneret to pass Events as const & not as pointers.
1837 * Spinneret/Spinneret/WebView.cpp:
1838 (WebKit::WebView::mouseMoved):
1839 (WebKit::WebView::mouseDown):
1840 (WebKit::WebView::mouseUp):
1841 (WebKit::WebView::mouseDoubleClick):
1842 (WebKit::WebView::keyPress):
1844 2006-03-17 Eric Seidel <eseidel@apple.com>
1846 Reviewed by justing.
1848 Add support for basic HTML editing.
1850 * Spinneret/Spinneret/WebView.cpp:
1851 (WebKit::WebView::WebView):
1852 (WebKit::WebView::keyPress):
1854 2006-03-17 Eric Seidel <eseidel@apple.com>
1856 Rubber-stamped by ggaren.
1858 Break DumpRenderTree.m up into several files to make the code more readable.
1860 * DumpRenderTree/DumpRenderTree.h: Added.
1861 * DumpRenderTree/DumpRenderTree.m:
1862 (doneLoading): new accessor function for "done" global.
1863 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1864 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1865 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1866 * DumpRenderTree/EditingDelegate.h: Added.
1867 * DumpRenderTree/EditingDelegate.m: Added.
1868 (-[EditingDelegate webViewDidChangeSelection:]):
1869 * DumpRenderTree/EventSendingController.h: Added.
1870 * DumpRenderTree/EventSendingController.m: Added.
1872 2006-03-16 Eric Seidel <eseidel@apple.com>
1876 Add resize, scroll event support.
1878 * Spinneret/Spinneret/WebView.cpp:
1879 (WebKit::WebView::mouseMoved):
1880 (WebKit::WebView::mouseDown):
1881 (WebKit::WebView::mouseUp):
1882 (WebKit::WebView::mouseDoubleClick):
1883 (WebKit::WebView::keyPress):
1884 (WebKit::WebViewWndProc):
1885 * Spinneret/Spinneret/WebView.h:
1887 2006-03-16 Eric Seidel <eseidel@apple.com>
1891 Make build-webkit print correctly to stdout on windows.
1893 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1895 2006-03-15 Eric Seidel <eseidel@apple.com>
1899 Fix eventSender.mouseClick() to update lastClick timestamp.
1901 * DumpRenderTree/DumpRenderTree.m:
1902 (-[EventSendingController mouseClick]):
1904 2006-03-15 Darin Adler <darin@apple.com>
1908 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1909 that had a lowercase "i" in it so this builds on case-sensitive
1912 2006-03-15 Geoffrey Garen <ggaren@apple.com>
1916 Added run-testkjs and compare-timing-files scripts, to support super
1919 * Scripts/compare-timing-files: Added.
1920 * Scripts/run-testkjs: Added.
1922 2006-03-14 Eric Seidel <eseidel@apple.com>
1926 Make the URL bar relinquish focus on page load.
1928 * Spinneret/Spinneret/Spinneret.cpp:
1931 2006-03-14 Eric Seidel <eseidel@apple.com>
1935 Fix WebView to allow KeyFocus.
1936 Add handling of space and shift-space for scrolling.
1938 * Spinneret/Spinneret/WebView.cpp:
1939 (WebKit::scrollMessageForKey):
1940 (WebKit::WebViewWndProc):
1942 2006-03-10 Eric Seidel <eseidel@apple.com>
1946 Add scrolling support into Spinneret.
1948 * Spinneret/Spinneret/WebFrame.cpp:
1949 (WebKit::WebFrame::paint):
1950 * Spinneret/Spinneret/WebView.cpp:
1951 (WebKit::WebView::createWebView):
1952 (WebKit::calculateScrollDelta):
1953 (WebKit::scrollMessageForKey):
1954 (WebKit::WebViewWndProc):
1956 2006-03-13 Eric Seidel <eseidel@apple.com>
1960 Fix checksum generation on Intel machines.
1961 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1962 give a small speed boost now that it uses a shared buffer.
1964 * DumpRenderTree/DumpRenderTree.m:
1967 (md5HashStringForBitmap):
1968 * DumpRenderTree/ImageDiff.m:
1969 (computePercentageDifferent):
1971 2006-03-13 Darin Adler <darin@apple.com>
1973 Reviewed by Tim Hatcher.
1975 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1976 have it named httpd-1.3 instead.
1978 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
1980 Fix proposed by Mitz Pettel, reviewed by Darin.
1982 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1983 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1985 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1986 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
1989 2006-03-09 Darin Adler <darin@apple.com>
1991 Reviewed by John Sullivan.
1993 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1994 memory leak in the plug-in tests
1996 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1997 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1998 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2000 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2001 Moved the browser global in here since it's declared in this file's header.
2002 Changed the code to set up the pluginClass structure to not use function
2003 pointer casts. Those are dangerous because they can hide many types of mismatch.
2004 And indeed when I did this I discovered that many functions were missing their
2005 boolean return values or had parameter declarations with the wrong types.
2006 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2007 clarity. Added boolean return value: return true when successful and false when not.
2008 (pluginSetProperty): Added boolean return value, return false since we have no
2009 properties we can set.
2010 (pluginInvoke): Added boolean return value. Return true when successful and false
2011 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2012 return value from calling the browser. Changed code to put the strings in malloc
2013 buffers instead of relying on GCC's extension that allows variable-sized arrays
2015 (pluginInvokeDefault): Added boolean return value, return false since we have no
2016 default function to call.
2017 (pluginInvalidate): Added missing parameter. Removed comment.
2018 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2019 to cast the result of malloc.
2020 (pluginDeallocate): Removed uneeded cast.
2022 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2023 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2024 that match NPObject's fields. Removed unused NPWindow pointer.
2026 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2028 Test: fast/events/event-sender-mouse-click.html
2032 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
2033 DRT hangs when doing eventSender.mouseDown on native widgets
2035 * DumpRenderTree/DumpRenderTree.m:
2036 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2037 (-[EventSendingController mouseClick]): Simulates a click in a native
2038 widget by queueing a mouseUp before sending the mouseDown, so that
2039 the widget's mouse tracking event loop doesn't hang indefinitely.
2041 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2045 - make link clicks work by handling link click requests
2048 * Spinneret/Spinneret/Spinneret.cpp:
2049 (updateLocationBar):
2050 * Spinneret/Spinneret/Spinneret.h:
2051 * Spinneret/Spinneret/WebFrame.cpp:
2052 (WebKit::WebFrame::WebFrame):
2053 (WebKit::WebFrame::openURL):
2054 (WebKit::WebFrame::loadURL):
2055 * Spinneret/Spinneret/WebFrame.h:
2057 2006-03-08 Eric Seidel <eseidel@apple.com>
2061 Focus URL bar on Spinneret launch, remove border from WebView.
2062 Stop WebFrame from deleting the job (prevent crash).
2064 * Spinneret/Spinneret/Spinneret.cpp:
2066 * Spinneret/Spinneret/WebFrame.cpp:
2067 (WebKit::WebFrame::receivedAllData):
2068 (WebKit::WebFrame::paint):
2069 * Spinneret/Spinneret/WebView.cpp:
2070 (WebKit::WebView::createWebView):
2072 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2076 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2077 (pluginInvoke): Added a method to test getURL.
2079 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2083 - load URLs, not file paths, in Spinneret
2085 * Spinneret/Spinneret/Spinneret.cpp:
2087 * Spinneret/Spinneret/Spinneret.vcproj:
2088 * Spinneret/Spinneret/WebFrame.cpp:
2089 (WebKit::WebFrame::loadURL):
2090 (WebKit::WebFrame::receivedData):
2091 (WebKit::WebFrame::receivedAllData):
2092 * Spinneret/Spinneret/WebFrame.h:
2093 * Spinneret/Spinneret/WebView.cpp:
2094 (WebKit::WebView::WebView):
2096 2006-03-08 Darin Adler <darin@apple.com>
2100 - fixed AppleScript layout test results to not be endian-dependent
2101 (Hyatt complained to me about this one)
2103 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2104 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2105 (which are endian-dependent).
2107 2006-03-07 Darin Adler <darin@apple.com>
2111 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
2112 unwanted output while running layout tests
2114 * DumpRenderTree/DumpRenderTree.m:
2115 (checkedMalloc): Added.
2116 (checkedRealloc): Added.
2117 (makeLargeMallocFailSilently): Added.
2118 (main): Call makeLargeMallocFailSilently.
2120 2006-03-06 Darin Adler <darin@apple.com>
2122 * Scripts/do-webcore-rename: Add some more planned renaming.
2124 2006-03-06 Eric Seidel <eseidel@apple.com>
2128 * Spinneret/Spinneret/WebFrame.cpp:
2129 (WebKit::WebFrame::paint): force layout before painting
2131 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2135 Sent the windowNumber when sending events.
2136 Added leapForward so that we don't have to spend time waiting
2137 in layout tests that do mouse operations that require delays.
2139 * DumpRenderTree/DumpRenderTree.m:
2140 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2141 (+[EventSendingController webScriptNameForSelector:]):
2142 (-[EventSendingController currentEventTime]):
2143 (-[EventSendingController leapForward:]):
2144 (-[EventSendingController mouseDown]):
2145 (-[EventSendingController mouseUp]):
2146 (-[EventSendingController mouseMoveToX:Y:]):
2148 2006-03-05 Darin Adler <darin@apple.com>
2150 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2151 Script now works (after landing my two pending patches).
2153 2006-03-05 Darin Adler <darin@apple.com>
2155 - check in a script to do a "big" rename in WebCore
2156 (can be run whenever we're ready to do it)
2158 * Scripts/do-webcore-rename: Added.
2160 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2164 * Spinneret/Spinneret/WebFrame.cpp:
2165 (WebKit::WebFrame::loadFilePath): Close file when done.
2167 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2169 Reviewed by Darin, landed by ap.
2171 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
2172 Mouse moved events do not work in DumpRenderTree
2174 Test: fast/events/event-sender-mouse-moved.html
2176 * DumpRenderTree/DumpRenderTree.m:
2177 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2179 2006-03-04 Eric Seidel <eseidel@apple.com>
2183 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2184 Disable background erase to avoid tearing.
2185 Fix potential memory smasher from extra long urls.
2187 * Spinneret/Spinneret/Spinneret.cpp:
2189 * Spinneret/Spinneret/Spinneret.vcproj:
2190 * Spinneret/Spinneret/WebFrame.cpp:
2191 (WebKit::WebFrame::loadFilePath):
2192 (WebKit::WebFrame::paint):
2193 * Spinneret/Spinneret/WebView.cpp:
2194 (WebKit::registerWebViewWithInstance):
2196 2006-03-04 Eric Seidel <eseidel@apple.com>
2200 Hang WebView pointer off of HWND (gets rid of global hack).
2201 Remove MessageBox displayed on url change.
2203 * Spinneret/Spinneret/Spinneret.cpp:
2206 * Spinneret/Spinneret/WebView.cpp:
2207 (WebKit::registerWebViewWithInstance):
2208 (WebKit::WebView::createWebView):
2209 (WebKit::WebViewWndProc):
2211 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2215 Automatically kill httpd if it appears to be already running.
2217 * Scripts/run-webkit-tests:
2219 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2223 * Spinneret/Spinneret/WebFrame.cpp:
2224 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2226 2006-03-03 Eric Seidel <eseidel@apple.com>
2230 A few more fixes to make run-webkit-tests really work on win32.
2232 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2234 * Scripts/run-webkit-tests:
2236 2006-03-03 Eric Seidel <eseidel@apple.com>
2240 Make run-webkit-tests work on win32.
2242 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2244 (dumpRenderTreeMain):
2245 (dumpRenderTreeToStdOut):
2246 (serializeToStdOut):
2248 * Scripts/run-webkit-tests:
2249 * Scripts/webkitdirs.pm:
2250 * Spinneret/Spinneret/WebView.cpp:
2251 (WebKit::WebView::WebView):
2253 2006-03-03 Eric Seidel <eseidel@apple.com>
2257 Add WebFrame class (to hold Frame and FrameView).
2258 Add Location bar support to Spinneret.
2260 * Spinneret/Spinneret/Spinneret.cpp:
2265 * Spinneret/Spinneret/Spinneret.vcproj:
2266 * Spinneret/Spinneret/WebFrame.cpp: Added.
2267 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2268 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2269 (WebKit::WebFrame::WebFrame):
2270 (WebKit::WebFrame::loadFilePath):
2271 (WebKit::WebFrame::loadHTMLString):
2272 (WebKit::WebFrame::paint):
2273 (WebKit::WebFrame::impl):
2274 (WebKit::WebFrame::viewImpl):
2275 * Spinneret/Spinneret/WebFrame.h: Added.
2276 * Spinneret/Spinneret/WebView.cpp:
2277 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2278 (WebKit::WebView::WebView):
2279 (WebKit::WebView::windowHandle):
2280 (WebKit::WebView::mainFrame):
2281 (WebKit::WebView::mouseMoved):
2282 (WebKit::WebView::mouseDown):
2283 (WebKit::WebView::mouseUp):
2284 (WebKit::WebView::mouseDoubleClick):
2285 (WebKit::WebViewWndProc):
2286 * Spinneret/Spinneret/WebView.h:
2288 2006-03-02 Eric Seidel <eseidel@apple.com>
2292 * Spinneret/Spinneret/WebView.cpp:
2293 (WebKit::registerWebViewWithInstance):
2294 (WebKit::WebView::WebView):
2295 (WebKit::WebView::mouseMoved):
2296 (WebKit::WebView::mouseDown):
2297 (WebKit::WebView::mouseUp):
2298 (WebKit::WebView::mouseDoubleClick):
2299 (WebKit::WebViewWndProc):
2300 * Spinneret/Spinneret/WebView.h:
2302 2006-03-01 Eric Seidel <eseidel@apple.com>
2304 Reviewed by andersca.
2306 Make spinneret take advantage of the new GraphicsContextCairo.
2308 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2309 (main): updated to match style guidelines.
2310 * Spinneret/Spinneret/Spinneret.cpp:
2312 * Spinneret/Spinneret/WebView.cpp:
2313 (WebKit::registerWebViewWithInstance):
2314 (WebKit::WebView::WebView):
2315 (WebKit::WebView::~WebView):
2316 (WebKit::WebView::drawRect):
2318 * Spinneret/Spinneret/WebView.h:
2320 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2324 Give the events that eventSender sends a unique eventNumber
2326 * DumpRenderTree/DumpRenderTree.m:
2327 (-[EventSendingController mouseDown]):
2328 (-[EventSendingController mouseUp]):
2329 (-[EventSendingController mouseMoveToX:Y:]):
2331 2006-03-01 Eric Seidel <eseidel@apple.com>
2335 Add a stub win32 application to test WebCore drawing on windows.
2338 * Spinneret/Spinneret: Added.
2339 * Spinneret/Spinneret.sln: Added.
2340 * Spinneret/Spinneret/Resource.h: Added.
2341 * Spinneret/Spinneret/Spinneret.cpp: Added.
2347 * Spinneret/Spinneret/Spinneret.h: Added.
2348 * Spinneret/Spinneret/Spinneret.ico: Added.
2349 * Spinneret/Spinneret/Spinneret.rc: Added.
2350 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2351 * Spinneret/Spinneret/WebView.cpp: Added.
2352 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2353 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2354 (WebKit::registerWebViewWithInstance):
2355 (WebKit::WebView::createWebView):
2356 (WebKit::WebView::WebView):
2357 (WebKit::WebView::~WebView):
2358 (WebKit::WebView::drawRect):
2359 (WebKit::WebView::windowHandle):
2361 * Spinneret/Spinneret/WebView.h: Added.
2362 * Spinneret/Spinneret/small.ico: Added.
2363 * Spinneret/Spinneret/stdafx.cpp: Added.
2364 * Spinneret/Spinneret/stdafx.h: Added.
2366 2006-02-28 Eric Seidel <eseidel@apple.com>
2370 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2371 (main): add ability to dump render tree and read from a local file.
2373 2006-02-27 Eric Seidel <eseidel@apple.com>
2377 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2379 2006-02-27 Eric Seidel <eseidel@apple.com>
2383 Test new KConfig -> PlugInInfoStore change.
2384 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2386 * DumpRenderTree/DumpRenderTree.m:
2387 (main): load test netscape plugin
2388 * Scripts/run-webkit-tests: style update
2390 2006-02-24 Eric Seidel <eseidel@apple.com>
2394 Make DumpRenderTree link against icu.
2396 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2398 2006-02-24 Eric Seidel <eseidel@apple.com>
2402 Make DumpRenderTree link against libxml, etc.
2404 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2406 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2408 Reviewed and landed by Anders.
2410 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2411 getting called from the run loop, making the view render each test and thus slowing
2414 * DumpRenderTree/DumpRenderTree.m:
2415 (main): Set the offscreen window to not autodisplay.
2417 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2421 - Turn http tests back on by default.
2422 - Wait for Apache to actually start serving requests.
2423 - Get user id from a built-in variable rather than an external command;
2424 don't pass the group.
2426 * Scripts/run-webkit-tests:
2428 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2430 Suggested by Mitz Pettel, reviewed by Darin.
2432 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2433 can run CGIs even if the permissions are 700 or 600.
2435 2006-02-23 Darin Adler <darin@apple.com>
2437 Collaborating with Alexey.
2439 - turn off http tests by default until we figure out how to get them
2440 to run even when permissions on CGI files are 700 instead of 755
2442 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2444 2006-02-23 Eric Seidel <eseidel@apple.com>
2446 Add *.user to ignore list.
2448 2006-02-23 Eric Seidel <eseidel@apple.com>
2450 Remove binary file which shouldn't have been commited (and add to ignore list).
2452 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2453 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2455 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2459 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2461 2006-02-22 Eric Seidel <eseidel@apple.com>
2463 Reviewed by Tim Hatcher.
2465 Fix install-win-extras to not try to re-install setx if installed.
2467 * Scripts/install-win-extras:
2469 2006-02-22 Eric Seidel <eseidel@apple.com>
2471 One more file possibly missing from previous commit?
2473 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2474 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2476 2006-02-22 Eric Seidel <eseidel@apple.com>
2478 Reviewed by justing.
2480 Files missing from previous commit.
2482 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2483 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2485 2006-02-22 Eric Seidel <eseidel@apple.com>
2487 Rubber-stamped by justing.
2489 Corrected path for DumpRenderTree.intermediate files
2491 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2493 2006-02-22 Eric Seidel <eseidel@apple.com>
2495 Reviewed by justing.
2497 Fixed build-dumprendertree to exit with correct error codes.
2499 * Scripts/build-dumprendertree:
2501 2006-02-22 Eric Seidel <eseidel@apple.com>
2503 Reviewed by justing.
2505 Update build scripts to generalize building on Win32, and allow
2506 building of DumpRenderTree on Win32 from build-dumprendertree.
2508 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2510 * Scripts/build-dumprendertree:
2511 * Scripts/build-webkit:
2512 * Scripts/webkitdirs.pm:
2514 2006-02-22 Eric Seidel <eseidel@apple.com>
2518 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2519 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2520 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2521 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2522 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2523 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2525 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2526 * Scripts/build-webkit: make build-webkit cleanup after itself
2528 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2532 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2533 Some minor fixes to http tests.
2535 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2537 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2541 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2542 Would like to use locally installed Apache for testing.
2544 Added two run-webkit-tests options:
2545 --http (--nohttp) - whether to launch Apache (defaults to yes);
2546 --port - which port to listen on (defaults to 8000).
2548 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2549 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2550 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2552 Also added support for .shtml and .text files. Text files give an empty
2553 *-expected.txt, but a correct image.
2555 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2557 * Scripts/run-webkit-tests:
2559 2006-02-21 Darin Adler <darin@apple.com>
2561 Suggested by Mark Rowe.
2563 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2564 reporting leak counts.
2566 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2570 - Added install-win-extras script which installs some extra
2571 programs and libraries, and does Windows first-time setup.
2573 * Scripts/build-webkit: Add a newline between build results.
2574 * Scripts/install-win-extras: Added.
2576 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2580 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2581 DumpRenderTree should be able to load files via HTTP
2583 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2584 Handle tests starting with "http://" as real URLs, not file system paths.
2586 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2590 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2591 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2593 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2595 2006-02-18 Darin Adler <darin@apple.com>
2597 * Scripts/commit-log-editor: Added.
2599 2006-02-17 Eric Seidel <eseidel@apple.com>
2603 Make Win32 have the same default "WebKitBuild" directory behavior.
2605 * Scripts/build-webkit:
2606 * Scripts/webkitdirs.pm:
2608 2006-02-17 Eric Seidel <eseidel@apple.com>
2612 * Scripts/build-webkit: make win32 actually report errors
2614 2006-02-17 Eric Seidel <eseidel@apple.com>
2618 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2620 2006-02-17 Eric Seidel <eseidel@apple.com>
2624 * Scripts/run-webkit-tests: Ignore flash leaks
2626 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2630 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2631 Add drag and drop support to DumpRenderTree
2633 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2634 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2636 * DumpRenderTree/DumpRenderTree.m:
2638 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2639 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2640 (-[WaitUntilDoneDelegate webViewFocus:]):
2641 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2642 (+[LayoutTestController webScriptNameForSelector:]):
2643 (-[LayoutTestController setWindowIsKey:]):
2644 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2645 (-[EventSendingController init]):
2646 (-[EventSendingController mouseDown]):
2647 (-[EventSendingController mouseUp]):
2648 (-[EventSendingController mouseMoveToX:Y:]):
2650 (-[DumpRenderTreeWindow isKeyWindow]):
2651 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2652 (-[DumpRenderTreeDraggingInfo dealloc]):
2653 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2654 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2655 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2656 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2657 (-[DumpRenderTreeDraggingInfo draggedImage]):
2658 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2659 (-[DumpRenderTreeDraggingInfo draggingSource]):
2660 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2661 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2662 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2663 * DumpRenderTree/TextInputController.m:
2664 (-[TextInputController firstRectForCharactersFrom:length:]):
2665 (-[TextInputController characterIndexForPointX:Y:]):
2667 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2671 * DumpRenderTree/DumpRenderTree.m:
2672 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2673 Added a dummy method for the sake of LayoutTests/plugins/
2674 undefined-property-crash.html. (It tests a crash due to fallback
2675 object use. WebCore won't create a fallback object if the method is
2678 2006-02-14 Eric Seidel <eseidel@apple.com>
2682 * Scripts/run-webkit-tests: added --results-directory (-o) option
2684 2006-02-09 Eric Seidel <eseidel@apple.com>
2686 Rubber-stamped by mjs.
2688 Renamed split-class to split-file-by-class.
2690 * Scripts/build-webkit: Updated copyright.
2691 * Scripts/split-class: Removed.
2692 * Scripts/split-file-by-class: Added.
2694 2006-02-08 Eric Seidel <eseidel@apple.com>
2696 Rubber-stamped by mjs.
2698 Adding new script for splitting multi-class files.
2699 Also adding supporting perl module with space removing heuristics.
2701 * Scripts/SpacingHeuristics.pm: Added.
2702 * Scripts/build-drawtest: updated copyright header
2703 * Scripts/split-class: Added.
2705 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2707 Reviewed by thatcher
2709 Changes to test fix for:
2710 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2711 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2713 * DumpRenderTree/DumpRenderTree.m:
2714 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2715 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2716 (+[LayoutTestController webScriptNameForSelector:]):
2717 (-[LayoutTestController setWindowHasFocus:]):
2718 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2720 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2722 Reviewed by Timothy.
2724 Support automated testing of AppleScript "do JavaScript" command
2725 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2727 * DumpRenderTree/AppleScriptController.h: Added.
2728 * DumpRenderTree/AppleScriptController.m: Added.
2729 * DumpRenderTree/DumpRenderTree.m:
2730 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2731 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2733 2006-02-06 Eric Seidel <eseidel@apple.com>
2737 Fix build-webkit for use on win32 (unblocks buildbot usage).
2738 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2740 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2741 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2743 2006-02-06 Eric Seidel <eseidel@apple.com>
2745 Rubber-stamped by darin & mjs.
2747 Added new support directory for build slave scripts.
2748 Committing the first script, for use by the PLT's build slave.
2749 This script is used to kick of the PLT (Page Load Test) slave.
2751 * BuildSlaveSupport: Added.
2752 * BuildSlaveSupport/run-performance-tests: Added.
2754 2006-02-06 Eric Seidel <eseidel@apple.com>
2756 Rubber-stamped by darin.
2758 Adding setSourceDir for scripts stored in non-standard locations.
2760 * Scripts/webkitdirs.pm:
2762 2006-02-04 Darin Adler <darin@apple.com>
2764 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2765 Configuration files that say Development or Deployment in them.
2767 2006-02-04 Darin Adler <darin@apple.com>
2769 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2770 wrapper already in the directory.
2771 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2772 these haven't been working at all.
2773 * Scripts/svn-unapply: Ditto.
2775 2006-02-03 Timothy Hatcher <timothy@apple.com>
2779 Renamed configuration names to Debug, Release and Production.
2781 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2782 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2783 * Scripts/set-webkit-configuration:
2784 * Scripts/webkitdirs.pm:
2786 2006-02-02 Justin Garcia <justin.garcia@apple.com>
2788 Reviewed by thatcher
2790 Enabled spell checking for layout tests.
2792 * DumpRenderTree/DumpRenderTree.m:
2795 2006-01-29 Darin Adler <darin@apple.com>
2797 * Scripts/svn-apply: Added comments about things we should do to improve.
2798 * Scripts/svn-create-patch: Ditto.
2799 * Scripts/svn-unapply: Ditto.
2801 2006-01-28 Darin Adler <darin@apple.com>
2803 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
2804 already there, even if the checksum is correct.
2806 2006-01-27 Eric Seidel <eseidel@apple.com>
2810 * Scripts/run-webkit-tests: make new tests use absolute urls
2812 2006-01-27 Eric Seidel <eseidel@apple.com>
2816 make run-webkit-tests output total leaks count
2818 * Scripts/run-webkit-tests:
2820 2006-01-27 Eric Seidel <eseidel@apple.com>
2824 run-webkit-test --leaks crashes (malloc logging runs out of memory)
2825 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2827 * Scripts/run-webkit-tests: fix --leaks to not crash
2829 2006-01-26 Eric Seidel <eseidel@apple.com>
2833 run-webkit-tests should produce a self-contained results directory
2834 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2836 * Scripts/run-webkit-tests: copy failing items to results dir.
2838 2006-01-23 Darin Adler <darin@apple.com>
2840 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2841 need script to update localizable strings file in WebKit
2843 * Scripts/update-webkit-localizable-strings: Added.
2845 2006-01-23 Darin Adler <darin@apple.com>
2847 - added a couple of scripts -- more about these two soon
2849 * Scripts/extract-localizable-strings: Added.
2850 * Scripts/merge-changelog: Added.
2852 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
2856 Build fix. build-webkit dies with "invalid build action: (empty string)"
2858 * Scripts/build-webkit:
2859 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2861 2006-01-22 Eric Seidel <eseidel@apple.com>
2865 Fix --no-svg option to use XCode flags instead of gcc flags.
2867 * Scripts/build-webkit:
2869 2006-01-22 Eric Seidel <eseidel@apple.com>
2873 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2875 * Scripts/build-webkit:
2877 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
2879 Reviewed by eseidel.
2881 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2882 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2884 * Scripts/build-drawtest: Changed bareword 'true' to 1.
2885 * Scripts/run-drawtest: Changed bareword 'true' to 1.
2887 2006-01-19 Darin Adler <darin@apple.com>
2889 * Scripts/report-include-statistics: Added a new script.
2891 2006-01-19 Timothy Hatcher <timothy@apple.com>
2893 * Scripts/build-webkit: include JavaScriptGlue in the build
2895 2006-01-19 Darin Adler <darin@apple.com>
2897 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2898 spaces in it by using the form of open that treats each argument as a string
2899 rather than backtick syntax for reading the output of the nm tool.
2901 2006-01-12 Maciej Stachowiak <mjs@apple.com>
2905 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2906 detect if there are any new tests
2908 * Scripts/prepare-ChangeLog:
2910 2006-01-12 Darin Adler <darin@apple.com>
2912 - removed some of the cvs-specific scripts -- not needed for this project any more
2914 * Scripts/cvs-abandon: Removed.
2915 * Scripts/cvs-apply: Removed.
2916 * Scripts/cvs-create-patch: Removed.
2917 * Scripts/cvs-unapply: Removed.
2919 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2921 Reviewed by eseidel. Committed by eseidel.
2923 - run-webkit-tests always launches Safari when tests fail
2924 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2926 * Scripts/run-webkit-tests:
2927 Add a command-line flag to prevent Safari being launched to display failed
2928 tests. Always exit with non-zero status when tests have failed.
2930 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
2932 Reviewed by eseidel. Committed by eseidel.
2934 - build-webkit should exit with non-zero status when build fails
2935 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2937 * Scripts/build-webkit:
2938 Use correct bits of subprocess exit code when passing back through
2939 as build-webkit's exit code.
2941 2006-01-10 Eric Seidel <eseidel@apple.com>
2943 Restored corrupted nibs from TOT CVS.
2945 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2946 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2947 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2948 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2949 * DrawTest/English.lproj/Inspector.nib: Replaced.
2950 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2951 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2952 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2953 * DrawTest/English.lproj/MainMenu.nib: Replaced.
2954 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2955 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2956 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2957 * DrawTest/English.lproj/TestViewer.nib: Replaced.
2958 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2959 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2960 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2962 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
2964 Reviewed by eseidel. Committed by eseidel.
2966 DrawTestView now subclasses WebView instead of DrawView.
2968 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2969 * DrawTest/DrawTestDocument.h:
2970 * DrawTest/DrawTestDocument.m:
2971 (-[DrawTestDocument dealloc]):
2972 (-[DrawTestDocument readFromFile:ofType:]):
2973 (-[DrawTestDocument windowControllerDidLoadNib:]):
2974 (-[DrawTestDocument dumpSVGToConsole:]):
2975 (-[DrawTestDocument openSourceForSelection:]):
2976 (-[DrawTestDocument dataRepresentationOfType:]):
2977 * DrawTest/DrawTestToolbarController.h:
2978 * DrawTest/DrawTestToolbarController.m:
2979 (-[DrawTestToolbarController initWithDrawView:]):
2980 (-[DrawTestToolbarController clickedToolbarItem:]):
2981 (-[DrawTestToolbarController validateToolbarItem:]):
2982 * DrawTest/DrawTestView.h:
2983 * DrawTest/DrawTestView.m:
2984 (-[DrawTestView initWithFrame:]):
2985 (-[DrawTestView setDocument:]):
2986 * DrawTest/SVGTest.h:
2987 * DrawTest/SVGTest.m:
2988 (+[SVGTest sharedDrawView]):
2989 (-[SVGTest generateCompositeIfNecessary]):
2990 * DrawTest/TestController.h:
2991 * DrawTest/TestController.m:
2992 (-[TestController awakeFromNib]):
2993 (-[TestController setSelectedTest:]):
2994 (-[TestController openTestViewerForSelection:]):
2995 (-[TestController toggleViewersScaleRule:]):
2996 * DrawTest/TestViewerSplitView.m:
2997 (-[TestViewerSplitView drawRect:]):
2999 2006-01-10 Anders Carlsson <andersca@mac.com>
3001 Reviewed by Timothy.
3003 * DumpRenderTree/DumpRenderTree.m:
3004 (main): Set the default language to "en", so language tests will work.
3006 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3010 - script to generate HTML wrappers for JS tests
3011 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
3013 * Scripts/make-js-test-wrappers: Added.
3015 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3019 * Scripts/svn-create-patch: Fix to work when passed directory names.
3021 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3025 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3026 can start writing automated loader tests now. I have one in the works.
3028 * DumpRenderTree/DumpRenderTree.m:
3029 (main): Construct global navigationController on entry, destroy on exit.
3030 Set frame to nil on exit too, to match all the other global objects.
3031 (Probably academic, since the process is exiting, anyway.)
3032 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3033 navigationController, in case it wants to kick off a load.
3034 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3035 the navigationController to scripting.
3037 New class, should be straightforward:
3039 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3040 * DumpRenderTree/NavigationController.h: Added.
3041 * DumpRenderTree/NavigationController.m: Added.
3043 (+[NavigationController isSelectorExcludedFromWebScript:]):
3044 (+[NavigationController webScriptNameForSelector:]):
3045 (-[NavigationController setPendingScript:]):
3046 (-[NavigationController setPendingRequest:]):
3047 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3048 (-[NavigationController webView:didFinishLoadForFrame:]):
3049 (-[NavigationController dealloc]):
3051 2006-01-08 Timothy Hatcher <timothy@apple.com>
3053 Removed this script, no longer needs with the Subversion switch.
3055 * checkout: Removed.
3057 2006-01-08 Timothy Hatcher <timothy@apple.com>
3059 Removes some stray tabs.
3061 * Scripts/update-webkit:
3063 2005-01-07 Eric Seidel <eseidel@apple.com>
3067 build-webkit should pass on build arguments from command line
3068 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
3070 * Scripts/build-webkit:
3072 2006-01-07 Eric Seidel <eseidel@apple.com>
3074 Reviewed by mjs & xenon.
3076 * Scripts/update-webkit: support Internal updates as well
3078 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3080 Temporarily rolling out plugin support from DumpRenderTree because it
3081 caused lots of layout test regressions.
3083 * DumpRenderTree/DumpRenderTree.m:
3084 (main): Remove invisible window added to support plugins.
3086 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3090 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
3091 Add plugin support to DumpRenderTree
3093 Also wrote first test plugin.
3095 * DumpRenderTree/DumpRenderTree.m:
3097 (1) Put the WebView in an invisible window, because PlugIns are
3098 optimized not to load if there's no parent window.
3099 (2) Tell WebKit to load any PlugIns in the directory from which we
3100 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3101 and they'll load automagically during layout testing, but they won't be
3102 added to the user's system, hosing apps like Safari.
3104 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3105 test PlugIn to project.
3107 PlugIn added to project:
3109 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3110 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3112 (initializeIdentifiers):
3113 (pluginHasProperty):
3115 (pluginGetProperty):
3116 (pluginSetProperty):
3118 (pluginInvokeDefault):
3122 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3123 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3125 (NP_GetEntryPoints):
3131 (NPP_DestroyStream):
3141 2006-01-04 Timothy Hatcher <timothy@apple.com>
3145 Tweaked and tested by me.
3147 New scripts to work with Subversion when the switch happens.
3148 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3150 * Scripts/svn-apply: Added.
3151 * Scripts/svn-create-patch: Added.
3152 * Scripts/svn-unapply: Added.
3154 2005-12-30 Eric Seidel <eseidel@apple.com>
3158 Move WebView width/height logic into DumpRenderTree to support
3159 running the W3C SVG 1.1 tests along side other tests. The W3C
3160 SVG 1.1 tests require a 480x360 view.
3162 * DumpRenderTree/DumpRenderTree.m:
3163 (main): don't accept width/height
3164 (dump): override width/height for SVG/W3C
3165 * Scripts/run-webkit-tests: don't pass width/height
3167 2005-12-30 Eric Seidel <eseidel@apple.com>
3169 No review, only removing dead code.
3171 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3172 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3174 2005-12-30 Eric Seidel <eseidel@apple.com>
3178 DumpRenderTree should set a consistent color profile while running
3179 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
3181 Creates consistent colormatched renderings on every test machine
3182 using the only way possible with Tiger APIs: by setting the
3183 system color profile on the test machine for the duration of the
3184 tests. This will (unfortunately) cause colors to change while
3185 running DumpRenderTree. This can also cause "permanent" color
3186 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3187 This is far from ideal, but it's be best way we've found to deal
3188 with the issue for now.
3190 * DumpRenderTree/DumpRenderTree.m:
3191 (restoreColorSpace):
3192 (setDefaultColorProfileToRGB):
3195 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3197 Reviewed by Darin Adler.
3199 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3200 cvs-create-patch --include produces incorrect paths
3202 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3204 2005-12-19 Eric Seidel <eseidel@apple.com>
3208 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3210 2005-12-19 Darin Adler <darin@apple.com>
3212 Reviewed by Eric Seidel.
3214 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3215 WebKit needs to use a local pasteboard during testing
3217 * DumpRenderTree/DumpRenderTree.m:
3218 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3219 Create a local pasteboard (really a global one with a unique name) and release
3220 it when exiting from the function so we don't leave it in the pasteboard server.
3221 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3222 ddn't have one. Fixed a leak in an unlikely error case.
3223 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3224 of this method to return our local pasteboard.
3226 2005-12-15 Eric Seidel <eseidel@apple.com>
3228 Reviewed by Tim Hatcher.
3230 * Scripts/build-webkit: --svg is now default!
3232 2005-12-15 Eric Seidel <eseidel@apple.com>
3236 Don't run svg test automatically if +SVG is built (yet).
3238 * Scripts/run-webkit-tests:
3240 2005-12-15 Darin Adler <darin@apple.com>
3242 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3243 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3244 passed on the command line.
3246 2005-12-06 John Sullivan <sullivan@apple.com>
3248 Reviewed by Darin Adler.
3250 * Scripts/prepare-ChangeLog:
3251 Remove special-case handling for nib files. This avoided trouble with cvs diff
3252 when we were using wrappers for nib files. Now that we aren't using wrappers,
3253 there's no reason to avoid adding the modified nib files to the file list that
3256 2005-12-05 Eric Seidel <eseidel@apple.com>
3260 Script updates for SVG files move (remove references to SVGSupport)
3262 * Scripts/build-webkit: remove SVGSupport
3263 * Scripts/run-webkit-tests: Resources -> resources for --svg
3264 * Scripts/update-webkit: remove SVGSupport
3266 2005-12-05 Eric Seidel <eseidel@apple.com>
3270 * checkout: remove --svg support, SVG is now checked out by default
3272 2005-11-29 Eric Seidel <eseidel@apple.com>
3276 Update scripts to run SVG tests automatically (w/o --svg) if
3277 WebCore is built with SVG support.
3279 * Scripts/build-drawtest: SVG support required
3280 * Scripts/build-dumpkcanvastree: Removed.
3281 * Scripts/run-drawtest: SVG support required to run
3282 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3283 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3285 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3287 Reviewed by Darin. Committed by Maciej.
3289 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3290 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3292 * DumpRenderTree/DumpRenderTree.m:
3295 2005-11-28 Eric Seidel <eseidel@apple.com>
3297 Reviewed by sullivan and GGAREN.
3299 Minor additions to make error messages more clear from cvs-apply.
3301 * Scripts/cvs-apply: make errors more clear
3303 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3305 Reviewed and committed by Maciej.
3307 - fixed cvs-create-patch --include produces incorrect paths
3308 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3310 * Scripts/cvs-create-patch: produce proper paths for new files.
3312 2005-11-21 Eric Seidel <eseidel@apple.com>
3316 Some simple fixes to the build/test scripts now that SVG uses the
3317 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3318 or symlinks for KDOM.
3320 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3321 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3322 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3323 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3324 * checkout: no longer symlink kdom
3326 2005-11-10 Eric Seidel <eseidel@apple.com>
3330 * Scripts/build-webkit: Pass through options to xcodebuild
3332 2005-11-07 Darin Adler <darin@apple.com>
3334 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3336 2005-11-03 John Sullivan <sullivan@apple.com>
3340 * Scripts/run-safari:
3341 changed message to say "Starting Safari" instead of odd "Start Safari"
3342 * Scripts/run-webkit-tests:
3343 changed the way we pass the file parameter to use -NSOpen rather than relying on
3344 unlabeled arguments being treated as files. This was failing on some machines that
3345 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3347 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3349 Patch by Alexey Proskuryakov.
3353 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3354 TextInputController should support attributed strings
3356 * DumpRenderTree/TextInputController.m:
3357 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3358 (+[NSMutableAttributedString webScriptNameForSelector:]):
3359 (-[NSMutableAttributedString getLength]):
3360 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3361 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3362 (-[NSMutableAttributedString addAttribute:value:]):
3363 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3364 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3365 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3366 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3367 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3368 (+[TextInputController isSelectorExcludedFromWebScript:]):
3369 (+[TextInputController webScriptNameForSelector:]):
3370 (-[TextInputController insertText:]):
3371 (-[TextInputController attributedSubstringFrom:length:]):
3372 (-[TextInputController attributedStringWithString:]):
3374 2005-10-11 Eric Seidel <eseidel@apple.com>
3378 Checks for leaks in ImageDiff too.
3380 * Scripts/run-webkit-tests:
3382 2005-10-09 Darin Adler <darin@apple.com>
3384 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3385 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3386 * Scripts/cvs-unapply: Ditto.
3387 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3389 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3391 Reviewed, rearranged and landed by Darin.
3393 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3394 Need a way to automatically test for regressions in NSTextInput implementation
3396 * DumpRenderTree/DumpRenderTree.m:
3397 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3398 Create a text input controller and put it in a property of the window object.
3400 * DumpRenderTree/TextInputController.h: Added.
3401 * DumpRenderTree/TextInputController.m: Added.
3402 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3404 2005-10-06 Darin Adler <darin@apple.com>
3406 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3407 are controlled by cvs, or when changes cross multiple repositories.
3408 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3410 2005-10-03 Eric Seidel <eseidel@apple.com>
3414 Make mouseDown and mouseUp force layout before acting.
3415 This is used by a new test case for 4233558.
3417 * DumpRenderTree/DumpRenderTree.m:
3418 (-[EventSendingController mouseDown]): force layout
3419 (-[EventSendingController mouseUp]): force layout
3421 2005-09-30 Eric Seidel <eseidel@apple.com>
3425 Updated all the scripts for the move:
3426 WebCore/layout-tests -> LayoutTests
3428 * Scripts/check-dom-results:
3429 * Scripts/prepare-ChangeLog:
3430 * Scripts/run-webkit-tests:
3431 * Scripts/update-webkit: added --no-tests
3432 * checkout: added --no-tests
3434 2005-09-28 Darin Adler <darin@apple.com>
3436 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3437 pixel test should run even if render trees differ
3439 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3441 2005-09-27 Eric Seidel <eseidel@apple.com>
3443 No review needed, SVG build fix only.
3445 * DumpKCanvasTree/DumpKCanvasTree.m:
3446 Missed one in my previous checkin.
3447 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3449 2005-09-26 Eric Seidel <eseidel@apple.com>
3451 No review needed, SVG build fix only.
3453 * DrawTest/DrawTestDocument.m:
3454 * DrawTest/DrawTestToolbarController.m:
3455 * DrawTest/DrawTestView.h:
3456 * DrawTest/DrawTestView.m:
3457 * DrawTest/SVGTest.m:
3458 * DrawTest/TestController.m:
3459 Updated for WebCore+SVG -> WebCore rename.
3460 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3462 2005-09-26 Eric Seidel <eseidel@apple.com>
3466 * DumpRenderTree/DumpRenderTree.m:
3467 (dump): updated error message
3468 * Scripts/check-dom-results: now includes xhtml
3469 Tool updates for xhtml.
3470 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3472 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3477 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3478 "Would like to simulate human interaction with webview"
3480 * DumpRenderTree/DumpRenderTree.m:
3481 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3482 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3483 (+[EventSendingController webScriptNameForSelector:]):
3484 (-[EventSendingController init]):
3485 (-[EventSendingController mouseDown]):
3486 (-[EventSendingController mouseUp]):
3487 (-[EventSendingController mouseMoveToX:Y:]):
3488 Add eventSender javascript object, that sends fake mouse events to the webview.
3490 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3491 link with Carbon.framework
3493 2005-09-22 Eric Seidel <eseidel@apple.com>
3497 Update tools for WebCore+SVG -> WebCore rename.
3498 Also fold several SVG specific tools into their original
3499 WebCore counterparts.
3500 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3502 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3503 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3504 * Scripts/build-drawtest:
3505 * Scripts/build-dumpkcanvastree:
3506 * Scripts/build-webcore-svg: Removed.
3507 * Scripts/build-webkit: added --svg option
3508 * Scripts/run-drawtest:
3509 * Scripts/run-webkit-tests:
3510 * Scripts/webkitdirs.pm: various additions.
3511 * checkout: added --svg option
3512 * checkout-svg: Removed.
3514 2005-09-19 Eric Seidel <eseidel@apple.com>
3518 * Scripts/run-webkit-tests: added --guard-malloc option
3519 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3521 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3525 Removed a script that is only used by apple internal developers
3527 * Scripts/update-webkitsysteminterface: Removed.
3529 2005-09-16 Adele Peterson <adele@apple.com>
3533 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3535 2005-09-14 Darin Adler <darin@apple.com>
3537 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3538 dumpAsText doesn't work with XHTML documents
3540 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3541 rather than of the body element. This works with typical XHTML documents. We can probably
3542 do something even better in the long run, but this fixes the immediate issue.
3546 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3547 run-safari instead of just using "open", which often runs another copy of Safari instead.
3549 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3551 Reviewed, tweaked, and landed by Darin.
3553 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3554 .Mac prefpane crashes when Safari using CVS WebKit is running
3556 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3557 * Scripts/run-webkit-app: Ditto.
3559 2005-09-11 Darin Adler <darin@apple.com>
3561 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3563 2005-09-11 Darin Adler <darin@apple.com>
3567 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3568 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3569 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3572 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3576 * Scripts/update-webkitsysteminterface: Added.
3577 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3579 2005-09-01 John Sullivan <sullivan@apple.com>
3581 * Scripts/run-webkit-tests:
3582 Excluded a known system leak to reduce noise; added comments about which leaks
3585 2005-09-01 Tim Omernick <tomernick@apple.com>
3587 Change made by Darin, reviewed by John and myself.
3589 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3591 * Scripts/prepare-ChangeLog:
3593 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3597 - set color variant and font settings to a consistent value.
3598 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3600 * DumpRenderTree/DumpRenderTree.m:
3603 2005-08-30 Eric Seidel <eseidel@apple.com>
3607 * Scripts/build-svg2png: Removed.
3608 * svg2png/ImageDiff.h: Removed.
3609 * svg2png/ImageDiff.m: Removed.
3610 * svg2png/svg2png.m: Removed.
3611 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3612 * svg2png/svg2png_Prefix.pch: Removed.
3613 svg2png is no longer needed.
3615 2005-08-30 Darin Adler <darin@apple.com>
3617 * Scripts/check-dom-results: Special case 100% to say something nice.
3618 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3619 applying the patch (need a better name).
3620 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3622 2005-08-30 Darin Adler <darin@apple.com>
3624 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3626 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3630 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3631 (some pixel tests fail when AA settings are changed)
3633 * DumpRenderTree/DumpRenderTree.m:
3634 (main): set AA settings to the default values
3636 2005-08-29 Darin Adler <darin@apple.com>
3638 Reviewed by John Sullivan.
3640 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3641 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3644 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3648 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3649 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3651 * DumpRenderTree/DumpRenderTree.m:
3652 (main): set scrollbar arrow setting to a consistent value
3654 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3656 Reviewed and landed by Darin.
3658 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3659 output of update-webkit is too verbose
3661 * Scripts/update-webkit:
3662 Added option --quiet (-q) to decrease the amount of output.
3664 2005-08-27 Darin Adler <darin@apple.com>
3666 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3667 cvs-create-patch --include-unknowns should ignore hidden files
3669 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3671 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3673 Reviewed, tweaked, and landed by Darin.
3675 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3676 update-webkit doesn't notice when you have SVGSupport and update properly
3678 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3680 2005-08-25 Anders Carlsson <andersca@mac.com>
3682 Reviewed and landed by Darin.
3684 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3685 layout test machinery can't handle tests with applets that have code attributes
3687 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3689 2005-08-24 Darin Adler <darin@apple.com>
3693 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3694 DumpRenderTree --pixel-tests crash
3695 - landed some other small changes I had sitting in my tree
3697 * DumpRenderTree/DumpRenderTree.m:
3698 (main): Don't bother saving and restoring the preferences. Not sure
3699 why this was ever done since the preferences are specific to DumpRenderTree.
3700 Clear delegates before releasing the WebView, because you can't count on the
3701 order of object deallocation.
3702 (dumpRenderTree): Fix code that releases a string before storing it in a
3705 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3706 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3708 2005-08-23 Eric Seidel <eseidel@apple.com>
3712 * Scripts/run-webkit-tests:
3713 Made --leaks option more readable by printing to a file.
3714 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3716 2005-08-22 Eric Seidel <eseidel@apple.com>
3717 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3721 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3722 when they are not needed (for pixel-only failures)
3723 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3725 2005-08-22 Eric Seidel <eseidel@apple.com>
3729 * Scripts/run-webkit-tests: Added the ability to display more than
3730 just two images as part of the image-diff "slideshow".
3731 Added display of "-w3c.png" baseline images for SVG.
3732 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3734 2005-08-20 Eric Seidel <eseidel@apple.com>
3736 * Scripts/run-webkit-tests:
3737 "build" fix after committing incorrect version.
3739 2005-08-20 Eric Seidel <eseidel@apple.com>
3743 * DumpRenderTree/DumpRenderTree.m:
3744 (main): cleans up delegates
3745 (dumpRenderTree): closes CFString/CFURL leak
3746 * Scripts/run-webkit-tests:
3747 Adds --leaks option to run-webkit-tests
3748 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3750 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3754 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3755 new files to be included in the patch even without "cvs add".
3757 2005-08-19 Darin Adler <darin@apple.com>
3759 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3760 non-cvs-generated patches. Anders has been creating these, so it's bad that
3761 the script can't handle them.
3762 * Scripts/cvs-unapply: Ditto.
3764 2005-08-18 Darin Adler <darin@apple.com>
3766 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3767 "." in them -- based on complaint by someone here at Apple.
3769 2005-08-18 Eric Seidel <eseidel@apple.com>
3773 * Scripts/run-webkit-tests:
3774 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3776 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3778 - add file that I forgot in the last checkin
3780 * DumpRenderTree/ImageDiff.m: Added.
3782 (getImageFromStdin):
3784 (getDifferenceBitmap):
3785 (computePercentageDifferent):
3787 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3789 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
3790 somewhat by me, and also tweaked by me a little bit.
3792 - better support for pixel-dumping
3793 - use checksums of the images so the tests are fast
3794 - change output format to make the tests run faster
3795 - don't dump pixel results for tests that dump as text
3797 * DumpKCanvasTree/DumpKCanvasTree.m:
3800 (md5HashStringForBitmap):
3802 (constrainSizeToMaximum):
3803 (getBitmapImageRepForSVGDocument):
3804 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3805 * DumpRenderTree/DumpRenderTree.m:
3809 (md5HashStringForBitmap):
3810 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3811 * Scripts/run-webkit-tests:
3813 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3817 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
3819 * DumpRenderTree/DumpRenderTree.m:
3822 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3824 Reviewed and landed by Darin.
3826 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3827 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3829 * Scripts/run-safari: Pass arguments through to Safari on command line.
3830 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3832 2005-08-11 Eric Seidel <eseidel@apple.com>
3833 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3835 Reviewed by eseidel.
3837 * DrawTest/TestController.m:
3838 (-[TestController imagePathForSVGPath:]):
3839 Fixed support for using TextViewer with the layout-tests.
3840 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3842 2005-08-11 Maciej Stachowiak <mjs@apple.com>
3844 At Least Roughly Glanced At by Anders.
3846 - fix change with totally breaks the layout tests.
3848 * DumpRenderTree/DumpRenderTree.m:
3849 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3850 load, to avoid dumping twice accidentally.
3852 2005-08-10 Eric Seidel <eseidel@apple.com>
3853 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3857 * DumpRenderTree/DumpRenderTree.m:
3858 Added support for rendering to a PNG file.
3859 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3861 2005-08-07 Eric Seidel <eseidel@apple.com>
3865 * Scripts/run-webkit-tests: added --svg option
3866 * Scripts/run-webkit-tests-svg: Removed.
3867 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
3869 2005-08-07 Eric Seidel <eseidel@apple.com>
3870 Changes by Ben La Monica <ben.lamonica@gmail.com>
3874 * svg2png/ImageDiff.h: Added.
3875 * svg2png/ImageDiff.m: Added.
3876 (getDifferenceBitmap):
3877 (computePercentageDifferent):
3878 (saveAnimatedGIFToFile):
3879 * svg2png/svg2png.m:
3880 (usage): added several new options
3881 (getBitmapForSVG): added NSBitmapImageRep generation
3882 (main): various argument changes.
3883 * svg2png/svg2png.xcodeproj/project.pbxproj:
3884 Several additions to provide image differencing functionality.
3885 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3887 2005-08-07 Eric Seidel <eseidel@apple.com>
3891 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3892 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3893 Adding the first SVG layout tests:
3894 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3896 2005-08-07 Darin Adler <darin@apple.com>
3898 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3900 2005-08-06 Eric Seidel <eseidel@apple.com>
3904 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3905 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3906 * Scripts/build-dumpkcanvastree: Added.
3907 * Scripts/run-webkit-tests-svg: Added.
3908 Adds a DumpRenderTree-like tool for SVG which allows us to do
3909 text-based layout regression testing. This (like most of the
3910 SVG specific stuff) is temporary and will be replaced by
3911 DumpRenderTree once the DOMs and RenderTrees merge.
3912 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3914 2005-08-06 Eric Seidel <eseidel@apple.com>
3918 * DrawTest/DrawTestView.m:
3919 (-[DrawTestView toggleFilterSupport:]): missing negation.
3920 One half of fix for toggling filter support.
3921 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3923 2005-08-04 Eric Seidel <eseidel@apple.com>
3927 * Scripts/build-drawtest:
3928 * Scripts/build-dumprendertree:
3929 * Scripts/build-svg2png:
3930 * Scripts/build-webcore-svg:
3931 * Scripts/build-webkit:
3932 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
3933 Added checkRequiredSystemConfig and made all the build-* scripts
3934 use it to print a pretty warning when trying to compile on an
3935 unsupported system (less than 10.4, Xcode 2.1).
3936 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
3938 2005-08-04 Darin Adler <darin@apple.com>
3940 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
3941 the dead. It was removed by accident when someone was trying to work on the branch.
3943 2005-07-31 Darin Adler <darin@apple.com>
3945 - a little tools cleanup
3947 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
3948 project as a whole. Removed unused Default configuration.
3950 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
3952 2005-07-31 Duncan Wilcox <duncan@mclink.it>
3954 Reviewed and landed by Darin Adler.
3956 Add logging of editing delegate calls for regression checking.
3958 * DumpRenderTree/DumpRenderTree.m:
3960 setup editing delegate
3962 (-[DOMNode dumpPath]):
3964 utility for editing delegate logging
3966 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3967 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3968 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3969 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3970 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3971 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3972 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3973 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3974 (-[EditingDelegate webViewDidBeginEditing:]):
3975 (-[EditingDelegate webViewDidChange:]):
3976 (-[EditingDelegate webViewDidEndEditing:]):
3977 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3978 log corresponding editing delegate methods
3980 (-[EditingDelegate webViewDidChangeSelection:]):
3981 log selection except when clearing selection after end of test (uses existing "done" flag)
3984 added clearing of selection after test
3986 2005-07-31 Eric Seidel <eseidel@apple.com>
3990 * Scripts/build-drawtest: Added.
3991 * Scripts/build-svg2png: Added.
3992 * Scripts/build-webcore-svg: Added.
3993 * Scripts/run-drawtest: Added.
3994 * Scripts/webkitdirs.pm: added checkSVGFrameworks
3995 Made it much easier to build WebCore+SVG.
3996 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
3998 2005-07-29 Eric Seidel <eseidel@apple.com>
4002 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
4003 Build fix. Removed bad path.
4005 2005-07-29 Eric Seidel <eseidel@apple.com>
4007 Reviewed by sullivan.
4009 * DrawTest/AppDelegate.h: Added.
4010 * DrawTest/AppDelegate.m: Added.
4011 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
4012 * DrawTest/DrawTestDocument.h: Added.
4013 * DrawTest/DrawTestDocument.m: Added.
4014 * DrawTest/DrawTestInspectorController.h: Added.
4015 * DrawTest/DrawTestInspectorController.m: Added.
4016 * DrawTest/DrawTestToolbarController.h: Added.
4017 * DrawTest/DrawTestToolbarController.m: Added.
4018 * DrawTest/DrawTestView.h: Added.
4019 * DrawTest/DrawTestView.m: Added.
4020 * DrawTest/DrawTest_Prefix.pch: Added.
4021 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
4022 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
4023 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
4024 * DrawTest/English.lproj/InfoPlist.strings: Added.
4025 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
4026 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
4027 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
4028 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
4029 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
4030 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
4031 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
4032 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
4033 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
4034 * DrawTest/Info.plist: Added.
4035 * DrawTest/SVGTest.h: Added.
4036 * DrawTest/SVGTest.m: Added.
4037 * DrawTest/ScalingImageView.h: Added.
4038 * DrawTest/ScalingImageView.m: Added.
4039 * DrawTest/TestController.h: Added.
4040 * DrawTest/TestController.m: Added.
4041 * DrawTest/TestViewerSplitView.h: Added.
4042 * DrawTest/TestViewerSplitView.m: Added.
4043 * DrawTest/main.m: Added.
4044 Adding simple cocoa app for testing SVG rendering, interaction.
4045 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
4047 2005-07-28 Eric Seidel <eseidel@apple.com>
4051 * svg2png/svg2png.m: Added.
4052 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
4053 * svg2png/svg2png_Prefix.pch: Added.
4054 Added a simple test tool which dumps a PNG from an SVG using
4055 WebCore+SVG's SVG rendering support.
4056 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
4058 2005-07-26 Maciej Stachowiak <mjs@apple.com>
4062 - new script to review the DOM layout test results and see where we stand
4063 on actual success and failure
4065 * Scripts/check-dom-results: Added.
4067 2005-07-25 Darin Adler <darin@apple.com>
4069 * Scripts/webkitdirs.pm: Check in missing line of code.
4071 2005-07-25 Darin Adler <darin@apple.com>
4073 - fixed problem that was causing JavaScriptCore test to fail
4074 (except for people who had set DYLD_FRAMEWORK_PATH)
4076 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
4077 Add code to parse configuration parameter so you can pass --deployment if you like.
4078 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
4080 * Scripts/update-javascriptcore-test-results: Add license header.
4082 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
4083 from @ARGV. This lets us use this option in commands that take other options and
4084 pass them along to a subsequent tool.
4086 2005-07-25 Darin Adler <darin@apple.com>
4088 Reviewed by Geoff Garen.
4090 - Fixed run-safari and gdb-safari to use the Safari application in the build results
4091 directory, if any, falling back to the one in the Applications directory otherwise.
4092 Does no harm for open source contributors who don't build Safari, and helps out the
4093 Safari team, since we do build Safari.
4095 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
4096 variable, and if that's not present, looks in either the build results directory or
4097 /Applications; factors code that was in both scripts before into a shared function.
4098 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
4099 now in Xcode 2.1 format and incompatible with older versions of Xcode.
4101 * Scripts/gdb-safari: Use safariPath.
4102 * Scripts/run-safari: Use safariPath.
4104 2005-07-22 Geoffrey Garen <ggaren@apple.com>
4106 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
4107 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
4109 Moved Tools/Scripts/update-mozilla-js-test-results to
4110 WebKitTools/Scripts/update-javascriptcore-test-results.
4114 * Scripts/run-javascriptcore-tests: Added.
4116 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4120 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
4122 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4124 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
4126 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4128 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
4130 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4132 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
4134 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4136 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
4138 2005-07-21 Geoffrey Garen <ggaren@apple.com>
4140 * Scripts/build-webkit:
4142 2005-07-12 Eric Seidel <eseidel@apple.com>
4146 * checkout-svg: Fixed error with symlink creation.
4148 2005-07-12 Eric Seidel <eseidel@apple.com>
4152 * checkout-svg: Added.
4153 Script to check out WebCore+SVG
4155 2005-06-30 Darin Adler <darin@apple.com>
4157 Changes based on input from Michael Kahl.
4159 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
4160 specify different style of "diff".
4161 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
4162 determineConfigurationProductDir works in all cases.
4164 2005-06-29 Darin Adler <darin@apple.com>
4166 - fixed bug which would result in multiple unwanted dumps in a single layout test
4168 * DumpRenderTree/DumpRenderTree.m:
4169 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
4171 (-[LayoutTestController waitUntilDone]): Update for name change.
4172 (-[LayoutTestController notifyDone]): Dump only if ready.
4173 (dumpRenderTree): Set up new boolean and update for name change.
4175 2005-06-29 Darin Adler <darin@apple.com>
4177 Changes by Timothy Hatcher.
4180 * Scripts/run-webkit-app: Added script to open an arbritrary application with
4181 a CVS built WebKit. Example: ./run-webkit-app Colloquy
4183 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
4184 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
4185 * Scripts/run-safari: Ditto.
4187 2005-06-26 Darin Adler <darin@apple.com>
4189 * Scripts/build-dumprendertree: Pass -project option so that having a second
4190 copy of the project (like the one Xcode 2.1 offers to make for you) that's
4191 out of date won't screw you up.
4192 * Scripts/build-webkit: Ditto.
4194 2005-06-23 Darin Adler <darin@apple.com>
4196 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
4198 2005-06-23 Darin Adler <darin@apple.com>
4200 Changes based on input from Michael Kahl.
4202 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
4203 directory passed in.
4205 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
4206 getcwd() in the code to find the base product dir. Added code to handle unusual
4207 base product directory values that use SRCROOT.
4209 2005-06-22 Darin Adler <darin@apple.com>
4211 Change by Anders Carlsson.
4213 - added support for dumping title changes
4215 * DumpRenderTree/DumpRenderTree.m:
4216 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
4217 if requested by JavaScript.
4218 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
4219 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
4220 (dumpRenderTree): Start flag as NO.
4222 2005-06-20 Darin Adler <darin@apple.com>
4224 Reviewed by Justin Garcia.
4226 * Scripts/run-webkit-tests: Report number of tests when they succeed.
4228 2005-06-18 Darin Adler <darin@apple.com>
4230 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
4231 in the hope of making the tool use less memory and run faster.
4233 2005-06-18 Darin Adler <darin@apple.com>
4235 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
4236 * Scripts/cvs-unapply: Ditto.
4238 2005-06-17 Maciej Stachowiak <mjs@apple.com>
4240 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
4241 benefit of all WebKit hackerdom
4243 * Scripts/prepare-ChangeLog: Added.
4245 2005-06-16 Darin Adler <darin@apple.com>
4247 - recent changes to XcodeOptions made it depend on the current directory
4248 The intent was to have the WebKitBuild directory be next to WebKitTools,