1 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
3 Reviewed by eseidel. Landed by eseidel.
5 Offer a way for BuildBot to not colorize the cmake output, when building
6 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
8 Default is colorize output, though only Qt platform handles this for now.
10 * Scripts/build-dumprendertree:
11 * Scripts/build-webkit:
12 * Scripts/webkitdirs.pm:
14 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
16 Reviewed by eseidel. Landed by eseidel.
18 Make all important scripts work with Qt/Linux.
20 You can safely use this now:
21 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
23 * Scripts/build-dumprendertree:
24 * Scripts/run-javascriptcore-tests:
25 * Scripts/run-webkit-tests:
26 * Scripts/webkitdirs.pm:
28 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
32 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
34 * Scripts/webkitdirs.pm:
36 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
38 Reviewed/landed by Adam.
40 Proper build-webkit support for Qt/Linux.
42 Compilation process is similar to OSX now, aka.
43 the build directory is RootCheckoutDir/WebKitBuild now.
45 * Scripts/build-webkit: Recognize Qt.
46 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
48 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
52 Add QT build slave to Buildbot.
54 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
55 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
56 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming. Use the IRC bot in #webkit-build instead.
57 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
59 2006-09-28 David Harrison <harrison@apple.com>
63 Moved an extern declaration from inside a method to the top of the file.
65 * DumpRenderTree/EventSendingController.m:
66 (-[EventSendingController clearKillRing]):
68 2006-09-28 David Harrison <harrison@apple.com>
72 Add clearKillRing so we can test emacs support with empty kill ring.
74 * DumpRenderTree/EventSendingController.m:
75 (+[EventSendingController isSelectorExcludedFromWebScript:]):
76 (+[EventSendingController webScriptNameForSelector:]):
77 (-[EventSendingController clearKillRing]):
79 2006-09-27 MorganL <morganl.webkit@yahoo.com>
81 Reviewed by Maciej, landed by Brady
85 * Spinneret/Spinneret/Spinneret.h:
86 (SpinneretWebHost::didStartProvisionalLoadForFrame):
87 (SpinneretWebHost::didCommitLoadForFrame):
88 (SpinneretWebHost::didFinishLoadForFrame):
90 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
96 * DumpRenderTree/EventSendingController.m:
97 (-[EventSendingController enableDOMUIEventLogging:]):
99 2006-09-22 Justin Garcia <justin.garcia@apple.com>
103 * Scripts/do-webcore-rename:
105 2006-09-21 Timothy Hatcher <timothy@apple.com>
109 Bug 10923: Frame scroll layout test failures on the buildbot
110 http://bugs.webkit.org/show_bug.cgi?id=10923
112 Added a new method that will toggle on the recursive dump of
113 child frame scroll positions.
115 * DumpRenderTree/DumpRenderTree.m:
116 (dumpFrameScrollPosition):
117 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
118 (-[LayoutTestController dumpChildFrameScrollPositions]):
120 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
122 Reviewed by eseidel. Landed by eseidel.
124 Detect that close button was pressed and exit cleanly.
126 * GdkLauncher/main.cpp:
130 2006-09-17 Adam Roben <aroben@apple.com>
132 Reviewed by hyatt, sfalken.
134 Get DumpRenderTree compiling and limping along on Windows.
136 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
137 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
138 (main): Add NULL argument to Page constructor.
139 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
140 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
142 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
146 http://bugs.webkit.org/show_bug.cgi?id=10635
147 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
149 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
150 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
151 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
153 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
157 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
158 Even More Objective-C DOM auto-generation cleanup
160 - Change to use new, more Objectice-C'ish version of
161 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
162 regression test for fast/events/dblclick-addEventListener.html.
164 * DumpRenderTree/EventSendingController.m:
165 (-[EventSendingController fireKeyboardEventsToElement:]):
167 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
171 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
172 Move QtLauncher down to WebKitQt.
174 * QtLauncher/CMakeLists.txt: Removed.
175 * QtLauncher/main.cpp: Removed.
177 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
181 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
182 Adjust DumpRenderTree to the FrameQtClient changes.
184 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
185 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
186 (WebCore::DumpRenderTree::DumpRenderTree):
187 (WebCore::DumpRenderTree::~DumpRenderTree):
188 (WebCore::DumpRenderTree::frame):
189 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
190 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
191 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
192 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
193 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
195 2006-09-03 Darin Adler <darin@apple.com>
197 * Scripts/do-webcore-rename: More renaming plans.
199 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
203 http://bugs.webkit.org/show_bug.cgi?id=10693
204 Convert JavaScript arrays to AppleScript lists
206 * DumpRenderTree/AppleScriptController.m:
207 (convertAEDescToObject):
208 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
210 2006-08-31 Darin Adler <darin@apple.com>
212 * Scripts/do-webcore-rename: Prepare for another round of renaming.
214 2006-08-29 Dan Waylonis <waylonis@google.com>
218 - Verification of exceptions thrown in a plugin. Test for bug 10114.
219 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
220 * DumpRenderTree/ObjCPlugin.m:
221 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
222 (+[ObjCPlugin webScriptNameForSelector:]):
223 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
225 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
229 Commit KDE related tweaks, to be able to
230 differentiate between a Qt-only or a KDE build.
232 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
233 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
235 2006-08-29 Darin Adler <darin@apple.com>
237 Reviewed by Tim Hatcher.
239 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
240 to work around what seems to be a bug in some versions of gdb.
242 2006-08-16 Tim Omernick <timo@apple.com>
244 Reviewed by John Sullivan.
246 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
247 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
250 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
252 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
253 are expected to be retained by the plug-in, and released by the caller.
255 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
257 Reviewed by Tim Hatcher.
259 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
261 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
262 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
265 * Scripts/run-webkit-tests:
266 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
268 2006-08-28 Darin Adler <darin@apple.com>
270 Reviewed by Tim Hatcher.
272 * Scripts/build-drosera: Fix behavior when there are multiple options.
274 2006-08-27 Timothy Hatcher <timothy@apple.com>
278 Drosera will be built when you type make.
280 * Drosera/Makefile: Added.
282 * Makefile.shared: Added.
284 2006-08-27 Anders Carlsson <acarlsson@apple.com>
288 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
289 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
290 (WebCore::DumpRenderTree::DumpRenderTree):
291 (WebCore::DumpRenderTree::~DumpRenderTree):
292 (WebCore::DumpRenderTree::open):
293 (WebCore::DumpRenderTree::readStdin):
294 (WebCore::DumpRenderTree::checkLoaded):
295 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
296 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
299 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
301 Reviewed by Eric, landed by Anders.
303 Add DumpRenderTree support for Qt/Linux.
305 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
306 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
307 (WebCore::DumpRenderTree::DumpRenderTree):
308 (WebCore::DumpRenderTree::~DumpRenderTree):
309 (WebCore::DumpRenderTree::open):
310 (WebCore::DumpRenderTree::readStdin):
311 (WebCore::DumpRenderTree::checkLoaded):
312 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
313 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
315 * Scripts/build-dumprendertree:
316 * Scripts/run-webkit-tests:
317 * Scripts/webkitdirs.pm:
319 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
321 Reviewed by Eric. Landed by rwlbuis.
323 Add QtLauncher (was testunity before), which provides a
324 standalone "browser" to test the Qt platform stuff.
326 * QtLauncher/CMakeLists.txt: Added.
327 * QtLauncher/main.cpp: Added.
330 2006-08-22 Trey Matteson <trey@usa.net>
334 Added support for a new set of browser navigation tests. The main feature
335 is the ability for a test to queue up a set of future actions that will
336 happen after that first page is loaded. This is used to simulate a sequence
337 of user actions such as filling out forms, loading additional pages or
338 going back. In addition we can now dump out the state of the back/forward
339 list, and the scroll position is dumped if not at 0,0.
341 * DumpRenderTree/DumpRenderTree.m:
342 (main): Init new state
343 (compareHistoryItems): New utility to support sorting.
344 (dumpHistoryItem): Write out a WebHistoryItem and kids.
345 (dumpFrameScrollPosition): Write out the scroll position.
346 (dump): Optionally write b/f list or scroll position.
347 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
348 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
349 Kick off any queued actions. Fixed for the case of loads started in
350 a subframe instead of the root frame.
351 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
352 Grab the topmost frame that is being loaded. Do this as early as possible,
353 instead of in didCommitLoadForFrame.
354 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
355 Noting a load has started now happens in previous method.
356 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
357 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
358 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
360 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
361 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
362 Add new work to the queue.
363 (-[LayoutTestController _doLoad:target:]): Do a queued load.
364 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
365 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
366 (-[LayoutTestController scheduleForwardNav:]):
367 (-[LayoutTestController scheduleReload]):
368 (-[LayoutTestController scheduleScript:]):
369 (-[LayoutTestController scheduleLoad:target:]):
370 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
371 since it's not one of the functions that does any dumping.
373 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
377 - added a function to create a few DOMKeyboardEvents and dispatch
378 them to a specified HTML element
379 http://bugs.webkit.org/show_bug.cgi?id=9736
381 * DumpRenderTree/EventSendingController.m:
382 (+[EventSendingController isSelectorExcludedFromWebScript:]):
383 (+[EventSendingController webScriptNameForSelector:]):
384 (-[EventSendingController fireKeyboardEventsToElement:]):
386 2006-08-15 Duncan Wilcox <duncan@mclink.it>
388 Reviewed and tweaked by Darin.
390 - added DumpRenderTree support so editing delegate can be made to refuse edits
391 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
393 * DumpRenderTree/DumpRenderTree.m:
394 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
395 to the list of methods.
396 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
397 without the colon, for the JavaScript name.
398 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
400 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
402 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
403 setter methods to the class.
404 * DumpRenderTree/EditingDelegate.m:
405 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
406 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
407 return the value of acceptsEditing.
408 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
409 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
410 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
411 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
412 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
414 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
415 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
416 (-[EditingDelegate setAcceptsEditing:]): Added.
418 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
422 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
423 http://bugs.webkit.org/show_bug.cgi?id=10224
425 * Drosera/Drosera.xcodeproj/project.pbxproj:
426 * Drosera/LauncherInfo.plist:
428 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
430 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
431 when a test performs an unsuccessful drag and drop operation.
433 * DumpRenderTree/EventSendingController.m:
434 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
435 drag operation for the mouse release is NSDragOperationNone.
437 2006-08-02 Timothy Hatcher <timothy@apple.com>
441 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
442 http://bugs.webkit.org/show_bug.cgi?id=9632
444 Do not change the file source when normalizing the line endings.
445 We use this file source to compare against new versions of the source
446 as it comes in, so we can skip re-syntax highlighting if they are the same.
447 The problem is apparent on yahoo.com since they have mixed line endings and
448 once we normalize them the source will always be different. This was
449 compounded by the fact that yahoo has around 40 inline scripts. Each
450 inline script causes us to check if the main document has more loaded,
451 that is when we compare the source strings. Since they are always different
452 we would syntax highlight yahoo.com 40 times! We do check source length before
453 doing a more expensive string comparison, but the lengths were the same.
455 * Drosera/debugger.js:
457 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
461 Bug 9931: [Drosera] Needs a cool icon
462 http://bugs.webkit.org/show_bug.cgi?id=9931
464 * Drosera/Drosera.icns: Added.
465 * Drosera/Drosera.xcodeproj/project.pbxproj:
466 * Drosera/Info.plist:
468 2006-08-01 Darin Adler <darin@apple.com>
470 - fix a bug in my recent change where the mouse position at the end of
471 the last test would affect the results of the next test
473 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
475 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
479 http://bugs.webkit.org/show_bug.cgi?id=10182
480 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
482 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
483 Correct the logic to not reload local variable list unless an '=' character is in the expression.
485 2006-07-31 Darin Adler <darin@apple.com>
489 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
490 REGRESSION: failing layout test: fast/events/objc-event-api.html
492 * DumpRenderTree/DumpRenderTree.m:
493 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
494 location in flipped coordinates, since those are the coordinates that we use.
495 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
498 * DumpRenderTree/EventSendingController.m:
499 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
500 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
501 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
502 probably worked OK, but this is needed to be correct.
503 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
504 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
505 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
506 dump the screenY as-is.
508 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
512 http://bugs.webkit.org/show_bug.cgi?id=10178
513 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
515 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
516 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
518 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
522 http://bugs.webkit.org/show_bug.cgi?id=10175
523 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
525 * Drosera/DebuggerDocument.m:
526 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
528 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
532 http://bugs.webkit.org/show_bug.cgi?id=10167
533 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
535 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
538 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
542 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
543 http://bugs.webkit.org/show_bug.cgi?id=9686
545 * Drosera/DebuggerDocument.m:
546 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
547 ensure that the server does not try and notify us of events related to the resumption.
548 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
549 call through to JavaScript.
550 * Drosera/debugger.js: Pause debugger when exception is raised.
552 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
556 - fixes for Linux build
558 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
559 * GdkLauncher/gdklauncher.bkl: Tweak comment.
561 2006-07-24 Dan Waylonis <waylonis@google.com>
563 Reviewed and tweaked a bit by Darin.
565 * DumpRenderTree/ObjCPlugin.m:
566 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
567 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
568 "echo:" so it's nice to call from JavaScript.
569 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
570 to test a round trip through Objective-C types.
572 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
576 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
577 Improve iExploder results parsing
579 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
582 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
586 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
587 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
589 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
591 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
595 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
596 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
598 Removed "Property changes" that snuck in as part of the "apply patch" process.
600 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
604 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
605 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
608 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
610 (patch): Use patch(1) for non-binary additions and deletions.
611 * Scripts/svn-unapply:
613 (patch): Use patch(1) for reverting non-binary additions and deletions.
614 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
616 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
620 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
621 http://bugs.webkit.org/show_bug.cgi?id=9889
623 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
624 so, have stepOut pause on the next call to willExecuteStatement rather than second.
626 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
630 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
631 Teach svn-create-patch and friends to fix ChangeLog patches
633 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
634 * Scripts/svn-create-patch: Ditto.
635 * Scripts/svn-unapply: Ditto.
637 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
641 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
642 http://bugs.webkit.org/show_bug.cgi?id=9869
644 * Drosera/DebuggerDocument.m:
645 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
647 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
651 Bug 9863: Drosera needs to show something at launch
652 http://bugs.webkit.org/show_bug.cgi?id=9863
654 * Drosera/DebuggerApplication.m:
655 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
657 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
661 Lets Drosera build universal for the nightlies. Right now it is not
662 possible to build a universal binary on a PPC machine because of a
663 conflict with the universal SDK.
665 * BuildSlaveSupport/build-launcher-app:
666 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
668 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
672 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
673 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
675 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
676 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
677 should open a new stream and deliver the data to the current instance.
679 2006-07-11 Timothy Hatcher <timothy@apple.com>
683 Bug 9598: [Drosera] add a JavaScript evaluator console
684 http://bugs.webkit.org/show_bug.cgi?id=9598
686 * Drosera/DebuggerApplication.h:
687 * Drosera/DebuggerApplication.m:
688 (-[DebuggerApplication knownServers]):
689 * Drosera/DebuggerDocument.h:
690 * Drosera/DebuggerDocument.m:
691 (-[WebScriptObject evaluateScript:inCallFrame:]):
692 (-[WebScriptObject showConsole:]):
693 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
694 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
695 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
696 (-[WebScriptObject webView:createWebViewWithRequest:]):
697 (-[WebScriptObject webViewShow:]):
698 (-[WebScriptObject webViewAreToolbarsVisible:]):
699 (-[WebScriptObject webView:setToolbarsVisible:]):
700 (-[WebScriptObject webView:setResizable:]):
701 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
702 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
703 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
704 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
705 (-[WebScriptObject webView:didFinishLoadForFrame:]):
706 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
707 * Drosera/Drosera.xcodeproj/project.pbxproj:
708 * Drosera/Images/console.png: Added.
709 * Drosera/console.css: Added.
710 * Drosera/console.html: Added.
711 * Drosera/console.js: Added.
713 2006-07-11 Timothy Hatcher <timothy@apple.com>
715 Reviewed by a tired Geoff.
717 Bug 9597: [Drosera] hook up the variables table to show stack variables
718 http://bugs.webkit.org/show_bug.cgi?id=9597
720 * Drosera/DebuggerDocument.m:
721 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
722 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
723 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
724 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
725 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
726 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
727 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
728 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
729 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
730 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
731 * Drosera/debugger.css:
732 * Drosera/debugger.html:
733 * Drosera/debugger.js:
735 2006-07-10 Tim Omernick <timo@apple.com>
737 Reviewed by Beth Dakin.
739 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
740 Add DOM access test to DumpRenderTree's Netscape plug-in
742 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
746 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
750 - http://bugs.webkit.org/show_bug.cgi?id=9839
751 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
753 Now track three states: initializing, running, and closed. If we are launched and the previous
754 state was initializing then we likely just experienced a crash on launch.
756 * WebKitLauncher/WebKitNightlyEnabler.m:
757 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
758 (myApplicationWillTerminate): Update to use new states.
759 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
760 initializing as early as practical.
761 (symbol_lookup): Bring code up to speed with formatting guidelines.
762 (GDSymbolLookup): Ditto.
764 2006-07-10 Darin Adler <darin@apple.com>
766 - try to fix Windows build
768 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
769 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
771 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
773 Build fix. Reviewed by NOBODY.
775 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
776 devenv.com not available in VC++ Express installations
778 * Scripts/webkitdirs.pm: Backed out previous change.
780 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
784 - http://bugs.webkit.org/show_bug.cgi?id=9693
785 svn-apply should set ChangeLog date correctly when applying patches
787 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
788 before applying the patch.
789 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
791 2006-07-09 Darin Adler <darin@apple.com>
793 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
795 2006-07-09 Darin Adler <darin@apple.com>
797 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
799 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
801 Reviewed by NOBODY (build fix).
803 - http://bugs.webkit.org/show_bug.cgi?id=7802
804 devenv.com not available in VC++ Express installations
806 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
807 work again. Add VC++ Express check as the fallback.
809 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
811 Reviewed by Timothy Hatcher.
813 - http://bugs.webkit.org/show_bug.cgi?id=7802
814 devenv.com not available in VC++ Express installations
816 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
818 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
822 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
823 Patch by coldwinter@katamail.com.
825 In the congratulations message, "capatibilies" should be "capabilities".
827 * Scripts/build-webkit:
829 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
831 Reviewed by Timothy Hatcher.
833 - http://bugs.webkit.org/show_bug.cgi?id=9794
834 Teach run-webkit-tests how to ignore tests with performance improvements
836 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
837 feature, and minor clean up.
839 2006-07-08 Darin Adler <darin@apple.com>
841 Reviewed by Geoff (well, half of it at least).
843 - http://bugs.webkit.org/show_bug.cgi?id=9788
844 storage leaks in Objective-C tests
846 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
847 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
848 Add a release to fix a storage leak.
850 2006-07-08 Darin Adler <darin@apple.com>
852 * Scripts/do-webcore-rename: A few more.
854 2006-07-08 Darin Adler <darin@apple.com>
856 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
858 2006-07-04 Maciej Stachowiak <mjs@apple.com>
862 http://bugs.webkit.org/show_bug.cgi?id=9734
863 - add support for dumping non-HTML as text - in this case use textContent
866 * DumpRenderTree/DumpRenderTree.m:
869 2006-07-02 Timothy Hatcher <timothy@apple.com>
873 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
874 http://bugs.webkit.org/show_bug.cgi?id=9631
876 Adds step over and step out. Along with a little code cleanup
877 that was minor enough to piggyback on this fix.
879 * Drosera/DebuggerDocument.h:
880 * Drosera/DebuggerDocument.m:
881 (-[DebuggerDocument stepOver:]):
882 (-[DebuggerDocument stepOut:]):
883 (-[DebuggerDocument windowDidLoad]):
884 (-[DebuggerDocument windowWillClose:]):
885 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
886 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
887 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
888 (-[DebuggerDocument validateUserInterfaceItem:]):
889 * Drosera/Drosera.xcodeproj/project.pbxproj:
890 * Drosera/debugger.html:
891 * Drosera/debugger.js:
892 * Drosera/viewer.css:
894 2006-07-02 Timothy Hatcher <timothy@apple.com>
898 Bug 9628: [Drosera] Split Views acting oddly
899 http://bugs.webkit.org/show_bug.cgi?id=9628
901 Only update the last X or Y coordinate if the new
902 size was not constrained. Also adds the resize cursor to
903 the body during the drag incase there is a constrained
904 over drag off of the resizer element.
906 * Drosera/debugger.js:
908 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
910 Reviewed by Alexy Proskuryakov.
912 Bug 9692: Warning about Safari extensions on every launch is obnoxious
913 http://bugs.webkit.org/show_bug.cgi?id=9692
915 * WebKitLauncher/WebKitNightlyEnabler.m:
916 (myApplicationWillTerminate): Note that we are exiting cleanly.
917 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
918 to exit cleanly on our last invocation. This doesn't play nicely with
919 multiple concurrent instances of WebKit.app so it can be disabled via
920 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
922 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
924 Reviewed by Alexy Proskuryakov.
926 Bug 9654: Refresh Loop when accessing feed URLs
927 http://bugs.webkit.org/show_bug.cgi?id=9654
929 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
931 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
933 Reviewed by Timothy Hatcher.
935 Bug 9689: Nightly builds should warn a user about potential problems when using
937 http://bugs.webkit.org/show_bug.cgi?id=9689
939 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
940 * WebKitLauncher/WebKitNightlyEnabler.m:
941 (myBundleDidLoad): Keep track of if any bundles that are loaded.
942 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
943 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
944 NSApplicationWillFinishLaunchingNotification notifications so that we can
945 track bundle loads and notify the user at launch completion.
947 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
951 - first check-in of a Gdk shell for testing WebKit
953 * GdkLauncher: Added.
955 2006-06-29 Timothy Hatcher <timothy@apple.com>
959 Need to call window close so WebView tears-down completly.
961 * DumpRenderTree/DumpRenderTree.m:
962 (main): call [window close]
964 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
968 Bug 9615: Buildbot configuration should be in SVN repository
969 http://bugs.webkit.org/show_bug.cgi?id=9615
971 Import BuildBot configuration files as used by build.webkit.org.
972 auth.py has been stubbed out so that slave passwords are not disclosed.
974 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
975 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
976 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
977 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
978 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
979 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
980 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
981 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
982 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
983 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
984 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
985 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
987 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
991 Bug 9614: Nightly builds should notify user if a newer build is available
992 http://bugs.webkit.org/show_bug.cgi?id=9614
994 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
995 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
996 script so it can keep track of the latest revision.
997 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
998 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
999 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1000 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1001 the nightly start page.
1003 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1007 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1008 http://bugs.webkit.org/show_bug.cgi?id=9579
1010 Report screenY values as (height of zero screen - screenY)
1012 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1014 2006-06-25 Timothy Hatcher <timothy@apple.com>
1018 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1019 http://bugs.webkit.org/show_bug.cgi?id=9591
1021 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1023 * Drosera/debugger.js:
1024 * Drosera/viewer.css:
1026 2006-06-25 Timothy Hatcher <timothy@apple.com>
1030 Bug 9568: assertion failure in Safari after quitting Drosera
1031 http://bugs.webkit.org/show_bug.cgi?id=9568
1033 Call switchToServerNamed:nil and not removeLister to make sure
1034 the server object is set to nil to prevent further removeListener calls.
1036 * Drosera/DebuggerDocument.m:
1037 (-[DebuggerDocument applicationTerminating:]):
1039 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1043 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1044 that the directory is not empty instead of reading in every single file and directory first,
1045 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1048 2006-06-25 Darin Adler <darin@apple.com>
1050 * Scripts/svn-apply: Tweak comments.
1051 * Scripts/svn-create-patch: Ditto.
1052 * Scripts/svn-unapply: Ditto.
1054 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1056 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1058 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1060 * Scripts/svn-apply: Formatting fix.
1062 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1066 http://bugs.webkit.org/show_bug.cgi?id=9571
1067 Teach svn-apply and svn-unapply to handle directory adds and removes better
1069 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1070 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1072 2006-06-25 Timothy Hatcher <timothy@apple.com>
1076 Bug 9574: Drosera should show inline scripts within the original HTML
1077 http://bugs.webkit.org/show_bug.cgi?id=9574
1079 Refactor the JavaScript code to have a distinction between files
1080 and scripts. Show the script in the context of the HTML file if
1081 it's URL is the same as the frame's main resource. At the time of
1082 the disParseScript callback the main resource might not be completely
1083 loaded, but Drosera needs to show whatever we have at the time. Once
1084 the main resource is finished, update the file source and reload the file.
1086 * Drosera/DebuggerDocument.m:
1087 (-[DebuggerDocument pause]):
1088 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1089 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1090 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1091 * Drosera/debugger.css:
1092 * Drosera/debugger.js:
1094 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1098 http://bugs.webkit.org/show_bug.cgi?id=9570
1099 Teach prepare-ChangeLog to operate on a list of files or directories
1101 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1102 * Scripts/svn-create-patch: Code refactoring.
1104 2006-06-24 James G. Speth <speth@end.com>
1108 - http://bugs.webkit.org/show_bug.cgi?id=8843
1109 add a way to build Objective-C test cases in HTML
1111 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1112 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1113 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1116 * DumpRenderTree/ObjCPlugin.h:
1117 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1118 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1119 (+[ObjCPlugin webScriptNameForSelector:]):
1120 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1121 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1122 (+[NSObject allowsScriptsFullAccess]):
1123 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1124 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1125 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1126 (+[JSObjC webScriptNameForSelector:]):
1127 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1128 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1129 (-[JSObjC log:]): access to NSLog function
1130 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1131 (-[JSObjC classOfObject:]):
1132 (-[JSObjC classNameOfObject:]):
1134 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1136 Reviewed by Timothy.
1138 * DrawTest/Info.plist: Added copyright statement.
1139 * Drosera/Info.plist: Ditto.
1140 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1141 * WebKitLauncher/Info.plist: Ditto.
1143 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1145 Build fix. Reviewed by NOBODY.
1147 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1148 devenv.com not available in VC++ Express installations
1150 * Scripts/webkitdirs.pm: Backed out previous change.
1152 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1156 - http://bugs.webkit.org/show_bug.cgi?id=7802
1157 devenv.com not available in VC++ Express installations
1159 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1161 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1165 - http://bugs.webkit.org/show_bug.cgi?id=9564
1166 A bunch of fixes to run-webkit-httpd
1168 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1169 127.0.0.1. Useful for testing with WinIE running on another machine;
1170 - don't call checkFrameworks() - we do not need a built WebKit here;
1171 - changed tabs to spaces;
1172 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1173 interactive mode, they were a hassle when testing with several browsers, as one
1174 had to wait for connection to expire);
1175 - remove httpd.pid when done, so that Apache doesn't complain next time.
1177 * Scripts/run-webkit-httpd:
1179 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1181 Reviewed by ggaren, landed by ap.
1183 - http://bugs.webkit.org/show_bug.cgi?id=9181
1184 Complete DOMUIEvent Obj-C API to reflect UIEvent
1186 Add function to enable logging of all events of one DOM node to stdout.
1188 * DumpRenderTree/EventSendingController.h:
1189 * DumpRenderTree/EventSendingController.m:
1190 (+[EventSendingController initialize]):
1191 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1192 (+[EventSendingController webScriptNameForSelector:]):
1193 (-[EventSendingController enableDOMUIEventLogging:]):
1194 (-[EventSendingController handleEvent:]):
1196 2006-06-23 Kevin Decker <kdecker@apple.com>
1198 Reviewed by Tim Hatcher.
1200 - Made column headers in Drosera resizable.
1202 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1206 - see http://bugs.webkit.org/show_bug.cgi?id=9539
1207 Another case error preventing build
1209 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1211 2006-06-22 Timothy Hatcher <timothy@apple.com>
1215 Adds a native toolbar to Drosera to be a good citizen.
1216 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1217 Fixes a dragging bug from an earlier fix to the divider code.
1218 Fixes some poor indenting in debugger.js.
1220 * Drosera/DebuggerDocument.h:
1221 * Drosera/DebuggerDocument.m:
1222 (-[DebuggerDocument stepInto]):
1223 (-[DebuggerDocument pause:]):
1224 (-[DebuggerDocument resume:]):
1225 (-[DebuggerDocument stepInto:]):
1226 (-[DebuggerDocument windowDidLoad]):
1227 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1228 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1229 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1230 (-[DebuggerDocument validateUserInterfaceItem:]):
1231 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1232 * Drosera/English.lproj/MainMenu.nib/info.nib:
1233 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1234 * Drosera/debugger.css:
1235 * Drosera/debugger.html:
1236 * Drosera/debugger.js:
1237 * Drosera/viewer.html:
1239 2006-06-22 Kevin Decker <kdecker@apple.com>
1243 - Added pressed column header image.
1244 - Made column headers behave more like Xcode.
1246 2006-06-22 Timothy Hatcher <timothy@apple.com>
1248 Reviewed by Kevin Decker.
1250 Code clean up. Adds the stackframe and makes only the body
1251 of the tables scrollable keeping the header visible.
1252 Shows the current function stack when paused or stepping.
1254 * Drosera/DebuggerApplication.m:
1255 (-[DebuggerApplication awakeFromNib]):
1256 (-[DebuggerApplication numberOfRowsInTableView:]):
1257 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1258 * Drosera/DebuggerDocument.h:
1259 * Drosera/DebuggerDocument.m:
1260 (-[DebuggerDocument dealloc]):
1261 (-[DebuggerDocument currentFrame]):
1262 (-[DebuggerDocument currentFrameFunctionName]):
1263 (-[DebuggerDocument currentFunctionStack]):
1264 (-[DebuggerDocument log:]):
1265 (-[DebuggerDocument windowWillClose:]):
1266 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1267 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1268 * Drosera/Drosera.xcodeproj/project.pbxproj:
1269 * Drosera/debugger.css:
1270 * Drosera/debugger.html:
1271 * Drosera/debugger.js:
1273 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1277 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1279 * Scripts/run-webkit-httpd:
1281 2006-06-22 Kevin Decker <kdecker@apple.com>
1283 Reviewed by Tim Hatcher.
1285 - More progress toward Javascript Debugger.
1286 - Added some new images to the project.
1288 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1292 - http://bugs.webkit.org/show_bug.cgi?id=9516
1293 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1295 * Scripts/run-webkit-httpd: Added.
1297 2006-06-20 Timothy Hatcher <timothy@apple.com>
1301 Builds Drosera and a launcher to include with the nightly.
1303 * BuildSlaveSupport/build-launcher-app:
1304 * BuildSlaveSupport/build-launcher-dmg:
1305 * Drosera/Drosera.xcodeproj/project.pbxproj:
1306 * Drosera/Info.plist:
1307 * Drosera/LauncherInfo.plist: Added.
1308 * Drosera/launcher.m: Added.
1309 (displayErrorAndQuit):
1310 (checkMacOSXVersion):
1313 * Scripts/build-drosera
1314 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1315 * WebKitLauncher/main.m:
1318 2006-06-20 Timothy Hatcher <timothy@apple.com>
1322 Adds a JavaScript debugger, called Drosera. Named after
1323 a genus of bug eating plants.
1325 * Drosera/DebuggerApplication.h: Added.
1326 * Drosera/DebuggerApplication.m: Added.
1327 (-[DebuggerApplication applicationDidFinishLaunching:]):
1328 (-[DebuggerApplication serverLoaded:]):
1329 (-[DebuggerApplication serverUnloaded:]):
1330 (-[DebuggerApplication awakeFromNib]):
1331 (-[DebuggerApplication showAttachPanel:]):
1332 (-[DebuggerApplication attach:]):
1333 (-[DebuggerApplication numberOfRowsInTableView:]):
1334 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1335 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1336 (-[DebuggerApplication tableViewSelectionDidChange:]):
1337 * Drosera/DebuggerDocument.h: Added.
1338 * Drosera/DebuggerDocument.m: Added.
1339 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1340 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1341 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1342 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1343 (-[DebuggerDocument initWithServerName:]):
1344 (-[DebuggerDocument windowWillClose:]):
1345 (-[DebuggerDocument dealloc]):
1346 (-[DebuggerDocument isPaused]):
1347 (-[DebuggerDocument pause]):
1348 (-[DebuggerDocument resume]):
1349 (-[DebuggerDocument step]):
1350 (-[DebuggerDocument windowNibName]):
1351 (-[DebuggerDocument windowDidLoad]):
1352 (-[DebuggerDocument switchToServerNamed:]):
1353 (-[DebuggerDocument applicationTerminating:]):
1354 (-[DebuggerDocument serverConnectionDidDie:]):
1355 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1356 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1357 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1358 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1359 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1360 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1361 * Drosera/Drosera.pch: Added.
1362 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1363 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1364 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1365 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1366 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1367 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1368 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1369 * Drosera/Images/breakPoint.tif: Added.
1370 * Drosera/Images/breakPointDisabled.tif: Added.
1371 * Drosera/Images/continue.tif: Added.
1372 * Drosera/Images/finishFunction.tif: Added.
1373 * Drosera/Images/glossyFooterFill.tif: Added.
1374 * Drosera/Images/glossyHeader.png: Added.
1375 * Drosera/Images/gradientBackground.png: Added.
1376 * Drosera/Images/gutter.png: Added.
1377 * Drosera/Images/navLeftDisabled.png: Added.
1378 * Drosera/Images/navLeftNormal.png: Added.
1379 * Drosera/Images/navLeftPressed.png: Added.
1380 * Drosera/Images/navRightDisabled.png: Added.
1381 * Drosera/Images/navRightNormal.png: Added.
1382 * Drosera/Images/navRightPressed.png: Added.
1383 * Drosera/Images/pause.tif: Added.
1384 * Drosera/Images/popUpArrows.png: Added.
1385 * Drosera/Images/programCounter.tif: Added.
1386 * Drosera/Images/programCounterBreakPoint.tif: Added.
1387 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1388 * Drosera/Images/run.tif: Added.
1389 * Drosera/Images/splitterBar.tif: Added.
1390 * Drosera/Images/splitterDimple.tif: Added.
1391 * Drosera/Images/step.tif: Added.
1392 * Drosera/Images/stepOver.tif: Added.
1393 * Drosera/Images/stop.tif: Added.
1394 * Drosera/Images/toolbarBackground.png: Added.
1395 * Drosera/Info.plist: Added.
1396 * Drosera/debugger.css: Added.
1397 * Drosera/debugger.html: Added.
1398 * Drosera/debugger.js: Added.
1399 * Drosera/main.m: Added.
1401 * Drosera/viewer.css: Added.
1402 * Drosera/viewer.html: Added.
1404 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1408 http://bugs.webkit.org/show_bug.cgi?id=9485
1409 Teach svn-apply and svn-unapply to use full path names
1411 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1412 * Scripts/svn-unapply: Ditto.
1414 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1418 - http://bugs.webkit.org/show_bug.cgi?id=9150
1419 DumpRenderTree should be able to keep URL history during runs
1421 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1423 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1424 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1425 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1426 it is currently nil since keepWebHistory() might be called more than once incidentally
1428 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1429 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1431 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1435 http://bugs.webkit.org/show_bug.cgi?id=9395
1436 Make prepare-ChangeLog faster
1438 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1439 then save the diff output for reuse. Keep a status variable if changes are made to
1440 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1441 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1442 for no changed files closer to the beginning of the program.
1444 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1446 Reviewed and landed by ap.
1448 - make DumpRenderTree build
1450 * DumpRenderTree/DumpRenderTree.m:
1451 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1452 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1453 (-[LayoutTestController setWindowIsKey:]): Ditto.
1454 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1456 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1458 Reviewed by Darin, landed by Geoff.
1460 http://bugs.webkit.org/show_bug.cgi?id=9350
1461 Use pathcmp() when sorting paths in svn-create-patch
1463 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1464 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1465 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1466 switch and printUsage() subroutine.
1468 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1472 http://bugs.webkit.org/show_bug.cgi?id=9322
1473 Teach svn-create-patch to sort its output
1475 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1476 by text files first, then by binary files.
1478 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1482 http://bugs.webkit.org/show_bug.cgi?id=9299
1483 Teach svn-create-patch and friends to work with binary files
1485 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1486 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1487 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1489 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1493 http://bugs.webkit.org/show_bug.cgi?id=9296
1494 Performance improvement for svn-create-patch
1496 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1498 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1502 http://bugs.webkit.org/show_bug.cgi?id=9290
1503 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1505 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1506 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1508 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1512 Switch Spinneret to new hosting mechanism
1514 * Spinneret/Spinneret.sln:
1515 * Spinneret/Spinneret/Spinneret.cpp:
1516 (SpinneretWebHost::updateAddressBar):
1517 (SpinneretWebHost::QueryInterface):
1518 (SpinneretWebHost::AddRef):
1519 (SpinneretWebHost::Release):
1526 * Spinneret/Spinneret/Spinneret.h:
1527 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1528 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1529 (SpinneretWebHost::didFailProvisionalLoadWithError):
1530 (SpinneretWebHost::didCommitLoadForFrame):
1531 (SpinneretWebHost::didReceiveTitle):
1532 (SpinneretWebHost::didReceiveIcon):
1533 (SpinneretWebHost::didFinishLoadForFrame):
1534 (SpinneretWebHost::didFailLoadWithError):
1535 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1536 (SpinneretWebHost::willPerformClientRedirectToURL):
1537 (SpinneretWebHost::didCancelClientRedirectForFrame):
1538 (SpinneretWebHost::willCloseFrame):
1539 (SpinneretWebHost::windowScriptObjectAvailable):
1540 * Spinneret/Spinneret/Spinneret.vcproj:
1542 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1546 Updated build script
1548 * Scripts/build-webkit:
1550 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1554 * DumpRenderTree/DumpRenderTree.m:
1555 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1556 (-[LayoutTestController clearBackForwardList]):
1557 Add clearBackForwardList function to layoutTestController
1559 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1563 http://bugs.webkit.org/show_bug.cgi?id=8996
1564 slow-utf8-text layout test case failing (no longer deterministic?)
1566 * DumpRenderTree/DumpRenderTree.m:
1568 Dump as text when the response MIME type is text/plain
1570 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1574 * Spinneret/Spinneret.sln:
1575 * Spinneret/Spinneret/Spinneret.vcproj:
1577 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1581 Added 'GCController' to DRT to support garbage collection layout tests.
1583 GCController.collect() and GCController.collectOnAlternateThread() do
1584 what you would expect. The latter takes a boolean argument sepcifying
1585 whether to wait for garbage collection to finish before continuing to
1588 * DumpRenderTree/DumpRenderTree.m:
1589 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1590 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1591 * DumpRenderTree/GCController.h: Added.
1592 * DumpRenderTree/GCController.mm: Added.
1593 (+[GCController isSelectorExcludedFromWebScript:]):
1594 (+[GCController webScriptNameForSelector:]):
1595 (-[GCController collect]):
1596 (-[GCController collectOnAlternateThread:]):
1598 2006-05-23 John Sullivan <sullivan@apple.com>
1602 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1603 Newer Xcode removed some obsolete cruft
1605 * DumpRenderTree/TextInputController.m:
1606 (-[TextInputController textInput]):
1607 added (id) cast to make newer compiler happy
1609 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1615 * Spinneret/Spinneret.sln:
1617 2006-05-18 Darin Adler <darin@apple.com>
1619 - try to fix no-SVG, no-XPATH build, again
1621 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1623 2006-05-18 Darin Adler <darin@apple.com>
1625 - try to fix no-SVG, no-XPATH build
1627 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1628 since the former is what's used in the WebCore project now.
1630 2006-05-17 Darin Adler <darin@apple.com>
1632 * Scripts/do-webcore-rename: Some more future renames.
1634 2006-05-16 Adele Peterson <adele@apple.com>
1638 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1639 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1641 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1643 * Scripts/install-unix-extras: Changed to be executable and removed
1644 text in the file generated by "svn diff".
1645 * Scripts/regenerate-makefiles: Ditto.
1647 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1649 Reviewed by Darin, landed by ap.
1651 - http://bugs.webkit.org/show_bug.cgi?id=8528
1652 Bakefiles (and generated Makefiles) for wx and gdk ports
1654 * Scripts/install-unix-extras: Added.
1655 * Scripts/regenerate-makefiles: Added.
1657 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1661 Fix registry usage from perl script. Turns out libwin32's
1662 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1664 * Scripts/install-win-extras:
1666 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1669 Add load ended callback.
1673 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1674 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1675 * Spinneret/Spinneret/Spinneret.cpp:
1676 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1677 (_tWinMain): Load built-in test content here instead of in lower-level code.
1678 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1680 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1684 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1686 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1690 * Scripts/check-dom-results:
1691 Add XPath to the list of results.
1693 2006-05-08 Darin Adler <darin@apple.com>
1695 * Scripts/do-webcore-rename: Add another rename.
1697 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1701 Spinneret now links against the new separate lib.
1703 * Spinneret/Spinneret.sln:
1704 * Spinneret/Spinneret/Spinneret.cpp:
1705 (SpinneretWebHost::updateLocationBar):
1707 * Spinneret/Spinneret/Spinneret.h:
1708 * Spinneret/Spinneret/Spinneret.vcproj:
1709 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1710 * Spinneret/Spinneret/WebFrame.h: Removed.
1711 * Spinneret/Spinneret/WebView.cpp: Removed.
1712 * Spinneret/Spinneret/WebView.h: Removed.
1714 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1718 Modify error reporting registry keys to disable Dr. Watson.
1719 This allows Javascript test cases to complete without blocking UI.
1721 * Scripts/install-win-extras:
1722 - Use Perl Win32 registry functions to disable blocking UI
1725 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1729 Turned off C++ exceptions, fixed memory leaks
1731 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1732 * Spinneret/Spinneret.sln:
1733 * Spinneret/Spinneret/Spinneret.cpp:
1735 * Spinneret/Spinneret/Spinneret.vcproj:
1736 * Spinneret/Spinneret/WebFrame.cpp:
1737 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1738 (WebKit::WebFrame::WebFrame):
1739 (WebKit::WebFrame::~WebFrame):
1740 (WebKit::WebFrame::impl):
1741 * Spinneret/Spinneret/WebFrame.h:
1742 * Spinneret/Spinneret/WebView.cpp:
1743 * Spinneret/Spinneret/stdafx.h:
1745 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1749 - http://bugs.webkit.org/show_bug.cgi?id=8633
1750 DumpRenderTree should reset the URL cache
1752 * DumpRenderTree/DumpRenderTree.m:
1753 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1755 2006-04-28 Eric Seidel <eseidel@apple.com>
1757 Reviewed by andersca.
1759 * Scripts/do-webcore-rename: rename KCanvasContainer too
1760 * Scripts/run-webkit-tests: output total time
1762 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1764 Reviewed by hyatt. Landed by eseidel.
1766 - http://bugs.webkit.org/show_bug.cgi?id=8549
1767 Enable detection of excessive repainting with DumpRenderTree
1769 * DumpRenderTree/DumpRenderTree.m:
1770 (-[LayoutTestController display]):
1772 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1776 - http://bugs.webkit.org/show_bug.cgi?id=6905
1777 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1779 * DumpRenderTree/DumpRenderTree.m:
1780 (dump): If display() has been called during the test, grab the pixels from
1781 the view, after letting it repaint invalidated rects.
1782 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1783 (-[LayoutTestController display]): Added. Calls -display on the view
1784 and changes the subsequent behavior of dump().
1787 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1791 - http://bugs.webkit.org/show_bug.cgi?id=8532
1792 Update iExploder to 1.3.2
1794 Test case numbers are not compatible with iExploder 1.2.
1796 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1798 * iExploder/CHANGELOG.txt: Added.
1799 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1800 * iExploder/README.txt: Added some performance hints.
1802 * iExploder/htdocs/config.rb: Added.
1803 * iExploder/htdocs/cssproperties.in:
1804 * iExploder/htdocs/cssvalues.in:
1805 * iExploder/htdocs/htmlattrs.in:
1806 * iExploder/htdocs/htmltags.in:
1807 * iExploder/htdocs/iexploder.cgi:
1808 - Updated to support the latest HTML & CSS tags, properties, and values from both
1809 the WebKit and Mozilla CVS tree
1810 - cssproperties.in cleanup
1811 - Modularized the code a little bit.
1812 - Fix subtest bug that was causing last 5 tags to be missed
1813 - new subtest algorithm to deal better with larger tag counts
1814 - default HTML_MAX_TAGS increased from 32 to 96
1816 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1817 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1818 alternative to our run-iexploder-tests.
1819 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1820 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1821 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1823 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1825 - commit Scripts/run-mangleme-tests (missed it the previous time).
1827 2006-04-18 Darin Adler <darin@apple.com>
1829 - attempt to fix Windows buildbot
1831 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1832 We need a better long-term solution for this.
1834 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1838 - http://bugs.webkit.org/show_bug.cgi?id=8444
1839 Integrate mangleme test script.
1841 Works in a similar way to run-iexploder-tests.
1843 * Scripts/run-mangleme-tests: Added.
1845 * mangleme/Makefile: Added.
1846 * mangleme/README: Added.
1847 * mangleme/mangle.cgi.c: Added.
1848 * mangleme/remangle.cgi.c: Added.
1849 * mangleme/tags.h: Added.
1851 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1855 - http://bugs.webkit.org/show_bug.cgi?id=8443
1856 An easier way to save iExploder tests.
1858 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1860 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1864 - http://bugs.webkit.org/show_bug.cgi?id=8421
1865 Integrate iExploder test script.
1867 This script generates artificially mangled HTML documents, to test that the browser
1868 doesn't crash when handling ill-formed code.
1871 run-iexploder-tests Open an interactive test page in Safari+ToT.
1872 run-iexploder-tests nnnnn Open test #nnnnn.
1874 Command line options:
1875 --guard-malloc (-g) Use Guard Malloc.
1876 --port=nnnn Run Apache on port nnnn (default is 8000).
1878 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1879 (thus, Apache is still running), e.g.:
1880 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1882 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1884 * Scripts/run-iexploder-tests: Added.
1886 * iExploder/LICENSE.txt: Added.
1887 * iExploder/README.txt: Added.
1888 * iExploder/htdocs: Added.
1889 * iExploder/htdocs/cssproperties.in: Added.
1890 * iExploder/htdocs/cssvalues.in: Added.
1891 * iExploder/htdocs/htmlattrs.in: Added.
1892 * iExploder/htdocs/htmltags.in: Added.
1893 * iExploder/htdocs/htmlvalues.in: Added.
1894 * iExploder/htdocs/iexploder.cgi: Added.
1895 * iExploder/htdocs/index.html: Added.
1896 * iExploder/tools: Added.
1897 * iExploder/tools/lasthit.rb: Added.
1898 * iExploder/tools/osx_last_crash.rb: Added.
1900 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1904 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
1905 Restore color profile after a crash
1907 * DumpRenderTree/DumpRenderTree.m:
1908 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1909 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1910 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1911 and this code may change significantly.
1913 (main): Install crashHandler.
1915 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1916 (CFStringGetCStringPtr should NEVER EVER be used!).
1918 2006-04-15 Darin Adler <darin@apple.com>
1922 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1923 Seems xmlsoft.org's HTTP no longer has what we need.
1925 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1927 Rubber-stamped by Darin.
1929 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
1930 upload-disk-image stage on buildslaves fail with "No space left on device"
1932 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1933 'hdiutil create'. This creates the initial disk image based on the size of
1934 the source folder, and copies the contents to the new disk image. The file
1935 extension on the temporary uncompressed disk image has also been altered from
1936 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1937 the extension is not ".dmg".
1939 2006-04-12 Eric Seidel <eseidel@apple.com>
1943 * Scripts/update-webkit: Make this return non-zero when svn fails.
1945 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1949 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
1950 Make HTTP tests using Perl use .pl extension
1952 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1953 removed support for .text. Reduced the number of places that explicitly list supported
1954 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1957 2006-04-06 Darin Adler <darin@apple.com>
1959 Changes requested by Mark Rowe.
1961 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1962 trash at the end of the file.
1963 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1965 * WebKitLauncher/main.m: Removed trash at end of file.
1967 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1970 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1972 Reviewed by Darin, landed by Maciej.
1974 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1975 and bundles the WebKit frameworks inside it.
1976 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1977 containing WebKit.app.
1978 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1979 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1980 number of the SVN working copy.
1981 * WebKitLauncher: Added.
1982 * WebKitLauncher/Info.plist: Added.
1983 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1984 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1985 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1986 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1987 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1988 the nightly launcher.
1989 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
1990 It sets up the environment to have Safari use the bundled frameworks
1991 and load the WebKitNightlyEnabler dylib before exec'ing Safari
1992 * WebKitLauncher/start.html: Added.
1993 * WebKitLauncher/webkit.icns: Added.
1995 2006-04-05 Darin Adler <darin@apple.com>
1999 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2000 are allowed to have global initializers.
2002 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2004 Reviewed by OMG BETH
2006 * Scripts/run-testkjs:
2007 - pipe STDERR to /dev/null by default; new --verbose option overrides
2009 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2010 - output run command in a format that can be copied and pasted into the
2011 terminal to run manually
2013 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2015 Reviewed by harrison
2017 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2018 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2020 Tell the source that the drag is over after the drag is performed, not before.
2022 * DumpRenderTree/EventSendingController.m:
2023 (-[EventSendingController mouseUp]):
2025 2006-04-01 Darin Adler <darin@apple.com>
2029 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2030 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2031 elements in that array are not strings.
2033 2006-03-31 Darin Adler <darin@apple.com>
2035 Reviewed by John Sullivan.
2037 - added a "--reset-results" option to run-webkit-tests so you can reset
2038 the results without first deleting expected results
2039 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2041 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2042 more logical. Moved all the subroutines to the end of the file. Added a
2045 * DumpRenderTree/DumpRenderTree.m:
2046 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2047 to generate new output for all tests it runs.
2048 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2049 the --dump-all-pixels option is passed. Also tightened up the image dumping
2050 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2051 with code to save and restore the context.
2053 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2054 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2056 2006-03-30 Tim Omernick <timo@apple.com>
2058 Reviewed by NOBODY (just fixing copyrights)
2060 * DumpRenderTree/ObjCPlugin.h:
2062 * DumpRenderTree/ObjCPlugin.m: ditto
2063 * DumpRenderTree/ObjCPluginFunction.h: ditto
2064 * DumpRenderTree/ObjCPluginFunction.m: ditto
2066 2006-03-30 Tim Omernick <timo@apple.com>
2070 * DumpRenderTree/DumpRenderTree.m:
2071 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2072 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2073 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2074 exposed to JS as a callable object.
2076 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2077 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2079 * DumpRenderTree/ObjCPlugin.h: Added.
2080 * DumpRenderTree/ObjCPlugin.m: Added.
2081 * DumpRenderTree/ObjCPluginFunction.h: Added.
2082 * DumpRenderTree/ObjCPluginFunction.m: Added.
2084 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2085 Added a new method, "removeDefaultMethod", which removes the default method from the
2086 plugin object's class. The effect is that the plugin object is mutated from a callable
2087 function to a simple object.
2089 Handle "removeDefaultMethod".
2090 (pluginInvokeDefault):
2091 Made the default method actually do something (return 1).
2093 2006-03-30 Eric Seidel <eseidel@apple.com>
2097 Remove WebFrame::viewImpl(), setMainFrame on page.
2099 * Spinneret/Spinneret/WebFrame.cpp:
2100 (WebKit::WebFrame::WebFrame):
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::WebViewWndProc):
2109 2006-03-30 Eric Seidel <eseidel@apple.com>
2113 Fix html editing input & basic form submission.
2115 * Spinneret/Spinneret/WebFrame.cpp:
2116 (WebKit::WebFrame::submitForm):
2117 (WebKit::WebFrame::loadURL):
2118 * Spinneret/Spinneret/WebFrame.h:
2119 * Spinneret/Spinneret/WebView.cpp:
2120 (WebKit::WebView::keyPress):
2121 (WebKit::WebViewWndProc):
2123 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2127 <rdar://problem/4402375>
2128 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2130 Added an option to draw the selectionRect.
2132 * DumpRenderTree/DumpRenderTree.m:
2134 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2135 (-[LayoutTestController dumpSelectionRect]):
2138 2006-03-29 Darin Adler <darin@apple.com>
2140 Reviewed by Tim Hatcher.
2142 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2144 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2146 2006-03-28 Eric Seidel <eseidel@apple.com>
2150 * Scripts/check-for-global-initializers: remove svg exceptions.
2152 2006-03-28 Timothy Hatcher <timothy@apple.com>
2156 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2158 * Scripts/check-for-global-initializers:
2160 2006-03-28 Timothy Hatcher <timothy@apple.com>
2162 Build fix. Turn off uninitialized warnings for the first block of code.
2164 * Scripts/check-for-global-initializers:
2166 2006-03-28 Darin Adler <darin@apple.com>
2170 * Scripts/check-for-global-initializers: Added.
2172 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2174 Reviewed by darin. Landed by eseidel.
2176 - http://bugs.webkit.org/show_bug.cgi?id=7947
2177 Add repaint testing support to run-webkit-tests
2179 * DumpRenderTree/DumpRenderTree.m:
2180 (main): Added --repaint and --horizontal-sweep options.
2181 (dump): Repaint line-by-line or column-by-column when the appropriate option
2183 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2184 and repaintSweepHorizontally() methods to layoutTestController.
2185 (-[LayoutTestController testRepaint]):
2186 (-[LayoutTestController repaintSweepHorizontally]):
2188 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2189 to force these settings on tests that do not ask for them.
2191 2006-03-24 Eric Seidel <eseidel@apple.com>
2197 * Spinneret/Spinneret/WebFrame.cpp:
2198 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2200 2006-03-21 Beth Dakin <bdakin@apple.com>
2204 Add support for keyDown() to DumpRenderTree.
2206 * DumpRenderTree/DumpRenderTree.m:
2207 (main): Set the preference for tabbing to links.
2208 * DumpRenderTree/EventSendingController.m:
2209 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2210 (+[EventSendingController webScriptNameForSelector:]):
2211 (-[EventSendingController keyDown:withModifiers:]):
2213 2006-03-20 Eric Seidel <eseidel@apple.com>
2219 * Spinneret/Spinneret/Spinneret.vcproj:
2220 * Spinneret/Spinneret/WebFrame.h:
2221 * Spinneret/Spinneret/WebView.cpp:
2222 (WebKit::WebView::mouseMoved):
2223 (WebKit::WebView::mouseDown):
2224 (WebKit::WebView::mouseUp):
2225 (WebKit::WebView::mouseDoubleClick):
2226 (WebKit::WebView::keyPress):
2227 (WebKit::WebViewWndProc):
2229 2006-03-19 Darin Adler <darin@apple.com>
2233 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2234 we can test it in layout tests. We don't really need tests that run with
2235 pop-up blocking off at the moment. If we do some day, we can add some
2236 API for turning it off in the layout test controller.
2238 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2239 don't ignore the leak; it should no longer show up.
2241 2006-03-17 Anders Carlsson <andersca@mac.com>
2245 * Scripts/install-win-extras:
2246 Fetch "Program Files" location from the environment.
2248 2006-03-17 Eric Seidel <eseidel@apple.com>
2252 Fix Spinneret to pass Events as const & not as pointers.
2254 * Spinneret/Spinneret/WebView.cpp:
2255 (WebKit::WebView::mouseMoved):
2256 (WebKit::WebView::mouseDown):
2257 (WebKit::WebView::mouseUp):
2258 (WebKit::WebView::mouseDoubleClick):
2259 (WebKit::WebView::keyPress):
2261 2006-03-17 Eric Seidel <eseidel@apple.com>
2263 Reviewed by justing.
2265 Add support for basic HTML editing.
2267 * Spinneret/Spinneret/WebView.cpp:
2268 (WebKit::WebView::WebView):
2269 (WebKit::WebView::keyPress):
2271 2006-03-17 Eric Seidel <eseidel@apple.com>
2273 Rubber-stamped by ggaren.
2275 Break DumpRenderTree.m up into several files to make the code more readable.
2277 * DumpRenderTree/DumpRenderTree.h: Added.
2278 * DumpRenderTree/DumpRenderTree.m:
2279 (doneLoading): new accessor function for "done" global.
2280 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2281 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2282 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2283 * DumpRenderTree/EditingDelegate.h: Added.
2284 * DumpRenderTree/EditingDelegate.m: Added.
2285 (-[EditingDelegate webViewDidChangeSelection:]):
2286 * DumpRenderTree/EventSendingController.h: Added.
2287 * DumpRenderTree/EventSendingController.m: Added.
2289 2006-03-16 Eric Seidel <eseidel@apple.com>
2293 Add resize, scroll event support.
2295 * Spinneret/Spinneret/WebView.cpp:
2296 (WebKit::WebView::mouseMoved):
2297 (WebKit::WebView::mouseDown):
2298 (WebKit::WebView::mouseUp):
2299 (WebKit::WebView::mouseDoubleClick):
2300 (WebKit::WebView::keyPress):
2301 (WebKit::WebViewWndProc):
2302 * Spinneret/Spinneret/WebView.h:
2304 2006-03-16 Eric Seidel <eseidel@apple.com>
2308 Make build-webkit print correctly to stdout on windows.
2310 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2312 2006-03-15 Eric Seidel <eseidel@apple.com>
2316 Fix eventSender.mouseClick() to update lastClick timestamp.
2318 * DumpRenderTree/DumpRenderTree.m:
2319 (-[EventSendingController mouseClick]):
2321 2006-03-15 Darin Adler <darin@apple.com>
2325 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2326 that had a lowercase "i" in it so this builds on case-sensitive
2329 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2333 Added run-testkjs and compare-timing-files scripts, to support super
2336 * Scripts/compare-timing-files: Added.
2337 * Scripts/run-testkjs: Added.
2339 2006-03-14 Eric Seidel <eseidel@apple.com>
2343 Make the URL bar relinquish focus on page load.
2345 * Spinneret/Spinneret/Spinneret.cpp:
2348 2006-03-14 Eric Seidel <eseidel@apple.com>
2352 Fix WebView to allow KeyFocus.
2353 Add handling of space and shift-space for scrolling.
2355 * Spinneret/Spinneret/WebView.cpp:
2356 (WebKit::scrollMessageForKey):
2357 (WebKit::WebViewWndProc):
2359 2006-03-10 Eric Seidel <eseidel@apple.com>
2363 Add scrolling support into Spinneret.
2365 * Spinneret/Spinneret/WebFrame.cpp:
2366 (WebKit::WebFrame::paint):
2367 * Spinneret/Spinneret/WebView.cpp:
2368 (WebKit::WebView::createWebView):
2369 (WebKit::calculateScrollDelta):
2370 (WebKit::scrollMessageForKey):
2371 (WebKit::WebViewWndProc):
2373 2006-03-13 Eric Seidel <eseidel@apple.com>
2377 Fix checksum generation on Intel machines.
2378 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2379 give a small speed boost now that it uses a shared buffer.
2381 * DumpRenderTree/DumpRenderTree.m:
2384 (md5HashStringForBitmap):
2385 * DumpRenderTree/ImageDiff.m:
2386 (computePercentageDifferent):
2388 2006-03-13 Darin Adler <darin@apple.com>
2390 Reviewed by Tim Hatcher.
2392 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2393 have it named httpd-1.3 instead.
2395 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2397 Fix proposed by Mitz Pettel, reviewed by Darin.
2399 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
2400 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2402 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2403 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2406 2006-03-09 Darin Adler <darin@apple.com>
2408 Reviewed by John Sullivan.
2410 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
2411 memory leak in the plug-in tests
2413 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2414 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2415 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2417 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2418 Moved the browser global in here since it's declared in this file's header.
2419 Changed the code to set up the pluginClass structure to not use function
2420 pointer casts. Those are dangerous because they can hide many types of mismatch.
2421 And indeed when I did this I discovered that many functions were missing their
2422 boolean return values or had parameter declarations with the wrong types.
2423 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2424 clarity. Added boolean return value: return true when successful and false when not.
2425 (pluginSetProperty): Added boolean return value, return false since we have no
2426 properties we can set.
2427 (pluginInvoke): Added boolean return value. Return true when successful and false
2428 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2429 return value from calling the browser. Changed code to put the strings in malloc
2430 buffers instead of relying on GCC's extension that allows variable-sized arrays
2432 (pluginInvokeDefault): Added boolean return value, return false since we have no
2433 default function to call.
2434 (pluginInvalidate): Added missing parameter. Removed comment.
2435 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2436 to cast the result of malloc.
2437 (pluginDeallocate): Removed uneeded cast.
2439 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2440 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2441 that match NPObject's fields. Removed unused NPWindow pointer.
2443 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2445 Test: fast/events/event-sender-mouse-click.html
2449 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
2450 DRT hangs when doing eventSender.mouseDown on native widgets
2452 * DumpRenderTree/DumpRenderTree.m:
2453 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2454 (-[EventSendingController mouseClick]): Simulates a click in a native
2455 widget by queueing a mouseUp before sending the mouseDown, so that
2456 the widget's mouse tracking event loop doesn't hang indefinitely.
2458 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2462 - make link clicks work by handling link click requests
2465 * Spinneret/Spinneret/Spinneret.cpp:
2466 (updateLocationBar):
2467 * Spinneret/Spinneret/Spinneret.h:
2468 * Spinneret/Spinneret/WebFrame.cpp:
2469 (WebKit::WebFrame::WebFrame):
2470 (WebKit::WebFrame::openURL):
2471 (WebKit::WebFrame::loadURL):
2472 * Spinneret/Spinneret/WebFrame.h:
2474 2006-03-08 Eric Seidel <eseidel@apple.com>
2478 Focus URL bar on Spinneret launch, remove border from WebView.
2479 Stop WebFrame from deleting the job (prevent crash).
2481 * Spinneret/Spinneret/Spinneret.cpp:
2483 * Spinneret/Spinneret/WebFrame.cpp:
2484 (WebKit::WebFrame::receivedAllData):
2485 (WebKit::WebFrame::paint):
2486 * Spinneret/Spinneret/WebView.cpp:
2487 (WebKit::WebView::createWebView):
2489 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2493 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2494 (pluginInvoke): Added a method to test getURL.
2496 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2500 - load URLs, not file paths, in Spinneret
2502 * Spinneret/Spinneret/Spinneret.cpp:
2504 * Spinneret/Spinneret/Spinneret.vcproj:
2505 * Spinneret/Spinneret/WebFrame.cpp:
2506 (WebKit::WebFrame::loadURL):
2507 (WebKit::WebFrame::receivedData):
2508 (WebKit::WebFrame::receivedAllData):
2509 * Spinneret/Spinneret/WebFrame.h:
2510 * Spinneret/Spinneret/WebView.cpp:
2511 (WebKit::WebView::WebView):
2513 2006-03-08 Darin Adler <darin@apple.com>
2517 - fixed AppleScript layout test results to not be endian-dependent
2518 (Hyatt complained to me about this one)
2520 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2521 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2522 (which are endian-dependent).
2524 2006-03-07 Darin Adler <darin@apple.com>
2528 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
2529 unwanted output while running layout tests
2531 * DumpRenderTree/DumpRenderTree.m:
2532 (checkedMalloc): Added.
2533 (checkedRealloc): Added.
2534 (makeLargeMallocFailSilently): Added.
2535 (main): Call makeLargeMallocFailSilently.
2537 2006-03-06 Darin Adler <darin@apple.com>
2539 * Scripts/do-webcore-rename: Add some more planned renaming.
2541 2006-03-06 Eric Seidel <eseidel@apple.com>
2545 * Spinneret/Spinneret/WebFrame.cpp:
2546 (WebKit::WebFrame::paint): force layout before painting
2548 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2552 Sent the windowNumber when sending events.
2553 Added leapForward so that we don't have to spend time waiting
2554 in layout tests that do mouse operations that require delays.
2556 * DumpRenderTree/DumpRenderTree.m:
2557 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2558 (+[EventSendingController webScriptNameForSelector:]):
2559 (-[EventSendingController currentEventTime]):
2560 (-[EventSendingController leapForward:]):
2561 (-[EventSendingController mouseDown]):
2562 (-[EventSendingController mouseUp]):
2563 (-[EventSendingController mouseMoveToX:Y:]):
2565 2006-03-05 Darin Adler <darin@apple.com>
2567 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2568 Script now works (after landing my two pending patches).
2570 2006-03-05 Darin Adler <darin@apple.com>
2572 - check in a script to do a "big" rename in WebCore
2573 (can be run whenever we're ready to do it)
2575 * Scripts/do-webcore-rename: Added.
2577 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2581 * Spinneret/Spinneret/WebFrame.cpp:
2582 (WebKit::WebFrame::loadFilePath): Close file when done.
2584 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2586 Reviewed by Darin, landed by ap.
2588 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
2589 Mouse moved events do not work in DumpRenderTree
2591 Test: fast/events/event-sender-mouse-moved.html
2593 * DumpRenderTree/DumpRenderTree.m:
2594 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2596 2006-03-04 Eric Seidel <eseidel@apple.com>
2600 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2601 Disable background erase to avoid tearing.
2602 Fix potential memory smasher from extra long urls.
2604 * Spinneret/Spinneret/Spinneret.cpp:
2606 * Spinneret/Spinneret/Spinneret.vcproj:
2607 * Spinneret/Spinneret/WebFrame.cpp:
2608 (WebKit::WebFrame::loadFilePath):
2609 (WebKit::WebFrame::paint):
2610 * Spinneret/Spinneret/WebView.cpp:
2611 (WebKit::registerWebViewWithInstance):
2613 2006-03-04 Eric Seidel <eseidel@apple.com>
2617 Hang WebView pointer off of HWND (gets rid of global hack).
2618 Remove MessageBox displayed on url change.
2620 * Spinneret/Spinneret/Spinneret.cpp:
2623 * Spinneret/Spinneret/WebView.cpp:
2624 (WebKit::registerWebViewWithInstance):
2625 (WebKit::WebView::createWebView):
2626 (WebKit::WebViewWndProc):
2628 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2632 Automatically kill httpd if it appears to be already running.
2634 * Scripts/run-webkit-tests:
2636 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2640 * Spinneret/Spinneret/WebFrame.cpp:
2641 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2643 2006-03-03 Eric Seidel <eseidel@apple.com>
2647 A few more fixes to make run-webkit-tests really work on win32.
2649 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2651 * Scripts/run-webkit-tests:
2653 2006-03-03 Eric Seidel <eseidel@apple.com>
2657 Make run-webkit-tests work on win32.
2659 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2661 (dumpRenderTreeMain):
2662 (dumpRenderTreeToStdOut):
2663 (serializeToStdOut):
2665 * Scripts/run-webkit-tests:
2666 * Scripts/webkitdirs.pm:
2667 * Spinneret/Spinneret/WebView.cpp:
2668 (WebKit::WebView::WebView):
2670 2006-03-03 Eric Seidel <eseidel@apple.com>
2674 Add WebFrame class (to hold Frame and FrameView).
2675 Add Location bar support to Spinneret.
2677 * Spinneret/Spinneret/Spinneret.cpp:
2682 * Spinneret/Spinneret/Spinneret.vcproj:
2683 * Spinneret/Spinneret/WebFrame.cpp: Added.
2684 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2685 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2686 (WebKit::WebFrame::WebFrame):
2687 (WebKit::WebFrame::loadFilePath):
2688 (WebKit::WebFrame::loadHTMLString):
2689 (WebKit::WebFrame::paint):
2690 (WebKit::WebFrame::impl):
2691 (WebKit::WebFrame::viewImpl):
2692 * Spinneret/Spinneret/WebFrame.h: Added.
2693 * Spinneret/Spinneret/WebView.cpp:
2694 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2695 (WebKit::WebView::WebView):
2696 (WebKit::WebView::windowHandle):
2697 (WebKit::WebView::mainFrame):
2698 (WebKit::WebView::mouseMoved):
2699 (WebKit::WebView::mouseDown):
2700 (WebKit::WebView::mouseUp):
2701 (WebKit::WebView::mouseDoubleClick):
2702 (WebKit::WebViewWndProc):
2703 * Spinneret/Spinneret/WebView.h:
2705 2006-03-02 Eric Seidel <eseidel@apple.com>
2709 * Spinneret/Spinneret/WebView.cpp:
2710 (WebKit::registerWebViewWithInstance):
2711 (WebKit::WebView::WebView):
2712 (WebKit::WebView::mouseMoved):
2713 (WebKit::WebView::mouseDown):
2714 (WebKit::WebView::mouseUp):
2715 (WebKit::WebView::mouseDoubleClick):
2716 (WebKit::WebViewWndProc):
2717 * Spinneret/Spinneret/WebView.h:
2719 2006-03-01 Eric Seidel <eseidel@apple.com>
2721 Reviewed by andersca.
2723 Make spinneret take advantage of the new GraphicsContextCairo.
2725 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2726 (main): updated to match style guidelines.
2727 * Spinneret/Spinneret/Spinneret.cpp:
2729 * Spinneret/Spinneret/WebView.cpp:
2730 (WebKit::registerWebViewWithInstance):
2731 (WebKit::WebView::WebView):
2732 (WebKit::WebView::~WebView):
2733 (WebKit::WebView::drawRect):
2735 * Spinneret/Spinneret/WebView.h:
2737 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2741 Give the events that eventSender sends a unique eventNumber
2743 * DumpRenderTree/DumpRenderTree.m:
2744 (-[EventSendingController mouseDown]):
2745 (-[EventSendingController mouseUp]):
2746 (-[EventSendingController mouseMoveToX:Y:]):
2748 2006-03-01 Eric Seidel <eseidel@apple.com>
2752 Add a stub win32 application to test WebCore drawing on windows.
2755 * Spinneret/Spinneret: Added.
2756 * Spinneret/Spinneret.sln: Added.
2757 * Spinneret/Spinneret/Resource.h: Added.
2758 * Spinneret/Spinneret/Spinneret.cpp: Added.
2764 * Spinneret/Spinneret/Spinneret.h: Added.
2765 * Spinneret/Spinneret/Spinneret.ico: Added.
2766 * Spinneret/Spinneret/Spinneret.rc: Added.
2767 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2768 * Spinneret/Spinneret/WebView.cpp: Added.
2769 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2770 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2771 (WebKit::registerWebViewWithInstance):
2772 (WebKit::WebView::createWebView):
2773 (WebKit::WebView::WebView):
2774 (WebKit::WebView::~WebView):
2775 (WebKit::WebView::drawRect):
2776 (WebKit::WebView::windowHandle):
2778 * Spinneret/Spinneret/WebView.h: Added.
2779 * Spinneret/Spinneret/small.ico: Added.
2780 * Spinneret/Spinneret/stdafx.cpp: Added.
2781 * Spinneret/Spinneret/stdafx.h: Added.
2783 2006-02-28 Eric Seidel <eseidel@apple.com>
2787 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2788 (main): add ability to dump render tree and read from a local file.
2790 2006-02-27 Eric Seidel <eseidel@apple.com>
2794 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2796 2006-02-27 Eric Seidel <eseidel@apple.com>
2800 Test new KConfig -> PlugInInfoStore change.
2801 http://bugs.webkit.org/show_bug.cgi?id=7498
2803 * DumpRenderTree/DumpRenderTree.m:
2804 (main): load test netscape plugin
2805 * Scripts/run-webkit-tests: style update
2807 2006-02-24 Eric Seidel <eseidel@apple.com>
2811 Make DumpRenderTree link against icu.
2813 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2815 2006-02-24 Eric Seidel <eseidel@apple.com>
2819 Make DumpRenderTree link against libxml, etc.
2821 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2823 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2825 Reviewed and landed by Anders.
2827 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2828 getting called from the run loop, making the view render each test and thus slowing
2831 * DumpRenderTree/DumpRenderTree.m:
2832 (main): Set the offscreen window to not autodisplay.
2834 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2838 - Turn http tests back on by default.
2839 - Wait for Apache to actually start serving requests.
2840 - Get user id from a built-in variable rather than an external command;
2841 don't pass the group.
2843 * Scripts/run-webkit-tests:
2845 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2847 Suggested by Mitz Pettel, reviewed by Darin.
2849 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2850 can run CGIs even if the permissions are 700 or 600.
2852 2006-02-23 Darin Adler <darin@apple.com>
2854 Collaborating with Alexey.
2856 - turn off http tests by default until we figure out how to get them
2857 to run even when permissions on CGI files are 700 instead of 755
2859 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2861 2006-02-23 Eric Seidel <eseidel@apple.com>
2863 Add *.user to ignore list.
2865 2006-02-23 Eric Seidel <eseidel@apple.com>
2867 Remove binary file which shouldn't have been commited (and add to ignore list).
2869 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2870 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2872 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2876 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2878 2006-02-22 Eric Seidel <eseidel@apple.com>
2880 Reviewed by Tim Hatcher.
2882 Fix install-win-extras to not try to re-install setx if installed.
2884 * Scripts/install-win-extras:
2886 2006-02-22 Eric Seidel <eseidel@apple.com>
2888 One more file possibly missing from previous commit?
2890 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2891 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2893 2006-02-22 Eric Seidel <eseidel@apple.com>
2895 Reviewed by justing.
2897 Files missing from previous commit.
2899 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2900 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2902 2006-02-22 Eric Seidel <eseidel@apple.com>
2904 Rubber-stamped by justing.
2906 Corrected path for DumpRenderTree.intermediate files
2908 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2910 2006-02-22 Eric Seidel <eseidel@apple.com>
2912 Reviewed by justing.
2914 Fixed build-dumprendertree to exit with correct error codes.
2916 * Scripts/build-dumprendertree:
2918 2006-02-22 Eric Seidel <eseidel@apple.com>
2920 Reviewed by justing.
2922 Update build scripts to generalize building on Win32, and allow
2923 building of DumpRenderTree on Win32 from build-dumprendertree.
2925 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2927 * Scripts/build-dumprendertree:
2928 * Scripts/build-webkit:
2929 * Scripts/webkitdirs.pm:
2931 2006-02-22 Eric Seidel <eseidel@apple.com>
2935 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2936 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2937 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2938 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2939 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2940 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2942 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2943 * Scripts/build-webkit: make build-webkit cleanup after itself
2945 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2949 - http://bugs.webkit.org/show_bug.cgi?id=7409
2950 Some minor fixes to http tests.
2952 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2954 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2958 - http://bugs.webkit.org/show_bug.cgi?id=6197
2959 Would like to use locally installed Apache for testing.
2961 Added two run-webkit-tests options:
2962 --http (--nohttp) - whether to launch Apache (defaults to yes);
2963 --port - which port to listen on (defaults to 8000).
2965 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2966 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2967 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2969 Also added support for .shtml and .text files. Text files give an empty
2970 *-expected.txt, but a correct image.
2972 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2974 * Scripts/run-webkit-tests:
2976 2006-02-21 Darin Adler <darin@apple.com>
2978 Suggested by Mark Rowe.
2980 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2981 reporting leak counts.
2983 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2987 - Added install-win-extras script which installs some extra
2988 programs and libraries, and does Windows first-time setup.
2990 * Scripts/build-webkit: Add a newline between build results.
2991 * Scripts/install-win-extras: Added.
2993 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
2997 - http://bugs.webkit.org/show_bug.cgi?id=7308
2998 DumpRenderTree should be able to load files via HTTP
3000 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
3001 Handle tests starting with "http://" as real URLs, not file system paths.
3003 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3007 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
3008 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
3010 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
3012 2006-02-18 Darin Adler <darin@apple.com>
3014 * Scripts/commit-log-editor: Added.
3016 2006-02-17 Eric Seidel <eseidel@apple.com>
3020 Make Win32 have the same default "WebKitBuild" directory behavior.
3022 * Scripts/build-webkit:
3023 * Scripts/webkitdirs.pm:
3025 2006-02-17 Eric Seidel <eseidel@apple.com>
3029 * Scripts/build-webkit: make win32 actually report errors
3031 2006-02-17 Eric Seidel <eseidel@apple.com>
3035 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
3037 2006-02-17 Eric Seidel <eseidel@apple.com>
3041 * Scripts/run-webkit-tests: Ignore flash leaks
3043 2006-02-15 Justin Garcia <justin.garcia@apple.com>
3047 <http://bugs.webkit.org/show_bug.cgi?id=7148>
3048 Add drag and drop support to DumpRenderTree
3050 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
3051 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
3053 * DumpRenderTree/DumpRenderTree.m:
3055 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3056 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3057 (-[WaitUntilDoneDelegate webViewFocus:]):
3058 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3059 (+[LayoutTestController webScriptNameForSelector:]):
3060 (-[LayoutTestController setWindowIsKey:]):
3061 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3062 (-[EventSendingController init]):
3063 (-[EventSendingController mouseDown]):
3064 (-[EventSendingController mouseUp]):
3065 (-[EventSendingController mouseMoveToX:Y:]):
3067 (-[DumpRenderTreeWindow isKeyWindow]):
3068 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
3069 (-[DumpRenderTreeDraggingInfo dealloc]):
3070 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3071 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
3072 (-[DumpRenderTreeDraggingInfo draggingLocation]):
3073 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
3074 (-[DumpRenderTreeDraggingInfo draggedImage]):
3075 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
3076 (-[DumpRenderTreeDraggingInfo draggingSource]):
3077 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
3078 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
3079 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
3080 * DumpRenderTree/TextInputController.m:
3081 (-[TextInputController firstRectForCharactersFrom:length:]):
3082 (-[TextInputController characterIndexForPointX:Y:]):
3084 2006-02-15 Geoffrey Garen <ggaren@apple.com>
3088 * DumpRenderTree/DumpRenderTree.m:
3089 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3090 Added a dummy method for the sake of LayoutTests/plugins/
3091 undefined-property-crash.html. (It tests a crash due to fallback
3092 object use. WebCore won't create a fallback object if the method is
3095 2006-02-14 Eric Seidel <eseidel@apple.com>
3099 * Scripts/run-webkit-tests: added --results-directory (-o) option
3101 2006-02-09 Eric Seidel <eseidel@apple.com>
3103 Rubber-stamped by mjs.
3105 Renamed split-class to split-file-by-class.
3107 * Scripts/build-webkit: Updated copyright.
3108 * Scripts/split-class: Removed.
3109 * Scripts/split-file-by-class: Added.
3111 2006-02-08 Eric Seidel <eseidel@apple.com>
3113 Rubber-stamped by mjs.
3115 Adding new script for splitting multi-class files.
3116 Also adding supporting perl module with space removing heuristics.
3118 * Scripts/SpacingHeuristics.pm: Added.
3119 * Scripts/build-drawtest: updated copyright header
3120 * Scripts/split-class: Added.
3122 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3124 Reviewed by thatcher
3126 Changes to test fix for:
3127 <http://bugs.webkit.org/show_bug.cgi?id=3982>
3128 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3130 * DumpRenderTree/DumpRenderTree.m:
3131 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3132 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3133 (+[LayoutTestController webScriptNameForSelector:]):
3134 (-[LayoutTestController setWindowHasFocus:]):
3135 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3137 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3139 Reviewed by Timothy.
3141 Support automated testing of AppleScript "do JavaScript" command
3142 http://bugs.webkit.org/show_bug.cgi?id=7012
3144 * DumpRenderTree/AppleScriptController.h: Added.
3145 * DumpRenderTree/AppleScriptController.m: Added.
3146 * DumpRenderTree/DumpRenderTree.m:
3147 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3148 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3150 2006-02-06 Eric Seidel <eseidel@apple.com>
3154 Fix build-webkit for use on win32 (unblocks buildbot usage).
3155 http://bugs.webkit.org/show_bug.cgi?id=7122
3157 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3158 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3160 2006-02-06 Eric Seidel <eseidel@apple.com>
3162 Rubber-stamped by darin & mjs.
3164 Added new support directory for build slave scripts.
3165 Committing the first script, for use by the PLT's build slave.
3166 This script is used to kick of the PLT (Page Load Test) slave.
3168 * BuildSlaveSupport: Added.
3169 * BuildSlaveSupport/run-performance-tests: Added.
3171 2006-02-06 Eric Seidel <eseidel@apple.com>
3173 Rubber-stamped by darin.
3175 Adding setSourceDir for scripts stored in non-standard locations.
3177 * Scripts/webkitdirs.pm:
3179 2006-02-04 Darin Adler <darin@apple.com>
3181 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3182 Configuration files that say Development or Deployment in them.
3184 2006-02-04 Darin Adler <darin@apple.com>
3186 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3187 wrapper already in the directory.
3188 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3189 these haven't been working at all.
3190 * Scripts/svn-unapply: Ditto.
3192 2006-02-03 Timothy Hatcher <timothy@apple.com>
3196 Renamed configuration names to Debug, Release and Production.
3198 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3199 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3200 * Scripts/set-webkit-configuration:
3201 * Scripts/webkitdirs.pm:
3203 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3205 Reviewed by thatcher
3207 Enabled spell checking for layout tests.
3209 * DumpRenderTree/DumpRenderTree.m:
3212 2006-01-29 Darin Adler <darin@apple.com>
3214 * Scripts/svn-apply: Added comments about things we should do to improve.
3215 * Scripts/svn-create-patch: Ditto.
3216 * Scripts/svn-unapply: Ditto.
3218 2006-01-28 Darin Adler <darin@apple.com>
3220 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3221 already there, even if the checksum is correct.
3223 2006-01-27 Eric Seidel <eseidel@apple.com>
3227 * Scripts/run-webkit-tests: make new tests use absolute urls
3229 2006-01-27 Eric Seidel <eseidel@apple.com>
3233 make run-webkit-tests output total leaks count
3235 * Scripts/run-webkit-tests:
3237 2006-01-27 Eric Seidel <eseidel@apple.com>
3241 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3242 http://bugs.webkit.org/show_bug.cgi?id=6869
3244 * Scripts/run-webkit-tests: fix --leaks to not crash
3246 2006-01-26 Eric Seidel <eseidel@apple.com>
3250 run-webkit-tests should produce a self-contained results directory
3251 http://bugs.webkit.org/show_bug.cgi?id=6864
3253 * Scripts/run-webkit-tests: copy failing items to results dir.
3255 2006-01-23 Darin Adler <darin@apple.com>
3257 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
3258 need script to update localizable strings file in WebKit
3260 * Scripts/update-webkit-localizable-strings: Added.
3262 2006-01-23 Darin Adler <darin@apple.com>
3264 - added a couple of scripts -- more about these two soon
3266 * Scripts/extract-localizable-strings: Added.
3267 * Scripts/merge-changelog: Added.
3269 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3273 Build fix. build-webkit dies with "invalid build action: (empty string)"
3275 * Scripts/build-webkit:
3276 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3278 2006-01-22 Eric Seidel <eseidel@apple.com>
3282 Fix --no-svg option to use XCode flags instead of gcc flags.
3284 * Scripts/build-webkit:
3286 2006-01-22 Eric Seidel <eseidel@apple.com>
3290 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3292 * Scripts/build-webkit:
3294 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3296 Reviewed by eseidel.
3298 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
3299 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3301 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3302 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3304 2006-01-19 Darin Adler <darin@apple.com>
3306 * Scripts/report-include-statistics: Added a new script.
3308 2006-01-19 Timothy Hatcher <timothy@apple.com>
3310 * Scripts/build-webkit: include JavaScriptGlue in the build
3312 2006-01-19 Darin Adler <darin@apple.com>
3314 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3315 spaces in it by using the form of open that treats each argument as a string
3316 rather than backtick syntax for reading the output of the nm tool.
3318 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3322 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3323 detect if there are any new tests
3325 * Scripts/prepare-ChangeLog:
3327 2006-01-12 Darin Adler <darin@apple.com>
3329 - removed some of the cvs-specific scripts -- not needed for this project any more
3331 * Scripts/cvs-abandon: Removed.
3332 * Scripts/cvs-apply: Removed.
3333 * Scripts/cvs-create-patch: Removed.
3334 * Scripts/cvs-unapply: Removed.
3336 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3338 Reviewed by eseidel. Committed by eseidel.
3340 - run-webkit-tests always launches Safari when tests fail
3341 http://bugs.webkit.org/show_bug.cgi?id=6456
3343 * Scripts/run-webkit-tests:
3344 Add a command-line flag to prevent Safari being launched to display failed
3345 tests. Always exit with non-zero status when tests have failed.
3347 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3349 Reviewed by eseidel. Committed by eseidel.
3351 - build-webkit should exit with non-zero status when build fails
3352 http://bugs.webkit.org/show_bug.cgi?id=6459
3354 * Scripts/build-webkit:
3355 Use correct bits of subprocess exit code when passing back through
3356 as build-webkit's exit code.
3358 2006-01-10 Eric Seidel <eseidel@apple.com>
3360 Restored corrupted nibs from TOT CVS.
3362 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3363 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3364 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3365 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3366 * DrawTest/English.lproj/Inspector.nib: Replaced.
3367 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3368 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3369 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3370 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3371 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3372 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3373 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3374 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3375 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3376 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3377 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3379 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3381 Reviewed by eseidel. Committed by eseidel.
3383 DrawTestView now subclasses WebView instead of DrawView.
3385 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3386 * DrawTest/DrawTestDocument.h:
3387 * DrawTest/DrawTestDocument.m:
3388 (-[DrawTestDocument dealloc]):
3389 (-[DrawTestDocument readFromFile:ofType:]):
3390 (-[DrawTestDocument windowControllerDidLoadNib:]):
3391 (-[DrawTestDocument dumpSVGToConsole:]):
3392 (-[DrawTestDocument openSourceForSelection:]):
3393 (-[DrawTestDocument dataRepresentationOfType:]):
3394 * DrawTest/DrawTestToolbarController.h:
3395 * DrawTest/DrawTestToolbarController.m:
3396 (-[DrawTestToolbarController initWithDrawView:]):
3397 (-[DrawTestToolbarController clickedToolbarItem:]):
3398 (-[DrawTestToolbarController validateToolbarItem:]):
3399 * DrawTest/DrawTestView.h:
3400 * DrawTest/DrawTestView.m:
3401 (-[DrawTestView initWithFrame:]):
3402 (-[DrawTestView setDocument:]):
3403 * DrawTest/SVGTest.h:
3404 * DrawTest/SVGTest.m:
3405 (+[SVGTest sharedDrawView]):
3406 (-[SVGTest generateCompositeIfNecessary]):
3407 * DrawTest/TestController.h:
3408 * DrawTest/TestController.m:
3409 (-[TestController awakeFromNib]):
3410 (-[TestController setSelectedTest:]):
3411 (-[TestController openTestViewerForSelection:]):
3412 (-[TestController toggleViewersScaleRule:]):
3413 * DrawTest/TestViewerSplitView.m:
3414 (-[TestViewerSplitView drawRect:]):
3416 2006-01-10 Anders Carlsson <andersca@mac.com>
3418 Reviewed by Timothy.
3420 * DumpRenderTree/DumpRenderTree.m:
3421 (main): Set the default language to "en", so language tests will work.
3423 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3427 - script to generate HTML wrappers for JS tests
3428 http://bugs.webkit.org/show_bug.cgi?id=6441
3430 * Scripts/make-js-test-wrappers: Added.
3432 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3436 * Scripts/svn-create-patch: Fix to work when passed directory names.
3438 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3442 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3443 can start writing automated loader tests now. I have one in the works.
3445 * DumpRenderTree/DumpRenderTree.m:
3446 (main): Construct global navigationController on entry, destroy on exit.
3447 Set frame to nil on exit too, to match all the other global objects.
3448 (Probably academic, since the process is exiting, anyway.)
3449 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3450 navigationController, in case it wants to kick off a load.
3451 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3452 the navigationController to scripting.
3454 New class, should be straightforward:
3456 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3457 * DumpRenderTree/NavigationController.h: Added.
3458 * DumpRenderTree/NavigationController.m: Added.
3460 (+[NavigationController isSelectorExcludedFromWebScript:]):
3461 (+[NavigationController webScriptNameForSelector:]):
3462 (-[NavigationController setPendingScript:]):
3463 (-[NavigationController setPendingRequest:]):
3464 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3465 (-[NavigationController webView:didFinishLoadForFrame:]):
3466 (-[NavigationController dealloc]):
3468 2006-01-08 Timothy Hatcher <timothy@apple.com>
3470 Removed this script, no longer needs with the Subversion switch.
3472 * checkout: Removed.
3474 2006-01-08 Timothy Hatcher <timothy@apple.com>
3476 Removes some stray tabs.
3478 * Scripts/update-webkit:
3480 2005-01-07 Eric Seidel <eseidel@apple.com>
3484 build-webkit should pass on build arguments from command line
3485 http://bugs.webkit.org/show_bug.cgi?id=5854
3487 * Scripts/build-webkit:
3489 2006-01-07 Eric Seidel <eseidel@apple.com>
3491 Reviewed by mjs & xenon.
3493 * Scripts/update-webkit: support Internal updates as well
3495 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3497 Temporarily rolling out plugin support from DumpRenderTree because it
3498 caused lots of layout test regressions.
3500 * DumpRenderTree/DumpRenderTree.m:
3501 (main): Remove invisible window added to support plugins.
3503 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3507 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
3508 Add plugin support to DumpRenderTree
3510 Also wrote first test plugin.
3512 * DumpRenderTree/DumpRenderTree.m:
3514 (1) Put the WebView in an invisible window, because PlugIns are
3515 optimized not to load if there's no parent window.
3516 (2) Tell WebKit to load any PlugIns in the directory from which we
3517 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3518 and they'll load automagically during layout testing, but they won't be
3519 added to the user's system, hosing apps like Safari.
3521 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3522 test PlugIn to project.
3524 PlugIn added to project:
3526 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3527 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3529 (initializeIdentifiers):
3530 (pluginHasProperty):
3532 (pluginGetProperty):
3533 (pluginSetProperty):
3535 (pluginInvokeDefault):
3539 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3540 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3542 (NP_GetEntryPoints):
3548 (NPP_DestroyStream):
3558 2006-01-04 Timothy Hatcher <timothy@apple.com>
3562 Tweaked and tested by me.
3564 New scripts to work with Subversion when the switch happens.
3565 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3567 * Scripts/svn-apply: Added.
3568 * Scripts/svn-create-patch: Added.
3569 * Scripts/svn-unapply: Added.
3571 2005-12-30 Eric Seidel <eseidel@apple.com>
3575 Move WebView width/height logic into DumpRenderTree to support
3576 running the W3C SVG 1.1 tests along side other tests. The W3C
3577 SVG 1.1 tests require a 480x360 view.
3579 * DumpRenderTree/DumpRenderTree.m:
3580 (main): don't accept width/height
3581 (dump): override width/height for SVG/W3C
3582 * Scripts/run-webkit-tests: don't pass width/height
3584 2005-12-30 Eric Seidel <eseidel@apple.com>
3586 No review, only removing dead code.
3588 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3589 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3591 2005-12-30 Eric Seidel <eseidel@apple.com>
3595 DumpRenderTree should set a consistent color profile while running
3596 http://bugs.webkit.org/show_bug.cgi?id=6155
3598 Creates consistent colormatched renderings on every test machine
3599 using the only way possible with Tiger APIs: by setting the
3600 system color profile on the test machine for the duration of the
3601 tests. This will (unfortunately) cause colors to change while
3602 running DumpRenderTree. This can also cause "permanent" color
3603 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3604 This is far from ideal, but it's be best way we've found to deal
3605 with the issue for now.
3607 * DumpRenderTree/DumpRenderTree.m:
3608 (restoreColorSpace):
3609 (setDefaultColorProfileToRGB):
3612 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3614 Reviewed by Darin Adler.
3616 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
3617 cvs-create-patch --include produces incorrect paths
3619 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3621 2005-12-19 Eric Seidel <eseidel@apple.com>
3625 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3627 2005-12-19 Darin Adler <darin@apple.com>
3629 Reviewed by Eric Seidel.
3631 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
3632 WebKit needs to use a local pasteboard during testing
3634 * DumpRenderTree/DumpRenderTree.m:
3635 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3636 Create a local pasteboard (really a global one with a unique name) and release
3637 it when exiting from the function so we don't leave it in the pasteboard server.
3638 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3639 ddn't have one. Fixed a leak in an unlikely error case.
3640 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3641 of this method to return our local pasteboard.
3643 2005-12-15 Eric Seidel <eseidel@apple.com>
3645 Reviewed by Tim Hatcher.
3647 * Scripts/build-webkit: --svg is now default!
3649 2005-12-15 Eric Seidel <eseidel@apple.com>
3653 Don't run svg test automatically if +SVG is built (yet).
3655 * Scripts/run-webkit-tests:
3657 2005-12-15 Darin Adler <darin@apple.com>
3659 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3660 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3661 passed on the command line.
3663 2005-12-06 John Sullivan <sullivan@apple.com>
3665 Reviewed by Darin Adler.
3667 * Scripts/prepare-ChangeLog:
3668 Remove special-case handling for nib files. This avoided trouble with cvs diff
3669 when we were using wrappers for nib files. Now that we aren't using wrappers,
3670 there's no reason to avoid adding the modified nib files to the file list that
3673 2005-12-05 Eric Seidel <eseidel@apple.com>
3677 Script updates for SVG files move (remove references to SVGSupport)
3679 * Scripts/build-webkit: remove SVGSupport
3680 * Scripts/run-webkit-tests: Resources -> resources for --svg
3681 * Scripts/update-webkit: remove SVGSupport
3683 2005-12-05 Eric Seidel <eseidel@apple.com>
3687 * checkout: remove --svg support, SVG is now checked out by default
3689 2005-11-29 Eric Seidel <eseidel@apple.com>
3693 Update scripts to run SVG tests automatically (w/o --svg) if
3694 WebCore is built with SVG support.
3696 * Scripts/build-drawtest: SVG support required
3697 * Scripts/build-dumpkcanvastree: Removed.
3698 * Scripts/run-drawtest: SVG support required to run
3699 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3700 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3702 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3704 Reviewed by Darin. Committed by Maciej.
3706 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3707 (http://bugs.webkit.org/show_bug.cgi?id=5838)
3709 * DumpRenderTree/DumpRenderTree.m:
3712 2005-11-28 Eric Seidel <eseidel@apple.com>
3714 Reviewed by sullivan and GGAREN.
3716 Minor additions to make error messages more clear from cvs-apply.
3718 * Scripts/cvs-apply: make errors more clear
3720 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3722 Reviewed and committed by Maciej.
3724 - fixed cvs-create-patch --include produces incorrect paths
3725 (http://bugs.webkit.org/show_bug.cgi?id=5846)
3727 * Scripts/cvs-create-patch: produce proper paths for new files.
3729 2005-11-21 Eric Seidel <eseidel@apple.com>
3733 Some simple fixes to the build/test scripts now that SVG uses the
3734 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3735 or symlinks for KDOM.
3737 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3738 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3739 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3740 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3741 * checkout: no longer symlink kdom
3743 2005-11-10 Eric Seidel <eseidel@apple.com>
3747 * Scripts/build-webkit: Pass through options to xcodebuild
3749 2005-11-07 Darin Adler <darin@apple.com>
3751 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3753 2005-11-03 John Sullivan <sullivan@apple.com>
3757 * Scripts/run-safari:
3758 changed message to say "Starting Safari" instead of odd "Start Safari"
3759 * Scripts/run-webkit-tests:
3760 changed the way we pass the file parameter to use -NSOpen rather than relying on
3761 unlabeled arguments being treated as files. This was failing on some machines that
3762 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3764 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3766 Patch by Alexey Proskuryakov.
3770 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
3771 TextInputController should support attributed strings
3773 * DumpRenderTree/TextInputController.m:
3774 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3775 (+[NSMutableAttributedString webScriptNameForSelector:]):
3776 (-[NSMutableAttributedString getLength]):
3777 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3778 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3779 (-[NSMutableAttributedString addAttribute:value:]):
3780 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3781 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3782 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3783 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3784 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3785 (+[TextInputController isSelectorExcludedFromWebScript:]):
3786 (+[TextInputController webScriptNameForSelector:]):
3787 (-[TextInputController insertText:]):
3788 (-[TextInputController attributedSubstringFrom:length:]):
3789 (-[TextInputController attributedStringWithString:]):
3791 2005-10-11 Eric Seidel <eseidel@apple.com>
3795 Checks for leaks in ImageDiff too.
3797 * Scripts/run-webkit-tests:
3799 2005-10-09 Darin Adler <darin@apple.com>
3801 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3802 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3803 * Scripts/cvs-unapply: Ditto.
3804 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3806 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3808 Reviewed, rearranged and landed by Darin.
3810 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
3811 Need a way to automatically test for regressions in NSTextInput implementation
3813 * DumpRenderTree/DumpRenderTree.m:
3814 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3815 Create a text input controller and put it in a property of the window object.
3817 * DumpRenderTree/TextInputController.h: Added.
3818 * DumpRenderTree/TextInputController.m: Added.
3819 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3821 2005-10-06 Darin Adler <darin@apple.com>
3823 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3824 are controlled by cvs, or when changes cross multiple repositories.
3825 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3827 2005-10-03 Eric Seidel <eseidel@apple.com>
3831 Make mouseDown and mouseUp force layout before acting.
3832 This is used by a new test case for 4233558.
3834 * DumpRenderTree/DumpRenderTree.m:
3835 (-[EventSendingController mouseDown]): force layout
3836 (-[EventSendingController mouseUp]): force layout
3838 2005-09-30 Eric Seidel <eseidel@apple.com>
3842 Updated all the scripts for the move:
3843 WebCore/layout-tests -> LayoutTests
3845 * Scripts/check-dom-results:
3846 * Scripts/prepare-ChangeLog:
3847 * Scripts/run-webkit-tests:
3848 * Scripts/update-webkit: added --no-tests
3849 * checkout: added --no-tests
3851 2005-09-28 Darin Adler <darin@apple.com>
3853 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
3854 pixel test should run even if render trees differ
3856 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3858 2005-09-27 Eric Seidel <eseidel@apple.com>
3860 No review needed, SVG build fix only.
3862 * DumpKCanvasTree/DumpKCanvasTree.m:
3863 Missed one in my previous checkin.
3864 http://bugs.webkit.org/show_bug.cgi?id=5141
3866 2005-09-26 Eric Seidel <eseidel@apple.com>
3868 No review needed, SVG build fix only.
3870 * DrawTest/DrawTestDocument.m:
3871 * DrawTest/DrawTestToolbarController.m:
3872 * DrawTest/DrawTestView.h:
3873 * DrawTest/DrawTestView.m:
3874 * DrawTest/SVGTest.m:
3875 * DrawTest/TestController.m:
3876 Updated for WebCore+SVG -> WebCore rename.
3877 http://bugs.webkit.org/show_bug.cgi?id=5141
3879 2005-09-26 Eric Seidel <eseidel@apple.com>
3883 * DumpRenderTree/DumpRenderTree.m:
3884 (dump): updated error message
3885 * Scripts/check-dom-results: now includes xhtml
3886 Tool updates for xhtml.
3887 http://bugs.webkit.org/show_bug.cgi?id=4907
3889 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3894 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
3895 "Would like to simulate human interaction with webview"
3897 * DumpRenderTree/DumpRenderTree.m:
3898 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3899 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3900 (+[EventSendingController webScriptNameForSelector:]):
3901 (-[EventSendingController init]):
3902 (-[EventSendingController mouseDown]):
3903 (-[EventSendingController mouseUp]):
3904 (-[EventSendingController mouseMoveToX:Y:]):
3905 Add eventSender javascript object, that sends fake mouse events to the webview.
3907 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3908 link with Carbon.framework
3910 2005-09-22 Eric Seidel <eseidel@apple.com>
3914 Update tools for WebCore+SVG -> WebCore rename.
3915 Also fold several SVG specific tools into their original
3916 WebCore counterparts.
3917 http://bugs.webkit.org/show_bug.cgi?id=5003
3919 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3920 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3921 * Scripts/build-drawtest:
3922 * Scripts/build-dumpkcanvastree:
3923 * Scripts/build-webcore-svg: Removed.
3924 * Scripts/build-webkit: added --svg option
3925 * Scripts/run-drawtest:
3926 * Scripts/run-webkit-tests:
3927 * Scripts/webkitdirs.pm: various additions.
3928 * checkout: added --svg option
3929 * checkout-svg: Removed.
3931 2005-09-19 Eric Seidel <eseidel@apple.com>
3935 * Scripts/run-webkit-tests: added --guard-malloc option
3936 http://bugs.webkit.org/show_bug.cgi?id=4613
3938 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3942 Removed a script that is only used by apple internal developers
3944 * Scripts/update-webkitsysteminterface: Removed.
3946 2005-09-16 Adele Peterson <adele@apple.com>
3950 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3952 2005-09-14 Darin Adler <darin@apple.com>
3954 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
3955 dumpAsText doesn't work with XHTML documents
3957 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3958 rather than of the body element. This works with typical XHTML documents. We can probably
3959 do something even better in the long run, but this fixes the immediate issue.
3963 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3964 run-safari instead of just using "open", which often runs another copy of Safari instead.
3966 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3968 Reviewed, tweaked, and landed by Darin.
3970 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
3971 .Mac prefpane crashes when Safari using CVS WebKit is running
3973 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3974 * Scripts/run-webkit-app: Ditto.
3976 2005-09-11 Darin Adler <darin@apple.com>
3978 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3980 2005-09-11 Darin Adler <darin@apple.com>
3984 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3985 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3986 2) sort file names with numeric digits in them in a logical way, so test-33 will come
3989 2005-09-08 Justin Garcia <justin.garcia@apple.com>
3993 * Scripts/update-webkitsysteminterface: Added.
3994 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3996 2005-09-01 John Sullivan <sullivan@apple.com>
3998 * Scripts/run-webkit-tests:
3999 Excluded a known system leak to reduce noise; added comments about which leaks
4002 2005-09-01 Tim Omernick <tomernick@apple.com>
4004 Change made by Darin, reviewed by John and myself.
4006 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
4008 * Scripts/prepare-ChangeLog:
4010 2005-08-31 Maciej Stachowiak <mjs@apple.com>
4014 - set color variant and font settings to a consistent value.
4015 (http://bugs.webkit.org/show_bug.cgi?id=4769)
4017 * DumpRenderTree/DumpRenderTree.m:
4020 2005-08-30 Eric Seidel <eseidel@apple.com>
4024 * Scripts/build-svg2png: Removed.
4025 * svg2png/ImageDiff.h: Removed.
4026 * svg2png/ImageDiff.m: Removed.
4027 * svg2png/svg2png.m: Removed.
4028 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
4029 * svg2png/svg2png_Prefix.pch: Removed.
4030 svg2png is no longer needed.
4032 2005-08-30 Darin Adler <darin@apple.com>
4034 * Scripts/check-dom-results: Special case 100% to say something nice.
4035 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
4036 applying the patch (need a better name).
4037 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
4039 2005-08-30 Darin Adler <darin@apple.com>
4041 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
4043 2005-08-29 Maciej Stachowiak <mjs@apple.com>
4047 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
4048 (some pixel tests fail when AA settings are changed)
4050 * DumpRenderTree/DumpRenderTree.m:
4051 (main): set AA settings to the default values
4053 2005-08-29 Darin Adler <darin@apple.com>
4055 Reviewed by John Sullivan.
4057 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
4058 executable -- much slower but can help pinpoint leaks. Changed formatting of some
4061 2005-08-28 Maciej Stachowiak <mjs@apple.com>
4065 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
4066 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
4068 * DumpRenderTree/DumpRenderTree.m:
4069 (main): set scrollbar arrow setting to a consistent value
4071 2005-08-27 Jussi Hagman <juhagman@abo.fi>
4073 Reviewed and landed by Darin.
4075 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
4076 output of update-webkit is too verbose
4078 * Scripts/update-webkit:
4079 Added option --quiet (-q) to decrease the amount of output.
4081 2005-08-27 Darin Adler <darin@apple.com>
4083 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
4084 cvs-create-patch --include-unknowns should ignore hidden files
4086 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
4088 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
4090 Reviewed, tweaked, and landed by Darin.
4092 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
4093 update-webkit doesn't notice when you have SVGSupport and update properly
4095 * Scripts/update-webkit: Build SVGSupport directory if it's present.
4097 2005-08-25 Anders Carlsson <andersca@mac.com>
4099 Reviewed and landed by Darin.
4101 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
4102 layout test machinery can't handle tests with applets that have code attributes
4104 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
4106 2005-08-24 Darin Adler <darin@apple.com>
4110 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
4111 DumpRenderTree --pixel-tests crash
4112 - landed some other small changes I had sitting in my tree
4114 * DumpRenderTree/DumpRenderTree.m:
4115 (main): Don't bother saving and restoring the preferences. Not sure
4116 why this was ever done since the preferences are specific to DumpRenderTree.
4117 Clear delegates before releasing the WebView, because you can't count on the
4118 order of object deallocation.
4119 (dumpRenderTree): Fix code that releases a string before storing it in a
4122 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
4123 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
4125 2005-08-23 Eric Seidel <eseidel@apple.com>
4129 * Scripts/run-webkit-tests:
4130 Made --leaks option more readable by printing to a file.
4131 http://bugs.webkit.org/show_bug.cgi?id=4590
4133 2005-08-22 Eric Seidel <eseidel@apple.com>
4134 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
4138 * Scripts/run-webkit-tests: hides "expected actual diffs" links
4139 when they are not needed (for pixel-only failures)
4140 http://bugs.webkit.org/show_bug.cgi?id=4584
4142 2005-08-22 Eric Seidel <eseidel@apple.com>
4146 * Scripts/run-webkit-tests: Added the ability to display more than
4147 just two images as part of the image-diff "slideshow".
4148 Added display of "-w3c.png" baseline images for SVG.
4149 http://bugs.webkit.org/show_bug.cgi?id=4581
4151 2005-08-20 Eric Seidel <eseidel@apple.com>
4153 * Scripts/run-webkit-tests:
4154 "build" fix after committing incorrect version.
4156 2005-08-20 Eric Seidel <eseidel@apple.com>
4160 * DumpRenderTree/DumpRenderTree.m:
4161 (main): cleans up delegates
4162 (dumpRenderTree): closes CFString/CFURL leak
4163 * Scripts/run-webkit-tests:
4164 Adds --leaks option to run-webkit-tests
4165 http://bugs.webkit.org/show_bug.cgi?id=4542
4167 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
4171 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
4172 new files to be included in the patch even without "cvs add".
4174 2005-08-19 Darin Adler <darin@apple.com>
4176 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
4177 non-cvs-generated patches. Anders has been creating these, so it's bad that
4178 the script can't handle them.
4179 * Scripts/cvs-unapply: Ditto.
4181 2005-08-18 Darin Adler <darin@apple.com>
4183 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
4184 "." in them -- based on complaint by someone here at Apple.
4186 2005-08-18 Eric Seidel <eseidel@apple.com>
4190 * Scripts/run-webkit-tests:
4191 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
4193 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4195 - add file that I forgot in the last checkin
4197 * DumpRenderTree/ImageDiff.m: Added.
4199 (getImageFromStdin):
4201 (getDifferenceBitmap):
4202 (computePercentageDifferent):
4204 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4206 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
4207 somewhat by me, and also tweaked by me a little bit.
4209 - better support for pixel-dumping
4210 - use checksums of the images so the tests are fast
4211 - change output format to make the tests run faster
4212 - don't dump pixel results for tests that dump as text
4214 * DumpKCanvasTree/DumpKCanvasTree.m:
4217 (md5HashStringForBitmap):
4219 (constrainSizeToMaximum):
4220 (getBitmapImageRepForSVGDocument):
4221 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4222 * DumpRenderTree/DumpRenderTree.m:
4226 (md5HashStringForBitmap):
4227 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4228 * Scripts/run-webkit-tests:
4230 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4234 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
4236 * DumpRenderTree/DumpRenderTree.m:
4239 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
4241 Reviewed and landed by Darin.
4243 - fixed http://bugs.webkit.org/show_bug.cgi?id=4251
4244 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
4246 * Scripts/run-safari: Pass arguments through to Safari on command line.
4247 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
4249 2005-08-11 Eric Seidel <eseidel@apple.com>