1 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
5 Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
6 Adjust DumpRenderTree to the FrameQtClient changes.
8 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
9 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
10 (WebCore::DumpRenderTree::DumpRenderTree):
11 (WebCore::DumpRenderTree::~DumpRenderTree):
12 (WebCore::DumpRenderTree::frame):
13 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
15 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
16 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
17 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
19 2006-09-03 Darin Adler <darin@apple.com>
21 * Scripts/do-webcore-rename: More renaming plans.
23 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
27 http://bugzilla.opendarwin.org/show_bug.cgi?id=10693
28 Convert JavaScript arrays to AppleScript lists
30 * DumpRenderTree/AppleScriptController.m:
31 (convertAEDescToObject):
32 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
34 2006-08-31 Darin Adler <darin@apple.com>
36 * Scripts/do-webcore-rename: Prepare for another round of renaming.
38 2006-08-29 Dan Waylonis <waylonis@google.com>
42 - Verification of exceptions thrown in a plugin. Test for bug 10114.
43 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
44 * DumpRenderTree/ObjCPlugin.m:
45 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
46 (+[ObjCPlugin webScriptNameForSelector:]):
47 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
49 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
53 Commit KDE related tweaks, to be able to
54 differentiate between a Qt-only or a KDE build.
56 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
57 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
59 2006-08-29 Darin Adler <darin@apple.com>
61 Reviewed by Tim Hatcher.
63 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
64 to work around what seems to be a bug in some versions of gdb.
66 2006-08-16 Tim Omernick <timo@apple.com>
68 Reviewed by John Sullivan.
70 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
71 <http://bugzilla.opendarwin.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
74 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
76 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
77 are expected to be retained by the plug-in, and released by the caller.
79 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
81 Reviewed by Tim Hatcher.
83 Fixes one chunk of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10604
85 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
86 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
89 * Scripts/run-webkit-tests:
90 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
92 2006-08-28 Darin Adler <darin@apple.com>
94 Reviewed by Tim Hatcher.
96 * Scripts/build-drosera: Fix behavior when there are multiple options.
98 2006-08-27 Timothy Hatcher <timothy@apple.com>
102 Drosera will be built when you type make.
104 * Drosera/Makefile: Added.
106 * Makefile.shared: Added.
108 2006-08-27 Anders Carlsson <acarlsson@apple.com>
112 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
113 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
114 (WebCore::DumpRenderTree::DumpRenderTree):
115 (WebCore::DumpRenderTree::~DumpRenderTree):
116 (WebCore::DumpRenderTree::open):
117 (WebCore::DumpRenderTree::readStdin):
118 (WebCore::DumpRenderTree::checkLoaded):
119 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
120 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
123 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
125 Reviewed by Eric, landed by Anders.
127 Add DumpRenderTree support for Qt/Linux.
129 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
130 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
131 (WebCore::DumpRenderTree::DumpRenderTree):
132 (WebCore::DumpRenderTree::~DumpRenderTree):
133 (WebCore::DumpRenderTree::open):
134 (WebCore::DumpRenderTree::readStdin):
135 (WebCore::DumpRenderTree::checkLoaded):
136 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
137 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
139 * Scripts/build-dumprendertree:
140 * Scripts/run-webkit-tests:
141 * Scripts/webkitdirs.pm:
143 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
145 Reviewed by Eric. Landed by rwlbuis.
147 Add QtLauncher (was testunity before), which provides a
148 standalone "browser" to test the Qt platform stuff.
150 * QtLauncher/CMakeLists.txt: Added.
151 * QtLauncher/main.cpp: Added.
154 2006-08-22 Trey Matteson <trey@usa.net>
158 Added support for a new set of browser navigation tests. The main feature
159 is the ability for a test to queue up a set of future actions that will
160 happen after that first page is loaded. This is used to simulate a sequence
161 of user actions such as filling out forms, loading additional pages or
162 going back. In addition we can now dump out the state of the back/forward
163 list, and the scroll position is dumped if not at 0,0.
165 * DumpRenderTree/DumpRenderTree.m:
166 (main): Init new state
167 (compareHistoryItems): New utility to support sorting.
168 (dumpHistoryItem): Write out a WebHistoryItem and kids.
169 (dumpFrameScrollPosition): Write out the scroll position.
170 (dump): Optionally write b/f list or scroll position.
171 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
172 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
173 Kick off any queued actions. Fixed for the case of loads started in
174 a subframe instead of the root frame.
175 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
176 Grab the topmost frame that is being loaded. Do this as early as possible,
177 instead of in didCommitLoadForFrame.
178 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
179 Noting a load has started now happens in previous method.
180 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
181 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
182 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
184 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
185 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
186 Add new work to the queue.
187 (-[LayoutTestController _doLoad:target:]): Do a queued load.
188 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
189 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
190 (-[LayoutTestController scheduleForwardNav:]):
191 (-[LayoutTestController scheduleReload]):
192 (-[LayoutTestController scheduleScript:]):
193 (-[LayoutTestController scheduleLoad:target:]):
194 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
195 since it's not one of the functions that does any dumping.
197 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
201 - added a function to create a few DOMKeyboardEvents and dispatch
202 them to a specified HTML element
203 http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
205 * DumpRenderTree/EventSendingController.m:
206 (+[EventSendingController isSelectorExcludedFromWebScript:]):
207 (+[EventSendingController webScriptNameForSelector:]):
208 (-[EventSendingController fireKeyboardEventsToElement:]):
210 2006-08-15 Duncan Wilcox <duncan@mclink.it>
212 Reviewed and tweaked by Darin.
214 - added DumpRenderTree support so editing delegate can be made to refuse edits
215 to enable tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=10129
217 * DumpRenderTree/DumpRenderTree.m:
218 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
219 to the list of methods.
220 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
221 without the colon, for the JavaScript name.
222 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
224 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
226 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
227 setter methods to the class.
228 * DumpRenderTree/EditingDelegate.m:
229 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
230 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
231 return the value of acceptsEditing.
232 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
233 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
234 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
235 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
236 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
238 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
239 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
240 (-[EditingDelegate setAcceptsEditing:]): Added.
242 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
246 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
247 http://bugzilla.opendarwin.org/show_bug.cgi?id=10224
249 * Drosera/Drosera.xcodeproj/project.pbxproj:
250 * Drosera/LauncherInfo.plist:
252 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
254 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
255 when a test performs an unsuccessful drag and drop operation.
257 * DumpRenderTree/EventSendingController.m:
258 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
259 drag operation for the mouse release is NSDragOperationNone.
261 2006-08-02 Timothy Hatcher <timothy@apple.com>
265 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
266 http://bugzilla.opendarwin.org/show_bug.cgi?id=9632
268 Do not change the file source when normalizing the line endings.
269 We use this file source to compare against new versions of the source
270 as it comes in, so we can skip re-syntax highlighting if they are the same.
271 The problem is apparent on yahoo.com since they have mixed line endings and
272 once we normalize them the source will always be different. This was
273 compounded by the fact that yahoo has around 40 inline scripts. Each
274 inline script causes us to check if the main document has more loaded,
275 that is when we compare the source strings. Since they are always different
276 we would syntax highlight yahoo.com 40 times! We do check source length before
277 doing a more expensive string comparison, but the lengths were the same.
279 * Drosera/debugger.js:
281 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
285 Bug 9931: [Drosera] Needs a cool icon
286 http://bugzilla.opendarwin.org/show_bug.cgi?id=9931
288 * Drosera/Drosera.icns: Added.
289 * Drosera/Drosera.xcodeproj/project.pbxproj:
290 * Drosera/Info.plist:
292 2006-08-01 Darin Adler <darin@apple.com>
294 - fix a bug in my recent change where the mouse position at the end of
295 the last test would affect the results of the next test
297 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
299 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
303 http://bugzilla.opendarwin.org/show_bug.cgi?id=10182
304 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
306 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
307 Correct the logic to not reload local variable list unless an '=' character is in the expression.
309 2006-07-31 Darin Adler <darin@apple.com>
313 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10171
314 REGRESSION: failing layout test: fast/events/objc-event-api.html
316 * DumpRenderTree/DumpRenderTree.m:
317 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
318 location in flipped coordinates, since those are the coordinates that we use.
319 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
322 * DumpRenderTree/EventSendingController.m:
323 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
324 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
325 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
326 probably worked OK, but this is needed to be correct.
327 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
328 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
329 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
330 dump the screenY as-is.
332 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
336 http://bugzilla.opendarwin.org/show_bug.cgi?id=10178
337 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
339 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
340 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
342 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
346 http://bugzilla.opendarwin.org/show_bug.cgi?id=10175
347 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
349 * Drosera/DebuggerDocument.m:
350 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
352 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
356 http://bugzilla.opendarwin.org/show_bug.cgi?id=10167
357 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
359 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
362 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
366 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
367 http://bugzilla.opendarwin.org/show_bug.cgi?id=9686
369 * Drosera/DebuggerDocument.m:
370 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
371 ensure that the server does not try and notify us of events related to the resumption.
372 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
373 call through to JavaScript.
374 * Drosera/debugger.js: Pause debugger when exception is raised.
376 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
380 - fixes for Linux build
382 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
383 * GdkLauncher/gdklauncher.bkl: Tweak comment.
385 2006-07-24 Dan Waylonis <waylonis@google.com>
387 Reviewed and tweaked a bit by Darin.
389 * DumpRenderTree/ObjCPlugin.m:
390 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
391 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
392 "echo:" so it's nice to call from JavaScript.
393 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
394 to test a round trip through Objective-C types.
396 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
400 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10060
401 Improve iExploder results parsing
403 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
406 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
410 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9964
411 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
413 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
415 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
419 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
420 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
422 Removed "Property changes" that snuck in as part of the "apply patch" process.
424 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
428 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9875
429 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
432 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
434 (patch): Use patch(1) for non-binary additions and deletions.
435 * Scripts/svn-unapply:
437 (patch): Use patch(1) for reverting non-binary additions and deletions.
438 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
440 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
444 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
445 http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
447 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
448 so, have stepOut pause on the next call to willExecuteStatement rather than second.
450 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
454 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
455 Teach svn-create-patch and friends to fix ChangeLog patches
457 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
458 * Scripts/svn-create-patch: Ditto.
459 * Scripts/svn-unapply: Ditto.
461 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
465 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
466 http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
468 * Drosera/DebuggerDocument.m:
469 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
471 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
475 Bug 9863: Drosera needs to show something at launch
476 http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
478 * Drosera/DebuggerApplication.m:
479 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
481 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
485 Lets Drosera build universal for the nightlies. Right now it is not
486 possible to build a universal binary on a PPC machine because of a
487 conflict with the universal SDK.
489 * BuildSlaveSupport/build-launcher-app:
490 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
492 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
496 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
497 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
499 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
500 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
501 should open a new stream and deliver the data to the current instance.
503 2006-07-11 Timothy Hatcher <timothy@apple.com>
507 Bug 9598: [Drosera] add a JavaScript evaluator console
508 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
510 * Drosera/DebuggerApplication.h:
511 * Drosera/DebuggerApplication.m:
512 (-[DebuggerApplication knownServers]):
513 * Drosera/DebuggerDocument.h:
514 * Drosera/DebuggerDocument.m:
515 (-[WebScriptObject evaluateScript:inCallFrame:]):
516 (-[WebScriptObject showConsole:]):
517 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
518 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
519 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
520 (-[WebScriptObject webView:createWebViewWithRequest:]):
521 (-[WebScriptObject webViewShow:]):
522 (-[WebScriptObject webViewAreToolbarsVisible:]):
523 (-[WebScriptObject webView:setToolbarsVisible:]):
524 (-[WebScriptObject webView:setResizable:]):
525 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
526 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
527 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
528 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
529 (-[WebScriptObject webView:didFinishLoadForFrame:]):
530 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
531 * Drosera/Drosera.xcodeproj/project.pbxproj:
532 * Drosera/Images/console.png: Added.
533 * Drosera/console.css: Added.
534 * Drosera/console.html: Added.
535 * Drosera/console.js: Added.
537 2006-07-11 Timothy Hatcher <timothy@apple.com>
539 Reviewed by a tired Geoff.
541 Bug 9597: [Drosera] hook up the variables table to show stack variables
542 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
544 * Drosera/DebuggerDocument.m:
545 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
546 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
547 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
548 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
549 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
550 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
551 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
552 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
553 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
554 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
555 * Drosera/debugger.css:
556 * Drosera/debugger.html:
557 * Drosera/debugger.js:
559 2006-07-10 Tim Omernick <timo@apple.com>
561 Reviewed by Beth Dakin.
563 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
564 Add DOM access test to DumpRenderTree's Netscape plug-in
566 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
570 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
574 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
575 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
577 Now track three states: initializing, running, and closed. If we are launched and the previous
578 state was initializing then we likely just experienced a crash on launch.
580 * WebKitLauncher/WebKitNightlyEnabler.m:
581 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
582 (myApplicationWillTerminate): Update to use new states.
583 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
584 initializing as early as practical.
585 (symbol_lookup): Bring code up to speed with formatting guidelines.
586 (GDSymbolLookup): Ditto.
588 2006-07-10 Darin Adler <darin@apple.com>
590 - try to fix Windows build
592 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
593 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
595 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
597 Build fix. Reviewed by NOBODY.
599 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
600 devenv.com not available in VC++ Express installations
602 * Scripts/webkitdirs.pm: Backed out previous change.
604 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
608 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
609 svn-apply should set ChangeLog date correctly when applying patches
611 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
612 before applying the patch.
613 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
615 2006-07-09 Darin Adler <darin@apple.com>
617 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
619 2006-07-09 Darin Adler <darin@apple.com>
621 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
623 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
625 Reviewed by NOBODY (build fix).
627 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
628 devenv.com not available in VC++ Express installations
630 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
631 work again. Add VC++ Express check as the fallback.
633 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
635 Reviewed by Timothy Hatcher.
637 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
638 devenv.com not available in VC++ Express installations
640 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
642 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
646 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
647 Patch by coldwinter@katamail.com.
649 In the congratulations message, "capatibilies" should be "capabilities".
651 * Scripts/build-webkit:
653 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
655 Reviewed by Timothy Hatcher.
657 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
658 Teach run-webkit-tests how to ignore tests with performance improvements
660 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
661 feature, and minor clean up.
663 2006-07-08 Darin Adler <darin@apple.com>
665 Reviewed by Geoff (well, half of it at least).
667 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
668 storage leaks in Objective-C tests
670 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
671 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
672 Add a release to fix a storage leak.
674 2006-07-08 Darin Adler <darin@apple.com>
676 * Scripts/do-webcore-rename: A few more.
678 2006-07-08 Darin Adler <darin@apple.com>
680 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
682 2006-07-04 Maciej Stachowiak <mjs@apple.com>
686 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
687 - add support for dumping non-HTML as text - in this case use textContent
690 * DumpRenderTree/DumpRenderTree.m:
693 2006-07-02 Timothy Hatcher <timothy@apple.com>
697 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
698 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
700 Adds step over and step out. Along with a little code cleanup
701 that was minor enough to piggyback on this fix.
703 * Drosera/DebuggerDocument.h:
704 * Drosera/DebuggerDocument.m:
705 (-[DebuggerDocument stepOver:]):
706 (-[DebuggerDocument stepOut:]):
707 (-[DebuggerDocument windowDidLoad]):
708 (-[DebuggerDocument windowWillClose:]):
709 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
710 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
711 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
712 (-[DebuggerDocument validateUserInterfaceItem:]):
713 * Drosera/Drosera.xcodeproj/project.pbxproj:
714 * Drosera/debugger.html:
715 * Drosera/debugger.js:
716 * Drosera/viewer.css:
718 2006-07-02 Timothy Hatcher <timothy@apple.com>
722 Bug 9628: [Drosera] Split Views acting oddly
723 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
725 Only update the last X or Y coordinate if the new
726 size was not constrained. Also adds the resize cursor to
727 the body during the drag incase there is a constrained
728 over drag off of the resizer element.
730 * Drosera/debugger.js:
732 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
734 Reviewed by Alexy Proskuryakov.
736 Bug 9692: Warning about Safari extensions on every launch is obnoxious
737 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
739 * WebKitLauncher/WebKitNightlyEnabler.m:
740 (myApplicationWillTerminate): Note that we are exiting cleanly.
741 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
742 to exit cleanly on our last invocation. This doesn't play nicely with
743 multiple concurrent instances of WebKit.app so it can be disabled via
744 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
746 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
748 Reviewed by Alexy Proskuryakov.
750 Bug 9654: Refresh Loop when accessing feed URLs
751 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
753 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
755 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
757 Reviewed by Timothy Hatcher.
759 Bug 9689: Nightly builds should warn a user about potential problems when using
761 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
763 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
764 * WebKitLauncher/WebKitNightlyEnabler.m:
765 (myBundleDidLoad): Keep track of if any bundles that are loaded.
766 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
767 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
768 NSApplicationWillFinishLaunchingNotification notifications so that we can
769 track bundle loads and notify the user at launch completion.
771 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
775 - first check-in of a Gdk shell for testing WebKit
777 * GdkLauncher: Added.
779 2006-06-29 Timothy Hatcher <timothy@apple.com>
783 Need to call window close so WebView tears-down completly.
785 * DumpRenderTree/DumpRenderTree.m:
786 (main): call [window close]
788 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
792 Bug 9615: Buildbot configuration should be in SVN repository
793 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
795 Import BuildBot configuration files as used by build.webkit.org.
796 auth.py has been stubbed out so that slave passwords are not disclosed.
798 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
799 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
800 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
801 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
802 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
803 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
804 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
805 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
806 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
807 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
808 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
809 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
811 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
815 Bug 9614: Nightly builds should notify user if a newer build is available
816 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
818 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
819 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
820 script so it can keep track of the latest revision.
821 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
822 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
823 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
824 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
825 the nightly start page.
827 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
831 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
832 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
834 Report screenY values as (height of zero screen - screenY)
836 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
838 2006-06-25 Timothy Hatcher <timothy@apple.com>
842 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
843 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
845 Makes breakpoints dragable. If dragged off the gutter they are deleted.
847 * Drosera/debugger.js:
848 * Drosera/viewer.css:
850 2006-06-25 Timothy Hatcher <timothy@apple.com>
854 Bug 9568: assertion failure in Safari after quitting Drosera
855 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
857 Call switchToServerNamed:nil and not removeLister to make sure
858 the server object is set to nil to prevent further removeListener calls.
860 * Drosera/DebuggerDocument.m:
861 (-[DebuggerDocument applicationTerminating:]):
863 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
867 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
868 that the directory is not empty instead of reading in every single file and directory first,
869 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
872 2006-06-25 Darin Adler <darin@apple.com>
874 * Scripts/svn-apply: Tweak comments.
875 * Scripts/svn-create-patch: Ditto.
876 * Scripts/svn-unapply: Ditto.
878 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
880 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
882 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
884 * Scripts/svn-apply: Formatting fix.
886 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
890 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
891 Teach svn-apply and svn-unapply to handle directory adds and removes better
893 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
894 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
896 2006-06-25 Timothy Hatcher <timothy@apple.com>
900 Bug 9574: Drosera should show inline scripts within the original HTML
901 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
903 Refactor the JavaScript code to have a distinction between files
904 and scripts. Show the script in the context of the HTML file if
905 it's URL is the same as the frame's main resource. At the time of
906 the disParseScript callback the main resource might not be completely
907 loaded, but Drosera needs to show whatever we have at the time. Once
908 the main resource is finished, update the file source and reload the file.
910 * Drosera/DebuggerDocument.m:
911 (-[DebuggerDocument pause]):
912 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
913 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
914 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
915 * Drosera/debugger.css:
916 * Drosera/debugger.js:
918 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
922 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
923 Teach prepare-ChangeLog to operate on a list of files or directories
925 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
926 * Scripts/svn-create-patch: Code refactoring.
928 2006-06-24 James G. Speth <speth@end.com>
932 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
933 add a way to build Objective-C test cases in HTML
935 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
936 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
937 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
940 * DumpRenderTree/ObjCPlugin.h:
941 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
942 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
943 (+[ObjCPlugin webScriptNameForSelector:]):
944 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
945 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
946 (+[NSObject allowsScriptsFullAccess]):
947 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
948 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
949 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
950 (+[JSObjC webScriptNameForSelector:]):
951 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
952 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
953 (-[JSObjC log:]): access to NSLog function
954 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
955 (-[JSObjC classOfObject:]):
956 (-[JSObjC classNameOfObject:]):
958 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
962 * DrawTest/Info.plist: Added copyright statement.
963 * Drosera/Info.plist: Ditto.
964 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
965 * WebKitLauncher/Info.plist: Ditto.
967 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
969 Build fix. Reviewed by NOBODY.
971 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
972 devenv.com not available in VC++ Express installations
974 * Scripts/webkitdirs.pm: Backed out previous change.
976 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
980 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
981 devenv.com not available in VC++ Express installations
983 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
985 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
989 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
990 A bunch of fixes to run-webkit-httpd
992 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
993 127.0.0.1. Useful for testing with WinIE running on another machine;
994 - don't call checkFrameworks() - we do not need a built WebKit here;
995 - changed tabs to spaces;
996 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
997 interactive mode, they were a hassle when testing with several browsers, as one
998 had to wait for connection to expire);
999 - remove httpd.pid when done, so that Apache doesn't complain next time.
1001 * Scripts/run-webkit-httpd:
1003 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1005 Reviewed by ggaren, landed by ap.
1007 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
1008 Complete DOMUIEvent Obj-C API to reflect UIEvent
1010 Add function to enable logging of all events of one DOM node to stdout.
1012 * DumpRenderTree/EventSendingController.h:
1013 * DumpRenderTree/EventSendingController.m:
1014 (+[EventSendingController initialize]):
1015 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1016 (+[EventSendingController webScriptNameForSelector:]):
1017 (-[EventSendingController enableDOMUIEventLogging:]):
1018 (-[EventSendingController handleEvent:]):
1020 2006-06-23 Kevin Decker <kdecker@apple.com>
1022 Reviewed by Tim Hatcher.
1024 - Made column headers in Drosera resizable.
1026 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1030 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
1031 Another case error preventing build
1033 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1035 2006-06-22 Timothy Hatcher <timothy@apple.com>
1039 Adds a native toolbar to Drosera to be a good citizen.
1040 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1041 Fixes a dragging bug from an earlier fix to the divider code.
1042 Fixes some poor indenting in debugger.js.
1044 * Drosera/DebuggerDocument.h:
1045 * Drosera/DebuggerDocument.m:
1046 (-[DebuggerDocument stepInto]):
1047 (-[DebuggerDocument pause:]):
1048 (-[DebuggerDocument resume:]):
1049 (-[DebuggerDocument stepInto:]):
1050 (-[DebuggerDocument windowDidLoad]):
1051 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1052 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1053 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1054 (-[DebuggerDocument validateUserInterfaceItem:]):
1055 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1056 * Drosera/English.lproj/MainMenu.nib/info.nib:
1057 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1058 * Drosera/debugger.css:
1059 * Drosera/debugger.html:
1060 * Drosera/debugger.js:
1061 * Drosera/viewer.html:
1063 2006-06-22 Kevin Decker <kdecker@apple.com>
1067 - Added pressed column header image.
1068 - Made column headers behave more like Xcode.
1070 2006-06-22 Timothy Hatcher <timothy@apple.com>
1072 Reviewed by Kevin Decker.
1074 Code clean up. Adds the stackframe and makes only the body
1075 of the tables scrollable keeping the header visible.
1076 Shows the current function stack when paused or stepping.
1078 * Drosera/DebuggerApplication.m:
1079 (-[DebuggerApplication awakeFromNib]):
1080 (-[DebuggerApplication numberOfRowsInTableView:]):
1081 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1082 * Drosera/DebuggerDocument.h:
1083 * Drosera/DebuggerDocument.m:
1084 (-[DebuggerDocument dealloc]):
1085 (-[DebuggerDocument currentFrame]):
1086 (-[DebuggerDocument currentFrameFunctionName]):
1087 (-[DebuggerDocument currentFunctionStack]):
1088 (-[DebuggerDocument log:]):
1089 (-[DebuggerDocument windowWillClose:]):
1090 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1091 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1092 * Drosera/Drosera.xcodeproj/project.pbxproj:
1093 * Drosera/debugger.css:
1094 * Drosera/debugger.html:
1095 * Drosera/debugger.js:
1097 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1101 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1103 * Scripts/run-webkit-httpd:
1105 2006-06-22 Kevin Decker <kdecker@apple.com>
1107 Reviewed by Tim Hatcher.
1109 - More progress toward Javascript Debugger.
1110 - Added some new images to the project.
1112 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1116 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
1117 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1119 * Scripts/run-webkit-httpd: Added.
1121 2006-06-20 Timothy Hatcher <timothy@apple.com>
1125 Builds Drosera and a launcher to include with the nightly.
1127 * BuildSlaveSupport/build-launcher-app:
1128 * BuildSlaveSupport/build-launcher-dmg:
1129 * Drosera/Drosera.xcodeproj/project.pbxproj:
1130 * Drosera/Info.plist:
1131 * Drosera/LauncherInfo.plist: Added.
1132 * Drosera/launcher.m: Added.
1133 (displayErrorAndQuit):
1134 (checkMacOSXVersion):
1137 * Scripts/build-drosera
1138 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1139 * WebKitLauncher/main.m:
1142 2006-06-20 Timothy Hatcher <timothy@apple.com>
1146 Adds a JavaScript debugger, called Drosera. Named after
1147 a genus of bug eating plants.
1149 * Drosera/DebuggerApplication.h: Added.
1150 * Drosera/DebuggerApplication.m: Added.
1151 (-[DebuggerApplication applicationDidFinishLaunching:]):
1152 (-[DebuggerApplication serverLoaded:]):
1153 (-[DebuggerApplication serverUnloaded:]):
1154 (-[DebuggerApplication awakeFromNib]):
1155 (-[DebuggerApplication showAttachPanel:]):
1156 (-[DebuggerApplication attach:]):
1157 (-[DebuggerApplication numberOfRowsInTableView:]):
1158 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1159 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1160 (-[DebuggerApplication tableViewSelectionDidChange:]):
1161 * Drosera/DebuggerDocument.h: Added.
1162 * Drosera/DebuggerDocument.m: Added.
1163 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1164 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1165 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1166 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1167 (-[DebuggerDocument initWithServerName:]):
1168 (-[DebuggerDocument windowWillClose:]):
1169 (-[DebuggerDocument dealloc]):
1170 (-[DebuggerDocument isPaused]):
1171 (-[DebuggerDocument pause]):
1172 (-[DebuggerDocument resume]):
1173 (-[DebuggerDocument step]):
1174 (-[DebuggerDocument windowNibName]):
1175 (-[DebuggerDocument windowDidLoad]):
1176 (-[DebuggerDocument switchToServerNamed:]):
1177 (-[DebuggerDocument applicationTerminating:]):
1178 (-[DebuggerDocument serverConnectionDidDie:]):
1179 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1180 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1181 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1182 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1183 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1184 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1185 * Drosera/Drosera.pch: Added.
1186 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1187 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1188 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1189 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1190 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1191 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1192 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1193 * Drosera/Images/breakPoint.tif: Added.
1194 * Drosera/Images/breakPointDisabled.tif: Added.
1195 * Drosera/Images/continue.tif: Added.
1196 * Drosera/Images/finishFunction.tif: Added.
1197 * Drosera/Images/glossyFooterFill.tif: Added.
1198 * Drosera/Images/glossyHeader.png: Added.
1199 * Drosera/Images/gradientBackground.png: Added.
1200 * Drosera/Images/gutter.png: Added.
1201 * Drosera/Images/navLeftDisabled.png: Added.
1202 * Drosera/Images/navLeftNormal.png: Added.
1203 * Drosera/Images/navLeftPressed.png: Added.
1204 * Drosera/Images/navRightDisabled.png: Added.
1205 * Drosera/Images/navRightNormal.png: Added.
1206 * Drosera/Images/navRightPressed.png: Added.
1207 * Drosera/Images/pause.tif: Added.
1208 * Drosera/Images/popUpArrows.png: Added.
1209 * Drosera/Images/programCounter.tif: Added.
1210 * Drosera/Images/programCounterBreakPoint.tif: Added.
1211 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1212 * Drosera/Images/run.tif: Added.
1213 * Drosera/Images/splitterBar.tif: Added.
1214 * Drosera/Images/splitterDimple.tif: Added.
1215 * Drosera/Images/step.tif: Added.
1216 * Drosera/Images/stepOver.tif: Added.
1217 * Drosera/Images/stop.tif: Added.
1218 * Drosera/Images/toolbarBackground.png: Added.
1219 * Drosera/Info.plist: Added.
1220 * Drosera/debugger.css: Added.
1221 * Drosera/debugger.html: Added.
1222 * Drosera/debugger.js: Added.
1223 * Drosera/main.m: Added.
1225 * Drosera/viewer.css: Added.
1226 * Drosera/viewer.html: Added.
1228 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1232 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
1233 Teach svn-apply and svn-unapply to use full path names
1235 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1236 * Scripts/svn-unapply: Ditto.
1238 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1242 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
1243 DumpRenderTree should be able to keep URL history during runs
1245 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1247 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1248 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1249 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1250 it is currently nil since keepWebHistory() might be called more than once incidentally
1252 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1253 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1255 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1259 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
1260 Make prepare-ChangeLog faster
1262 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1263 then save the diff output for reuse. Keep a status variable if changes are made to
1264 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1265 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1266 for no changed files closer to the beginning of the program.
1268 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1270 Reviewed and landed by ap.
1272 - make DumpRenderTree build
1274 * DumpRenderTree/DumpRenderTree.m:
1275 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1276 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1277 (-[LayoutTestController setWindowIsKey:]): Ditto.
1278 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1280 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1282 Reviewed by Darin, landed by Geoff.
1284 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
1285 Use pathcmp() when sorting paths in svn-create-patch
1287 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1288 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1289 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1290 switch and printUsage() subroutine.
1292 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1296 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
1297 Teach svn-create-patch to sort its output
1299 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1300 by text files first, then by binary files.
1302 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1306 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
1307 Teach svn-create-patch and friends to work with binary files
1309 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1310 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1311 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1313 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1317 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
1318 Performance improvement for svn-create-patch
1320 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1322 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1326 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
1327 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1329 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1330 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1332 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1336 Switch Spinneret to new hosting mechanism
1338 * Spinneret/Spinneret.sln:
1339 * Spinneret/Spinneret/Spinneret.cpp:
1340 (SpinneretWebHost::updateAddressBar):
1341 (SpinneretWebHost::QueryInterface):
1342 (SpinneretWebHost::AddRef):
1343 (SpinneretWebHost::Release):
1350 * Spinneret/Spinneret/Spinneret.h:
1351 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1352 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1353 (SpinneretWebHost::didFailProvisionalLoadWithError):
1354 (SpinneretWebHost::didCommitLoadForFrame):
1355 (SpinneretWebHost::didReceiveTitle):
1356 (SpinneretWebHost::didReceiveIcon):
1357 (SpinneretWebHost::didFinishLoadForFrame):
1358 (SpinneretWebHost::didFailLoadWithError):
1359 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1360 (SpinneretWebHost::willPerformClientRedirectToURL):
1361 (SpinneretWebHost::didCancelClientRedirectForFrame):
1362 (SpinneretWebHost::willCloseFrame):
1363 (SpinneretWebHost::windowScriptObjectAvailable):
1364 * Spinneret/Spinneret/Spinneret.vcproj:
1366 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1370 Updated build script
1372 * Scripts/build-webkit:
1374 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1378 * DumpRenderTree/DumpRenderTree.m:
1379 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1380 (-[LayoutTestController clearBackForwardList]):
1381 Add clearBackForwardList function to layoutTestController
1383 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1387 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
1388 slow-utf8-text layout test case failing (no longer deterministic?)
1390 * DumpRenderTree/DumpRenderTree.m:
1392 Dump as text when the response MIME type is text/plain
1394 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1398 * Spinneret/Spinneret.sln:
1399 * Spinneret/Spinneret/Spinneret.vcproj:
1401 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1405 Added 'GCController' to DRT to support garbage collection layout tests.
1407 GCController.collect() and GCController.collectOnAlternateThread() do
1408 what you would expect. The latter takes a boolean argument sepcifying
1409 whether to wait for garbage collection to finish before continuing to
1412 * DumpRenderTree/DumpRenderTree.m:
1413 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1414 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1415 * DumpRenderTree/GCController.h: Added.
1416 * DumpRenderTree/GCController.mm: Added.
1417 (+[GCController isSelectorExcludedFromWebScript:]):
1418 (+[GCController webScriptNameForSelector:]):
1419 (-[GCController collect]):
1420 (-[GCController collectOnAlternateThread:]):
1422 2006-05-23 John Sullivan <sullivan@apple.com>
1426 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1427 Newer Xcode removed some obsolete cruft
1429 * DumpRenderTree/TextInputController.m:
1430 (-[TextInputController textInput]):
1431 added (id) cast to make newer compiler happy
1433 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1439 * Spinneret/Spinneret.sln:
1441 2006-05-18 Darin Adler <darin@apple.com>
1443 - try to fix no-SVG, no-XPATH build, again
1445 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1447 2006-05-18 Darin Adler <darin@apple.com>
1449 - try to fix no-SVG, no-XPATH build
1451 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1452 since the former is what's used in the WebCore project now.
1454 2006-05-17 Darin Adler <darin@apple.com>
1456 * Scripts/do-webcore-rename: Some more future renames.
1458 2006-05-16 Adele Peterson <adele@apple.com>
1462 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1463 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1465 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1467 * Scripts/install-unix-extras: Changed to be executable and removed
1468 text in the file generated by "svn diff".
1469 * Scripts/regenerate-makefiles: Ditto.
1471 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1473 Reviewed by Darin, landed by ap.
1475 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1476 Bakefiles (and generated Makefiles) for wx and gdk ports
1478 * Scripts/install-unix-extras: Added.
1479 * Scripts/regenerate-makefiles: Added.
1481 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1485 Fix registry usage from perl script. Turns out libwin32's
1486 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1488 * Scripts/install-win-extras:
1490 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1493 Add load ended callback.
1497 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1498 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1499 * Spinneret/Spinneret/Spinneret.cpp:
1500 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1501 (_tWinMain): Load built-in test content here instead of in lower-level code.
1502 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1504 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1508 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1510 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1514 * Scripts/check-dom-results:
1515 Add XPath to the list of results.
1517 2006-05-08 Darin Adler <darin@apple.com>
1519 * Scripts/do-webcore-rename: Add another rename.
1521 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1525 Spinneret now links against the new separate lib.
1527 * Spinneret/Spinneret.sln:
1528 * Spinneret/Spinneret/Spinneret.cpp:
1529 (SpinneretWebHost::updateLocationBar):
1531 * Spinneret/Spinneret/Spinneret.h:
1532 * Spinneret/Spinneret/Spinneret.vcproj:
1533 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1534 * Spinneret/Spinneret/WebFrame.h: Removed.
1535 * Spinneret/Spinneret/WebView.cpp: Removed.
1536 * Spinneret/Spinneret/WebView.h: Removed.
1538 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1542 Modify error reporting registry keys to disable Dr. Watson.
1543 This allows Javascript test cases to complete without blocking UI.
1545 * Scripts/install-win-extras:
1546 - Use Perl Win32 registry functions to disable blocking UI
1549 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1553 Turned off C++ exceptions, fixed memory leaks
1555 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1556 * Spinneret/Spinneret.sln:
1557 * Spinneret/Spinneret/Spinneret.cpp:
1559 * Spinneret/Spinneret/Spinneret.vcproj:
1560 * Spinneret/Spinneret/WebFrame.cpp:
1561 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1562 (WebKit::WebFrame::WebFrame):
1563 (WebKit::WebFrame::~WebFrame):
1564 (WebKit::WebFrame::impl):
1565 * Spinneret/Spinneret/WebFrame.h:
1566 * Spinneret/Spinneret/WebView.cpp:
1567 * Spinneret/Spinneret/stdafx.h:
1569 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1573 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1574 DumpRenderTree should reset the URL cache
1576 * DumpRenderTree/DumpRenderTree.m:
1577 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1579 2006-04-28 Eric Seidel <eseidel@apple.com>
1581 Reviewed by andersca.
1583 * Scripts/do-webcore-rename: rename KCanvasContainer too
1584 * Scripts/run-webkit-tests: output total time
1586 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1588 Reviewed by hyatt. Landed by eseidel.
1590 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1591 Enable detection of excessive repainting with DumpRenderTree
1593 * DumpRenderTree/DumpRenderTree.m:
1594 (-[LayoutTestController display]):
1596 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1600 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1601 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1603 * DumpRenderTree/DumpRenderTree.m:
1604 (dump): If display() has been called during the test, grab the pixels from
1605 the view, after letting it repaint invalidated rects.
1606 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1607 (-[LayoutTestController display]): Added. Calls -display on the view
1608 and changes the subsequent behavior of dump().
1611 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1615 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1616 Update iExploder to 1.3.2
1618 Test case numbers are not compatible with iExploder 1.2.
1620 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1622 * iExploder/CHANGELOG.txt: Added.
1623 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1624 * iExploder/README.txt: Added some performance hints.
1626 * iExploder/htdocs/config.rb: Added.
1627 * iExploder/htdocs/cssproperties.in:
1628 * iExploder/htdocs/cssvalues.in:
1629 * iExploder/htdocs/htmlattrs.in:
1630 * iExploder/htdocs/htmltags.in:
1631 * iExploder/htdocs/iexploder.cgi:
1632 - Updated to support the latest HTML & CSS tags, properties, and values from both
1633 the WebKit and Mozilla CVS tree
1634 - cssproperties.in cleanup
1635 - Modularized the code a little bit.
1636 - Fix subtest bug that was causing last 5 tags to be missed
1637 - new subtest algorithm to deal better with larger tag counts
1638 - default HTML_MAX_TAGS increased from 32 to 96
1640 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1641 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1642 alternative to our run-iexploder-tests.
1643 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1644 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1645 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1647 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1649 - commit Scripts/run-mangleme-tests (missed it the previous time).
1651 2006-04-18 Darin Adler <darin@apple.com>
1653 - attempt to fix Windows buildbot
1655 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1656 We need a better long-term solution for this.
1658 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1662 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1663 Integrate mangleme test script.
1665 Works in a similar way to run-iexploder-tests.
1667 * Scripts/run-mangleme-tests: Added.
1669 * mangleme/Makefile: Added.
1670 * mangleme/README: Added.
1671 * mangleme/mangle.cgi.c: Added.
1672 * mangleme/remangle.cgi.c: Added.
1673 * mangleme/tags.h: Added.
1675 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1679 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1680 An easier way to save iExploder tests.
1682 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1684 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1688 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1689 Integrate iExploder test script.
1691 This script generates artificially mangled HTML documents, to test that the browser
1692 doesn't crash when handling ill-formed code.
1695 run-iexploder-tests Open an interactive test page in Safari+ToT.
1696 run-iexploder-tests nnnnn Open test #nnnnn.
1698 Command line options:
1699 --guard-malloc (-g) Use Guard Malloc.
1700 --port=nnnn Run Apache on port nnnn (default is 8000).
1702 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1703 (thus, Apache is still running), e.g.:
1704 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1706 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1708 * Scripts/run-iexploder-tests: Added.
1710 * iExploder/LICENSE.txt: Added.
1711 * iExploder/README.txt: Added.
1712 * iExploder/htdocs: Added.
1713 * iExploder/htdocs/cssproperties.in: Added.
1714 * iExploder/htdocs/cssvalues.in: Added.
1715 * iExploder/htdocs/htmlattrs.in: Added.
1716 * iExploder/htdocs/htmltags.in: Added.
1717 * iExploder/htdocs/htmlvalues.in: Added.
1718 * iExploder/htdocs/iexploder.cgi: Added.
1719 * iExploder/htdocs/index.html: Added.
1720 * iExploder/tools: Added.
1721 * iExploder/tools/lasthit.rb: Added.
1722 * iExploder/tools/osx_last_crash.rb: Added.
1724 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1728 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1729 Restore color profile after a crash
1731 * DumpRenderTree/DumpRenderTree.m:
1732 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1733 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1734 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1735 and this code may change significantly.
1737 (main): Install crashHandler.
1739 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1740 (CFStringGetCStringPtr should NEVER EVER be used!).
1742 2006-04-15 Darin Adler <darin@apple.com>
1746 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1747 Seems xmlsoft.org's HTTP no longer has what we need.
1749 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1751 Rubber-stamped by Darin.
1753 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1754 upload-disk-image stage on buildslaves fail with "No space left on device"
1756 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1757 'hdiutil create'. This creates the initial disk image based on the size of
1758 the source folder, and copies the contents to the new disk image. The file
1759 extension on the temporary uncompressed disk image has also been altered from
1760 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1761 the extension is not ".dmg".
1763 2006-04-12 Eric Seidel <eseidel@apple.com>
1767 * Scripts/update-webkit: Make this return non-zero when svn fails.
1769 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1773 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1774 Make HTTP tests using Perl use .pl extension
1776 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1777 removed support for .text. Reduced the number of places that explicitly list supported
1778 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1781 2006-04-06 Darin Adler <darin@apple.com>
1783 Changes requested by Mark Rowe.
1785 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1786 trash at the end of the file.
1787 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1789 * WebKitLauncher/main.m: Removed trash at end of file.
1791 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1794 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1796 Reviewed by Darin, landed by Maciej.
1798 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1799 and bundles the WebKit frameworks inside it.
1800 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1801 containing WebKit.app.
1802 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1803 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1804 number of the SVN working copy.
1805 * WebKitLauncher: Added.
1806 * WebKitLauncher/Info.plist: Added.
1807 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1808 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1809 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1810 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1811 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1812 the nightly launcher.
1813 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1814 It sets up the environment to have Safari use the bundled frameworks
1815 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1816 * WebKitLauncher/start.html: Added.
1817 * WebKitLauncher/webkit.icns: Added.
1819 2006-04-05 Darin Adler <darin@apple.com>
1823 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1824 are allowed to have global initializers.
1826 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1828 Reviewed by OMG BETH
1830 * Scripts/run-testkjs:
1831 - pipe STDERR to /dev/null by default; new --verbose option overrides
1833 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1834 - output run command in a format that can be copied and pasted into the
1835 terminal to run manually
1837 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1839 Reviewed by harrison
1841 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1842 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1844 Tell the source that the drag is over after the drag is performed, not before.
1846 * DumpRenderTree/EventSendingController.m:
1847 (-[EventSendingController mouseUp]):
1849 2006-04-01 Darin Adler <darin@apple.com>
1853 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1854 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1855 elements in that array are not strings.
1857 2006-03-31 Darin Adler <darin@apple.com>
1859 Reviewed by John Sullivan.
1861 - added a "--reset-results" option to run-webkit-tests so you can reset
1862 the results without first deleting expected results
1863 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1865 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1866 more logical. Moved all the subroutines to the end of the file. Added a
1869 * DumpRenderTree/DumpRenderTree.m:
1870 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1871 to generate new output for all tests it runs.
1872 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1873 the --dump-all-pixels option is passed. Also tightened up the image dumping
1874 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1875 with code to save and restore the context.
1877 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1878 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1880 2006-03-30 Tim Omernick <timo@apple.com>
1882 Reviewed by NOBODY (just fixing copyrights)
1884 * DumpRenderTree/ObjCPlugin.h:
1886 * DumpRenderTree/ObjCPlugin.m: ditto
1887 * DumpRenderTree/ObjCPluginFunction.h: ditto
1888 * DumpRenderTree/ObjCPluginFunction.m: ditto
1890 2006-03-30 Tim Omernick <timo@apple.com>
1894 * DumpRenderTree/DumpRenderTree.m:
1895 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1896 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1897 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1898 exposed to JS as a callable object.
1900 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1901 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1903 * DumpRenderTree/ObjCPlugin.h: Added.
1904 * DumpRenderTree/ObjCPlugin.m: Added.
1905 * DumpRenderTree/ObjCPluginFunction.h: Added.
1906 * DumpRenderTree/ObjCPluginFunction.m: Added.
1908 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1909 Added a new method, "removeDefaultMethod", which removes the default method from the
1910 plugin object's class. The effect is that the plugin object is mutated from a callable
1911 function to a simple object.
1913 Handle "removeDefaultMethod".
1914 (pluginInvokeDefault):
1915 Made the default method actually do something (return 1).
1917 2006-03-30 Eric Seidel <eseidel@apple.com>
1921 Remove WebFrame::viewImpl(), setMainFrame on page.
1923 * Spinneret/Spinneret/WebFrame.cpp:
1924 (WebKit::WebFrame::WebFrame):
1925 * Spinneret/Spinneret/WebFrame.h:
1926 * Spinneret/Spinneret/WebView.cpp:
1927 (WebKit::WebView::mouseMoved):
1928 (WebKit::WebView::mouseDown):
1929 (WebKit::WebView::mouseUp):
1930 (WebKit::WebView::mouseDoubleClick):
1931 (WebKit::WebViewWndProc):
1933 2006-03-30 Eric Seidel <eseidel@apple.com>
1937 Fix html editing input & basic form submission.
1939 * Spinneret/Spinneret/WebFrame.cpp:
1940 (WebKit::WebFrame::submitForm):
1941 (WebKit::WebFrame::loadURL):
1942 * Spinneret/Spinneret/WebFrame.h:
1943 * Spinneret/Spinneret/WebView.cpp:
1944 (WebKit::WebView::keyPress):
1945 (WebKit::WebViewWndProc):
1947 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1951 <rdar://problem/4402375>
1952 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1954 Added an option to draw the selectionRect.
1956 * DumpRenderTree/DumpRenderTree.m:
1958 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1959 (-[LayoutTestController dumpSelectionRect]):
1962 2006-03-29 Darin Adler <darin@apple.com>
1964 Reviewed by Tim Hatcher.
1966 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1968 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1970 2006-03-28 Eric Seidel <eseidel@apple.com>
1974 * Scripts/check-for-global-initializers: remove svg exceptions.
1976 2006-03-28 Timothy Hatcher <timothy@apple.com>
1980 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1982 * Scripts/check-for-global-initializers:
1984 2006-03-28 Timothy Hatcher <timothy@apple.com>
1986 Build fix. Turn off uninitialized warnings for the first block of code.
1988 * Scripts/check-for-global-initializers:
1990 2006-03-28 Darin Adler <darin@apple.com>
1994 * Scripts/check-for-global-initializers: Added.
1996 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1998 Reviewed by darin. Landed by eseidel.
2000 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
2001 Add repaint testing support to run-webkit-tests
2003 * DumpRenderTree/DumpRenderTree.m:
2004 (main): Added --repaint and --horizontal-sweep options.
2005 (dump): Repaint line-by-line or column-by-column when the appropriate option
2007 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2008 and repaintSweepHorizontally() methods to layoutTestController.
2009 (-[LayoutTestController testRepaint]):
2010 (-[LayoutTestController repaintSweepHorizontally]):
2012 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2013 to force these settings on tests that do not ask for them.
2015 2006-03-24 Eric Seidel <eseidel@apple.com>
2021 * Spinneret/Spinneret/WebFrame.cpp:
2022 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2024 2006-03-21 Beth Dakin <bdakin@apple.com>
2028 Add support for keyDown() to DumpRenderTree.
2030 * DumpRenderTree/DumpRenderTree.m:
2031 (main): Set the preference for tabbing to links.
2032 * DumpRenderTree/EventSendingController.m:
2033 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2034 (+[EventSendingController webScriptNameForSelector:]):
2035 (-[EventSendingController keyDown:withModifiers:]):
2037 2006-03-20 Eric Seidel <eseidel@apple.com>
2043 * Spinneret/Spinneret/Spinneret.vcproj:
2044 * Spinneret/Spinneret/WebFrame.h:
2045 * Spinneret/Spinneret/WebView.cpp:
2046 (WebKit::WebView::mouseMoved):
2047 (WebKit::WebView::mouseDown):
2048 (WebKit::WebView::mouseUp):
2049 (WebKit::WebView::mouseDoubleClick):
2050 (WebKit::WebView::keyPress):
2051 (WebKit::WebViewWndProc):
2053 2006-03-19 Darin Adler <darin@apple.com>
2057 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2058 we can test it in layout tests. We don't really need tests that run with
2059 pop-up blocking off at the moment. If we do some day, we can add some
2060 API for turning it off in the layout test controller.
2062 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2063 don't ignore the leak; it should no longer show up.
2065 2006-03-17 Anders Carlsson <andersca@mac.com>
2069 * Scripts/install-win-extras:
2070 Fetch "Program Files" location from the environment.
2072 2006-03-17 Eric Seidel <eseidel@apple.com>
2076 Fix Spinneret to pass Events as const & not as pointers.
2078 * Spinneret/Spinneret/WebView.cpp:
2079 (WebKit::WebView::mouseMoved):
2080 (WebKit::WebView::mouseDown):
2081 (WebKit::WebView::mouseUp):
2082 (WebKit::WebView::mouseDoubleClick):
2083 (WebKit::WebView::keyPress):
2085 2006-03-17 Eric Seidel <eseidel@apple.com>
2087 Reviewed by justing.
2089 Add support for basic HTML editing.
2091 * Spinneret/Spinneret/WebView.cpp:
2092 (WebKit::WebView::WebView):
2093 (WebKit::WebView::keyPress):
2095 2006-03-17 Eric Seidel <eseidel@apple.com>
2097 Rubber-stamped by ggaren.
2099 Break DumpRenderTree.m up into several files to make the code more readable.
2101 * DumpRenderTree/DumpRenderTree.h: Added.
2102 * DumpRenderTree/DumpRenderTree.m:
2103 (doneLoading): new accessor function for "done" global.
2104 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2105 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2106 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2107 * DumpRenderTree/EditingDelegate.h: Added.
2108 * DumpRenderTree/EditingDelegate.m: Added.
2109 (-[EditingDelegate webViewDidChangeSelection:]):
2110 * DumpRenderTree/EventSendingController.h: Added.
2111 * DumpRenderTree/EventSendingController.m: Added.
2113 2006-03-16 Eric Seidel <eseidel@apple.com>
2117 Add resize, scroll event support.
2119 * Spinneret/Spinneret/WebView.cpp:
2120 (WebKit::WebView::mouseMoved):
2121 (WebKit::WebView::mouseDown):
2122 (WebKit::WebView::mouseUp):
2123 (WebKit::WebView::mouseDoubleClick):
2124 (WebKit::WebView::keyPress):
2125 (WebKit::WebViewWndProc):
2126 * Spinneret/Spinneret/WebView.h:
2128 2006-03-16 Eric Seidel <eseidel@apple.com>
2132 Make build-webkit print correctly to stdout on windows.
2134 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2136 2006-03-15 Eric Seidel <eseidel@apple.com>
2140 Fix eventSender.mouseClick() to update lastClick timestamp.
2142 * DumpRenderTree/DumpRenderTree.m:
2143 (-[EventSendingController mouseClick]):
2145 2006-03-15 Darin Adler <darin@apple.com>
2149 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2150 that had a lowercase "i" in it so this builds on case-sensitive
2153 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2157 Added run-testkjs and compare-timing-files scripts, to support super
2160 * Scripts/compare-timing-files: Added.
2161 * Scripts/run-testkjs: Added.
2163 2006-03-14 Eric Seidel <eseidel@apple.com>
2167 Make the URL bar relinquish focus on page load.
2169 * Spinneret/Spinneret/Spinneret.cpp:
2172 2006-03-14 Eric Seidel <eseidel@apple.com>
2176 Fix WebView to allow KeyFocus.
2177 Add handling of space and shift-space for scrolling.
2179 * Spinneret/Spinneret/WebView.cpp:
2180 (WebKit::scrollMessageForKey):
2181 (WebKit::WebViewWndProc):
2183 2006-03-10 Eric Seidel <eseidel@apple.com>
2187 Add scrolling support into Spinneret.
2189 * Spinneret/Spinneret/WebFrame.cpp:
2190 (WebKit::WebFrame::paint):
2191 * Spinneret/Spinneret/WebView.cpp:
2192 (WebKit::WebView::createWebView):
2193 (WebKit::calculateScrollDelta):
2194 (WebKit::scrollMessageForKey):
2195 (WebKit::WebViewWndProc):
2197 2006-03-13 Eric Seidel <eseidel@apple.com>
2201 Fix checksum generation on Intel machines.
2202 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2203 give a small speed boost now that it uses a shared buffer.
2205 * DumpRenderTree/DumpRenderTree.m:
2208 (md5HashStringForBitmap):
2209 * DumpRenderTree/ImageDiff.m:
2210 (computePercentageDifferent):
2212 2006-03-13 Darin Adler <darin@apple.com>
2214 Reviewed by Tim Hatcher.
2216 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2217 have it named httpd-1.3 instead.
2219 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2221 Fix proposed by Mitz Pettel, reviewed by Darin.
2223 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
2224 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2226 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2227 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2230 2006-03-09 Darin Adler <darin@apple.com>
2232 Reviewed by John Sullivan.
2234 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
2235 memory leak in the plug-in tests
2237 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2238 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2239 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2241 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2242 Moved the browser global in here since it's declared in this file's header.
2243 Changed the code to set up the pluginClass structure to not use function
2244 pointer casts. Those are dangerous because they can hide many types of mismatch.
2245 And indeed when I did this I discovered that many functions were missing their
2246 boolean return values or had parameter declarations with the wrong types.
2247 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2248 clarity. Added boolean return value: return true when successful and false when not.
2249 (pluginSetProperty): Added boolean return value, return false since we have no
2250 properties we can set.
2251 (pluginInvoke): Added boolean return value. Return true when successful and false
2252 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2253 return value from calling the browser. Changed code to put the strings in malloc
2254 buffers instead of relying on GCC's extension that allows variable-sized arrays
2256 (pluginInvokeDefault): Added boolean return value, return false since we have no
2257 default function to call.
2258 (pluginInvalidate): Added missing parameter. Removed comment.
2259 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2260 to cast the result of malloc.
2261 (pluginDeallocate): Removed uneeded cast.
2263 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2264 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2265 that match NPObject's fields. Removed unused NPWindow pointer.
2267 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2269 Test: fast/events/event-sender-mouse-click.html
2273 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
2274 DRT hangs when doing eventSender.mouseDown on native widgets
2276 * DumpRenderTree/DumpRenderTree.m:
2277 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2278 (-[EventSendingController mouseClick]): Simulates a click in a native
2279 widget by queueing a mouseUp before sending the mouseDown, so that
2280 the widget's mouse tracking event loop doesn't hang indefinitely.
2282 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2286 - make link clicks work by handling link click requests
2289 * Spinneret/Spinneret/Spinneret.cpp:
2290 (updateLocationBar):
2291 * Spinneret/Spinneret/Spinneret.h:
2292 * Spinneret/Spinneret/WebFrame.cpp:
2293 (WebKit::WebFrame::WebFrame):
2294 (WebKit::WebFrame::openURL):
2295 (WebKit::WebFrame::loadURL):
2296 * Spinneret/Spinneret/WebFrame.h:
2298 2006-03-08 Eric Seidel <eseidel@apple.com>
2302 Focus URL bar on Spinneret launch, remove border from WebView.
2303 Stop WebFrame from deleting the job (prevent crash).
2305 * Spinneret/Spinneret/Spinneret.cpp:
2307 * Spinneret/Spinneret/WebFrame.cpp:
2308 (WebKit::WebFrame::receivedAllData):
2309 (WebKit::WebFrame::paint):
2310 * Spinneret/Spinneret/WebView.cpp:
2311 (WebKit::WebView::createWebView):
2313 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2317 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2318 (pluginInvoke): Added a method to test getURL.
2320 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2324 - load URLs, not file paths, in Spinneret
2326 * Spinneret/Spinneret/Spinneret.cpp:
2328 * Spinneret/Spinneret/Spinneret.vcproj:
2329 * Spinneret/Spinneret/WebFrame.cpp:
2330 (WebKit::WebFrame::loadURL):
2331 (WebKit::WebFrame::receivedData):
2332 (WebKit::WebFrame::receivedAllData):
2333 * Spinneret/Spinneret/WebFrame.h:
2334 * Spinneret/Spinneret/WebView.cpp:
2335 (WebKit::WebView::WebView):
2337 2006-03-08 Darin Adler <darin@apple.com>
2341 - fixed AppleScript layout test results to not be endian-dependent
2342 (Hyatt complained to me about this one)
2344 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2345 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2346 (which are endian-dependent).
2348 2006-03-07 Darin Adler <darin@apple.com>
2352 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
2353 unwanted output while running layout tests
2355 * DumpRenderTree/DumpRenderTree.m:
2356 (checkedMalloc): Added.
2357 (checkedRealloc): Added.
2358 (makeLargeMallocFailSilently): Added.
2359 (main): Call makeLargeMallocFailSilently.
2361 2006-03-06 Darin Adler <darin@apple.com>
2363 * Scripts/do-webcore-rename: Add some more planned renaming.
2365 2006-03-06 Eric Seidel <eseidel@apple.com>
2369 * Spinneret/Spinneret/WebFrame.cpp:
2370 (WebKit::WebFrame::paint): force layout before painting
2372 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2376 Sent the windowNumber when sending events.
2377 Added leapForward so that we don't have to spend time waiting
2378 in layout tests that do mouse operations that require delays.
2380 * DumpRenderTree/DumpRenderTree.m:
2381 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2382 (+[EventSendingController webScriptNameForSelector:]):
2383 (-[EventSendingController currentEventTime]):
2384 (-[EventSendingController leapForward:]):
2385 (-[EventSendingController mouseDown]):
2386 (-[EventSendingController mouseUp]):
2387 (-[EventSendingController mouseMoveToX:Y:]):
2389 2006-03-05 Darin Adler <darin@apple.com>
2391 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2392 Script now works (after landing my two pending patches).
2394 2006-03-05 Darin Adler <darin@apple.com>
2396 - check in a script to do a "big" rename in WebCore
2397 (can be run whenever we're ready to do it)
2399 * Scripts/do-webcore-rename: Added.
2401 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2405 * Spinneret/Spinneret/WebFrame.cpp:
2406 (WebKit::WebFrame::loadFilePath): Close file when done.
2408 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2410 Reviewed by Darin, landed by ap.
2412 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
2413 Mouse moved events do not work in DumpRenderTree
2415 Test: fast/events/event-sender-mouse-moved.html
2417 * DumpRenderTree/DumpRenderTree.m:
2418 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2420 2006-03-04 Eric Seidel <eseidel@apple.com>
2424 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2425 Disable background erase to avoid tearing.
2426 Fix potential memory smasher from extra long urls.
2428 * Spinneret/Spinneret/Spinneret.cpp:
2430 * Spinneret/Spinneret/Spinneret.vcproj:
2431 * Spinneret/Spinneret/WebFrame.cpp:
2432 (WebKit::WebFrame::loadFilePath):
2433 (WebKit::WebFrame::paint):
2434 * Spinneret/Spinneret/WebView.cpp:
2435 (WebKit::registerWebViewWithInstance):
2437 2006-03-04 Eric Seidel <eseidel@apple.com>
2441 Hang WebView pointer off of HWND (gets rid of global hack).
2442 Remove MessageBox displayed on url change.
2444 * Spinneret/Spinneret/Spinneret.cpp:
2447 * Spinneret/Spinneret/WebView.cpp:
2448 (WebKit::registerWebViewWithInstance):
2449 (WebKit::WebView::createWebView):
2450 (WebKit::WebViewWndProc):
2452 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2456 Automatically kill httpd if it appears to be already running.
2458 * Scripts/run-webkit-tests:
2460 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2464 * Spinneret/Spinneret/WebFrame.cpp:
2465 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2467 2006-03-03 Eric Seidel <eseidel@apple.com>
2471 A few more fixes to make run-webkit-tests really work on win32.
2473 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2475 * Scripts/run-webkit-tests:
2477 2006-03-03 Eric Seidel <eseidel@apple.com>
2481 Make run-webkit-tests work on win32.
2483 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2485 (dumpRenderTreeMain):
2486 (dumpRenderTreeToStdOut):
2487 (serializeToStdOut):
2489 * Scripts/run-webkit-tests:
2490 * Scripts/webkitdirs.pm:
2491 * Spinneret/Spinneret/WebView.cpp:
2492 (WebKit::WebView::WebView):
2494 2006-03-03 Eric Seidel <eseidel@apple.com>
2498 Add WebFrame class (to hold Frame and FrameView).
2499 Add Location bar support to Spinneret.
2501 * Spinneret/Spinneret/Spinneret.cpp:
2506 * Spinneret/Spinneret/Spinneret.vcproj:
2507 * Spinneret/Spinneret/WebFrame.cpp: Added.
2508 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2509 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2510 (WebKit::WebFrame::WebFrame):
2511 (WebKit::WebFrame::loadFilePath):
2512 (WebKit::WebFrame::loadHTMLString):
2513 (WebKit::WebFrame::paint):
2514 (WebKit::WebFrame::impl):
2515 (WebKit::WebFrame::viewImpl):
2516 * Spinneret/Spinneret/WebFrame.h: Added.
2517 * Spinneret/Spinneret/WebView.cpp:
2518 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2519 (WebKit::WebView::WebView):
2520 (WebKit::WebView::windowHandle):
2521 (WebKit::WebView::mainFrame):
2522 (WebKit::WebView::mouseMoved):
2523 (WebKit::WebView::mouseDown):
2524 (WebKit::WebView::mouseUp):
2525 (WebKit::WebView::mouseDoubleClick):
2526 (WebKit::WebViewWndProc):
2527 * Spinneret/Spinneret/WebView.h:
2529 2006-03-02 Eric Seidel <eseidel@apple.com>
2533 * Spinneret/Spinneret/WebView.cpp:
2534 (WebKit::registerWebViewWithInstance):
2535 (WebKit::WebView::WebView):
2536 (WebKit::WebView::mouseMoved):
2537 (WebKit::WebView::mouseDown):
2538 (WebKit::WebView::mouseUp):
2539 (WebKit::WebView::mouseDoubleClick):
2540 (WebKit::WebViewWndProc):
2541 * Spinneret/Spinneret/WebView.h:
2543 2006-03-01 Eric Seidel <eseidel@apple.com>
2545 Reviewed by andersca.
2547 Make spinneret take advantage of the new GraphicsContextCairo.
2549 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2550 (main): updated to match style guidelines.
2551 * Spinneret/Spinneret/Spinneret.cpp:
2553 * Spinneret/Spinneret/WebView.cpp:
2554 (WebKit::registerWebViewWithInstance):
2555 (WebKit::WebView::WebView):
2556 (WebKit::WebView::~WebView):
2557 (WebKit::WebView::drawRect):
2559 * Spinneret/Spinneret/WebView.h:
2561 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2565 Give the events that eventSender sends a unique eventNumber
2567 * DumpRenderTree/DumpRenderTree.m:
2568 (-[EventSendingController mouseDown]):
2569 (-[EventSendingController mouseUp]):
2570 (-[EventSendingController mouseMoveToX:Y:]):
2572 2006-03-01 Eric Seidel <eseidel@apple.com>
2576 Add a stub win32 application to test WebCore drawing on windows.
2579 * Spinneret/Spinneret: Added.
2580 * Spinneret/Spinneret.sln: Added.
2581 * Spinneret/Spinneret/Resource.h: Added.
2582 * Spinneret/Spinneret/Spinneret.cpp: Added.
2588 * Spinneret/Spinneret/Spinneret.h: Added.
2589 * Spinneret/Spinneret/Spinneret.ico: Added.
2590 * Spinneret/Spinneret/Spinneret.rc: Added.
2591 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2592 * Spinneret/Spinneret/WebView.cpp: Added.
2593 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2594 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2595 (WebKit::registerWebViewWithInstance):
2596 (WebKit::WebView::createWebView):
2597 (WebKit::WebView::WebView):
2598 (WebKit::WebView::~WebView):
2599 (WebKit::WebView::drawRect):
2600 (WebKit::WebView::windowHandle):
2602 * Spinneret/Spinneret/WebView.h: Added.
2603 * Spinneret/Spinneret/small.ico: Added.
2604 * Spinneret/Spinneret/stdafx.cpp: Added.
2605 * Spinneret/Spinneret/stdafx.h: Added.
2607 2006-02-28 Eric Seidel <eseidel@apple.com>
2611 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2612 (main): add ability to dump render tree and read from a local file.
2614 2006-02-27 Eric Seidel <eseidel@apple.com>
2618 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2620 2006-02-27 Eric Seidel <eseidel@apple.com>
2624 Test new KConfig -> PlugInInfoStore change.
2625 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2627 * DumpRenderTree/DumpRenderTree.m:
2628 (main): load test netscape plugin
2629 * Scripts/run-webkit-tests: style update
2631 2006-02-24 Eric Seidel <eseidel@apple.com>
2635 Make DumpRenderTree link against icu.
2637 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2639 2006-02-24 Eric Seidel <eseidel@apple.com>
2643 Make DumpRenderTree link against libxml, etc.
2645 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2647 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2649 Reviewed and landed by Anders.
2651 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2652 getting called from the run loop, making the view render each test and thus slowing
2655 * DumpRenderTree/DumpRenderTree.m:
2656 (main): Set the offscreen window to not autodisplay.
2658 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2662 - Turn http tests back on by default.
2663 - Wait for Apache to actually start serving requests.
2664 - Get user id from a built-in variable rather than an external command;
2665 don't pass the group.
2667 * Scripts/run-webkit-tests:
2669 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2671 Suggested by Mitz Pettel, reviewed by Darin.
2673 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2674 can run CGIs even if the permissions are 700 or 600.
2676 2006-02-23 Darin Adler <darin@apple.com>
2678 Collaborating with Alexey.
2680 - turn off http tests by default until we figure out how to get them
2681 to run even when permissions on CGI files are 700 instead of 755
2683 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2685 2006-02-23 Eric Seidel <eseidel@apple.com>
2687 Add *.user to ignore list.
2689 2006-02-23 Eric Seidel <eseidel@apple.com>
2691 Remove binary file which shouldn't have been commited (and add to ignore list).
2693 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2694 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2696 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2700 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2702 2006-02-22 Eric Seidel <eseidel@apple.com>
2704 Reviewed by Tim Hatcher.
2706 Fix install-win-extras to not try to re-install setx if installed.
2708 * Scripts/install-win-extras:
2710 2006-02-22 Eric Seidel <eseidel@apple.com>
2712 One more file possibly missing from previous commit?
2714 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2715 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2717 2006-02-22 Eric Seidel <eseidel@apple.com>
2719 Reviewed by justing.
2721 Files missing from previous commit.
2723 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2724 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2726 2006-02-22 Eric Seidel <eseidel@apple.com>
2728 Rubber-stamped by justing.
2730 Corrected path for DumpRenderTree.intermediate files
2732 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2734 2006-02-22 Eric Seidel <eseidel@apple.com>
2736 Reviewed by justing.
2738 Fixed build-dumprendertree to exit with correct error codes.
2740 * Scripts/build-dumprendertree:
2742 2006-02-22 Eric Seidel <eseidel@apple.com>
2744 Reviewed by justing.
2746 Update build scripts to generalize building on Win32, and allow
2747 building of DumpRenderTree on Win32 from build-dumprendertree.
2749 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2751 * Scripts/build-dumprendertree:
2752 * Scripts/build-webkit:
2753 * Scripts/webkitdirs.pm:
2755 2006-02-22 Eric Seidel <eseidel@apple.com>
2759 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2760 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2761 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2762 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2763 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2764 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2766 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2767 * Scripts/build-webkit: make build-webkit cleanup after itself
2769 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2773 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2774 Some minor fixes to http tests.
2776 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2778 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2782 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2783 Would like to use locally installed Apache for testing.
2785 Added two run-webkit-tests options:
2786 --http (--nohttp) - whether to launch Apache (defaults to yes);
2787 --port - which port to listen on (defaults to 8000).
2789 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2790 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2791 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2793 Also added support for .shtml and .text files. Text files give an empty
2794 *-expected.txt, but a correct image.
2796 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2798 * Scripts/run-webkit-tests:
2800 2006-02-21 Darin Adler <darin@apple.com>
2802 Suggested by Mark Rowe.
2804 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2805 reporting leak counts.
2807 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2811 - Added install-win-extras script which installs some extra
2812 programs and libraries, and does Windows first-time setup.
2814 * Scripts/build-webkit: Add a newline between build results.
2815 * Scripts/install-win-extras: Added.
2817 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2821 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2822 DumpRenderTree should be able to load files via HTTP
2824 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2825 Handle tests starting with "http://" as real URLs, not file system paths.
2827 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2831 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2832 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2834 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2836 2006-02-18 Darin Adler <darin@apple.com>
2838 * Scripts/commit-log-editor: Added.
2840 2006-02-17 Eric Seidel <eseidel@apple.com>
2844 Make Win32 have the same default "WebKitBuild" directory behavior.
2846 * Scripts/build-webkit:
2847 * Scripts/webkitdirs.pm:
2849 2006-02-17 Eric Seidel <eseidel@apple.com>
2853 * Scripts/build-webkit: make win32 actually report errors
2855 2006-02-17 Eric Seidel <eseidel@apple.com>
2859 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2861 2006-02-17 Eric Seidel <eseidel@apple.com>
2865 * Scripts/run-webkit-tests: Ignore flash leaks
2867 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2871 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2872 Add drag and drop support to DumpRenderTree
2874 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2875 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2877 * DumpRenderTree/DumpRenderTree.m:
2879 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2880 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2881 (-[WaitUntilDoneDelegate webViewFocus:]):
2882 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2883 (+[LayoutTestController webScriptNameForSelector:]):
2884 (-[LayoutTestController setWindowIsKey:]):
2885 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2886 (-[EventSendingController init]):
2887 (-[EventSendingController mouseDown]):
2888 (-[EventSendingController mouseUp]):
2889 (-[EventSendingController mouseMoveToX:Y:]):
2891 (-[DumpRenderTreeWindow isKeyWindow]):
2892 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2893 (-[DumpRenderTreeDraggingInfo dealloc]):
2894 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2895 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2896 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2897 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2898 (-[DumpRenderTreeDraggingInfo draggedImage]):
2899 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2900 (-[DumpRenderTreeDraggingInfo draggingSource]):
2901 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2902 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2903 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2904 * DumpRenderTree/TextInputController.m:
2905 (-[TextInputController firstRectForCharactersFrom:length:]):
2906 (-[TextInputController characterIndexForPointX:Y:]):
2908 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2912 * DumpRenderTree/DumpRenderTree.m:
2913 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2914 Added a dummy method for the sake of LayoutTests/plugins/
2915 undefined-property-crash.html. (It tests a crash due to fallback
2916 object use. WebCore won't create a fallback object if the method is
2919 2006-02-14 Eric Seidel <eseidel@apple.com>
2923 * Scripts/run-webkit-tests: added --results-directory (-o) option
2925 2006-02-09 Eric Seidel <eseidel@apple.com>
2927 Rubber-stamped by mjs.
2929 Renamed split-class to split-file-by-class.
2931 * Scripts/build-webkit: Updated copyright.
2932 * Scripts/split-class: Removed.
2933 * Scripts/split-file-by-class: Added.
2935 2006-02-08 Eric Seidel <eseidel@apple.com>
2937 Rubber-stamped by mjs.
2939 Adding new script for splitting multi-class files.
2940 Also adding supporting perl module with space removing heuristics.
2942 * Scripts/SpacingHeuristics.pm: Added.
2943 * Scripts/build-drawtest: updated copyright header
2944 * Scripts/split-class: Added.
2946 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2948 Reviewed by thatcher
2950 Changes to test fix for:
2951 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2952 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2954 * DumpRenderTree/DumpRenderTree.m:
2955 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2956 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2957 (+[LayoutTestController webScriptNameForSelector:]):
2958 (-[LayoutTestController setWindowHasFocus:]):
2959 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2961 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2963 Reviewed by Timothy.
2965 Support automated testing of AppleScript "do JavaScript" command
2966 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2968 * DumpRenderTree/AppleScriptController.h: Added.
2969 * DumpRenderTree/AppleScriptController.m: Added.
2970 * DumpRenderTree/DumpRenderTree.m:
2971 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2972 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2974 2006-02-06 Eric Seidel <eseidel@apple.com>
2978 Fix build-webkit for use on win32 (unblocks buildbot usage).
2979 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2981 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2982 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2984 2006-02-06 Eric Seidel <eseidel@apple.com>
2986 Rubber-stamped by darin & mjs.
2988 Added new support directory for build slave scripts.
2989 Committing the first script, for use by the PLT's build slave.
2990 This script is used to kick of the PLT (Page Load Test) slave.
2992 * BuildSlaveSupport: Added.
2993 * BuildSlaveSupport/run-performance-tests: Added.
2995 2006-02-06 Eric Seidel <eseidel@apple.com>
2997 Rubber-stamped by darin.
2999 Adding setSourceDir for scripts stored in non-standard locations.
3001 * Scripts/webkitdirs.pm:
3003 2006-02-04 Darin Adler <darin@apple.com>
3005 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3006 Configuration files that say Development or Deployment in them.
3008 2006-02-04 Darin Adler <darin@apple.com>
3010 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3011 wrapper already in the directory.
3012 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3013 these haven't been working at all.
3014 * Scripts/svn-unapply: Ditto.
3016 2006-02-03 Timothy Hatcher <timothy@apple.com>
3020 Renamed configuration names to Debug, Release and Production.
3022 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3023 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3024 * Scripts/set-webkit-configuration:
3025 * Scripts/webkitdirs.pm:
3027 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3029 Reviewed by thatcher
3031 Enabled spell checking for layout tests.
3033 * DumpRenderTree/DumpRenderTree.m:
3036 2006-01-29 Darin Adler <darin@apple.com>
3038 * Scripts/svn-apply: Added comments about things we should do to improve.
3039 * Scripts/svn-create-patch: Ditto.
3040 * Scripts/svn-unapply: Ditto.
3042 2006-01-28 Darin Adler <darin@apple.com>
3044 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3045 already there, even if the checksum is correct.
3047 2006-01-27 Eric Seidel <eseidel@apple.com>
3051 * Scripts/run-webkit-tests: make new tests use absolute urls
3053 2006-01-27 Eric Seidel <eseidel@apple.com>
3057 make run-webkit-tests output total leaks count
3059 * Scripts/run-webkit-tests:
3061 2006-01-27 Eric Seidel <eseidel@apple.com>
3065 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3066 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
3068 * Scripts/run-webkit-tests: fix --leaks to not crash
3070 2006-01-26 Eric Seidel <eseidel@apple.com>
3074 run-webkit-tests should produce a self-contained results directory
3075 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
3077 * Scripts/run-webkit-tests: copy failing items to results dir.
3079 2006-01-23 Darin Adler <darin@apple.com>
3081 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
3082 need script to update localizable strings file in WebKit
3084 * Scripts/update-webkit-localizable-strings: Added.
3086 2006-01-23 Darin Adler <darin@apple.com>
3088 - added a couple of scripts -- more about these two soon
3090 * Scripts/extract-localizable-strings: Added.
3091 * Scripts/merge-changelog: Added.
3093 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3097 Build fix. build-webkit dies with "invalid build action: (empty string)"
3099 * Scripts/build-webkit:
3100 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3102 2006-01-22 Eric Seidel <eseidel@apple.com>
3106 Fix --no-svg option to use XCode flags instead of gcc flags.
3108 * Scripts/build-webkit:
3110 2006-01-22 Eric Seidel <eseidel@apple.com>
3114 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3116 * Scripts/build-webkit:
3118 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3120 Reviewed by eseidel.
3122 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
3123 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3125 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3126 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3128 2006-01-19 Darin Adler <darin@apple.com>
3130 * Scripts/report-include-statistics: Added a new script.
3132 2006-01-19 Timothy Hatcher <timothy@apple.com>
3134 * Scripts/build-webkit: include JavaScriptGlue in the build
3136 2006-01-19 Darin Adler <darin@apple.com>
3138 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3139 spaces in it by using the form of open that treats each argument as a string
3140 rather than backtick syntax for reading the output of the nm tool.
3142 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3146 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3147 detect if there are any new tests
3149 * Scripts/prepare-ChangeLog:
3151 2006-01-12 Darin Adler <darin@apple.com>
3153 - removed some of the cvs-specific scripts -- not needed for this project any more
3155 * Scripts/cvs-abandon: Removed.
3156 * Scripts/cvs-apply: Removed.
3157 * Scripts/cvs-create-patch: Removed.
3158 * Scripts/cvs-unapply: Removed.
3160 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3162 Reviewed by eseidel. Committed by eseidel.
3164 - run-webkit-tests always launches Safari when tests fail
3165 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
3167 * Scripts/run-webkit-tests:
3168 Add a command-line flag to prevent Safari being launched to display failed
3169 tests. Always exit with non-zero status when tests have failed.
3171 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3173 Reviewed by eseidel. Committed by eseidel.
3175 - build-webkit should exit with non-zero status when build fails
3176 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
3178 * Scripts/build-webkit:
3179 Use correct bits of subprocess exit code when passing back through
3180 as build-webkit's exit code.
3182 2006-01-10 Eric Seidel <eseidel@apple.com>
3184 Restored corrupted nibs from TOT CVS.
3186 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3187 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3188 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3189 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3190 * DrawTest/English.lproj/Inspector.nib: Replaced.
3191 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3192 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3193 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3194 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3195 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3196 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3197 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3198 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3199 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3200 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3201 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3203 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3205 Reviewed by eseidel. Committed by eseidel.
3207 DrawTestView now subclasses WebView instead of DrawView.
3209 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3210 * DrawTest/DrawTestDocument.h:
3211 * DrawTest/DrawTestDocument.m:
3212 (-[DrawTestDocument dealloc]):
3213 (-[DrawTestDocument readFromFile:ofType:]):
3214 (-[DrawTestDocument windowControllerDidLoadNib:]):
3215 (-[DrawTestDocument dumpSVGToConsole:]):
3216 (-[DrawTestDocument openSourceForSelection:]):
3217 (-[DrawTestDocument dataRepresentationOfType:]):
3218 * DrawTest/DrawTestToolbarController.h:
3219 * DrawTest/DrawTestToolbarController.m:
3220 (-[DrawTestToolbarController initWithDrawView:]):
3221 (-[DrawTestToolbarController clickedToolbarItem:]):
3222 (-[DrawTestToolbarController validateToolbarItem:]):
3223 * DrawTest/DrawTestView.h:
3224 * DrawTest/DrawTestView.m:
3225 (-[DrawTestView initWithFrame:]):
3226 (-[DrawTestView setDocument:]):
3227 * DrawTest/SVGTest.h:
3228 * DrawTest/SVGTest.m:
3229 (+[SVGTest sharedDrawView]):
3230 (-[SVGTest generateCompositeIfNecessary]):
3231 * DrawTest/TestController.h:
3232 * DrawTest/TestController.m:
3233 (-[TestController awakeFromNib]):
3234 (-[TestController setSelectedTest:]):
3235 (-[TestController openTestViewerForSelection:]):
3236 (-[TestController toggleViewersScaleRule:]):
3237 * DrawTest/TestViewerSplitView.m:
3238 (-[TestViewerSplitView drawRect:]):
3240 2006-01-10 Anders Carlsson <andersca@mac.com>
3242 Reviewed by Timothy.
3244 * DumpRenderTree/DumpRenderTree.m:
3245 (main): Set the default language to "en", so language tests will work.
3247 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3251 - script to generate HTML wrappers for JS tests
3252 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
3254 * Scripts/make-js-test-wrappers: Added.
3256 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3260 * Scripts/svn-create-patch: Fix to work when passed directory names.
3262 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3266 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3267 can start writing automated loader tests now. I have one in the works.
3269 * DumpRenderTree/DumpRenderTree.m:
3270 (main): Construct global navigationController on entry, destroy on exit.
3271 Set frame to nil on exit too, to match all the other global objects.
3272 (Probably academic, since the process is exiting, anyway.)
3273 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3274 navigationController, in case it wants to kick off a load.
3275 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3276 the navigationController to scripting.
3278 New class, should be straightforward:
3280 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3281 * DumpRenderTree/NavigationController.h: Added.
3282 * DumpRenderTree/NavigationController.m: Added.
3284 (+[NavigationController isSelectorExcludedFromWebScript:]):
3285 (+[NavigationController webScriptNameForSelector:]):
3286 (-[NavigationController setPendingScript:]):
3287 (-[NavigationController setPendingRequest:]):
3288 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3289 (-[NavigationController webView:didFinishLoadForFrame:]):
3290 (-[NavigationController dealloc]):
3292 2006-01-08 Timothy Hatcher <timothy@apple.com>
3294 Removed this script, no longer needs with the Subversion switch.
3296 * checkout: Removed.
3298 2006-01-08 Timothy Hatcher <timothy@apple.com>
3300 Removes some stray tabs.
3302 * Scripts/update-webkit:
3304 2005-01-07 Eric Seidel <eseidel@apple.com>
3308 build-webkit should pass on build arguments from command line
3309 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
3311 * Scripts/build-webkit:
3313 2006-01-07 Eric Seidel <eseidel@apple.com>
3315 Reviewed by mjs & xenon.
3317 * Scripts/update-webkit: support Internal updates as well
3319 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3321 Temporarily rolling out plugin support from DumpRenderTree because it
3322 caused lots of layout test regressions.
3324 * DumpRenderTree/DumpRenderTree.m:
3325 (main): Remove invisible window added to support plugins.
3327 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3331 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
3332 Add plugin support to DumpRenderTree
3334 Also wrote first test plugin.
3336 * DumpRenderTree/DumpRenderTree.m:
3338 (1) Put the WebView in an invisible window, because PlugIns are
3339 optimized not to load if there's no parent window.
3340 (2) Tell WebKit to load any PlugIns in the directory from which we
3341 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3342 and they'll load automagically during layout testing, but they won't be
3343 added to the user's system, hosing apps like Safari.
3345 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3346 test PlugIn to project.
3348 PlugIn added to project:
3350 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3351 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3353 (initializeIdentifiers):
3354 (pluginHasProperty):
3356 (pluginGetProperty):
3357 (pluginSetProperty):
3359 (pluginInvokeDefault):
3363 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3364 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3366 (NP_GetEntryPoints):
3372 (NPP_DestroyStream):
3382 2006-01-04 Timothy Hatcher <timothy@apple.com>
3386 Tweaked and tested by me.
3388 New scripts to work with Subversion when the switch happens.
3389 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3391 * Scripts/svn-apply: Added.
3392 * Scripts/svn-create-patch: Added.
3393 * Scripts/svn-unapply: Added.
3395 2005-12-30 Eric Seidel <eseidel@apple.com>
3399 Move WebView width/height logic into DumpRenderTree to support
3400 running the W3C SVG 1.1 tests along side other tests. The W3C
3401 SVG 1.1 tests require a 480x360 view.
3403 * DumpRenderTree/DumpRenderTree.m:
3404 (main): don't accept width/height
3405 (dump): override width/height for SVG/W3C
3406 * Scripts/run-webkit-tests: don't pass width/height
3408 2005-12-30 Eric Seidel <eseidel@apple.com>
3410 No review, only removing dead code.
3412 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3413 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3415 2005-12-30 Eric Seidel <eseidel@apple.com>
3419 DumpRenderTree should set a consistent color profile while running
3420 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
3422 Creates consistent colormatched renderings on every test machine
3423 using the only way possible with Tiger APIs: by setting the
3424 system color profile on the test machine for the duration of the
3425 tests. This will (unfortunately) cause colors to change while
3426 running DumpRenderTree. This can also cause "permanent" color
3427 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3428 This is far from ideal, but it's be best way we've found to deal
3429 with the issue for now.
3431 * DumpRenderTree/DumpRenderTree.m:
3432 (restoreColorSpace):
3433 (setDefaultColorProfileToRGB):
3436 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3438 Reviewed by Darin Adler.
3440 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3441 cvs-create-patch --include produces incorrect paths
3443 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3445 2005-12-19 Eric Seidel <eseidel@apple.com>
3449 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3451 2005-12-19 Darin Adler <darin@apple.com>
3453 Reviewed by Eric Seidel.
3455 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3456 WebKit needs to use a local pasteboard during testing
3458 * DumpRenderTree/DumpRenderTree.m:
3459 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3460 Create a local pasteboard (really a global one with a unique name) and release
3461 it when exiting from the function so we don't leave it in the pasteboard server.
3462 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3463 ddn't have one. Fixed a leak in an unlikely error case.
3464 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3465 of this method to return our local pasteboard.
3467 2005-12-15 Eric Seidel <eseidel@apple.com>
3469 Reviewed by Tim Hatcher.
3471 * Scripts/build-webkit: --svg is now default!
3473 2005-12-15 Eric Seidel <eseidel@apple.com>
3477 Don't run svg test automatically if +SVG is built (yet).
3479 * Scripts/run-webkit-tests:
3481 2005-12-15 Darin Adler <darin@apple.com>
3483 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3484 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3485 passed on the command line.
3487 2005-12-06 John Sullivan <sullivan@apple.com>
3489 Reviewed by Darin Adler.
3491 * Scripts/prepare-ChangeLog:
3492 Remove special-case handling for nib files. This avoided trouble with cvs diff
3493 when we were using wrappers for nib files. Now that we aren't using wrappers,
3494 there's no reason to avoid adding the modified nib files to the file list that
3497 2005-12-05 Eric Seidel <eseidel@apple.com>
3501 Script updates for SVG files move (remove references to SVGSupport)
3503 * Scripts/build-webkit: remove SVGSupport
3504 * Scripts/run-webkit-tests: Resources -> resources for --svg
3505 * Scripts/update-webkit: remove SVGSupport
3507 2005-12-05 Eric Seidel <eseidel@apple.com>
3511 * checkout: remove --svg support, SVG is now checked out by default
3513 2005-11-29 Eric Seidel <eseidel@apple.com>
3517 Update scripts to run SVG tests automatically (w/o --svg) if
3518 WebCore is built with SVG support.
3520 * Scripts/build-drawtest: SVG support required
3521 * Scripts/build-dumpkcanvastree: Removed.
3522 * Scripts/run-drawtest: SVG support required to run
3523 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3524 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3526 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3528 Reviewed by Darin. Committed by Maciej.
3530 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3531 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3533 * DumpRenderTree/DumpRenderTree.m:
3536 2005-11-28 Eric Seidel <eseidel@apple.com>
3538 Reviewed by sullivan and GGAREN.
3540 Minor additions to make error messages more clear from cvs-apply.
3542 * Scripts/cvs-apply: make errors more clear
3544 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3546 Reviewed and committed by Maciej.
3548 - fixed cvs-create-patch --include produces incorrect paths
3549 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3551 * Scripts/cvs-create-patch: produce proper paths for new files.
3553 2005-11-21 Eric Seidel <eseidel@apple.com>
3557 Some simple fixes to the build/test scripts now that SVG uses the
3558 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3559 or symlinks for KDOM.
3561 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3562 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3563 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3564 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3565 * checkout: no longer symlink kdom
3567 2005-11-10 Eric Seidel <eseidel@apple.com>
3571 * Scripts/build-webkit: Pass through options to xcodebuild
3573 2005-11-07 Darin Adler <darin@apple.com>
3575 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3577 2005-11-03 John Sullivan <sullivan@apple.com>
3581 * Scripts/run-safari:
3582 changed message to say "Starting Safari" instead of odd "Start Safari"
3583 * Scripts/run-webkit-tests:
3584 changed the way we pass the file parameter to use -NSOpen rather than relying on
3585 unlabeled arguments being treated as files. This was failing on some machines that
3586 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3588 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3590 Patch by Alexey Proskuryakov.
3594 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3595 TextInputController should support attributed strings
3597 * DumpRenderTree/TextInputController.m:
3598 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3599 (+[NSMutableAttributedString webScriptNameForSelector:]):
3600 (-[NSMutableAttributedString getLength]):
3601 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3602 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3603 (-[NSMutableAttributedString addAttribute:value:]):
3604 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3605 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3606 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3607 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3608 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3609 (+[TextInputController isSelectorExcludedFromWebScript:]):
3610 (+[TextInputController webScriptNameForSelector:]):
3611 (-[TextInputController insertText:]):
3612 (-[TextInputController attributedSubstringFrom:length:]):
3613 (-[TextInputController attributedStringWithString:]):
3615 2005-10-11 Eric Seidel <eseidel@apple.com>
3619 Checks for leaks in ImageDiff too.
3621 * Scripts/run-webkit-tests:
3623 2005-10-09 Darin Adler <darin@apple.com>
3625 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3626 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3627 * Scripts/cvs-unapply: Ditto.
3628 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3630 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3632 Reviewed, rearranged and landed by Darin.
3634 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3635 Need a way to automatically test for regressions in NSTextInput implementation
3637 * DumpRenderTree/DumpRenderTree.m:
3638 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3639 Create a text input controller and put it in a property of the window object.
3641 * DumpRenderTree/TextInputController.h: Added.
3642 * DumpRenderTree/TextInputController.m: Added.
3643 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3645 2005-10-06 Darin Adler <darin@apple.com>
3647 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3648 are controlled by cvs, or when changes cross multiple repositories.
3649 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3651 2005-10-03 Eric Seidel <eseidel@apple.com>
3655 Make mouseDown and mouseUp force layout before acting.
3656 This is used by a new test case for 4233558.
3658 * DumpRenderTree/DumpRenderTree.m:
3659 (-[EventSendingController mouseDown]): force layout
3660 (-[EventSendingController mouseUp]): force layout
3662 2005-09-30 Eric Seidel <eseidel@apple.com>
3666 Updated all the scripts for the move:
3667 WebCore/layout-tests -> LayoutTests
3669 * Scripts/check-dom-results:
3670 * Scripts/prepare-ChangeLog:
3671 * Scripts/run-webkit-tests:
3672 * Scripts/update-webkit: added --no-tests
3673 * checkout: added --no-tests
3675 2005-09-28 Darin Adler <darin@apple.com>
3677 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3678 pixel test should run even if render trees differ
3680 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3682 2005-09-27 Eric Seidel <eseidel@apple.com>
3684 No review needed, SVG build fix only.
3686 * DumpKCanvasTree/DumpKCanvasTree.m:
3687 Missed one in my previous checkin.
3688 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3690 2005-09-26 Eric Seidel <eseidel@apple.com>
3692 No review needed, SVG build fix only.
3694 * DrawTest/DrawTestDocument.m:
3695 * DrawTest/DrawTestToolbarController.m:
3696 * DrawTest/DrawTestView.h:
3697 * DrawTest/DrawTestView.m:
3698 * DrawTest/SVGTest.m:
3699 * DrawTest/TestController.m:
3700 Updated for WebCore+SVG -> WebCore rename.
3701 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3703 2005-09-26 Eric Seidel <eseidel@apple.com>
3707 * DumpRenderTree/DumpRenderTree.m:
3708 (dump): updated error message
3709 * Scripts/check-dom-results: now includes xhtml
3710 Tool updates for xhtml.
3711 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3713 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3718 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3719 "Would like to simulate human interaction with webview"
3721 * DumpRenderTree/DumpRenderTree.m:
3722 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3723 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3724 (+[EventSendingController webScriptNameForSelector:]):
3725 (-[EventSendingController init]):
3726 (-[EventSendingController mouseDown]):
3727 (-[EventSendingController mouseUp]):
3728 (-[EventSendingController mouseMoveToX:Y:]):
3729 Add eventSender javascript object, that sends fake mouse events to the webview.
3731 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3732 link with Carbon.framework
3734 2005-09-22 Eric Seidel <eseidel@apple.com>
3738 Update tools for WebCore+SVG -> WebCore rename.
3739 Also fold several SVG specific tools into their original
3740 WebCore counterparts.
3741 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3743 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3744 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3745 * Scripts/build-drawtest:
3746 * Scripts/build-dumpkcanvastree:
3747 * Scripts/build-webcore-svg: Removed.
3748 * Scripts/build-webkit: added --svg option
3749 * Scripts/run-drawtest:
3750 * Scripts/run-webkit-tests:
3751 * Scripts/webkitdirs.pm: various additions.
3752 * checkout: added --svg option
3753 * checkout-svg: Removed.
3755 2005-09-19 Eric Seidel <eseidel@apple.com>
3759 * Scripts/run-webkit-tests: added --guard-malloc option
3760 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3762 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3766 Removed a script that is only used by apple internal developers
3768 * Scripts/update-webkitsysteminterface: Removed.
3770 2005-09-16 Adele Peterson <adele@apple.com>
3774 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3776 2005-09-14 Darin Adler <darin@apple.com>
3778 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3779 dumpAsText doesn't work with XHTML documents
3781 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3782 rather than of the body element. This works with typical XHTML documents. We can probably
3783 do something even better in the long run, but this fixes the immediate issue.
3787 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3788 run-safari instead of just using "open", which often runs another copy of Safari instead.
3790 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3792 Reviewed, tweaked, and landed by Darin.
3794 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3795 .Mac prefpane crashes when Safari using CVS WebKit is running
3797 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3798 * Scripts/run-webkit-app: Ditto.
3800 2005-09-11 Darin Adler <darin@apple.com>
3802 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3804 2005-09-11 Darin Adler <darin@apple.com>
3808 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3809 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3810 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3813 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3817 * Scripts/update-webkitsysteminterface: Added.
3818 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3820 2005-09-01 John Sullivan <sullivan@apple.com>
3822 * Scripts/run-webkit-tests:
3823 Excluded a known system leak to reduce noise; added comments about which leaks
3826 2005-09-01 Tim Omernick <tomernick@apple.com>
3828 Change made by Darin, reviewed by John and myself.
3830 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3832 * Scripts/prepare-ChangeLog:
3834 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3838 - set color variant and font settings to a consistent value.
3839 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3841 * DumpRenderTree/DumpRenderTree.m:
3844 2005-08-30 Eric Seidel <eseidel@apple.com>
3848 * Scripts/build-svg2png: Removed.
3849 * svg2png/ImageDiff.h: Removed.
3850 * svg2png/ImageDiff.m: Removed.
3851 * svg2png/svg2png.m: Removed.
3852 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3853 * svg2png/svg2png_Prefix.pch: Removed.
3854 svg2png is no longer needed.
3856 2005-08-30 Darin Adler <darin@apple.com>
3858 * Scripts/check-dom-results: Special case 100% to say something nice.
3859 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3860 applying the patch (need a better name).
3861 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3863 2005-08-30 Darin Adler <darin@apple.com>
3865 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3867 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3871 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3872 (some pixel tests fail when AA settings are changed)
3874 * DumpRenderTree/DumpRenderTree.m:
3875 (main): set AA settings to the default values
3877 2005-08-29 Darin Adler <darin@apple.com>
3879 Reviewed by John Sullivan.
3881 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3882 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3885 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3889 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3890 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3892 * DumpRenderTree/DumpRenderTree.m:
3893 (main): set scrollbar arrow setting to a consistent value
3895 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3897 Reviewed and landed by Darin.
3899 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3900 output of update-webkit is too verbose
3902 * Scripts/update-webkit:
3903 Added option --quiet (-q) to decrease the amount of output.
3905 2005-08-27 Darin Adler <darin@apple.com>
3907 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3908 cvs-create-patch --include-unknowns should ignore hidden files
3910 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3912 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3914 Reviewed, tweaked, and landed by Darin.
3916 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3917 update-webkit doesn't notice when you have SVGSupport and update properly
3919 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3921 2005-08-25 Anders Carlsson <andersca@mac.com>
3923 Reviewed and landed by Darin.
3925 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3926 layout test machinery can't handle tests with applets that have code attributes
3928 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3930 2005-08-24 Darin Adler <darin@apple.com>
3934 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3935 DumpRenderTree --pixel-tests crash
3936 - landed some other small changes I had sitting in my tree
3938 * DumpRenderTree/DumpRenderTree.m:
3939 (main): Don't bother saving and restoring the preferences. Not sure
3940 why this was ever done since the preferences are specific to DumpRenderTree.
3941 Clear delegates before releasing the WebView, because you can't count on the
3942 order of object deallocation.
3943 (dumpRenderTree): Fix code that releases a string before storing it in a
3946 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3947 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3949 2005-08-23 Eric Seidel <eseidel@apple.com>
3953 * Scripts/run-webkit-tests:
3954 Made --leaks option more readable by printing to a file.
3955 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3957 2005-08-22 Eric Seidel <eseidel@apple.com>
3958 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3962 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3963 when they are not needed (for pixel-only failures)
3964 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3966 2005-08-22 Eric Seidel <eseidel@apple.com>
3970 * Scripts/run-webkit-tests: Added the ability to display more than
3971 just two images as part of the image-diff "slideshow".
3972 Added display of "-w3c.png" baseline images for SVG.
3973 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3975 2005-08-20 Eric Seidel <eseidel@apple.com>
3977 * Scripts/run-webkit-tests:
3978 "build" fix after committing incorrect version.
3980 2005-08-20 Eric Seidel <eseidel@apple.com>
3984 * DumpRenderTree/DumpRenderTree.m:
3985 (main): cleans up delegates
3986 (dumpRenderTree): closes CFString/CFURL leak
3987 * Scripts/run-webkit-tests:
3988 Adds --leaks option to run-webkit-tests
3989 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3991 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
3995 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3996 new files to be included in the patch even without "cvs add".
3998 2005-08-19 Darin Adler <darin@apple.com>
4000 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
4001 non-cvs-generated patches. Anders has been creating these, so it's bad that
4002 the script can't handle them.
4003 * Scripts/cvs-unapply: Ditto.
4005 2005-08-18 Darin Adler <darin@apple.com>
4007 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
4008 "." in them -- based on complaint by someone here at Apple.
4010 2005-08-18 Eric Seidel <eseidel@apple.com>
4014 * Scripts/run-webkit-tests:
4015 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
4017 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4019 - add file that I forgot in the last checkin
4021 * DumpRenderTree/ImageDiff.m: Added.
4023 (getImageFromStdin):
4025 (getDifferenceBitmap):
4026 (computePercentageDifferent):
4028 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4030 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
4031 somewhat by me, and also tweaked by me a little bit.
4033 - better support for pixel-dumping
4034 - use checksums of the images so the tests are fast
4035 - change output format to make the tests run faster
4036 - don't dump pixel results for tests that dump as text
4038 * DumpKCanvasTree/DumpKCanvasTree.m:
4041 (md5HashStringForBitmap):
4043 (constrainSizeToMaximum):
4044 (getBitmapImageRepForSVGDocument):
4045 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4046 * DumpRenderTree/DumpRenderTree.m:
4050 (md5HashStringForBitmap):
4051 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4052 * Scripts/run-webkit-tests:
4054 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4058 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
4060 * DumpRenderTree/DumpRenderTree.m:
4063 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
4065 Reviewed and landed by Darin.
4067 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
4068 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
4070 * Scripts/run-safari: Pass arguments through to Safari on command line.
4071 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
4073 2005-08-11 Eric Seidel <eseidel@apple.com>
4074 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
4076 Reviewed by eseidel.
4078 * DrawTest/TestController.m:
4079 (-[TestController imagePathForSVGPath:]):
4080 Fixed support for using TextViewer with the layout-tests.
4081 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
4083 2005-08-11 Maciej Stachowiak <mjs@apple.com>
4085 At Least Roughly Glanced At by Anders.
4087 - fix change with totally breaks the layout tests.
4089 * DumpRenderTree/DumpRenderTree.m:
4090 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
4091 load, to avoid dumping twice accidentally.
4093 2005-08-10 Eric Seidel <eseidel@apple.com>
4094 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
4098 * DumpRenderTree/DumpRenderTree.m:
4099 Added support for rendering to a PNG file.
4100 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
4102 2005-08-07 Eric Seidel <eseidel@apple.com>
4106 * Scripts/run-webkit-tests: added --svg option
4107 * Scripts/run-webkit-tests-svg: Removed.
4108 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
4110 2005-08-07 Eric Seidel <eseidel@apple.com>
4111 Changes by Ben La Monica <ben.lamonica@gmail.com>
4115 * svg2png/ImageDiff.h: Added.
4116 * svg2png/ImageDiff.m: Added.
4117 (getDifferenceBitmap):
4118 (computePercentageDifferent):
4119 (saveAnimatedGIFToFile):
4120 * svg2png/svg2png.m:
4121 (usage): added several new options
4122 (getBitmapForSVG): added NSBitmapImageRep generation
4123 (main): various argument changes.
4124 * svg2png/svg2png.xcodeproj/project.pbxproj:
4125 Several additions to provide image differencing functionality.
4126 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
4128 2005-08-07 Eric Seidel <eseidel@apple.com>
4132 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
4133 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
4134 Adding the first SVG layout tests:
4135 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
4137 2005-08-07 Darin Adler <darin@apple.com>
4139 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
4141 2005-08-06 Eric Seidel <eseidel@apple.com>
4145 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
4146 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
4147 * Scripts/build-dumpkcanvastree: Added.
4148 * Scripts/run-webkit-tests-svg: Added.
4149 Adds a DumpRenderTree-like tool for SVG which allows us to do
4150 text-based layout regression testing. This (like most of the
4151 SVG specific stuff) is temporary and will be replaced by
4152 DumpRenderTree once the DOMs and RenderTrees merge.
4153 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
4155 2005-08-06 Eric Seidel <eseidel@apple.com>
4159 * DrawTest/DrawTestView.m:
4160 (-[DrawTestView toggleFilterSupport:]): missing negation.
4161 One half of fix for toggling filter support.
4162 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
4164 2005-08-04 Eric Seidel <eseidel@apple.com>
4168 * Scripts/build-drawtest:
4169 * Scripts/build-dumprendertree:
4170 * Scripts/build-svg2png:
4171 * Scripts/build-webcore-svg:
4172 * Scripts/build-webkit:
4173 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
4174 Added checkRequiredSystemConfig and made all the build-* scripts
4175 use it to print a pretty warning when trying to compile on an
4176 unsupported system (less than 10.4, Xcode 2.1).
4177 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
4179 2005-08-04 Darin Adler <darin@apple.com>
4181 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
4182 the dead. It was removed by accident when someone was trying to work on the branch.
4184 2005-07-31 Darin Adler <darin@apple.com>
4186 - a little tools cleanup
4188 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
4189 project as a whole. Removed unused Default configuration.
4191 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
4193 2005-07-31 Duncan Wilcox <duncan@mclink.it>
4195 Reviewed and landed by Darin Adler.
4197 Add logging of editing delegate calls for regression checking.
4199 * DumpRenderTree/DumpRenderTree.m:
4201 setup editing delegate
4203 (-[DOMNode dumpPath]):
4205 utility for editing delegate logging
4207 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
4208 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
4209 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
4210 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
4211 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
4212 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
4213 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
4214 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
4215 (-[EditingDelegate webViewDidBeginEditing:]):
4216 (-[EditingDelegate webViewDidChange:]):
4217 (-[EditingDelegate webViewDidEndEditing:]):
4218 (-[EditingDelegate webViewDidChangeTypingStyle:]):
4219 log corresponding editing delegate methods
4221 (-[EditingDelegate webViewDidChangeSelection:]):
4222 log selection except when clearing selection after end of test (uses existing "done" flag)
4225 added clearing of selection after test
4227 2005-07-31 Eric Seidel <eseidel@apple.com>
4231 * Scripts/build-drawtest: Added.
4232 * Scripts/build-svg2png: Added.
4233 * Scripts/build-webcore-svg: Added.
4234 * Scripts/run-drawtest: Added.
4235 * Scripts/webkitdirs.pm: added checkSVGFrameworks
4236 Made it much easier to build WebCore+SVG.
4237 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
4239 2005-07-29 Eric Seidel <eseidel@apple.com>
4243 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
4244 Build fix. Removed bad path.
4246 2005-07-29 Eric Seidel <eseidel@apple.com>
4248 Reviewed by sullivan.
4250 * DrawTest/AppDelegate.h: Added.
4251 * DrawTest/AppDelegate.m: Added.
4252 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
4253 * DrawTest/DrawTestDocument.h: Added.
4254 * DrawTest/DrawTestDocument.m: Added.
4255 * DrawTest/DrawTestInspectorController.h: Added.
4256 * DrawTest/DrawTestInspectorController.m: Added.
4257 * DrawTest/DrawTestToolbarController.h: Added.
4258 * DrawTest/DrawTestToolbarController.m: Added.
4259 * DrawTest/DrawTestView.h: Added.
4260 * DrawTest/DrawTestView.m: Added.
4261 * DrawTest/DrawTest_Prefix.pch: Added.
4262 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
4263 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.