1 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
5 http://bugzilla.opendarwin.org/show_bug.cgi?id=10693
6 Convert JavaScript arrays to AppleScript lists
8 * DumpRenderTree/AppleScriptController.m:
9 (convertAEDescToObject):
10 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
12 2006-08-31 Darin Adler <darin@apple.com>
14 * Scripts/do-webcore-rename: Prepare for another round of renaming.
16 2006-08-29 Dan Waylonis <waylonis@google.com>
20 - Verification of exceptions thrown in a plugin. Test for bug 10114.
21 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22 * DumpRenderTree/ObjCPlugin.m:
23 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
24 (+[ObjCPlugin webScriptNameForSelector:]):
25 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
27 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
31 Commit KDE related tweaks, to be able to
32 differentiate between a Qt-only or a KDE build.
34 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
35 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
37 2006-08-29 Darin Adler <darin@apple.com>
39 Reviewed by Tim Hatcher.
41 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
42 to work around what seems to be a bug in some versions of gdb.
44 2006-08-16 Tim Omernick <timo@apple.com>
46 Reviewed by John Sullivan.
48 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
49 <http://bugzilla.opendarwin.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
52 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
54 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
55 are expected to be retained by the plug-in, and released by the caller.
57 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
59 Reviewed by Tim Hatcher.
61 Fixes one chunk of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10604
63 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
64 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
67 * Scripts/run-webkit-tests:
68 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
70 2006-08-28 Darin Adler <darin@apple.com>
72 Reviewed by Tim Hatcher.
74 * Scripts/build-drosera: Fix behavior when there are multiple options.
76 2006-08-27 Timothy Hatcher <timothy@apple.com>
80 Drosera will be built when you type make.
82 * Drosera/Makefile: Added.
84 * Makefile.shared: Added.
86 2006-08-27 Anders Carlsson <acarlsson@apple.com>
90 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
91 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
92 (WebCore::DumpRenderTree::DumpRenderTree):
93 (WebCore::DumpRenderTree::~DumpRenderTree):
94 (WebCore::DumpRenderTree::open):
95 (WebCore::DumpRenderTree::readStdin):
96 (WebCore::DumpRenderTree::checkLoaded):
97 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
98 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
101 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
103 Reviewed by Eric, landed by Anders.
105 Add DumpRenderTree support for Qt/Linux.
107 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
108 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
109 (WebCore::DumpRenderTree::DumpRenderTree):
110 (WebCore::DumpRenderTree::~DumpRenderTree):
111 (WebCore::DumpRenderTree::open):
112 (WebCore::DumpRenderTree::readStdin):
113 (WebCore::DumpRenderTree::checkLoaded):
114 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
115 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
117 * Scripts/build-dumprendertree:
118 * Scripts/run-webkit-tests:
119 * Scripts/webkitdirs.pm:
121 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
123 Reviewed by Eric. Landed by rwlbuis.
125 Add QtLauncher (was testunity before), which provides a
126 standalone "browser" to test the Qt platform stuff.
128 * QtLauncher/CMakeLists.txt: Added.
129 * QtLauncher/main.cpp: Added.
132 2006-08-22 Trey Matteson <trey@usa.net>
136 Added support for a new set of browser navigation tests. The main feature
137 is the ability for a test to queue up a set of future actions that will
138 happen after that first page is loaded. This is used to simulate a sequence
139 of user actions such as filling out forms, loading additional pages or
140 going back. In addition we can now dump out the state of the back/forward
141 list, and the scroll position is dumped if not at 0,0.
143 * DumpRenderTree/DumpRenderTree.m:
144 (main): Init new state
145 (compareHistoryItems): New utility to support sorting.
146 (dumpHistoryItem): Write out a WebHistoryItem and kids.
147 (dumpFrameScrollPosition): Write out the scroll position.
148 (dump): Optionally write b/f list or scroll position.
149 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
150 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
151 Kick off any queued actions. Fixed for the case of loads started in
152 a subframe instead of the root frame.
153 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
154 Grab the topmost frame that is being loaded. Do this as early as possible,
155 instead of in didCommitLoadForFrame.
156 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
157 Noting a load has started now happens in previous method.
158 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
159 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
160 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
162 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
163 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
164 Add new work to the queue.
165 (-[LayoutTestController _doLoad:target:]): Do a queued load.
166 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
167 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
168 (-[LayoutTestController scheduleForwardNav:]):
169 (-[LayoutTestController scheduleReload]):
170 (-[LayoutTestController scheduleScript:]):
171 (-[LayoutTestController scheduleLoad:target:]):
172 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
173 since it's not one of the functions that does any dumping.
175 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
179 - added a function to create a few DOMKeyboardEvents and dispatch
180 them to a specified HTML element
181 http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
183 * DumpRenderTree/EventSendingController.m:
184 (+[EventSendingController isSelectorExcludedFromWebScript:]):
185 (+[EventSendingController webScriptNameForSelector:]):
186 (-[EventSendingController fireKeyboardEventsToElement:]):
188 2006-08-15 Duncan Wilcox <duncan@mclink.it>
190 Reviewed and tweaked by Darin.
192 - added DumpRenderTree support so editing delegate can be made to refuse edits
193 to enable tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=10129
195 * DumpRenderTree/DumpRenderTree.m:
196 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
197 to the list of methods.
198 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
199 without the colon, for the JavaScript name.
200 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
202 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
204 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
205 setter methods to the class.
206 * DumpRenderTree/EditingDelegate.m:
207 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
208 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
209 return the value of acceptsEditing.
210 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
211 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
212 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
213 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
214 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
216 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
217 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
218 (-[EditingDelegate setAcceptsEditing:]): Added.
220 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
224 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
225 http://bugzilla.opendarwin.org/show_bug.cgi?id=10224
227 * Drosera/Drosera.xcodeproj/project.pbxproj:
228 * Drosera/LauncherInfo.plist:
230 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
232 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
233 when a test performs an unsuccessful drag and drop operation.
235 * DumpRenderTree/EventSendingController.m:
236 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
237 drag operation for the mouse release is NSDragOperationNone.
239 2006-08-02 Timothy Hatcher <timothy@apple.com>
243 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
244 http://bugzilla.opendarwin.org/show_bug.cgi?id=9632
246 Do not change the file source when normalizing the line endings.
247 We use this file source to compare against new versions of the source
248 as it comes in, so we can skip re-syntax highlighting if they are the same.
249 The problem is apparent on yahoo.com since they have mixed line endings and
250 once we normalize them the source will always be different. This was
251 compounded by the fact that yahoo has around 40 inline scripts. Each
252 inline script causes us to check if the main document has more loaded,
253 that is when we compare the source strings. Since they are always different
254 we would syntax highlight yahoo.com 40 times! We do check source length before
255 doing a more expensive string comparison, but the lengths were the same.
257 * Drosera/debugger.js:
259 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
263 Bug 9931: [Drosera] Needs a cool icon
264 http://bugzilla.opendarwin.org/show_bug.cgi?id=9931
266 * Drosera/Drosera.icns: Added.
267 * Drosera/Drosera.xcodeproj/project.pbxproj:
268 * Drosera/Info.plist:
270 2006-08-01 Darin Adler <darin@apple.com>
272 - fix a bug in my recent change where the mouse position at the end of
273 the last test would affect the results of the next test
275 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
277 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
281 http://bugzilla.opendarwin.org/show_bug.cgi?id=10182
282 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
284 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
285 Correct the logic to not reload local variable list unless an '=' character is in the expression.
287 2006-07-31 Darin Adler <darin@apple.com>
291 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10171
292 REGRESSION: failing layout test: fast/events/objc-event-api.html
294 * DumpRenderTree/DumpRenderTree.m:
295 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
296 location in flipped coordinates, since those are the coordinates that we use.
297 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
300 * DumpRenderTree/EventSendingController.m:
301 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
302 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
303 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
304 probably worked OK, but this is needed to be correct.
305 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
306 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
307 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
308 dump the screenY as-is.
310 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
314 http://bugzilla.opendarwin.org/show_bug.cgi?id=10178
315 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
317 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
318 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
320 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
324 http://bugzilla.opendarwin.org/show_bug.cgi?id=10175
325 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
327 * Drosera/DebuggerDocument.m:
328 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
330 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
334 http://bugzilla.opendarwin.org/show_bug.cgi?id=10167
335 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
337 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
340 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
344 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
345 http://bugzilla.opendarwin.org/show_bug.cgi?id=9686
347 * Drosera/DebuggerDocument.m:
348 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
349 ensure that the server does not try and notify us of events related to the resumption.
350 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
351 call through to JavaScript.
352 * Drosera/debugger.js: Pause debugger when exception is raised.
354 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
358 - fixes for Linux build
360 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
361 * GdkLauncher/gdklauncher.bkl: Tweak comment.
363 2006-07-24 Dan Waylonis <waylonis@google.com>
365 Reviewed and tweaked a bit by Darin.
367 * DumpRenderTree/ObjCPlugin.m:
368 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
369 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
370 "echo:" so it's nice to call from JavaScript.
371 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
372 to test a round trip through Objective-C types.
374 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
378 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10060
379 Improve iExploder results parsing
381 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
384 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
388 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9964
389 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
391 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
393 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
397 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
398 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
400 Removed "Property changes" that snuck in as part of the "apply patch" process.
402 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
406 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9875
407 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
410 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
412 (patch): Use patch(1) for non-binary additions and deletions.
413 * Scripts/svn-unapply:
415 (patch): Use patch(1) for reverting non-binary additions and deletions.
416 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
418 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
422 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
423 http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
425 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
426 so, have stepOut pause on the next call to willExecuteStatement rather than second.
428 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
432 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
433 Teach svn-create-patch and friends to fix ChangeLog patches
435 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
436 * Scripts/svn-create-patch: Ditto.
437 * Scripts/svn-unapply: Ditto.
439 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
443 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
444 http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
446 * Drosera/DebuggerDocument.m:
447 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
449 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
453 Bug 9863: Drosera needs to show something at launch
454 http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
456 * Drosera/DebuggerApplication.m:
457 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
459 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
463 Lets Drosera build universal for the nightlies. Right now it is not
464 possible to build a universal binary on a PPC machine because of a
465 conflict with the universal SDK.
467 * BuildSlaveSupport/build-launcher-app:
468 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
470 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
474 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
475 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
477 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
478 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
479 should open a new stream and deliver the data to the current instance.
481 2006-07-11 Timothy Hatcher <timothy@apple.com>
485 Bug 9598: [Drosera] add a JavaScript evaluator console
486 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
488 * Drosera/DebuggerApplication.h:
489 * Drosera/DebuggerApplication.m:
490 (-[DebuggerApplication knownServers]):
491 * Drosera/DebuggerDocument.h:
492 * Drosera/DebuggerDocument.m:
493 (-[WebScriptObject evaluateScript:inCallFrame:]):
494 (-[WebScriptObject showConsole:]):
495 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
496 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
497 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
498 (-[WebScriptObject webView:createWebViewWithRequest:]):
499 (-[WebScriptObject webViewShow:]):
500 (-[WebScriptObject webViewAreToolbarsVisible:]):
501 (-[WebScriptObject webView:setToolbarsVisible:]):
502 (-[WebScriptObject webView:setResizable:]):
503 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
504 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
505 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
506 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
507 (-[WebScriptObject webView:didFinishLoadForFrame:]):
508 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
509 * Drosera/Drosera.xcodeproj/project.pbxproj:
510 * Drosera/Images/console.png: Added.
511 * Drosera/console.css: Added.
512 * Drosera/console.html: Added.
513 * Drosera/console.js: Added.
515 2006-07-11 Timothy Hatcher <timothy@apple.com>
517 Reviewed by a tired Geoff.
519 Bug 9597: [Drosera] hook up the variables table to show stack variables
520 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
522 * Drosera/DebuggerDocument.m:
523 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
524 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
525 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
526 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
527 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
528 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
529 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
530 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
531 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
532 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
533 * Drosera/debugger.css:
534 * Drosera/debugger.html:
535 * Drosera/debugger.js:
537 2006-07-10 Tim Omernick <timo@apple.com>
539 Reviewed by Beth Dakin.
541 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
542 Add DOM access test to DumpRenderTree's Netscape plug-in
544 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
548 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
552 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
553 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
555 Now track three states: initializing, running, and closed. If we are launched and the previous
556 state was initializing then we likely just experienced a crash on launch.
558 * WebKitLauncher/WebKitNightlyEnabler.m:
559 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
560 (myApplicationWillTerminate): Update to use new states.
561 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
562 initializing as early as practical.
563 (symbol_lookup): Bring code up to speed with formatting guidelines.
564 (GDSymbolLookup): Ditto.
566 2006-07-10 Darin Adler <darin@apple.com>
568 - try to fix Windows build
570 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
571 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
573 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
575 Build fix. Reviewed by NOBODY.
577 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
578 devenv.com not available in VC++ Express installations
580 * Scripts/webkitdirs.pm: Backed out previous change.
582 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
586 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
587 svn-apply should set ChangeLog date correctly when applying patches
589 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
590 before applying the patch.
591 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
593 2006-07-09 Darin Adler <darin@apple.com>
595 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
597 2006-07-09 Darin Adler <darin@apple.com>
599 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
601 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
603 Reviewed by NOBODY (build fix).
605 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
606 devenv.com not available in VC++ Express installations
608 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
609 work again. Add VC++ Express check as the fallback.
611 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
613 Reviewed by Timothy Hatcher.
615 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
616 devenv.com not available in VC++ Express installations
618 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
620 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
624 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
625 Patch by coldwinter@katamail.com.
627 In the congratulations message, "capatibilies" should be "capabilities".
629 * Scripts/build-webkit:
631 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
633 Reviewed by Timothy Hatcher.
635 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
636 Teach run-webkit-tests how to ignore tests with performance improvements
638 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
639 feature, and minor clean up.
641 2006-07-08 Darin Adler <darin@apple.com>
643 Reviewed by Geoff (well, half of it at least).
645 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
646 storage leaks in Objective-C tests
648 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
649 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
650 Add a release to fix a storage leak.
652 2006-07-08 Darin Adler <darin@apple.com>
654 * Scripts/do-webcore-rename: A few more.
656 2006-07-08 Darin Adler <darin@apple.com>
658 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
660 2006-07-04 Maciej Stachowiak <mjs@apple.com>
664 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
665 - add support for dumping non-HTML as text - in this case use textContent
668 * DumpRenderTree/DumpRenderTree.m:
671 2006-07-02 Timothy Hatcher <timothy@apple.com>
675 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
676 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
678 Adds step over and step out. Along with a little code cleanup
679 that was minor enough to piggyback on this fix.
681 * Drosera/DebuggerDocument.h:
682 * Drosera/DebuggerDocument.m:
683 (-[DebuggerDocument stepOver:]):
684 (-[DebuggerDocument stepOut:]):
685 (-[DebuggerDocument windowDidLoad]):
686 (-[DebuggerDocument windowWillClose:]):
687 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
688 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
689 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
690 (-[DebuggerDocument validateUserInterfaceItem:]):
691 * Drosera/Drosera.xcodeproj/project.pbxproj:
692 * Drosera/debugger.html:
693 * Drosera/debugger.js:
694 * Drosera/viewer.css:
696 2006-07-02 Timothy Hatcher <timothy@apple.com>
700 Bug 9628: [Drosera] Split Views acting oddly
701 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
703 Only update the last X or Y coordinate if the new
704 size was not constrained. Also adds the resize cursor to
705 the body during the drag incase there is a constrained
706 over drag off of the resizer element.
708 * Drosera/debugger.js:
710 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
712 Reviewed by Alexy Proskuryakov.
714 Bug 9692: Warning about Safari extensions on every launch is obnoxious
715 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
717 * WebKitLauncher/WebKitNightlyEnabler.m:
718 (myApplicationWillTerminate): Note that we are exiting cleanly.
719 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
720 to exit cleanly on our last invocation. This doesn't play nicely with
721 multiple concurrent instances of WebKit.app so it can be disabled via
722 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
724 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
726 Reviewed by Alexy Proskuryakov.
728 Bug 9654: Refresh Loop when accessing feed URLs
729 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
731 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
733 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
735 Reviewed by Timothy Hatcher.
737 Bug 9689: Nightly builds should warn a user about potential problems when using
739 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
741 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
742 * WebKitLauncher/WebKitNightlyEnabler.m:
743 (myBundleDidLoad): Keep track of if any bundles that are loaded.
744 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
745 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
746 NSApplicationWillFinishLaunchingNotification notifications so that we can
747 track bundle loads and notify the user at launch completion.
749 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
753 - first check-in of a Gdk shell for testing WebKit
755 * GdkLauncher: Added.
757 2006-06-29 Timothy Hatcher <timothy@apple.com>
761 Need to call window close so WebView tears-down completly.
763 * DumpRenderTree/DumpRenderTree.m:
764 (main): call [window close]
766 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
770 Bug 9615: Buildbot configuration should be in SVN repository
771 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
773 Import BuildBot configuration files as used by build.webkit.org.
774 auth.py has been stubbed out so that slave passwords are not disclosed.
776 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
777 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
778 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
779 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
780 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
781 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
782 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
783 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
784 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
785 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
786 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
787 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
789 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
793 Bug 9614: Nightly builds should notify user if a newer build is available
794 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
796 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
797 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
798 script so it can keep track of the latest revision.
799 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
800 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
801 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
802 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
803 the nightly start page.
805 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
809 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
810 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
812 Report screenY values as (height of zero screen - screenY)
814 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
816 2006-06-25 Timothy Hatcher <timothy@apple.com>
820 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
821 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
823 Makes breakpoints dragable. If dragged off the gutter they are deleted.
825 * Drosera/debugger.js:
826 * Drosera/viewer.css:
828 2006-06-25 Timothy Hatcher <timothy@apple.com>
832 Bug 9568: assertion failure in Safari after quitting Drosera
833 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
835 Call switchToServerNamed:nil and not removeLister to make sure
836 the server object is set to nil to prevent further removeListener calls.
838 * Drosera/DebuggerDocument.m:
839 (-[DebuggerDocument applicationTerminating:]):
841 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
845 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
846 that the directory is not empty instead of reading in every single file and directory first,
847 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
850 2006-06-25 Darin Adler <darin@apple.com>
852 * Scripts/svn-apply: Tweak comments.
853 * Scripts/svn-create-patch: Ditto.
854 * Scripts/svn-unapply: Ditto.
856 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
858 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
860 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
862 * Scripts/svn-apply: Formatting fix.
864 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
868 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
869 Teach svn-apply and svn-unapply to handle directory adds and removes better
871 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
872 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
874 2006-06-25 Timothy Hatcher <timothy@apple.com>
878 Bug 9574: Drosera should show inline scripts within the original HTML
879 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
881 Refactor the JavaScript code to have a distinction between files
882 and scripts. Show the script in the context of the HTML file if
883 it's URL is the same as the frame's main resource. At the time of
884 the disParseScript callback the main resource might not be completely
885 loaded, but Drosera needs to show whatever we have at the time. Once
886 the main resource is finished, update the file source and reload the file.
888 * Drosera/DebuggerDocument.m:
889 (-[DebuggerDocument pause]):
890 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
891 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
892 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
893 * Drosera/debugger.css:
894 * Drosera/debugger.js:
896 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
900 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
901 Teach prepare-ChangeLog to operate on a list of files or directories
903 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
904 * Scripts/svn-create-patch: Code refactoring.
906 2006-06-24 James G. Speth <speth@end.com>
910 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
911 add a way to build Objective-C test cases in HTML
913 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
914 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
915 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
918 * DumpRenderTree/ObjCPlugin.h:
919 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
920 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
921 (+[ObjCPlugin webScriptNameForSelector:]):
922 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
923 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
924 (+[NSObject allowsScriptsFullAccess]):
925 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
926 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
927 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
928 (+[JSObjC webScriptNameForSelector:]):
929 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
930 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
931 (-[JSObjC log:]): access to NSLog function
932 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
933 (-[JSObjC classOfObject:]):
934 (-[JSObjC classNameOfObject:]):
936 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
940 * DrawTest/Info.plist: Added copyright statement.
941 * Drosera/Info.plist: Ditto.
942 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
943 * WebKitLauncher/Info.plist: Ditto.
945 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
947 Build fix. Reviewed by NOBODY.
949 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
950 devenv.com not available in VC++ Express installations
952 * Scripts/webkitdirs.pm: Backed out previous change.
954 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
958 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
959 devenv.com not available in VC++ Express installations
961 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
963 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
967 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
968 A bunch of fixes to run-webkit-httpd
970 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
971 127.0.0.1. Useful for testing with WinIE running on another machine;
972 - don't call checkFrameworks() - we do not need a built WebKit here;
973 - changed tabs to spaces;
974 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
975 interactive mode, they were a hassle when testing with several browsers, as one
976 had to wait for connection to expire);
977 - remove httpd.pid when done, so that Apache doesn't complain next time.
979 * Scripts/run-webkit-httpd:
981 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
983 Reviewed by ggaren, landed by ap.
985 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
986 Complete DOMUIEvent Obj-C API to reflect UIEvent
988 Add function to enable logging of all events of one DOM node to stdout.
990 * DumpRenderTree/EventSendingController.h:
991 * DumpRenderTree/EventSendingController.m:
992 (+[EventSendingController initialize]):
993 (+[EventSendingController isSelectorExcludedFromWebScript:]):
994 (+[EventSendingController webScriptNameForSelector:]):
995 (-[EventSendingController enableDOMUIEventLogging:]):
996 (-[EventSendingController handleEvent:]):
998 2006-06-23 Kevin Decker <kdecker@apple.com>
1000 Reviewed by Tim Hatcher.
1002 - Made column headers in Drosera resizable.
1004 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1008 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
1009 Another case error preventing build
1011 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1013 2006-06-22 Timothy Hatcher <timothy@apple.com>
1017 Adds a native toolbar to Drosera to be a good citizen.
1018 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1019 Fixes a dragging bug from an earlier fix to the divider code.
1020 Fixes some poor indenting in debugger.js.
1022 * Drosera/DebuggerDocument.h:
1023 * Drosera/DebuggerDocument.m:
1024 (-[DebuggerDocument stepInto]):
1025 (-[DebuggerDocument pause:]):
1026 (-[DebuggerDocument resume:]):
1027 (-[DebuggerDocument stepInto:]):
1028 (-[DebuggerDocument windowDidLoad]):
1029 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1030 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1031 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1032 (-[DebuggerDocument validateUserInterfaceItem:]):
1033 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1034 * Drosera/English.lproj/MainMenu.nib/info.nib:
1035 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1036 * Drosera/debugger.css:
1037 * Drosera/debugger.html:
1038 * Drosera/debugger.js:
1039 * Drosera/viewer.html:
1041 2006-06-22 Kevin Decker <kdecker@apple.com>
1045 - Added pressed column header image.
1046 - Made column headers behave more like Xcode.
1048 2006-06-22 Timothy Hatcher <timothy@apple.com>
1050 Reviewed by Kevin Decker.
1052 Code clean up. Adds the stackframe and makes only the body
1053 of the tables scrollable keeping the header visible.
1054 Shows the current function stack when paused or stepping.
1056 * Drosera/DebuggerApplication.m:
1057 (-[DebuggerApplication awakeFromNib]):
1058 (-[DebuggerApplication numberOfRowsInTableView:]):
1059 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1060 * Drosera/DebuggerDocument.h:
1061 * Drosera/DebuggerDocument.m:
1062 (-[DebuggerDocument dealloc]):
1063 (-[DebuggerDocument currentFrame]):
1064 (-[DebuggerDocument currentFrameFunctionName]):
1065 (-[DebuggerDocument currentFunctionStack]):
1066 (-[DebuggerDocument log:]):
1067 (-[DebuggerDocument windowWillClose:]):
1068 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1069 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1070 * Drosera/Drosera.xcodeproj/project.pbxproj:
1071 * Drosera/debugger.css:
1072 * Drosera/debugger.html:
1073 * Drosera/debugger.js:
1075 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1079 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1081 * Scripts/run-webkit-httpd:
1083 2006-06-22 Kevin Decker <kdecker@apple.com>
1085 Reviewed by Tim Hatcher.
1087 - More progress toward Javascript Debugger.
1088 - Added some new images to the project.
1090 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1094 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
1095 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1097 * Scripts/run-webkit-httpd: Added.
1099 2006-06-20 Timothy Hatcher <timothy@apple.com>
1103 Builds Drosera and a launcher to include with the nightly.
1105 * BuildSlaveSupport/build-launcher-app:
1106 * BuildSlaveSupport/build-launcher-dmg:
1107 * Drosera/Drosera.xcodeproj/project.pbxproj:
1108 * Drosera/Info.plist:
1109 * Drosera/LauncherInfo.plist: Added.
1110 * Drosera/launcher.m: Added.
1111 (displayErrorAndQuit):
1112 (checkMacOSXVersion):
1115 * Scripts/build-drosera
1116 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1117 * WebKitLauncher/main.m:
1120 2006-06-20 Timothy Hatcher <timothy@apple.com>
1124 Adds a JavaScript debugger, called Drosera. Named after
1125 a genus of bug eating plants.
1127 * Drosera/DebuggerApplication.h: Added.
1128 * Drosera/DebuggerApplication.m: Added.
1129 (-[DebuggerApplication applicationDidFinishLaunching:]):
1130 (-[DebuggerApplication serverLoaded:]):
1131 (-[DebuggerApplication serverUnloaded:]):
1132 (-[DebuggerApplication awakeFromNib]):
1133 (-[DebuggerApplication showAttachPanel:]):
1134 (-[DebuggerApplication attach:]):
1135 (-[DebuggerApplication numberOfRowsInTableView:]):
1136 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1137 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1138 (-[DebuggerApplication tableViewSelectionDidChange:]):
1139 * Drosera/DebuggerDocument.h: Added.
1140 * Drosera/DebuggerDocument.m: Added.
1141 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1142 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1143 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1144 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1145 (-[DebuggerDocument initWithServerName:]):
1146 (-[DebuggerDocument windowWillClose:]):
1147 (-[DebuggerDocument dealloc]):
1148 (-[DebuggerDocument isPaused]):
1149 (-[DebuggerDocument pause]):
1150 (-[DebuggerDocument resume]):
1151 (-[DebuggerDocument step]):
1152 (-[DebuggerDocument windowNibName]):
1153 (-[DebuggerDocument windowDidLoad]):
1154 (-[DebuggerDocument switchToServerNamed:]):
1155 (-[DebuggerDocument applicationTerminating:]):
1156 (-[DebuggerDocument serverConnectionDidDie:]):
1157 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1158 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1159 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1160 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1161 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1162 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1163 * Drosera/Drosera.pch: Added.
1164 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1165 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1166 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1167 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1168 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1169 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1170 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1171 * Drosera/Images/breakPoint.tif: Added.
1172 * Drosera/Images/breakPointDisabled.tif: Added.
1173 * Drosera/Images/continue.tif: Added.
1174 * Drosera/Images/finishFunction.tif: Added.
1175 * Drosera/Images/glossyFooterFill.tif: Added.
1176 * Drosera/Images/glossyHeader.png: Added.
1177 * Drosera/Images/gradientBackground.png: Added.
1178 * Drosera/Images/gutter.png: Added.
1179 * Drosera/Images/navLeftDisabled.png: Added.
1180 * Drosera/Images/navLeftNormal.png: Added.
1181 * Drosera/Images/navLeftPressed.png: Added.
1182 * Drosera/Images/navRightDisabled.png: Added.
1183 * Drosera/Images/navRightNormal.png: Added.
1184 * Drosera/Images/navRightPressed.png: Added.
1185 * Drosera/Images/pause.tif: Added.
1186 * Drosera/Images/popUpArrows.png: Added.
1187 * Drosera/Images/programCounter.tif: Added.
1188 * Drosera/Images/programCounterBreakPoint.tif: Added.
1189 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1190 * Drosera/Images/run.tif: Added.
1191 * Drosera/Images/splitterBar.tif: Added.
1192 * Drosera/Images/splitterDimple.tif: Added.
1193 * Drosera/Images/step.tif: Added.
1194 * Drosera/Images/stepOver.tif: Added.
1195 * Drosera/Images/stop.tif: Added.
1196 * Drosera/Images/toolbarBackground.png: Added.
1197 * Drosera/Info.plist: Added.
1198 * Drosera/debugger.css: Added.
1199 * Drosera/debugger.html: Added.
1200 * Drosera/debugger.js: Added.
1201 * Drosera/main.m: Added.
1203 * Drosera/viewer.css: Added.
1204 * Drosera/viewer.html: Added.
1206 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1210 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
1211 Teach svn-apply and svn-unapply to use full path names
1213 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1214 * Scripts/svn-unapply: Ditto.
1216 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1220 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
1221 DumpRenderTree should be able to keep URL history during runs
1223 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1225 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1226 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1227 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1228 it is currently nil since keepWebHistory() might be called more than once incidentally
1230 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1231 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1233 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1237 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
1238 Make prepare-ChangeLog faster
1240 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1241 then save the diff output for reuse. Keep a status variable if changes are made to
1242 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1243 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1244 for no changed files closer to the beginning of the program.
1246 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1248 Reviewed and landed by ap.
1250 - make DumpRenderTree build
1252 * DumpRenderTree/DumpRenderTree.m:
1253 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1254 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1255 (-[LayoutTestController setWindowIsKey:]): Ditto.
1256 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1258 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1260 Reviewed by Darin, landed by Geoff.
1262 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
1263 Use pathcmp() when sorting paths in svn-create-patch
1265 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1266 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1267 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1268 switch and printUsage() subroutine.
1270 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1274 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
1275 Teach svn-create-patch to sort its output
1277 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1278 by text files first, then by binary files.
1280 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1284 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
1285 Teach svn-create-patch and friends to work with binary files
1287 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1288 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1289 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1291 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1295 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
1296 Performance improvement for svn-create-patch
1298 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1300 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1304 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
1305 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1307 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1308 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1310 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1314 Switch Spinneret to new hosting mechanism
1316 * Spinneret/Spinneret.sln:
1317 * Spinneret/Spinneret/Spinneret.cpp:
1318 (SpinneretWebHost::updateAddressBar):
1319 (SpinneretWebHost::QueryInterface):
1320 (SpinneretWebHost::AddRef):
1321 (SpinneretWebHost::Release):
1328 * Spinneret/Spinneret/Spinneret.h:
1329 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1330 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1331 (SpinneretWebHost::didFailProvisionalLoadWithError):
1332 (SpinneretWebHost::didCommitLoadForFrame):
1333 (SpinneretWebHost::didReceiveTitle):
1334 (SpinneretWebHost::didReceiveIcon):
1335 (SpinneretWebHost::didFinishLoadForFrame):
1336 (SpinneretWebHost::didFailLoadWithError):
1337 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1338 (SpinneretWebHost::willPerformClientRedirectToURL):
1339 (SpinneretWebHost::didCancelClientRedirectForFrame):
1340 (SpinneretWebHost::willCloseFrame):
1341 (SpinneretWebHost::windowScriptObjectAvailable):
1342 * Spinneret/Spinneret/Spinneret.vcproj:
1344 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1348 Updated build script
1350 * Scripts/build-webkit:
1352 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1356 * DumpRenderTree/DumpRenderTree.m:
1357 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1358 (-[LayoutTestController clearBackForwardList]):
1359 Add clearBackForwardList function to layoutTestController
1361 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1365 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
1366 slow-utf8-text layout test case failing (no longer deterministic?)
1368 * DumpRenderTree/DumpRenderTree.m:
1370 Dump as text when the response MIME type is text/plain
1372 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1376 * Spinneret/Spinneret.sln:
1377 * Spinneret/Spinneret/Spinneret.vcproj:
1379 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1383 Added 'GCController' to DRT to support garbage collection layout tests.
1385 GCController.collect() and GCController.collectOnAlternateThread() do
1386 what you would expect. The latter takes a boolean argument sepcifying
1387 whether to wait for garbage collection to finish before continuing to
1390 * DumpRenderTree/DumpRenderTree.m:
1391 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1392 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1393 * DumpRenderTree/GCController.h: Added.
1394 * DumpRenderTree/GCController.mm: Added.
1395 (+[GCController isSelectorExcludedFromWebScript:]):
1396 (+[GCController webScriptNameForSelector:]):
1397 (-[GCController collect]):
1398 (-[GCController collectOnAlternateThread:]):
1400 2006-05-23 John Sullivan <sullivan@apple.com>
1404 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1405 Newer Xcode removed some obsolete cruft
1407 * DumpRenderTree/TextInputController.m:
1408 (-[TextInputController textInput]):
1409 added (id) cast to make newer compiler happy
1411 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1417 * Spinneret/Spinneret.sln:
1419 2006-05-18 Darin Adler <darin@apple.com>
1421 - try to fix no-SVG, no-XPATH build, again
1423 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1425 2006-05-18 Darin Adler <darin@apple.com>
1427 - try to fix no-SVG, no-XPATH build
1429 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1430 since the former is what's used in the WebCore project now.
1432 2006-05-17 Darin Adler <darin@apple.com>
1434 * Scripts/do-webcore-rename: Some more future renames.
1436 2006-05-16 Adele Peterson <adele@apple.com>
1440 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1441 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1443 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1445 * Scripts/install-unix-extras: Changed to be executable and removed
1446 text in the file generated by "svn diff".
1447 * Scripts/regenerate-makefiles: Ditto.
1449 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1451 Reviewed by Darin, landed by ap.
1453 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1454 Bakefiles (and generated Makefiles) for wx and gdk ports
1456 * Scripts/install-unix-extras: Added.
1457 * Scripts/regenerate-makefiles: Added.
1459 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1463 Fix registry usage from perl script. Turns out libwin32's
1464 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1466 * Scripts/install-win-extras:
1468 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1471 Add load ended callback.
1475 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1476 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1477 * Spinneret/Spinneret/Spinneret.cpp:
1478 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1479 (_tWinMain): Load built-in test content here instead of in lower-level code.
1480 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1482 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1486 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1488 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1492 * Scripts/check-dom-results:
1493 Add XPath to the list of results.
1495 2006-05-08 Darin Adler <darin@apple.com>
1497 * Scripts/do-webcore-rename: Add another rename.
1499 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1503 Spinneret now links against the new separate lib.
1505 * Spinneret/Spinneret.sln:
1506 * Spinneret/Spinneret/Spinneret.cpp:
1507 (SpinneretWebHost::updateLocationBar):
1509 * Spinneret/Spinneret/Spinneret.h:
1510 * Spinneret/Spinneret/Spinneret.vcproj:
1511 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1512 * Spinneret/Spinneret/WebFrame.h: Removed.
1513 * Spinneret/Spinneret/WebView.cpp: Removed.
1514 * Spinneret/Spinneret/WebView.h: Removed.
1516 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1520 Modify error reporting registry keys to disable Dr. Watson.
1521 This allows Javascript test cases to complete without blocking UI.
1523 * Scripts/install-win-extras:
1524 - Use Perl Win32 registry functions to disable blocking UI
1527 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1531 Turned off C++ exceptions, fixed memory leaks
1533 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1534 * Spinneret/Spinneret.sln:
1535 * Spinneret/Spinneret/Spinneret.cpp:
1537 * Spinneret/Spinneret/Spinneret.vcproj:
1538 * Spinneret/Spinneret/WebFrame.cpp:
1539 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1540 (WebKit::WebFrame::WebFrame):
1541 (WebKit::WebFrame::~WebFrame):
1542 (WebKit::WebFrame::impl):
1543 * Spinneret/Spinneret/WebFrame.h:
1544 * Spinneret/Spinneret/WebView.cpp:
1545 * Spinneret/Spinneret/stdafx.h:
1547 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1551 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1552 DumpRenderTree should reset the URL cache
1554 * DumpRenderTree/DumpRenderTree.m:
1555 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1557 2006-04-28 Eric Seidel <eseidel@apple.com>
1559 Reviewed by andersca.
1561 * Scripts/do-webcore-rename: rename KCanvasContainer too
1562 * Scripts/run-webkit-tests: output total time
1564 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1566 Reviewed by hyatt. Landed by eseidel.
1568 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1569 Enable detection of excessive repainting with DumpRenderTree
1571 * DumpRenderTree/DumpRenderTree.m:
1572 (-[LayoutTestController display]):
1574 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1578 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1579 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1581 * DumpRenderTree/DumpRenderTree.m:
1582 (dump): If display() has been called during the test, grab the pixels from
1583 the view, after letting it repaint invalidated rects.
1584 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1585 (-[LayoutTestController display]): Added. Calls -display on the view
1586 and changes the subsequent behavior of dump().
1589 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1593 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1594 Update iExploder to 1.3.2
1596 Test case numbers are not compatible with iExploder 1.2.
1598 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1600 * iExploder/CHANGELOG.txt: Added.
1601 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1602 * iExploder/README.txt: Added some performance hints.
1604 * iExploder/htdocs/config.rb: Added.
1605 * iExploder/htdocs/cssproperties.in:
1606 * iExploder/htdocs/cssvalues.in:
1607 * iExploder/htdocs/htmlattrs.in:
1608 * iExploder/htdocs/htmltags.in:
1609 * iExploder/htdocs/iexploder.cgi:
1610 - Updated to support the latest HTML & CSS tags, properties, and values from both
1611 the WebKit and Mozilla CVS tree
1612 - cssproperties.in cleanup
1613 - Modularized the code a little bit.
1614 - Fix subtest bug that was causing last 5 tags to be missed
1615 - new subtest algorithm to deal better with larger tag counts
1616 - default HTML_MAX_TAGS increased from 32 to 96
1618 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1619 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1620 alternative to our run-iexploder-tests.
1621 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1622 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1623 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1625 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1627 - commit Scripts/run-mangleme-tests (missed it the previous time).
1629 2006-04-18 Darin Adler <darin@apple.com>
1631 - attempt to fix Windows buildbot
1633 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1634 We need a better long-term solution for this.
1636 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1640 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1641 Integrate mangleme test script.
1643 Works in a similar way to run-iexploder-tests.
1645 * Scripts/run-mangleme-tests: Added.
1647 * mangleme/Makefile: Added.
1648 * mangleme/README: Added.
1649 * mangleme/mangle.cgi.c: Added.
1650 * mangleme/remangle.cgi.c: Added.
1651 * mangleme/tags.h: Added.
1653 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1657 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1658 An easier way to save iExploder tests.
1660 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1662 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1666 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1667 Integrate iExploder test script.
1669 This script generates artificially mangled HTML documents, to test that the browser
1670 doesn't crash when handling ill-formed code.
1673 run-iexploder-tests Open an interactive test page in Safari+ToT.
1674 run-iexploder-tests nnnnn Open test #nnnnn.
1676 Command line options:
1677 --guard-malloc (-g) Use Guard Malloc.
1678 --port=nnnn Run Apache on port nnnn (default is 8000).
1680 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1681 (thus, Apache is still running), e.g.:
1682 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1684 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1686 * Scripts/run-iexploder-tests: Added.
1688 * iExploder/LICENSE.txt: Added.
1689 * iExploder/README.txt: Added.
1690 * iExploder/htdocs: Added.
1691 * iExploder/htdocs/cssproperties.in: Added.
1692 * iExploder/htdocs/cssvalues.in: Added.
1693 * iExploder/htdocs/htmlattrs.in: Added.
1694 * iExploder/htdocs/htmltags.in: Added.
1695 * iExploder/htdocs/htmlvalues.in: Added.
1696 * iExploder/htdocs/iexploder.cgi: Added.
1697 * iExploder/htdocs/index.html: Added.
1698 * iExploder/tools: Added.
1699 * iExploder/tools/lasthit.rb: Added.
1700 * iExploder/tools/osx_last_crash.rb: Added.
1702 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1706 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1707 Restore color profile after a crash
1709 * DumpRenderTree/DumpRenderTree.m:
1710 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1711 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1712 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1713 and this code may change significantly.
1715 (main): Install crashHandler.
1717 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1718 (CFStringGetCStringPtr should NEVER EVER be used!).
1720 2006-04-15 Darin Adler <darin@apple.com>
1724 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1725 Seems xmlsoft.org's HTTP no longer has what we need.
1727 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1729 Rubber-stamped by Darin.
1731 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1732 upload-disk-image stage on buildslaves fail with "No space left on device"
1734 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1735 'hdiutil create'. This creates the initial disk image based on the size of
1736 the source folder, and copies the contents to the new disk image. The file
1737 extension on the temporary uncompressed disk image has also been altered from
1738 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1739 the extension is not ".dmg".
1741 2006-04-12 Eric Seidel <eseidel@apple.com>
1745 * Scripts/update-webkit: Make this return non-zero when svn fails.
1747 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1751 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1752 Make HTTP tests using Perl use .pl extension
1754 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1755 removed support for .text. Reduced the number of places that explicitly list supported
1756 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1759 2006-04-06 Darin Adler <darin@apple.com>
1761 Changes requested by Mark Rowe.
1763 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1764 trash at the end of the file.
1765 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1767 * WebKitLauncher/main.m: Removed trash at end of file.
1769 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1772 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1774 Reviewed by Darin, landed by Maciej.
1776 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1777 and bundles the WebKit frameworks inside it.
1778 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1779 containing WebKit.app.
1780 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1781 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1782 number of the SVN working copy.
1783 * WebKitLauncher: Added.
1784 * WebKitLauncher/Info.plist: Added.
1785 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1786 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1787 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1788 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1789 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1790 the nightly launcher.
1791 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1792 It sets up the environment to have Safari use the bundled frameworks
1793 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1794 * WebKitLauncher/start.html: Added.
1795 * WebKitLauncher/webkit.icns: Added.
1797 2006-04-05 Darin Adler <darin@apple.com>
1801 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1802 are allowed to have global initializers.
1804 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1806 Reviewed by OMG BETH
1808 * Scripts/run-testkjs:
1809 - pipe STDERR to /dev/null by default; new --verbose option overrides
1811 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1812 - output run command in a format that can be copied and pasted into the
1813 terminal to run manually
1815 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1817 Reviewed by harrison
1819 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1820 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1822 Tell the source that the drag is over after the drag is performed, not before.
1824 * DumpRenderTree/EventSendingController.m:
1825 (-[EventSendingController mouseUp]):
1827 2006-04-01 Darin Adler <darin@apple.com>
1831 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1832 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1833 elements in that array are not strings.
1835 2006-03-31 Darin Adler <darin@apple.com>
1837 Reviewed by John Sullivan.
1839 - added a "--reset-results" option to run-webkit-tests so you can reset
1840 the results without first deleting expected results
1841 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1843 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1844 more logical. Moved all the subroutines to the end of the file. Added a
1847 * DumpRenderTree/DumpRenderTree.m:
1848 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1849 to generate new output for all tests it runs.
1850 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1851 the --dump-all-pixels option is passed. Also tightened up the image dumping
1852 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1853 with code to save and restore the context.
1855 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1856 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1858 2006-03-30 Tim Omernick <timo@apple.com>
1860 Reviewed by NOBODY (just fixing copyrights)
1862 * DumpRenderTree/ObjCPlugin.h:
1864 * DumpRenderTree/ObjCPlugin.m: ditto
1865 * DumpRenderTree/ObjCPluginFunction.h: ditto
1866 * DumpRenderTree/ObjCPluginFunction.m: ditto
1868 2006-03-30 Tim Omernick <timo@apple.com>
1872 * DumpRenderTree/DumpRenderTree.m:
1873 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1874 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1875 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1876 exposed to JS as a callable object.
1878 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1879 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1881 * DumpRenderTree/ObjCPlugin.h: Added.
1882 * DumpRenderTree/ObjCPlugin.m: Added.
1883 * DumpRenderTree/ObjCPluginFunction.h: Added.
1884 * DumpRenderTree/ObjCPluginFunction.m: Added.
1886 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1887 Added a new method, "removeDefaultMethod", which removes the default method from the
1888 plugin object's class. The effect is that the plugin object is mutated from a callable
1889 function to a simple object.
1891 Handle "removeDefaultMethod".
1892 (pluginInvokeDefault):
1893 Made the default method actually do something (return 1).
1895 2006-03-30 Eric Seidel <eseidel@apple.com>
1899 Remove WebFrame::viewImpl(), setMainFrame on page.
1901 * Spinneret/Spinneret/WebFrame.cpp:
1902 (WebKit::WebFrame::WebFrame):
1903 * Spinneret/Spinneret/WebFrame.h:
1904 * Spinneret/Spinneret/WebView.cpp:
1905 (WebKit::WebView::mouseMoved):
1906 (WebKit::WebView::mouseDown):
1907 (WebKit::WebView::mouseUp):
1908 (WebKit::WebView::mouseDoubleClick):
1909 (WebKit::WebViewWndProc):
1911 2006-03-30 Eric Seidel <eseidel@apple.com>
1915 Fix html editing input & basic form submission.
1917 * Spinneret/Spinneret/WebFrame.cpp:
1918 (WebKit::WebFrame::submitForm):
1919 (WebKit::WebFrame::loadURL):
1920 * Spinneret/Spinneret/WebFrame.h:
1921 * Spinneret/Spinneret/WebView.cpp:
1922 (WebKit::WebView::keyPress):
1923 (WebKit::WebViewWndProc):
1925 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1929 <rdar://problem/4402375>
1930 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1932 Added an option to draw the selectionRect.
1934 * DumpRenderTree/DumpRenderTree.m:
1936 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1937 (-[LayoutTestController dumpSelectionRect]):
1940 2006-03-29 Darin Adler <darin@apple.com>
1942 Reviewed by Tim Hatcher.
1944 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1946 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1948 2006-03-28 Eric Seidel <eseidel@apple.com>
1952 * Scripts/check-for-global-initializers: remove svg exceptions.
1954 2006-03-28 Timothy Hatcher <timothy@apple.com>
1958 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1960 * Scripts/check-for-global-initializers:
1962 2006-03-28 Timothy Hatcher <timothy@apple.com>
1964 Build fix. Turn off uninitialized warnings for the first block of code.
1966 * Scripts/check-for-global-initializers:
1968 2006-03-28 Darin Adler <darin@apple.com>
1972 * Scripts/check-for-global-initializers: Added.
1974 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1976 Reviewed by darin. Landed by eseidel.
1978 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
1979 Add repaint testing support to run-webkit-tests
1981 * DumpRenderTree/DumpRenderTree.m:
1982 (main): Added --repaint and --horizontal-sweep options.
1983 (dump): Repaint line-by-line or column-by-column when the appropriate option
1985 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
1986 and repaintSweepHorizontally() methods to layoutTestController.
1987 (-[LayoutTestController testRepaint]):
1988 (-[LayoutTestController repaintSweepHorizontally]):
1990 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
1991 to force these settings on tests that do not ask for them.
1993 2006-03-24 Eric Seidel <eseidel@apple.com>
1999 * Spinneret/Spinneret/WebFrame.cpp:
2000 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2002 2006-03-21 Beth Dakin <bdakin@apple.com>
2006 Add support for keyDown() to DumpRenderTree.
2008 * DumpRenderTree/DumpRenderTree.m:
2009 (main): Set the preference for tabbing to links.
2010 * DumpRenderTree/EventSendingController.m:
2011 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2012 (+[EventSendingController webScriptNameForSelector:]):
2013 (-[EventSendingController keyDown:withModifiers:]):
2015 2006-03-20 Eric Seidel <eseidel@apple.com>
2021 * Spinneret/Spinneret/Spinneret.vcproj:
2022 * Spinneret/Spinneret/WebFrame.h:
2023 * Spinneret/Spinneret/WebView.cpp:
2024 (WebKit::WebView::mouseMoved):
2025 (WebKit::WebView::mouseDown):
2026 (WebKit::WebView::mouseUp):
2027 (WebKit::WebView::mouseDoubleClick):
2028 (WebKit::WebView::keyPress):
2029 (WebKit::WebViewWndProc):
2031 2006-03-19 Darin Adler <darin@apple.com>
2035 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2036 we can test it in layout tests. We don't really need tests that run with
2037 pop-up blocking off at the moment. If we do some day, we can add some
2038 API for turning it off in the layout test controller.
2040 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2041 don't ignore the leak; it should no longer show up.
2043 2006-03-17 Anders Carlsson <andersca@mac.com>
2047 * Scripts/install-win-extras:
2048 Fetch "Program Files" location from the environment.
2050 2006-03-17 Eric Seidel <eseidel@apple.com>
2054 Fix Spinneret to pass Events as const & not as pointers.
2056 * Spinneret/Spinneret/WebView.cpp:
2057 (WebKit::WebView::mouseMoved):
2058 (WebKit::WebView::mouseDown):
2059 (WebKit::WebView::mouseUp):
2060 (WebKit::WebView::mouseDoubleClick):
2061 (WebKit::WebView::keyPress):
2063 2006-03-17 Eric Seidel <eseidel@apple.com>
2065 Reviewed by justing.
2067 Add support for basic HTML editing.
2069 * Spinneret/Spinneret/WebView.cpp:
2070 (WebKit::WebView::WebView):
2071 (WebKit::WebView::keyPress):
2073 2006-03-17 Eric Seidel <eseidel@apple.com>
2075 Rubber-stamped by ggaren.
2077 Break DumpRenderTree.m up into several files to make the code more readable.
2079 * DumpRenderTree/DumpRenderTree.h: Added.
2080 * DumpRenderTree/DumpRenderTree.m:
2081 (doneLoading): new accessor function for "done" global.
2082 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2083 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2084 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2085 * DumpRenderTree/EditingDelegate.h: Added.
2086 * DumpRenderTree/EditingDelegate.m: Added.
2087 (-[EditingDelegate webViewDidChangeSelection:]):
2088 * DumpRenderTree/EventSendingController.h: Added.
2089 * DumpRenderTree/EventSendingController.m: Added.
2091 2006-03-16 Eric Seidel <eseidel@apple.com>
2095 Add resize, scroll event support.
2097 * Spinneret/Spinneret/WebView.cpp:
2098 (WebKit::WebView::mouseMoved):
2099 (WebKit::WebView::mouseDown):
2100 (WebKit::WebView::mouseUp):
2101 (WebKit::WebView::mouseDoubleClick):
2102 (WebKit::WebView::keyPress):
2103 (WebKit::WebViewWndProc):
2104 * Spinneret/Spinneret/WebView.h:
2106 2006-03-16 Eric Seidel <eseidel@apple.com>
2110 Make build-webkit print correctly to stdout on windows.
2112 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2114 2006-03-15 Eric Seidel <eseidel@apple.com>
2118 Fix eventSender.mouseClick() to update lastClick timestamp.
2120 * DumpRenderTree/DumpRenderTree.m:
2121 (-[EventSendingController mouseClick]):
2123 2006-03-15 Darin Adler <darin@apple.com>
2127 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2128 that had a lowercase "i" in it so this builds on case-sensitive
2131 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2135 Added run-testkjs and compare-timing-files scripts, to support super
2138 * Scripts/compare-timing-files: Added.
2139 * Scripts/run-testkjs: Added.
2141 2006-03-14 Eric Seidel <eseidel@apple.com>
2145 Make the URL bar relinquish focus on page load.
2147 * Spinneret/Spinneret/Spinneret.cpp:
2150 2006-03-14 Eric Seidel <eseidel@apple.com>
2154 Fix WebView to allow KeyFocus.
2155 Add handling of space and shift-space for scrolling.
2157 * Spinneret/Spinneret/WebView.cpp:
2158 (WebKit::scrollMessageForKey):
2159 (WebKit::WebViewWndProc):
2161 2006-03-10 Eric Seidel <eseidel@apple.com>
2165 Add scrolling support into Spinneret.
2167 * Spinneret/Spinneret/WebFrame.cpp:
2168 (WebKit::WebFrame::paint):
2169 * Spinneret/Spinneret/WebView.cpp:
2170 (WebKit::WebView::createWebView):
2171 (WebKit::calculateScrollDelta):
2172 (WebKit::scrollMessageForKey):
2173 (WebKit::WebViewWndProc):
2175 2006-03-13 Eric Seidel <eseidel@apple.com>
2179 Fix checksum generation on Intel machines.
2180 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2181 give a small speed boost now that it uses a shared buffer.
2183 * DumpRenderTree/DumpRenderTree.m:
2186 (md5HashStringForBitmap):
2187 * DumpRenderTree/ImageDiff.m:
2188 (computePercentageDifferent):
2190 2006-03-13 Darin Adler <darin@apple.com>
2192 Reviewed by Tim Hatcher.
2194 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2195 have it named httpd-1.3 instead.
2197 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2199 Fix proposed by Mitz Pettel, reviewed by Darin.
2201 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
2202 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2204 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2205 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2208 2006-03-09 Darin Adler <darin@apple.com>
2210 Reviewed by John Sullivan.
2212 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
2213 memory leak in the plug-in tests
2215 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2216 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2217 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2219 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2220 Moved the browser global in here since it's declared in this file's header.
2221 Changed the code to set up the pluginClass structure to not use function
2222 pointer casts. Those are dangerous because they can hide many types of mismatch.
2223 And indeed when I did this I discovered that many functions were missing their
2224 boolean return values or had parameter declarations with the wrong types.
2225 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2226 clarity. Added boolean return value: return true when successful and false when not.
2227 (pluginSetProperty): Added boolean return value, return false since we have no
2228 properties we can set.
2229 (pluginInvoke): Added boolean return value. Return true when successful and false
2230 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2231 return value from calling the browser. Changed code to put the strings in malloc
2232 buffers instead of relying on GCC's extension that allows variable-sized arrays
2234 (pluginInvokeDefault): Added boolean return value, return false since we have no
2235 default function to call.
2236 (pluginInvalidate): Added missing parameter. Removed comment.
2237 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2238 to cast the result of malloc.
2239 (pluginDeallocate): Removed uneeded cast.
2241 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2242 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2243 that match NPObject's fields. Removed unused NPWindow pointer.
2245 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2247 Test: fast/events/event-sender-mouse-click.html
2251 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
2252 DRT hangs when doing eventSender.mouseDown on native widgets
2254 * DumpRenderTree/DumpRenderTree.m:
2255 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2256 (-[EventSendingController mouseClick]): Simulates a click in a native
2257 widget by queueing a mouseUp before sending the mouseDown, so that
2258 the widget's mouse tracking event loop doesn't hang indefinitely.
2260 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2264 - make link clicks work by handling link click requests
2267 * Spinneret/Spinneret/Spinneret.cpp:
2268 (updateLocationBar):
2269 * Spinneret/Spinneret/Spinneret.h:
2270 * Spinneret/Spinneret/WebFrame.cpp:
2271 (WebKit::WebFrame::WebFrame):
2272 (WebKit::WebFrame::openURL):
2273 (WebKit::WebFrame::loadURL):
2274 * Spinneret/Spinneret/WebFrame.h:
2276 2006-03-08 Eric Seidel <eseidel@apple.com>
2280 Focus URL bar on Spinneret launch, remove border from WebView.
2281 Stop WebFrame from deleting the job (prevent crash).
2283 * Spinneret/Spinneret/Spinneret.cpp:
2285 * Spinneret/Spinneret/WebFrame.cpp:
2286 (WebKit::WebFrame::receivedAllData):
2287 (WebKit::WebFrame::paint):
2288 * Spinneret/Spinneret/WebView.cpp:
2289 (WebKit::WebView::createWebView):
2291 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2295 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2296 (pluginInvoke): Added a method to test getURL.
2298 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2302 - load URLs, not file paths, in Spinneret
2304 * Spinneret/Spinneret/Spinneret.cpp:
2306 * Spinneret/Spinneret/Spinneret.vcproj:
2307 * Spinneret/Spinneret/WebFrame.cpp:
2308 (WebKit::WebFrame::loadURL):
2309 (WebKit::WebFrame::receivedData):
2310 (WebKit::WebFrame::receivedAllData):
2311 * Spinneret/Spinneret/WebFrame.h:
2312 * Spinneret/Spinneret/WebView.cpp:
2313 (WebKit::WebView::WebView):
2315 2006-03-08 Darin Adler <darin@apple.com>
2319 - fixed AppleScript layout test results to not be endian-dependent
2320 (Hyatt complained to me about this one)
2322 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2323 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2324 (which are endian-dependent).
2326 2006-03-07 Darin Adler <darin@apple.com>
2330 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
2331 unwanted output while running layout tests
2333 * DumpRenderTree/DumpRenderTree.m:
2334 (checkedMalloc): Added.
2335 (checkedRealloc): Added.
2336 (makeLargeMallocFailSilently): Added.
2337 (main): Call makeLargeMallocFailSilently.
2339 2006-03-06 Darin Adler <darin@apple.com>
2341 * Scripts/do-webcore-rename: Add some more planned renaming.
2343 2006-03-06 Eric Seidel <eseidel@apple.com>
2347 * Spinneret/Spinneret/WebFrame.cpp:
2348 (WebKit::WebFrame::paint): force layout before painting
2350 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2354 Sent the windowNumber when sending events.
2355 Added leapForward so that we don't have to spend time waiting
2356 in layout tests that do mouse operations that require delays.
2358 * DumpRenderTree/DumpRenderTree.m:
2359 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2360 (+[EventSendingController webScriptNameForSelector:]):
2361 (-[EventSendingController currentEventTime]):
2362 (-[EventSendingController leapForward:]):
2363 (-[EventSendingController mouseDown]):
2364 (-[EventSendingController mouseUp]):
2365 (-[EventSendingController mouseMoveToX:Y:]):
2367 2006-03-05 Darin Adler <darin@apple.com>
2369 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2370 Script now works (after landing my two pending patches).
2372 2006-03-05 Darin Adler <darin@apple.com>
2374 - check in a script to do a "big" rename in WebCore
2375 (can be run whenever we're ready to do it)
2377 * Scripts/do-webcore-rename: Added.
2379 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2383 * Spinneret/Spinneret/WebFrame.cpp:
2384 (WebKit::WebFrame::loadFilePath): Close file when done.
2386 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2388 Reviewed by Darin, landed by ap.
2390 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
2391 Mouse moved events do not work in DumpRenderTree
2393 Test: fast/events/event-sender-mouse-moved.html
2395 * DumpRenderTree/DumpRenderTree.m:
2396 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2398 2006-03-04 Eric Seidel <eseidel@apple.com>
2402 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2403 Disable background erase to avoid tearing.
2404 Fix potential memory smasher from extra long urls.
2406 * Spinneret/Spinneret/Spinneret.cpp:
2408 * Spinneret/Spinneret/Spinneret.vcproj:
2409 * Spinneret/Spinneret/WebFrame.cpp:
2410 (WebKit::WebFrame::loadFilePath):
2411 (WebKit::WebFrame::paint):
2412 * Spinneret/Spinneret/WebView.cpp:
2413 (WebKit::registerWebViewWithInstance):
2415 2006-03-04 Eric Seidel <eseidel@apple.com>
2419 Hang WebView pointer off of HWND (gets rid of global hack).
2420 Remove MessageBox displayed on url change.
2422 * Spinneret/Spinneret/Spinneret.cpp:
2425 * Spinneret/Spinneret/WebView.cpp:
2426 (WebKit::registerWebViewWithInstance):
2427 (WebKit::WebView::createWebView):
2428 (WebKit::WebViewWndProc):
2430 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2434 Automatically kill httpd if it appears to be already running.
2436 * Scripts/run-webkit-tests:
2438 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2442 * Spinneret/Spinneret/WebFrame.cpp:
2443 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2445 2006-03-03 Eric Seidel <eseidel@apple.com>
2449 A few more fixes to make run-webkit-tests really work on win32.
2451 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2453 * Scripts/run-webkit-tests:
2455 2006-03-03 Eric Seidel <eseidel@apple.com>
2459 Make run-webkit-tests work on win32.
2461 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2463 (dumpRenderTreeMain):
2464 (dumpRenderTreeToStdOut):
2465 (serializeToStdOut):
2467 * Scripts/run-webkit-tests:
2468 * Scripts/webkitdirs.pm:
2469 * Spinneret/Spinneret/WebView.cpp:
2470 (WebKit::WebView::WebView):
2472 2006-03-03 Eric Seidel <eseidel@apple.com>
2476 Add WebFrame class (to hold Frame and FrameView).
2477 Add Location bar support to Spinneret.
2479 * Spinneret/Spinneret/Spinneret.cpp:
2484 * Spinneret/Spinneret/Spinneret.vcproj:
2485 * Spinneret/Spinneret/WebFrame.cpp: Added.
2486 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2487 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2488 (WebKit::WebFrame::WebFrame):
2489 (WebKit::WebFrame::loadFilePath):
2490 (WebKit::WebFrame::loadHTMLString):
2491 (WebKit::WebFrame::paint):
2492 (WebKit::WebFrame::impl):
2493 (WebKit::WebFrame::viewImpl):
2494 * Spinneret/Spinneret/WebFrame.h: Added.
2495 * Spinneret/Spinneret/WebView.cpp:
2496 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2497 (WebKit::WebView::WebView):
2498 (WebKit::WebView::windowHandle):
2499 (WebKit::WebView::mainFrame):
2500 (WebKit::WebView::mouseMoved):
2501 (WebKit::WebView::mouseDown):
2502 (WebKit::WebView::mouseUp):
2503 (WebKit::WebView::mouseDoubleClick):
2504 (WebKit::WebViewWndProc):
2505 * Spinneret/Spinneret/WebView.h:
2507 2006-03-02 Eric Seidel <eseidel@apple.com>
2511 * Spinneret/Spinneret/WebView.cpp:
2512 (WebKit::registerWebViewWithInstance):
2513 (WebKit::WebView::WebView):
2514 (WebKit::WebView::mouseMoved):
2515 (WebKit::WebView::mouseDown):
2516 (WebKit::WebView::mouseUp):
2517 (WebKit::WebView::mouseDoubleClick):
2518 (WebKit::WebViewWndProc):
2519 * Spinneret/Spinneret/WebView.h:
2521 2006-03-01 Eric Seidel <eseidel@apple.com>
2523 Reviewed by andersca.
2525 Make spinneret take advantage of the new GraphicsContextCairo.
2527 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2528 (main): updated to match style guidelines.
2529 * Spinneret/Spinneret/Spinneret.cpp:
2531 * Spinneret/Spinneret/WebView.cpp:
2532 (WebKit::registerWebViewWithInstance):
2533 (WebKit::WebView::WebView):
2534 (WebKit::WebView::~WebView):
2535 (WebKit::WebView::drawRect):
2537 * Spinneret/Spinneret/WebView.h:
2539 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2543 Give the events that eventSender sends a unique eventNumber
2545 * DumpRenderTree/DumpRenderTree.m:
2546 (-[EventSendingController mouseDown]):
2547 (-[EventSendingController mouseUp]):
2548 (-[EventSendingController mouseMoveToX:Y:]):
2550 2006-03-01 Eric Seidel <eseidel@apple.com>
2554 Add a stub win32 application to test WebCore drawing on windows.
2557 * Spinneret/Spinneret: Added.
2558 * Spinneret/Spinneret.sln: Added.
2559 * Spinneret/Spinneret/Resource.h: Added.
2560 * Spinneret/Spinneret/Spinneret.cpp: Added.
2566 * Spinneret/Spinneret/Spinneret.h: Added.
2567 * Spinneret/Spinneret/Spinneret.ico: Added.
2568 * Spinneret/Spinneret/Spinneret.rc: Added.
2569 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2570 * Spinneret/Spinneret/WebView.cpp: Added.
2571 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2572 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2573 (WebKit::registerWebViewWithInstance):
2574 (WebKit::WebView::createWebView):
2575 (WebKit::WebView::WebView):
2576 (WebKit::WebView::~WebView):
2577 (WebKit::WebView::drawRect):
2578 (WebKit::WebView::windowHandle):
2580 * Spinneret/Spinneret/WebView.h: Added.
2581 * Spinneret/Spinneret/small.ico: Added.
2582 * Spinneret/Spinneret/stdafx.cpp: Added.
2583 * Spinneret/Spinneret/stdafx.h: Added.
2585 2006-02-28 Eric Seidel <eseidel@apple.com>
2589 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2590 (main): add ability to dump render tree and read from a local file.
2592 2006-02-27 Eric Seidel <eseidel@apple.com>
2596 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2598 2006-02-27 Eric Seidel <eseidel@apple.com>
2602 Test new KConfig -> PlugInInfoStore change.
2603 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2605 * DumpRenderTree/DumpRenderTree.m:
2606 (main): load test netscape plugin
2607 * Scripts/run-webkit-tests: style update
2609 2006-02-24 Eric Seidel <eseidel@apple.com>
2613 Make DumpRenderTree link against icu.
2615 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2617 2006-02-24 Eric Seidel <eseidel@apple.com>
2621 Make DumpRenderTree link against libxml, etc.
2623 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2625 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2627 Reviewed and landed by Anders.
2629 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2630 getting called from the run loop, making the view render each test and thus slowing
2633 * DumpRenderTree/DumpRenderTree.m:
2634 (main): Set the offscreen window to not autodisplay.
2636 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2640 - Turn http tests back on by default.
2641 - Wait for Apache to actually start serving requests.
2642 - Get user id from a built-in variable rather than an external command;
2643 don't pass the group.
2645 * Scripts/run-webkit-tests:
2647 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2649 Suggested by Mitz Pettel, reviewed by Darin.
2651 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2652 can run CGIs even if the permissions are 700 or 600.
2654 2006-02-23 Darin Adler <darin@apple.com>
2656 Collaborating with Alexey.
2658 - turn off http tests by default until we figure out how to get them
2659 to run even when permissions on CGI files are 700 instead of 755
2661 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2663 2006-02-23 Eric Seidel <eseidel@apple.com>
2665 Add *.user to ignore list.
2667 2006-02-23 Eric Seidel <eseidel@apple.com>
2669 Remove binary file which shouldn't have been commited (and add to ignore list).
2671 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2672 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2674 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2678 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2680 2006-02-22 Eric Seidel <eseidel@apple.com>
2682 Reviewed by Tim Hatcher.
2684 Fix install-win-extras to not try to re-install setx if installed.
2686 * Scripts/install-win-extras:
2688 2006-02-22 Eric Seidel <eseidel@apple.com>
2690 One more file possibly missing from previous commit?
2692 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2693 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2695 2006-02-22 Eric Seidel <eseidel@apple.com>
2697 Reviewed by justing.
2699 Files missing from previous commit.
2701 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2702 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2704 2006-02-22 Eric Seidel <eseidel@apple.com>
2706 Rubber-stamped by justing.
2708 Corrected path for DumpRenderTree.intermediate files
2710 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2712 2006-02-22 Eric Seidel <eseidel@apple.com>
2714 Reviewed by justing.
2716 Fixed build-dumprendertree to exit with correct error codes.
2718 * Scripts/build-dumprendertree:
2720 2006-02-22 Eric Seidel <eseidel@apple.com>
2722 Reviewed by justing.
2724 Update build scripts to generalize building on Win32, and allow
2725 building of DumpRenderTree on Win32 from build-dumprendertree.
2727 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2729 * Scripts/build-dumprendertree:
2730 * Scripts/build-webkit:
2731 * Scripts/webkitdirs.pm:
2733 2006-02-22 Eric Seidel <eseidel@apple.com>
2737 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2738 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2739 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2740 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2741 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2742 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2744 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2745 * Scripts/build-webkit: make build-webkit cleanup after itself
2747 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2751 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2752 Some minor fixes to http tests.
2754 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2756 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2760 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2761 Would like to use locally installed Apache for testing.
2763 Added two run-webkit-tests options:
2764 --http (--nohttp) - whether to launch Apache (defaults to yes);
2765 --port - which port to listen on (defaults to 8000).
2767 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2768 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2769 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2771 Also added support for .shtml and .text files. Text files give an empty
2772 *-expected.txt, but a correct image.
2774 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2776 * Scripts/run-webkit-tests:
2778 2006-02-21 Darin Adler <darin@apple.com>
2780 Suggested by Mark Rowe.
2782 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2783 reporting leak counts.
2785 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2789 - Added install-win-extras script which installs some extra
2790 programs and libraries, and does Windows first-time setup.
2792 * Scripts/build-webkit: Add a newline between build results.
2793 * Scripts/install-win-extras: Added.
2795 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2799 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2800 DumpRenderTree should be able to load files via HTTP
2802 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2803 Handle tests starting with "http://" as real URLs, not file system paths.
2805 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2809 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2810 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2812 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2814 2006-02-18 Darin Adler <darin@apple.com>
2816 * Scripts/commit-log-editor: Added.
2818 2006-02-17 Eric Seidel <eseidel@apple.com>
2822 Make Win32 have the same default "WebKitBuild" directory behavior.
2824 * Scripts/build-webkit:
2825 * Scripts/webkitdirs.pm:
2827 2006-02-17 Eric Seidel <eseidel@apple.com>
2831 * Scripts/build-webkit: make win32 actually report errors
2833 2006-02-17 Eric Seidel <eseidel@apple.com>
2837 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2839 2006-02-17 Eric Seidel <eseidel@apple.com>
2843 * Scripts/run-webkit-tests: Ignore flash leaks
2845 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2849 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2850 Add drag and drop support to DumpRenderTree
2852 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2853 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2855 * DumpRenderTree/DumpRenderTree.m:
2857 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2858 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2859 (-[WaitUntilDoneDelegate webViewFocus:]):
2860 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2861 (+[LayoutTestController webScriptNameForSelector:]):
2862 (-[LayoutTestController setWindowIsKey:]):
2863 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2864 (-[EventSendingController init]):
2865 (-[EventSendingController mouseDown]):
2866 (-[EventSendingController mouseUp]):
2867 (-[EventSendingController mouseMoveToX:Y:]):
2869 (-[DumpRenderTreeWindow isKeyWindow]):
2870 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2871 (-[DumpRenderTreeDraggingInfo dealloc]):
2872 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2873 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2874 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2875 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2876 (-[DumpRenderTreeDraggingInfo draggedImage]):
2877 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2878 (-[DumpRenderTreeDraggingInfo draggingSource]):
2879 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2880 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2881 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2882 * DumpRenderTree/TextInputController.m:
2883 (-[TextInputController firstRectForCharactersFrom:length:]):
2884 (-[TextInputController characterIndexForPointX:Y:]):
2886 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2890 * DumpRenderTree/DumpRenderTree.m:
2891 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2892 Added a dummy method for the sake of LayoutTests/plugins/
2893 undefined-property-crash.html. (It tests a crash due to fallback
2894 object use. WebCore won't create a fallback object if the method is
2897 2006-02-14 Eric Seidel <eseidel@apple.com>
2901 * Scripts/run-webkit-tests: added --results-directory (-o) option
2903 2006-02-09 Eric Seidel <eseidel@apple.com>
2905 Rubber-stamped by mjs.
2907 Renamed split-class to split-file-by-class.
2909 * Scripts/build-webkit: Updated copyright.
2910 * Scripts/split-class: Removed.
2911 * Scripts/split-file-by-class: Added.
2913 2006-02-08 Eric Seidel <eseidel@apple.com>
2915 Rubber-stamped by mjs.
2917 Adding new script for splitting multi-class files.
2918 Also adding supporting perl module with space removing heuristics.
2920 * Scripts/SpacingHeuristics.pm: Added.
2921 * Scripts/build-drawtest: updated copyright header
2922 * Scripts/split-class: Added.
2924 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2926 Reviewed by thatcher
2928 Changes to test fix for:
2929 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2930 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2932 * DumpRenderTree/DumpRenderTree.m:
2933 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2934 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2935 (+[LayoutTestController webScriptNameForSelector:]):
2936 (-[LayoutTestController setWindowHasFocus:]):
2937 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2939 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2941 Reviewed by Timothy.
2943 Support automated testing of AppleScript "do JavaScript" command
2944 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2946 * DumpRenderTree/AppleScriptController.h: Added.
2947 * DumpRenderTree/AppleScriptController.m: Added.
2948 * DumpRenderTree/DumpRenderTree.m:
2949 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2950 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2952 2006-02-06 Eric Seidel <eseidel@apple.com>
2956 Fix build-webkit for use on win32 (unblocks buildbot usage).
2957 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2959 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2960 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2962 2006-02-06 Eric Seidel <eseidel@apple.com>
2964 Rubber-stamped by darin & mjs.
2966 Added new support directory for build slave scripts.
2967 Committing the first script, for use by the PLT's build slave.
2968 This script is used to kick of the PLT (Page Load Test) slave.
2970 * BuildSlaveSupport: Added.
2971 * BuildSlaveSupport/run-performance-tests: Added.
2973 2006-02-06 Eric Seidel <eseidel@apple.com>
2975 Rubber-stamped by darin.
2977 Adding setSourceDir for scripts stored in non-standard locations.
2979 * Scripts/webkitdirs.pm:
2981 2006-02-04 Darin Adler <darin@apple.com>
2983 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
2984 Configuration files that say Development or Deployment in them.
2986 2006-02-04 Darin Adler <darin@apple.com>
2988 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
2989 wrapper already in the directory.
2990 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
2991 these haven't been working at all.
2992 * Scripts/svn-unapply: Ditto.
2994 2006-02-03 Timothy Hatcher <timothy@apple.com>
2998 Renamed configuration names to Debug, Release and Production.
3000 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3001 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3002 * Scripts/set-webkit-configuration:
3003 * Scripts/webkitdirs.pm:
3005 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3007 Reviewed by thatcher
3009 Enabled spell checking for layout tests.
3011 * DumpRenderTree/DumpRenderTree.m:
3014 2006-01-29 Darin Adler <darin@apple.com>
3016 * Scripts/svn-apply: Added comments about things we should do to improve.
3017 * Scripts/svn-create-patch: Ditto.
3018 * Scripts/svn-unapply: Ditto.
3020 2006-01-28 Darin Adler <darin@apple.com>
3022 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3023 already there, even if the checksum is correct.
3025 2006-01-27 Eric Seidel <eseidel@apple.com>
3029 * Scripts/run-webkit-tests: make new tests use absolute urls
3031 2006-01-27 Eric Seidel <eseidel@apple.com>
3035 make run-webkit-tests output total leaks count
3037 * Scripts/run-webkit-tests:
3039 2006-01-27 Eric Seidel <eseidel@apple.com>
3043 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3044 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
3046 * Scripts/run-webkit-tests: fix --leaks to not crash
3048 2006-01-26 Eric Seidel <eseidel@apple.com>
3052 run-webkit-tests should produce a self-contained results directory
3053 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
3055 * Scripts/run-webkit-tests: copy failing items to results dir.
3057 2006-01-23 Darin Adler <darin@apple.com>
3059 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
3060 need script to update localizable strings file in WebKit
3062 * Scripts/update-webkit-localizable-strings: Added.
3064 2006-01-23 Darin Adler <darin@apple.com>
3066 - added a couple of scripts -- more about these two soon
3068 * Scripts/extract-localizable-strings: Added.
3069 * Scripts/merge-changelog: Added.
3071 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3075 Build fix. build-webkit dies with "invalid build action: (empty string)"
3077 * Scripts/build-webkit:
3078 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3080 2006-01-22 Eric Seidel <eseidel@apple.com>
3084 Fix --no-svg option to use XCode flags instead of gcc flags.
3086 * Scripts/build-webkit:
3088 2006-01-22 Eric Seidel <eseidel@apple.com>
3092 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3094 * Scripts/build-webkit:
3096 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3098 Reviewed by eseidel.
3100 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
3101 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3103 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3104 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3106 2006-01-19 Darin Adler <darin@apple.com>
3108 * Scripts/report-include-statistics: Added a new script.
3110 2006-01-19 Timothy Hatcher <timothy@apple.com>
3112 * Scripts/build-webkit: include JavaScriptGlue in the build
3114 2006-01-19 Darin Adler <darin@apple.com>
3116 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3117 spaces in it by using the form of open that treats each argument as a string
3118 rather than backtick syntax for reading the output of the nm tool.
3120 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3124 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3125 detect if there are any new tests
3127 * Scripts/prepare-ChangeLog:
3129 2006-01-12 Darin Adler <darin@apple.com>
3131 - removed some of the cvs-specific scripts -- not needed for this project any more
3133 * Scripts/cvs-abandon: Removed.
3134 * Scripts/cvs-apply: Removed.
3135 * Scripts/cvs-create-patch: Removed.
3136 * Scripts/cvs-unapply: Removed.
3138 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3140 Reviewed by eseidel. Committed by eseidel.
3142 - run-webkit-tests always launches Safari when tests fail
3143 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
3145 * Scripts/run-webkit-tests:
3146 Add a command-line flag to prevent Safari being launched to display failed
3147 tests. Always exit with non-zero status when tests have failed.
3149 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3151 Reviewed by eseidel. Committed by eseidel.
3153 - build-webkit should exit with non-zero status when build fails
3154 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
3156 * Scripts/build-webkit:
3157 Use correct bits of subprocess exit code when passing back through
3158 as build-webkit's exit code.
3160 2006-01-10 Eric Seidel <eseidel@apple.com>
3162 Restored corrupted nibs from TOT CVS.
3164 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3165 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3166 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3167 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3168 * DrawTest/English.lproj/Inspector.nib: Replaced.
3169 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3170 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3171 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3172 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3173 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3174 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3175 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3176 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3177 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3178 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3179 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3181 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3183 Reviewed by eseidel. Committed by eseidel.
3185 DrawTestView now subclasses WebView instead of DrawView.
3187 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3188 * DrawTest/DrawTestDocument.h:
3189 * DrawTest/DrawTestDocument.m:
3190 (-[DrawTestDocument dealloc]):
3191 (-[DrawTestDocument readFromFile:ofType:]):
3192 (-[DrawTestDocument windowControllerDidLoadNib:]):
3193 (-[DrawTestDocument dumpSVGToConsole:]):
3194 (-[DrawTestDocument openSourceForSelection:]):
3195 (-[DrawTestDocument dataRepresentationOfType:]):
3196 * DrawTest/DrawTestToolbarController.h:
3197 * DrawTest/DrawTestToolbarController.m:
3198 (-[DrawTestToolbarController initWithDrawView:]):
3199 (-[DrawTestToolbarController clickedToolbarItem:]):
3200 (-[DrawTestToolbarController validateToolbarItem:]):
3201 * DrawTest/DrawTestView.h:
3202 * DrawTest/DrawTestView.m:
3203 (-[DrawTestView initWithFrame:]):
3204 (-[DrawTestView setDocument:]):
3205 * DrawTest/SVGTest.h:
3206 * DrawTest/SVGTest.m:
3207 (+[SVGTest sharedDrawView]):
3208 (-[SVGTest generateCompositeIfNecessary]):
3209 * DrawTest/TestController.h:
3210 * DrawTest/TestController.m:
3211 (-[TestController awakeFromNib]):
3212 (-[TestController setSelectedTest:]):
3213 (-[TestController openTestViewerForSelection:]):
3214 (-[TestController toggleViewersScaleRule:]):
3215 * DrawTest/TestViewerSplitView.m:
3216 (-[TestViewerSplitView drawRect:]):
3218 2006-01-10 Anders Carlsson <andersca@mac.com>
3220 Reviewed by Timothy.
3222 * DumpRenderTree/DumpRenderTree.m:
3223 (main): Set the default language to "en", so language tests will work.
3225 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3229 - script to generate HTML wrappers for JS tests
3230 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
3232 * Scripts/make-js-test-wrappers: Added.
3234 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3238 * Scripts/svn-create-patch: Fix to work when passed directory names.
3240 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3244 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3245 can start writing automated loader tests now. I have one in the works.
3247 * DumpRenderTree/DumpRenderTree.m:
3248 (main): Construct global navigationController on entry, destroy on exit.
3249 Set frame to nil on exit too, to match all the other global objects.
3250 (Probably academic, since the process is exiting, anyway.)
3251 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3252 navigationController, in case it wants to kick off a load.
3253 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3254 the navigationController to scripting.
3256 New class, should be straightforward:
3258 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3259 * DumpRenderTree/NavigationController.h: Added.
3260 * DumpRenderTree/NavigationController.m: Added.
3262 (+[NavigationController isSelectorExcludedFromWebScript:]):
3263 (+[NavigationController webScriptNameForSelector:]):
3264 (-[NavigationController setPendingScript:]):
3265 (-[NavigationController setPendingRequest:]):
3266 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3267 (-[NavigationController webView:didFinishLoadForFrame:]):
3268 (-[NavigationController dealloc]):
3270 2006-01-08 Timothy Hatcher <timothy@apple.com>
3272 Removed this script, no longer needs with the Subversion switch.
3274 * checkout: Removed.
3276 2006-01-08 Timothy Hatcher <timothy@apple.com>
3278 Removes some stray tabs.
3280 * Scripts/update-webkit:
3282 2005-01-07 Eric Seidel <eseidel@apple.com>
3286 build-webkit should pass on build arguments from command line
3287 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
3289 * Scripts/build-webkit:
3291 2006-01-07 Eric Seidel <eseidel@apple.com>
3293 Reviewed by mjs & xenon.
3295 * Scripts/update-webkit: support Internal updates as well
3297 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3299 Temporarily rolling out plugin support from DumpRenderTree because it
3300 caused lots of layout test regressions.
3302 * DumpRenderTree/DumpRenderTree.m:
3303 (main): Remove invisible window added to support plugins.
3305 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3309 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
3310 Add plugin support to DumpRenderTree
3312 Also wrote first test plugin.
3314 * DumpRenderTree/DumpRenderTree.m:
3316 (1) Put the WebView in an invisible window, because PlugIns are
3317 optimized not to load if there's no parent window.
3318 (2) Tell WebKit to load any PlugIns in the directory from which we
3319 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3320 and they'll load automagically during layout testing, but they won't be
3321 added to the user's system, hosing apps like Safari.
3323 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3324 test PlugIn to project.
3326 PlugIn added to project:
3328 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3329 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3331 (initializeIdentifiers):
3332 (pluginHasProperty):
3334 (pluginGetProperty):
3335 (pluginSetProperty):
3337 (pluginInvokeDefault):
3341 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3342 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3344 (NP_GetEntryPoints):
3350 (NPP_DestroyStream):
3360 2006-01-04 Timothy Hatcher <timothy@apple.com>
3364 Tweaked and tested by me.
3366 New scripts to work with Subversion when the switch happens.
3367 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3369 * Scripts/svn-apply: Added.
3370 * Scripts/svn-create-patch: Added.
3371 * Scripts/svn-unapply: Added.
3373 2005-12-30 Eric Seidel <eseidel@apple.com>
3377 Move WebView width/height logic into DumpRenderTree to support
3378 running the W3C SVG 1.1 tests along side other tests. The W3C
3379 SVG 1.1 tests require a 480x360 view.
3381 * DumpRenderTree/DumpRenderTree.m:
3382 (main): don't accept width/height
3383 (dump): override width/height for SVG/W3C
3384 * Scripts/run-webkit-tests: don't pass width/height
3386 2005-12-30 Eric Seidel <eseidel@apple.com>
3388 No review, only removing dead code.
3390 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3391 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3393 2005-12-30 Eric Seidel <eseidel@apple.com>
3397 DumpRenderTree should set a consistent color profile while running
3398 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
3400 Creates consistent colormatched renderings on every test machine
3401 using the only way possible with Tiger APIs: by setting the
3402 system color profile on the test machine for the duration of the
3403 tests. This will (unfortunately) cause colors to change while
3404 running DumpRenderTree. This can also cause "permanent" color
3405 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3406 This is far from ideal, but it's be best way we've found to deal
3407 with the issue for now.
3409 * DumpRenderTree/DumpRenderTree.m:
3410 (restoreColorSpace):
3411 (setDefaultColorProfileToRGB):
3414 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3416 Reviewed by Darin Adler.
3418 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3419 cvs-create-patch --include produces incorrect paths
3421 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3423 2005-12-19 Eric Seidel <eseidel@apple.com>
3427 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3429 2005-12-19 Darin Adler <darin@apple.com>
3431 Reviewed by Eric Seidel.
3433 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3434 WebKit needs to use a local pasteboard during testing
3436 * DumpRenderTree/DumpRenderTree.m:
3437 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3438 Create a local pasteboard (really a global one with a unique name) and release
3439 it when exiting from the function so we don't leave it in the pasteboard server.
3440 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3441 ddn't have one. Fixed a leak in an unlikely error case.
3442 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3443 of this method to return our local pasteboard.
3445 2005-12-15 Eric Seidel <eseidel@apple.com>
3447 Reviewed by Tim Hatcher.
3449 * Scripts/build-webkit: --svg is now default!
3451 2005-12-15 Eric Seidel <eseidel@apple.com>
3455 Don't run svg test automatically if +SVG is built (yet).
3457 * Scripts/run-webkit-tests:
3459 2005-12-15 Darin Adler <darin@apple.com>
3461 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3462 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3463 passed on the command line.
3465 2005-12-06 John Sullivan <sullivan@apple.com>
3467 Reviewed by Darin Adler.
3469 * Scripts/prepare-ChangeLog:
3470 Remove special-case handling for nib files. This avoided trouble with cvs diff
3471 when we were using wrappers for nib files. Now that we aren't using wrappers,
3472 there's no reason to avoid adding the modified nib files to the file list that
3475 2005-12-05 Eric Seidel <eseidel@apple.com>
3479 Script updates for SVG files move (remove references to SVGSupport)
3481 * Scripts/build-webkit: remove SVGSupport
3482 * Scripts/run-webkit-tests: Resources -> resources for --svg
3483 * Scripts/update-webkit: remove SVGSupport
3485 2005-12-05 Eric Seidel <eseidel@apple.com>
3489 * checkout: remove --svg support, SVG is now checked out by default
3491 2005-11-29 Eric Seidel <eseidel@apple.com>
3495 Update scripts to run SVG tests automatically (w/o --svg) if
3496 WebCore is built with SVG support.
3498 * Scripts/build-drawtest: SVG support required
3499 * Scripts/build-dumpkcanvastree: Removed.
3500 * Scripts/run-drawtest: SVG support required to run
3501 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3502 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3504 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3506 Reviewed by Darin. Committed by Maciej.
3508 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3509 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3511 * DumpRenderTree/DumpRenderTree.m:
3514 2005-11-28 Eric Seidel <eseidel@apple.com>
3516 Reviewed by sullivan and GGAREN.
3518 Minor additions to make error messages more clear from cvs-apply.
3520 * Scripts/cvs-apply: make errors more clear
3522 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3524 Reviewed and committed by Maciej.
3526 - fixed cvs-create-patch --include produces incorrect paths
3527 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3529 * Scripts/cvs-create-patch: produce proper paths for new files.
3531 2005-11-21 Eric Seidel <eseidel@apple.com>
3535 Some simple fixes to the build/test scripts now that SVG uses the
3536 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3537 or symlinks for KDOM.
3539 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3540 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3541 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3542 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3543 * checkout: no longer symlink kdom
3545 2005-11-10 Eric Seidel <eseidel@apple.com>
3549 * Scripts/build-webkit: Pass through options to xcodebuild
3551 2005-11-07 Darin Adler <darin@apple.com>
3553 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3555 2005-11-03 John Sullivan <sullivan@apple.com>
3559 * Scripts/run-safari:
3560 changed message to say "Starting Safari" instead of odd "Start Safari"
3561 * Scripts/run-webkit-tests:
3562 changed the way we pass the file parameter to use -NSOpen rather than relying on
3563 unlabeled arguments being treated as files. This was failing on some machines that
3564 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3566 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3568 Patch by Alexey Proskuryakov.
3572 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3573 TextInputController should support attributed strings
3575 * DumpRenderTree/TextInputController.m:
3576 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3577 (+[NSMutableAttributedString webScriptNameForSelector:]):
3578 (-[NSMutableAttributedString getLength]):
3579 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3580 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3581 (-[NSMutableAttributedString addAttribute:value:]):
3582 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3583 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3584 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3585 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3586 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3587 (+[TextInputController isSelectorExcludedFromWebScript:]):
3588 (+[TextInputController webScriptNameForSelector:]):
3589 (-[TextInputController insertText:]):
3590 (-[TextInputController attributedSubstringFrom:length:]):
3591 (-[TextInputController attributedStringWithString:]):
3593 2005-10-11 Eric Seidel <eseidel@apple.com>
3597 Checks for leaks in ImageDiff too.
3599 * Scripts/run-webkit-tests:
3601 2005-10-09 Darin Adler <darin@apple.com>
3603 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3604 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3605 * Scripts/cvs-unapply: Ditto.
3606 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3608 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3610 Reviewed, rearranged and landed by Darin.
3612 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3613 Need a way to automatically test for regressions in NSTextInput implementation
3615 * DumpRenderTree/DumpRenderTree.m:
3616 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3617 Create a text input controller and put it in a property of the window object.
3619 * DumpRenderTree/TextInputController.h: Added.
3620 * DumpRenderTree/TextInputController.m: Added.
3621 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3623 2005-10-06 Darin Adler <darin@apple.com>
3625 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3626 are controlled by cvs, or when changes cross multiple repositories.
3627 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3629 2005-10-03 Eric Seidel <eseidel@apple.com>
3633 Make mouseDown and mouseUp force layout before acting.
3634 This is used by a new test case for 4233558.
3636 * DumpRenderTree/DumpRenderTree.m:
3637 (-[EventSendingController mouseDown]): force layout
3638 (-[EventSendingController mouseUp]): force layout
3640 2005-09-30 Eric Seidel <eseidel@apple.com>
3644 Updated all the scripts for the move:
3645 WebCore/layout-tests -> LayoutTests
3647 * Scripts/check-dom-results:
3648 * Scripts/prepare-ChangeLog:
3649 * Scripts/run-webkit-tests:
3650 * Scripts/update-webkit: added --no-tests
3651 * checkout: added --no-tests
3653 2005-09-28 Darin Adler <darin@apple.com>
3655 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3656 pixel test should run even if render trees differ
3658 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3660 2005-09-27 Eric Seidel <eseidel@apple.com>
3662 No review needed, SVG build fix only.
3664 * DumpKCanvasTree/DumpKCanvasTree.m:
3665 Missed one in my previous checkin.
3666 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3668 2005-09-26 Eric Seidel <eseidel@apple.com>
3670 No review needed, SVG build fix only.
3672 * DrawTest/DrawTestDocument.m:
3673 * DrawTest/DrawTestToolbarController.m:
3674 * DrawTest/DrawTestView.h:
3675 * DrawTest/DrawTestView.m:
3676 * DrawTest/SVGTest.m:
3677 * DrawTest/TestController.m:
3678 Updated for WebCore+SVG -> WebCore rename.
3679 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3681 2005-09-26 Eric Seidel <eseidel@apple.com>
3685 * DumpRenderTree/DumpRenderTree.m:
3686 (dump): updated error message
3687 * Scripts/check-dom-results: now includes xhtml
3688 Tool updates for xhtml.
3689 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3691 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3696 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3697 "Would like to simulate human interaction with webview"
3699 * DumpRenderTree/DumpRenderTree.m:
3700 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3701 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3702 (+[EventSendingController webScriptNameForSelector:]):
3703 (-[EventSendingController init]):
3704 (-[EventSendingController mouseDown]):
3705 (-[EventSendingController mouseUp]):
3706 (-[EventSendingController mouseMoveToX:Y:]):
3707 Add eventSender javascript object, that sends fake mouse events to the webview.
3709 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3710 link with Carbon.framework
3712 2005-09-22 Eric Seidel <eseidel@apple.com>
3716 Update tools for WebCore+SVG -> WebCore rename.
3717 Also fold several SVG specific tools into their original
3718 WebCore counterparts.
3719 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3721 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3722 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3723 * Scripts/build-drawtest:
3724 * Scripts/build-dumpkcanvastree:
3725 * Scripts/build-webcore-svg: Removed.
3726 * Scripts/build-webkit: added --svg option
3727 * Scripts/run-drawtest:
3728 * Scripts/run-webkit-tests:
3729 * Scripts/webkitdirs.pm: various additions.
3730 * checkout: added --svg option
3731 * checkout-svg: Removed.
3733 2005-09-19 Eric Seidel <eseidel@apple.com>
3737 * Scripts/run-webkit-tests: added --guard-malloc option
3738 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3740 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3744 Removed a script that is only used by apple internal developers
3746 * Scripts/update-webkitsysteminterface: Removed.
3748 2005-09-16 Adele Peterson <adele@apple.com>
3752 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3754 2005-09-14 Darin Adler <darin@apple.com>
3756 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3757 dumpAsText doesn't work with XHTML documents
3759 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3760 rather than of the body element. This works with typical XHTML documents. We can probably
3761 do something even better in the long run, but this fixes the immediate issue.
3765 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3766 run-safari instead of just using "open", which often runs another copy of Safari instead.
3768 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3770 Reviewed, tweaked, and landed by Darin.
3772 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3773 .Mac prefpane crashes when Safari using CVS WebKit is running
3775 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3776 * Scripts/run-webkit-app: Ditto.
3778 2005-09-11 Darin Adler <darin@apple.com>
3780 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3782 2005-09-11 Darin Adler <darin@apple.com>
3786 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3787 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3788 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3791 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3795 * Scripts/update-webkitsysteminterface: Added.
3796 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3798 2005-09-01 John Sullivan <sullivan@apple.com>
3800 * Scripts/run-webkit-tests:
3801 Excluded a known system leak to reduce noise; added comments about which leaks
3804 2005-09-01 Tim Omernick <tomernick@apple.com>
3806 Change made by Darin, reviewed by John and myself.
3808 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3810 * Scripts/prepare-ChangeLog:
3812 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3816 - set color variant and font settings to a consistent value.
3817 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3819 * DumpRenderTree/DumpRenderTree.m:
3822 2005-08-30 Eric Seidel <eseidel@apple.com>
3826 * Scripts/build-svg2png: Removed.
3827 * svg2png/ImageDiff.h: Removed.
3828 * svg2png/ImageDiff.m: Removed.
3829 * svg2png/svg2png.m: Removed.
3830 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3831 * svg2png/svg2png_Prefix.pch: Removed.
3832 svg2png is no longer needed.
3834 2005-08-30 Darin Adler <darin@apple.com>
3836 * Scripts/check-dom-results: Special case 100% to say something nice.
3837 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3838 applying the patch (need a better name).
3839 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3841 2005-08-30 Darin Adler <darin@apple.com>
3843 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3845 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3849 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3850 (some pixel tests fail when AA settings are changed)
3852 * DumpRenderTree/DumpRenderTree.m:
3853 (main): set AA settings to the default values
3855 2005-08-29 Darin Adler <darin@apple.com>
3857 Reviewed by John Sullivan.
3859 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3860 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3863 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3867 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3868 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3870 * DumpRenderTree/DumpRenderTree.m:
3871 (main): set scrollbar arrow setting to a consistent value
3873 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3875 Reviewed and landed by Darin.
3877 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3878 output of update-webkit is too verbose
3880 * Scripts/update-webkit:
3881 Added option --quiet (-q) to decrease the amount of output.
3883 2005-08-27 Darin Adler <darin@apple.com>
3885 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3886 cvs-create-patch --include-unknowns should ignore hidden files
3888 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3890 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3892 Reviewed, tweaked, and landed by Darin.
3894 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3895 update-webkit doesn't notice when you have SVGSupport and update properly
3897 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3899 2005-08-25 Anders Carlsson <andersca@mac.com>
3901 Reviewed and landed by Darin.
3903 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3904 layout test machinery can't handle tests with applets that have code attributes
3906 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3908 2005-08-24 Darin Adler <darin@apple.com>
3912 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3913 DumpRenderTree --pixel-tests crash
3914 - landed some other small changes I had sitting in my tree
3916 * DumpRenderTree/DumpRenderTree.m:
3917 (main): Don't bother saving and restoring the preferences. Not sure
3918 why this was ever done since the preferences are specific to DumpRenderTree.
3919 Clear delegates before releasing the WebView, because you can't count on the
3920 order of object deallocation.
3921 (dumpRenderTree): Fix code that releases a string before storing it in a
3924 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3925 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3927 2005-08-23 Eric Seidel <eseidel@apple.com>
3931 * Scripts/run-webkit-tests:
3932 Made --leaks option more readable by printing to a file.
3933 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3935 2005-08-22 Eric Seidel <eseidel@apple.com>
3936 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3940 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3941 when they are not needed (for pixel-only failures)
3942 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3944 2005-08-22 Eric Seidel <eseidel@apple.com>
3948 * Scripts/run-webkit-tests: Added the ability to display more than
3949 just two images as part of the image-diff "slideshow".
3950 Added display of "-w3c.png" baseline images for SVG.
3951 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3953 2005-08-20 Eric Seidel <eseidel@apple.com>
3955 * Scripts/run-webkit-tests:
3956 "build" fix after committing incorrect version.
3958 2005-08-20 Eric Seidel <eseidel@apple.com>
3962 * DumpRenderTree/DumpRenderTree.m:
3963 (main): cleans up delegates
3964 (dumpRenderTree): closes CFString/CFURL leak
3965 * Scripts/run-webkit-tests:
3966 Adds --leaks option to run-webkit-tests
3967 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3969 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3973 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3974 new files to be included in the patch even without "cvs add".
3976 2005-08-19 Darin Adler <darin@apple.com>
3978 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
3979 non-cvs-generated patches. Anders has been creating these, so it's bad that
3980 the script can't handle them.
3981 * Scripts/cvs-unapply: Ditto.
3983 2005-08-18 Darin Adler <darin@apple.com>
3985 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
3986 "." in them -- based on complaint by someone here at Apple.
3988 2005-08-18 Eric Seidel <eseidel@apple.com>
3992 * Scripts/run-webkit-tests:
3993 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
3995 2005-08-17 Maciej Stachowiak <mjs@apple.com>
3997 - add file that I forgot in the last checkin
3999 * DumpRenderTree/ImageDiff.m: Added.
4001 (getImageFromStdin):
4003 (getDifferenceBitmap):
4004 (computePercentageDifferent):
4006 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4008 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
4009 somewhat by me, and also tweaked by me a little bit.
4011 - better support for pixel-dumping
4012 - use checksums of the images so the tests are fast
4013 - change output format to make the tests run faster
4014 - don't dump pixel results for tests that dump as text
4016 * DumpKCanvasTree/DumpKCanvasTree.m:
4019 (md5HashStringForBitmap):
4021 (constrainSizeToMaximum):
4022 (getBitmapImageRepForSVGDocument):
4023 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4024 * DumpRenderTree/DumpRenderTree.m:
4028 (md5HashStringForBitmap):
4029 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4030 * Scripts/run-webkit-tests:
4032 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4036 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
4038 * DumpRenderTree/DumpRenderTree.m:
4041 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
4043 Reviewed and landed by Darin.
4045 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
4046 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
4048 * Scripts/run-safari: Pass arguments through to Safari on command line.
4049 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
4051 2005-08-11 Eric Seidel <eseidel@apple.com>
4052 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
4054 Reviewed by eseidel.
4056 * DrawTest/TestController.m:
4057 (-[TestController imagePathForSVGPath:]):
4058 Fixed support for using TextViewer with the layout-tests.
4059 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
4061 2005-08-11 Maciej Stachowiak <mjs@apple.com>
4063 At Least Roughly Glanced At by Anders.
4065 - fix change with totally breaks the layout tests.
4067 * DumpRenderTree/DumpRenderTree.m:
4068 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
4069 load, to avoid dumping twice accidentally.
4071 2005-08-10 Eric Seidel <eseidel@apple.com>
4072 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
4076 * DumpRenderTree/DumpRenderTree.m:
4077 Added support for rendering to a PNG file.
4078 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
4080 2005-08-07 Eric Seidel <eseidel@apple.com>
4084 * Scripts/run-webkit-tests: added --svg option
4085 * Scripts/run-webkit-tests-svg: Removed.
4086 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
4088 2005-08-07 Eric Seidel <eseidel@apple.com>
4089 Changes by Ben La Monica <ben.lamonica@gmail.com>
4093 * svg2png/ImageDiff.h: Added.
4094 * svg2png/ImageDiff.m: Added.
4095 (getDifferenceBitmap):
4096 (computePercentageDifferent):
4097 (saveAnimatedGIFToFile):
4098 * svg2png/svg2png.m:
4099 (usage): added several new options
4100 (getBitmapForSVG): added NSBitmapImageRep generation
4101 (main): various argument changes.
4102 * svg2png/svg2png.xcodeproj/project.pbxproj:
4103 Several additions to provide image differencing functionality.
4104 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
4106 2005-08-07 Eric Seidel <eseidel@apple.com>
4110 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
4111 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
4112 Adding the first SVG layout tests:
4113 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
4115 2005-08-07 Darin Adler <darin@apple.com>
4117 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
4119 2005-08-06 Eric Seidel <eseidel@apple.com>
4123 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
4124 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
4125 * Scripts/build-dumpkcanvastree: Added.
4126 * Scripts/run-webkit-tests-svg: Added.
4127 Adds a DumpRenderTree-like tool for SVG which allows us to do
4128 text-based layout regression testing. This (like most of the
4129 SVG specific stuff) is temporary and will be replaced by
4130 DumpRenderTree once the DOMs and RenderTrees merge.
4131 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
4133 2005-08-06 Eric Seidel <eseidel@apple.com>
4137 * DrawTest/DrawTestView.m:
4138 (-[DrawTestView toggleFilterSupport:]): missing negation.
4139 One half of fix for toggling filter support.
4140 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
4142 2005-08-04 Eric Seidel <eseidel@apple.com>
4146 * Scripts/build-drawtest:
4147 * Scripts/build-dumprendertree:
4148 * Scripts/build-svg2png:
4149 * Scripts/build-webcore-svg:
4150 * Scripts/build-webkit:
4151 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
4152 Added checkRequiredSystemConfig and made all the build-* scripts
4153 use it to print a pretty warning when trying to compile on an
4154 unsupported system (less than 10.4, Xcode 2.1).
4155 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
4157 2005-08-04 Darin Adler <darin@apple.com>
4159 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
4160 the dead. It was removed by accident when someone was trying to work on the branch.
4162 2005-07-31 Darin Adler <darin@apple.com>
4164 - a little tools cleanup
4166 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
4167 project as a whole. Removed unused Default configuration.
4169 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
4171 2005-07-31 Duncan Wilcox <duncan@mclink.it>
4173 Reviewed and landed by Darin Adler.
4175 Add logging of editing delegate calls for regression checking.
4177 * DumpRenderTree/DumpRenderTree.m:
4179 setup editing delegate
4181 (-[DOMNode dumpPath]):
4183 utility for editing delegate logging
4185 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
4186 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
4187 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
4188 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
4189 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
4190 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
4191 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
4192 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
4193 (-[EditingDelegate webViewDidBeginEditing:]):
4194 (-[EditingDelegate webViewDidChange:]):
4195 (-[EditingDelegate webViewDidEndEditing:]):
4196 (-[EditingDelegate webViewDidChangeTypingStyle:]):
4197 log corresponding editing delegate methods
4199 (-[EditingDelegate webViewDidChangeSelection:]):
4200 log selection except when clearing selection after end of test (uses existing "done" flag)
4203 added clearing of selection after test
4205 2005-07-31 Eric Seidel <eseidel@apple.com>
4209 * Scripts/build-drawtest: Added.
4210 * Scripts/build-svg2png: Added.
4211 * Scripts/build-webcore-svg: Added.
4212 * Scripts/run-drawtest: Added.
4213 * Scripts/webkitdirs.pm: added checkSVGFrameworks
4214 Made it much easier to build WebCore+SVG.
4215 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
4217 2005-07-29 Eric Seidel <eseidel@apple.com>
4221 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
4222 Build fix. Removed bad path.
4224 2005-07-29 Eric Seidel <eseidel@apple.com>
4226 Reviewed by sullivan.
4228 * DrawTest/AppDelegate.h: Added.
4229 * DrawTest/AppDelegate.m: Added.
4230 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
4231 * DrawTest/DrawTestDocument.h: Added.
4232 * DrawTest/DrawTestDocument.m: Added.
4233 * DrawTest/DrawTestInspectorController.h: Added.
4234 * DrawTest/DrawTestInspectorController.m: Added.
4235 * DrawTest/DrawTestToolbarController.h: Added.
4236 * DrawTest/DrawTestToolbarController.m: Added.
4237 * DrawTest/DrawTestView.h: Added.
4238 * DrawTest/DrawTestView.m: Added.
4239 * DrawTest/DrawTest_Prefix.pch: Added.
4240 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
4241 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
4242 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.