1 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
5 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
8 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
9 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
10 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
11 * Drosera/Images/SourceArrowOpen.png: Added.
12 * Drosera/Images/fileIcon.jpg: Added.
13 * Drosera/Images/siteCollapsed.tif: Added.
14 * Drosera/Images/siteExpanded.tif: Added.
15 * Drosera/Images/siteIcon.tif: Added.
16 * Drosera/debugger.css: Added File Browser styles
17 * Drosera/debugger.html: Added File Browser UI
18 * Drosera/debugger.js: Added File Browser functionality
20 2006-10-10 Darin Adler <darin@apple.com>
22 * Scripts/do-file-rename: Added.
24 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
28 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
29 a page. This allows automatic testing via e.g. valgrind.
31 * GdkLauncher/gdklauncher.bkl:
32 * GdkLauncher/main.cpp:
33 (LauncherFrameGdk::LauncherFrameGdk):
34 (LauncherFrameGdk::setExitAfterLoading):
35 (LauncherFrameGdk::handledOnloadEvents):
39 2006-10-06 David Smith <catfish.man@gmail.com>
43 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
45 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
46 * Drosera/breakpointEditor.css: Added.
47 * Drosera/breakpointEditor.html: Added.
48 * Drosera/breakpointEditor.js: Added.
49 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
51 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
55 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
57 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
58 (WebCore::DumpRenderTree::DumpRenderTree):
60 2006-10-05 Oliver Hunt <ohunt@apple.com>
64 * Scripts/run-webkit-tests:
67 2006-10-04 Anders Carlsson <acarlsson@apple.com>
71 * Scripts/run-webkit-tests:
72 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
75 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
77 Reviewed and landed by ap.
79 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
80 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
82 * Scripts/webkitdirs.pm:
84 2006-10-04 Mark Rowe <bdash@webkit.org>
86 Reviewed by Stephanie.
88 Switch the Qt buildbot to the standard set of build steps.
89 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
90 see if any regressions were spotted, and fail the test if so.
92 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
93 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
94 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
96 2006-10-04 Timothy Hatcher <timothy@apple.com>
98 Reviewed by Mitz Pettel!
100 Bug 10708: [Drosera] Make the console input plaintext-only
101 http://bugs.webkit.org/show_bug.cgi?id=10708
103 Change the console input -webkit-user-modify property to
104 read-write-plaintext-only.
106 * Drosera/console.css:
108 2006-10-04 David Smith <catfish.man@gmail.com>
112 Bug 10473: [Drosera] Overlapping text in JavaScript Console
113 http://bugs.webkit.org/show_bug.cgi?id=10473
115 Using min-height instead of height to avoid overlapping text.
118 * Drosera/console.css:
120 2006-10-04 David Smith <catfish.man@gmail.com>
124 Added a bash-style command history.
126 * Drosera/console.js:
128 2006-10-03 Anders Carlsson <acarlsson@apple.com>
130 Reviewed by Adam and Brady.
132 * DumpRenderTree/DumpRenderTree.m:
134 Update URL to Ahem.ttf
136 2006-10-03 Darin Adler <darin@apple.com>
138 * Scripts/commit-log-editor: Added missing "close" call. Oops!
140 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
142 Reviewed by eseidel. Landed by eseidel.
144 Offer a way for BuildBot to not colorize the cmake output, when building
145 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
147 Default is colorize output, though only Qt platform handles this for now.
149 * Scripts/build-dumprendertree:
150 * Scripts/build-webkit:
151 * Scripts/webkitdirs.pm:
153 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
155 Reviewed by eseidel. Landed by eseidel.
157 Make all important scripts work with Qt/Linux.
159 You can safely use this now:
160 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
162 * Scripts/build-dumprendertree:
163 * Scripts/run-javascriptcore-tests:
164 * Scripts/run-webkit-tests:
165 * Scripts/webkitdirs.pm:
167 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
171 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
173 * Scripts/webkitdirs.pm:
175 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
177 Reviewed/landed by Adam.
179 Proper build-webkit support for Qt/Linux.
181 Compilation process is similar to OSX now, aka.
182 the build directory is RootCheckoutDir/WebKitBuild now.
184 * Scripts/build-webkit: Recognize Qt.
185 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
187 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
191 Add QT build slave to Buildbot.
193 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
194 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
195 * 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.
196 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
198 2006-09-28 David Harrison <harrison@apple.com>
202 Moved an extern declaration from inside a method to the top of the file.
204 * DumpRenderTree/EventSendingController.m:
205 (-[EventSendingController clearKillRing]):
207 2006-09-28 David Harrison <harrison@apple.com>
211 Add clearKillRing so we can test emacs support with empty kill ring.
213 * DumpRenderTree/EventSendingController.m:
214 (+[EventSendingController isSelectorExcludedFromWebScript:]):
215 (+[EventSendingController webScriptNameForSelector:]):
216 (-[EventSendingController clearKillRing]):
218 2006-09-27 MorganL <morganl.webkit@yahoo.com>
220 Reviewed by Maciej, landed by Brady
222 Fix URL bar updating.
224 * Spinneret/Spinneret/Spinneret.h:
225 (SpinneretWebHost::didStartProvisionalLoadForFrame):
226 (SpinneretWebHost::didCommitLoadForFrame):
227 (SpinneretWebHost::didFinishLoadForFrame):
229 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
235 * DumpRenderTree/EventSendingController.m:
236 (-[EventSendingController enableDOMUIEventLogging:]):
238 2006-09-22 Justin Garcia <justin.garcia@apple.com>
242 * Scripts/do-webcore-rename:
244 2006-09-21 Timothy Hatcher <timothy@apple.com>
248 Bug 10923: Frame scroll layout test failures on the buildbot
249 http://bugs.webkit.org/show_bug.cgi?id=10923
251 Added a new method that will toggle on the recursive dump of
252 child frame scroll positions.
254 * DumpRenderTree/DumpRenderTree.m:
255 (dumpFrameScrollPosition):
256 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
257 (-[LayoutTestController dumpChildFrameScrollPositions]):
259 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
261 Reviewed by eseidel. Landed by eseidel.
263 Detect that close button was pressed and exit cleanly.
265 * GdkLauncher/main.cpp:
269 2006-09-17 Adam Roben <aroben@apple.com>
271 Reviewed by hyatt, sfalken.
273 Get DumpRenderTree compiling and limping along on Windows.
275 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
276 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
277 (main): Add NULL argument to Page constructor.
278 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
279 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
281 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
285 http://bugs.webkit.org/show_bug.cgi?id=10635
286 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
288 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
289 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
290 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
292 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
296 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
297 Even More Objective-C DOM auto-generation cleanup
299 - Change to use new, more Objectice-C'ish version of
300 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
301 regression test for fast/events/dblclick-addEventListener.html.
303 * DumpRenderTree/EventSendingController.m:
304 (-[EventSendingController fireKeyboardEventsToElement:]):
306 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
310 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
311 Move QtLauncher down to WebKitQt.
313 * QtLauncher/CMakeLists.txt: Removed.
314 * QtLauncher/main.cpp: Removed.
316 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
320 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
321 Adjust DumpRenderTree to the FrameQtClient changes.
323 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
324 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
325 (WebCore::DumpRenderTree::DumpRenderTree):
326 (WebCore::DumpRenderTree::~DumpRenderTree):
327 (WebCore::DumpRenderTree::frame):
328 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
329 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
330 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
331 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
332 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
334 2006-09-03 Darin Adler <darin@apple.com>
336 * Scripts/do-webcore-rename: More renaming plans.
338 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
342 http://bugs.webkit.org/show_bug.cgi?id=10693
343 Convert JavaScript arrays to AppleScript lists
345 * DumpRenderTree/AppleScriptController.m:
346 (convertAEDescToObject):
347 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
349 2006-08-31 Darin Adler <darin@apple.com>
351 * Scripts/do-webcore-rename: Prepare for another round of renaming.
353 2006-08-29 Dan Waylonis <waylonis@google.com>
357 - Verification of exceptions thrown in a plugin. Test for bug 10114.
358 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
359 * DumpRenderTree/ObjCPlugin.m:
360 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
361 (+[ObjCPlugin webScriptNameForSelector:]):
362 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
364 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
368 Commit KDE related tweaks, to be able to
369 differentiate between a Qt-only or a KDE build.
371 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
372 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
374 2006-08-29 Darin Adler <darin@apple.com>
376 Reviewed by Tim Hatcher.
378 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
379 to work around what seems to be a bug in some versions of gdb.
381 2006-08-16 Tim Omernick <timo@apple.com>
383 Reviewed by John Sullivan.
385 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
386 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
389 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
391 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
392 are expected to be retained by the plug-in, and released by the caller.
394 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
396 Reviewed by Tim Hatcher.
398 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
400 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
401 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
404 * Scripts/run-webkit-tests:
405 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
407 2006-08-28 Darin Adler <darin@apple.com>
409 Reviewed by Tim Hatcher.
411 * Scripts/build-drosera: Fix behavior when there are multiple options.
413 2006-08-27 Timothy Hatcher <timothy@apple.com>
417 Drosera will be built when you type make.
419 * Drosera/Makefile: Added.
421 * Makefile.shared: Added.
423 2006-08-27 Anders Carlsson <acarlsson@apple.com>
427 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
428 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
429 (WebCore::DumpRenderTree::DumpRenderTree):
430 (WebCore::DumpRenderTree::~DumpRenderTree):
431 (WebCore::DumpRenderTree::open):
432 (WebCore::DumpRenderTree::readStdin):
433 (WebCore::DumpRenderTree::checkLoaded):
434 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
435 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
438 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
440 Reviewed by Eric, landed by Anders.
442 Add DumpRenderTree support for Qt/Linux.
444 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
445 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
446 (WebCore::DumpRenderTree::DumpRenderTree):
447 (WebCore::DumpRenderTree::~DumpRenderTree):
448 (WebCore::DumpRenderTree::open):
449 (WebCore::DumpRenderTree::readStdin):
450 (WebCore::DumpRenderTree::checkLoaded):
451 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
452 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
454 * Scripts/build-dumprendertree:
455 * Scripts/run-webkit-tests:
456 * Scripts/webkitdirs.pm:
458 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
460 Reviewed by Eric. Landed by rwlbuis.
462 Add QtLauncher (was testunity before), which provides a
463 standalone "browser" to test the Qt platform stuff.
465 * QtLauncher/CMakeLists.txt: Added.
466 * QtLauncher/main.cpp: Added.
469 2006-08-22 Trey Matteson <trey@usa.net>
473 Added support for a new set of browser navigation tests. The main feature
474 is the ability for a test to queue up a set of future actions that will
475 happen after that first page is loaded. This is used to simulate a sequence
476 of user actions such as filling out forms, loading additional pages or
477 going back. In addition we can now dump out the state of the back/forward
478 list, and the scroll position is dumped if not at 0,0.
480 * DumpRenderTree/DumpRenderTree.m:
481 (main): Init new state
482 (compareHistoryItems): New utility to support sorting.
483 (dumpHistoryItem): Write out a WebHistoryItem and kids.
484 (dumpFrameScrollPosition): Write out the scroll position.
485 (dump): Optionally write b/f list or scroll position.
486 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
487 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
488 Kick off any queued actions. Fixed for the case of loads started in
489 a subframe instead of the root frame.
490 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
491 Grab the topmost frame that is being loaded. Do this as early as possible,
492 instead of in didCommitLoadForFrame.
493 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
494 Noting a load has started now happens in previous method.
495 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
496 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
497 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
499 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
500 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
501 Add new work to the queue.
502 (-[LayoutTestController _doLoad:target:]): Do a queued load.
503 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
504 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
505 (-[LayoutTestController scheduleForwardNav:]):
506 (-[LayoutTestController scheduleReload]):
507 (-[LayoutTestController scheduleScript:]):
508 (-[LayoutTestController scheduleLoad:target:]):
509 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
510 since it's not one of the functions that does any dumping.
512 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
516 - added a function to create a few DOMKeyboardEvents and dispatch
517 them to a specified HTML element
518 http://bugs.webkit.org/show_bug.cgi?id=9736
520 * DumpRenderTree/EventSendingController.m:
521 (+[EventSendingController isSelectorExcludedFromWebScript:]):
522 (+[EventSendingController webScriptNameForSelector:]):
523 (-[EventSendingController fireKeyboardEventsToElement:]):
525 2006-08-15 Duncan Wilcox <duncan@mclink.it>
527 Reviewed and tweaked by Darin.
529 - added DumpRenderTree support so editing delegate can be made to refuse edits
530 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
532 * DumpRenderTree/DumpRenderTree.m:
533 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
534 to the list of methods.
535 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
536 without the colon, for the JavaScript name.
537 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
539 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
541 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
542 setter methods to the class.
543 * DumpRenderTree/EditingDelegate.m:
544 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
545 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
546 return the value of acceptsEditing.
547 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
548 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
549 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
550 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
551 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
553 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
554 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
555 (-[EditingDelegate setAcceptsEditing:]): Added.
557 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
561 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
562 http://bugs.webkit.org/show_bug.cgi?id=10224
564 * Drosera/Drosera.xcodeproj/project.pbxproj:
565 * Drosera/LauncherInfo.plist:
567 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
569 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
570 when a test performs an unsuccessful drag and drop operation.
572 * DumpRenderTree/EventSendingController.m:
573 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
574 drag operation for the mouse release is NSDragOperationNone.
576 2006-08-02 Timothy Hatcher <timothy@apple.com>
580 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
581 http://bugs.webkit.org/show_bug.cgi?id=9632
583 Do not change the file source when normalizing the line endings.
584 We use this file source to compare against new versions of the source
585 as it comes in, so we can skip re-syntax highlighting if they are the same.
586 The problem is apparent on yahoo.com since they have mixed line endings and
587 once we normalize them the source will always be different. This was
588 compounded by the fact that yahoo has around 40 inline scripts. Each
589 inline script causes us to check if the main document has more loaded,
590 that is when we compare the source strings. Since they are always different
591 we would syntax highlight yahoo.com 40 times! We do check source length before
592 doing a more expensive string comparison, but the lengths were the same.
594 * Drosera/debugger.js:
596 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
600 Bug 9931: [Drosera] Needs a cool icon
601 http://bugs.webkit.org/show_bug.cgi?id=9931
603 * Drosera/Drosera.icns: Added.
604 * Drosera/Drosera.xcodeproj/project.pbxproj:
605 * Drosera/Info.plist:
607 2006-08-01 Darin Adler <darin@apple.com>
609 - fix a bug in my recent change where the mouse position at the end of
610 the last test would affect the results of the next test
612 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
614 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
618 http://bugs.webkit.org/show_bug.cgi?id=10182
619 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
621 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
622 Correct the logic to not reload local variable list unless an '=' character is in the expression.
624 2006-07-31 Darin Adler <darin@apple.com>
628 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
629 REGRESSION: failing layout test: fast/events/objc-event-api.html
631 * DumpRenderTree/DumpRenderTree.m:
632 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
633 location in flipped coordinates, since those are the coordinates that we use.
634 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
637 * DumpRenderTree/EventSendingController.m:
638 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
639 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
640 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
641 probably worked OK, but this is needed to be correct.
642 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
643 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
644 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
645 dump the screenY as-is.
647 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
651 http://bugs.webkit.org/show_bug.cgi?id=10178
652 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
654 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
655 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
657 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
661 http://bugs.webkit.org/show_bug.cgi?id=10175
662 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
664 * Drosera/DebuggerDocument.m:
665 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
667 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
671 http://bugs.webkit.org/show_bug.cgi?id=10167
672 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
674 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
677 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
681 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
682 http://bugs.webkit.org/show_bug.cgi?id=9686
684 * Drosera/DebuggerDocument.m:
685 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
686 ensure that the server does not try and notify us of events related to the resumption.
687 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
688 call through to JavaScript.
689 * Drosera/debugger.js: Pause debugger when exception is raised.
691 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
695 - fixes for Linux build
697 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
698 * GdkLauncher/gdklauncher.bkl: Tweak comment.
700 2006-07-24 Dan Waylonis <waylonis@google.com>
702 Reviewed and tweaked a bit by Darin.
704 * DumpRenderTree/ObjCPlugin.m:
705 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
706 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
707 "echo:" so it's nice to call from JavaScript.
708 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
709 to test a round trip through Objective-C types.
711 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
715 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
716 Improve iExploder results parsing
718 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
721 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
725 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
726 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
728 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
730 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
734 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
735 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
737 Removed "Property changes" that snuck in as part of the "apply patch" process.
739 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
743 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
744 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
747 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
749 (patch): Use patch(1) for non-binary additions and deletions.
750 * Scripts/svn-unapply:
752 (patch): Use patch(1) for reverting non-binary additions and deletions.
753 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
755 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
759 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
760 http://bugs.webkit.org/show_bug.cgi?id=9889
762 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
763 so, have stepOut pause on the next call to willExecuteStatement rather than second.
765 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
769 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
770 Teach svn-create-patch and friends to fix ChangeLog patches
772 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
773 * Scripts/svn-create-patch: Ditto.
774 * Scripts/svn-unapply: Ditto.
776 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
780 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
781 http://bugs.webkit.org/show_bug.cgi?id=9869
783 * Drosera/DebuggerDocument.m:
784 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
786 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
790 Bug 9863: Drosera needs to show something at launch
791 http://bugs.webkit.org/show_bug.cgi?id=9863
793 * Drosera/DebuggerApplication.m:
794 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
796 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
800 Lets Drosera build universal for the nightlies. Right now it is not
801 possible to build a universal binary on a PPC machine because of a
802 conflict with the universal SDK.
804 * BuildSlaveSupport/build-launcher-app:
805 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
807 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
811 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
812 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
814 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
815 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
816 should open a new stream and deliver the data to the current instance.
818 2006-07-11 Timothy Hatcher <timothy@apple.com>
822 Bug 9598: [Drosera] add a JavaScript evaluator console
823 http://bugs.webkit.org/show_bug.cgi?id=9598
825 * Drosera/DebuggerApplication.h:
826 * Drosera/DebuggerApplication.m:
827 (-[DebuggerApplication knownServers]):
828 * Drosera/DebuggerDocument.h:
829 * Drosera/DebuggerDocument.m:
830 (-[WebScriptObject evaluateScript:inCallFrame:]):
831 (-[WebScriptObject showConsole:]):
832 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
833 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
834 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
835 (-[WebScriptObject webView:createWebViewWithRequest:]):
836 (-[WebScriptObject webViewShow:]):
837 (-[WebScriptObject webViewAreToolbarsVisible:]):
838 (-[WebScriptObject webView:setToolbarsVisible:]):
839 (-[WebScriptObject webView:setResizable:]):
840 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
841 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
842 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
843 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
844 (-[WebScriptObject webView:didFinishLoadForFrame:]):
845 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
846 * Drosera/Drosera.xcodeproj/project.pbxproj:
847 * Drosera/Images/console.png: Added.
848 * Drosera/console.css: Added.
849 * Drosera/console.html: Added.
850 * Drosera/console.js: Added.
852 2006-07-11 Timothy Hatcher <timothy@apple.com>
854 Reviewed by a tired Geoff.
856 Bug 9597: [Drosera] hook up the variables table to show stack variables
857 http://bugs.webkit.org/show_bug.cgi?id=9597
859 * Drosera/DebuggerDocument.m:
860 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
861 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
862 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
863 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
864 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
865 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
866 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
867 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
868 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
869 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
870 * Drosera/debugger.css:
871 * Drosera/debugger.html:
872 * Drosera/debugger.js:
874 2006-07-10 Tim Omernick <timo@apple.com>
876 Reviewed by Beth Dakin.
878 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
879 Add DOM access test to DumpRenderTree's Netscape plug-in
881 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
885 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
889 - http://bugs.webkit.org/show_bug.cgi?id=9839
890 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
892 Now track three states: initializing, running, and closed. If we are launched and the previous
893 state was initializing then we likely just experienced a crash on launch.
895 * WebKitLauncher/WebKitNightlyEnabler.m:
896 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
897 (myApplicationWillTerminate): Update to use new states.
898 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
899 initializing as early as practical.
900 (symbol_lookup): Bring code up to speed with formatting guidelines.
901 (GDSymbolLookup): Ditto.
903 2006-07-10 Darin Adler <darin@apple.com>
905 - try to fix Windows build
907 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
908 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
910 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
912 Build fix. Reviewed by NOBODY.
914 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
915 devenv.com not available in VC++ Express installations
917 * Scripts/webkitdirs.pm: Backed out previous change.
919 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
923 - http://bugs.webkit.org/show_bug.cgi?id=9693
924 svn-apply should set ChangeLog date correctly when applying patches
926 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
927 before applying the patch.
928 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
930 2006-07-09 Darin Adler <darin@apple.com>
932 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
934 2006-07-09 Darin Adler <darin@apple.com>
936 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
938 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
940 Reviewed by NOBODY (build fix).
942 - http://bugs.webkit.org/show_bug.cgi?id=7802
943 devenv.com not available in VC++ Express installations
945 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
946 work again. Add VC++ Express check as the fallback.
948 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
950 Reviewed by Timothy Hatcher.
952 - http://bugs.webkit.org/show_bug.cgi?id=7802
953 devenv.com not available in VC++ Express installations
955 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
957 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
961 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
962 Patch by coldwinter@katamail.com.
964 In the congratulations message, "capatibilies" should be "capabilities".
966 * Scripts/build-webkit:
968 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
970 Reviewed by Timothy Hatcher.
972 - http://bugs.webkit.org/show_bug.cgi?id=9794
973 Teach run-webkit-tests how to ignore tests with performance improvements
975 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
976 feature, and minor clean up.
978 2006-07-08 Darin Adler <darin@apple.com>
980 Reviewed by Geoff (well, half of it at least).
982 - http://bugs.webkit.org/show_bug.cgi?id=9788
983 storage leaks in Objective-C tests
985 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
986 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
987 Add a release to fix a storage leak.
989 2006-07-08 Darin Adler <darin@apple.com>
991 * Scripts/do-webcore-rename: A few more.
993 2006-07-08 Darin Adler <darin@apple.com>
995 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
997 2006-07-04 Maciej Stachowiak <mjs@apple.com>
1001 http://bugs.webkit.org/show_bug.cgi?id=9734
1002 - add support for dumping non-HTML as text - in this case use textContent
1003 instead of innerText
1005 * DumpRenderTree/DumpRenderTree.m:
1008 2006-07-02 Timothy Hatcher <timothy@apple.com>
1012 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
1013 http://bugs.webkit.org/show_bug.cgi?id=9631
1015 Adds step over and step out. Along with a little code cleanup
1016 that was minor enough to piggyback on this fix.
1018 * Drosera/DebuggerDocument.h:
1019 * Drosera/DebuggerDocument.m:
1020 (-[DebuggerDocument stepOver:]):
1021 (-[DebuggerDocument stepOut:]):
1022 (-[DebuggerDocument windowDidLoad]):
1023 (-[DebuggerDocument windowWillClose:]):
1024 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1025 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1026 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1027 (-[DebuggerDocument validateUserInterfaceItem:]):
1028 * Drosera/Drosera.xcodeproj/project.pbxproj:
1029 * Drosera/debugger.html:
1030 * Drosera/debugger.js:
1031 * Drosera/viewer.css:
1033 2006-07-02 Timothy Hatcher <timothy@apple.com>
1037 Bug 9628: [Drosera] Split Views acting oddly
1038 http://bugs.webkit.org/show_bug.cgi?id=9628
1040 Only update the last X or Y coordinate if the new
1041 size was not constrained. Also adds the resize cursor to
1042 the body during the drag incase there is a constrained
1043 over drag off of the resizer element.
1045 * Drosera/debugger.js:
1047 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1049 Reviewed by Alexy Proskuryakov.
1051 Bug 9692: Warning about Safari extensions on every launch is obnoxious
1052 http://bugs.webkit.org/show_bug.cgi?id=9692
1054 * WebKitLauncher/WebKitNightlyEnabler.m:
1055 (myApplicationWillTerminate): Note that we are exiting cleanly.
1056 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
1057 to exit cleanly on our last invocation. This doesn't play nicely with
1058 multiple concurrent instances of WebKit.app so it can be disabled via
1059 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
1061 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1063 Reviewed by Alexy Proskuryakov.
1065 Bug 9654: Refresh Loop when accessing feed URLs
1066 http://bugs.webkit.org/show_bug.cgi?id=9654
1068 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
1070 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1072 Reviewed by Timothy Hatcher.
1074 Bug 9689: Nightly builds should warn a user about potential problems when using
1076 http://bugs.webkit.org/show_bug.cgi?id=9689
1078 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1079 * WebKitLauncher/WebKitNightlyEnabler.m:
1080 (myBundleDidLoad): Keep track of if any bundles that are loaded.
1081 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
1082 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1083 NSApplicationWillFinishLaunchingNotification notifications so that we can
1084 track bundle loads and notify the user at launch completion.
1086 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1090 - first check-in of a Gdk shell for testing WebKit
1092 * GdkLauncher: Added.
1094 2006-06-29 Timothy Hatcher <timothy@apple.com>
1098 Need to call window close so WebView tears-down completly.
1100 * DumpRenderTree/DumpRenderTree.m:
1101 (main): call [window close]
1103 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1107 Bug 9615: Buildbot configuration should be in SVN repository
1108 http://bugs.webkit.org/show_bug.cgi?id=9615
1110 Import BuildBot configuration files as used by build.webkit.org.
1111 auth.py has been stubbed out so that slave passwords are not disclosed.
1113 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1114 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1115 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1116 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1117 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1118 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1119 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1120 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1121 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1122 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1123 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1124 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
1126 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1130 Bug 9614: Nightly builds should notify user if a newer build is available
1131 http://bugs.webkit.org/show_bug.cgi?id=9614
1133 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1134 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1135 script so it can keep track of the latest revision.
1136 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1137 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1138 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1139 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1140 the nightly start page.
1142 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1146 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1147 http://bugs.webkit.org/show_bug.cgi?id=9579
1149 Report screenY values as (height of zero screen - screenY)
1151 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1153 2006-06-25 Timothy Hatcher <timothy@apple.com>
1157 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1158 http://bugs.webkit.org/show_bug.cgi?id=9591
1160 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1162 * Drosera/debugger.js:
1163 * Drosera/viewer.css:
1165 2006-06-25 Timothy Hatcher <timothy@apple.com>
1169 Bug 9568: assertion failure in Safari after quitting Drosera
1170 http://bugs.webkit.org/show_bug.cgi?id=9568
1172 Call switchToServerNamed:nil and not removeLister to make sure
1173 the server object is set to nil to prevent further removeListener calls.
1175 * Drosera/DebuggerDocument.m:
1176 (-[DebuggerDocument applicationTerminating:]):
1178 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1182 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1183 that the directory is not empty instead of reading in every single file and directory first,
1184 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1187 2006-06-25 Darin Adler <darin@apple.com>
1189 * Scripts/svn-apply: Tweak comments.
1190 * Scripts/svn-create-patch: Ditto.
1191 * Scripts/svn-unapply: Ditto.
1193 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1195 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1197 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1199 * Scripts/svn-apply: Formatting fix.
1201 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1205 http://bugs.webkit.org/show_bug.cgi?id=9571
1206 Teach svn-apply and svn-unapply to handle directory adds and removes better
1208 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1209 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1211 2006-06-25 Timothy Hatcher <timothy@apple.com>
1215 Bug 9574: Drosera should show inline scripts within the original HTML
1216 http://bugs.webkit.org/show_bug.cgi?id=9574
1218 Refactor the JavaScript code to have a distinction between files
1219 and scripts. Show the script in the context of the HTML file if
1220 it's URL is the same as the frame's main resource. At the time of
1221 the disParseScript callback the main resource might not be completely
1222 loaded, but Drosera needs to show whatever we have at the time. Once
1223 the main resource is finished, update the file source and reload the file.
1225 * Drosera/DebuggerDocument.m:
1226 (-[DebuggerDocument pause]):
1227 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1228 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1229 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1230 * Drosera/debugger.css:
1231 * Drosera/debugger.js:
1233 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1237 http://bugs.webkit.org/show_bug.cgi?id=9570
1238 Teach prepare-ChangeLog to operate on a list of files or directories
1240 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1241 * Scripts/svn-create-patch: Code refactoring.
1243 2006-06-24 James G. Speth <speth@end.com>
1247 - http://bugs.webkit.org/show_bug.cgi?id=8843
1248 add a way to build Objective-C test cases in HTML
1250 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1251 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1252 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1255 * DumpRenderTree/ObjCPlugin.h:
1256 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1257 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1258 (+[ObjCPlugin webScriptNameForSelector:]):
1259 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1260 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1261 (+[NSObject allowsScriptsFullAccess]):
1262 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1263 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1264 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1265 (+[JSObjC webScriptNameForSelector:]):
1266 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1267 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1268 (-[JSObjC log:]): access to NSLog function
1269 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1270 (-[JSObjC classOfObject:]):
1271 (-[JSObjC classNameOfObject:]):
1273 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1275 Reviewed by Timothy.
1277 * DrawTest/Info.plist: Added copyright statement.
1278 * Drosera/Info.plist: Ditto.
1279 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1280 * WebKitLauncher/Info.plist: Ditto.
1282 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1284 Build fix. Reviewed by NOBODY.
1286 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1287 devenv.com not available in VC++ Express installations
1289 * Scripts/webkitdirs.pm: Backed out previous change.
1291 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1295 - http://bugs.webkit.org/show_bug.cgi?id=7802
1296 devenv.com not available in VC++ Express installations
1298 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1300 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1304 - http://bugs.webkit.org/show_bug.cgi?id=9564
1305 A bunch of fixes to run-webkit-httpd
1307 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1308 127.0.0.1. Useful for testing with WinIE running on another machine;
1309 - don't call checkFrameworks() - we do not need a built WebKit here;
1310 - changed tabs to spaces;
1311 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1312 interactive mode, they were a hassle when testing with several browsers, as one
1313 had to wait for connection to expire);
1314 - remove httpd.pid when done, so that Apache doesn't complain next time.
1316 * Scripts/run-webkit-httpd:
1318 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1320 Reviewed by ggaren, landed by ap.
1322 - http://bugs.webkit.org/show_bug.cgi?id=9181
1323 Complete DOMUIEvent Obj-C API to reflect UIEvent
1325 Add function to enable logging of all events of one DOM node to stdout.
1327 * DumpRenderTree/EventSendingController.h:
1328 * DumpRenderTree/EventSendingController.m:
1329 (+[EventSendingController initialize]):
1330 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1331 (+[EventSendingController webScriptNameForSelector:]):
1332 (-[EventSendingController enableDOMUIEventLogging:]):
1333 (-[EventSendingController handleEvent:]):
1335 2006-06-23 Kevin Decker <kdecker@apple.com>
1337 Reviewed by Tim Hatcher.
1339 - Made column headers in Drosera resizable.
1341 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1345 - see http://bugs.webkit.org/show_bug.cgi?id=9539
1346 Another case error preventing build
1348 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1350 2006-06-22 Timothy Hatcher <timothy@apple.com>
1354 Adds a native toolbar to Drosera to be a good citizen.
1355 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1356 Fixes a dragging bug from an earlier fix to the divider code.
1357 Fixes some poor indenting in debugger.js.
1359 * Drosera/DebuggerDocument.h:
1360 * Drosera/DebuggerDocument.m:
1361 (-[DebuggerDocument stepInto]):
1362 (-[DebuggerDocument pause:]):
1363 (-[DebuggerDocument resume:]):
1364 (-[DebuggerDocument stepInto:]):
1365 (-[DebuggerDocument windowDidLoad]):
1366 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1367 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1368 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1369 (-[DebuggerDocument validateUserInterfaceItem:]):
1370 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1371 * Drosera/English.lproj/MainMenu.nib/info.nib:
1372 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1373 * Drosera/debugger.css:
1374 * Drosera/debugger.html:
1375 * Drosera/debugger.js:
1376 * Drosera/viewer.html:
1378 2006-06-22 Kevin Decker <kdecker@apple.com>
1382 - Added pressed column header image.
1383 - Made column headers behave more like Xcode.
1385 2006-06-22 Timothy Hatcher <timothy@apple.com>
1387 Reviewed by Kevin Decker.
1389 Code clean up. Adds the stackframe and makes only the body
1390 of the tables scrollable keeping the header visible.
1391 Shows the current function stack when paused or stepping.
1393 * Drosera/DebuggerApplication.m:
1394 (-[DebuggerApplication awakeFromNib]):
1395 (-[DebuggerApplication numberOfRowsInTableView:]):
1396 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1397 * Drosera/DebuggerDocument.h:
1398 * Drosera/DebuggerDocument.m:
1399 (-[DebuggerDocument dealloc]):
1400 (-[DebuggerDocument currentFrame]):
1401 (-[DebuggerDocument currentFrameFunctionName]):
1402 (-[DebuggerDocument currentFunctionStack]):
1403 (-[DebuggerDocument log:]):
1404 (-[DebuggerDocument windowWillClose:]):
1405 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1406 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1407 * Drosera/Drosera.xcodeproj/project.pbxproj:
1408 * Drosera/debugger.css:
1409 * Drosera/debugger.html:
1410 * Drosera/debugger.js:
1412 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1416 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1418 * Scripts/run-webkit-httpd:
1420 2006-06-22 Kevin Decker <kdecker@apple.com>
1422 Reviewed by Tim Hatcher.
1424 - More progress toward Javascript Debugger.
1425 - Added some new images to the project.
1427 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1431 - http://bugs.webkit.org/show_bug.cgi?id=9516
1432 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1434 * Scripts/run-webkit-httpd: Added.
1436 2006-06-20 Timothy Hatcher <timothy@apple.com>
1440 Builds Drosera and a launcher to include with the nightly.
1442 * BuildSlaveSupport/build-launcher-app:
1443 * BuildSlaveSupport/build-launcher-dmg:
1444 * Drosera/Drosera.xcodeproj/project.pbxproj:
1445 * Drosera/Info.plist:
1446 * Drosera/LauncherInfo.plist: Added.
1447 * Drosera/launcher.m: Added.
1448 (displayErrorAndQuit):
1449 (checkMacOSXVersion):
1452 * Scripts/build-drosera
1453 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1454 * WebKitLauncher/main.m:
1457 2006-06-20 Timothy Hatcher <timothy@apple.com>
1461 Adds a JavaScript debugger, called Drosera. Named after
1462 a genus of bug eating plants.
1464 * Drosera/DebuggerApplication.h: Added.
1465 * Drosera/DebuggerApplication.m: Added.
1466 (-[DebuggerApplication applicationDidFinishLaunching:]):
1467 (-[DebuggerApplication serverLoaded:]):
1468 (-[DebuggerApplication serverUnloaded:]):
1469 (-[DebuggerApplication awakeFromNib]):
1470 (-[DebuggerApplication showAttachPanel:]):
1471 (-[DebuggerApplication attach:]):
1472 (-[DebuggerApplication numberOfRowsInTableView:]):
1473 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1474 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1475 (-[DebuggerApplication tableViewSelectionDidChange:]):
1476 * Drosera/DebuggerDocument.h: Added.
1477 * Drosera/DebuggerDocument.m: Added.
1478 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1479 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1480 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1481 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1482 (-[DebuggerDocument initWithServerName:]):
1483 (-[DebuggerDocument windowWillClose:]):
1484 (-[DebuggerDocument dealloc]):
1485 (-[DebuggerDocument isPaused]):
1486 (-[DebuggerDocument pause]):
1487 (-[DebuggerDocument resume]):
1488 (-[DebuggerDocument step]):
1489 (-[DebuggerDocument windowNibName]):
1490 (-[DebuggerDocument windowDidLoad]):
1491 (-[DebuggerDocument switchToServerNamed:]):
1492 (-[DebuggerDocument applicationTerminating:]):
1493 (-[DebuggerDocument serverConnectionDidDie:]):
1494 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1495 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1496 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1497 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1498 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1499 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1500 * Drosera/Drosera.pch: Added.
1501 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1502 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1503 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1504 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1505 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1506 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1507 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1508 * Drosera/Images/breakPoint.tif: Added.
1509 * Drosera/Images/breakPointDisabled.tif: Added.
1510 * Drosera/Images/continue.tif: Added.
1511 * Drosera/Images/finishFunction.tif: Added.
1512 * Drosera/Images/glossyFooterFill.tif: Added.
1513 * Drosera/Images/glossyHeader.png: Added.
1514 * Drosera/Images/gradientBackground.png: Added.
1515 * Drosera/Images/gutter.png: Added.
1516 * Drosera/Images/navLeftDisabled.png: Added.
1517 * Drosera/Images/navLeftNormal.png: Added.
1518 * Drosera/Images/navLeftPressed.png: Added.
1519 * Drosera/Images/navRightDisabled.png: Added.
1520 * Drosera/Images/navRightNormal.png: Added.
1521 * Drosera/Images/navRightPressed.png: Added.
1522 * Drosera/Images/pause.tif: Added.
1523 * Drosera/Images/popUpArrows.png: Added.
1524 * Drosera/Images/programCounter.tif: Added.
1525 * Drosera/Images/programCounterBreakPoint.tif: Added.
1526 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1527 * Drosera/Images/run.tif: Added.
1528 * Drosera/Images/splitterBar.tif: Added.
1529 * Drosera/Images/splitterDimple.tif: Added.
1530 * Drosera/Images/step.tif: Added.
1531 * Drosera/Images/stepOver.tif: Added.
1532 * Drosera/Images/stop.tif: Added.
1533 * Drosera/Images/toolbarBackground.png: Added.
1534 * Drosera/Info.plist: Added.
1535 * Drosera/debugger.css: Added.
1536 * Drosera/debugger.html: Added.
1537 * Drosera/debugger.js: Added.
1538 * Drosera/main.m: Added.
1540 * Drosera/viewer.css: Added.
1541 * Drosera/viewer.html: Added.
1543 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1547 http://bugs.webkit.org/show_bug.cgi?id=9485
1548 Teach svn-apply and svn-unapply to use full path names
1550 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1551 * Scripts/svn-unapply: Ditto.
1553 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1557 - http://bugs.webkit.org/show_bug.cgi?id=9150
1558 DumpRenderTree should be able to keep URL history during runs
1560 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1562 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1563 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1564 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1565 it is currently nil since keepWebHistory() might be called more than once incidentally
1567 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1568 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1570 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1574 http://bugs.webkit.org/show_bug.cgi?id=9395
1575 Make prepare-ChangeLog faster
1577 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1578 then save the diff output for reuse. Keep a status variable if changes are made to
1579 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1580 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1581 for no changed files closer to the beginning of the program.
1583 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1585 Reviewed and landed by ap.
1587 - make DumpRenderTree build
1589 * DumpRenderTree/DumpRenderTree.m:
1590 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1591 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1592 (-[LayoutTestController setWindowIsKey:]): Ditto.
1593 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1595 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1597 Reviewed by Darin, landed by Geoff.
1599 http://bugs.webkit.org/show_bug.cgi?id=9350
1600 Use pathcmp() when sorting paths in svn-create-patch
1602 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1603 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1604 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1605 switch and printUsage() subroutine.
1607 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1611 http://bugs.webkit.org/show_bug.cgi?id=9322
1612 Teach svn-create-patch to sort its output
1614 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1615 by text files first, then by binary files.
1617 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1621 http://bugs.webkit.org/show_bug.cgi?id=9299
1622 Teach svn-create-patch and friends to work with binary files
1624 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1625 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1626 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1628 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1632 http://bugs.webkit.org/show_bug.cgi?id=9296
1633 Performance improvement for svn-create-patch
1635 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1637 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1641 http://bugs.webkit.org/show_bug.cgi?id=9290
1642 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1644 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1645 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1647 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1651 Switch Spinneret to new hosting mechanism
1653 * Spinneret/Spinneret.sln:
1654 * Spinneret/Spinneret/Spinneret.cpp:
1655 (SpinneretWebHost::updateAddressBar):
1656 (SpinneretWebHost::QueryInterface):
1657 (SpinneretWebHost::AddRef):
1658 (SpinneretWebHost::Release):
1665 * Spinneret/Spinneret/Spinneret.h:
1666 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1667 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1668 (SpinneretWebHost::didFailProvisionalLoadWithError):
1669 (SpinneretWebHost::didCommitLoadForFrame):
1670 (SpinneretWebHost::didReceiveTitle):
1671 (SpinneretWebHost::didReceiveIcon):
1672 (SpinneretWebHost::didFinishLoadForFrame):
1673 (SpinneretWebHost::didFailLoadWithError):
1674 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1675 (SpinneretWebHost::willPerformClientRedirectToURL):
1676 (SpinneretWebHost::didCancelClientRedirectForFrame):
1677 (SpinneretWebHost::willCloseFrame):
1678 (SpinneretWebHost::windowScriptObjectAvailable):
1679 * Spinneret/Spinneret/Spinneret.vcproj:
1681 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1685 Updated build script
1687 * Scripts/build-webkit:
1689 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1693 * DumpRenderTree/DumpRenderTree.m:
1694 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1695 (-[LayoutTestController clearBackForwardList]):
1696 Add clearBackForwardList function to layoutTestController
1698 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1702 http://bugs.webkit.org/show_bug.cgi?id=8996
1703 slow-utf8-text layout test case failing (no longer deterministic?)
1705 * DumpRenderTree/DumpRenderTree.m:
1707 Dump as text when the response MIME type is text/plain
1709 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1713 * Spinneret/Spinneret.sln:
1714 * Spinneret/Spinneret/Spinneret.vcproj:
1716 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1720 Added 'GCController' to DRT to support garbage collection layout tests.
1722 GCController.collect() and GCController.collectOnAlternateThread() do
1723 what you would expect. The latter takes a boolean argument sepcifying
1724 whether to wait for garbage collection to finish before continuing to
1727 * DumpRenderTree/DumpRenderTree.m:
1728 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1729 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1730 * DumpRenderTree/GCController.h: Added.
1731 * DumpRenderTree/GCController.mm: Added.
1732 (+[GCController isSelectorExcludedFromWebScript:]):
1733 (+[GCController webScriptNameForSelector:]):
1734 (-[GCController collect]):
1735 (-[GCController collectOnAlternateThread:]):
1737 2006-05-23 John Sullivan <sullivan@apple.com>
1741 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1742 Newer Xcode removed some obsolete cruft
1744 * DumpRenderTree/TextInputController.m:
1745 (-[TextInputController textInput]):
1746 added (id) cast to make newer compiler happy
1748 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1754 * Spinneret/Spinneret.sln:
1756 2006-05-18 Darin Adler <darin@apple.com>
1758 - try to fix no-SVG, no-XPATH build, again
1760 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1762 2006-05-18 Darin Adler <darin@apple.com>
1764 - try to fix no-SVG, no-XPATH build
1766 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1767 since the former is what's used in the WebCore project now.
1769 2006-05-17 Darin Adler <darin@apple.com>
1771 * Scripts/do-webcore-rename: Some more future renames.
1773 2006-05-16 Adele Peterson <adele@apple.com>
1777 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1778 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1780 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1782 * Scripts/install-unix-extras: Changed to be executable and removed
1783 text in the file generated by "svn diff".
1784 * Scripts/regenerate-makefiles: Ditto.
1786 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1788 Reviewed by Darin, landed by ap.
1790 - http://bugs.webkit.org/show_bug.cgi?id=8528
1791 Bakefiles (and generated Makefiles) for wx and gdk ports
1793 * Scripts/install-unix-extras: Added.
1794 * Scripts/regenerate-makefiles: Added.
1796 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1800 Fix registry usage from perl script. Turns out libwin32's
1801 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1803 * Scripts/install-win-extras:
1805 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1808 Add load ended callback.
1812 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1813 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1814 * Spinneret/Spinneret/Spinneret.cpp:
1815 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1816 (_tWinMain): Load built-in test content here instead of in lower-level code.
1817 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1819 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1823 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1825 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1829 * Scripts/check-dom-results:
1830 Add XPath to the list of results.
1832 2006-05-08 Darin Adler <darin@apple.com>
1834 * Scripts/do-webcore-rename: Add another rename.
1836 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1840 Spinneret now links against the new separate lib.
1842 * Spinneret/Spinneret.sln:
1843 * Spinneret/Spinneret/Spinneret.cpp:
1844 (SpinneretWebHost::updateLocationBar):
1846 * Spinneret/Spinneret/Spinneret.h:
1847 * Spinneret/Spinneret/Spinneret.vcproj:
1848 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1849 * Spinneret/Spinneret/WebFrame.h: Removed.
1850 * Spinneret/Spinneret/WebView.cpp: Removed.
1851 * Spinneret/Spinneret/WebView.h: Removed.
1853 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1857 Modify error reporting registry keys to disable Dr. Watson.
1858 This allows Javascript test cases to complete without blocking UI.
1860 * Scripts/install-win-extras:
1861 - Use Perl Win32 registry functions to disable blocking UI
1864 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1868 Turned off C++ exceptions, fixed memory leaks
1870 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1871 * Spinneret/Spinneret.sln:
1872 * Spinneret/Spinneret/Spinneret.cpp:
1874 * Spinneret/Spinneret/Spinneret.vcproj:
1875 * Spinneret/Spinneret/WebFrame.cpp:
1876 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1877 (WebKit::WebFrame::WebFrame):
1878 (WebKit::WebFrame::~WebFrame):
1879 (WebKit::WebFrame::impl):
1880 * Spinneret/Spinneret/WebFrame.h:
1881 * Spinneret/Spinneret/WebView.cpp:
1882 * Spinneret/Spinneret/stdafx.h:
1884 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1888 - http://bugs.webkit.org/show_bug.cgi?id=8633
1889 DumpRenderTree should reset the URL cache
1891 * DumpRenderTree/DumpRenderTree.m:
1892 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1894 2006-04-28 Eric Seidel <eseidel@apple.com>
1896 Reviewed by andersca.
1898 * Scripts/do-webcore-rename: rename KCanvasContainer too
1899 * Scripts/run-webkit-tests: output total time
1901 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1903 Reviewed by hyatt. Landed by eseidel.
1905 - http://bugs.webkit.org/show_bug.cgi?id=8549
1906 Enable detection of excessive repainting with DumpRenderTree
1908 * DumpRenderTree/DumpRenderTree.m:
1909 (-[LayoutTestController display]):
1911 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1915 - http://bugs.webkit.org/show_bug.cgi?id=6905
1916 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1918 * DumpRenderTree/DumpRenderTree.m:
1919 (dump): If display() has been called during the test, grab the pixels from
1920 the view, after letting it repaint invalidated rects.
1921 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1922 (-[LayoutTestController display]): Added. Calls -display on the view
1923 and changes the subsequent behavior of dump().
1926 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1930 - http://bugs.webkit.org/show_bug.cgi?id=8532
1931 Update iExploder to 1.3.2
1933 Test case numbers are not compatible with iExploder 1.2.
1935 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1937 * iExploder/CHANGELOG.txt: Added.
1938 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1939 * iExploder/README.txt: Added some performance hints.
1941 * iExploder/htdocs/config.rb: Added.
1942 * iExploder/htdocs/cssproperties.in:
1943 * iExploder/htdocs/cssvalues.in:
1944 * iExploder/htdocs/htmlattrs.in:
1945 * iExploder/htdocs/htmltags.in:
1946 * iExploder/htdocs/iexploder.cgi:
1947 - Updated to support the latest HTML & CSS tags, properties, and values from both
1948 the WebKit and Mozilla CVS tree
1949 - cssproperties.in cleanup
1950 - Modularized the code a little bit.
1951 - Fix subtest bug that was causing last 5 tags to be missed
1952 - new subtest algorithm to deal better with larger tag counts
1953 - default HTML_MAX_TAGS increased from 32 to 96
1955 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1956 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1957 alternative to our run-iexploder-tests.
1958 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1959 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1960 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1962 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1964 - commit Scripts/run-mangleme-tests (missed it the previous time).
1966 2006-04-18 Darin Adler <darin@apple.com>
1968 - attempt to fix Windows buildbot
1970 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1971 We need a better long-term solution for this.
1973 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1977 - http://bugs.webkit.org/show_bug.cgi?id=8444
1978 Integrate mangleme test script.
1980 Works in a similar way to run-iexploder-tests.
1982 * Scripts/run-mangleme-tests: Added.
1984 * mangleme/Makefile: Added.
1985 * mangleme/README: Added.
1986 * mangleme/mangle.cgi.c: Added.
1987 * mangleme/remangle.cgi.c: Added.
1988 * mangleme/tags.h: Added.
1990 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1994 - http://bugs.webkit.org/show_bug.cgi?id=8443
1995 An easier way to save iExploder tests.
1997 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1999 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2003 - http://bugs.webkit.org/show_bug.cgi?id=8421
2004 Integrate iExploder test script.
2006 This script generates artificially mangled HTML documents, to test that the browser
2007 doesn't crash when handling ill-formed code.
2010 run-iexploder-tests Open an interactive test page in Safari+ToT.
2011 run-iexploder-tests nnnnn Open test #nnnnn.
2013 Command line options:
2014 --guard-malloc (-g) Use Guard Malloc.
2015 --port=nnnn Run Apache on port nnnn (default is 8000).
2017 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
2018 (thus, Apache is still running), e.g.:
2019 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
2021 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
2023 * Scripts/run-iexploder-tests: Added.
2025 * iExploder/LICENSE.txt: Added.
2026 * iExploder/README.txt: Added.
2027 * iExploder/htdocs: Added.
2028 * iExploder/htdocs/cssproperties.in: Added.
2029 * iExploder/htdocs/cssvalues.in: Added.
2030 * iExploder/htdocs/htmlattrs.in: Added.
2031 * iExploder/htdocs/htmltags.in: Added.
2032 * iExploder/htdocs/htmlvalues.in: Added.
2033 * iExploder/htdocs/iexploder.cgi: Added.
2034 * iExploder/htdocs/index.html: Added.
2035 * iExploder/tools: Added.
2036 * iExploder/tools/lasthit.rb: Added.
2037 * iExploder/tools/osx_last_crash.rb: Added.
2039 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
2043 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
2044 Restore color profile after a crash
2046 * DumpRenderTree/DumpRenderTree.m:
2047 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
2048 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
2049 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
2050 and this code may change significantly.
2052 (main): Install crashHandler.
2054 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
2055 (CFStringGetCStringPtr should NEVER EVER be used!).
2057 2006-04-15 Darin Adler <darin@apple.com>
2061 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
2062 Seems xmlsoft.org's HTTP no longer has what we need.
2064 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
2066 Rubber-stamped by Darin.
2068 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
2069 upload-disk-image stage on buildslaves fail with "No space left on device"
2071 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
2072 'hdiutil create'. This creates the initial disk image based on the size of
2073 the source folder, and copies the contents to the new disk image. The file
2074 extension on the temporary uncompressed disk image has also been altered from
2075 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
2076 the extension is not ".dmg".
2078 2006-04-12 Eric Seidel <eseidel@apple.com>
2082 * Scripts/update-webkit: Make this return non-zero when svn fails.
2084 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2088 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2089 Make HTTP tests using Perl use .pl extension
2091 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2092 removed support for .text. Reduced the number of places that explicitly list supported
2093 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2096 2006-04-06 Darin Adler <darin@apple.com>
2098 Changes requested by Mark Rowe.
2100 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2101 trash at the end of the file.
2102 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2104 * WebKitLauncher/main.m: Removed trash at end of file.
2106 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2109 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2111 Reviewed by Darin, landed by Maciej.
2113 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2114 and bundles the WebKit frameworks inside it.
2115 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2116 containing WebKit.app.
2117 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2118 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2119 number of the SVN working copy.
2120 * WebKitLauncher: Added.
2121 * WebKitLauncher/Info.plist: Added.
2122 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2123 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2124 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2125 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
2126 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2127 the nightly launcher.
2128 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2129 It sets up the environment to have Safari use the bundled frameworks
2130 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2131 * WebKitLauncher/start.html: Added.
2132 * WebKitLauncher/webkit.icns: Added.
2134 2006-04-05 Darin Adler <darin@apple.com>
2138 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2139 are allowed to have global initializers.
2141 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2143 Reviewed by OMG BETH
2145 * Scripts/run-testkjs:
2146 - pipe STDERR to /dev/null by default; new --verbose option overrides
2148 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2149 - output run command in a format that can be copied and pasted into the
2150 terminal to run manually
2152 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2154 Reviewed by harrison
2156 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2157 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2159 Tell the source that the drag is over after the drag is performed, not before.
2161 * DumpRenderTree/EventSendingController.m:
2162 (-[EventSendingController mouseUp]):
2164 2006-04-01 Darin Adler <darin@apple.com>
2168 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2169 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2170 elements in that array are not strings.
2172 2006-03-31 Darin Adler <darin@apple.com>
2174 Reviewed by John Sullivan.
2176 - added a "--reset-results" option to run-webkit-tests so you can reset
2177 the results without first deleting expected results
2178 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2180 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2181 more logical. Moved all the subroutines to the end of the file. Added a
2184 * DumpRenderTree/DumpRenderTree.m:
2185 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2186 to generate new output for all tests it runs.
2187 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2188 the --dump-all-pixels option is passed. Also tightened up the image dumping
2189 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2190 with code to save and restore the context.
2192 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2193 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2195 2006-03-30 Tim Omernick <timo@apple.com>
2197 Reviewed by NOBODY (just fixing copyrights)
2199 * DumpRenderTree/ObjCPlugin.h:
2201 * DumpRenderTree/ObjCPlugin.m: ditto
2202 * DumpRenderTree/ObjCPluginFunction.h: ditto
2203 * DumpRenderTree/ObjCPluginFunction.m: ditto
2205 2006-03-30 Tim Omernick <timo@apple.com>
2209 * DumpRenderTree/DumpRenderTree.m:
2210 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2211 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2212 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2213 exposed to JS as a callable object.
2215 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2216 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2218 * DumpRenderTree/ObjCPlugin.h: Added.
2219 * DumpRenderTree/ObjCPlugin.m: Added.
2220 * DumpRenderTree/ObjCPluginFunction.h: Added.
2221 * DumpRenderTree/ObjCPluginFunction.m: Added.
2223 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2224 Added a new method, "removeDefaultMethod", which removes the default method from the
2225 plugin object's class. The effect is that the plugin object is mutated from a callable
2226 function to a simple object.
2228 Handle "removeDefaultMethod".
2229 (pluginInvokeDefault):
2230 Made the default method actually do something (return 1).
2232 2006-03-30 Eric Seidel <eseidel@apple.com>
2236 Remove WebFrame::viewImpl(), setMainFrame on page.
2238 * Spinneret/Spinneret/WebFrame.cpp:
2239 (WebKit::WebFrame::WebFrame):
2240 * Spinneret/Spinneret/WebFrame.h:
2241 * Spinneret/Spinneret/WebView.cpp:
2242 (WebKit::WebView::mouseMoved):
2243 (WebKit::WebView::mouseDown):
2244 (WebKit::WebView::mouseUp):
2245 (WebKit::WebView::mouseDoubleClick):
2246 (WebKit::WebViewWndProc):
2248 2006-03-30 Eric Seidel <eseidel@apple.com>
2252 Fix html editing input & basic form submission.
2254 * Spinneret/Spinneret/WebFrame.cpp:
2255 (WebKit::WebFrame::submitForm):
2256 (WebKit::WebFrame::loadURL):
2257 * Spinneret/Spinneret/WebFrame.h:
2258 * Spinneret/Spinneret/WebView.cpp:
2259 (WebKit::WebView::keyPress):
2260 (WebKit::WebViewWndProc):
2262 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2266 <rdar://problem/4402375>
2267 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2269 Added an option to draw the selectionRect.
2271 * DumpRenderTree/DumpRenderTree.m:
2273 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2274 (-[LayoutTestController dumpSelectionRect]):
2277 2006-03-29 Darin Adler <darin@apple.com>
2279 Reviewed by Tim Hatcher.
2281 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2283 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2285 2006-03-28 Eric Seidel <eseidel@apple.com>
2289 * Scripts/check-for-global-initializers: remove svg exceptions.
2291 2006-03-28 Timothy Hatcher <timothy@apple.com>
2295 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2297 * Scripts/check-for-global-initializers:
2299 2006-03-28 Timothy Hatcher <timothy@apple.com>
2301 Build fix. Turn off uninitialized warnings for the first block of code.
2303 * Scripts/check-for-global-initializers:
2305 2006-03-28 Darin Adler <darin@apple.com>
2309 * Scripts/check-for-global-initializers: Added.
2311 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2313 Reviewed by darin. Landed by eseidel.
2315 - http://bugs.webkit.org/show_bug.cgi?id=7947
2316 Add repaint testing support to run-webkit-tests
2318 * DumpRenderTree/DumpRenderTree.m:
2319 (main): Added --repaint and --horizontal-sweep options.
2320 (dump): Repaint line-by-line or column-by-column when the appropriate option
2322 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2323 and repaintSweepHorizontally() methods to layoutTestController.
2324 (-[LayoutTestController testRepaint]):
2325 (-[LayoutTestController repaintSweepHorizontally]):
2327 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2328 to force these settings on tests that do not ask for them.
2330 2006-03-24 Eric Seidel <eseidel@apple.com>
2336 * Spinneret/Spinneret/WebFrame.cpp:
2337 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2339 2006-03-21 Beth Dakin <bdakin@apple.com>
2343 Add support for keyDown() to DumpRenderTree.
2345 * DumpRenderTree/DumpRenderTree.m:
2346 (main): Set the preference for tabbing to links.
2347 * DumpRenderTree/EventSendingController.m:
2348 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2349 (+[EventSendingController webScriptNameForSelector:]):
2350 (-[EventSendingController keyDown:withModifiers:]):
2352 2006-03-20 Eric Seidel <eseidel@apple.com>
2358 * Spinneret/Spinneret/Spinneret.vcproj:
2359 * Spinneret/Spinneret/WebFrame.h:
2360 * Spinneret/Spinneret/WebView.cpp:
2361 (WebKit::WebView::mouseMoved):
2362 (WebKit::WebView::mouseDown):
2363 (WebKit::WebView::mouseUp):
2364 (WebKit::WebView::mouseDoubleClick):
2365 (WebKit::WebView::keyPress):
2366 (WebKit::WebViewWndProc):
2368 2006-03-19 Darin Adler <darin@apple.com>
2372 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2373 we can test it in layout tests. We don't really need tests that run with
2374 pop-up blocking off at the moment. If we do some day, we can add some
2375 API for turning it off in the layout test controller.
2377 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2378 don't ignore the leak; it should no longer show up.
2380 2006-03-17 Anders Carlsson <andersca@mac.com>
2384 * Scripts/install-win-extras:
2385 Fetch "Program Files" location from the environment.
2387 2006-03-17 Eric Seidel <eseidel@apple.com>
2391 Fix Spinneret to pass Events as const & not as pointers.
2393 * Spinneret/Spinneret/WebView.cpp:
2394 (WebKit::WebView::mouseMoved):
2395 (WebKit::WebView::mouseDown):
2396 (WebKit::WebView::mouseUp):
2397 (WebKit::WebView::mouseDoubleClick):
2398 (WebKit::WebView::keyPress):
2400 2006-03-17 Eric Seidel <eseidel@apple.com>
2402 Reviewed by justing.
2404 Add support for basic HTML editing.
2406 * Spinneret/Spinneret/WebView.cpp:
2407 (WebKit::WebView::WebView):
2408 (WebKit::WebView::keyPress):
2410 2006-03-17 Eric Seidel <eseidel@apple.com>
2412 Rubber-stamped by ggaren.
2414 Break DumpRenderTree.m up into several files to make the code more readable.
2416 * DumpRenderTree/DumpRenderTree.h: Added.
2417 * DumpRenderTree/DumpRenderTree.m:
2418 (doneLoading): new accessor function for "done" global.
2419 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2420 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2421 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2422 * DumpRenderTree/EditingDelegate.h: Added.
2423 * DumpRenderTree/EditingDelegate.m: Added.
2424 (-[EditingDelegate webViewDidChangeSelection:]):
2425 * DumpRenderTree/EventSendingController.h: Added.
2426 * DumpRenderTree/EventSendingController.m: Added.
2428 2006-03-16 Eric Seidel <eseidel@apple.com>
2432 Add resize, scroll event support.
2434 * Spinneret/Spinneret/WebView.cpp:
2435 (WebKit::WebView::mouseMoved):
2436 (WebKit::WebView::mouseDown):
2437 (WebKit::WebView::mouseUp):
2438 (WebKit::WebView::mouseDoubleClick):
2439 (WebKit::WebView::keyPress):
2440 (WebKit::WebViewWndProc):
2441 * Spinneret/Spinneret/WebView.h:
2443 2006-03-16 Eric Seidel <eseidel@apple.com>
2447 Make build-webkit print correctly to stdout on windows.
2449 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2451 2006-03-15 Eric Seidel <eseidel@apple.com>
2455 Fix eventSender.mouseClick() to update lastClick timestamp.
2457 * DumpRenderTree/DumpRenderTree.m:
2458 (-[EventSendingController mouseClick]):
2460 2006-03-15 Darin Adler <darin@apple.com>
2464 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2465 that had a lowercase "i" in it so this builds on case-sensitive
2468 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2472 Added run-testkjs and compare-timing-files scripts, to support super
2475 * Scripts/compare-timing-files: Added.
2476 * Scripts/run-testkjs: Added.
2478 2006-03-14 Eric Seidel <eseidel@apple.com>
2482 Make the URL bar relinquish focus on page load.
2484 * Spinneret/Spinneret/Spinneret.cpp:
2487 2006-03-14 Eric Seidel <eseidel@apple.com>
2491 Fix WebView to allow KeyFocus.
2492 Add handling of space and shift-space for scrolling.
2494 * Spinneret/Spinneret/WebView.cpp:
2495 (WebKit::scrollMessageForKey):
2496 (WebKit::WebViewWndProc):
2498 2006-03-10 Eric Seidel <eseidel@apple.com>
2502 Add scrolling support into Spinneret.
2504 * Spinneret/Spinneret/WebFrame.cpp:
2505 (WebKit::WebFrame::paint):
2506 * Spinneret/Spinneret/WebView.cpp:
2507 (WebKit::WebView::createWebView):
2508 (WebKit::calculateScrollDelta):
2509 (WebKit::scrollMessageForKey):
2510 (WebKit::WebViewWndProc):
2512 2006-03-13 Eric Seidel <eseidel@apple.com>
2516 Fix checksum generation on Intel machines.
2517 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2518 give a small speed boost now that it uses a shared buffer.
2520 * DumpRenderTree/DumpRenderTree.m:
2523 (md5HashStringForBitmap):
2524 * DumpRenderTree/ImageDiff.m:
2525 (computePercentageDifferent):
2527 2006-03-13 Darin Adler <darin@apple.com>
2529 Reviewed by Tim Hatcher.
2531 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2532 have it named httpd-1.3 instead.
2534 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2536 Fix proposed by Mitz Pettel, reviewed by Darin.
2538 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
2539 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2541 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2542 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2545 2006-03-09 Darin Adler <darin@apple.com>
2547 Reviewed by John Sullivan.
2549 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
2550 memory leak in the plug-in tests
2552 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2553 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2554 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2556 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2557 Moved the browser global in here since it's declared in this file's header.
2558 Changed the code to set up the pluginClass structure to not use function
2559 pointer casts. Those are dangerous because they can hide many types of mismatch.
2560 And indeed when I did this I discovered that many functions were missing their
2561 boolean return values or had parameter declarations with the wrong types.
2562 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2563 clarity. Added boolean return value: return true when successful and false when not.
2564 (pluginSetProperty): Added boolean return value, return false since we have no
2565 properties we can set.
2566 (pluginInvoke): Added boolean return value. Return true when successful and false
2567 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2568 return value from calling the browser. Changed code to put the strings in malloc
2569 buffers instead of relying on GCC's extension that allows variable-sized arrays
2571 (pluginInvokeDefault): Added boolean return value, return false since we have no
2572 default function to call.
2573 (pluginInvalidate): Added missing parameter. Removed comment.
2574 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2575 to cast the result of malloc.
2576 (pluginDeallocate): Removed uneeded cast.
2578 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2579 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2580 that match NPObject's fields. Removed unused NPWindow pointer.
2582 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2584 Test: fast/events/event-sender-mouse-click.html
2588 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
2589 DRT hangs when doing eventSender.mouseDown on native widgets
2591 * DumpRenderTree/DumpRenderTree.m:
2592 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2593 (-[EventSendingController mouseClick]): Simulates a click in a native
2594 widget by queueing a mouseUp before sending the mouseDown, so that
2595 the widget's mouse tracking event loop doesn't hang indefinitely.
2597 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2601 - make link clicks work by handling link click requests
2604 * Spinneret/Spinneret/Spinneret.cpp:
2605 (updateLocationBar):
2606 * Spinneret/Spinneret/Spinneret.h:
2607 * Spinneret/Spinneret/WebFrame.cpp:
2608 (WebKit::WebFrame::WebFrame):
2609 (WebKit::WebFrame::openURL):
2610 (WebKit::WebFrame::loadURL):
2611 * Spinneret/Spinneret/WebFrame.h:
2613 2006-03-08 Eric Seidel <eseidel@apple.com>
2617 Focus URL bar on Spinneret launch, remove border from WebView.
2618 Stop WebFrame from deleting the job (prevent crash).
2620 * Spinneret/Spinneret/Spinneret.cpp:
2622 * Spinneret/Spinneret/WebFrame.cpp:
2623 (WebKit::WebFrame::receivedAllData):
2624 (WebKit::WebFrame::paint):
2625 * Spinneret/Spinneret/WebView.cpp:
2626 (WebKit::WebView::createWebView):
2628 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2632 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2633 (pluginInvoke): Added a method to test getURL.
2635 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2639 - load URLs, not file paths, in Spinneret
2641 * Spinneret/Spinneret/Spinneret.cpp:
2643 * Spinneret/Spinneret/Spinneret.vcproj:
2644 * Spinneret/Spinneret/WebFrame.cpp:
2645 (WebKit::WebFrame::loadURL):
2646 (WebKit::WebFrame::receivedData):
2647 (WebKit::WebFrame::receivedAllData):
2648 * Spinneret/Spinneret/WebFrame.h:
2649 * Spinneret/Spinneret/WebView.cpp:
2650 (WebKit::WebView::WebView):
2652 2006-03-08 Darin Adler <darin@apple.com>
2656 - fixed AppleScript layout test results to not be endian-dependent
2657 (Hyatt complained to me about this one)
2659 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2660 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2661 (which are endian-dependent).
2663 2006-03-07 Darin Adler <darin@apple.com>
2667 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
2668 unwanted output while running layout tests
2670 * DumpRenderTree/DumpRenderTree.m:
2671 (checkedMalloc): Added.
2672 (checkedRealloc): Added.
2673 (makeLargeMallocFailSilently): Added.
2674 (main): Call makeLargeMallocFailSilently.
2676 2006-03-06 Darin Adler <darin@apple.com>
2678 * Scripts/do-webcore-rename: Add some more planned renaming.
2680 2006-03-06 Eric Seidel <eseidel@apple.com>
2684 * Spinneret/Spinneret/WebFrame.cpp:
2685 (WebKit::WebFrame::paint): force layout before painting
2687 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2691 Sent the windowNumber when sending events.
2692 Added leapForward so that we don't have to spend time waiting
2693 in layout tests that do mouse operations that require delays.
2695 * DumpRenderTree/DumpRenderTree.m:
2696 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2697 (+[EventSendingController webScriptNameForSelector:]):
2698 (-[EventSendingController currentEventTime]):
2699 (-[EventSendingController leapForward:]):
2700 (-[EventSendingController mouseDown]):
2701 (-[EventSendingController mouseUp]):
2702 (-[EventSendingController mouseMoveToX:Y:]):
2704 2006-03-05 Darin Adler <darin@apple.com>
2706 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2707 Script now works (after landing my two pending patches).
2709 2006-03-05 Darin Adler <darin@apple.com>
2711 - check in a script to do a "big" rename in WebCore
2712 (can be run whenever we're ready to do it)
2714 * Scripts/do-webcore-rename: Added.
2716 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2720 * Spinneret/Spinneret/WebFrame.cpp:
2721 (WebKit::WebFrame::loadFilePath): Close file when done.
2723 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2725 Reviewed by Darin, landed by ap.
2727 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
2728 Mouse moved events do not work in DumpRenderTree
2730 Test: fast/events/event-sender-mouse-moved.html
2732 * DumpRenderTree/DumpRenderTree.m:
2733 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2735 2006-03-04 Eric Seidel <eseidel@apple.com>
2739 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2740 Disable background erase to avoid tearing.
2741 Fix potential memory smasher from extra long urls.
2743 * Spinneret/Spinneret/Spinneret.cpp:
2745 * Spinneret/Spinneret/Spinneret.vcproj:
2746 * Spinneret/Spinneret/WebFrame.cpp:
2747 (WebKit::WebFrame::loadFilePath):
2748 (WebKit::WebFrame::paint):
2749 * Spinneret/Spinneret/WebView.cpp:
2750 (WebKit::registerWebViewWithInstance):
2752 2006-03-04 Eric Seidel <eseidel@apple.com>
2756 Hang WebView pointer off of HWND (gets rid of global hack).
2757 Remove MessageBox displayed on url change.
2759 * Spinneret/Spinneret/Spinneret.cpp:
2762 * Spinneret/Spinneret/WebView.cpp:
2763 (WebKit::registerWebViewWithInstance):
2764 (WebKit::WebView::createWebView):
2765 (WebKit::WebViewWndProc):
2767 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2771 Automatically kill httpd if it appears to be already running.
2773 * Scripts/run-webkit-tests:
2775 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2779 * Spinneret/Spinneret/WebFrame.cpp:
2780 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2782 2006-03-03 Eric Seidel <eseidel@apple.com>
2786 A few more fixes to make run-webkit-tests really work on win32.
2788 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2790 * Scripts/run-webkit-tests:
2792 2006-03-03 Eric Seidel <eseidel@apple.com>
2796 Make run-webkit-tests work on win32.
2798 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2800 (dumpRenderTreeMain):
2801 (dumpRenderTreeToStdOut):
2802 (serializeToStdOut):
2804 * Scripts/run-webkit-tests:
2805 * Scripts/webkitdirs.pm:
2806 * Spinneret/Spinneret/WebView.cpp:
2807 (WebKit::WebView::WebView):
2809 2006-03-03 Eric Seidel <eseidel@apple.com>
2813 Add WebFrame class (to hold Frame and FrameView).
2814 Add Location bar support to Spinneret.
2816 * Spinneret/Spinneret/Spinneret.cpp:
2821 * Spinneret/Spinneret/Spinneret.vcproj:
2822 * Spinneret/Spinneret/WebFrame.cpp: Added.
2823 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2824 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2825 (WebKit::WebFrame::WebFrame):
2826 (WebKit::WebFrame::loadFilePath):
2827 (WebKit::WebFrame::loadHTMLString):
2828 (WebKit::WebFrame::paint):
2829 (WebKit::WebFrame::impl):
2830 (WebKit::WebFrame::viewImpl):
2831 * Spinneret/Spinneret/WebFrame.h: Added.
2832 * Spinneret/Spinneret/WebView.cpp:
2833 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2834 (WebKit::WebView::WebView):
2835 (WebKit::WebView::windowHandle):
2836 (WebKit::WebView::mainFrame):
2837 (WebKit::WebView::mouseMoved):
2838 (WebKit::WebView::mouseDown):
2839 (WebKit::WebView::mouseUp):
2840 (WebKit::WebView::mouseDoubleClick):
2841 (WebKit::WebViewWndProc):
2842 * Spinneret/Spinneret/WebView.h:
2844 2006-03-02 Eric Seidel <eseidel@apple.com>
2848 * Spinneret/Spinneret/WebView.cpp:
2849 (WebKit::registerWebViewWithInstance):
2850 (WebKit::WebView::WebView):
2851 (WebKit::WebView::mouseMoved):
2852 (WebKit::WebView::mouseDown):
2853 (WebKit::WebView::mouseUp):
2854 (WebKit::WebView::mouseDoubleClick):
2855 (WebKit::WebViewWndProc):
2856 * Spinneret/Spinneret/WebView.h:
2858 2006-03-01 Eric Seidel <eseidel@apple.com>
2860 Reviewed by andersca.
2862 Make spinneret take advantage of the new GraphicsContextCairo.
2864 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2865 (main): updated to match style guidelines.
2866 * Spinneret/Spinneret/Spinneret.cpp:
2868 * Spinneret/Spinneret/WebView.cpp:
2869 (WebKit::registerWebViewWithInstance):
2870 (WebKit::WebView::WebView):
2871 (WebKit::WebView::~WebView):
2872 (WebKit::WebView::drawRect):
2874 * Spinneret/Spinneret/WebView.h:
2876 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2880 Give the events that eventSender sends a unique eventNumber
2882 * DumpRenderTree/DumpRenderTree.m:
2883 (-[EventSendingController mouseDown]):
2884 (-[EventSendingController mouseUp]):
2885 (-[EventSendingController mouseMoveToX:Y:]):
2887 2006-03-01 Eric Seidel <eseidel@apple.com>
2891 Add a stub win32 application to test WebCore drawing on windows.
2894 * Spinneret/Spinneret: Added.
2895 * Spinneret/Spinneret.sln: Added.
2896 * Spinneret/Spinneret/Resource.h: Added.
2897 * Spinneret/Spinneret/Spinneret.cpp: Added.
2903 * Spinneret/Spinneret/Spinneret.h: Added.
2904 * Spinneret/Spinneret/Spinneret.ico: Added.
2905 * Spinneret/Spinneret/Spinneret.rc: Added.
2906 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2907 * Spinneret/Spinneret/WebView.cpp: Added.
2908 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2909 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2910 (WebKit::registerWebViewWithInstance):
2911 (WebKit::WebView::createWebView):
2912 (WebKit::WebView::WebView):
2913 (WebKit::WebView::~WebView):
2914 (WebKit::WebView::drawRect):
2915 (WebKit::WebView::windowHandle):
2917 * Spinneret/Spinneret/WebView.h: Added.
2918 * Spinneret/Spinneret/small.ico: Added.
2919 * Spinneret/Spinneret/stdafx.cpp: Added.
2920 * Spinneret/Spinneret/stdafx.h: Added.
2922 2006-02-28 Eric Seidel <eseidel@apple.com>
2926 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2927 (main): add ability to dump render tree and read from a local file.
2929 2006-02-27 Eric Seidel <eseidel@apple.com>
2933 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2935 2006-02-27 Eric Seidel <eseidel@apple.com>
2939 Test new KConfig -> PlugInInfoStore change.
2940 http://bugs.webkit.org/show_bug.cgi?id=7498
2942 * DumpRenderTree/DumpRenderTree.m:
2943 (main): load test netscape plugin
2944 * Scripts/run-webkit-tests: style update
2946 2006-02-24 Eric Seidel <eseidel@apple.com>
2950 Make DumpRenderTree link against icu.
2952 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2954 2006-02-24 Eric Seidel <eseidel@apple.com>
2958 Make DumpRenderTree link against libxml, etc.
2960 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2962 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2964 Reviewed and landed by Anders.
2966 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2967 getting called from the run loop, making the view render each test and thus slowing
2970 * DumpRenderTree/DumpRenderTree.m:
2971 (main): Set the offscreen window to not autodisplay.
2973 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2977 - Turn http tests back on by default.
2978 - Wait for Apache to actually start serving requests.
2979 - Get user id from a built-in variable rather than an external command;
2980 don't pass the group.
2982 * Scripts/run-webkit-tests:
2984 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2986 Suggested by Mitz Pettel, reviewed by Darin.
2988 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2989 can run CGIs even if the permissions are 700 or 600.
2991 2006-02-23 Darin Adler <darin@apple.com>
2993 Collaborating with Alexey.
2995 - turn off http tests by default until we figure out how to get them
2996 to run even when permissions on CGI files are 700 instead of 755
2998 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
3000 2006-02-23 Eric Seidel <eseidel@apple.com>
3002 Add *.user to ignore list.
3004 2006-02-23 Eric Seidel <eseidel@apple.com>
3006 Remove binary file which shouldn't have been commited (and add to ignore list).
3008 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
3009 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
3011 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3015 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
3017 2006-02-22 Eric Seidel <eseidel@apple.com>
3019 Reviewed by Tim Hatcher.
3021 Fix install-win-extras to not try to re-install setx if installed.
3023 * Scripts/install-win-extras:
3025 2006-02-22 Eric Seidel <eseidel@apple.com>
3027 One more file possibly missing from previous commit?
3029 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
3030 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3032 2006-02-22 Eric Seidel <eseidel@apple.com>
3034 Reviewed by justing.
3036 Files missing from previous commit.
3038 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3039 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
3041 2006-02-22 Eric Seidel <eseidel@apple.com>
3043 Rubber-stamped by justing.
3045 Corrected path for DumpRenderTree.intermediate files
3047 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3049 2006-02-22 Eric Seidel <eseidel@apple.com>
3051 Reviewed by justing.
3053 Fixed build-dumprendertree to exit with correct error codes.
3055 * Scripts/build-dumprendertree:
3057 2006-02-22 Eric Seidel <eseidel@apple.com>
3059 Reviewed by justing.
3061 Update build scripts to generalize building on Win32, and allow
3062 building of DumpRenderTree on Win32 from build-dumprendertree.
3064 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3066 * Scripts/build-dumprendertree:
3067 * Scripts/build-webkit:
3068 * Scripts/webkitdirs.pm:
3070 2006-02-22 Eric Seidel <eseidel@apple.com>
3074 * DumpRenderTree/DumpRenderTree.vcproj: Added.
3075 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
3076 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
3077 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
3078 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
3079 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
3081 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
3082 * Scripts/build-webkit: make build-webkit cleanup after itself
3084 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3088 - http://bugs.webkit.org/show_bug.cgi?id=7409
3089 Some minor fixes to http tests.
3091 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
3093 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
3097 - http://bugs.webkit.org/show_bug.cgi?id=6197
3098 Would like to use locally installed Apache for testing.
3100 Added two run-webkit-tests options:
3101 --http (--nohttp) - whether to launch Apache (defaults to yes);
3102 --port - which port to listen on (defaults to 8000).
3104 Tests in LayoutTests/http are not run directly, and Apache is used instead.
3105 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
3106 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
3108 Also added support for .shtml and .text files. Text files give an empty
3109 *-expected.txt, but a correct image.
3111 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
3113 * Scripts/run-webkit-tests:
3115 2006-02-21 Darin Adler <darin@apple.com>
3117 Suggested by Mark Rowe.
3119 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
3120 reporting leak counts.
3122 2006-02-18 Maciej Stachowiak <mjs@apple.com>
3126 - Added install-win-extras script which installs some extra
3127 programs and libraries, and does Windows first-time setup.
3129 * Scripts/build-webkit: Add a newline between build results.
3130 * Scripts/install-win-extras: Added.
3132 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3136 - http://bugs.webkit.org/show_bug.cgi?id=7308
3137 DumpRenderTree should be able to load files via HTTP
3139 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
3140 Handle tests starting with "http://" as real URLs, not file system paths.
3142 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3146 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
3147 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
3149 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
3151 2006-02-18 Darin Adler <darin@apple.com>
3153 * Scripts/commit-log-editor: Added.
3155 2006-02-17 Eric Seidel <eseidel@apple.com>
3159 Make Win32 have the same default "WebKitBuild" directory behavior.
3161 * Scripts/build-webkit:
3162 * Scripts/webkitdirs.pm:
3164 2006-02-17 Eric Seidel <eseidel@apple.com>
3168 * Scripts/build-webkit: make win32 actually report errors
3170 2006-02-17 Eric Seidel <eseidel@apple.com>
3174 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
3176 2006-02-17 Eric Seidel <eseidel@apple.com>
3180 * Scripts/run-webkit-tests: Ignore flash leaks
3182 2006-02-15 Justin Garcia <justin.garcia@apple.com>
3186 <http://bugs.webkit.org/show_bug.cgi?id=7148>
3187 Add drag and drop support to DumpRenderTree
3189 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
3190 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
3192 * DumpRenderTree/DumpRenderTree.m:
3194 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3195 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3196 (-[WaitUntilDoneDelegate webViewFocus:]):
3197 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3198 (+[LayoutTestController webScriptNameForSelector:]):
3199 (-[LayoutTestController setWindowIsKey:]):
3200 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3201 (-[EventSendingController init]):
3202 (-[EventSendingController mouseDown]):
3203 (-[EventSendingController mouseUp]):
3204 (-[EventSendingController mouseMoveToX:Y:]):
3206 (-[DumpRenderTreeWindow isKeyWindow]):
3207 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
3208 (-[DumpRenderTreeDraggingInfo dealloc]):
3209 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3210 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
3211 (-[DumpRenderTreeDraggingInfo draggingLocation]):
3212 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
3213 (-[DumpRenderTreeDraggingInfo draggedImage]):
3214 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
3215 (-[DumpRenderTreeDraggingInfo draggingSource]):
3216 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
3217 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
3218 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
3219 * DumpRenderTree/TextInputController.m:
3220 (-[TextInputController firstRectForCharactersFrom:length:]):
3221 (-[TextInputController characterIndexForPointX:Y:]):
3223 2006-02-15 Geoffrey Garen <ggaren@apple.com>
3227 * DumpRenderTree/DumpRenderTree.m:
3228 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3229 Added a dummy method for the sake of LayoutTests/plugins/
3230 undefined-property-crash.html. (It tests a crash due to fallback
3231 object use. WebCore won't create a fallback object if the method is
3234 2006-02-14 Eric Seidel <eseidel@apple.com>
3238 * Scripts/run-webkit-tests: added --results-directory (-o) option
3240 2006-02-09 Eric Seidel <eseidel@apple.com>
3242 Rubber-stamped by mjs.
3244 Renamed split-class to split-file-by-class.
3246 * Scripts/build-webkit: Updated copyright.
3247 * Scripts/split-class: Removed.
3248 * Scripts/split-file-by-class: Added.
3250 2006-02-08 Eric Seidel <eseidel@apple.com>
3252 Rubber-stamped by mjs.
3254 Adding new script for splitting multi-class files.
3255 Also adding supporting perl module with space removing heuristics.
3257 * Scripts/SpacingHeuristics.pm: Added.
3258 * Scripts/build-drawtest: updated copyright header
3259 * Scripts/split-class: Added.
3261 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3263 Reviewed by thatcher
3265 Changes to test fix for:
3266 <http://bugs.webkit.org/show_bug.cgi?id=3982>
3267 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3269 * DumpRenderTree/DumpRenderTree.m:
3270 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3271 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3272 (+[LayoutTestController webScriptNameForSelector:]):
3273 (-[LayoutTestController setWindowHasFocus:]):
3274 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3276 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3278 Reviewed by Timothy.
3280 Support automated testing of AppleScript "do JavaScript" command
3281 http://bugs.webkit.org/show_bug.cgi?id=7012
3283 * DumpRenderTree/AppleScriptController.h: Added.
3284 * DumpRenderTree/AppleScriptController.m: Added.
3285 * DumpRenderTree/DumpRenderTree.m:
3286 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3287 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3289 2006-02-06 Eric Seidel <eseidel@apple.com>
3293 Fix build-webkit for use on win32 (unblocks buildbot usage).
3294 http://bugs.webkit.org/show_bug.cgi?id=7122
3296 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3297 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3299 2006-02-06 Eric Seidel <eseidel@apple.com>
3301 Rubber-stamped by darin & mjs.
3303 Added new support directory for build slave scripts.
3304 Committing the first script, for use by the PLT's build slave.
3305 This script is used to kick of the PLT (Page Load Test) slave.
3307 * BuildSlaveSupport: Added.
3308 * BuildSlaveSupport/run-performance-tests: Added.
3310 2006-02-06 Eric Seidel <eseidel@apple.com>
3312 Rubber-stamped by darin.
3314 Adding setSourceDir for scripts stored in non-standard locations.
3316 * Scripts/webkitdirs.pm:
3318 2006-02-04 Darin Adler <darin@apple.com>
3320 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3321 Configuration files that say Development or Deployment in them.
3323 2006-02-04 Darin Adler <darin@apple.com>
3325 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3326 wrapper already in the directory.
3327 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3328 these haven't been working at all.
3329 * Scripts/svn-unapply: Ditto.
3331 2006-02-03 Timothy Hatcher <timothy@apple.com>
3335 Renamed configuration names to Debug, Release and Production.
3337 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3338 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3339 * Scripts/set-webkit-configuration:
3340 * Scripts/webkitdirs.pm:
3342 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3344 Reviewed by thatcher
3346 Enabled spell checking for layout tests.
3348 * DumpRenderTree/DumpRenderTree.m:
3351 2006-01-29 Darin Adler <darin@apple.com>
3353 * Scripts/svn-apply: Added comments about things we should do to improve.
3354 * Scripts/svn-create-patch: Ditto.
3355 * Scripts/svn-unapply: Ditto.
3357 2006-01-28 Darin Adler <darin@apple.com>
3359 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3360 already there, even if the checksum is correct.
3362 2006-01-27 Eric Seidel <eseidel@apple.com>
3366 * Scripts/run-webkit-tests: make new tests use absolute urls
3368 2006-01-27 Eric Seidel <eseidel@apple.com>
3372 make run-webkit-tests output total leaks count
3374 * Scripts/run-webkit-tests:
3376 2006-01-27 Eric Seidel <eseidel@apple.com>
3380 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3381 http://bugs.webkit.org/show_bug.cgi?id=6869
3383 * Scripts/run-webkit-tests: fix --leaks to not crash
3385 2006-01-26 Eric Seidel <eseidel@apple.com>
3389 run-webkit-tests should produce a self-contained results directory
3390 http://bugs.webkit.org/show_bug.cgi?id=6864
3392 * Scripts/run-webkit-tests: copy failing items to results dir.
3394 2006-01-23 Darin Adler <darin@apple.com>
3396 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
3397 need script to update localizable strings file in WebKit
3399 * Scripts/update-webkit-localizable-strings: Added.
3401 2006-01-23 Darin Adler <darin@apple.com>
3403 - added a couple of scripts -- more about these two soon
3405 * Scripts/extract-localizable-strings: Added.
3406 * Scripts/merge-changelog: Added.
3408 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3412 Build fix. build-webkit dies with "invalid build action: (empty string)"
3414 * Scripts/build-webkit:
3415 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3417 2006-01-22 Eric Seidel <eseidel@apple.com>
3421 Fix --no-svg option to use XCode flags instead of gcc flags.
3423 * Scripts/build-webkit:
3425 2006-01-22 Eric Seidel <eseidel@apple.com>
3429 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3431 * Scripts/build-webkit:
3433 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3435 Reviewed by eseidel.
3437 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
3438 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3440 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3441 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3443 2006-01-19 Darin Adler <darin@apple.com>
3445 * Scripts/report-include-statistics: Added a new script.
3447 2006-01-19 Timothy Hatcher <timothy@apple.com>
3449 * Scripts/build-webkit: include JavaScriptGlue in the build
3451 2006-01-19 Darin Adler <darin@apple.com>
3453 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3454 spaces in it by using the form of open that treats each argument as a string
3455 rather than backtick syntax for reading the output of the nm tool.
3457 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3461 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3462 detect if there are any new tests
3464 * Scripts/prepare-ChangeLog:
3466 2006-01-12 Darin Adler <darin@apple.com>
3468 - removed some of the cvs-specific scripts -- not needed for this project any more
3470 * Scripts/cvs-abandon: Removed.
3471 * Scripts/cvs-apply: Removed.
3472 * Scripts/cvs-create-patch: Removed.
3473 * Scripts/cvs-unapply: Removed.
3475 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3477 Reviewed by eseidel. Committed by eseidel.
3479 - run-webkit-tests always launches Safari when tests fail
3480 http://bugs.webkit.org/show_bug.cgi?id=6456
3482 * Scripts/run-webkit-tests:
3483 Add a command-line flag to prevent Safari being launched to display failed
3484 tests. Always exit with non-zero status when tests have failed.
3486 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3488 Reviewed by eseidel. Committed by eseidel.
3490 - build-webkit should exit with non-zero status when build fails
3491 http://bugs.webkit.org/show_bug.cgi?id=6459
3493 * Scripts/build-webkit:
3494 Use correct bits of subprocess exit code when passing back through
3495 as build-webkit's exit code.
3497 2006-01-10 Eric Seidel <eseidel@apple.com>
3499 Restored corrupted nibs from TOT CVS.
3501 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3502 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3503 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3504 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3505 * DrawTest/English.lproj/Inspector.nib: Replaced.
3506 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3507 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3508 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3509 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3510 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3511 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3512 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3513 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3514 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3515 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3516 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3518 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3520 Reviewed by eseidel. Committed by eseidel.
3522 DrawTestView now subclasses WebView instead of DrawView.
3524 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3525 * DrawTest/DrawTestDocument.h:
3526 * DrawTest/DrawTestDocument.m:
3527 (-[DrawTestDocument dealloc]):
3528 (-[DrawTestDocument readFromFile:ofType:]):
3529 (-[DrawTestDocument windowControllerDidLoadNib:]):
3530 (-[DrawTestDocument dumpSVGToConsole:]):
3531 (-[DrawTestDocument openSourceForSelection:]):
3532 (-[DrawTestDocument dataRepresentationOfType:]):
3533 * DrawTest/DrawTestToolbarController.h:
3534 * DrawTest/DrawTestToolbarController.m:
3535 (-[DrawTestToolbarController initWithDrawView:]):
3536 (-[DrawTestToolbarController clickedToolbarItem:]):
3537 (-[DrawTestToolbarController validateToolbarItem:]):
3538 * DrawTest/DrawTestView.h:
3539 * DrawTest/DrawTestView.m:
3540 (-[DrawTestView initWithFrame:]):
3541 (-[DrawTestView setDocument:]):
3542 * DrawTest/SVGTest.h:
3543 * DrawTest/SVGTest.m:
3544 (+[SVGTest sharedDrawView]):
3545 (-[SVGTest generateCompositeIfNecessary]):
3546 * DrawTest/TestController.h:
3547 * DrawTest/TestController.m:
3548 (-[TestController awakeFromNib]):
3549 (-[TestController setSelectedTest:]):
3550 (-[TestController openTestViewerForSelection:]):
3551 (-[TestController toggleViewersScaleRule:]):
3552 * DrawTest/TestViewerSplitView.m:
3553 (-[TestViewerSplitView drawRect:]):
3555 2006-01-10 Anders Carlsson <andersca@mac.com>
3557 Reviewed by Timothy.
3559 * DumpRenderTree/DumpRenderTree.m:
3560 (main): Set the default language to "en", so language tests will work.
3562 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3566 - script to generate HTML wrappers for JS tests
3567 http://bugs.webkit.org/show_bug.cgi?id=6441
3569 * Scripts/make-js-test-wrappers: Added.
3571 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3575 * Scripts/svn-create-patch: Fix to work when passed directory names.
3577 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3581 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3582 can start writing automated loader tests now. I have one in the works.
3584 * DumpRenderTree/DumpRenderTree.m:
3585 (main): Construct global navigationController on entry, destroy on exit.
3586 Set frame to nil on exit too, to match all the other global objects.
3587 (Probably academic, since the process is exiting, anyway.)
3588 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3589 navigationController, in case it wants to kick off a load.
3590 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3591 the navigationController to scripting.
3593 New class, should be straightforward:
3595 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3596 * DumpRenderTree/NavigationController.h: Added.
3597 * DumpRenderTree/NavigationController.m: Added.
3599 (+[NavigationController isSelectorExcludedFromWebScript:]):
3600 (+[NavigationController webScriptNameForSelector:]):
3601 (-[NavigationController setPendingScript:]):
3602 (-[NavigationController setPendingRequest:]):
3603 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3604 (-[NavigationController webView:didFinishLoadForFrame:]):
3605 (-[NavigationController dealloc]):
3607 2006-01-08 Timothy Hatcher <timothy@apple.com>
3609 Removed this script, no longer needs with the Subversion switch.
3611 * checkout: Removed.
3613 2006-01-08 Timothy Hatcher <timothy@apple.com>
3615 Removes some stray tabs.
3617 * Scripts/update-webkit:
3619 2005-01-07 Eric Seidel <eseidel@apple.com>
3623 build-webkit should pass on build arguments from command line
3624 http://bugs.webkit.org/show_bug.cgi?id=5854
3626 * Scripts/build-webkit:
3628 2006-01-07 Eric Seidel <eseidel@apple.com>
3630 Reviewed by mjs & xenon.
3632 * Scripts/update-webkit: support Internal updates as well
3634 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3636 Temporarily rolling out plugin support from DumpRenderTree because it
3637 caused lots of layout test regressions.
3639 * DumpRenderTree/DumpRenderTree.m:
3640 (main): Remove invisible window added to support plugins.
3642 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3646 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
3647 Add plugin support to DumpRenderTree
3649 Also wrote first test plugin.
3651 * DumpRenderTree/DumpRenderTree.m:
3653 (1) Put the WebView in an invisible window, because PlugIns are
3654 optimized not to load if there's no parent window.
3655 (2) Tell WebKit to load any PlugIns in the directory from which we
3656 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3657 and they'll load automagically during layout testing, but they won't be
3658 added to the user's system, hosing apps like Safari.
3660 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3661 test PlugIn to project.
3663 PlugIn added to project:
3665 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3666 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3668 (initializeIdentifiers):
3669 (pluginHasProperty):
3671 (pluginGetProperty):
3672 (pluginSetProperty):
3674 (pluginInvokeDefault):
3678 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3679 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3681 (NP_GetEntryPoints):
3687 (NPP_DestroyStream):
3697 2006-01-04 Timothy Hatcher <timothy@apple.com>
3701 Tweaked and tested by me.
3703 New scripts to work with Subversion when the switch happens.
3704 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3706 * Scripts/svn-apply: Added.
3707 * Scripts/svn-create-patch: Added.
3708 * Scripts/svn-unapply: Added.
3710 2005-12-30 Eric Seidel <eseidel@apple.com>
3714 Move WebView width/height logic into DumpRenderTree to support
3715 running the W3C SVG 1.1 tests along side other tests. The W3C
3716 SVG 1.1 tests require a 480x360 view.
3718 * DumpRenderTree/DumpRenderTree.m:
3719 (main): don't accept width/height
3720 (dump): override width/height for SVG/W3C
3721 * Scripts/run-webkit-tests: don't pass width/height
3723 2005-12-30 Eric Seidel <eseidel@apple.com>
3725 No review, only removing dead code.
3727 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3728 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3730 2005-12-30 Eric Seidel <eseidel@apple.com>
3734 DumpRenderTree should set a consistent color profile while running
3735 http://bugs.webkit.org/show_bug.cgi?id=6155
3737 Creates consistent colormatched renderings on every test machine
3738 using the only way possible with Tiger APIs: by setting the
3739 system color profile on the test machine for the duration of the
3740 tests. This will (unfortunately) cause colors to change while
3741 running DumpRenderTree. This can also cause "permanent" color
3742 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3743 This is far from ideal, but it's be best way we've found to deal
3744 with the issue for now.
3746 * DumpRenderTree/DumpRenderTree.m:
3747 (restoreColorSpace):
3748 (setDefaultColorProfileToRGB):
3751 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3753 Reviewed by Darin Adler.
3755 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
3756 cvs-create-patch --include produces incorrect paths
3758 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3760 2005-12-19 Eric Seidel <eseidel@apple.com>
3764 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3766 2005-12-19 Darin Adler <darin@apple.com>
3768 Reviewed by Eric Seidel.
3770 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
3771 WebKit needs to use a local pasteboard during testing
3773 * DumpRenderTree/DumpRenderTree.m:
3774 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3775 Create a local pasteboard (really a global one with a unique name) and release
3776 it when exiting from the function so we don't leave it in the pasteboard server.
3777 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3778 ddn't have one. Fixed a leak in an unlikely error case.
3779 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3780 of this method to return our local pasteboard.
3782 2005-12-15 Eric Seidel <eseidel@apple.com>
3784 Reviewed by Tim Hatcher.
3786 * Scripts/build-webkit: --svg is now default!
3788 2005-12-15 Eric Seidel <eseidel@apple.com>
3792 Don't run svg test automatically if +SVG is built (yet).
3794 * Scripts/run-webkit-tests:
3796 2005-12-15 Darin Adler <darin@apple.com>
3798 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3799 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3800 passed on the command line.
3802 2005-12-06 John Sullivan <sullivan@apple.com>
3804 Reviewed by Darin Adler.
3806 * Scripts/prepare-ChangeLog:
3807 Remove special-case handling for nib files. This avoided trouble with cvs diff
3808 when we were using wrappers for nib files. Now that we aren't using wrappers,
3809 there's no reason to avoid adding the modified nib files to the file list that
3812 2005-12-05 Eric Seidel <eseidel@apple.com>
3816 Script updates for SVG files move (remove references to SVGSupport)
3818 * Scripts/build-webkit: remove SVGSupport
3819 * Scripts/run-webkit-tests: Resources -> resources for --svg
3820 * Scripts/update-webkit: remove SVGSupport
3822 2005-12-05 Eric Seidel <eseidel@apple.com>
3826 * checkout: remove --svg support, SVG is now checked out by default
3828 2005-11-29 Eric Seidel <eseidel@apple.com>
3832 Update scripts to run SVG tests automatically (w/o --svg) if
3833 WebCore is built with SVG support.
3835 * Scripts/build-drawtest: SVG support required
3836 * Scripts/build-dumpkcanvastree: Removed.
3837 * Scripts/run-drawtest: SVG support required to run
3838 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3839 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3841 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3843 Reviewed by Darin. Committed by Maciej.
3845 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3846 (http://bugs.webkit.org/show_bug.cgi?id=5838)
3848 * DumpRenderTree/DumpRenderTree.m:
3851 2005-11-28 Eric Seidel <eseidel@apple.com>
3853 Reviewed by sullivan and GGAREN.
3855 Minor additions to make error messages more clear from cvs-apply.
3857 * Scripts/cvs-apply: make errors more clear
3859 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3861 Reviewed and committed by Maciej.
3863 - fixed cvs-create-patch --include produces incorrect paths
3864 (http://bugs.webkit.org/show_bug.cgi?id=5846)
3866 * Scripts/cvs-create-patch: produce proper paths for new files.
3868 2005-11-21 Eric Seidel <eseidel@apple.com>
3872 Some simple fixes to the build/test scripts now that SVG uses the
3873 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3874 or symlinks for KDOM.
3876 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3877 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3878 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3879 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3880 * checkout: no longer symlink kdom
3882 2005-11-10 Eric Seidel <eseidel@apple.com>
3886 * Scripts/build-webkit: Pass through options to xcodebuild
3888 2005-11-07 Darin Adler <darin@apple.com>
3890 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3892 2005-11-03 John Sullivan <sullivan@apple.com>
3896 * Scripts/run-safari:
3897 changed message to say "Starting Safari" instead of odd "Start Safari"
3898 * Scripts/run-webkit-tests:
3899 changed the way we pass the file parameter to use -NSOpen rather than relying on
3900 unlabeled arguments being treated as files. This was failing on some machines that
3901 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3903 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3905 Patch by Alexey Proskuryakov.
3909 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
3910 TextInputController should support attributed strings
3912 * DumpRenderTree/TextInputController.m:
3913 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3914 (+[NSMutableAttributedString webScriptNameForSelector:]):
3915 (-[NSMutableAttributedString getLength]):
3916 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3917 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3918 (-[NSMutableAttributedString addAttribute:value:]):
3919 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3920 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3921 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3922 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3923 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3924 (+[TextInputController isSelectorExcludedFromWebScript:]):
3925 (+[TextInputController webScriptNameForSelector:]):
3926 (-[TextInputController insertText:]):
3927 (-[TextInputController attributedSubstringFrom:length:]):
3928 (-[TextInputController attributedStringWithString:]):
3930 2005-10-11 Eric Seidel <eseidel@apple.com>
3934 Checks for leaks in ImageDiff too.
3936 * Scripts/run-webkit-tests:
3938 2005-10-09 Darin Adler <darin@apple.com>
3940 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3941 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3942 * Scripts/cvs-unapply: Ditto.
3943 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3945 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3947 Reviewed, rearranged and landed by Darin.
3949 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
3950 Need a way to automatically test for regressions in NSTextInput implementation
3952 * DumpRenderTree/DumpRenderTree.m:
3953 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3954 Create a text input controller and put it in a property of the window object.
3956 * DumpRenderTree/TextInputController.h: Added.
3957 * DumpRenderTree/TextInputController.m: Added.
3958 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3960 2005-10-06 Darin Adler <darin@apple.com>
3962 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3963 are controlled by cvs, or when changes cross multiple repositories.
3964 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3966 2005-10-03 Eric Seidel <eseidel@apple.com>
3970 Make mouseDown and mouseUp force layout before acting.
3971 This is used by a new test case for 4233558.
3973 * DumpRenderTree/DumpRenderTree.m:
3974 (-[EventSendingController mouseDown]): force layout
3975 (-[EventSendingController mouseUp]): force layout
3977 2005-09-30 Eric Seidel <eseidel@apple.com>
3981 Updated all the scripts for the move:
3982 WebCore/layout-tests -> LayoutTests
3984 * Scripts/check-dom-results:
3985 * Scripts/prepare-ChangeLog:
3986 * Scripts/run-webkit-tests:
3987 * Scripts/update-webkit: added --no-tests
3988 * checkout: added --no-tests
3990 2005-09-28 Darin Adler <darin@apple.com>
3992 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
3993 pixel test should run even if render trees differ
3995 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3997 2005-09-27 Eric Seidel <eseidel@apple.com>
3999 No review needed, SVG build fix only.
4001 * DumpKCanvasTree/DumpKCanvasTree.m:
4002 Missed one in my previous checkin.
4003 http://bugs.webkit.org/show_bug.cgi?id=5141
4005 2005-09-26 Eric Seidel <eseidel@apple.com>
4007 No review needed, SVG build fix only.
4009 * DrawTest/DrawTestDocument.m:
4010 * DrawTest/DrawTestToolbarController.m:
4011 * DrawTest/DrawTestView.h:
4012 * DrawTest/DrawTestView.m:
4013 * DrawTest/SVGTest.m:
4014 * DrawTest/TestController.m:
4015 Updated for WebCore+SVG -> WebCore rename.
4016 http://bugs.webkit.org/show_bug.cgi?id=5141
4018 2005-09-26 Eric Seidel <eseidel@apple.com>
4022 * DumpRenderTree/DumpRenderTree.m:
4023 (dump): updated error message
4024 * Scripts/check-dom-results: now includes xhtml
4025 Tool updates for xhtml.
4026 http://bugs.webkit.org/show_bug.cgi?id=4907
4028 2005-09-22 Duncan Wilcox <duncan@mclink.it>
4033 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
4034 "Would like to simulate human interaction with webview"
4036 * DumpRenderTree/DumpRenderTree.m:
4037 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
4038 (+[EventSendingController isSelectorExcludedFromWebScript:]):
4039 (+[EventSendingController webScriptNameForSelector:]):
4040 (-[EventSendingController init]):
4041 (-[EventSendingController mouseDown]):
4042 (-[EventSendingController mouseUp]):
4043 (-[EventSendingController mouseMoveToX:Y:]):
4044 Add eventSender javascript object, that sends fake mouse events to the webview.
4046 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4047 link with Carbon.framework
4049 2005-09-22 Eric Seidel <eseidel@apple.com>
4053 Update tools for WebCore+SVG -> WebCore rename.
4054 Also fold several SVG specific tools into their original
4055 WebCore counterparts.
4056 http://bugs.webkit.org/show_bug.cgi?id=5003
4058 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
4059 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4060 * Scripts/build-drawtest:
4061 * Scripts/build-dumpkcanvastree:
4062 * Scripts/build-webcore-svg: Removed.
4063 * Scripts/build-webkit: added --svg option
4064 * Scripts/run-drawtest:
4065 * Scripts/run-webkit-tests:
4066 * Scripts/webkitdirs.pm: various additions.
4067 * checkout: added --svg option
4068 * checkout-svg: Removed.
4070 2005-09-19 Eric Seidel <eseidel@apple.com>
4074 * Scripts/run-webkit-tests: added --guard-malloc option
4075 http://bugs.webkit.org/show_bug.cgi?id=4613
4077 2005-09-16 Justin Garcia <justin.garcia@apple.com>
4081 Removed a script that is only used by apple internal developers
4083 * Scripts/update-webkitsysteminterface: Removed.
4085 2005-09-16 Adele Peterson <adele@apple.com>
4089 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
4091 2005-09-14 Darin Adler <darin@apple.com>
4093 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
4094 dumpAsText doesn't work with XHTML documents
4096 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
4097 rather than of the body element. This works with typical XHTML documents. We can probably
4098 do something even better in the long run, but this fixes the immediate issue.
4102 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
4103 run-safari instead of just using "open", which often runs another copy of Safari instead.
4105 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
4107 Reviewed, tweaked, and landed by Darin.
4109 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
4110 .Mac prefpane crashes when Safari using CVS WebKit is running
4112 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
4113 * Scripts/run-webkit-app: Ditto.
4115 2005-09-11 Darin Adler <darin@apple.com>
4117 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
4119 2005-09-11 Darin Adler <darin@apple.com>
4123 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
4124 two ways: 1) puts all files in a directory before any files in a subdirectory, and
4125 2) sort file names with numeric digits in them in a logical way, so test-33 will come
4128 2005-09-08 Justin Garcia <justin.garcia@apple.com>
4132 * Scripts/update-webkitsysteminterface: Added.
4133 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
4135 2005-09-01 John Sullivan <sullivan@apple.com>
4137 * Scripts/run-webkit-tests:
4138 Excluded a known system leak to reduce noise; added comments about which leaks
4141 2005-09-01 Tim Omernick <tomernick@apple.com>
4143 Change made by Darin, reviewed by John and myself.
4145 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
4147 * Scripts/prepare-ChangeLog:
4149 2005-08-31 Maciej Stachowiak <mjs@apple.com>
4153 - set color variant and font settings to a consistent value.
4154 (http://bugs.webkit.org/show_bug.cgi?id=4769)
4156 * DumpRenderTree/DumpRenderTree.m:
4159 2005-08-30 Eric Seidel <eseidel@apple.com>
4163 * Scripts/build-svg2png: Removed.
4164 * svg2png/ImageDiff.h: Removed.
4165 * svg2png/ImageDiff.m: Removed.
4166 * svg2png/svg2png.m: Removed.
4167 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
4168 * svg2png/svg2png_Prefix.pch: Removed.
4169 svg2png is no longer needed.
4171 2005-08-30 Darin Adler <darin@apple.com>
4173 * Scripts/check-dom-results: Special case 100% to say something nice.
4174 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
4175 applying the patch (need a better name).
4176 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
4178 2005-08-30 Darin Adler <darin@apple.com>
4180 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
4182 2005-08-29 Maciej Stachowiak <mjs@apple.com>
4186 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
4187 (some pixel tests fail when AA settings are changed)
4189 * DumpRenderTree/DumpRenderTree.m:
4190 (main): set AA settings to the default values
4192 2005-08-29 Darin Adler <darin@apple.com>
4194 Reviewed by John Sullivan.
4196 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
4197 executable -- much slower but can help pinpoint leaks. Changed formatting of some
4200 2005-08-28 Maciej Stachowiak <mjs@apple.com>
4204 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
4205 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
4207 * DumpRenderTree/DumpRenderTree.m:
4208 (main): set scrollbar arrow setting to a consistent value
4210 2005-08-27 Jussi Hagman <juhagman@abo.fi>
4212 Reviewed and landed by Darin.
4214 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
4215 output of update-webkit is too verbose
4217 * Scripts/update-webkit:
4218 Added option --quiet (-q) to decrease the amount of output.
4220 2005-08-27 Darin Adler <darin@apple.com>
4222 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
4223 cvs-create-patch --include-unknowns should ignore hidden files
4225 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
4227 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
4229 Reviewed, tweaked, and landed by Darin.
4231 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
4232 update-webkit doesn't notice when you have SVGSupport and update properly
4234 * Scripts/update-webkit: Build SVGSupport directory if it's present.
4236 2005-08-25 Anders Carlsson <andersca@mac.com>
4238 Reviewed and landed by Darin.
4240 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
4241 layout test machinery can't handle tests with applets that have code attributes
4243 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
4245 2005-08-24 Darin Adler <darin@apple.com>
4249 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
4250 DumpRenderTree --pixel-tests crash
4251 - landed some other small changes I had sitting in my tree
4253 * DumpRenderTree/DumpRenderTree.m:
4254 (main): Don't bother saving and restoring the preferences. Not sure