1 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
3 Reviewed by eseidel. Landed by eseidel.
5 Detect that close button was pressed and exit cleanly.
7 * GdkLauncher/main.cpp:
11 2006-09-17 Adam Roben <aroben@apple.com>
13 Reviewed by hyatt, sfalken.
15 Get DumpRenderTree compiling and limping along on Windows.
17 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
19 (main): Add NULL argument to Page constructor.
20 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
21 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
23 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
27 http://bugzilla.opendarwin.org/show_bug.cgi?id=10635
28 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
30 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
31 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
32 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
34 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
38 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10791
39 Even More Objective-C DOM auto-generation cleanup
41 - Change to use new, more Objectice-C'ish version of
42 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
43 regression test for fast/events/dblclick-addEventListener.html.
45 * DumpRenderTree/EventSendingController.m:
46 (-[EventSendingController fireKeyboardEventsToElement:]):
48 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
52 Fixes last part of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
53 Move QtLauncher down to WebKitQt.
55 * QtLauncher/CMakeLists.txt: Removed.
56 * QtLauncher/main.cpp: Removed.
58 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
62 Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
63 Adjust DumpRenderTree to the FrameQtClient changes.
65 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
66 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
67 (WebCore::DumpRenderTree::DumpRenderTree):
68 (WebCore::DumpRenderTree::~DumpRenderTree):
69 (WebCore::DumpRenderTree::frame):
70 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
71 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
72 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
73 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
74 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
76 2006-09-03 Darin Adler <darin@apple.com>
78 * Scripts/do-webcore-rename: More renaming plans.
80 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
84 http://bugzilla.opendarwin.org/show_bug.cgi?id=10693
85 Convert JavaScript arrays to AppleScript lists
87 * DumpRenderTree/AppleScriptController.m:
88 (convertAEDescToObject):
89 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
91 2006-08-31 Darin Adler <darin@apple.com>
93 * Scripts/do-webcore-rename: Prepare for another round of renaming.
95 2006-08-29 Dan Waylonis <waylonis@google.com>
99 - Verification of exceptions thrown in a plugin. Test for bug 10114.
100 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
101 * DumpRenderTree/ObjCPlugin.m:
102 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
103 (+[ObjCPlugin webScriptNameForSelector:]):
104 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
106 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
110 Commit KDE related tweaks, to be able to
111 differentiate between a Qt-only or a KDE build.
113 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
114 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
116 2006-08-29 Darin Adler <darin@apple.com>
118 Reviewed by Tim Hatcher.
120 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
121 to work around what seems to be a bug in some versions of gdb.
123 2006-08-16 Tim Omernick <timo@apple.com>
125 Reviewed by John Sullivan.
127 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
128 <http://bugzilla.opendarwin.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
131 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
133 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
134 are expected to be retained by the plug-in, and released by the caller.
136 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
138 Reviewed by Tim Hatcher.
140 Fixes one chunk of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10604
142 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
143 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
146 * Scripts/run-webkit-tests:
147 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
149 2006-08-28 Darin Adler <darin@apple.com>
151 Reviewed by Tim Hatcher.
153 * Scripts/build-drosera: Fix behavior when there are multiple options.
155 2006-08-27 Timothy Hatcher <timothy@apple.com>
159 Drosera will be built when you type make.
161 * Drosera/Makefile: Added.
163 * Makefile.shared: Added.
165 2006-08-27 Anders Carlsson <acarlsson@apple.com>
169 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
170 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
171 (WebCore::DumpRenderTree::DumpRenderTree):
172 (WebCore::DumpRenderTree::~DumpRenderTree):
173 (WebCore::DumpRenderTree::open):
174 (WebCore::DumpRenderTree::readStdin):
175 (WebCore::DumpRenderTree::checkLoaded):
176 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
177 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
180 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
182 Reviewed by Eric, landed by Anders.
184 Add DumpRenderTree support for Qt/Linux.
186 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
187 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
188 (WebCore::DumpRenderTree::DumpRenderTree):
189 (WebCore::DumpRenderTree::~DumpRenderTree):
190 (WebCore::DumpRenderTree::open):
191 (WebCore::DumpRenderTree::readStdin):
192 (WebCore::DumpRenderTree::checkLoaded):
193 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
194 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
196 * Scripts/build-dumprendertree:
197 * Scripts/run-webkit-tests:
198 * Scripts/webkitdirs.pm:
200 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
202 Reviewed by Eric. Landed by rwlbuis.
204 Add QtLauncher (was testunity before), which provides a
205 standalone "browser" to test the Qt platform stuff.
207 * QtLauncher/CMakeLists.txt: Added.
208 * QtLauncher/main.cpp: Added.
211 2006-08-22 Trey Matteson <trey@usa.net>
215 Added support for a new set of browser navigation tests. The main feature
216 is the ability for a test to queue up a set of future actions that will
217 happen after that first page is loaded. This is used to simulate a sequence
218 of user actions such as filling out forms, loading additional pages or
219 going back. In addition we can now dump out the state of the back/forward
220 list, and the scroll position is dumped if not at 0,0.
222 * DumpRenderTree/DumpRenderTree.m:
223 (main): Init new state
224 (compareHistoryItems): New utility to support sorting.
225 (dumpHistoryItem): Write out a WebHistoryItem and kids.
226 (dumpFrameScrollPosition): Write out the scroll position.
227 (dump): Optionally write b/f list or scroll position.
228 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
229 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
230 Kick off any queued actions. Fixed for the case of loads started in
231 a subframe instead of the root frame.
232 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
233 Grab the topmost frame that is being loaded. Do this as early as possible,
234 instead of in didCommitLoadForFrame.
235 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
236 Noting a load has started now happens in previous method.
237 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
238 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
239 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
241 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
242 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
243 Add new work to the queue.
244 (-[LayoutTestController _doLoad:target:]): Do a queued load.
245 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
246 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
247 (-[LayoutTestController scheduleForwardNav:]):
248 (-[LayoutTestController scheduleReload]):
249 (-[LayoutTestController scheduleScript:]):
250 (-[LayoutTestController scheduleLoad:target:]):
251 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
252 since it's not one of the functions that does any dumping.
254 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
258 - added a function to create a few DOMKeyboardEvents and dispatch
259 them to a specified HTML element
260 http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
262 * DumpRenderTree/EventSendingController.m:
263 (+[EventSendingController isSelectorExcludedFromWebScript:]):
264 (+[EventSendingController webScriptNameForSelector:]):
265 (-[EventSendingController fireKeyboardEventsToElement:]):
267 2006-08-15 Duncan Wilcox <duncan@mclink.it>
269 Reviewed and tweaked by Darin.
271 - added DumpRenderTree support so editing delegate can be made to refuse edits
272 to enable tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=10129
274 * DumpRenderTree/DumpRenderTree.m:
275 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
276 to the list of methods.
277 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
278 without the colon, for the JavaScript name.
279 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
281 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
283 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
284 setter methods to the class.
285 * DumpRenderTree/EditingDelegate.m:
286 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
287 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
288 return the value of acceptsEditing.
289 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
290 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
291 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
292 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
293 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
295 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
296 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
297 (-[EditingDelegate setAcceptsEditing:]): Added.
299 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
303 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
304 http://bugzilla.opendarwin.org/show_bug.cgi?id=10224
306 * Drosera/Drosera.xcodeproj/project.pbxproj:
307 * Drosera/LauncherInfo.plist:
309 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
311 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
312 when a test performs an unsuccessful drag and drop operation.
314 * DumpRenderTree/EventSendingController.m:
315 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
316 drag operation for the mouse release is NSDragOperationNone.
318 2006-08-02 Timothy Hatcher <timothy@apple.com>
322 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
323 http://bugzilla.opendarwin.org/show_bug.cgi?id=9632
325 Do not change the file source when normalizing the line endings.
326 We use this file source to compare against new versions of the source
327 as it comes in, so we can skip re-syntax highlighting if they are the same.
328 The problem is apparent on yahoo.com since they have mixed line endings and
329 once we normalize them the source will always be different. This was
330 compounded by the fact that yahoo has around 40 inline scripts. Each
331 inline script causes us to check if the main document has more loaded,
332 that is when we compare the source strings. Since they are always different
333 we would syntax highlight yahoo.com 40 times! We do check source length before
334 doing a more expensive string comparison, but the lengths were the same.
336 * Drosera/debugger.js:
338 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
342 Bug 9931: [Drosera] Needs a cool icon
343 http://bugzilla.opendarwin.org/show_bug.cgi?id=9931
345 * Drosera/Drosera.icns: Added.
346 * Drosera/Drosera.xcodeproj/project.pbxproj:
347 * Drosera/Info.plist:
349 2006-08-01 Darin Adler <darin@apple.com>
351 - fix a bug in my recent change where the mouse position at the end of
352 the last test would affect the results of the next test
354 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
356 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
360 http://bugzilla.opendarwin.org/show_bug.cgi?id=10182
361 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
363 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
364 Correct the logic to not reload local variable list unless an '=' character is in the expression.
366 2006-07-31 Darin Adler <darin@apple.com>
370 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10171
371 REGRESSION: failing layout test: fast/events/objc-event-api.html
373 * DumpRenderTree/DumpRenderTree.m:
374 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
375 location in flipped coordinates, since those are the coordinates that we use.
376 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
379 * DumpRenderTree/EventSendingController.m:
380 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
381 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
382 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
383 probably worked OK, but this is needed to be correct.
384 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
385 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
386 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
387 dump the screenY as-is.
389 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
393 http://bugzilla.opendarwin.org/show_bug.cgi?id=10178
394 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
396 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
397 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
399 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
403 http://bugzilla.opendarwin.org/show_bug.cgi?id=10175
404 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
406 * Drosera/DebuggerDocument.m:
407 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
409 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
413 http://bugzilla.opendarwin.org/show_bug.cgi?id=10167
414 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
416 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
419 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
423 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
424 http://bugzilla.opendarwin.org/show_bug.cgi?id=9686
426 * Drosera/DebuggerDocument.m:
427 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
428 ensure that the server does not try and notify us of events related to the resumption.
429 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
430 call through to JavaScript.
431 * Drosera/debugger.js: Pause debugger when exception is raised.
433 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
437 - fixes for Linux build
439 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
440 * GdkLauncher/gdklauncher.bkl: Tweak comment.
442 2006-07-24 Dan Waylonis <waylonis@google.com>
444 Reviewed and tweaked a bit by Darin.
446 * DumpRenderTree/ObjCPlugin.m:
447 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
448 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
449 "echo:" so it's nice to call from JavaScript.
450 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
451 to test a round trip through Objective-C types.
453 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
457 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10060
458 Improve iExploder results parsing
460 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
463 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
467 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9964
468 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
470 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
472 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
476 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
477 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
479 Removed "Property changes" that snuck in as part of the "apply patch" process.
481 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
485 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9875
486 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
489 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
491 (patch): Use patch(1) for non-binary additions and deletions.
492 * Scripts/svn-unapply:
494 (patch): Use patch(1) for reverting non-binary additions and deletions.
495 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
497 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
501 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
502 http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
504 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
505 so, have stepOut pause on the next call to willExecuteStatement rather than second.
507 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
511 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
512 Teach svn-create-patch and friends to fix ChangeLog patches
514 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
515 * Scripts/svn-create-patch: Ditto.
516 * Scripts/svn-unapply: Ditto.
518 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
522 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
523 http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
525 * Drosera/DebuggerDocument.m:
526 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
528 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
532 Bug 9863: Drosera needs to show something at launch
533 http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
535 * Drosera/DebuggerApplication.m:
536 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
538 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
542 Lets Drosera build universal for the nightlies. Right now it is not
543 possible to build a universal binary on a PPC machine because of a
544 conflict with the universal SDK.
546 * BuildSlaveSupport/build-launcher-app:
547 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
549 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
553 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
554 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
556 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
557 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
558 should open a new stream and deliver the data to the current instance.
560 2006-07-11 Timothy Hatcher <timothy@apple.com>
564 Bug 9598: [Drosera] add a JavaScript evaluator console
565 http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
567 * Drosera/DebuggerApplication.h:
568 * Drosera/DebuggerApplication.m:
569 (-[DebuggerApplication knownServers]):
570 * Drosera/DebuggerDocument.h:
571 * Drosera/DebuggerDocument.m:
572 (-[WebScriptObject evaluateScript:inCallFrame:]):
573 (-[WebScriptObject showConsole:]):
574 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
575 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
576 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
577 (-[WebScriptObject webView:createWebViewWithRequest:]):
578 (-[WebScriptObject webViewShow:]):
579 (-[WebScriptObject webViewAreToolbarsVisible:]):
580 (-[WebScriptObject webView:setToolbarsVisible:]):
581 (-[WebScriptObject webView:setResizable:]):
582 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
583 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
584 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
585 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
586 (-[WebScriptObject webView:didFinishLoadForFrame:]):
587 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
588 * Drosera/Drosera.xcodeproj/project.pbxproj:
589 * Drosera/Images/console.png: Added.
590 * Drosera/console.css: Added.
591 * Drosera/console.html: Added.
592 * Drosera/console.js: Added.
594 2006-07-11 Timothy Hatcher <timothy@apple.com>
596 Reviewed by a tired Geoff.
598 Bug 9597: [Drosera] hook up the variables table to show stack variables
599 http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
601 * Drosera/DebuggerDocument.m:
602 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
603 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
604 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
605 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
606 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
607 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
608 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
609 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
610 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
611 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
612 * Drosera/debugger.css:
613 * Drosera/debugger.html:
614 * Drosera/debugger.js:
616 2006-07-10 Tim Omernick <timo@apple.com>
618 Reviewed by Beth Dakin.
620 <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
621 Add DOM access test to DumpRenderTree's Netscape plug-in
623 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
627 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
631 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
632 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
634 Now track three states: initializing, running, and closed. If we are launched and the previous
635 state was initializing then we likely just experienced a crash on launch.
637 * WebKitLauncher/WebKitNightlyEnabler.m:
638 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
639 (myApplicationWillTerminate): Update to use new states.
640 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
641 initializing as early as practical.
642 (symbol_lookup): Bring code up to speed with formatting guidelines.
643 (GDSymbolLookup): Ditto.
645 2006-07-10 Darin Adler <darin@apple.com>
647 - try to fix Windows build
649 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
650 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
652 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
654 Build fix. Reviewed by NOBODY.
656 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
657 devenv.com not available in VC++ Express installations
659 * Scripts/webkitdirs.pm: Backed out previous change.
661 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
665 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
666 svn-apply should set ChangeLog date correctly when applying patches
668 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
669 before applying the patch.
670 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
672 2006-07-09 Darin Adler <darin@apple.com>
674 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
676 2006-07-09 Darin Adler <darin@apple.com>
678 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
680 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
682 Reviewed by NOBODY (build fix).
684 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
685 devenv.com not available in VC++ Express installations
687 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
688 work again. Add VC++ Express check as the fallback.
690 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
692 Reviewed by Timothy Hatcher.
694 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
695 devenv.com not available in VC++ Express installations
697 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
699 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
703 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
704 Patch by coldwinter@katamail.com.
706 In the congratulations message, "capatibilies" should be "capabilities".
708 * Scripts/build-webkit:
710 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
712 Reviewed by Timothy Hatcher.
714 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
715 Teach run-webkit-tests how to ignore tests with performance improvements
717 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
718 feature, and minor clean up.
720 2006-07-08 Darin Adler <darin@apple.com>
722 Reviewed by Geoff (well, half of it at least).
724 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
725 storage leaks in Objective-C tests
727 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
728 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
729 Add a release to fix a storage leak.
731 2006-07-08 Darin Adler <darin@apple.com>
733 * Scripts/do-webcore-rename: A few more.
735 2006-07-08 Darin Adler <darin@apple.com>
737 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
739 2006-07-04 Maciej Stachowiak <mjs@apple.com>
743 http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
744 - add support for dumping non-HTML as text - in this case use textContent
747 * DumpRenderTree/DumpRenderTree.m:
750 2006-07-02 Timothy Hatcher <timothy@apple.com>
754 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
755 http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
757 Adds step over and step out. Along with a little code cleanup
758 that was minor enough to piggyback on this fix.
760 * Drosera/DebuggerDocument.h:
761 * Drosera/DebuggerDocument.m:
762 (-[DebuggerDocument stepOver:]):
763 (-[DebuggerDocument stepOut:]):
764 (-[DebuggerDocument windowDidLoad]):
765 (-[DebuggerDocument windowWillClose:]):
766 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
767 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
768 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
769 (-[DebuggerDocument validateUserInterfaceItem:]):
770 * Drosera/Drosera.xcodeproj/project.pbxproj:
771 * Drosera/debugger.html:
772 * Drosera/debugger.js:
773 * Drosera/viewer.css:
775 2006-07-02 Timothy Hatcher <timothy@apple.com>
779 Bug 9628: [Drosera] Split Views acting oddly
780 http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
782 Only update the last X or Y coordinate if the new
783 size was not constrained. Also adds the resize cursor to
784 the body during the drag incase there is a constrained
785 over drag off of the resizer element.
787 * Drosera/debugger.js:
789 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
791 Reviewed by Alexy Proskuryakov.
793 Bug 9692: Warning about Safari extensions on every launch is obnoxious
794 http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
796 * WebKitLauncher/WebKitNightlyEnabler.m:
797 (myApplicationWillTerminate): Note that we are exiting cleanly.
798 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
799 to exit cleanly on our last invocation. This doesn't play nicely with
800 multiple concurrent instances of WebKit.app so it can be disabled via
801 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
803 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
805 Reviewed by Alexy Proskuryakov.
807 Bug 9654: Refresh Loop when accessing feed URLs
808 http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
810 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
812 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
814 Reviewed by Timothy Hatcher.
816 Bug 9689: Nightly builds should warn a user about potential problems when using
818 http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
820 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
821 * WebKitLauncher/WebKitNightlyEnabler.m:
822 (myBundleDidLoad): Keep track of if any bundles that are loaded.
823 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
824 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
825 NSApplicationWillFinishLaunchingNotification notifications so that we can
826 track bundle loads and notify the user at launch completion.
828 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
832 - first check-in of a Gdk shell for testing WebKit
834 * GdkLauncher: Added.
836 2006-06-29 Timothy Hatcher <timothy@apple.com>
840 Need to call window close so WebView tears-down completly.
842 * DumpRenderTree/DumpRenderTree.m:
843 (main): call [window close]
845 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
849 Bug 9615: Buildbot configuration should be in SVN repository
850 http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
852 Import BuildBot configuration files as used by build.webkit.org.
853 auth.py has been stubbed out so that slave passwords are not disclosed.
855 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
856 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
857 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
858 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
859 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
860 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
861 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
862 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
863 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
864 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
865 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
866 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
868 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
872 Bug 9614: Nightly builds should notify user if a newer build is available
873 http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
875 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
876 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
877 script so it can keep track of the latest revision.
878 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
879 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
880 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
881 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
882 the nightly start page.
884 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
888 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
889 http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
891 Report screenY values as (height of zero screen - screenY)
893 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
895 2006-06-25 Timothy Hatcher <timothy@apple.com>
899 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
900 http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
902 Makes breakpoints dragable. If dragged off the gutter they are deleted.
904 * Drosera/debugger.js:
905 * Drosera/viewer.css:
907 2006-06-25 Timothy Hatcher <timothy@apple.com>
911 Bug 9568: assertion failure in Safari after quitting Drosera
912 http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
914 Call switchToServerNamed:nil and not removeLister to make sure
915 the server object is set to nil to prevent further removeListener calls.
917 * Drosera/DebuggerDocument.m:
918 (-[DebuggerDocument applicationTerminating:]):
920 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
924 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
925 that the directory is not empty instead of reading in every single file and directory first,
926 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
929 2006-06-25 Darin Adler <darin@apple.com>
931 * Scripts/svn-apply: Tweak comments.
932 * Scripts/svn-create-patch: Ditto.
933 * Scripts/svn-unapply: Ditto.
935 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
937 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
939 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
941 * Scripts/svn-apply: Formatting fix.
943 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
947 http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
948 Teach svn-apply and svn-unapply to handle directory adds and removes better
950 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
951 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
953 2006-06-25 Timothy Hatcher <timothy@apple.com>
957 Bug 9574: Drosera should show inline scripts within the original HTML
958 http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
960 Refactor the JavaScript code to have a distinction between files
961 and scripts. Show the script in the context of the HTML file if
962 it's URL is the same as the frame's main resource. At the time of
963 the disParseScript callback the main resource might not be completely
964 loaded, but Drosera needs to show whatever we have at the time. Once
965 the main resource is finished, update the file source and reload the file.
967 * Drosera/DebuggerDocument.m:
968 (-[DebuggerDocument pause]):
969 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
970 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
971 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
972 * Drosera/debugger.css:
973 * Drosera/debugger.js:
975 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
979 http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
980 Teach prepare-ChangeLog to operate on a list of files or directories
982 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
983 * Scripts/svn-create-patch: Code refactoring.
985 2006-06-24 James G. Speth <speth@end.com>
989 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
990 add a way to build Objective-C test cases in HTML
992 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
993 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
994 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
997 * DumpRenderTree/ObjCPlugin.h:
998 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
999 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1000 (+[ObjCPlugin webScriptNameForSelector:]):
1001 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1002 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1003 (+[NSObject allowsScriptsFullAccess]):
1004 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1005 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1006 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1007 (+[JSObjC webScriptNameForSelector:]):
1008 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1009 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1010 (-[JSObjC log:]): access to NSLog function
1011 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1012 (-[JSObjC classOfObject:]):
1013 (-[JSObjC classNameOfObject:]):
1015 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1017 Reviewed by Timothy.
1019 * DrawTest/Info.plist: Added copyright statement.
1020 * Drosera/Info.plist: Ditto.
1021 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1022 * WebKitLauncher/Info.plist: Ditto.
1024 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1026 Build fix. Reviewed by NOBODY.
1028 - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
1029 devenv.com not available in VC++ Express installations
1031 * Scripts/webkitdirs.pm: Backed out previous change.
1033 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1037 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
1038 devenv.com not available in VC++ Express installations
1040 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1042 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1046 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
1047 A bunch of fixes to run-webkit-httpd
1049 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1050 127.0.0.1. Useful for testing with WinIE running on another machine;
1051 - don't call checkFrameworks() - we do not need a built WebKit here;
1052 - changed tabs to spaces;
1053 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1054 interactive mode, they were a hassle when testing with several browsers, as one
1055 had to wait for connection to expire);
1056 - remove httpd.pid when done, so that Apache doesn't complain next time.
1058 * Scripts/run-webkit-httpd:
1060 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1062 Reviewed by ggaren, landed by ap.
1064 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
1065 Complete DOMUIEvent Obj-C API to reflect UIEvent
1067 Add function to enable logging of all events of one DOM node to stdout.
1069 * DumpRenderTree/EventSendingController.h:
1070 * DumpRenderTree/EventSendingController.m:
1071 (+[EventSendingController initialize]):
1072 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1073 (+[EventSendingController webScriptNameForSelector:]):
1074 (-[EventSendingController enableDOMUIEventLogging:]):
1075 (-[EventSendingController handleEvent:]):
1077 2006-06-23 Kevin Decker <kdecker@apple.com>
1079 Reviewed by Tim Hatcher.
1081 - Made column headers in Drosera resizable.
1083 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1087 - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
1088 Another case error preventing build
1090 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1092 2006-06-22 Timothy Hatcher <timothy@apple.com>
1096 Adds a native toolbar to Drosera to be a good citizen.
1097 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1098 Fixes a dragging bug from an earlier fix to the divider code.
1099 Fixes some poor indenting in debugger.js.
1101 * Drosera/DebuggerDocument.h:
1102 * Drosera/DebuggerDocument.m:
1103 (-[DebuggerDocument stepInto]):
1104 (-[DebuggerDocument pause:]):
1105 (-[DebuggerDocument resume:]):
1106 (-[DebuggerDocument stepInto:]):
1107 (-[DebuggerDocument windowDidLoad]):
1108 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1109 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1110 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1111 (-[DebuggerDocument validateUserInterfaceItem:]):
1112 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1113 * Drosera/English.lproj/MainMenu.nib/info.nib:
1114 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1115 * Drosera/debugger.css:
1116 * Drosera/debugger.html:
1117 * Drosera/debugger.js:
1118 * Drosera/viewer.html:
1120 2006-06-22 Kevin Decker <kdecker@apple.com>
1124 - Added pressed column header image.
1125 - Made column headers behave more like Xcode.
1127 2006-06-22 Timothy Hatcher <timothy@apple.com>
1129 Reviewed by Kevin Decker.
1131 Code clean up. Adds the stackframe and makes only the body
1132 of the tables scrollable keeping the header visible.
1133 Shows the current function stack when paused or stepping.
1135 * Drosera/DebuggerApplication.m:
1136 (-[DebuggerApplication awakeFromNib]):
1137 (-[DebuggerApplication numberOfRowsInTableView:]):
1138 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1139 * Drosera/DebuggerDocument.h:
1140 * Drosera/DebuggerDocument.m:
1141 (-[DebuggerDocument dealloc]):
1142 (-[DebuggerDocument currentFrame]):
1143 (-[DebuggerDocument currentFrameFunctionName]):
1144 (-[DebuggerDocument currentFunctionStack]):
1145 (-[DebuggerDocument log:]):
1146 (-[DebuggerDocument windowWillClose:]):
1147 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1148 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1149 * Drosera/Drosera.xcodeproj/project.pbxproj:
1150 * Drosera/debugger.css:
1151 * Drosera/debugger.html:
1152 * Drosera/debugger.js:
1154 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1158 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1160 * Scripts/run-webkit-httpd:
1162 2006-06-22 Kevin Decker <kdecker@apple.com>
1164 Reviewed by Tim Hatcher.
1166 - More progress toward Javascript Debugger.
1167 - Added some new images to the project.
1169 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1173 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
1174 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1176 * Scripts/run-webkit-httpd: Added.
1178 2006-06-20 Timothy Hatcher <timothy@apple.com>
1182 Builds Drosera and a launcher to include with the nightly.
1184 * BuildSlaveSupport/build-launcher-app:
1185 * BuildSlaveSupport/build-launcher-dmg:
1186 * Drosera/Drosera.xcodeproj/project.pbxproj:
1187 * Drosera/Info.plist:
1188 * Drosera/LauncherInfo.plist: Added.
1189 * Drosera/launcher.m: Added.
1190 (displayErrorAndQuit):
1191 (checkMacOSXVersion):
1194 * Scripts/build-drosera
1195 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1196 * WebKitLauncher/main.m:
1199 2006-06-20 Timothy Hatcher <timothy@apple.com>
1203 Adds a JavaScript debugger, called Drosera. Named after
1204 a genus of bug eating plants.
1206 * Drosera/DebuggerApplication.h: Added.
1207 * Drosera/DebuggerApplication.m: Added.
1208 (-[DebuggerApplication applicationDidFinishLaunching:]):
1209 (-[DebuggerApplication serverLoaded:]):
1210 (-[DebuggerApplication serverUnloaded:]):
1211 (-[DebuggerApplication awakeFromNib]):
1212 (-[DebuggerApplication showAttachPanel:]):
1213 (-[DebuggerApplication attach:]):
1214 (-[DebuggerApplication numberOfRowsInTableView:]):
1215 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1216 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1217 (-[DebuggerApplication tableViewSelectionDidChange:]):
1218 * Drosera/DebuggerDocument.h: Added.
1219 * Drosera/DebuggerDocument.m: Added.
1220 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1221 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1222 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1223 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1224 (-[DebuggerDocument initWithServerName:]):
1225 (-[DebuggerDocument windowWillClose:]):
1226 (-[DebuggerDocument dealloc]):
1227 (-[DebuggerDocument isPaused]):
1228 (-[DebuggerDocument pause]):
1229 (-[DebuggerDocument resume]):
1230 (-[DebuggerDocument step]):
1231 (-[DebuggerDocument windowNibName]):
1232 (-[DebuggerDocument windowDidLoad]):
1233 (-[DebuggerDocument switchToServerNamed:]):
1234 (-[DebuggerDocument applicationTerminating:]):
1235 (-[DebuggerDocument serverConnectionDidDie:]):
1236 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1237 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1238 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1239 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1240 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1241 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1242 * Drosera/Drosera.pch: Added.
1243 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1244 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1245 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1246 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1247 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1248 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1249 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1250 * Drosera/Images/breakPoint.tif: Added.
1251 * Drosera/Images/breakPointDisabled.tif: Added.
1252 * Drosera/Images/continue.tif: Added.
1253 * Drosera/Images/finishFunction.tif: Added.
1254 * Drosera/Images/glossyFooterFill.tif: Added.
1255 * Drosera/Images/glossyHeader.png: Added.
1256 * Drosera/Images/gradientBackground.png: Added.
1257 * Drosera/Images/gutter.png: Added.
1258 * Drosera/Images/navLeftDisabled.png: Added.
1259 * Drosera/Images/navLeftNormal.png: Added.
1260 * Drosera/Images/navLeftPressed.png: Added.
1261 * Drosera/Images/navRightDisabled.png: Added.
1262 * Drosera/Images/navRightNormal.png: Added.
1263 * Drosera/Images/navRightPressed.png: Added.
1264 * Drosera/Images/pause.tif: Added.
1265 * Drosera/Images/popUpArrows.png: Added.
1266 * Drosera/Images/programCounter.tif: Added.
1267 * Drosera/Images/programCounterBreakPoint.tif: Added.
1268 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1269 * Drosera/Images/run.tif: Added.
1270 * Drosera/Images/splitterBar.tif: Added.
1271 * Drosera/Images/splitterDimple.tif: Added.
1272 * Drosera/Images/step.tif: Added.
1273 * Drosera/Images/stepOver.tif: Added.
1274 * Drosera/Images/stop.tif: Added.
1275 * Drosera/Images/toolbarBackground.png: Added.
1276 * Drosera/Info.plist: Added.
1277 * Drosera/debugger.css: Added.
1278 * Drosera/debugger.html: Added.
1279 * Drosera/debugger.js: Added.
1280 * Drosera/main.m: Added.
1282 * Drosera/viewer.css: Added.
1283 * Drosera/viewer.html: Added.
1285 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1289 http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
1290 Teach svn-apply and svn-unapply to use full path names
1292 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1293 * Scripts/svn-unapply: Ditto.
1295 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1299 - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
1300 DumpRenderTree should be able to keep URL history during runs
1302 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1304 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1305 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1306 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1307 it is currently nil since keepWebHistory() might be called more than once incidentally
1309 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1310 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1312 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1316 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
1317 Make prepare-ChangeLog faster
1319 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1320 then save the diff output for reuse. Keep a status variable if changes are made to
1321 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1322 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1323 for no changed files closer to the beginning of the program.
1325 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1327 Reviewed and landed by ap.
1329 - make DumpRenderTree build
1331 * DumpRenderTree/DumpRenderTree.m:
1332 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1333 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1334 (-[LayoutTestController setWindowIsKey:]): Ditto.
1335 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1337 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1339 Reviewed by Darin, landed by Geoff.
1341 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
1342 Use pathcmp() when sorting paths in svn-create-patch
1344 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1345 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1346 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1347 switch and printUsage() subroutine.
1349 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1353 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
1354 Teach svn-create-patch to sort its output
1356 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1357 by text files first, then by binary files.
1359 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1363 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
1364 Teach svn-create-patch and friends to work with binary files
1366 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1367 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1368 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1370 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1374 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
1375 Performance improvement for svn-create-patch
1377 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1379 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1383 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
1384 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1386 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1387 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1389 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1393 Switch Spinneret to new hosting mechanism
1395 * Spinneret/Spinneret.sln:
1396 * Spinneret/Spinneret/Spinneret.cpp:
1397 (SpinneretWebHost::updateAddressBar):
1398 (SpinneretWebHost::QueryInterface):
1399 (SpinneretWebHost::AddRef):
1400 (SpinneretWebHost::Release):
1407 * Spinneret/Spinneret/Spinneret.h:
1408 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1409 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1410 (SpinneretWebHost::didFailProvisionalLoadWithError):
1411 (SpinneretWebHost::didCommitLoadForFrame):
1412 (SpinneretWebHost::didReceiveTitle):
1413 (SpinneretWebHost::didReceiveIcon):
1414 (SpinneretWebHost::didFinishLoadForFrame):
1415 (SpinneretWebHost::didFailLoadWithError):
1416 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1417 (SpinneretWebHost::willPerformClientRedirectToURL):
1418 (SpinneretWebHost::didCancelClientRedirectForFrame):
1419 (SpinneretWebHost::willCloseFrame):
1420 (SpinneretWebHost::windowScriptObjectAvailable):
1421 * Spinneret/Spinneret/Spinneret.vcproj:
1423 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1427 Updated build script
1429 * Scripts/build-webkit:
1431 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1435 * DumpRenderTree/DumpRenderTree.m:
1436 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1437 (-[LayoutTestController clearBackForwardList]):
1438 Add clearBackForwardList function to layoutTestController
1440 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1444 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
1445 slow-utf8-text layout test case failing (no longer deterministic?)
1447 * DumpRenderTree/DumpRenderTree.m:
1449 Dump as text when the response MIME type is text/plain
1451 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1455 * Spinneret/Spinneret.sln:
1456 * Spinneret/Spinneret/Spinneret.vcproj:
1458 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1462 Added 'GCController' to DRT to support garbage collection layout tests.
1464 GCController.collect() and GCController.collectOnAlternateThread() do
1465 what you would expect. The latter takes a boolean argument sepcifying
1466 whether to wait for garbage collection to finish before continuing to
1469 * DumpRenderTree/DumpRenderTree.m:
1470 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1471 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1472 * DumpRenderTree/GCController.h: Added.
1473 * DumpRenderTree/GCController.mm: Added.
1474 (+[GCController isSelectorExcludedFromWebScript:]):
1475 (+[GCController webScriptNameForSelector:]):
1476 (-[GCController collect]):
1477 (-[GCController collectOnAlternateThread:]):
1479 2006-05-23 John Sullivan <sullivan@apple.com>
1483 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1484 Newer Xcode removed some obsolete cruft
1486 * DumpRenderTree/TextInputController.m:
1487 (-[TextInputController textInput]):
1488 added (id) cast to make newer compiler happy
1490 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1496 * Spinneret/Spinneret.sln:
1498 2006-05-18 Darin Adler <darin@apple.com>
1500 - try to fix no-SVG, no-XPATH build, again
1502 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1504 2006-05-18 Darin Adler <darin@apple.com>
1506 - try to fix no-SVG, no-XPATH build
1508 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1509 since the former is what's used in the WebCore project now.
1511 2006-05-17 Darin Adler <darin@apple.com>
1513 * Scripts/do-webcore-rename: Some more future renames.
1515 2006-05-16 Adele Peterson <adele@apple.com>
1519 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1520 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1522 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1524 * Scripts/install-unix-extras: Changed to be executable and removed
1525 text in the file generated by "svn diff".
1526 * Scripts/regenerate-makefiles: Ditto.
1528 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1530 Reviewed by Darin, landed by ap.
1532 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1533 Bakefiles (and generated Makefiles) for wx and gdk ports
1535 * Scripts/install-unix-extras: Added.
1536 * Scripts/regenerate-makefiles: Added.
1538 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1542 Fix registry usage from perl script. Turns out libwin32's
1543 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1545 * Scripts/install-win-extras:
1547 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1550 Add load ended callback.
1554 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1555 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1556 * Spinneret/Spinneret/Spinneret.cpp:
1557 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1558 (_tWinMain): Load built-in test content here instead of in lower-level code.
1559 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1561 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1565 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1567 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1571 * Scripts/check-dom-results:
1572 Add XPath to the list of results.
1574 2006-05-08 Darin Adler <darin@apple.com>
1576 * Scripts/do-webcore-rename: Add another rename.
1578 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1582 Spinneret now links against the new separate lib.
1584 * Spinneret/Spinneret.sln:
1585 * Spinneret/Spinneret/Spinneret.cpp:
1586 (SpinneretWebHost::updateLocationBar):
1588 * Spinneret/Spinneret/Spinneret.h:
1589 * Spinneret/Spinneret/Spinneret.vcproj:
1590 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1591 * Spinneret/Spinneret/WebFrame.h: Removed.
1592 * Spinneret/Spinneret/WebView.cpp: Removed.
1593 * Spinneret/Spinneret/WebView.h: Removed.
1595 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1599 Modify error reporting registry keys to disable Dr. Watson.
1600 This allows Javascript test cases to complete without blocking UI.
1602 * Scripts/install-win-extras:
1603 - Use Perl Win32 registry functions to disable blocking UI
1606 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1610 Turned off C++ exceptions, fixed memory leaks
1612 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1613 * Spinneret/Spinneret.sln:
1614 * Spinneret/Spinneret/Spinneret.cpp:
1616 * Spinneret/Spinneret/Spinneret.vcproj:
1617 * Spinneret/Spinneret/WebFrame.cpp:
1618 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1619 (WebKit::WebFrame::WebFrame):
1620 (WebKit::WebFrame::~WebFrame):
1621 (WebKit::WebFrame::impl):
1622 * Spinneret/Spinneret/WebFrame.h:
1623 * Spinneret/Spinneret/WebView.cpp:
1624 * Spinneret/Spinneret/stdafx.h:
1626 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1630 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1631 DumpRenderTree should reset the URL cache
1633 * DumpRenderTree/DumpRenderTree.m:
1634 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1636 2006-04-28 Eric Seidel <eseidel@apple.com>
1638 Reviewed by andersca.
1640 * Scripts/do-webcore-rename: rename KCanvasContainer too
1641 * Scripts/run-webkit-tests: output total time
1643 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1645 Reviewed by hyatt. Landed by eseidel.
1647 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1648 Enable detection of excessive repainting with DumpRenderTree
1650 * DumpRenderTree/DumpRenderTree.m:
1651 (-[LayoutTestController display]):
1653 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1657 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1658 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1660 * DumpRenderTree/DumpRenderTree.m:
1661 (dump): If display() has been called during the test, grab the pixels from
1662 the view, after letting it repaint invalidated rects.
1663 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1664 (-[LayoutTestController display]): Added. Calls -display on the view
1665 and changes the subsequent behavior of dump().
1668 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1672 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1673 Update iExploder to 1.3.2
1675 Test case numbers are not compatible with iExploder 1.2.
1677 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1679 * iExploder/CHANGELOG.txt: Added.
1680 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1681 * iExploder/README.txt: Added some performance hints.
1683 * iExploder/htdocs/config.rb: Added.
1684 * iExploder/htdocs/cssproperties.in:
1685 * iExploder/htdocs/cssvalues.in:
1686 * iExploder/htdocs/htmlattrs.in:
1687 * iExploder/htdocs/htmltags.in:
1688 * iExploder/htdocs/iexploder.cgi:
1689 - Updated to support the latest HTML & CSS tags, properties, and values from both
1690 the WebKit and Mozilla CVS tree
1691 - cssproperties.in cleanup
1692 - Modularized the code a little bit.
1693 - Fix subtest bug that was causing last 5 tags to be missed
1694 - new subtest algorithm to deal better with larger tag counts
1695 - default HTML_MAX_TAGS increased from 32 to 96
1697 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1698 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1699 alternative to our run-iexploder-tests.
1700 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1701 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1702 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1704 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1706 - commit Scripts/run-mangleme-tests (missed it the previous time).
1708 2006-04-18 Darin Adler <darin@apple.com>
1710 - attempt to fix Windows buildbot
1712 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1713 We need a better long-term solution for this.
1715 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1719 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1720 Integrate mangleme test script.
1722 Works in a similar way to run-iexploder-tests.
1724 * Scripts/run-mangleme-tests: Added.
1726 * mangleme/Makefile: Added.
1727 * mangleme/README: Added.
1728 * mangleme/mangle.cgi.c: Added.
1729 * mangleme/remangle.cgi.c: Added.
1730 * mangleme/tags.h: Added.
1732 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1736 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1737 An easier way to save iExploder tests.
1739 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1741 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1745 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1746 Integrate iExploder test script.
1748 This script generates artificially mangled HTML documents, to test that the browser
1749 doesn't crash when handling ill-formed code.
1752 run-iexploder-tests Open an interactive test page in Safari+ToT.
1753 run-iexploder-tests nnnnn Open test #nnnnn.
1755 Command line options:
1756 --guard-malloc (-g) Use Guard Malloc.
1757 --port=nnnn Run Apache on port nnnn (default is 8000).
1759 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1760 (thus, Apache is still running), e.g.:
1761 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1763 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1765 * Scripts/run-iexploder-tests: Added.
1767 * iExploder/LICENSE.txt: Added.
1768 * iExploder/README.txt: Added.
1769 * iExploder/htdocs: Added.
1770 * iExploder/htdocs/cssproperties.in: Added.
1771 * iExploder/htdocs/cssvalues.in: Added.
1772 * iExploder/htdocs/htmlattrs.in: Added.
1773 * iExploder/htdocs/htmltags.in: Added.
1774 * iExploder/htdocs/htmlvalues.in: Added.
1775 * iExploder/htdocs/iexploder.cgi: Added.
1776 * iExploder/htdocs/index.html: Added.
1777 * iExploder/tools: Added.
1778 * iExploder/tools/lasthit.rb: Added.
1779 * iExploder/tools/osx_last_crash.rb: Added.
1781 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1785 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1786 Restore color profile after a crash
1788 * DumpRenderTree/DumpRenderTree.m:
1789 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1790 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1791 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1792 and this code may change significantly.
1794 (main): Install crashHandler.
1796 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1797 (CFStringGetCStringPtr should NEVER EVER be used!).
1799 2006-04-15 Darin Adler <darin@apple.com>
1803 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1804 Seems xmlsoft.org's HTTP no longer has what we need.
1806 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1808 Rubber-stamped by Darin.
1810 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1811 upload-disk-image stage on buildslaves fail with "No space left on device"
1813 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1814 'hdiutil create'. This creates the initial disk image based on the size of
1815 the source folder, and copies the contents to the new disk image. The file
1816 extension on the temporary uncompressed disk image has also been altered from
1817 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1818 the extension is not ".dmg".
1820 2006-04-12 Eric Seidel <eseidel@apple.com>
1824 * Scripts/update-webkit: Make this return non-zero when svn fails.
1826 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1830 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1831 Make HTTP tests using Perl use .pl extension
1833 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1834 removed support for .text. Reduced the number of places that explicitly list supported
1835 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1838 2006-04-06 Darin Adler <darin@apple.com>
1840 Changes requested by Mark Rowe.
1842 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1843 trash at the end of the file.
1844 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1846 * WebKitLauncher/main.m: Removed trash at end of file.
1848 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1851 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1853 Reviewed by Darin, landed by Maciej.
1855 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1856 and bundles the WebKit frameworks inside it.
1857 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1858 containing WebKit.app.
1859 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1860 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1861 number of the SVN working copy.
1862 * WebKitLauncher: Added.
1863 * WebKitLauncher/Info.plist: Added.
1864 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1865 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1866 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1867 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1868 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1869 the nightly launcher.
1870 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1871 It sets up the environment to have Safari use the bundled frameworks
1872 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1873 * WebKitLauncher/start.html: Added.
1874 * WebKitLauncher/webkit.icns: Added.
1876 2006-04-05 Darin Adler <darin@apple.com>
1880 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1881 are allowed to have global initializers.
1883 2006-04-05 Geoffrey Garen <ggaren@apple.com>
1885 Reviewed by OMG BETH
1887 * Scripts/run-testkjs:
1888 - pipe STDERR to /dev/null by default; new --verbose option overrides
1890 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1891 - output run command in a format that can be copied and pasted into the
1892 terminal to run manually
1894 2006-04-03 Justin Garcia <justin.garcia@apple.com>
1896 Reviewed by harrison
1898 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1899 A drag and drop in DumpRenderTree copies the source, instead of cutting it
1901 Tell the source that the drag is over after the drag is performed, not before.
1903 * DumpRenderTree/EventSendingController.m:
1904 (-[EventSendingController mouseUp]):
1906 2006-04-01 Darin Adler <darin@apple.com>
1910 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1911 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1912 elements in that array are not strings.
1914 2006-03-31 Darin Adler <darin@apple.com>
1916 Reviewed by John Sullivan.
1918 - added a "--reset-results" option to run-webkit-tests so you can reset
1919 the results without first deleting expected results
1920 - <rdar://problem/4185878> add scroll position to dumpRenderTree
1922 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1923 more logical. Moved all the subroutines to the end of the file. Added a
1926 * DumpRenderTree/DumpRenderTree.m:
1927 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1928 to generate new output for all tests it runs.
1929 (dump): Dump the scroll position if it's non-zero. Always dump the image when
1930 the --dump-all-pixels option is passed. Also tightened up the image dumping
1931 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1932 with code to save and restore the context.
1934 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1935 * DumpRenderTree/EventSendingController.m: Added now-needed include.
1937 2006-03-30 Tim Omernick <timo@apple.com>
1939 Reviewed by NOBODY (just fixing copyrights)
1941 * DumpRenderTree/ObjCPlugin.h:
1943 * DumpRenderTree/ObjCPlugin.m: ditto
1944 * DumpRenderTree/ObjCPluginFunction.h: ditto
1945 * DumpRenderTree/ObjCPluginFunction.m: ditto
1947 2006-03-30 Tim Omernick <timo@apple.com>
1951 * DumpRenderTree/DumpRenderTree.m:
1952 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1953 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
1954 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1955 exposed to JS as a callable object.
1957 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1958 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1960 * DumpRenderTree/ObjCPlugin.h: Added.
1961 * DumpRenderTree/ObjCPlugin.m: Added.
1962 * DumpRenderTree/ObjCPluginFunction.h: Added.
1963 * DumpRenderTree/ObjCPluginFunction.m: Added.
1965 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1966 Added a new method, "removeDefaultMethod", which removes the default method from the
1967 plugin object's class. The effect is that the plugin object is mutated from a callable
1968 function to a simple object.
1970 Handle "removeDefaultMethod".
1971 (pluginInvokeDefault):
1972 Made the default method actually do something (return 1).
1974 2006-03-30 Eric Seidel <eseidel@apple.com>
1978 Remove WebFrame::viewImpl(), setMainFrame on page.
1980 * Spinneret/Spinneret/WebFrame.cpp:
1981 (WebKit::WebFrame::WebFrame):
1982 * Spinneret/Spinneret/WebFrame.h:
1983 * Spinneret/Spinneret/WebView.cpp:
1984 (WebKit::WebView::mouseMoved):
1985 (WebKit::WebView::mouseDown):
1986 (WebKit::WebView::mouseUp):
1987 (WebKit::WebView::mouseDoubleClick):
1988 (WebKit::WebViewWndProc):
1990 2006-03-30 Eric Seidel <eseidel@apple.com>
1994 Fix html editing input & basic form submission.
1996 * Spinneret/Spinneret/WebFrame.cpp:
1997 (WebKit::WebFrame::submitForm):
1998 (WebKit::WebFrame::loadURL):
1999 * Spinneret/Spinneret/WebFrame.h:
2000 * Spinneret/Spinneret/WebView.cpp:
2001 (WebKit::WebView::keyPress):
2002 (WebKit::WebViewWndProc):
2004 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2008 <rdar://problem/4402375>
2009 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2011 Added an option to draw the selectionRect.
2013 * DumpRenderTree/DumpRenderTree.m:
2015 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2016 (-[LayoutTestController dumpSelectionRect]):
2019 2006-03-29 Darin Adler <darin@apple.com>
2021 Reviewed by Tim Hatcher.
2023 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2025 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2027 2006-03-28 Eric Seidel <eseidel@apple.com>
2031 * Scripts/check-for-global-initializers: remove svg exceptions.
2033 2006-03-28 Timothy Hatcher <timothy@apple.com>
2037 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2039 * Scripts/check-for-global-initializers:
2041 2006-03-28 Timothy Hatcher <timothy@apple.com>
2043 Build fix. Turn off uninitialized warnings for the first block of code.
2045 * Scripts/check-for-global-initializers:
2047 2006-03-28 Darin Adler <darin@apple.com>
2051 * Scripts/check-for-global-initializers: Added.
2053 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2055 Reviewed by darin. Landed by eseidel.
2057 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
2058 Add repaint testing support to run-webkit-tests
2060 * DumpRenderTree/DumpRenderTree.m:
2061 (main): Added --repaint and --horizontal-sweep options.
2062 (dump): Repaint line-by-line or column-by-column when the appropriate option
2064 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2065 and repaintSweepHorizontally() methods to layoutTestController.
2066 (-[LayoutTestController testRepaint]):
2067 (-[LayoutTestController repaintSweepHorizontally]):
2069 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2070 to force these settings on tests that do not ask for them.
2072 2006-03-24 Eric Seidel <eseidel@apple.com>
2078 * Spinneret/Spinneret/WebFrame.cpp:
2079 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2081 2006-03-21 Beth Dakin <bdakin@apple.com>
2085 Add support for keyDown() to DumpRenderTree.
2087 * DumpRenderTree/DumpRenderTree.m:
2088 (main): Set the preference for tabbing to links.
2089 * DumpRenderTree/EventSendingController.m:
2090 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2091 (+[EventSendingController webScriptNameForSelector:]):
2092 (-[EventSendingController keyDown:withModifiers:]):
2094 2006-03-20 Eric Seidel <eseidel@apple.com>
2100 * Spinneret/Spinneret/Spinneret.vcproj:
2101 * Spinneret/Spinneret/WebFrame.h:
2102 * Spinneret/Spinneret/WebView.cpp:
2103 (WebKit::WebView::mouseMoved):
2104 (WebKit::WebView::mouseDown):
2105 (WebKit::WebView::mouseUp):
2106 (WebKit::WebView::mouseDoubleClick):
2107 (WebKit::WebView::keyPress):
2108 (WebKit::WebViewWndProc):
2110 2006-03-19 Darin Adler <darin@apple.com>
2114 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2115 we can test it in layout tests. We don't really need tests that run with
2116 pop-up blocking off at the moment. If we do some day, we can add some
2117 API for turning it off in the layout test controller.
2119 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2120 don't ignore the leak; it should no longer show up.
2122 2006-03-17 Anders Carlsson <andersca@mac.com>
2126 * Scripts/install-win-extras:
2127 Fetch "Program Files" location from the environment.
2129 2006-03-17 Eric Seidel <eseidel@apple.com>
2133 Fix Spinneret to pass Events as const & not as pointers.
2135 * Spinneret/Spinneret/WebView.cpp:
2136 (WebKit::WebView::mouseMoved):
2137 (WebKit::WebView::mouseDown):
2138 (WebKit::WebView::mouseUp):
2139 (WebKit::WebView::mouseDoubleClick):
2140 (WebKit::WebView::keyPress):
2142 2006-03-17 Eric Seidel <eseidel@apple.com>
2144 Reviewed by justing.
2146 Add support for basic HTML editing.
2148 * Spinneret/Spinneret/WebView.cpp:
2149 (WebKit::WebView::WebView):
2150 (WebKit::WebView::keyPress):
2152 2006-03-17 Eric Seidel <eseidel@apple.com>
2154 Rubber-stamped by ggaren.
2156 Break DumpRenderTree.m up into several files to make the code more readable.
2158 * DumpRenderTree/DumpRenderTree.h: Added.
2159 * DumpRenderTree/DumpRenderTree.m:
2160 (doneLoading): new accessor function for "done" global.
2161 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2162 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2163 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2164 * DumpRenderTree/EditingDelegate.h: Added.
2165 * DumpRenderTree/EditingDelegate.m: Added.
2166 (-[EditingDelegate webViewDidChangeSelection:]):
2167 * DumpRenderTree/EventSendingController.h: Added.
2168 * DumpRenderTree/EventSendingController.m: Added.
2170 2006-03-16 Eric Seidel <eseidel@apple.com>
2174 Add resize, scroll event support.
2176 * Spinneret/Spinneret/WebView.cpp:
2177 (WebKit::WebView::mouseMoved):
2178 (WebKit::WebView::mouseDown):
2179 (WebKit::WebView::mouseUp):
2180 (WebKit::WebView::mouseDoubleClick):
2181 (WebKit::WebView::keyPress):
2182 (WebKit::WebViewWndProc):
2183 * Spinneret/Spinneret/WebView.h:
2185 2006-03-16 Eric Seidel <eseidel@apple.com>
2189 Make build-webkit print correctly to stdout on windows.
2191 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2193 2006-03-15 Eric Seidel <eseidel@apple.com>
2197 Fix eventSender.mouseClick() to update lastClick timestamp.
2199 * DumpRenderTree/DumpRenderTree.m:
2200 (-[EventSendingController mouseClick]):
2202 2006-03-15 Darin Adler <darin@apple.com>
2206 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2207 that had a lowercase "i" in it so this builds on case-sensitive
2210 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2214 Added run-testkjs and compare-timing-files scripts, to support super
2217 * Scripts/compare-timing-files: Added.
2218 * Scripts/run-testkjs: Added.
2220 2006-03-14 Eric Seidel <eseidel@apple.com>
2224 Make the URL bar relinquish focus on page load.
2226 * Spinneret/Spinneret/Spinneret.cpp:
2229 2006-03-14 Eric Seidel <eseidel@apple.com>
2233 Fix WebView to allow KeyFocus.
2234 Add handling of space and shift-space for scrolling.
2236 * Spinneret/Spinneret/WebView.cpp:
2237 (WebKit::scrollMessageForKey):
2238 (WebKit::WebViewWndProc):
2240 2006-03-10 Eric Seidel <eseidel@apple.com>
2244 Add scrolling support into Spinneret.
2246 * Spinneret/Spinneret/WebFrame.cpp:
2247 (WebKit::WebFrame::paint):
2248 * Spinneret/Spinneret/WebView.cpp:
2249 (WebKit::WebView::createWebView):
2250 (WebKit::calculateScrollDelta):
2251 (WebKit::scrollMessageForKey):
2252 (WebKit::WebViewWndProc):
2254 2006-03-13 Eric Seidel <eseidel@apple.com>
2258 Fix checksum generation on Intel machines.
2259 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2260 give a small speed boost now that it uses a shared buffer.
2262 * DumpRenderTree/DumpRenderTree.m:
2265 (md5HashStringForBitmap):
2266 * DumpRenderTree/ImageDiff.m:
2267 (computePercentageDifferent):
2269 2006-03-13 Darin Adler <darin@apple.com>
2271 Reviewed by Tim Hatcher.
2273 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2274 have it named httpd-1.3 instead.
2276 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2278 Fix proposed by Mitz Pettel, reviewed by Darin.
2280 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
2281 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2283 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2284 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2287 2006-03-09 Darin Adler <darin@apple.com>
2289 Reviewed by John Sullivan.
2291 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
2292 memory leak in the plug-in tests
2294 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2295 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2296 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2298 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2299 Moved the browser global in here since it's declared in this file's header.
2300 Changed the code to set up the pluginClass structure to not use function
2301 pointer casts. Those are dangerous because they can hide many types of mismatch.
2302 And indeed when I did this I discovered that many functions were missing their
2303 boolean return values or had parameter declarations with the wrong types.
2304 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2305 clarity. Added boolean return value: return true when successful and false when not.
2306 (pluginSetProperty): Added boolean return value, return false since we have no
2307 properties we can set.
2308 (pluginInvoke): Added boolean return value. Return true when successful and false
2309 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2310 return value from calling the browser. Changed code to put the strings in malloc
2311 buffers instead of relying on GCC's extension that allows variable-sized arrays
2313 (pluginInvokeDefault): Added boolean return value, return false since we have no
2314 default function to call.
2315 (pluginInvalidate): Added missing parameter. Removed comment.
2316 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2317 to cast the result of malloc.
2318 (pluginDeallocate): Removed uneeded cast.
2320 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2321 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2322 that match NPObject's fields. Removed unused NPWindow pointer.
2324 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2326 Test: fast/events/event-sender-mouse-click.html
2330 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
2331 DRT hangs when doing eventSender.mouseDown on native widgets
2333 * DumpRenderTree/DumpRenderTree.m:
2334 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2335 (-[EventSendingController mouseClick]): Simulates a click in a native
2336 widget by queueing a mouseUp before sending the mouseDown, so that
2337 the widget's mouse tracking event loop doesn't hang indefinitely.
2339 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2343 - make link clicks work by handling link click requests
2346 * Spinneret/Spinneret/Spinneret.cpp:
2347 (updateLocationBar):
2348 * Spinneret/Spinneret/Spinneret.h:
2349 * Spinneret/Spinneret/WebFrame.cpp:
2350 (WebKit::WebFrame::WebFrame):
2351 (WebKit::WebFrame::openURL):
2352 (WebKit::WebFrame::loadURL):
2353 * Spinneret/Spinneret/WebFrame.h:
2355 2006-03-08 Eric Seidel <eseidel@apple.com>
2359 Focus URL bar on Spinneret launch, remove border from WebView.
2360 Stop WebFrame from deleting the job (prevent crash).
2362 * Spinneret/Spinneret/Spinneret.cpp:
2364 * Spinneret/Spinneret/WebFrame.cpp:
2365 (WebKit::WebFrame::receivedAllData):
2366 (WebKit::WebFrame::paint):
2367 * Spinneret/Spinneret/WebView.cpp:
2368 (WebKit::WebView::createWebView):
2370 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2374 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2375 (pluginInvoke): Added a method to test getURL.
2377 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2381 - load URLs, not file paths, in Spinneret
2383 * Spinneret/Spinneret/Spinneret.cpp:
2385 * Spinneret/Spinneret/Spinneret.vcproj:
2386 * Spinneret/Spinneret/WebFrame.cpp:
2387 (WebKit::WebFrame::loadURL):
2388 (WebKit::WebFrame::receivedData):
2389 (WebKit::WebFrame::receivedAllData):
2390 * Spinneret/Spinneret/WebFrame.h:
2391 * Spinneret/Spinneret/WebView.cpp:
2392 (WebKit::WebView::WebView):
2394 2006-03-08 Darin Adler <darin@apple.com>
2398 - fixed AppleScript layout test results to not be endian-dependent
2399 (Hyatt complained to me about this one)
2401 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2402 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2403 (which are endian-dependent).
2405 2006-03-07 Darin Adler <darin@apple.com>
2409 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
2410 unwanted output while running layout tests
2412 * DumpRenderTree/DumpRenderTree.m:
2413 (checkedMalloc): Added.
2414 (checkedRealloc): Added.
2415 (makeLargeMallocFailSilently): Added.
2416 (main): Call makeLargeMallocFailSilently.
2418 2006-03-06 Darin Adler <darin@apple.com>
2420 * Scripts/do-webcore-rename: Add some more planned renaming.
2422 2006-03-06 Eric Seidel <eseidel@apple.com>
2426 * Spinneret/Spinneret/WebFrame.cpp:
2427 (WebKit::WebFrame::paint): force layout before painting
2429 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2433 Sent the windowNumber when sending events.
2434 Added leapForward so that we don't have to spend time waiting
2435 in layout tests that do mouse operations that require delays.
2437 * DumpRenderTree/DumpRenderTree.m:
2438 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2439 (+[EventSendingController webScriptNameForSelector:]):
2440 (-[EventSendingController currentEventTime]):
2441 (-[EventSendingController leapForward:]):
2442 (-[EventSendingController mouseDown]):
2443 (-[EventSendingController mouseUp]):
2444 (-[EventSendingController mouseMoveToX:Y:]):
2446 2006-03-05 Darin Adler <darin@apple.com>
2448 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2449 Script now works (after landing my two pending patches).
2451 2006-03-05 Darin Adler <darin@apple.com>
2453 - check in a script to do a "big" rename in WebCore
2454 (can be run whenever we're ready to do it)
2456 * Scripts/do-webcore-rename: Added.
2458 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2462 * Spinneret/Spinneret/WebFrame.cpp:
2463 (WebKit::WebFrame::loadFilePath): Close file when done.
2465 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2467 Reviewed by Darin, landed by ap.
2469 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
2470 Mouse moved events do not work in DumpRenderTree
2472 Test: fast/events/event-sender-mouse-moved.html
2474 * DumpRenderTree/DumpRenderTree.m:
2475 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2477 2006-03-04 Eric Seidel <eseidel@apple.com>
2481 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2482 Disable background erase to avoid tearing.
2483 Fix potential memory smasher from extra long urls.
2485 * Spinneret/Spinneret/Spinneret.cpp:
2487 * Spinneret/Spinneret/Spinneret.vcproj:
2488 * Spinneret/Spinneret/WebFrame.cpp:
2489 (WebKit::WebFrame::loadFilePath):
2490 (WebKit::WebFrame::paint):
2491 * Spinneret/Spinneret/WebView.cpp:
2492 (WebKit::registerWebViewWithInstance):
2494 2006-03-04 Eric Seidel <eseidel@apple.com>
2498 Hang WebView pointer off of HWND (gets rid of global hack).
2499 Remove MessageBox displayed on url change.
2501 * Spinneret/Spinneret/Spinneret.cpp:
2504 * Spinneret/Spinneret/WebView.cpp:
2505 (WebKit::registerWebViewWithInstance):
2506 (WebKit::WebView::createWebView):
2507 (WebKit::WebViewWndProc):
2509 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2513 Automatically kill httpd if it appears to be already running.
2515 * Scripts/run-webkit-tests:
2517 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2521 * Spinneret/Spinneret/WebFrame.cpp:
2522 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2524 2006-03-03 Eric Seidel <eseidel@apple.com>
2528 A few more fixes to make run-webkit-tests really work on win32.
2530 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2532 * Scripts/run-webkit-tests:
2534 2006-03-03 Eric Seidel <eseidel@apple.com>
2538 Make run-webkit-tests work on win32.
2540 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2542 (dumpRenderTreeMain):
2543 (dumpRenderTreeToStdOut):
2544 (serializeToStdOut):
2546 * Scripts/run-webkit-tests:
2547 * Scripts/webkitdirs.pm:
2548 * Spinneret/Spinneret/WebView.cpp:
2549 (WebKit::WebView::WebView):
2551 2006-03-03 Eric Seidel <eseidel@apple.com>
2555 Add WebFrame class (to hold Frame and FrameView).
2556 Add Location bar support to Spinneret.
2558 * Spinneret/Spinneret/Spinneret.cpp:
2563 * Spinneret/Spinneret/Spinneret.vcproj:
2564 * Spinneret/Spinneret/WebFrame.cpp: Added.
2565 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2566 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2567 (WebKit::WebFrame::WebFrame):
2568 (WebKit::WebFrame::loadFilePath):
2569 (WebKit::WebFrame::loadHTMLString):
2570 (WebKit::WebFrame::paint):
2571 (WebKit::WebFrame::impl):
2572 (WebKit::WebFrame::viewImpl):
2573 * Spinneret/Spinneret/WebFrame.h: Added.
2574 * Spinneret/Spinneret/WebView.cpp:
2575 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2576 (WebKit::WebView::WebView):
2577 (WebKit::WebView::windowHandle):
2578 (WebKit::WebView::mainFrame):
2579 (WebKit::WebView::mouseMoved):
2580 (WebKit::WebView::mouseDown):
2581 (WebKit::WebView::mouseUp):
2582 (WebKit::WebView::mouseDoubleClick):
2583 (WebKit::WebViewWndProc):
2584 * Spinneret/Spinneret/WebView.h:
2586 2006-03-02 Eric Seidel <eseidel@apple.com>
2590 * Spinneret/Spinneret/WebView.cpp:
2591 (WebKit::registerWebViewWithInstance):
2592 (WebKit::WebView::WebView):
2593 (WebKit::WebView::mouseMoved):
2594 (WebKit::WebView::mouseDown):
2595 (WebKit::WebView::mouseUp):
2596 (WebKit::WebView::mouseDoubleClick):
2597 (WebKit::WebViewWndProc):
2598 * Spinneret/Spinneret/WebView.h:
2600 2006-03-01 Eric Seidel <eseidel@apple.com>
2602 Reviewed by andersca.
2604 Make spinneret take advantage of the new GraphicsContextCairo.
2606 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2607 (main): updated to match style guidelines.
2608 * Spinneret/Spinneret/Spinneret.cpp:
2610 * Spinneret/Spinneret/WebView.cpp:
2611 (WebKit::registerWebViewWithInstance):
2612 (WebKit::WebView::WebView):
2613 (WebKit::WebView::~WebView):
2614 (WebKit::WebView::drawRect):
2616 * Spinneret/Spinneret/WebView.h:
2618 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2622 Give the events that eventSender sends a unique eventNumber
2624 * DumpRenderTree/DumpRenderTree.m:
2625 (-[EventSendingController mouseDown]):
2626 (-[EventSendingController mouseUp]):
2627 (-[EventSendingController mouseMoveToX:Y:]):
2629 2006-03-01 Eric Seidel <eseidel@apple.com>
2633 Add a stub win32 application to test WebCore drawing on windows.
2636 * Spinneret/Spinneret: Added.
2637 * Spinneret/Spinneret.sln: Added.
2638 * Spinneret/Spinneret/Resource.h: Added.
2639 * Spinneret/Spinneret/Spinneret.cpp: Added.
2645 * Spinneret/Spinneret/Spinneret.h: Added.
2646 * Spinneret/Spinneret/Spinneret.ico: Added.
2647 * Spinneret/Spinneret/Spinneret.rc: Added.
2648 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2649 * Spinneret/Spinneret/WebView.cpp: Added.
2650 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2651 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2652 (WebKit::registerWebViewWithInstance):
2653 (WebKit::WebView::createWebView):
2654 (WebKit::WebView::WebView):
2655 (WebKit::WebView::~WebView):
2656 (WebKit::WebView::drawRect):
2657 (WebKit::WebView::windowHandle):
2659 * Spinneret/Spinneret/WebView.h: Added.
2660 * Spinneret/Spinneret/small.ico: Added.
2661 * Spinneret/Spinneret/stdafx.cpp: Added.
2662 * Spinneret/Spinneret/stdafx.h: Added.
2664 2006-02-28 Eric Seidel <eseidel@apple.com>
2668 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2669 (main): add ability to dump render tree and read from a local file.
2671 2006-02-27 Eric Seidel <eseidel@apple.com>
2675 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2677 2006-02-27 Eric Seidel <eseidel@apple.com>
2681 Test new KConfig -> PlugInInfoStore change.
2682 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2684 * DumpRenderTree/DumpRenderTree.m:
2685 (main): load test netscape plugin
2686 * Scripts/run-webkit-tests: style update
2688 2006-02-24 Eric Seidel <eseidel@apple.com>
2692 Make DumpRenderTree link against icu.
2694 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2696 2006-02-24 Eric Seidel <eseidel@apple.com>
2700 Make DumpRenderTree link against libxml, etc.
2702 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2704 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2706 Reviewed and landed by Anders.
2708 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2709 getting called from the run loop, making the view render each test and thus slowing
2712 * DumpRenderTree/DumpRenderTree.m:
2713 (main): Set the offscreen window to not autodisplay.
2715 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2719 - Turn http tests back on by default.
2720 - Wait for Apache to actually start serving requests.
2721 - Get user id from a built-in variable rather than an external command;
2722 don't pass the group.
2724 * Scripts/run-webkit-tests:
2726 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2728 Suggested by Mitz Pettel, reviewed by Darin.
2730 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2731 can run CGIs even if the permissions are 700 or 600.
2733 2006-02-23 Darin Adler <darin@apple.com>
2735 Collaborating with Alexey.
2737 - turn off http tests by default until we figure out how to get them
2738 to run even when permissions on CGI files are 700 instead of 755
2740 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2742 2006-02-23 Eric Seidel <eseidel@apple.com>
2744 Add *.user to ignore list.
2746 2006-02-23 Eric Seidel <eseidel@apple.com>
2748 Remove binary file which shouldn't have been commited (and add to ignore list).
2750 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2751 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2753 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2757 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2759 2006-02-22 Eric Seidel <eseidel@apple.com>
2761 Reviewed by Tim Hatcher.
2763 Fix install-win-extras to not try to re-install setx if installed.
2765 * Scripts/install-win-extras:
2767 2006-02-22 Eric Seidel <eseidel@apple.com>
2769 One more file possibly missing from previous commit?
2771 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2772 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2774 2006-02-22 Eric Seidel <eseidel@apple.com>
2776 Reviewed by justing.
2778 Files missing from previous commit.
2780 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2781 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2783 2006-02-22 Eric Seidel <eseidel@apple.com>
2785 Rubber-stamped by justing.
2787 Corrected path for DumpRenderTree.intermediate files
2789 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2791 2006-02-22 Eric Seidel <eseidel@apple.com>
2793 Reviewed by justing.
2795 Fixed build-dumprendertree to exit with correct error codes.
2797 * Scripts/build-dumprendertree:
2799 2006-02-22 Eric Seidel <eseidel@apple.com>
2801 Reviewed by justing.
2803 Update build scripts to generalize building on Win32, and allow
2804 building of DumpRenderTree on Win32 from build-dumprendertree.
2806 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2808 * Scripts/build-dumprendertree:
2809 * Scripts/build-webkit:
2810 * Scripts/webkitdirs.pm:
2812 2006-02-22 Eric Seidel <eseidel@apple.com>
2816 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2817 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2818 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2819 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2820 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2821 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2823 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2824 * Scripts/build-webkit: make build-webkit cleanup after itself
2826 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2830 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2831 Some minor fixes to http tests.
2833 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2835 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2839 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2840 Would like to use locally installed Apache for testing.
2842 Added two run-webkit-tests options:
2843 --http (--nohttp) - whether to launch Apache (defaults to yes);
2844 --port - which port to listen on (defaults to 8000).
2846 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2847 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2848 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2850 Also added support for .shtml and .text files. Text files give an empty
2851 *-expected.txt, but a correct image.
2853 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2855 * Scripts/run-webkit-tests:
2857 2006-02-21 Darin Adler <darin@apple.com>
2859 Suggested by Mark Rowe.
2861 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2862 reporting leak counts.
2864 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2868 - Added install-win-extras script which installs some extra
2869 programs and libraries, and does Windows first-time setup.
2871 * Scripts/build-webkit: Add a newline between build results.
2872 * Scripts/install-win-extras: Added.
2874 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2878 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2879 DumpRenderTree should be able to load files via HTTP
2881 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2882 Handle tests starting with "http://" as real URLs, not file system paths.
2884 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2888 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2889 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2891 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2893 2006-02-18 Darin Adler <darin@apple.com>
2895 * Scripts/commit-log-editor: Added.
2897 2006-02-17 Eric Seidel <eseidel@apple.com>
2901 Make Win32 have the same default "WebKitBuild" directory behavior.
2903 * Scripts/build-webkit:
2904 * Scripts/webkitdirs.pm:
2906 2006-02-17 Eric Seidel <eseidel@apple.com>
2910 * Scripts/build-webkit: make win32 actually report errors
2912 2006-02-17 Eric Seidel <eseidel@apple.com>
2916 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2918 2006-02-17 Eric Seidel <eseidel@apple.com>
2922 * Scripts/run-webkit-tests: Ignore flash leaks
2924 2006-02-15 Justin Garcia <justin.garcia@apple.com>
2928 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2929 Add drag and drop support to DumpRenderTree
2931 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2932 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
2934 * DumpRenderTree/DumpRenderTree.m:
2936 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2937 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2938 (-[WaitUntilDoneDelegate webViewFocus:]):
2939 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2940 (+[LayoutTestController webScriptNameForSelector:]):
2941 (-[LayoutTestController setWindowIsKey:]):
2942 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2943 (-[EventSendingController init]):
2944 (-[EventSendingController mouseDown]):
2945 (-[EventSendingController mouseUp]):
2946 (-[EventSendingController mouseMoveToX:Y:]):
2948 (-[DumpRenderTreeWindow isKeyWindow]):
2949 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2950 (-[DumpRenderTreeDraggingInfo dealloc]):
2951 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2952 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2953 (-[DumpRenderTreeDraggingInfo draggingLocation]):
2954 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2955 (-[DumpRenderTreeDraggingInfo draggedImage]):
2956 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2957 (-[DumpRenderTreeDraggingInfo draggingSource]):
2958 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2959 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2960 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2961 * DumpRenderTree/TextInputController.m:
2962 (-[TextInputController firstRectForCharactersFrom:length:]):
2963 (-[TextInputController characterIndexForPointX:Y:]):
2965 2006-02-15 Geoffrey Garen <ggaren@apple.com>
2969 * DumpRenderTree/DumpRenderTree.m:
2970 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2971 Added a dummy method for the sake of LayoutTests/plugins/
2972 undefined-property-crash.html. (It tests a crash due to fallback
2973 object use. WebCore won't create a fallback object if the method is
2976 2006-02-14 Eric Seidel <eseidel@apple.com>
2980 * Scripts/run-webkit-tests: added --results-directory (-o) option
2982 2006-02-09 Eric Seidel <eseidel@apple.com>
2984 Rubber-stamped by mjs.
2986 Renamed split-class to split-file-by-class.
2988 * Scripts/build-webkit: Updated copyright.
2989 * Scripts/split-class: Removed.
2990 * Scripts/split-file-by-class: Added.
2992 2006-02-08 Eric Seidel <eseidel@apple.com>
2994 Rubber-stamped by mjs.
2996 Adding new script for splitting multi-class files.
2997 Also adding supporting perl module with space removing heuristics.
2999 * Scripts/SpacingHeuristics.pm: Added.
3000 * Scripts/build-drawtest: updated copyright header
3001 * Scripts/split-class: Added.
3003 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3005 Reviewed by thatcher
3007 Changes to test fix for:
3008 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
3009 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3011 * DumpRenderTree/DumpRenderTree.m:
3012 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3013 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3014 (+[LayoutTestController webScriptNameForSelector:]):
3015 (-[LayoutTestController setWindowHasFocus:]):
3016 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3018 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3020 Reviewed by Timothy.
3022 Support automated testing of AppleScript "do JavaScript" command
3023 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
3025 * DumpRenderTree/AppleScriptController.h: Added.
3026 * DumpRenderTree/AppleScriptController.m: Added.
3027 * DumpRenderTree/DumpRenderTree.m:
3028 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3029 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3031 2006-02-06 Eric Seidel <eseidel@apple.com>
3035 Fix build-webkit for use on win32 (unblocks buildbot usage).
3036 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
3038 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3039 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3041 2006-02-06 Eric Seidel <eseidel@apple.com>
3043 Rubber-stamped by darin & mjs.
3045 Added new support directory for build slave scripts.
3046 Committing the first script, for use by the PLT's build slave.
3047 This script is used to kick of the PLT (Page Load Test) slave.
3049 * BuildSlaveSupport: Added.
3050 * BuildSlaveSupport/run-performance-tests: Added.
3052 2006-02-06 Eric Seidel <eseidel@apple.com>
3054 Rubber-stamped by darin.
3056 Adding setSourceDir for scripts stored in non-standard locations.
3058 * Scripts/webkitdirs.pm:
3060 2006-02-04 Darin Adler <darin@apple.com>
3062 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3063 Configuration files that say Development or Deployment in them.
3065 2006-02-04 Darin Adler <darin@apple.com>
3067 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3068 wrapper already in the directory.
3069 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3070 these haven't been working at all.
3071 * Scripts/svn-unapply: Ditto.
3073 2006-02-03 Timothy Hatcher <timothy@apple.com>
3077 Renamed configuration names to Debug, Release and Production.
3079 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3080 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3081 * Scripts/set-webkit-configuration:
3082 * Scripts/webkitdirs.pm:
3084 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3086 Reviewed by thatcher
3088 Enabled spell checking for layout tests.
3090 * DumpRenderTree/DumpRenderTree.m:
3093 2006-01-29 Darin Adler <darin@apple.com>
3095 * Scripts/svn-apply: Added comments about things we should do to improve.
3096 * Scripts/svn-create-patch: Ditto.
3097 * Scripts/svn-unapply: Ditto.
3099 2006-01-28 Darin Adler <darin@apple.com>
3101 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3102 already there, even if the checksum is correct.
3104 2006-01-27 Eric Seidel <eseidel@apple.com>
3108 * Scripts/run-webkit-tests: make new tests use absolute urls
3110 2006-01-27 Eric Seidel <eseidel@apple.com>
3114 make run-webkit-tests output total leaks count
3116 * Scripts/run-webkit-tests:
3118 2006-01-27 Eric Seidel <eseidel@apple.com>
3122 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3123 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
3125 * Scripts/run-webkit-tests: fix --leaks to not crash
3127 2006-01-26 Eric Seidel <eseidel@apple.com>
3131 run-webkit-tests should produce a self-contained results directory
3132 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
3134 * Scripts/run-webkit-tests: copy failing items to results dir.
3136 2006-01-23 Darin Adler <darin@apple.com>
3138 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
3139 need script to update localizable strings file in WebKit
3141 * Scripts/update-webkit-localizable-strings: Added.
3143 2006-01-23 Darin Adler <darin@apple.com>
3145 - added a couple of scripts -- more about these two soon
3147 * Scripts/extract-localizable-strings: Added.
3148 * Scripts/merge-changelog: Added.
3150 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3154 Build fix. build-webkit dies with "invalid build action: (empty string)"
3156 * Scripts/build-webkit:
3157 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3159 2006-01-22 Eric Seidel <eseidel@apple.com>
3163 Fix --no-svg option to use XCode flags instead of gcc flags.
3165 * Scripts/build-webkit:
3167 2006-01-22 Eric Seidel <eseidel@apple.com>
3171 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3173 * Scripts/build-webkit:
3175 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3177 Reviewed by eseidel.
3179 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
3180 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3182 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3183 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3185 2006-01-19 Darin Adler <darin@apple.com>
3187 * Scripts/report-include-statistics: Added a new script.
3189 2006-01-19 Timothy Hatcher <timothy@apple.com>
3191 * Scripts/build-webkit: include JavaScriptGlue in the build
3193 2006-01-19 Darin Adler <darin@apple.com>
3195 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3196 spaces in it by using the form of open that treats each argument as a string
3197 rather than backtick syntax for reading the output of the nm tool.
3199 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3203 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3204 detect if there are any new tests
3206 * Scripts/prepare-ChangeLog:
3208 2006-01-12 Darin Adler <darin@apple.com>
3210 - removed some of the cvs-specific scripts -- not needed for this project any more
3212 * Scripts/cvs-abandon: Removed.
3213 * Scripts/cvs-apply: Removed.
3214 * Scripts/cvs-create-patch: Removed.
3215 * Scripts/cvs-unapply: Removed.
3217 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3219 Reviewed by eseidel. Committed by eseidel.
3221 - run-webkit-tests always launches Safari when tests fail
3222 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
3224 * Scripts/run-webkit-tests:
3225 Add a command-line flag to prevent Safari being launched to display failed
3226 tests. Always exit with non-zero status when tests have failed.
3228 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3230 Reviewed by eseidel. Committed by eseidel.
3232 - build-webkit should exit with non-zero status when build fails
3233 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
3235 * Scripts/build-webkit:
3236 Use correct bits of subprocess exit code when passing back through
3237 as build-webkit's exit code.
3239 2006-01-10 Eric Seidel <eseidel@apple.com>
3241 Restored corrupted nibs from TOT CVS.
3243 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3244 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3245 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3246 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3247 * DrawTest/English.lproj/Inspector.nib: Replaced.
3248 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3249 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3250 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3251 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3252 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3253 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3254 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3255 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3256 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3257 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3258 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3260 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3262 Reviewed by eseidel. Committed by eseidel.
3264 DrawTestView now subclasses WebView instead of DrawView.
3266 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3267 * DrawTest/DrawTestDocument.h:
3268 * DrawTest/DrawTestDocument.m:
3269 (-[DrawTestDocument dealloc]):
3270 (-[DrawTestDocument readFromFile:ofType:]):
3271 (-[DrawTestDocument windowControllerDidLoadNib:]):
3272 (-[DrawTestDocument dumpSVGToConsole:]):
3273 (-[DrawTestDocument openSourceForSelection:]):
3274 (-[DrawTestDocument dataRepresentationOfType:]):
3275 * DrawTest/DrawTestToolbarController.h:
3276 * DrawTest/DrawTestToolbarController.m:
3277 (-[DrawTestToolbarController initWithDrawView:]):
3278 (-[DrawTestToolbarController clickedToolbarItem:]):
3279 (-[DrawTestToolbarController validateToolbarItem:]):
3280 * DrawTest/DrawTestView.h:
3281 * DrawTest/DrawTestView.m:
3282 (-[DrawTestView initWithFrame:]):
3283 (-[DrawTestView setDocument:]):
3284 * DrawTest/SVGTest.h:
3285 * DrawTest/SVGTest.m:
3286 (+[SVGTest sharedDrawView]):
3287 (-[SVGTest generateCompositeIfNecessary]):
3288 * DrawTest/TestController.h:
3289 * DrawTest/TestController.m:
3290 (-[TestController awakeFromNib]):
3291 (-[TestController setSelectedTest:]):
3292 (-[TestController openTestViewerForSelection:]):
3293 (-[TestController toggleViewersScaleRule:]):
3294 * DrawTest/TestViewerSplitView.m:
3295 (-[TestViewerSplitView drawRect:]):
3297 2006-01-10 Anders Carlsson <andersca@mac.com>
3299 Reviewed by Timothy.
3301 * DumpRenderTree/DumpRenderTree.m:
3302 (main): Set the default language to "en", so language tests will work.
3304 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3308 - script to generate HTML wrappers for JS tests
3309 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
3311 * Scripts/make-js-test-wrappers: Added.
3313 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3317 * Scripts/svn-create-patch: Fix to work when passed directory names.
3319 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3323 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3324 can start writing automated loader tests now. I have one in the works.
3326 * DumpRenderTree/DumpRenderTree.m:
3327 (main): Construct global navigationController on entry, destroy on exit.
3328 Set frame to nil on exit too, to match all the other global objects.
3329 (Probably academic, since the process is exiting, anyway.)
3330 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3331 navigationController, in case it wants to kick off a load.
3332 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3333 the navigationController to scripting.
3335 New class, should be straightforward:
3337 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3338 * DumpRenderTree/NavigationController.h: Added.
3339 * DumpRenderTree/NavigationController.m: Added.
3341 (+[NavigationController isSelectorExcludedFromWebScript:]):
3342 (+[NavigationController webScriptNameForSelector:]):
3343 (-[NavigationController setPendingScript:]):
3344 (-[NavigationController setPendingRequest:]):
3345 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3346 (-[NavigationController webView:didFinishLoadForFrame:]):
3347 (-[NavigationController dealloc]):
3349 2006-01-08 Timothy Hatcher <timothy@apple.com>
3351 Removed this script, no longer needs with the Subversion switch.
3353 * checkout: Removed.
3355 2006-01-08 Timothy Hatcher <timothy@apple.com>
3357 Removes some stray tabs.
3359 * Scripts/update-webkit:
3361 2005-01-07 Eric Seidel <eseidel@apple.com>
3365 build-webkit should pass on build arguments from command line
3366 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
3368 * Scripts/build-webkit:
3370 2006-01-07 Eric Seidel <eseidel@apple.com>
3372 Reviewed by mjs & xenon.
3374 * Scripts/update-webkit: support Internal updates as well
3376 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3378 Temporarily rolling out plugin support from DumpRenderTree because it
3379 caused lots of layout test regressions.
3381 * DumpRenderTree/DumpRenderTree.m:
3382 (main): Remove invisible window added to support plugins.
3384 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3388 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
3389 Add plugin support to DumpRenderTree
3391 Also wrote first test plugin.
3393 * DumpRenderTree/DumpRenderTree.m:
3395 (1) Put the WebView in an invisible window, because PlugIns are
3396 optimized not to load if there's no parent window.
3397 (2) Tell WebKit to load any PlugIns in the directory from which we
3398 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3399 and they'll load automagically during layout testing, but they won't be
3400 added to the user's system, hosing apps like Safari.
3402 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3403 test PlugIn to project.
3405 PlugIn added to project:
3407 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3408 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3410 (initializeIdentifiers):
3411 (pluginHasProperty):
3413 (pluginGetProperty):
3414 (pluginSetProperty):
3416 (pluginInvokeDefault):
3420 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3421 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3423 (NP_GetEntryPoints):
3429 (NPP_DestroyStream):
3439 2006-01-04 Timothy Hatcher <timothy@apple.com>
3443 Tweaked and tested by me.
3445 New scripts to work with Subversion when the switch happens.
3446 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3448 * Scripts/svn-apply: Added.
3449 * Scripts/svn-create-patch: Added.
3450 * Scripts/svn-unapply: Added.
3452 2005-12-30 Eric Seidel <eseidel@apple.com>
3456 Move WebView width/height logic into DumpRenderTree to support
3457 running the W3C SVG 1.1 tests along side other tests. The W3C
3458 SVG 1.1 tests require a 480x360 view.
3460 * DumpRenderTree/DumpRenderTree.m:
3461 (main): don't accept width/height
3462 (dump): override width/height for SVG/W3C
3463 * Scripts/run-webkit-tests: don't pass width/height
3465 2005-12-30 Eric Seidel <eseidel@apple.com>
3467 No review, only removing dead code.
3469 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3470 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3472 2005-12-30 Eric Seidel <eseidel@apple.com>
3476 DumpRenderTree should set a consistent color profile while running
3477 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
3479 Creates consistent colormatched renderings on every test machine
3480 using the only way possible with Tiger APIs: by setting the
3481 system color profile on the test machine for the duration of the
3482 tests. This will (unfortunately) cause colors to change while
3483 running DumpRenderTree. This can also cause "permanent" color
3484 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3485 This is far from ideal, but it's be best way we've found to deal
3486 with the issue for now.
3488 * DumpRenderTree/DumpRenderTree.m:
3489 (restoreColorSpace):
3490 (setDefaultColorProfileToRGB):
3493 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3495 Reviewed by Darin Adler.
3497 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3498 cvs-create-patch --include produces incorrect paths
3500 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3502 2005-12-19 Eric Seidel <eseidel@apple.com>
3506 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3508 2005-12-19 Darin Adler <darin@apple.com>
3510 Reviewed by Eric Seidel.
3512 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3513 WebKit needs to use a local pasteboard during testing
3515 * DumpRenderTree/DumpRenderTree.m:
3516 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3517 Create a local pasteboard (really a global one with a unique name) and release
3518 it when exiting from the function so we don't leave it in the pasteboard server.
3519 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3520 ddn't have one. Fixed a leak in an unlikely error case.
3521 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3522 of this method to return our local pasteboard.
3524 2005-12-15 Eric Seidel <eseidel@apple.com>
3526 Reviewed by Tim Hatcher.
3528 * Scripts/build-webkit: --svg is now default!
3530 2005-12-15 Eric Seidel <eseidel@apple.com>
3534 Don't run svg test automatically if +SVG is built (yet).
3536 * Scripts/run-webkit-tests:
3538 2005-12-15 Darin Adler <darin@apple.com>
3540 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3541 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3542 passed on the command line.
3544 2005-12-06 John Sullivan <sullivan@apple.com>
3546 Reviewed by Darin Adler.
3548 * Scripts/prepare-ChangeLog:
3549 Remove special-case handling for nib files. This avoided trouble with cvs diff
3550 when we were using wrappers for nib files. Now that we aren't using wrappers,
3551 there's no reason to avoid adding the modified nib files to the file list that
3554 2005-12-05 Eric Seidel <eseidel@apple.com>
3558 Script updates for SVG files move (remove references to SVGSupport)
3560 * Scripts/build-webkit: remove SVGSupport
3561 * Scripts/run-webkit-tests: Resources -> resources for --svg
3562 * Scripts/update-webkit: remove SVGSupport
3564 2005-12-05 Eric Seidel <eseidel@apple.com>
3568 * checkout: remove --svg support, SVG is now checked out by default
3570 2005-11-29 Eric Seidel <eseidel@apple.com>
3574 Update scripts to run SVG tests automatically (w/o --svg) if
3575 WebCore is built with SVG support.
3577 * Scripts/build-drawtest: SVG support required
3578 * Scripts/build-dumpkcanvastree: Removed.
3579 * Scripts/run-drawtest: SVG support required to run
3580 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3581 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3583 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3585 Reviewed by Darin. Committed by Maciej.
3587 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3588 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3590 * DumpRenderTree/DumpRenderTree.m:
3593 2005-11-28 Eric Seidel <eseidel@apple.com>
3595 Reviewed by sullivan and GGAREN.
3597 Minor additions to make error messages more clear from cvs-apply.
3599 * Scripts/cvs-apply: make errors more clear
3601 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3603 Reviewed and committed by Maciej.
3605 - fixed cvs-create-patch --include produces incorrect paths
3606 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3608 * Scripts/cvs-create-patch: produce proper paths for new files.
3610 2005-11-21 Eric Seidel <eseidel@apple.com>
3614 Some simple fixes to the build/test scripts now that SVG uses the
3615 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3616 or symlinks for KDOM.
3618 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3619 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3620 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3621 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3622 * checkout: no longer symlink kdom
3624 2005-11-10 Eric Seidel <eseidel@apple.com>
3628 * Scripts/build-webkit: Pass through options to xcodebuild
3630 2005-11-07 Darin Adler <darin@apple.com>
3632 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3634 2005-11-03 John Sullivan <sullivan@apple.com>
3638 * Scripts/run-safari:
3639 changed message to say "Starting Safari" instead of odd "Start Safari"
3640 * Scripts/run-webkit-tests:
3641 changed the way we pass the file parameter to use -NSOpen rather than relying on
3642 unlabeled arguments being treated as files. This was failing on some machines that
3643 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3645 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3647 Patch by Alexey Proskuryakov.
3651 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3652 TextInputController should support attributed strings
3654 * DumpRenderTree/TextInputController.m:
3655 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3656 (+[NSMutableAttributedString webScriptNameForSelector:]):
3657 (-[NSMutableAttributedString getLength]):
3658 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3659 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3660 (-[NSMutableAttributedString addAttribute:value:]):
3661 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3662 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3663 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3664 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3665 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3666 (+[TextInputController isSelectorExcludedFromWebScript:]):
3667 (+[TextInputController webScriptNameForSelector:]):
3668 (-[TextInputController insertText:]):
3669 (-[TextInputController attributedSubstringFrom:length:]):
3670 (-[TextInputController attributedStringWithString:]):
3672 2005-10-11 Eric Seidel <eseidel@apple.com>
3676 Checks for leaks in ImageDiff too.
3678 * Scripts/run-webkit-tests:
3680 2005-10-09 Darin Adler <darin@apple.com>
3682 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3683 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3684 * Scripts/cvs-unapply: Ditto.
3685 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3687 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3689 Reviewed, rearranged and landed by Darin.
3691 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3692 Need a way to automatically test for regressions in NSTextInput implementation
3694 * DumpRenderTree/DumpRenderTree.m:
3695 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3696 Create a text input controller and put it in a property of the window object.
3698 * DumpRenderTree/TextInputController.h: Added.
3699 * DumpRenderTree/TextInputController.m: Added.
3700 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3702 2005-10-06 Darin Adler <darin@apple.com>
3704 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3705 are controlled by cvs, or when changes cross multiple repositories.
3706 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3708 2005-10-03 Eric Seidel <eseidel@apple.com>
3712 Make mouseDown and mouseUp force layout before acting.
3713 This is used by a new test case for 4233558.
3715 * DumpRenderTree/DumpRenderTree.m:
3716 (-[EventSendingController mouseDown]): force layout
3717 (-[EventSendingController mouseUp]): force layout
3719 2005-09-30 Eric Seidel <eseidel@apple.com>
3723 Updated all the scripts for the move:
3724 WebCore/layout-tests -> LayoutTests
3726 * Scripts/check-dom-results:
3727 * Scripts/prepare-ChangeLog:
3728 * Scripts/run-webkit-tests:
3729 * Scripts/update-webkit: added --no-tests
3730 * checkout: added --no-tests
3732 2005-09-28 Darin Adler <darin@apple.com>
3734 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3735 pixel test should run even if render trees differ
3737 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3739 2005-09-27 Eric Seidel <eseidel@apple.com>
3741 No review needed, SVG build fix only.
3743 * DumpKCanvasTree/DumpKCanvasTree.m:
3744 Missed one in my previous checkin.
3745 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3747 2005-09-26 Eric Seidel <eseidel@apple.com>
3749 No review needed, SVG build fix only.
3751 * DrawTest/DrawTestDocument.m:
3752 * DrawTest/DrawTestToolbarController.m:
3753 * DrawTest/DrawTestView.h:
3754 * DrawTest/DrawTestView.m:
3755 * DrawTest/SVGTest.m:
3756 * DrawTest/TestController.m:
3757 Updated for WebCore+SVG -> WebCore rename.
3758 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3760 2005-09-26 Eric Seidel <eseidel@apple.com>
3764 * DumpRenderTree/DumpRenderTree.m:
3765 (dump): updated error message
3766 * Scripts/check-dom-results: now includes xhtml
3767 Tool updates for xhtml.
3768 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3770 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3775 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3776 "Would like to simulate human interaction with webview"
3778 * DumpRenderTree/DumpRenderTree.m:
3779 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3780 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3781 (+[EventSendingController webScriptNameForSelector:]):
3782 (-[EventSendingController init]):
3783 (-[EventSendingController mouseDown]):
3784 (-[EventSendingController mouseUp]):
3785 (-[EventSendingController mouseMoveToX:Y:]):
3786 Add eventSender javascript object, that sends fake mouse events to the webview.
3788 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3789 link with Carbon.framework
3791 2005-09-22 Eric Seidel <eseidel@apple.com>
3795 Update tools for WebCore+SVG -> WebCore rename.
3796 Also fold several SVG specific tools into their original
3797 WebCore counterparts.
3798 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3800 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3801 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3802 * Scripts/build-drawtest:
3803 * Scripts/build-dumpkcanvastree:
3804 * Scripts/build-webcore-svg: Removed.
3805 * Scripts/build-webkit: added --svg option
3806 * Scripts/run-drawtest:
3807 * Scripts/run-webkit-tests:
3808 * Scripts/webkitdirs.pm: various additions.
3809 * checkout: added --svg option
3810 * checkout-svg: Removed.
3812 2005-09-19 Eric Seidel <eseidel@apple.com>
3816 * Scripts/run-webkit-tests: added --guard-malloc option
3817 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3819 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3823 Removed a script that is only used by apple internal developers
3825 * Scripts/update-webkitsysteminterface: Removed.
3827 2005-09-16 Adele Peterson <adele@apple.com>
3831 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3833 2005-09-14 Darin Adler <darin@apple.com>
3835 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3836 dumpAsText doesn't work with XHTML documents
3838 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3839 rather than of the body element. This works with typical XHTML documents. We can probably
3840 do something even better in the long run, but this fixes the immediate issue.
3844 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3845 run-safari instead of just using "open", which often runs another copy of Safari instead.
3847 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3849 Reviewed, tweaked, and landed by Darin.
3851 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3852 .Mac prefpane crashes when Safari using CVS WebKit is running
3854 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3855 * Scripts/run-webkit-app: Ditto.
3857 2005-09-11 Darin Adler <darin@apple.com>
3859 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3861 2005-09-11 Darin Adler <darin@apple.com>
3865 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3866 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3867 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3870 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3874 * Scripts/update-webkitsysteminterface: Added.
3875 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3877 2005-09-01 John Sullivan <sullivan@apple.com>
3879 * Scripts/run-webkit-tests:
3880 Excluded a known system leak to reduce noise; added comments about which leaks
3883 2005-09-01 Tim Omernick <tomernick@apple.com>
3885 Change made by Darin, reviewed by John and myself.
3887 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3889 * Scripts/prepare-ChangeLog:
3891 2005-08-31 Maciej Stachowiak <mjs@apple.com>
3895 - set color variant and font settings to a consistent value.
3896 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3898 * DumpRenderTree/DumpRenderTree.m:
3901 2005-08-30 Eric Seidel <eseidel@apple.com>
3905 * Scripts/build-svg2png: Removed.
3906 * svg2png/ImageDiff.h: Removed.
3907 * svg2png/ImageDiff.m: Removed.
3908 * svg2png/svg2png.m: Removed.
3909 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3910 * svg2png/svg2png_Prefix.pch: Removed.
3911 svg2png is no longer needed.
3913 2005-08-30 Darin Adler <darin@apple.com>
3915 * Scripts/check-dom-results: Special case 100% to say something nice.
3916 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3917 applying the patch (need a better name).
3918 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3920 2005-08-30 Darin Adler <darin@apple.com>
3922 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3924 2005-08-29 Maciej Stachowiak <mjs@apple.com>
3928 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3929 (some pixel tests fail when AA settings are changed)
3931 * DumpRenderTree/DumpRenderTree.m:
3932 (main): set AA settings to the default values
3934 2005-08-29 Darin Adler <darin@apple.com>
3936 Reviewed by John Sullivan.
3938 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3939 executable -- much slower but can help pinpoint leaks. Changed formatting of some
3942 2005-08-28 Maciej Stachowiak <mjs@apple.com>
3946 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3947 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3949 * DumpRenderTree/DumpRenderTree.m:
3950 (main): set scrollbar arrow setting to a consistent value
3952 2005-08-27 Jussi Hagman <juhagman@abo.fi>
3954 Reviewed and landed by Darin.
3956 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3957 output of update-webkit is too verbose
3959 * Scripts/update-webkit:
3960 Added option --quiet (-q) to decrease the amount of output.
3962 2005-08-27 Darin Adler <darin@apple.com>
3964 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3965 cvs-create-patch --include-unknowns should ignore hidden files
3967 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3969 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
3971 Reviewed, tweaked, and landed by Darin.
3973 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3974 update-webkit doesn't notice when you have SVGSupport and update properly
3976 * Scripts/update-webkit: Build SVGSupport directory if it's present.
3978 2005-08-25 Anders Carlsson <andersca@mac.com>
3980 Reviewed and landed by Darin.
3982 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3983 layout test machinery can't handle tests with applets that have code attributes
3985 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3987 2005-08-24 Darin Adler <darin@apple.com>
3991 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3992 DumpRenderTree --pixel-tests crash
3993 - landed some other small changes I had sitting in my tree
3995 * DumpRenderTree/DumpRenderTree.m:
3996 (main): Don't bother saving and restoring the preferences. Not sure
3997 why this was ever done since the preferences are specific to DumpRenderTree.
3998 Clear delegates before releasing the WebView, because you can't count on the
3999 order of object deallocation.
4000 (dumpRenderTree): Fix code that releases a string before storing it in a
4003 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
4004 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
4006 2005-08-23 Eric Seidel <eseidel@apple.com>
4010 * Scripts/run-webkit-tests:
4011 Made --leaks option more readable by printing to a file.
4012 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
4014 2005-08-22 Eric Seidel <eseidel@apple.com>
4015 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
4019 * Scripts/run-webkit-tests: hides "expected actual diffs" links
4020 when they are not needed (for pixel-only failures)
4021 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
4023 2005-08-22 Eric Seidel <eseidel@apple.com>
4027 * Scripts/run-webkit-tests: Added the ability to display more than
4028 just two images as part of the image-diff "slideshow".
4029 Added display of "-w3c.png" baseline images for SVG.
4030 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
4032 2005-08-20 Eric Seidel <eseidel@apple.com>
4034 * Scripts/run-webkit-tests:
4035 "build" fix after committing incorrect version.
4037 2005-08-20 Eric Seidel <eseidel@apple.com>
4041 * DumpRenderTree/DumpRenderTree.m:
4042 (main): cleans up delegates
4043 (dumpRenderTree): closes CFString/CFURL leak
4044 * Scripts/run-webkit-tests:
4045 Adds --leaks option to run-webkit-tests
4046 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
4048 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
4052 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
4053 new files to be included in the patch even without "cvs add".
4055 2005-08-19 Darin Adler <darin@apple.com>
4057 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
4058 non-cvs-generated patches. Anders has been creating these, so it's bad that
4059 the script can't handle them.
4060 * Scripts/cvs-unapply: Ditto.
4062 2005-08-18 Darin Adler <darin@apple.com>
4064 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
4065 "." in them -- based on complaint by someone here at Apple.
4067 2005-08-18 Eric Seidel <eseidel@apple.com>
4071 * Scripts/run-webkit-tests:
4072 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
4074 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4076 - add file that I forgot in the last checkin
4078 * DumpRenderTree/ImageDiff.m: Added.
4080 (getImageFromStdin):
4082 (getDifferenceBitmap):
4083 (computePercentageDifferent):
4085 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4087 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
4088 somewhat by me, and also tweaked by me a little bit.
4090 - better support for pixel-dumping
4091 - use checksums of the images so the tests are fast
4092 - change output format to make the tests run faster
4093 - don't dump pixel results for tests that dump as text
4095 * DumpKCanvasTree/DumpKCanvasTree.m:
4098 (md5HashStringForBitmap):
4100 (constrainSizeToMaximum):
4101 (getBitmapImageRepForSVGDocument):
4102 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4103 * DumpRenderTree/DumpRenderTree.m:
4107 (md5HashStringForBitmap):
4108 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4109 * Scripts/run-webkit-tests:
4111 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4115 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
4117 * DumpRenderTree/DumpRenderTree.m:
4120 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
4122 Reviewed and landed by Darin.
4124 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
4125 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
4127 * Scripts/run-safari: Pass arguments through to Safari on command line.
4128 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
4130 2005-08-11 Eric Seidel <eseidel@apple.com>
4131 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
4133 Reviewed by eseidel.
4135 * DrawTest/TestController.m:
4136 (-[TestController imagePathForSVGPath:]):
4137 Fixed support for using TextViewer with the layout-tests.
4138 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
4140 2005-08-11 Maciej Stachowiak <mjs@apple.com>
4142 At Least Roughly Glanced At by Anders.
4144 - fix change with totally breaks the layout tests.
4146 * DumpRenderTree/DumpRenderTree.m:
4147 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
4148 load, to avoid dumping twice accidentally.
4150 2005-08-10 Eric Seidel <eseidel@apple.com>
4151 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
4155 * DumpRenderTree/DumpRenderTree.m:
4156 Added support for rendering to a PNG file.
4157 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
4159 2005-08-07 Eric Seidel <eseidel@apple.com>
4163 * Scripts/run-webkit-tests: added --svg option
4164 * Scripts/run-webkit-tests-svg: Removed.
4165 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
4167 2005-08-07 Eric Seidel <eseidel@apple.com>
4168 Changes by Ben La Monica <ben.lamonica@gmail.com>
4172 * svg2png/ImageDiff.h: Added.
4173 * svg2png/ImageDiff.m: Added.
4174 (getDifferenceBitmap):
4175 (computePercentageDifferent):
4176 (saveAnimatedGIFToFile):
4177 * svg2png/svg2png.m:
4178 (usage): added several new options
4179 (getBitmapForSVG): added NSBitmapImageRep generation
4180 (main): various argument changes.
4181 * svg2png/svg2png.xcodeproj/project.pbxproj:
4182 Several additions to provide image differencing functionality.
4183 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
4185 2005-08-07 Eric Seidel <eseidel@apple.com>
4189 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
4190 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
4191 Adding the first SVG layout tests:
4192 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
4194 2005-08-07 Darin Adler <darin@apple.com>
4196 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
4198 2005-08-06 Eric Seidel <eseidel@apple.com>
4202 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
4203 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
4204 * Scripts/build-dumpkcanvastree: Added.
4205 * Scripts/run-webkit-tests-svg: Added.
4206 Adds a DumpRenderTree-like tool for SVG which allows us to do
4207 text-based layout regression testing. This (like most of the
4208 SVG specific stuff) is temporary and will be replaced by
4209 DumpRenderTree once the DOMs and RenderTrees merge.
4210 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
4212 2005-08-06 Eric Seidel <eseidel@apple.com>
4216 * DrawTest/DrawTestView.m:
4217 (-[DrawTestView toggleFilterSupport:]): missing negation.
4218 One half of fix for toggling filter support.
4219 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
4221 2005-08-04 Eric Seidel <eseidel@apple.com>
4225 * Scripts/build-drawtest:
4226 * Scripts/build-dumprendertree:
4227 * Scripts/build-svg2png:
4228 * Scripts/build-webcore-svg:
4229 * Scripts/build-webkit:
4230 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
4231 Added checkRequiredSystemConfig and made all the build-* scripts
4232 use it to print a pretty warning when trying to compile on an
4233 unsupported system (less than 10.4, Xcode 2.1).
4234 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
4236 2005-08-04 Darin Adler <darin@apple.com>
4238 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
4239 the dead. It was removed by accident when someone was trying to work on the branch.
4241 2005-07-31 Darin Adler <darin@apple.com>