1 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
5 Fixes last part of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
6 Move QtLauncher down to WebKitQt.
8 * QtLauncher/CMakeLists.txt: Removed.
9 * QtLauncher/main.cpp: Removed.
11 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
15 Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
16 Adjust DumpRenderTree to the FrameQtClient changes.
18 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
19 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
20 (WebCore::DumpRenderTree::DumpRenderTree):
21 (WebCore::DumpRenderTree::~DumpRenderTree):
22 (WebCore::DumpRenderTree::frame):
23 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
24 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
25 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
26 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
27 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
29 2006-09-03 Darin Adler <darin@apple.com>
31 * Scripts/do-webcore-rename: More renaming plans.
33 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
37 http://bugzilla.opendarwin.org/show_bug.cgi?id=10693
38 Convert JavaScript arrays to AppleScript lists
40 * DumpRenderTree/AppleScriptController.m:
41 (convertAEDescToObject):
42 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
44 2006-08-31 Darin Adler <darin@apple.com>
46 * Scripts/do-webcore-rename: Prepare for another round of renaming.
48 2006-08-29 Dan Waylonis <waylonis@google.com>
52 - Verification of exceptions thrown in a plugin. Test for bug 10114.
53 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
54 * DumpRenderTree/ObjCPlugin.m:
55 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
56 (+[ObjCPlugin webScriptNameForSelector:]):
57 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
59 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
63 Commit KDE related tweaks, to be able to
64 differentiate between a Qt-only or a KDE build.
66 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
67 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
69 2006-08-29 Darin Adler <darin@apple.com>
71 Reviewed by Tim Hatcher.
73 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
74 to work around what seems to be a bug in some versions of gdb.
76 2006-08-16 Tim Omernick <timo@apple.com>
78 Reviewed by John Sullivan.
80 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
81 <http://bugzilla.opendarwin.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
84 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
86 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
87 are expected to be retained by the plug-in, and released by the caller.
89 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
91 Reviewed by Tim Hatcher.
93 Fixes one chunk of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10604
95 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
96 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
99 * Scripts/run-webkit-tests:
100 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
102 2006-08-28 Darin Adler <darin@apple.com>
104 Reviewed by Tim Hatcher.
106 * Scripts/build-drosera: Fix behavior when there are multiple options.
108 2006-08-27 Timothy Hatcher <timothy@apple.com>
112 Drosera will be built when you type make.
114 * Drosera/Makefile: Added.
116 * Makefile.shared: Added.
118 2006-08-27 Anders Carlsson <acarlsson@apple.com>
122 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
123 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
124 (WebCore::DumpRenderTree::DumpRenderTree):
125 (WebCore::DumpRenderTree::~DumpRenderTree):
126 (WebCore::DumpRenderTree::open):
127 (WebCore::DumpRenderTree::readStdin):
128 (WebCore::DumpRenderTree::checkLoaded):
129 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
130 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
133 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
135 Reviewed by Eric, landed by Anders.
137 Add DumpRenderTree support for Qt/Linux.
139 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
140 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
141 (WebCore::DumpRenderTree::DumpRenderTree):
142 (WebCore::DumpRenderTree::~DumpRenderTree):
143 (WebCore::DumpRenderTree::open):
144 (WebCore::DumpRenderTree::readStdin):
145 (WebCore::DumpRenderTree::checkLoaded):
146 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
147 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
149 * Scripts/build-dumprendertree:
150 * Scripts/run-webkit-tests:
151 * Scripts/webkitdirs.pm:
153 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
155 Reviewed by Eric. Landed by rwlbuis.
157 Add QtLauncher (was testunity before), which provides a
158 standalone "browser" to test the Qt platform stuff.
160 * QtLauncher/CMakeLists.txt: Added.
161 * QtLauncher/main.cpp: Added.
164 2006-08-22 Trey Matteson <trey@usa.net>
168 Added support for a new set of browser navigation tests. The main feature
169 is the ability for a test to queue up a set of future actions that will
170 happen after that first page is loaded. This is used to simulate a sequence
171 of user actions such as filling out forms, loading additional pages or
172 going back. In addition we can now dump out the state of the back/forward
173 list, and the scroll position is dumped if not at 0,0.
175 * DumpRenderTree/DumpRenderTree.m:
176 (main): Init new state
177 (compareHistoryItems): New utility to support sorting.
178 (dumpHistoryItem): Write out a WebHistoryItem and kids.
179 (dumpFrameScrollPosition): Write out the scroll position.
180 (dump): Optionally write b/f list or scroll position.
181 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
182 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
183 Kick off any queued actions. Fixed for the case of loads started in
184 a subframe instead of the root frame.
185 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
186 Grab the topmost frame that is being loaded. Do this as early as possible,
187 instead of in didCommitLoadForFrame.
188 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
189 Noting a load has started now happens in previous method.
190 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
191 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
192 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
194 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
195 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
196 Add new work to the queue.
197 (-[LayoutTestController _doLoad:target:]): Do a queued load.
198 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
199 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
200 (-[LayoutTestController scheduleForwardNav:]):
201 (-[LayoutTestController scheduleReload]):
202 (-[LayoutTestController scheduleScript:]):
203 (-[LayoutTestController scheduleLoad:target:]):
204 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
205 since it's not one of the functions that does any dumping.
207 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
211 - added a function to create a few DOMKeyboardEvents and dispatch
212 them to a specified HTML element
213 http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
215 * DumpRenderTree/EventSendingController.m:
216 (+[EventSendingController isSelectorExcludedFromWebScript:]):
217 (+[EventSendingController webScriptNameForSelector:]):
218 (-[EventSendingController fireKeyboardEventsToElement:]):
220 2006-08-15 Duncan Wilcox <duncan@mclink.it>
222 Reviewed and tweaked by Darin.
224 - added DumpRenderTree support so editing delegate can be made to refuse edits
225 to enable tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=10129
227 * DumpRenderTree/DumpRenderTree.m:
228 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
229 to the list of methods.
230 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
231 without the colon, for the JavaScript name.
232 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
234 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
236 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
237 setter methods to the class.
238 * DumpRenderTree/EditingDelegate.m:
239 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
240 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
241 return the value of acceptsEditing.
242 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
243 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
244 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
245 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
246 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
248 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
249 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
250 (-[EditingDelegate setAcceptsEditing:]): Added.
252 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
256 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
257 http://bugzilla.opendarwin.org/show_bug.cgi?id=10224
259 * Drosera/Drosera.xcodeproj/project.pbxproj:
260 * Drosera/LauncherInfo.plist:
262 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
264 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
265 when a test performs an unsuccessful drag and drop operation.
267 * DumpRenderTree/EventSendingController.m:
268 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
269 drag operation for the mouse release is NSDragOperationNone.
271 2006-08-02 Timothy Hatcher <timothy@apple.com>
275 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
276 http://bugzilla.opendarwin.org/show_bug.cgi?id=9632
278 Do not change the file source when normalizing the line endings.
279 We use this file source to compare against new versions of the source
280 as it comes in, so we can skip re-syntax highlighting if they are the same.
281 The problem is apparent on yahoo.com since they have mixed line endings and
282 once we normalize them the source will always be different. This was
283 compounded by the fact that yahoo has around 40 inline scripts. Each
284 inline script causes us to check if the main document has more loaded,
285 that is when we compare the source strings. Since they are always different
286 we would syntax highlight yahoo.com 40 times! We do check source length before
287 doing a more expensive string comparison, but the lengths were the same.
289 * Drosera/debugger.js:
291 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
295 Bug 9931: [Drosera] Needs a cool icon
296 http://bugzilla.opendarwin.org/show_bug.cgi?id=9931
298 * Drosera/Drosera.icns: Added.
299 * Drosera/Drosera.xcodeproj/project.pbxproj:
300 * Drosera/Info.plist:
302 2006-08-01 Darin Adler <darin@apple.com>
304 - fix a bug in my recent change where the mouse position at the end of
305 the last test would affect the results of the next test
307 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
309 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
313 http://bugzilla.opendarwin.org/show_bug.cgi?id=10182
314 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
316 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
317 Correct the logic to not reload local variable list unless an '=' character is in the expression.
319 2006-07-31 Darin Adler <darin@apple.com>
323 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10171
324 REGRESSION: failing layout test: fast/events/objc-event-api.html
326 * DumpRenderTree/DumpRenderTree.m:
327 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
328 location in flipped coordinates, since those are the coordinates that we use.
329 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
332 * DumpRenderTree/EventSendingController.m:
333 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
334 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
335 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
336 probably worked OK, but this is needed to be correct.
337 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
338 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
339 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
340 dump the screenY as-is.
342 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
346 http://bugzilla.opendarwin.org/show_bug.cgi?id=10178
347 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
349 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
350 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
352 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
356 http://bugzilla.opendarwin.org/show_bug.cgi?id=10175
357 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
359 * Drosera/DebuggerDocument.m:
360 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
362 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
366 http://bugzilla.opendarwin.org/show_bug.cgi?id=10167
367 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
369 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
372 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
376 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
377 http://bugzilla.opendarwin.org/show_bug.cgi?id=9686
379 * Drosera/DebuggerDocument.m:
380 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
381 ensure that the server does not try and notify us of events related to the resumption.
382 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
383 call through to JavaScript.
384 * Drosera/debugger.js: Pause debugger when exception is raised.
386 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
390 - fixes for Linux build
392 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
393 * GdkLauncher/gdklauncher.bkl: Tweak comment.
395 2006-07-24 Dan Waylonis <waylonis@google.com>
397 Reviewed and tweaked a bit by Darin.
399 * DumpRenderTree/ObjCPlugin.m:
400 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
401 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
402 "echo:" so it's nice to call from JavaScript.
403 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
404 to test a round trip through Objective-C types.
406 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
410 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10060
411 Improve iExploder results parsing
413 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
416 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
420 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9964
421 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
423 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
425 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
429 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
430 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
432 Removed "Property changes" that snuck in as part of the "apply patch" process.
434 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
438 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9875
439 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
442 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
444 (patch): Use patch(1) for non-binary additions and deletions.
445 * Scripts/svn-unapply:
447 (patch): Use patch(1) for reverting non-binary additions and deletions.
448 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
450 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
454 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
455 http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
457 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
458 so, have stepOut pause on the next call to willExecuteStatement rather than second.
460 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
464 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
465 Teach svn-create-patch and friends to fix ChangeLog patches
467 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
468 * Scripts/svn-create-patch: Ditto.
469 * Scripts/svn-unapply: Ditto.
471 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
475 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
476 http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
478 * Drosera/DebuggerDocument.m:
479 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
481 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
485 Bug 9863: Drosera needs to show something at launch
486 http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
488 * Drosera/DebuggerApplication.m:
489 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
491 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
495 Lets Drosera build universal for the nightlies. Right now it is not
496 possible to build a universal binary on a PPC machine because of a
497 conflict with the universal SDK.
499 * BuildSlaveSupport/build-launcher-app:
500 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
502 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
506 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
507 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
509 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
510 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
511 should open a new stream and deliver the data to the current instance.
513 2006-07-11 Timothy Hatcher <timothy@apple.com>
517 Bug 9598: [Drosera] add a JavaScript evaluator console
518 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
520 * Drosera/DebuggerApplication.h:
521 * Drosera/DebuggerApplication.m:
522 (-[DebuggerApplication knownServers]):
523 * Drosera/DebuggerDocument.h:
524 * Drosera/DebuggerDocument.m:
525 (-[WebScriptObject evaluateScript:inCallFrame:]):
526 (-[WebScriptObject showConsole:]):
527 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
528 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
529 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
530 (-[WebScriptObject webView:createWebViewWithRequest:]):
531 (-[WebScriptObject webViewShow:]):
532 (-[WebScriptObject webViewAreToolbarsVisible:]):
533 (-[WebScriptObject webView:setToolbarsVisible:]):
534 (-[WebScriptObject webView:setResizable:]):
535 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
536 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
537 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
538 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
539 (-[WebScriptObject webView:didFinishLoadForFrame:]):
540 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
541 * Drosera/Drosera.xcodeproj/project.pbxproj:
542 * Drosera/Images/console.png: Added.
543 * Drosera/console.css: Added.
544 * Drosera/console.html: Added.
545 * Drosera/console.js: Added.
547 2006-07-11 Timothy Hatcher <timothy@apple.com>
549 Reviewed by a tired Geoff.
551 Bug 9597: [Drosera] hook up the variables table to show stack variables
552 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
554 * Drosera/DebuggerDocument.m:
555 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
556 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
557 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
558 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
559 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
560 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
561 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
562 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
563 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
564 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
565 * Drosera/debugger.css:
566 * Drosera/debugger.html:
567 * Drosera/debugger.js:
569 2006-07-10 Tim Omernick <timo@apple.com>
571 Reviewed by Beth Dakin.
573 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
574 Add DOM access test to DumpRenderTree's Netscape plug-in
576 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
580 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
584 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
585 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
587 Now track three states: initializing, running, and closed. If we are launched and the previous
588 state was initializing then we likely just experienced a crash on launch.
590 * WebKitLauncher/WebKitNightlyEnabler.m:
591 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
592 (myApplicationWillTerminate): Update to use new states.
593 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
594 initializing as early as practical.
595 (symbol_lookup): Bring code up to speed with formatting guidelines.
596 (GDSymbolLookup): Ditto.
598 2006-07-10 Darin Adler <darin@apple.com>
600 - try to fix Windows build
602 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
603 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
605 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
607 Build fix. Reviewed by NOBODY.
609 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
610 devenv.com not available in VC++ Express installations
612 * Scripts/webkitdirs.pm: Backed out previous change.
614 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
618 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
619 svn-apply should set ChangeLog date correctly when applying patches
621 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
622 before applying the patch.
623 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
625 2006-07-09 Darin Adler <darin@apple.com>
627 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
629 2006-07-09 Darin Adler <darin@apple.com>
631 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
633 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
635 Reviewed by NOBODY (build fix).
637 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
638 devenv.com not available in VC++ Express installations
640 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
641 work again. Add VC++ Express check as the fallback.
643 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
645 Reviewed by Timothy Hatcher.
647 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
648 devenv.com not available in VC++ Express installations
650 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
652 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
656 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
657 Patch by coldwinter@katamail.com.
659 In the congratulations message, "capatibilies" should be "capabilities".
661 * Scripts/build-webkit:
663 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
665 Reviewed by Timothy Hatcher.
667 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
668 Teach run-webkit-tests how to ignore tests with performance improvements
670 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
671 feature, and minor clean up.
673 2006-07-08 Darin Adler <darin@apple.com>
675 Reviewed by Geoff (well, half of it at least).
677 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
678 storage leaks in Objective-C tests
680 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
681 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
682 Add a release to fix a storage leak.
684 2006-07-08 Darin Adler <darin@apple.com>
686 * Scripts/do-webcore-rename: A few more.
688 2006-07-08 Darin Adler <darin@apple.com>
690 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
692 2006-07-04 Maciej Stachowiak <mjs@apple.com>
696 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
697 - add support for dumping non-HTML as text - in this case use textContent
700 * DumpRenderTree/DumpRenderTree.m:
703 2006-07-02 Timothy Hatcher <timothy@apple.com>
707 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
708 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
710 Adds step over and step out. Along with a little code cleanup
711 that was minor enough to piggyback on this fix.
713 * Drosera/DebuggerDocument.h:
714 * Drosera/DebuggerDocument.m:
715 (-[DebuggerDocument stepOver:]):
716 (-[DebuggerDocument stepOut:]):
717 (-[DebuggerDocument windowDidLoad]):
718 (-[DebuggerDocument windowWillClose:]):
719 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
720 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
721 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
722 (-[DebuggerDocument validateUserInterfaceItem:]):
723 * Drosera/Drosera.xcodeproj/project.pbxproj:
724 * Drosera/debugger.html:
725 * Drosera/debugger.js:
726 * Drosera/viewer.css:
728 2006-07-02 Timothy Hatcher <timothy@apple.com>
732 Bug 9628: [Drosera] Split Views acting oddly
733 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
735 Only update the last X or Y coordinate if the new
736 size was not constrained. Also adds the resize cursor to
737 the body during the drag incase there is a constrained
738 over drag off of the resizer element.
740 * Drosera/debugger.js:
742 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
744 Reviewed by Alexy Proskuryakov.
746 Bug 9692: Warning about Safari extensions on every launch is obnoxious
747 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
749 * WebKitLauncher/WebKitNightlyEnabler.m:
750 (myApplicationWillTerminate): Note that we are exiting cleanly.
751 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
752 to exit cleanly on our last invocation. This doesn't play nicely with
753 multiple concurrent instances of WebKit.app so it can be disabled via
754 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
756 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
758 Reviewed by Alexy Proskuryakov.
760 Bug 9654: Refresh Loop when accessing feed URLs
761 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
763 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
765 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
767 Reviewed by Timothy Hatcher.
769 Bug 9689: Nightly builds should warn a user about potential problems when using
771 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
773 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
774 * WebKitLauncher/WebKitNightlyEnabler.m:
775 (myBundleDidLoad): Keep track of if any bundles that are loaded.
776 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
777 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
778 NSApplicationWillFinishLaunchingNotification notifications so that we can
779 track bundle loads and notify the user at launch completion.
781 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
785 - first check-in of a Gdk shell for testing WebKit
787 * GdkLauncher: Added.
789 2006-06-29 Timothy Hatcher <timothy@apple.com>
793 Need to call window close so WebView tears-down completly.
795 * DumpRenderTree/DumpRenderTree.m:
796 (main): call [window close]
798 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
802 Bug 9615: Buildbot configuration should be in SVN repository
803 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
805 Import BuildBot configuration files as used by build.webkit.org.
806 auth.py has been stubbed out so that slave passwords are not disclosed.
808 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
809 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
810 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
811 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
812 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
813 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
814 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
815 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
816 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
817 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
818 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
819 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
821 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
825 Bug 9614: Nightly builds should notify user if a newer build is available
826 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
828 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
829 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
830 script so it can keep track of the latest revision.
831 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
832 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
833 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
834 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
835 the nightly start page.
837 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
841 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
842 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
844 Report screenY values as (height of zero screen - screenY)
846 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
848 2006-06-25 Timothy Hatcher <timothy@apple.com>
852 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
853 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
855 Makes breakpoints dragable. If dragged off the gutter they are deleted.
857 * Drosera/debugger.js:
858 * Drosera/viewer.css:
860 2006-06-25 Timothy Hatcher <timothy@apple.com>
864 Bug 9568: assertion failure in Safari after quitting Drosera
865 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
867 Call switchToServerNamed:nil and not removeLister to make sure
868 the server object is set to nil to prevent further removeListener calls.
870 * Drosera/DebuggerDocument.m:
871 (-[DebuggerDocument applicationTerminating:]):
873 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
877 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
878 that the directory is not empty instead of reading in every single file and directory first,
879 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
882 2006-06-25 Darin Adler <darin@apple.com>
884 * Scripts/svn-apply: Tweak comments.
885 * Scripts/svn-create-patch: Ditto.
886 * Scripts/svn-unapply: Ditto.
888 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
890 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
892 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
894 * Scripts/svn-apply: Formatting fix.
896 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
900 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
901 Teach svn-apply and svn-unapply to handle directory adds and removes better
903 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
904 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
906 2006-06-25 Timothy Hatcher <timothy@apple.com>
910 Bug 9574: Drosera should show inline scripts within the original HTML
911 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
913 Refactor the JavaScript code to have a distinction between files
914 and scripts. Show the script in the context of the HTML file if
915 it's URL is the same as the frame's main resource. At the time of
916 the disParseScript callback the main resource might not be completely
917 loaded, but Drosera needs to show whatever we have at the time. Once
918 the main resource is finished, update the file source and reload the file.
920 * Drosera/DebuggerDocument.m:
921 (-[DebuggerDocument pause]):
922 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
923 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
924 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
925 * Drosera/debugger.css:
926 * Drosera/debugger.js:
928 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
932 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
933 Teach prepare-ChangeLog to operate on a list of files or directories
935 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
936 * Scripts/svn-create-patch: Code refactoring.
938 2006-06-24 James G. Speth <speth@end.com>
942 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
943 add a way to build Objective-C test cases in HTML
945 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
946 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
947 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
950 * DumpRenderTree/ObjCPlugin.h:
951 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
952 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
953 (+[ObjCPlugin webScriptNameForSelector:]):
954 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
955 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
956 (+[NSObject allowsScriptsFullAccess]):
957 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
958 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
959 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
960 (+[JSObjC webScriptNameForSelector:]):
961 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
962 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
963 (-[JSObjC log:]): access to NSLog function
964 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
965 (-[JSObjC classOfObject:]):
966 (-[JSObjC classNameOfObject:]):
968 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
972 * DrawTest/Info.plist: Added copyright statement.
973 * Drosera/Info.plist: Ditto.
974 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
975 * WebKitLauncher/Info.plist: Ditto.
977 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
979 Build fix. Reviewed by NOBODY.
981 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
982 devenv.com not available in VC++ Express installations
984 * Scripts/webkitdirs.pm: Backed out previous change.
986 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
990 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
991 devenv.com not available in VC++ Express installations
993 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
995 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
999 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
1000 A bunch of fixes to run-webkit-httpd
1002 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1003 127.0.0.1. Useful for testing with WinIE running on another machine;
1004 - don't call checkFrameworks() - we do not need a built WebKit here;
1005 - changed tabs to spaces;
1006 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1007 interactive mode, they were a hassle when testing with several browsers, as one
1008 had to wait for connection to expire);
1009 - remove httpd.pid when done, so that Apache doesn't complain next time.
1011 * Scripts/run-webkit-httpd:
1013 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1015 Reviewed by ggaren, landed by ap.
1017 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
1018 Complete DOMUIEvent Obj-C API to reflect UIEvent
1020 Add function to enable logging of all events of one DOM node to stdout.
1022 * DumpRenderTree/EventSendingController.h:
1023 * DumpRenderTree/EventSendingController.m:
1024 (+[EventSendingController initialize]):
1025 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1026 (+[EventSendingController webScriptNameForSelector:]):
1027 (-[EventSendingController enableDOMUIEventLogging:]):
1028 (-[EventSendingController handleEvent:]):
1030 2006-06-23 Kevin Decker <kdecker@apple.com>
1032 Reviewed by Tim Hatcher.
1034 - Made column headers in Drosera resizable.
1036 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1040 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
1041 Another case error preventing build
1043 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1045 2006-06-22 Timothy Hatcher <timothy@apple.com>
1049 Adds a native toolbar to Drosera to be a good citizen.
1050 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1051 Fixes a dragging bug from an earlier fix to the divider code.
1052 Fixes some poor indenting in debugger.js.
1054 * Drosera/DebuggerDocument.h:
1055 * Drosera/DebuggerDocument.m:
1056 (-[DebuggerDocument stepInto]):
1057 (-[DebuggerDocument pause:]):
1058 (-[DebuggerDocument resume:]):
1059 (-[DebuggerDocument stepInto:]):
1060 (-[DebuggerDocument windowDidLoad]):
1061 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1062 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1063 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1064 (-[DebuggerDocument validateUserInterfaceItem:]):
1065 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1066 * Drosera/English.lproj/MainMenu.nib/info.nib:
1067 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1068 * Drosera/debugger.css:
1069 * Drosera/debugger.html:
1070 * Drosera/debugger.js:
1071 * Drosera/viewer.html:
1073 2006-06-22 Kevin Decker <kdecker@apple.com>
1077 - Added pressed column header image.
1078 - Made column headers behave more like Xcode.
1080 2006-06-22 Timothy Hatcher <timothy@apple.com>
1082 Reviewed by Kevin Decker.
1084 Code clean up. Adds the stackframe and makes only the body
1085 of the tables scrollable keeping the header visible.
1086 Shows the current function stack when paused or stepping.
1088 * Drosera/DebuggerApplication.m:
1089 (-[DebuggerApplication awakeFromNib]):
1090 (-[DebuggerApplication numberOfRowsInTableView:]):
1091 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1092 * Drosera/DebuggerDocument.h:
1093 * Drosera/DebuggerDocument.m:
1094 (-[DebuggerDocument dealloc]):
1095 (-[DebuggerDocument currentFrame]):
1096 (-[DebuggerDocument currentFrameFunctionName]):
1097 (-[DebuggerDocument currentFunctionStack]):
1098 (-[DebuggerDocument log:]):
1099 (-[DebuggerDocument windowWillClose:]):
1100 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1101 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1102 * Drosera/Drosera.xcodeproj/project.pbxproj:
1103 * Drosera/debugger.css:
1104 * Drosera/debugger.html:
1105 * Drosera/debugger.js:
1107 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1111 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1113 * Scripts/run-webkit-httpd:
1115 2006-06-22 Kevin Decker <kdecker@apple.com>
1117 Reviewed by Tim Hatcher.
1119 - More progress toward Javascript Debugger.
1120 - Added some new images to the project.
1122 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1126 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
1127 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1129 * Scripts/run-webkit-httpd: Added.
1131 2006-06-20 Timothy Hatcher <timothy@apple.com>
1135 Builds Drosera and a launcher to include with the nightly.
1137 * BuildSlaveSupport/build-launcher-app:
1138 * BuildSlaveSupport/build-launcher-dmg:
1139 * Drosera/Drosera.xcodeproj/project.pbxproj:
1140 * Drosera/Info.plist:
1141 * Drosera/LauncherInfo.plist: Added.
1142 * Drosera/launcher.m: Added.
1143 (displayErrorAndQuit):
1144 (checkMacOSXVersion):
1147 * Scripts/build-drosera
1148 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1149 * WebKitLauncher/main.m:
1152 2006-06-20 Timothy Hatcher <timothy@apple.com>
1156 Adds a JavaScript debugger, called Drosera. Named after
1157 a genus of bug eating plants.
1159 * Drosera/DebuggerApplication.h: Added.
1160 * Drosera/DebuggerApplication.m: Added.
1161 (-[DebuggerApplication applicationDidFinishLaunching:]):
1162 (-[DebuggerApplication serverLoaded:]):
1163 (-[DebuggerApplication serverUnloaded:]):
1164 (-[DebuggerApplication awakeFromNib]):
1165 (-[DebuggerApplication showAttachPanel:]):
1166 (-[DebuggerApplication attach:]):
1167 (-[DebuggerApplication numberOfRowsInTableView:]):
1168 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1169 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1170 (-[DebuggerApplication tableViewSelectionDidChange:]):
1171 * Drosera/DebuggerDocument.h: Added.
1172 * Drosera/DebuggerDocument.m: Added.
1173 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1174 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1175 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1176 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1177 (-[DebuggerDocument initWithServerName:]):
1178 (-[DebuggerDocument windowWillClose:]):
1179 (-[DebuggerDocument dealloc]):
1180 (-[DebuggerDocument isPaused]):
1181 (-[DebuggerDocument pause]):
1182 (-[DebuggerDocument resume]):
1183 (-[DebuggerDocument step]):
1184 (-[DebuggerDocument windowNibName]):
1185 (-[DebuggerDocument windowDidLoad]):
1186 (-[DebuggerDocument switchToServerNamed:]):
1187 (-[DebuggerDocument applicationTerminating:]):
1188 (-[DebuggerDocument serverConnectionDidDie:]):
1189 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1190 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1191 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1192 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1193 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1194 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1195 * Drosera/Drosera.pch: Added.
1196 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1197 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1198 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1199 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1200 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1201 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1202 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1203 * Drosera/Images/breakPoint.tif: Added.
1204 * Drosera/Images/breakPointDisabled.tif: Added.
1205 * Drosera/Images/continue.tif: Added.
1206 * Drosera/Images/finishFunction.tif: Added.
1207 * Drosera/Images/glossyFooterFill.tif: Added.
1208 * Drosera/Images/glossyHeader.png: Added.
1209 * Drosera/Images/gradientBackground.png: Added.
1210 * Drosera/Images/gutter.png: Added.
1211 * Drosera/Images/navLeftDisabled.png: Added.
1212 * Drosera/Images/navLeftNormal.png: Added.
1213 * Drosera/Images/navLeftPressed.png: Added.
1214 * Drosera/Images/navRightDisabled.png: Added.
1215 * Drosera/Images/navRightNormal.png: Added.
1216 * Drosera/Images/navRightPressed.png: Added.
1217 * Drosera/Images/pause.tif: Added.
1218 * Drosera/Images/popUpArrows.png: Added.
1219 * Drosera/Images/programCounter.tif: Added.
1220 * Drosera/Images/programCounterBreakPoint.tif: Added.
1221 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1222 * Drosera/Images/run.tif: Added.
1223 * Drosera/Images/splitterBar.tif: Added.
1224 * Drosera/Images/splitterDimple.tif: Added.
1225 * Drosera/Images/step.tif: Added.
1226 * Drosera/Images/stepOver.tif: Added.
1227 * Drosera/Images/stop.tif: Added.
1228 * Drosera/Images/toolbarBackground.png: Added.
1229 * Drosera/Info.plist: Added.
1230 * Drosera/debugger.css: Added.
1231 * Drosera/debugger.html: Added.
1232 * Drosera/debugger.js: Added.
1233 * Drosera/main.m: Added.
1235 * Drosera/viewer.css: Added.
1236 * Drosera/viewer.html: Added.
1238 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1242 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
1243 Teach svn-apply and svn-unapply to use full path names
1245 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1246 * Scripts/svn-unapply: Ditto.
1248 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1252 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
1253 DumpRenderTree should be able to keep URL history during runs
1255 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1257 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1258 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1259 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1260 it is currently nil since keepWebHistory() might be called more than once incidentally
1262 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1263 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1265 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1269 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
1270 Make prepare-ChangeLog faster
1272 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1273 then save the diff output for reuse. Keep a status variable if changes are made to
1274 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1275 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1276 for no changed files closer to the beginning of the program.
1278 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1280 Reviewed and landed by ap.
1282 - make DumpRenderTree build
1284 * DumpRenderTree/DumpRenderTree.m:
1285 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1286 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1287 (-[LayoutTestController setWindowIsKey:]): Ditto.
1288 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1290 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1292 Reviewed by Darin, landed by Geoff.
1294 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
1295 Use pathcmp() when sorting paths in svn-create-patch
1297 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1298 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1299 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1300 switch and printUsage() subroutine.
1302 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1306 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
1307 Teach svn-create-patch to sort its output
1309 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1310 by text files first, then by binary files.
1312 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1316 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
1317 Teach svn-create-patch and friends to work with binary files
1319 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1320 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1321 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1323 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1327 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
1328 Performance improvement for svn-create-patch
1330 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1332 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1336 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
1337 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1339 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1340 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1342 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1346 Switch Spinneret to new hosting mechanism
1348 * Spinneret/Spinneret.sln:
1349 * Spinneret/Spinneret/Spinneret.cpp:
1350 (SpinneretWebHost::updateAddressBar):
1351 (SpinneretWebHost::QueryInterface):
1352 (SpinneretWebHost::AddRef):
1353 (SpinneretWebHost::Release):
1360 * Spinneret/Spinneret/Spinneret.h:
1361 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1362 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1363 (SpinneretWebHost::didFailProvisionalLoadWithError):
1364 (SpinneretWebHost::didCommitLoadForFrame):
1365 (SpinneretWebHost::didReceiveTitle):
1366 (SpinneretWebHost::didReceiveIcon):
1367 (SpinneretWebHost::didFinishLoadForFrame):
1368 (SpinneretWebHost::didFailLoadWithError):
1369 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1370 (SpinneretWebHost::willPerformClientRedirectToURL):
1371 (SpinneretWebHost::didCancelClientRedirectForFrame):
1372 (SpinneretWebHost::willCloseFrame):
1373 (SpinneretWebHost::windowScriptObjectAvailable):
1374 * Spinneret/Spinneret/Spinneret.vcproj:
1376 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1380 Updated build script
1382 * Scripts/build-webkit:
1384 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1388 * DumpRenderTree/DumpRenderTree.m:
1389 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1390 (-[LayoutTestController clearBackForwardList]):
1391 Add clearBackForwardList function to layoutTestController
1393 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1397 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
1398 slow-utf8-text layout test case failing (no longer deterministic?)
1400 * DumpRenderTree/DumpRenderTree.m:
1402 Dump as text when the response MIME type is text/plain
1404 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1408 * Spinneret/Spinneret.sln:
1409 * Spinneret/Spinneret/Spinneret.vcproj:
1411 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1415 Added 'GCController' to DRT to support garbage collection layout tests.
1417 GCController.collect() and GCController.collectOnAlternateThread() do
1418 what you would expect. The latter takes a boolean argument sepcifying
1419 whether to wait for garbage collection to finish before continuing to
1422 * DumpRenderTree/DumpRenderTree.m:
1423 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1424 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1425 * DumpRenderTree/GCController.h: Added.
1426 * DumpRenderTree/GCController.mm: Added.
1427 (+[GCController isSelectorExcludedFromWebScript:]):
1428 (+[GCController webScriptNameForSelector:]):
1429 (-[GCController collect]):
1430 (-[GCController collectOnAlternateThread:]):
1432 2006-05-23 John Sullivan <sullivan@apple.com>
1436 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1437 Newer Xcode removed some obsolete cruft
1439 * DumpRenderTree/TextInputController.m:
1440 (-[TextInputController textInput]):
1441 added (id) cast to make newer compiler happy
1443 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1449 * Spinneret/Spinneret.sln:
1451 2006-05-18 Darin Adler <darin@apple.com>
1453 - try to fix no-SVG, no-XPATH build, again
1455 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1457 2006-05-18 Darin Adler <darin@apple.com>
1459 - try to fix no-SVG, no-XPATH build
1461 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1462 since the former is what's used in the WebCore project now.
1464 2006-05-17 Darin Adler <darin@apple.com>
1466 * Scripts/do-webcore-rename: Some more future renames.
1468 2006-05-16 Adele Peterson <adele@apple.com>
1472 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1473 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1475 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1477 * Scripts/install-unix-extras: Changed to be executable and removed
1478 text in the file generated by "svn diff".
1479 * Scripts/regenerate-makefiles: Ditto.
1481 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1483 Reviewed by Darin, landed by ap.
1485 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1486 Bakefiles (and generated Makefiles) for wx and gdk ports
1488 * Scripts/install-unix-extras: Added.
1489 * Scripts/regenerate-makefiles: Added.
1491 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1495 Fix registry usage from perl script. Turns out libwin32's
1496 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1498 * Scripts/install-win-extras:
1500 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1503 Add load ended callback.
1507 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1508 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1509 * Spinneret/Spinneret/Spinneret.cpp:
1510 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1511 (_tWinMain): Load built-in test content here instead of in lower-level code.
1512 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1514 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1518 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1520 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1524 * Scripts/check-dom-results:
1525 Add XPath to the list of results.
1527 2006-05-08 Darin Adler <darin@apple.com>
1529 * Scripts/do-webcore-rename: Add another rename.
1531 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1535 Spinneret now links against the new separate lib.
1537 * Spinneret/Spinneret.sln:
1538 * Spinneret/Spinneret/Spinneret.cpp:
1539 (SpinneretWebHost::updateLocationBar):
1541 * Spinneret/Spinneret/Spinneret.h:
1542 * Spinneret/Spinneret/Spinneret.vcproj:
1543 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1544 * Spinneret/Spinneret/WebFrame.h: Removed.
1545 * Spinneret/Spinneret/WebView.cpp: Removed.
1546 * Spinneret/Spinneret/WebView.h: Removed.
1548 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1552 Modify error reporting registry keys to disable Dr. Watson.
1553 This allows Javascript test cases to complete without blocking UI.
1555 * Scripts/install-win-extras:
1556 - Use Perl Win32 registry functions to disable blocking UI
1559 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1563 Turned off C++ exceptions, fixed memory leaks
1565 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1566 * Spinneret/Spinneret.sln:
1567 * Spinneret/Spinneret/Spinneret.cpp:
1569 * Spinneret/Spinneret/Spinneret.vcproj:
1570 * Spinneret/Spinneret/WebFrame.cpp:
1571 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1572 (WebKit::WebFrame::WebFrame):
1573 (WebKit::WebFrame::~WebFrame):
1574 (WebKit::WebFrame::impl):
1575 * Spinneret/Spinneret/WebFrame.h:
1576 * Spinneret/Spinneret/WebView.cpp:
1577 * Spinneret/Spinneret/stdafx.h:
1579 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1583 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1584 DumpRenderTree should reset the URL cache
1586 * DumpRenderTree/DumpRenderTree.m:
1587 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1589 2006-04-28 Eric Seidel <eseidel@apple.com>
1591 Reviewed by andersca.
1593 * Scripts/do-webcore-rename: rename KCanvasContainer too
1594 * Scripts/run-webkit-tests: output total time
1596 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1598 Reviewed by hyatt. Landed by eseidel.
1600 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1601 Enable detection of excessive repainting with DumpRenderTree
1603 * DumpRenderTree/DumpRenderTree.m:
1604 (-[LayoutTestController display]):
1606 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1610 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1611 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1613 * DumpRenderTree/DumpRenderTree.m:
1614 (dump): If display() has been called during the test, grab the pixels from
1615 the view, after letting it repaint invalidated rects.
1616 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1617 (-[LayoutTestController display]): Added. Calls -display on the view
1618 and changes the subsequent behavior of dump().
1621 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1625 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1626 Update iExploder to 1.3.2
1628 Test case numbers are not compatible with iExploder 1.2.
1630 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1632 * iExploder/CHANGELOG.txt: Added.
1633 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1634 * iExploder/README.txt: Added some performance hints.
1636 * iExploder/htdocs/config.rb: Added.
1637 * iExploder/htdocs/cssproperties.in:
1638 * iExploder/htdocs/cssvalues.in:
1639 * iExploder/htdocs/htmlattrs.in:
1640 * iExploder/htdocs/htmltags.in:
1641 * iExploder/htdocs/iexploder.cgi:
1642 - Updated to support the latest HTML & CSS tags, properties, and values from both
1643 the WebKit and Mozilla CVS tree
1644 - cssproperties.in cleanup
1645 - Modularized the code a little bit.
1646 - Fix subtest bug that was causing last 5 tags to be missed
1647 - new subtest algorithm to deal better with larger tag counts
1648 - default HTML_MAX_TAGS increased from 32 to 96
1650 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1651 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1652 alternative to our run-iexploder-tests.
1653 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1654 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1655 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1657 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1659 - commit Scripts/run-mangleme-tests (missed it the previous time).
1661 2006-04-18 Darin Adler <darin@apple.com>
1663 - attempt to fix Windows buildbot
1665 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1666 We need a better long-term solution for this.
1668 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1672 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1673 Integrate mangleme test script.
1675 Works in a similar way to run-iexploder-tests.
1677 * Scripts/run-mangleme-tests: Added.
1679 * mangleme/Makefile: Added.
1680 * mangleme/README: Added.
1681 * mangleme/mangle.cgi.c: Added.
1682 * mangleme/remangle.cgi.c: Added.
1683 * mangleme/tags.h: Added.
1685 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1689 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1690 An easier way to save iExploder tests.
1692 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1694 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1698 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1699 Integrate iExploder test script.
1701 This script generates artificially mangled HTML documents, to test that the browser
1702 doesn't crash when handling ill-formed code.
1705 run-iexploder-tests Open an interactive test page in Safari+ToT.
1706 run-iexploder-tests nnnnn Open test #nnnnn.
1708 Command line options:
1709 --guard-malloc (-g) Use Guard Malloc.
1710 --port=nnnn Run Apache on port nnnn (default is 8000).
1712 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1713 (thus, Apache is still running), e.g.:
1714 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1716 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1718 * Scripts/run-iexploder-tests: Added.
1720 * iExploder/LICENSE.txt: Added.
1721 * iExploder/README.txt: Added.
1722 * iExploder/htdocs: Added.
1723 * iExploder/htdocs/cssproperties.in: Added.
1724 * iExploder/htdocs/cssvalues.in: Added.
1725 * iExploder/htdocs/htmlattrs.in: Added.
1726 * iExploder/htdocs/htmltags.in: Added.
1727 * iExploder/htdocs/htmlvalues.in: Added.
1728 * iExploder/htdocs/iexploder.cgi: Added.
1729 * iExploder/htdocs/index.html: Added.
1730 * iExploder/tools: Added.
1731 * iExploder/tools/lasthit.rb: Added.
1732 * iExploder/tools/osx_last_crash.rb: Added.
1734 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1738 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1739 Restore color profile after a crash
1741 * DumpRenderTree/DumpRenderTree.m:
1742 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1743 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1744 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1745 and this code may change significantly.
1747 (main): Install crashHandler.
1749 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1750 (CFStringGetCStringPtr should NEVER EVER be used!).
1752 2006-04-15 Darin Adler <darin@apple.com>
1756 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1757 Seems xmlsoft.org's HTTP no longer has what we need.
1759 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1761 Rubber-stamped by Darin.
1763 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1764 upload-disk-image stage on buildslaves fail with "No space left on device"
1766 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1767 'hdiutil create'. This creates the initial disk image based on the size of
1768 the source folder, and copies the contents to the new disk image. The file
1769 extension on the temporary uncompressed disk image has also been altered from
1770 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1771 the extension is not ".dmg".
1773 2006-04-12 Eric Seidel <eseidel@apple.com>
1777 * Scripts/update-webkit: Make this return non-zero when svn fails.
1779 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1783 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1784 Make HTTP tests using Perl use .pl extension
1786 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1787 removed support for .text. Reduced the number of places that explicitly list supported
1788 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1791 2006-04-06 Darin Adler <darin@apple.com>
1793 Changes requested by Mark Rowe.
1795 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1796 trash at the end of the file.
1797 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1799 * WebKitLauncher/main.m: Removed trash at end of file.
1801 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1804 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1806 Reviewed by Darin, landed by Maciej.
1808 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1809 and bundles the WebKit frameworks inside it.
1810 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1811 containing WebKit.app.
1812 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1813 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1814 number of the SVN working copy.
1815 * WebKitLauncher: Added.
1816 * WebKitLauncher/Info.plist: Added.
1817 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1818 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1819 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1820 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1821 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1822 the nightly launcher.
1823 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1824 It sets up the environment to have Safari use the bundled frameworks
1825 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1826 * WebKitLauncher/start.html: Added.
1827 * WebKitLauncher/webkit.icns: Added.
1829 2006-04-05 Darin Adler <darin@apple.com>
1833 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1834 are allowed to have global initializers.
1836 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1838 Reviewed by OMG BETH
1840 * Scripts/run-testkjs:
1841 - pipe STDERR to /dev/null by default; new --verbose option overrides
1843 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1844 - output run command in a format that can be copied and pasted into the
1845 terminal to run manually
1847 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1849 Reviewed by harrison
1851 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1852 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1854 Tell the source that the drag is over after the drag is performed, not before.
1856 * DumpRenderTree/EventSendingController.m:
1857 (-[EventSendingController mouseUp]):
1859 2006-04-01 Darin Adler <darin@apple.com>
1863 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1864 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1865 elements in that array are not strings.
1867 2006-03-31 Darin Adler <darin@apple.com>
1869 Reviewed by John Sullivan.
1871 - added a "--reset-results" option to run-webkit-tests so you can reset
1872 the results without first deleting expected results
1873 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1875 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1876 more logical. Moved all the subroutines to the end of the file. Added a
1879 * DumpRenderTree/DumpRenderTree.m:
1880 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1881 to generate new output for all tests it runs.
1882 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1883 the --dump-all-pixels option is passed. Also tightened up the image dumping
1884 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1885 with code to save and restore the context.
1887 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1888 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1890 2006-03-30 Tim Omernick <timo@apple.com>
1892 Reviewed by NOBODY (just fixing copyrights)
1894 * DumpRenderTree/ObjCPlugin.h:
1896 * DumpRenderTree/ObjCPlugin.m: ditto
1897 * DumpRenderTree/ObjCPluginFunction.h: ditto
1898 * DumpRenderTree/ObjCPluginFunction.m: ditto
1900 2006-03-30 Tim Omernick <timo@apple.com>
1904 * DumpRenderTree/DumpRenderTree.m:
1905 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1906 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1907 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1908 exposed to JS as a callable object.
1910 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1911 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1913 * DumpRenderTree/ObjCPlugin.h: Added.
1914 * DumpRenderTree/ObjCPlugin.m: Added.
1915 * DumpRenderTree/ObjCPluginFunction.h: Added.
1916 * DumpRenderTree/ObjCPluginFunction.m: Added.
1918 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1919 Added a new method, "removeDefaultMethod", which removes the default method from the
1920 plugin object's class. The effect is that the plugin object is mutated from a callable
1921 function to a simple object.
1923 Handle "removeDefaultMethod".
1924 (pluginInvokeDefault):
1925 Made the default method actually do something (return 1).
1927 2006-03-30 Eric Seidel <eseidel@apple.com>
1931 Remove WebFrame::viewImpl(), setMainFrame on page.
1933 * Spinneret/Spinneret/WebFrame.cpp:
1934 (WebKit::WebFrame::WebFrame):
1935 * Spinneret/Spinneret/WebFrame.h:
1936 * Spinneret/Spinneret/WebView.cpp:
1937 (WebKit::WebView::mouseMoved):
1938 (WebKit::WebView::mouseDown):
1939 (WebKit::WebView::mouseUp):
1940 (WebKit::WebView::mouseDoubleClick):
1941 (WebKit::WebViewWndProc):
1943 2006-03-30 Eric Seidel <eseidel@apple.com>
1947 Fix html editing input & basic form submission.
1949 * Spinneret/Spinneret/WebFrame.cpp:
1950 (WebKit::WebFrame::submitForm):
1951 (WebKit::WebFrame::loadURL):
1952 * Spinneret/Spinneret/WebFrame.h:
1953 * Spinneret/Spinneret/WebView.cpp:
1954 (WebKit::WebView::keyPress):
1955 (WebKit::WebViewWndProc):
1957 2006-03-28 Justin Garcia <justin.garcia@apple.com>
1961 <rdar://problem/4402375>
1962 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1964 Added an option to draw the selectionRect.
1966 * DumpRenderTree/DumpRenderTree.m:
1968 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1969 (-[LayoutTestController dumpSelectionRect]):
1972 2006-03-29 Darin Adler <darin@apple.com>
1974 Reviewed by Tim Hatcher.
1976 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1978 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1980 2006-03-28 Eric Seidel <eseidel@apple.com>
1984 * Scripts/check-for-global-initializers: remove svg exceptions.
1986 2006-03-28 Timothy Hatcher <timothy@apple.com>
1990 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1992 * Scripts/check-for-global-initializers:
1994 2006-03-28 Timothy Hatcher <timothy@apple.com>
1996 Build fix. Turn off uninitialized warnings for the first block of code.
1998 * Scripts/check-for-global-initializers:
2000 2006-03-28 Darin Adler <darin@apple.com>
2004 * Scripts/check-for-global-initializers: Added.
2006 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2008 Reviewed by darin. Landed by eseidel.
2010 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
2011 Add repaint testing support to run-webkit-tests
2013 * DumpRenderTree/DumpRenderTree.m:
2014 (main): Added --repaint and --horizontal-sweep options.
2015 (dump): Repaint line-by-line or column-by-column when the appropriate option
2017 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2018 and repaintSweepHorizontally() methods to layoutTestController.
2019 (-[LayoutTestController testRepaint]):
2020 (-[LayoutTestController repaintSweepHorizontally]):
2022 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2023 to force these settings on tests that do not ask for them.
2025 2006-03-24 Eric Seidel <eseidel@apple.com>
2031 * Spinneret/Spinneret/WebFrame.cpp:
2032 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2034 2006-03-21 Beth Dakin <bdakin@apple.com>
2038 Add support for keyDown() to DumpRenderTree.
2040 * DumpRenderTree/DumpRenderTree.m:
2041 (main): Set the preference for tabbing to links.
2042 * DumpRenderTree/EventSendingController.m:
2043 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2044 (+[EventSendingController webScriptNameForSelector:]):
2045 (-[EventSendingController keyDown:withModifiers:]):
2047 2006-03-20 Eric Seidel <eseidel@apple.com>
2053 * Spinneret/Spinneret/Spinneret.vcproj:
2054 * Spinneret/Spinneret/WebFrame.h:
2055 * Spinneret/Spinneret/WebView.cpp:
2056 (WebKit::WebView::mouseMoved):
2057 (WebKit::WebView::mouseDown):
2058 (WebKit::WebView::mouseUp):
2059 (WebKit::WebView::mouseDoubleClick):
2060 (WebKit::WebView::keyPress):
2061 (WebKit::WebViewWndProc):
2063 2006-03-19 Darin Adler <darin@apple.com>
2067 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2068 we can test it in layout tests. We don't really need tests that run with
2069 pop-up blocking off at the moment. If we do some day, we can add some
2070 API for turning it off in the layout test controller.
2072 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2073 don't ignore the leak; it should no longer show up.
2075 2006-03-17 Anders Carlsson <andersca@mac.com>
2079 * Scripts/install-win-extras:
2080 Fetch "Program Files" location from the environment.
2082 2006-03-17 Eric Seidel <eseidel@apple.com>
2086 Fix Spinneret to pass Events as const & not as pointers.
2088 * Spinneret/Spinneret/WebView.cpp:
2089 (WebKit::WebView::mouseMoved):
2090 (WebKit::WebView::mouseDown):
2091 (WebKit::WebView::mouseUp):
2092 (WebKit::WebView::mouseDoubleClick):
2093 (WebKit::WebView::keyPress):
2095 2006-03-17 Eric Seidel <eseidel@apple.com>
2097 Reviewed by justing.
2099 Add support for basic HTML editing.
2101 * Spinneret/Spinneret/WebView.cpp:
2102 (WebKit::WebView::WebView):
2103 (WebKit::WebView::keyPress):
2105 2006-03-17 Eric Seidel <eseidel@apple.com>
2107 Rubber-stamped by ggaren.
2109 Break DumpRenderTree.m up into several files to make the code more readable.
2111 * DumpRenderTree/DumpRenderTree.h: Added.
2112 * DumpRenderTree/DumpRenderTree.m:
2113 (doneLoading): new accessor function for "done" global.
2114 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2115 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2116 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2117 * DumpRenderTree/EditingDelegate.h: Added.
2118 * DumpRenderTree/EditingDelegate.m: Added.
2119 (-[EditingDelegate webViewDidChangeSelection:]):
2120 * DumpRenderTree/EventSendingController.h: Added.
2121 * DumpRenderTree/EventSendingController.m: Added.
2123 2006-03-16 Eric Seidel <eseidel@apple.com>
2127 Add resize, scroll event support.
2129 * Spinneret/Spinneret/WebView.cpp:
2130 (WebKit::WebView::mouseMoved):
2131 (WebKit::WebView::mouseDown):
2132 (WebKit::WebView::mouseUp):
2133 (WebKit::WebView::mouseDoubleClick):
2134 (WebKit::WebView::keyPress):
2135 (WebKit::WebViewWndProc):
2136 * Spinneret/Spinneret/WebView.h:
2138 2006-03-16 Eric Seidel <eseidel@apple.com>
2142 Make build-webkit print correctly to stdout on windows.
2144 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2146 2006-03-15 Eric Seidel <eseidel@apple.com>
2150 Fix eventSender.mouseClick() to update lastClick timestamp.
2152 * DumpRenderTree/DumpRenderTree.m:
2153 (-[EventSendingController mouseClick]):
2155 2006-03-15 Darin Adler <darin@apple.com>
2159 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2160 that had a lowercase "i" in it so this builds on case-sensitive
2163 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2167 Added run-testkjs and compare-timing-files scripts, to support super
2170 * Scripts/compare-timing-files: Added.
2171 * Scripts/run-testkjs: Added.
2173 2006-03-14 Eric Seidel <eseidel@apple.com>
2177 Make the URL bar relinquish focus on page load.
2179 * Spinneret/Spinneret/Spinneret.cpp:
2182 2006-03-14 Eric Seidel <eseidel@apple.com>
2186 Fix WebView to allow KeyFocus.
2187 Add handling of space and shift-space for scrolling.
2189 * Spinneret/Spinneret/WebView.cpp:
2190 (WebKit::scrollMessageForKey):
2191 (WebKit::WebViewWndProc):
2193 2006-03-10 Eric Seidel <eseidel@apple.com>
2197 Add scrolling support into Spinneret.
2199 * Spinneret/Spinneret/WebFrame.cpp:
2200 (WebKit::WebFrame::paint):
2201 * Spinneret/Spinneret/WebView.cpp:
2202 (WebKit::WebView::createWebView):
2203 (WebKit::calculateScrollDelta):
2204 (WebKit::scrollMessageForKey):
2205 (WebKit::WebViewWndProc):
2207 2006-03-13 Eric Seidel <eseidel@apple.com>
2211 Fix checksum generation on Intel machines.
2212 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2213 give a small speed boost now that it uses a shared buffer.
2215 * DumpRenderTree/DumpRenderTree.m:
2218 (md5HashStringForBitmap):
2219 * DumpRenderTree/ImageDiff.m:
2220 (computePercentageDifferent):
2222 2006-03-13 Darin Adler <darin@apple.com>
2224 Reviewed by Tim Hatcher.
2226 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2227 have it named httpd-1.3 instead.
2229 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2231 Fix proposed by Mitz Pettel, reviewed by Darin.
2233 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
2234 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2236 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2237 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2240 2006-03-09 Darin Adler <darin@apple.com>
2242 Reviewed by John Sullivan.
2244 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
2245 memory leak in the plug-in tests
2247 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2248 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2249 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2251 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2252 Moved the browser global in here since it's declared in this file's header.
2253 Changed the code to set up the pluginClass structure to not use function
2254 pointer casts. Those are dangerous because they can hide many types of mismatch.
2255 And indeed when I did this I discovered that many functions were missing their
2256 boolean return values or had parameter declarations with the wrong types.
2257 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2258 clarity. Added boolean return value: return true when successful and false when not.
2259 (pluginSetProperty): Added boolean return value, return false since we have no
2260 properties we can set.
2261 (pluginInvoke): Added boolean return value. Return true when successful and false
2262 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2263 return value from calling the browser. Changed code to put the strings in malloc
2264 buffers instead of relying on GCC's extension that allows variable-sized arrays
2266 (pluginInvokeDefault): Added boolean return value, return false since we have no
2267 default function to call.
2268 (pluginInvalidate): Added missing parameter. Removed comment.
2269 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2270 to cast the result of malloc.
2271 (pluginDeallocate): Removed uneeded cast.
2273 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2274 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2275 that match NPObject's fields. Removed unused NPWindow pointer.
2277 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2279 Test: fast/events/event-sender-mouse-click.html
2283 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
2284 DRT hangs when doing eventSender.mouseDown on native widgets
2286 * DumpRenderTree/DumpRenderTree.m:
2287 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2288 (-[EventSendingController mouseClick]): Simulates a click in a native
2289 widget by queueing a mouseUp before sending the mouseDown, so that
2290 the widget's mouse tracking event loop doesn't hang indefinitely.
2292 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2296 - make link clicks work by handling link click requests
2299 * Spinneret/Spinneret/Spinneret.cpp:
2300 (updateLocationBar):
2301 * Spinneret/Spinneret/Spinneret.h:
2302 * Spinneret/Spinneret/WebFrame.cpp:
2303 (WebKit::WebFrame::WebFrame):
2304 (WebKit::WebFrame::openURL):
2305 (WebKit::WebFrame::loadURL):
2306 * Spinneret/Spinneret/WebFrame.h:
2308 2006-03-08 Eric Seidel <eseidel@apple.com>
2312 Focus URL bar on Spinneret launch, remove border from WebView.
2313 Stop WebFrame from deleting the job (prevent crash).
2315 * Spinneret/Spinneret/Spinneret.cpp:
2317 * Spinneret/Spinneret/WebFrame.cpp:
2318 (WebKit::WebFrame::receivedAllData):
2319 (WebKit::WebFrame::paint):
2320 * Spinneret/Spinneret/WebView.cpp:
2321 (WebKit::WebView::createWebView):
2323 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2327 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2328 (pluginInvoke): Added a method to test getURL.
2330 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2334 - load URLs, not file paths, in Spinneret
2336 * Spinneret/Spinneret/Spinneret.cpp:
2338 * Spinneret/Spinneret/Spinneret.vcproj:
2339 * Spinneret/Spinneret/WebFrame.cpp:
2340 (WebKit::WebFrame::loadURL):
2341 (WebKit::WebFrame::receivedData):
2342 (WebKit::WebFrame::receivedAllData):
2343 * Spinneret/Spinneret/WebFrame.h:
2344 * Spinneret/Spinneret/WebView.cpp:
2345 (WebKit::WebView::WebView):
2347 2006-03-08 Darin Adler <darin@apple.com>
2351 - fixed AppleScript layout test results to not be endian-dependent
2352 (Hyatt complained to me about this one)
2354 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2355 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2356 (which are endian-dependent).
2358 2006-03-07 Darin Adler <darin@apple.com>
2362 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
2363 unwanted output while running layout tests
2365 * DumpRenderTree/DumpRenderTree.m:
2366 (checkedMalloc): Added.
2367 (checkedRealloc): Added.
2368 (makeLargeMallocFailSilently): Added.
2369 (main): Call makeLargeMallocFailSilently.
2371 2006-03-06 Darin Adler <darin@apple.com>
2373 * Scripts/do-webcore-rename: Add some more planned renaming.
2375 2006-03-06 Eric Seidel <eseidel@apple.com>
2379 * Spinneret/Spinneret/WebFrame.cpp:
2380 (WebKit::WebFrame::paint): force layout before painting
2382 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2386 Sent the windowNumber when sending events.
2387 Added leapForward so that we don't have to spend time waiting
2388 in layout tests that do mouse operations that require delays.
2390 * DumpRenderTree/DumpRenderTree.m:
2391 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2392 (+[EventSendingController webScriptNameForSelector:]):
2393 (-[EventSendingController currentEventTime]):
2394 (-[EventSendingController leapForward:]):
2395 (-[EventSendingController mouseDown]):
2396 (-[EventSendingController mouseUp]):
2397 (-[EventSendingController mouseMoveToX:Y:]):
2399 2006-03-05 Darin Adler <darin@apple.com>
2401 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2402 Script now works (after landing my two pending patches).
2404 2006-03-05 Darin Adler <darin@apple.com>
2406 - check in a script to do a "big" rename in WebCore
2407 (can be run whenever we're ready to do it)
2409 * Scripts/do-webcore-rename: Added.
2411 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2415 * Spinneret/Spinneret/WebFrame.cpp:
2416 (WebKit::WebFrame::loadFilePath): Close file when done.
2418 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2420 Reviewed by Darin, landed by ap.
2422 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
2423 Mouse moved events do not work in DumpRenderTree
2425 Test: fast/events/event-sender-mouse-moved.html
2427 * DumpRenderTree/DumpRenderTree.m:
2428 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2430 2006-03-04 Eric Seidel <eseidel@apple.com>
2434 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2435 Disable background erase to avoid tearing.
2436 Fix potential memory smasher from extra long urls.
2438 * Spinneret/Spinneret/Spinneret.cpp:
2440 * Spinneret/Spinneret/Spinneret.vcproj:
2441 * Spinneret/Spinneret/WebFrame.cpp:
2442 (WebKit::WebFrame::loadFilePath):
2443 (WebKit::WebFrame::paint):
2444 * Spinneret/Spinneret/WebView.cpp:
2445 (WebKit::registerWebViewWithInstance):
2447 2006-03-04 Eric Seidel <eseidel@apple.com>
2451 Hang WebView pointer off of HWND (gets rid of global hack).
2452 Remove MessageBox displayed on url change.
2454 * Spinneret/Spinneret/Spinneret.cpp:
2457 * Spinneret/Spinneret/WebView.cpp:
2458 (WebKit::registerWebViewWithInstance):
2459 (WebKit::WebView::createWebView):
2460 (WebKit::WebViewWndProc):
2462 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2466 Automatically kill httpd if it appears to be already running.
2468 * Scripts/run-webkit-tests:
2470 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2474 * Spinneret/Spinneret/WebFrame.cpp:
2475 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2477 2006-03-03 Eric Seidel <eseidel@apple.com>
2481 A few more fixes to make run-webkit-tests really work on win32.
2483 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2485 * Scripts/run-webkit-tests:
2487 2006-03-03 Eric Seidel <eseidel@apple.com>
2491 Make run-webkit-tests work on win32.
2493 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2495 (dumpRenderTreeMain):
2496 (dumpRenderTreeToStdOut):
2497 (serializeToStdOut):
2499 * Scripts/run-webkit-tests:
2500 * Scripts/webkitdirs.pm:
2501 * Spinneret/Spinneret/WebView.cpp:
2502 (WebKit::WebView::WebView):
2504 2006-03-03 Eric Seidel <eseidel@apple.com>
2508 Add WebFrame class (to hold Frame and FrameView).
2509 Add Location bar support to Spinneret.
2511 * Spinneret/Spinneret/Spinneret.cpp:
2516 * Spinneret/Spinneret/Spinneret.vcproj:
2517 * Spinneret/Spinneret/WebFrame.cpp: Added.
2518 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2519 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2520 (WebKit::WebFrame::WebFrame):
2521 (WebKit::WebFrame::loadFilePath):
2522 (WebKit::WebFrame::loadHTMLString):
2523 (WebKit::WebFrame::paint):
2524 (WebKit::WebFrame::impl):
2525 (WebKit::WebFrame::viewImpl):
2526 * Spinneret/Spinneret/WebFrame.h: Added.
2527 * Spinneret/Spinneret/WebView.cpp:
2528 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2529 (WebKit::WebView::WebView):
2530 (WebKit::WebView::windowHandle):
2531 (WebKit::WebView::mainFrame):
2532 (WebKit::WebView::mouseMoved):
2533 (WebKit::WebView::mouseDown):
2534 (WebKit::WebView::mouseUp):
2535 (WebKit::WebView::mouseDoubleClick):
2536 (WebKit::WebViewWndProc):
2537 * Spinneret/Spinneret/WebView.h:
2539 2006-03-02 Eric Seidel <eseidel@apple.com>
2543 * Spinneret/Spinneret/WebView.cpp:
2544 (WebKit::registerWebViewWithInstance):
2545 (WebKit::WebView::WebView):
2546 (WebKit::WebView::mouseMoved):
2547 (WebKit::WebView::mouseDown):
2548 (WebKit::WebView::mouseUp):
2549 (WebKit::WebView::mouseDoubleClick):
2550 (WebKit::WebViewWndProc):
2551 * Spinneret/Spinneret/WebView.h:
2553 2006-03-01 Eric Seidel <eseidel@apple.com>
2555 Reviewed by andersca.
2557 Make spinneret take advantage of the new GraphicsContextCairo.
2559 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2560 (main): updated to match style guidelines.
2561 * Spinneret/Spinneret/Spinneret.cpp:
2563 * Spinneret/Spinneret/WebView.cpp:
2564 (WebKit::registerWebViewWithInstance):
2565 (WebKit::WebView::WebView):
2566 (WebKit::WebView::~WebView):
2567 (WebKit::WebView::drawRect):
2569 * Spinneret/Spinneret/WebView.h:
2571 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2575 Give the events that eventSender sends a unique eventNumber
2577 * DumpRenderTree/DumpRenderTree.m:
2578 (-[EventSendingController mouseDown]):
2579 (-[EventSendingController mouseUp]):
2580 (-[EventSendingController mouseMoveToX:Y:]):
2582 2006-03-01 Eric Seidel <eseidel@apple.com>
2586 Add a stub win32 application to test WebCore drawing on windows.
2589 * Spinneret/Spinneret: Added.
2590 * Spinneret/Spinneret.sln: Added.
2591 * Spinneret/Spinneret/Resource.h: Added.
2592 * Spinneret/Spinneret/Spinneret.cpp: Added.
2598 * Spinneret/Spinneret/Spinneret.h: Added.
2599 * Spinneret/Spinneret/Spinneret.ico: Added.
2600 * Spinneret/Spinneret/Spinneret.rc: Added.
2601 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2602 * Spinneret/Spinneret/WebView.cpp: Added.
2603 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2604 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2605 (WebKit::registerWebViewWithInstance):
2606 (WebKit::WebView::createWebView):
2607 (WebKit::WebView::WebView):
2608 (WebKit::WebView::~WebView):
2609 (WebKit::WebView::drawRect):
2610 (WebKit::WebView::windowHandle):
2612 * Spinneret/Spinneret/WebView.h: Added.
2613 * Spinneret/Spinneret/small.ico: Added.
2614 * Spinneret/Spinneret/stdafx.cpp: Added.
2615 * Spinneret/Spinneret/stdafx.h: Added.
2617 2006-02-28 Eric Seidel <eseidel@apple.com>
2621 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2622 (main): add ability to dump render tree and read from a local file.
2624 2006-02-27 Eric Seidel <eseidel@apple.com>
2628 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2630 2006-02-27 Eric Seidel <eseidel@apple.com>
2634 Test new KConfig -> PlugInInfoStore change.
2635 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2637 * DumpRenderTree/DumpRenderTree.m:
2638 (main): load test netscape plugin
2639 * Scripts/run-webkit-tests: style update
2641 2006-02-24 Eric Seidel <eseidel@apple.com>
2645 Make DumpRenderTree link against icu.
2647 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2649 2006-02-24 Eric Seidel <eseidel@apple.com>
2653 Make DumpRenderTree link against libxml, etc.
2655 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2657 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2659 Reviewed and landed by Anders.
2661 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2662 getting called from the run loop, making the view render each test and thus slowing
2665 * DumpRenderTree/DumpRenderTree.m:
2666 (main): Set the offscreen window to not autodisplay.
2668 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2672 - Turn http tests back on by default.
2673 - Wait for Apache to actually start serving requests.
2674 - Get user id from a built-in variable rather than an external command;
2675 don't pass the group.
2677 * Scripts/run-webkit-tests:
2679 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2681 Suggested by Mitz Pettel, reviewed by Darin.
2683 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2684 can run CGIs even if the permissions are 700 or 600.
2686 2006-02-23 Darin Adler <darin@apple.com>
2688 Collaborating with Alexey.
2690 - turn off http tests by default until we figure out how to get them
2691 to run even when permissions on CGI files are 700 instead of 755
2693 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2695 2006-02-23 Eric Seidel <eseidel@apple.com>
2697 Add *.user to ignore list.
2699 2006-02-23 Eric Seidel <eseidel@apple.com>
2701 Remove binary file which shouldn't have been commited (and add to ignore list).
2703 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2704 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2706 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2710 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2712 2006-02-22 Eric Seidel <eseidel@apple.com>
2714 Reviewed by Tim Hatcher.
2716 Fix install-win-extras to not try to re-install setx if installed.
2718 * Scripts/install-win-extras:
2720 2006-02-22 Eric Seidel <eseidel@apple.com>
2722 One more file possibly missing from previous commit?
2724 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2725 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2727 2006-02-22 Eric Seidel <eseidel@apple.com>
2729 Reviewed by justing.
2731 Files missing from previous commit.
2733 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2734 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2736 2006-02-22 Eric Seidel <eseidel@apple.com>
2738 Rubber-stamped by justing.
2740 Corrected path for DumpRenderTree.intermediate files
2742 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2744 2006-02-22 Eric Seidel <eseidel@apple.com>
2746 Reviewed by justing.
2748 Fixed build-dumprendertree to exit with correct error codes.
2750 * Scripts/build-dumprendertree:
2752 2006-02-22 Eric Seidel <eseidel@apple.com>
2754 Reviewed by justing.
2756 Update build scripts to generalize building on Win32, and allow
2757 building of DumpRenderTree on Win32 from build-dumprendertree.
2759 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2761 * Scripts/build-dumprendertree:
2762 * Scripts/build-webkit:
2763 * Scripts/webkitdirs.pm:
2765 2006-02-22 Eric Seidel <eseidel@apple.com>
2769 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2770 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2771 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2772 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2773 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2774 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2776 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2777 * Scripts/build-webkit: make build-webkit cleanup after itself
2779 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2783 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2784 Some minor fixes to http tests.
2786 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2788 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2792 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2793 Would like to use locally installed Apache for testing.
2795 Added two run-webkit-tests options:
2796 --http (--nohttp) - whether to launch Apache (defaults to yes);
2797 --port - which port to listen on (defaults to 8000).
2799 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2800 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2801 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2803 Also added support for .shtml and .text files. Text files give an empty
2804 *-expected.txt, but a correct image.
2806 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2808 * Scripts/run-webkit-tests:
2810 2006-02-21 Darin Adler <darin@apple.com>
2812 Suggested by Mark Rowe.
2814 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2815 reporting leak counts.
2817 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2821 - Added install-win-extras script which installs some extra
2822 programs and libraries, and does Windows first-time setup.
2824 * Scripts/build-webkit: Add a newline between build results.
2825 * Scripts/install-win-extras: Added.
2827 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2831 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2832 DumpRenderTree should be able to load files via HTTP
2834 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2835 Handle tests starting with "http://" as real URLs, not file system paths.
2837 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2841 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2842 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2844 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2846 2006-02-18 Darin Adler <darin@apple.com>
2848 * Scripts/commit-log-editor: Added.
2850 2006-02-17 Eric Seidel <eseidel@apple.com>
2854 Make Win32 have the same default "WebKitBuild" directory behavior.
2856 * Scripts/build-webkit:
2857 * Scripts/webkitdirs.pm:
2859 2006-02-17 Eric Seidel <eseidel@apple.com>
2863 * Scripts/build-webkit: make win32 actually report errors
2865 2006-02-17 Eric Seidel <eseidel@apple.com>
2869 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2871 2006-02-17 Eric Seidel <eseidel@apple.com>
2875 * Scripts/run-webkit-tests: Ignore flash leaks
2877 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2881 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2882 Add drag and drop support to DumpRenderTree
2884 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2885 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2887 * DumpRenderTree/DumpRenderTree.m:
2889 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2890 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2891 (-[WaitUntilDoneDelegate webViewFocus:]):
2892 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2893 (+[LayoutTestController webScriptNameForSelector:]):
2894 (-[LayoutTestController setWindowIsKey:]):
2895 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2896 (-[EventSendingController init]):
2897 (-[EventSendingController mouseDown]):
2898 (-[EventSendingController mouseUp]):
2899 (-[EventSendingController mouseMoveToX:Y:]):
2901 (-[DumpRenderTreeWindow isKeyWindow]):
2902 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2903 (-[DumpRenderTreeDraggingInfo dealloc]):
2904 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2905 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2906 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2907 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2908 (-[DumpRenderTreeDraggingInfo draggedImage]):
2909 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2910 (-[DumpRenderTreeDraggingInfo draggingSource]):
2911 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2912 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2913 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2914 * DumpRenderTree/TextInputController.m:
2915 (-[TextInputController firstRectForCharactersFrom:length:]):
2916 (-[TextInputController characterIndexForPointX:Y:]):
2918 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2922 * DumpRenderTree/DumpRenderTree.m:
2923 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2924 Added a dummy method for the sake of LayoutTests/plugins/
2925 undefined-property-crash.html. (It tests a crash due to fallback
2926 object use. WebCore won't create a fallback object if the method is
2929 2006-02-14 Eric Seidel <eseidel@apple.com>
2933 * Scripts/run-webkit-tests: added --results-directory (-o) option
2935 2006-02-09 Eric Seidel <eseidel@apple.com>
2937 Rubber-stamped by mjs.
2939 Renamed split-class to split-file-by-class.
2941 * Scripts/build-webkit: Updated copyright.
2942 * Scripts/split-class: Removed.
2943 * Scripts/split-file-by-class: Added.
2945 2006-02-08 Eric Seidel <eseidel@apple.com>
2947 Rubber-stamped by mjs.
2949 Adding new script for splitting multi-class files.
2950 Also adding supporting perl module with space removing heuristics.
2952 * Scripts/SpacingHeuristics.pm: Added.
2953 * Scripts/build-drawtest: updated copyright header
2954 * Scripts/split-class: Added.
2956 2006-02-08 Justin Garcia <justin.garcia@apple.com>
2958 Reviewed by thatcher
2960 Changes to test fix for:
2961 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2962 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2964 * DumpRenderTree/DumpRenderTree.m:
2965 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2966 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2967 (+[LayoutTestController webScriptNameForSelector:]):
2968 (-[LayoutTestController setWindowHasFocus:]):
2969 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2971 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
2973 Reviewed by Timothy.
2975 Support automated testing of AppleScript "do JavaScript" command
2976 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2978 * DumpRenderTree/AppleScriptController.h: Added.
2979 * DumpRenderTree/AppleScriptController.m: Added.
2980 * DumpRenderTree/DumpRenderTree.m:
2981 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2982 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2984 2006-02-06 Eric Seidel <eseidel@apple.com>
2988 Fix build-webkit for use on win32 (unblocks buildbot usage).
2989 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2991 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2992 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2994 2006-02-06 Eric Seidel <eseidel@apple.com>
2996 Rubber-stamped by darin & mjs.
2998 Added new support directory for build slave scripts.
2999 Committing the first script, for use by the PLT's build slave.
3000 This script is used to kick of the PLT (Page Load Test) slave.
3002 * BuildSlaveSupport: Added.
3003 * BuildSlaveSupport/run-performance-tests: Added.
3005 2006-02-06 Eric Seidel <eseidel@apple.com>
3007 Rubber-stamped by darin.
3009 Adding setSourceDir for scripts stored in non-standard locations.
3011 * Scripts/webkitdirs.pm:
3013 2006-02-04 Darin Adler <darin@apple.com>
3015 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3016 Configuration files that say Development or Deployment in them.
3018 2006-02-04 Darin Adler <darin@apple.com>
3020 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3021 wrapper already in the directory.
3022 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3023 these haven't been working at all.
3024 * Scripts/svn-unapply: Ditto.
3026 2006-02-03 Timothy Hatcher <timothy@apple.com>
3030 Renamed configuration names to Debug, Release and Production.
3032 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3033 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3034 * Scripts/set-webkit-configuration:
3035 * Scripts/webkitdirs.pm:
3037 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3039 Reviewed by thatcher
3041 Enabled spell checking for layout tests.
3043 * DumpRenderTree/DumpRenderTree.m:
3046 2006-01-29 Darin Adler <darin@apple.com>
3048 * Scripts/svn-apply: Added comments about things we should do to improve.
3049 * Scripts/svn-create-patch: Ditto.
3050 * Scripts/svn-unapply: Ditto.
3052 2006-01-28 Darin Adler <darin@apple.com>
3054 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3055 already there, even if the checksum is correct.
3057 2006-01-27 Eric Seidel <eseidel@apple.com>
3061 * Scripts/run-webkit-tests: make new tests use absolute urls
3063 2006-01-27 Eric Seidel <eseidel@apple.com>
3067 make run-webkit-tests output total leaks count
3069 * Scripts/run-webkit-tests:
3071 2006-01-27 Eric Seidel <eseidel@apple.com>
3075 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3076 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
3078 * Scripts/run-webkit-tests: fix --leaks to not crash
3080 2006-01-26 Eric Seidel <eseidel@apple.com>
3084 run-webkit-tests should produce a self-contained results directory
3085 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
3087 * Scripts/run-webkit-tests: copy failing items to results dir.
3089 2006-01-23 Darin Adler <darin@apple.com>
3091 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
3092 need script to update localizable strings file in WebKit
3094 * Scripts/update-webkit-localizable-strings: Added.
3096 2006-01-23 Darin Adler <darin@apple.com>
3098 - added a couple of scripts -- more about these two soon
3100 * Scripts/extract-localizable-strings: Added.
3101 * Scripts/merge-changelog: Added.
3103 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3107 Build fix. build-webkit dies with "invalid build action: (empty string)"
3109 * Scripts/build-webkit:
3110 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3112 2006-01-22 Eric Seidel <eseidel@apple.com>
3116 Fix --no-svg option to use XCode flags instead of gcc flags.
3118 * Scripts/build-webkit:
3120 2006-01-22 Eric Seidel <eseidel@apple.com>
3124 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3126 * Scripts/build-webkit:
3128 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3130 Reviewed by eseidel.
3132 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
3133 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3135 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3136 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3138 2006-01-19 Darin Adler <darin@apple.com>
3140 * Scripts/report-include-statistics: Added a new script.
3142 2006-01-19 Timothy Hatcher <timothy@apple.com>
3144 * Scripts/build-webkit: include JavaScriptGlue in the build
3146 2006-01-19 Darin Adler <darin@apple.com>
3148 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3149 spaces in it by using the form of open that treats each argument as a string
3150 rather than backtick syntax for reading the output of the nm tool.
3152 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3156 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3157 detect if there are any new tests
3159 * Scripts/prepare-ChangeLog:
3161 2006-01-12 Darin Adler <darin@apple.com>
3163 - removed some of the cvs-specific scripts -- not needed for this project any more
3165 * Scripts/cvs-abandon: Removed.
3166 * Scripts/cvs-apply: Removed.
3167 * Scripts/cvs-create-patch: Removed.
3168 * Scripts/cvs-unapply: Removed.
3170 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3172 Reviewed by eseidel. Committed by eseidel.
3174 - run-webkit-tests always launches Safari when tests fail
3175 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
3177 * Scripts/run-webkit-tests:
3178 Add a command-line flag to prevent Safari being launched to display failed
3179 tests. Always exit with non-zero status when tests have failed.
3181 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3183 Reviewed by eseidel. Committed by eseidel.
3185 - build-webkit should exit with non-zero status when build fails
3186 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
3188 * Scripts/build-webkit:
3189 Use correct bits of subprocess exit code when passing back through
3190 as build-webkit's exit code.
3192 2006-01-10 Eric Seidel <eseidel@apple.com>
3194 Restored corrupted nibs from TOT CVS.
3196 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3197 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3198 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3199 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3200 * DrawTest/English.lproj/Inspector.nib: Replaced.
3201 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3202 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3203 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3204 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3205 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3206 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3207 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3208 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3209 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3210 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3211 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3213 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3215 Reviewed by eseidel. Committed by eseidel.
3217 DrawTestView now subclasses WebView instead of DrawView.
3219 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3220 * DrawTest/DrawTestDocument.h:
3221 * DrawTest/DrawTestDocument.m:
3222 (-[DrawTestDocument dealloc]):
3223 (-[DrawTestDocument readFromFile:ofType:]):
3224 (-[DrawTestDocument windowControllerDidLoadNib:]):
3225 (-[DrawTestDocument dumpSVGToConsole:]):
3226 (-[DrawTestDocument openSourceForSelection:]):
3227 (-[DrawTestDocument dataRepresentationOfType:]):
3228 * DrawTest/DrawTestToolbarController.h:
3229 * DrawTest/DrawTestToolbarController.m:
3230 (-[DrawTestToolbarController initWithDrawView:]):
3231 (-[DrawTestToolbarController clickedToolbarItem:]):
3232 (-[DrawTestToolbarController validateToolbarItem:]):
3233 * DrawTest/DrawTestView.h:
3234 * DrawTest/DrawTestView.m:
3235 (-[DrawTestView initWithFrame:]):
3236 (-[DrawTestView setDocument:]):
3237 * DrawTest/SVGTest.h:
3238 * DrawTest/SVGTest.m:
3239 (+[SVGTest sharedDrawView]):
3240 (-[SVGTest generateCompositeIfNecessary]):
3241 * DrawTest/TestController.h:
3242 * DrawTest/TestController.m:
3243 (-[TestController awakeFromNib]):
3244 (-[TestController setSelectedTest:]):
3245 (-[TestController openTestViewerForSelection:]):
3246 (-[TestController toggleViewersScaleRule:]):
3247 * DrawTest/TestViewerSplitView.m:
3248 (-[TestViewerSplitView drawRect:]):
3250 2006-01-10 Anders Carlsson <andersca@mac.com>
3252 Reviewed by Timothy.
3254 * DumpRenderTree/DumpRenderTree.m:
3255 (main): Set the default language to "en", so language tests will work.
3257 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3261 - script to generate HTML wrappers for JS tests
3262 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
3264 * Scripts/make-js-test-wrappers: Added.
3266 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3270 * Scripts/svn-create-patch: Fix to work when passed directory names.
3272 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3276 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3277 can start writing automated loader tests now. I have one in the works.
3279 * DumpRenderTree/DumpRenderTree.m:
3280 (main): Construct global navigationController on entry, destroy on exit.
3281 Set frame to nil on exit too, to match all the other global objects.
3282 (Probably academic, since the process is exiting, anyway.)
3283 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3284 navigationController, in case it wants to kick off a load.
3285 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3286 the navigationController to scripting.
3288 New class, should be straightforward:
3290 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3291 * DumpRenderTree/NavigationController.h: Added.
3292 * DumpRenderTree/NavigationController.m: Added.
3294 (+[NavigationController isSelectorExcludedFromWebScript:]):
3295 (+[NavigationController webScriptNameForSelector:]):
3296 (-[NavigationController setPendingScript:]):
3297 (-[NavigationController setPendingRequest:]):
3298 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3299 (-[NavigationController webView:didFinishLoadForFrame:]):
3300 (-[NavigationController dealloc]):
3302 2006-01-08 Timothy Hatcher <timothy@apple.com>
3304 Removed this script, no longer needs with the Subversion switch.
3306 * checkout: Removed.
3308 2006-01-08 Timothy Hatcher <timothy@apple.com>
3310 Removes some stray tabs.
3312 * Scripts/update-webkit:
3314 2005-01-07 Eric Seidel <eseidel@apple.com>
3318 build-webkit should pass on build arguments from command line
3319 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
3321 * Scripts/build-webkit:
3323 2006-01-07 Eric Seidel <eseidel@apple.com>
3325 Reviewed by mjs & xenon.
3327 * Scripts/update-webkit: support Internal updates as well
3329 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3331 Temporarily rolling out plugin support from DumpRenderTree because it
3332 caused lots of layout test regressions.
3334 * DumpRenderTree/DumpRenderTree.m:
3335 (main): Remove invisible window added to support plugins.
3337 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3341 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
3342 Add plugin support to DumpRenderTree
3344 Also wrote first test plugin.
3346 * DumpRenderTree/DumpRenderTree.m:
3348 (1) Put the WebView in an invisible window, because PlugIns are
3349 optimized not to load if there's no parent window.
3350 (2) Tell WebKit to load any PlugIns in the directory from which we
3351 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3352 and they'll load automagically during layout testing, but they won't be
3353 added to the user's system, hosing apps like Safari.
3355 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3356 test PlugIn to project.
3358 PlugIn added to project:
3360 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3361 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3363 (initializeIdentifiers):
3364 (pluginHasProperty):
3366 (pluginGetProperty):
3367 (pluginSetProperty):
3369 (pluginInvokeDefault):
3373 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3374 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3376 (NP_GetEntryPoints):
3382 (NPP_DestroyStream):
3392 2006-01-04 Timothy Hatcher <timothy@apple.com>
3396 Tweaked and tested by me.
3398 New scripts to work with Subversion when the switch happens.
3399 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3401 * Scripts/svn-apply: Added.
3402 * Scripts/svn-create-patch: Added.
3403 * Scripts/svn-unapply: Added.
3405 2005-12-30 Eric Seidel <eseidel@apple.com>
3409 Move WebView width/height logic into DumpRenderTree to support
3410 running the W3C SVG 1.1 tests along side other tests. The W3C
3411 SVG 1.1 tests require a 480x360 view.
3413 * DumpRenderTree/DumpRenderTree.m:
3414 (main): don't accept width/height
3415 (dump): override width/height for SVG/W3C
3416 * Scripts/run-webkit-tests: don't pass width/height
3418 2005-12-30 Eric Seidel <eseidel@apple.com>
3420 No review, only removing dead code.
3422 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3423 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3425 2005-12-30 Eric Seidel <eseidel@apple.com>
3429 DumpRenderTree should set a consistent color profile while running
3430 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
3432 Creates consistent colormatched renderings on every test machine
3433 using the only way possible with Tiger APIs: by setting the
3434 system color profile on the test machine for the duration of the
3435 tests. This will (unfortunately) cause colors to change while
3436 running DumpRenderTree. This can also cause "permanent" color
3437 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3438 This is far from ideal, but it's be best way we've found to deal
3439 with the issue for now.
3441 * DumpRenderTree/DumpRenderTree.m:
3442 (restoreColorSpace):
3443 (setDefaultColorProfileToRGB):
3446 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3448 Reviewed by Darin Adler.
3450 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3451 cvs-create-patch --include produces incorrect paths
3453 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3455 2005-12-19 Eric Seidel <eseidel@apple.com>
3459 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3461 2005-12-19 Darin Adler <darin@apple.com>
3463 Reviewed by Eric Seidel.
3465 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3466 WebKit needs to use a local pasteboard during testing
3468 * DumpRenderTree/DumpRenderTree.m:
3469 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3470 Create a local pasteboard (really a global one with a unique name) and release
3471 it when exiting from the function so we don't leave it in the pasteboard server.
3472 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3473 ddn't have one. Fixed a leak in an unlikely error case.
3474 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3475 of this method to return our local pasteboard.
3477 2005-12-15 Eric Seidel <eseidel@apple.com>
3479 Reviewed by Tim Hatcher.
3481 * Scripts/build-webkit: --svg is now default!
3483 2005-12-15 Eric Seidel <eseidel@apple.com>
3487 Don't run svg test automatically if +SVG is built (yet).
3489 * Scripts/run-webkit-tests:
3491 2005-12-15 Darin Adler <darin@apple.com>
3493 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3494 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3495 passed on the command line.
3497 2005-12-06 John Sullivan <sullivan@apple.com>
3499 Reviewed by Darin Adler.
3501 * Scripts/prepare-ChangeLog:
3502 Remove special-case handling for nib files. This avoided trouble with cvs diff
3503 when we were using wrappers for nib files. Now that we aren't using wrappers,
3504 there's no reason to avoid adding the modified nib files to the file list that
3507 2005-12-05 Eric Seidel <eseidel@apple.com>
3511 Script updates for SVG files move (remove references to SVGSupport)
3513 * Scripts/build-webkit: remove SVGSupport
3514 * Scripts/run-webkit-tests: Resources -> resources for --svg
3515 * Scripts/update-webkit: remove SVGSupport
3517 2005-12-05 Eric Seidel <eseidel@apple.com>
3521 * checkout: remove --svg support, SVG is now checked out by default
3523 2005-11-29 Eric Seidel <eseidel@apple.com>
3527 Update scripts to run SVG tests automatically (w/o --svg) if
3528 WebCore is built with SVG support.
3530 * Scripts/build-drawtest: SVG support required
3531 * Scripts/build-dumpkcanvastree: Removed.
3532 * Scripts/run-drawtest: SVG support required to run
3533 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3534 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3536 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3538 Reviewed by Darin. Committed by Maciej.
3540 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3541 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3543 * DumpRenderTree/DumpRenderTree.m:
3546 2005-11-28 Eric Seidel <eseidel@apple.com>
3548 Reviewed by sullivan and GGAREN.
3550 Minor additions to make error messages more clear from cvs-apply.
3552 * Scripts/cvs-apply: make errors more clear
3554 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3556 Reviewed and committed by Maciej.
3558 - fixed cvs-create-patch --include produces incorrect paths
3559 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3561 * Scripts/cvs-create-patch: produce proper paths for new files.
3563 2005-11-21 Eric Seidel <eseidel@apple.com>
3567 Some simple fixes to the build/test scripts now that SVG uses the
3568 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3569 or symlinks for KDOM.
3571 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3572 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3573 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3574 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3575 * checkout: no longer symlink kdom
3577 2005-11-10 Eric Seidel <eseidel@apple.com>
3581 * Scripts/build-webkit: Pass through options to xcodebuild
3583 2005-11-07 Darin Adler <darin@apple.com>
3585 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3587 2005-11-03 John Sullivan <sullivan@apple.com>
3591 * Scripts/run-safari:
3592 changed message to say "Starting Safari" instead of odd "Start Safari"
3593 * Scripts/run-webkit-tests:
3594 changed the way we pass the file parameter to use -NSOpen rather than relying on
3595 unlabeled arguments being treated as files. This was failing on some machines that
3596 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3598 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3600 Patch by Alexey Proskuryakov.
3604 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3605 TextInputController should support attributed strings
3607 * DumpRenderTree/TextInputController.m:
3608 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3609 (+[NSMutableAttributedString webScriptNameForSelector:]):
3610 (-[NSMutableAttributedString getLength]):
3611 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3612 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3613 (-[NSMutableAttributedString addAttribute:value:]):
3614 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3615 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3616 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3617 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3618 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3619 (+[TextInputController isSelectorExcludedFromWebScript:]):
3620 (+[TextInputController webScriptNameForSelector:]):
3621 (-[TextInputController insertText:]):
3622 (-[TextInputController attributedSubstringFrom:length:]):
3623 (-[TextInputController attributedStringWithString:]):
3625 2005-10-11 Eric Seidel <eseidel@apple.com>
3629 Checks for leaks in ImageDiff too.
3631 * Scripts/run-webkit-tests:
3633 2005-10-09 Darin Adler <darin@apple.com>
3635 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3636 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3637 * Scripts/cvs-unapply: Ditto.
3638 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3640 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3642 Reviewed, rearranged and landed by Darin.
3644 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3645 Need a way to automatically test for regressions in NSTextInput implementation
3647 * DumpRenderTree/DumpRenderTree.m:
3648 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3649 Create a text input controller and put it in a property of the window object.
3651 * DumpRenderTree/TextInputController.h: Added.
3652 * DumpRenderTree/TextInputController.m: Added.
3653 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3655 2005-10-06 Darin Adler <darin@apple.com>
3657 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3658 are controlled by cvs, or when changes cross multiple repositories.
3659 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3661 2005-10-03 Eric Seidel <eseidel@apple.com>
3665 Make mouseDown and mouseUp force layout before acting.
3666 This is used by a new test case for 4233558.
3668 * DumpRenderTree/DumpRenderTree.m:
3669 (-[EventSendingController mouseDown]): force layout
3670 (-[EventSendingController mouseUp]): force layout
3672 2005-09-30 Eric Seidel <eseidel@apple.com>
3676 Updated all the scripts for the move:
3677 WebCore/layout-tests -> LayoutTests
3679 * Scripts/check-dom-results:
3680 * Scripts/prepare-ChangeLog:
3681 * Scripts/run-webkit-tests:
3682 * Scripts/update-webkit: added --no-tests
3683 * checkout: added --no-tests
3685 2005-09-28 Darin Adler <darin@apple.com>
3687 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3688 pixel test should run even if render trees differ
3690 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3692 2005-09-27 Eric Seidel <eseidel@apple.com>
3694 No review needed, SVG build fix only.
3696 * DumpKCanvasTree/DumpKCanvasTree.m:
3697 Missed one in my previous checkin.
3698 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3700 2005-09-26 Eric Seidel <eseidel@apple.com>
3702 No review needed, SVG build fix only.
3704 * DrawTest/DrawTestDocument.m:
3705 * DrawTest/DrawTestToolbarController.m:
3706 * DrawTest/DrawTestView.h:
3707 * DrawTest/DrawTestView.m:
3708 * DrawTest/SVGTest.m:
3709 * DrawTest/TestController.m:
3710 Updated for WebCore+SVG -> WebCore rename.
3711 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3713 2005-09-26 Eric Seidel <eseidel@apple.com>
3717 * DumpRenderTree/DumpRenderTree.m:
3718 (dump): updated error message
3719 * Scripts/check-dom-results: now includes xhtml
3720 Tool updates for xhtml.
3721 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3723 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3728 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3729 "Would like to simulate human interaction with webview"
3731 * DumpRenderTree/DumpRenderTree.m:
3732 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3733 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3734 (+[EventSendingController webScriptNameForSelector:]):
3735 (-[EventSendingController init]):
3736 (-[EventSendingController mouseDown]):
3737 (-[EventSendingController mouseUp]):
3738 (-[EventSendingController mouseMoveToX:Y:]):
3739 Add eventSender javascript object, that sends fake mouse events to the webview.
3741 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3742 link with Carbon.framework
3744 2005-09-22 Eric Seidel <eseidel@apple.com>
3748 Update tools for WebCore+SVG -> WebCore rename.
3749 Also fold several SVG specific tools into their original
3750 WebCore counterparts.
3751 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3753 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3754 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3755 * Scripts/build-drawtest:
3756 * Scripts/build-dumpkcanvastree:
3757 * Scripts/build-webcore-svg: Removed.
3758 * Scripts/build-webkit: added --svg option
3759 * Scripts/run-drawtest:
3760 * Scripts/run-webkit-tests:
3761 * Scripts/webkitdirs.pm: various additions.
3762 * checkout: added --svg option
3763 * checkout-svg: Removed.
3765 2005-09-19 Eric Seidel <eseidel@apple.com>
3769 * Scripts/run-webkit-tests: added --guard-malloc option
3770 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3772 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3776 Removed a script that is only used by apple internal developers
3778 * Scripts/update-webkitsysteminterface: Removed.
3780 2005-09-16 Adele Peterson <adele@apple.com>
3784 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3786 2005-09-14 Darin Adler <darin@apple.com>
3788 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3789 dumpAsText doesn't work with XHTML documents
3791 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3792 rather than of the body element. This works with typical XHTML documents. We can probably
3793 do something even better in the long run, but this fixes the immediate issue.
3797 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3798 run-safari instead of just using "open", which often runs another copy of Safari instead.
3800 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3802 Reviewed, tweaked, and landed by Darin.
3804 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3805 .Mac prefpane crashes when Safari using CVS WebKit is running
3807 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3808 * Scripts/run-webkit-app: Ditto.
3810 2005-09-11 Darin Adler <darin@apple.com>
3812 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3814 2005-09-11 Darin Adler <darin@apple.com>
3818 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3819 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3820 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3823 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3827 * Scripts/update-webkitsysteminterface: Added.
3828 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3830 2005-09-01 John Sullivan <sullivan@apple.com>
3832 * Scripts/run-webkit-tests:
3833 Excluded a known system leak to reduce noise; added comments about which leaks
3836 2005-09-01 Tim Omernick <tomernick@apple.com>
3838 Change made by Darin, reviewed by John and myself.
3840 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3842 * Scripts/prepare-ChangeLog:
3844 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3848 - set color variant and font settings to a consistent value.
3849 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3851 * DumpRenderTree/DumpRenderTree.m:
3854 2005-08-30 Eric Seidel <eseidel@apple.com>
3858 * Scripts/build-svg2png: Removed.
3859 * svg2png/ImageDiff.h: Removed.
3860 * svg2png/ImageDiff.m: Removed.
3861 * svg2png/svg2png.m: Removed.
3862 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3863 * svg2png/svg2png_Prefix.pch: Removed.
3864 svg2png is no longer needed.
3866 2005-08-30 Darin Adler <darin@apple.com>
3868 * Scripts/check-dom-results: Special case 100% to say something nice.
3869 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3870 applying the patch (need a better name).
3871 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3873 2005-08-30 Darin Adler <darin@apple.com>
3875 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3877 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3881 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3882 (some pixel tests fail when AA settings are changed)
3884 * DumpRenderTree/DumpRenderTree.m:
3885 (main): set AA settings to the default values
3887 2005-08-29 Darin Adler <darin@apple.com>
3889 Reviewed by John Sullivan.
3891 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3892 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3895 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3899 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3900 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3902 * DumpRenderTree/DumpRenderTree.m:
3903 (main): set scrollbar arrow setting to a consistent value
3905 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3907 Reviewed and landed by Darin.
3909 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3910 output of update-webkit is too verbose
3912 * Scripts/update-webkit:
3913 Added option --quiet (-q) to decrease the amount of output.
3915 2005-08-27 Darin Adler <darin@apple.com>
3917 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3918 cvs-create-patch --include-unknowns should ignore hidden files
3920 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3922 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3924 Reviewed, tweaked, and landed by Darin.
3926 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3927 update-webkit doesn't notice when you have SVGSupport and update properly
3929 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3931 2005-08-25 Anders Carlsson <andersca@mac.com>
3933 Reviewed and landed by Darin.
3935 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3936 layout test machinery can't handle tests with applets that have code attributes
3938 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3940 2005-08-24 Darin Adler <darin@apple.com>
3944 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3945 DumpRenderTree --pixel-tests crash
3946 - landed some other small changes I had sitting in my tree
3948 * DumpRenderTree/DumpRenderTree.m:
3949 (main): Don't bother saving and restoring the preferences. Not sure
3950 why this was ever done since the preferences are specific to DumpRenderTree.
3951 Clear delegates before releasing the WebView, because you can't count on the
3952 order of object deallocation.
3953 (dumpRenderTree): Fix code that releases a string before storing it in a
3956 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3957 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3959 2005-08-23 Eric Seidel <eseidel@apple.com>
3963 * Scripts/run-webkit-tests:
3964 Made --leaks option more readable by printing to a file.
3965 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3967 2005-08-22 Eric Seidel <eseidel@apple.com>
3968 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3972 * Scripts/run-webkit-tests: hides "expected actual diffs" links
3973 when they are not needed (for pixel-only failures)
3974 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3976 2005-08-22 Eric Seidel <eseidel@apple.com>
3980 * Scripts/run-webkit-tests: Added the ability to display more than
3981 just two images as part of the image-diff "slideshow".
3982 Added display of "-w3c.png" baseline images for SVG.
3983 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3985 2005-08-20 Eric Seidel <eseidel@apple.com>
3987 * Scripts/run-webkit-tests:
3988 "build" fix after committing incorrect version.
3990 2005-08-20 Eric Seidel <eseidel@apple.com>
3994 * DumpRenderTree/DumpRenderTree.m:
3995 (main): cleans up delegates
3996 (dumpRenderTree): closes CFString/CFURL leak
3997 * Scripts/run-webkit-tests:
3998 Adds --leaks option to run-webkit-tests
3999 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
4001 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
4005 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
4006 new files to be included in the patch even without "cvs add".
4008 2005-08-19 Darin Adler <darin@apple.com>
4010 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
4011 non-cvs-generated patches. Anders has been creating these, so it's bad that
4012 the script can't handle them.
4013 * Scripts/cvs-unapply: Ditto.
4015 2005-08-18 Darin Adler <darin@apple.com>
4017 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
4018 "." in them -- based on complaint by someone here at Apple.
4020 2005-08-18 Eric Seidel <eseidel@apple.com>
4024 * Scripts/run-webkit-tests:
4025 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
4027 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4029 - add file that I forgot in the last checkin
4031 * DumpRenderTree/ImageDiff.m: Added.
4033 (getImageFromStdin):
4035 (getDifferenceBitmap):
4036 (computePercentageDifferent):
4038 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4040 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
4041 somewhat by me, and also tweaked by me a little bit.
4043 - better support for pixel-dumping
4044 - use checksums of the images so the tests are fast
4045 - change output format to make the tests run faster
4046 - don't dump pixel results for tests that dump as text
4048 * DumpKCanvasTree/DumpKCanvasTree.m:
4051 (md5HashStringForBitmap):
4053 (constrainSizeToMaximum):
4054 (getBitmapImageRepForSVGDocument):
4055 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4056 * DumpRenderTree/DumpRenderTree.m:
4060 (md5HashStringForBitmap):
4061 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4062 * Scripts/run-webkit-tests:
4064 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4068 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
4070 * DumpRenderTree/DumpRenderTree.m:
4073 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
4075 Reviewed and landed by Darin.
4077 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
4078 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
4080 * Scripts/run-safari: Pass arguments through to Safari on command line.
4081 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
4083 2005-08-11 Eric Seidel <eseidel@apple.com>
4084 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
4086 Reviewed by eseidel.
4088 * DrawTest/TestController.m:
4089 (-[TestController imagePathForSVGPath:]):
4090 Fixed support for using TextViewer with the layout-tests.
4091 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
4093 2005-08-11 Maciej Stachowiak <mjs@apple.com>
4095 At Least Roughly Glanced At by Anders.
4097 - fix change with totally breaks the layout tests.
4099 * DumpRenderTree/DumpRenderTree.m:
4100 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
4101 load, to avoid dumping twice accidentally.
4103 2005-08-10 Eric Seidel <eseidel@apple.com>
4104 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
4108 * DumpRenderTree/DumpRenderTree.m:
4109 Added support for rendering to a PNG file.
4110 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
4112 2005-08-07 Eric Seidel <eseidel@apple.com>
4116 * Scripts/run-webkit-tests: added --svg option
4117 * Scripts/run-webkit-tests-svg: Removed.
4118 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
4120 2005-08-07 Eric Seidel <eseidel@apple.com>
4121 Changes by Ben La Monica <ben.lamonica@gmail.com>
4125 * svg2png/ImageDiff.h: Added.
4126 * svg2png/ImageDiff.m: Added.
4127 (getDifferenceBitmap):
4128 (computePercentageDifferent):
4129 (saveAnimatedGIFToFile):
4130 * svg2png/svg2png.m:
4131 (usage): added several new options
4132 (getBitmapForSVG): added NSBitmapImageRep generation
4133 (main): various argument changes.
4134 * svg2png/svg2png.xcodeproj/project.pbxproj:
4135 Several additions to provide image differencing functionality.
4136 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
4138 2005-08-07 Eric Seidel <eseidel@apple.com>
4142 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
4143 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
4144 Adding the first SVG layout tests:
4145 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
4147 2005-08-07 Darin Adler <darin@apple.com>
4149 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
4151 2005-08-06 Eric Seidel <eseidel@apple.com>
4155 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
4156 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
4157 * Scripts/build-dumpkcanvastree: Added.
4158 * Scripts/run-webkit-tests-svg: Added.
4159 Adds a DumpRenderTree-like tool for SVG which allows us to do
4160 text-based layout regression testing. This (like most of the
4161 SVG specific stuff) is temporary and will be replaced by
4162 DumpRenderTree once the DOMs and RenderTrees merge.
4163 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
4165 2005-08-06 Eric Seidel <eseidel@apple.com>
4169 * DrawTest/DrawTestView.m:
4170 (-[DrawTestView toggleFilterSupport:]): missing negation.
4171 One half of fix for toggling filter support.
4172 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
4174 2005-08-04 Eric Seidel <eseidel@apple.com>
4178 * Scripts/build-drawtest:
4179 * Scripts/build-dumprendertree:
4180 * Scripts/build-svg2png:
4181 * Scripts/build-webcore-svg:
4182 * Scripts/build-webkit:
4183 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
4184 Added checkRequiredSystemConfig and made all the build-* scripts
4185 use it to print a pretty warning when trying to compile on an
4186 unsupported system (less than 10.4, Xcode 2.1).
4187 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
4189 2005-08-04 Darin Adler <darin@apple.com>
4191 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
4192 the dead. It was removed by accident when someone was trying to work on the branch.
4194 2005-07-31 Darin Adler <darin@apple.com>
4196 - a little tools cleanup
4198 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
4199 project as a whole. Removed unused Default configuration.
4201 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
4203 2005-07-31 Duncan Wilcox <duncan@mclink.it>
4205 Reviewed and landed by Darin Adler.
4207 Add logging of editing delegate calls for regression checking.
4209 * DumpRenderTree/DumpRenderTree.m:
4211 setup editing delegate
4213 (-[DOMNode dumpPath]):
4215 utility for editing delegate logging
4217 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
4218 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
4219 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
4220 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
4221 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
4222 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
4223 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
4224 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
4225 (-[EditingDelegate webViewDidBeginEditing:]):
4226 (-[EditingDelegate webViewDidChange:]):
4227 (-[EditingDelegate webViewDidEndEditing:]):
4228 (-[EditingDelegate webViewDidChangeTypingStyle:]):
4229 log corresponding editing delegate methods
4231 (-[EditingDelegate webViewDidChangeSelection:]):
4232 log selection except when clearing selection after end of test (uses existing "done" flag)
4235 added clearing of selection after test
4237 2005-07-31 Eric Seidel <eseidel@apple.com>
4241 * Scripts/build-drawtest: Added.
4242 * Scripts/build-svg2png: Added.
4243 * Scripts/build-webcore-svg: Added.