1 2006-10-18 David Smith <catfish.man@gmail.com>
5 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
7 * Drosera/Drosera.xcodeproj/project.pbxproj:
8 * Drosera/Images/breakpointeditor.png: Added.
9 * Drosera/breakpointEditor.css: Removed.
10 * Drosera/breakpointEditor.html: Removed.
11 * Drosera/breakpointEditor.js: Removed.
12 * Drosera/debugger.js:
15 2006-10-18 David Harrison <harrison@apple.com>
19 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
20 http://bugs.webkit.org/show_bug.cgi?id=11341
22 Link editing behavior became a preference. DumpRenderTree needs to specify the
23 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
25 * DumpRenderTree/DumpRenderTree.m:
28 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
32 Make compiler not complain about unused gk. SpinneretWebHost was not setting
33 initial refcount upon creation, so it is completely bogus.
35 * GdkLauncher/main.cpp:
37 * Spinneret/Spinneret/Spinneret.h:
38 (SpinneretWebHost::SpinneretWebHost):
40 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
44 Add another hanging test, to the "to be skipped" list.
46 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
48 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
52 Some fixes to get the Qt BuildSlave to run the LayoutTests.
54 * Scripts/build-dumprendertree: No need to call cmake again.
55 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
57 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
61 Force --no-http on Qt/Linux.
63 * Scripts/run-webkit-tests:
65 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
69 Gets JavaScripCore tests running on windows.
71 * Scripts/run-javascriptcore-tests:
72 * Scripts/webkitdirs.pm:
74 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
78 Exclude some tests which crash or hang from Qt/Linux DRT.
79 These are known to fail, and will be fixed at some point :-)
81 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
82 (WebCore::DumpRenderTree::DumpRenderTree):
83 (WebCore::DumpRenderTree::open):
84 (WebCore::DumpRenderTree::readStdin):
85 (WebCore::DumpRenderTree::readSkipFile):
86 (WebCore::DumpRenderTree::checkLoaded):
87 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
88 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
90 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
94 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
96 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
97 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
98 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
100 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
104 Also regenerate GdkLauncher makefiles, since not doing that might
105 lead to mismatch between WebCore and GdkLauncher compiler settings.
107 * Scripts/regenerate-makefiles:
109 2006-10-10 David Smith <catfish.man@gmail.com>
113 Bug 11246: Minor Drosera code cleanup
114 http://bugs.webkit.org/show_bug.cgi?id=11246
116 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
118 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
122 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
125 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
126 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
127 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
128 * Drosera/Images/SourceArrowOpen.png: Added.
129 * Drosera/Images/fileIcon.jpg: Added.
130 * Drosera/Images/siteCollapsed.tif: Added.
131 * Drosera/Images/siteExpanded.tif: Added.
132 * Drosera/Images/siteIcon.tif: Added.
133 * Drosera/debugger.css: Added File Browser styles
134 * Drosera/debugger.html: Added File Browser UI
135 * Drosera/debugger.js: Added File Browser functionality
137 2006-10-10 Darin Adler <darin@apple.com>
139 * Scripts/do-file-rename: Added.
141 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
145 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
146 a page. This allows automatic testing via e.g. valgrind.
148 * GdkLauncher/gdklauncher.bkl:
149 * GdkLauncher/main.cpp:
150 (LauncherFrameGdk::LauncherFrameGdk):
151 (LauncherFrameGdk::setExitAfterLoading):
152 (LauncherFrameGdk::handledOnloadEvents):
156 2006-10-06 David Smith <catfish.man@gmail.com>
160 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
162 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
163 * Drosera/breakpointEditor.css: Added.
164 * Drosera/breakpointEditor.html: Added.
165 * Drosera/breakpointEditor.js: Added.
166 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
168 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
172 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
174 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
175 (WebCore::DumpRenderTree::DumpRenderTree):
177 2006-10-05 Oliver Hunt <ohunt@apple.com>
181 * Scripts/run-webkit-tests:
184 2006-10-04 Anders Carlsson <acarlsson@apple.com>
188 * Scripts/run-webkit-tests:
189 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
192 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
194 Reviewed and landed by ap.
196 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
197 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
199 * Scripts/webkitdirs.pm:
201 2006-10-04 Mark Rowe <bdash@webkit.org>
203 Reviewed by Stephanie.
205 Switch the Qt buildbot to the standard set of build steps.
206 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
207 see if any regressions were spotted, and fail the test if so.
209 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
210 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
211 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
213 2006-10-04 Timothy Hatcher <timothy@apple.com>
215 Reviewed by Mitz Pettel!
217 Bug 10708: [Drosera] Make the console input plaintext-only
218 http://bugs.webkit.org/show_bug.cgi?id=10708
220 Change the console input -webkit-user-modify property to
221 read-write-plaintext-only.
223 * Drosera/console.css:
225 2006-10-04 David Smith <catfish.man@gmail.com>
229 Bug 10473: [Drosera] Overlapping text in JavaScript Console
230 http://bugs.webkit.org/show_bug.cgi?id=10473
232 Using min-height instead of height to avoid overlapping text.
235 * Drosera/console.css:
237 2006-10-04 David Smith <catfish.man@gmail.com>
241 Added a bash-style command history.
243 * Drosera/console.js:
245 2006-10-03 Anders Carlsson <acarlsson@apple.com>
247 Reviewed by Adam and Brady.
249 * DumpRenderTree/DumpRenderTree.m:
251 Update URL to Ahem.ttf
253 2006-10-03 Darin Adler <darin@apple.com>
255 * Scripts/commit-log-editor: Added missing "close" call. Oops!
257 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
259 Reviewed by eseidel. Landed by eseidel.
261 Offer a way for BuildBot to not colorize the cmake output, when building
262 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
264 Default is colorize output, though only Qt platform handles this for now.
266 * Scripts/build-dumprendertree:
267 * Scripts/build-webkit:
268 * Scripts/webkitdirs.pm:
270 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
272 Reviewed by eseidel. Landed by eseidel.
274 Make all important scripts work with Qt/Linux.
276 You can safely use this now:
277 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
279 * Scripts/build-dumprendertree:
280 * Scripts/run-javascriptcore-tests:
281 * Scripts/run-webkit-tests:
282 * Scripts/webkitdirs.pm:
284 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
288 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
290 * Scripts/webkitdirs.pm:
292 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
294 Reviewed/landed by Adam.
296 Proper build-webkit support for Qt/Linux.
298 Compilation process is similar to OSX now, aka.
299 the build directory is RootCheckoutDir/WebKitBuild now.
301 * Scripts/build-webkit: Recognize Qt.
302 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
304 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
308 Add QT build slave to Buildbot.
310 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
311 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
312 * 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.
313 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
315 2006-09-28 David Harrison <harrison@apple.com>
319 Moved an extern declaration from inside a method to the top of the file.
321 * DumpRenderTree/EventSendingController.m:
322 (-[EventSendingController clearKillRing]):
324 2006-09-28 David Harrison <harrison@apple.com>
328 Add clearKillRing so we can test emacs support with empty kill ring.
330 * DumpRenderTree/EventSendingController.m:
331 (+[EventSendingController isSelectorExcludedFromWebScript:]):
332 (+[EventSendingController webScriptNameForSelector:]):
333 (-[EventSendingController clearKillRing]):
335 2006-09-27 MorganL <morganl.webkit@yahoo.com>
337 Reviewed by Maciej, landed by Brady
339 Fix URL bar updating.
341 * Spinneret/Spinneret/Spinneret.h:
342 (SpinneretWebHost::didStartProvisionalLoadForFrame):
343 (SpinneretWebHost::didCommitLoadForFrame):
344 (SpinneretWebHost::didFinishLoadForFrame):
346 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
352 * DumpRenderTree/EventSendingController.m:
353 (-[EventSendingController enableDOMUIEventLogging:]):
355 2006-09-22 Justin Garcia <justin.garcia@apple.com>
359 * Scripts/do-webcore-rename:
361 2006-09-21 Timothy Hatcher <timothy@apple.com>
365 Bug 10923: Frame scroll layout test failures on the buildbot
366 http://bugs.webkit.org/show_bug.cgi?id=10923
368 Added a new method that will toggle on the recursive dump of
369 child frame scroll positions.
371 * DumpRenderTree/DumpRenderTree.m:
372 (dumpFrameScrollPosition):
373 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
374 (-[LayoutTestController dumpChildFrameScrollPositions]):
376 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
378 Reviewed by eseidel. Landed by eseidel.
380 Detect that close button was pressed and exit cleanly.
382 * GdkLauncher/main.cpp:
386 2006-09-17 Adam Roben <aroben@apple.com>
388 Reviewed by hyatt, sfalken.
390 Get DumpRenderTree compiling and limping along on Windows.
392 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
393 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
394 (main): Add NULL argument to Page constructor.
395 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
396 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
398 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
402 http://bugs.webkit.org/show_bug.cgi?id=10635
403 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
405 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
406 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
407 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
409 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
413 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
414 Even More Objective-C DOM auto-generation cleanup
416 - Change to use new, more Objectice-C'ish version of
417 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
418 regression test for fast/events/dblclick-addEventListener.html.
420 * DumpRenderTree/EventSendingController.m:
421 (-[EventSendingController fireKeyboardEventsToElement:]):
423 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
427 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
428 Move QtLauncher down to WebKitQt.
430 * QtLauncher/CMakeLists.txt: Removed.
431 * QtLauncher/main.cpp: Removed.
433 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
437 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
438 Adjust DumpRenderTree to the FrameQtClient changes.
440 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
441 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
442 (WebCore::DumpRenderTree::DumpRenderTree):
443 (WebCore::DumpRenderTree::~DumpRenderTree):
444 (WebCore::DumpRenderTree::frame):
445 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
446 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
447 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
448 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
449 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
451 2006-09-03 Darin Adler <darin@apple.com>
453 * Scripts/do-webcore-rename: More renaming plans.
455 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
459 http://bugs.webkit.org/show_bug.cgi?id=10693
460 Convert JavaScript arrays to AppleScript lists
462 * DumpRenderTree/AppleScriptController.m:
463 (convertAEDescToObject):
464 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
466 2006-08-31 Darin Adler <darin@apple.com>
468 * Scripts/do-webcore-rename: Prepare for another round of renaming.
470 2006-08-29 Dan Waylonis <waylonis@google.com>
474 - Verification of exceptions thrown in a plugin. Test for bug 10114.
475 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
476 * DumpRenderTree/ObjCPlugin.m:
477 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
478 (+[ObjCPlugin webScriptNameForSelector:]):
479 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
481 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
485 Commit KDE related tweaks, to be able to
486 differentiate between a Qt-only or a KDE build.
488 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
489 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
491 2006-08-29 Darin Adler <darin@apple.com>
493 Reviewed by Tim Hatcher.
495 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
496 to work around what seems to be a bug in some versions of gdb.
498 2006-08-16 Tim Omernick <timo@apple.com>
500 Reviewed by John Sullivan.
502 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
503 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
506 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
508 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
509 are expected to be retained by the plug-in, and released by the caller.
511 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
513 Reviewed by Tim Hatcher.
515 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
517 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
518 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
521 * Scripts/run-webkit-tests:
522 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
524 2006-08-28 Darin Adler <darin@apple.com>
526 Reviewed by Tim Hatcher.
528 * Scripts/build-drosera: Fix behavior when there are multiple options.
530 2006-08-27 Timothy Hatcher <timothy@apple.com>
534 Drosera will be built when you type make.
536 * Drosera/Makefile: Added.
538 * Makefile.shared: Added.
540 2006-08-27 Anders Carlsson <acarlsson@apple.com>
544 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
545 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
546 (WebCore::DumpRenderTree::DumpRenderTree):
547 (WebCore::DumpRenderTree::~DumpRenderTree):
548 (WebCore::DumpRenderTree::open):
549 (WebCore::DumpRenderTree::readStdin):
550 (WebCore::DumpRenderTree::checkLoaded):
551 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
552 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
555 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
557 Reviewed by Eric, landed by Anders.
559 Add DumpRenderTree support for Qt/Linux.
561 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
562 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
563 (WebCore::DumpRenderTree::DumpRenderTree):
564 (WebCore::DumpRenderTree::~DumpRenderTree):
565 (WebCore::DumpRenderTree::open):
566 (WebCore::DumpRenderTree::readStdin):
567 (WebCore::DumpRenderTree::checkLoaded):
568 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
569 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
571 * Scripts/build-dumprendertree:
572 * Scripts/run-webkit-tests:
573 * Scripts/webkitdirs.pm:
575 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
577 Reviewed by Eric. Landed by rwlbuis.
579 Add QtLauncher (was testunity before), which provides a
580 standalone "browser" to test the Qt platform stuff.
582 * QtLauncher/CMakeLists.txt: Added.
583 * QtLauncher/main.cpp: Added.
586 2006-08-22 Trey Matteson <trey@usa.net>
590 Added support for a new set of browser navigation tests. The main feature
591 is the ability for a test to queue up a set of future actions that will
592 happen after that first page is loaded. This is used to simulate a sequence
593 of user actions such as filling out forms, loading additional pages or
594 going back. In addition we can now dump out the state of the back/forward
595 list, and the scroll position is dumped if not at 0,0.
597 * DumpRenderTree/DumpRenderTree.m:
598 (main): Init new state
599 (compareHistoryItems): New utility to support sorting.
600 (dumpHistoryItem): Write out a WebHistoryItem and kids.
601 (dumpFrameScrollPosition): Write out the scroll position.
602 (dump): Optionally write b/f list or scroll position.
603 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
604 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
605 Kick off any queued actions. Fixed for the case of loads started in
606 a subframe instead of the root frame.
607 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
608 Grab the topmost frame that is being loaded. Do this as early as possible,
609 instead of in didCommitLoadForFrame.
610 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
611 Noting a load has started now happens in previous method.
612 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
613 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
614 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
616 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
617 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
618 Add new work to the queue.
619 (-[LayoutTestController _doLoad:target:]): Do a queued load.
620 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
621 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
622 (-[LayoutTestController scheduleForwardNav:]):
623 (-[LayoutTestController scheduleReload]):
624 (-[LayoutTestController scheduleScript:]):
625 (-[LayoutTestController scheduleLoad:target:]):
626 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
627 since it's not one of the functions that does any dumping.
629 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
633 - added a function to create a few DOMKeyboardEvents and dispatch
634 them to a specified HTML element
635 http://bugs.webkit.org/show_bug.cgi?id=9736
637 * DumpRenderTree/EventSendingController.m:
638 (+[EventSendingController isSelectorExcludedFromWebScript:]):
639 (+[EventSendingController webScriptNameForSelector:]):
640 (-[EventSendingController fireKeyboardEventsToElement:]):
642 2006-08-15 Duncan Wilcox <duncan@mclink.it>
644 Reviewed and tweaked by Darin.
646 - added DumpRenderTree support so editing delegate can be made to refuse edits
647 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
649 * DumpRenderTree/DumpRenderTree.m:
650 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
651 to the list of methods.
652 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
653 without the colon, for the JavaScript name.
654 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
656 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
658 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
659 setter methods to the class.
660 * DumpRenderTree/EditingDelegate.m:
661 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
662 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
663 return the value of acceptsEditing.
664 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
665 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
666 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
667 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
668 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
670 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
671 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
672 (-[EditingDelegate setAcceptsEditing:]): Added.
674 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
678 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
679 http://bugs.webkit.org/show_bug.cgi?id=10224
681 * Drosera/Drosera.xcodeproj/project.pbxproj:
682 * Drosera/LauncherInfo.plist:
684 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
686 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
687 when a test performs an unsuccessful drag and drop operation.
689 * DumpRenderTree/EventSendingController.m:
690 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
691 drag operation for the mouse release is NSDragOperationNone.
693 2006-08-02 Timothy Hatcher <timothy@apple.com>
697 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
698 http://bugs.webkit.org/show_bug.cgi?id=9632
700 Do not change the file source when normalizing the line endings.
701 We use this file source to compare against new versions of the source
702 as it comes in, so we can skip re-syntax highlighting if they are the same.
703 The problem is apparent on yahoo.com since they have mixed line endings and
704 once we normalize them the source will always be different. This was
705 compounded by the fact that yahoo has around 40 inline scripts. Each
706 inline script causes us to check if the main document has more loaded,
707 that is when we compare the source strings. Since they are always different
708 we would syntax highlight yahoo.com 40 times! We do check source length before
709 doing a more expensive string comparison, but the lengths were the same.
711 * Drosera/debugger.js:
713 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
717 Bug 9931: [Drosera] Needs a cool icon
718 http://bugs.webkit.org/show_bug.cgi?id=9931
720 * Drosera/Drosera.icns: Added.
721 * Drosera/Drosera.xcodeproj/project.pbxproj:
722 * Drosera/Info.plist:
724 2006-08-01 Darin Adler <darin@apple.com>
726 - fix a bug in my recent change where the mouse position at the end of
727 the last test would affect the results of the next test
729 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
731 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
735 http://bugs.webkit.org/show_bug.cgi?id=10182
736 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
738 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
739 Correct the logic to not reload local variable list unless an '=' character is in the expression.
741 2006-07-31 Darin Adler <darin@apple.com>
745 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
746 REGRESSION: failing layout test: fast/events/objc-event-api.html
748 * DumpRenderTree/DumpRenderTree.m:
749 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
750 location in flipped coordinates, since those are the coordinates that we use.
751 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
754 * DumpRenderTree/EventSendingController.m:
755 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
756 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
757 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
758 probably worked OK, but this is needed to be correct.
759 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
760 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
761 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
762 dump the screenY as-is.
764 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
768 http://bugs.webkit.org/show_bug.cgi?id=10178
769 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
771 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
772 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
774 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
778 http://bugs.webkit.org/show_bug.cgi?id=10175
779 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
781 * Drosera/DebuggerDocument.m:
782 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
784 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
788 http://bugs.webkit.org/show_bug.cgi?id=10167
789 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
791 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
794 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
798 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
799 http://bugs.webkit.org/show_bug.cgi?id=9686
801 * Drosera/DebuggerDocument.m:
802 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
803 ensure that the server does not try and notify us of events related to the resumption.
804 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
805 call through to JavaScript.
806 * Drosera/debugger.js: Pause debugger when exception is raised.
808 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
812 - fixes for Linux build
814 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
815 * GdkLauncher/gdklauncher.bkl: Tweak comment.
817 2006-07-24 Dan Waylonis <waylonis@google.com>
819 Reviewed and tweaked a bit by Darin.
821 * DumpRenderTree/ObjCPlugin.m:
822 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
823 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
824 "echo:" so it's nice to call from JavaScript.
825 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
826 to test a round trip through Objective-C types.
828 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
832 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
833 Improve iExploder results parsing
835 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
838 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
842 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
843 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
845 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
847 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
851 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
852 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
854 Removed "Property changes" that snuck in as part of the "apply patch" process.
856 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
860 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
861 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
864 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
866 (patch): Use patch(1) for non-binary additions and deletions.
867 * Scripts/svn-unapply:
869 (patch): Use patch(1) for reverting non-binary additions and deletions.
870 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
872 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
876 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
877 http://bugs.webkit.org/show_bug.cgi?id=9889
879 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
880 so, have stepOut pause on the next call to willExecuteStatement rather than second.
882 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
886 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
887 Teach svn-create-patch and friends to fix ChangeLog patches
889 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
890 * Scripts/svn-create-patch: Ditto.
891 * Scripts/svn-unapply: Ditto.
893 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
897 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
898 http://bugs.webkit.org/show_bug.cgi?id=9869
900 * Drosera/DebuggerDocument.m:
901 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
903 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
907 Bug 9863: Drosera needs to show something at launch
908 http://bugs.webkit.org/show_bug.cgi?id=9863
910 * Drosera/DebuggerApplication.m:
911 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
913 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
917 Lets Drosera build universal for the nightlies. Right now it is not
918 possible to build a universal binary on a PPC machine because of a
919 conflict with the universal SDK.
921 * BuildSlaveSupport/build-launcher-app:
922 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
924 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
928 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
929 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
931 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
932 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
933 should open a new stream and deliver the data to the current instance.
935 2006-07-11 Timothy Hatcher <timothy@apple.com>
939 Bug 9598: [Drosera] add a JavaScript evaluator console
940 http://bugs.webkit.org/show_bug.cgi?id=9598
942 * Drosera/DebuggerApplication.h:
943 * Drosera/DebuggerApplication.m:
944 (-[DebuggerApplication knownServers]):
945 * Drosera/DebuggerDocument.h:
946 * Drosera/DebuggerDocument.m:
947 (-[WebScriptObject evaluateScript:inCallFrame:]):
948 (-[WebScriptObject showConsole:]):
949 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
950 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
951 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
952 (-[WebScriptObject webView:createWebViewWithRequest:]):
953 (-[WebScriptObject webViewShow:]):
954 (-[WebScriptObject webViewAreToolbarsVisible:]):
955 (-[WebScriptObject webView:setToolbarsVisible:]):
956 (-[WebScriptObject webView:setResizable:]):
957 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
958 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
959 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
960 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
961 (-[WebScriptObject webView:didFinishLoadForFrame:]):
962 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
963 * Drosera/Drosera.xcodeproj/project.pbxproj:
964 * Drosera/Images/console.png: Added.
965 * Drosera/console.css: Added.
966 * Drosera/console.html: Added.
967 * Drosera/console.js: Added.
969 2006-07-11 Timothy Hatcher <timothy@apple.com>
971 Reviewed by a tired Geoff.
973 Bug 9597: [Drosera] hook up the variables table to show stack variables
974 http://bugs.webkit.org/show_bug.cgi?id=9597
976 * Drosera/DebuggerDocument.m:
977 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
978 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
979 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
980 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
981 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
982 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
983 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
984 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
985 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
986 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
987 * Drosera/debugger.css:
988 * Drosera/debugger.html:
989 * Drosera/debugger.js:
991 2006-07-10 Tim Omernick <timo@apple.com>
993 Reviewed by Beth Dakin.
995 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
996 Add DOM access test to DumpRenderTree's Netscape plug-in
998 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1002 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1006 - http://bugs.webkit.org/show_bug.cgi?id=9839
1007 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
1009 Now track three states: initializing, running, and closed. If we are launched and the previous
1010 state was initializing then we likely just experienced a crash on launch.
1012 * WebKitLauncher/WebKitNightlyEnabler.m:
1013 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
1014 (myApplicationWillTerminate): Update to use new states.
1015 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
1016 initializing as early as practical.
1017 (symbol_lookup): Bring code up to speed with formatting guidelines.
1018 (GDSymbolLookup): Ditto.
1020 2006-07-10 Darin Adler <darin@apple.com>
1022 - try to fix Windows build
1024 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1025 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
1027 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1029 Build fix. Reviewed by NOBODY.
1031 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1032 devenv.com not available in VC++ Express installations
1034 * Scripts/webkitdirs.pm: Backed out previous change.
1036 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1040 - http://bugs.webkit.org/show_bug.cgi?id=9693
1041 svn-apply should set ChangeLog date correctly when applying patches
1043 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
1044 before applying the patch.
1045 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
1047 2006-07-09 Darin Adler <darin@apple.com>
1049 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
1051 2006-07-09 Darin Adler <darin@apple.com>
1053 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
1055 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1057 Reviewed by NOBODY (build fix).
1059 - http://bugs.webkit.org/show_bug.cgi?id=7802
1060 devenv.com not available in VC++ Express installations
1062 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
1063 work again. Add VC++ Express check as the fallback.
1065 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
1067 Reviewed by Timothy Hatcher.
1069 - http://bugs.webkit.org/show_bug.cgi?id=7802
1070 devenv.com not available in VC++ Express installations
1072 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1074 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
1078 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
1079 Patch by coldwinter@katamail.com.
1081 In the congratulations message, "capatibilies" should be "capabilities".
1083 * Scripts/build-webkit:
1085 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1087 Reviewed by Timothy Hatcher.
1089 - http://bugs.webkit.org/show_bug.cgi?id=9794
1090 Teach run-webkit-tests how to ignore tests with performance improvements
1092 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
1093 feature, and minor clean up.
1095 2006-07-08 Darin Adler <darin@apple.com>
1097 Reviewed by Geoff (well, half of it at least).
1099 - http://bugs.webkit.org/show_bug.cgi?id=9788
1100 storage leaks in Objective-C tests
1102 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
1103 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
1104 Add a release to fix a storage leak.
1106 2006-07-08 Darin Adler <darin@apple.com>
1108 * Scripts/do-webcore-rename: A few more.
1110 2006-07-08 Darin Adler <darin@apple.com>
1112 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
1114 2006-07-04 Maciej Stachowiak <mjs@apple.com>
1118 http://bugs.webkit.org/show_bug.cgi?id=9734
1119 - add support for dumping non-HTML as text - in this case use textContent
1120 instead of innerText
1122 * DumpRenderTree/DumpRenderTree.m:
1125 2006-07-02 Timothy Hatcher <timothy@apple.com>
1129 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
1130 http://bugs.webkit.org/show_bug.cgi?id=9631
1132 Adds step over and step out. Along with a little code cleanup
1133 that was minor enough to piggyback on this fix.
1135 * Drosera/DebuggerDocument.h:
1136 * Drosera/DebuggerDocument.m:
1137 (-[DebuggerDocument stepOver:]):
1138 (-[DebuggerDocument stepOut:]):
1139 (-[DebuggerDocument windowDidLoad]):
1140 (-[DebuggerDocument windowWillClose:]):
1141 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1142 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1143 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1144 (-[DebuggerDocument validateUserInterfaceItem:]):
1145 * Drosera/Drosera.xcodeproj/project.pbxproj:
1146 * Drosera/debugger.html:
1147 * Drosera/debugger.js:
1148 * Drosera/viewer.css:
1150 2006-07-02 Timothy Hatcher <timothy@apple.com>
1154 Bug 9628: [Drosera] Split Views acting oddly
1155 http://bugs.webkit.org/show_bug.cgi?id=9628
1157 Only update the last X or Y coordinate if the new
1158 size was not constrained. Also adds the resize cursor to
1159 the body during the drag incase there is a constrained
1160 over drag off of the resizer element.
1162 * Drosera/debugger.js:
1164 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1166 Reviewed by Alexy Proskuryakov.
1168 Bug 9692: Warning about Safari extensions on every launch is obnoxious
1169 http://bugs.webkit.org/show_bug.cgi?id=9692
1171 * WebKitLauncher/WebKitNightlyEnabler.m:
1172 (myApplicationWillTerminate): Note that we are exiting cleanly.
1173 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
1174 to exit cleanly on our last invocation. This doesn't play nicely with
1175 multiple concurrent instances of WebKit.app so it can be disabled via
1176 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
1178 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1180 Reviewed by Alexy Proskuryakov.
1182 Bug 9654: Refresh Loop when accessing feed URLs
1183 http://bugs.webkit.org/show_bug.cgi?id=9654
1185 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
1187 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1189 Reviewed by Timothy Hatcher.
1191 Bug 9689: Nightly builds should warn a user about potential problems when using
1193 http://bugs.webkit.org/show_bug.cgi?id=9689
1195 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1196 * WebKitLauncher/WebKitNightlyEnabler.m:
1197 (myBundleDidLoad): Keep track of if any bundles that are loaded.
1198 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
1199 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1200 NSApplicationWillFinishLaunchingNotification notifications so that we can
1201 track bundle loads and notify the user at launch completion.
1203 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1207 - first check-in of a Gdk shell for testing WebKit
1209 * GdkLauncher: Added.
1211 2006-06-29 Timothy Hatcher <timothy@apple.com>
1215 Need to call window close so WebView tears-down completly.
1217 * DumpRenderTree/DumpRenderTree.m:
1218 (main): call [window close]
1220 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1224 Bug 9615: Buildbot configuration should be in SVN repository
1225 http://bugs.webkit.org/show_bug.cgi?id=9615
1227 Import BuildBot configuration files as used by build.webkit.org.
1228 auth.py has been stubbed out so that slave passwords are not disclosed.
1230 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1231 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1232 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1233 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1234 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1235 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1236 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1237 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1238 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1239 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1240 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1241 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
1243 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1247 Bug 9614: Nightly builds should notify user if a newer build is available
1248 http://bugs.webkit.org/show_bug.cgi?id=9614
1250 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1251 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1252 script so it can keep track of the latest revision.
1253 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1254 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1255 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1256 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1257 the nightly start page.
1259 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1263 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1264 http://bugs.webkit.org/show_bug.cgi?id=9579
1266 Report screenY values as (height of zero screen - screenY)
1268 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1270 2006-06-25 Timothy Hatcher <timothy@apple.com>
1274 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1275 http://bugs.webkit.org/show_bug.cgi?id=9591
1277 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1279 * Drosera/debugger.js:
1280 * Drosera/viewer.css:
1282 2006-06-25 Timothy Hatcher <timothy@apple.com>
1286 Bug 9568: assertion failure in Safari after quitting Drosera
1287 http://bugs.webkit.org/show_bug.cgi?id=9568
1289 Call switchToServerNamed:nil and not removeLister to make sure
1290 the server object is set to nil to prevent further removeListener calls.
1292 * Drosera/DebuggerDocument.m:
1293 (-[DebuggerDocument applicationTerminating:]):
1295 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1299 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1300 that the directory is not empty instead of reading in every single file and directory first,
1301 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1304 2006-06-25 Darin Adler <darin@apple.com>
1306 * Scripts/svn-apply: Tweak comments.
1307 * Scripts/svn-create-patch: Ditto.
1308 * Scripts/svn-unapply: Ditto.
1310 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1312 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1314 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1316 * Scripts/svn-apply: Formatting fix.
1318 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1322 http://bugs.webkit.org/show_bug.cgi?id=9571
1323 Teach svn-apply and svn-unapply to handle directory adds and removes better
1325 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1326 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1328 2006-06-25 Timothy Hatcher <timothy@apple.com>
1332 Bug 9574: Drosera should show inline scripts within the original HTML
1333 http://bugs.webkit.org/show_bug.cgi?id=9574
1335 Refactor the JavaScript code to have a distinction between files
1336 and scripts. Show the script in the context of the HTML file if
1337 it's URL is the same as the frame's main resource. At the time of
1338 the disParseScript callback the main resource might not be completely
1339 loaded, but Drosera needs to show whatever we have at the time. Once
1340 the main resource is finished, update the file source and reload the file.
1342 * Drosera/DebuggerDocument.m:
1343 (-[DebuggerDocument pause]):
1344 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1345 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1346 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1347 * Drosera/debugger.css:
1348 * Drosera/debugger.js:
1350 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1354 http://bugs.webkit.org/show_bug.cgi?id=9570
1355 Teach prepare-ChangeLog to operate on a list of files or directories
1357 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1358 * Scripts/svn-create-patch: Code refactoring.
1360 2006-06-24 James G. Speth <speth@end.com>
1364 - http://bugs.webkit.org/show_bug.cgi?id=8843
1365 add a way to build Objective-C test cases in HTML
1367 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1368 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1369 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1372 * DumpRenderTree/ObjCPlugin.h:
1373 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1374 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1375 (+[ObjCPlugin webScriptNameForSelector:]):
1376 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1377 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1378 (+[NSObject allowsScriptsFullAccess]):
1379 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1380 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1381 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1382 (+[JSObjC webScriptNameForSelector:]):
1383 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1384 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1385 (-[JSObjC log:]): access to NSLog function
1386 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1387 (-[JSObjC classOfObject:]):
1388 (-[JSObjC classNameOfObject:]):
1390 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1392 Reviewed by Timothy.
1394 * DrawTest/Info.plist: Added copyright statement.
1395 * Drosera/Info.plist: Ditto.
1396 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1397 * WebKitLauncher/Info.plist: Ditto.
1399 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1401 Build fix. Reviewed by NOBODY.
1403 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1404 devenv.com not available in VC++ Express installations
1406 * Scripts/webkitdirs.pm: Backed out previous change.
1408 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1412 - http://bugs.webkit.org/show_bug.cgi?id=7802
1413 devenv.com not available in VC++ Express installations
1415 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1417 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1421 - http://bugs.webkit.org/show_bug.cgi?id=9564
1422 A bunch of fixes to run-webkit-httpd
1424 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1425 127.0.0.1. Useful for testing with WinIE running on another machine;
1426 - don't call checkFrameworks() - we do not need a built WebKit here;
1427 - changed tabs to spaces;
1428 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1429 interactive mode, they were a hassle when testing with several browsers, as one
1430 had to wait for connection to expire);
1431 - remove httpd.pid when done, so that Apache doesn't complain next time.
1433 * Scripts/run-webkit-httpd:
1435 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1437 Reviewed by ggaren, landed by ap.
1439 - http://bugs.webkit.org/show_bug.cgi?id=9181
1440 Complete DOMUIEvent Obj-C API to reflect UIEvent
1442 Add function to enable logging of all events of one DOM node to stdout.
1444 * DumpRenderTree/EventSendingController.h:
1445 * DumpRenderTree/EventSendingController.m:
1446 (+[EventSendingController initialize]):
1447 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1448 (+[EventSendingController webScriptNameForSelector:]):
1449 (-[EventSendingController enableDOMUIEventLogging:]):
1450 (-[EventSendingController handleEvent:]):
1452 2006-06-23 Kevin Decker <kdecker@apple.com>
1454 Reviewed by Tim Hatcher.
1456 - Made column headers in Drosera resizable.
1458 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1462 - see http://bugs.webkit.org/show_bug.cgi?id=9539
1463 Another case error preventing build
1465 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1467 2006-06-22 Timothy Hatcher <timothy@apple.com>
1471 Adds a native toolbar to Drosera to be a good citizen.
1472 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1473 Fixes a dragging bug from an earlier fix to the divider code.
1474 Fixes some poor indenting in debugger.js.
1476 * Drosera/DebuggerDocument.h:
1477 * Drosera/DebuggerDocument.m:
1478 (-[DebuggerDocument stepInto]):
1479 (-[DebuggerDocument pause:]):
1480 (-[DebuggerDocument resume:]):
1481 (-[DebuggerDocument stepInto:]):
1482 (-[DebuggerDocument windowDidLoad]):
1483 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1484 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1485 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1486 (-[DebuggerDocument validateUserInterfaceItem:]):
1487 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1488 * Drosera/English.lproj/MainMenu.nib/info.nib:
1489 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1490 * Drosera/debugger.css:
1491 * Drosera/debugger.html:
1492 * Drosera/debugger.js:
1493 * Drosera/viewer.html:
1495 2006-06-22 Kevin Decker <kdecker@apple.com>
1499 - Added pressed column header image.
1500 - Made column headers behave more like Xcode.
1502 2006-06-22 Timothy Hatcher <timothy@apple.com>
1504 Reviewed by Kevin Decker.
1506 Code clean up. Adds the stackframe and makes only the body
1507 of the tables scrollable keeping the header visible.
1508 Shows the current function stack when paused or stepping.
1510 * Drosera/DebuggerApplication.m:
1511 (-[DebuggerApplication awakeFromNib]):
1512 (-[DebuggerApplication numberOfRowsInTableView:]):
1513 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1514 * Drosera/DebuggerDocument.h:
1515 * Drosera/DebuggerDocument.m:
1516 (-[DebuggerDocument dealloc]):
1517 (-[DebuggerDocument currentFrame]):
1518 (-[DebuggerDocument currentFrameFunctionName]):
1519 (-[DebuggerDocument currentFunctionStack]):
1520 (-[DebuggerDocument log:]):
1521 (-[DebuggerDocument windowWillClose:]):
1522 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1523 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1524 * Drosera/Drosera.xcodeproj/project.pbxproj:
1525 * Drosera/debugger.css:
1526 * Drosera/debugger.html:
1527 * Drosera/debugger.js:
1529 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1533 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1535 * Scripts/run-webkit-httpd:
1537 2006-06-22 Kevin Decker <kdecker@apple.com>
1539 Reviewed by Tim Hatcher.
1541 - More progress toward Javascript Debugger.
1542 - Added some new images to the project.
1544 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1548 - http://bugs.webkit.org/show_bug.cgi?id=9516
1549 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1551 * Scripts/run-webkit-httpd: Added.
1553 2006-06-20 Timothy Hatcher <timothy@apple.com>
1557 Builds Drosera and a launcher to include with the nightly.
1559 * BuildSlaveSupport/build-launcher-app:
1560 * BuildSlaveSupport/build-launcher-dmg:
1561 * Drosera/Drosera.xcodeproj/project.pbxproj:
1562 * Drosera/Info.plist:
1563 * Drosera/LauncherInfo.plist: Added.
1564 * Drosera/launcher.m: Added.
1565 (displayErrorAndQuit):
1566 (checkMacOSXVersion):
1569 * Scripts/build-drosera
1570 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1571 * WebKitLauncher/main.m:
1574 2006-06-20 Timothy Hatcher <timothy@apple.com>
1578 Adds a JavaScript debugger, called Drosera. Named after
1579 a genus of bug eating plants.
1581 * Drosera/DebuggerApplication.h: Added.
1582 * Drosera/DebuggerApplication.m: Added.
1583 (-[DebuggerApplication applicationDidFinishLaunching:]):
1584 (-[DebuggerApplication serverLoaded:]):
1585 (-[DebuggerApplication serverUnloaded:]):
1586 (-[DebuggerApplication awakeFromNib]):
1587 (-[DebuggerApplication showAttachPanel:]):
1588 (-[DebuggerApplication attach:]):
1589 (-[DebuggerApplication numberOfRowsInTableView:]):
1590 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1591 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1592 (-[DebuggerApplication tableViewSelectionDidChange:]):
1593 * Drosera/DebuggerDocument.h: Added.
1594 * Drosera/DebuggerDocument.m: Added.
1595 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1596 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1597 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1598 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1599 (-[DebuggerDocument initWithServerName:]):
1600 (-[DebuggerDocument windowWillClose:]):
1601 (-[DebuggerDocument dealloc]):
1602 (-[DebuggerDocument isPaused]):
1603 (-[DebuggerDocument pause]):
1604 (-[DebuggerDocument resume]):
1605 (-[DebuggerDocument step]):
1606 (-[DebuggerDocument windowNibName]):
1607 (-[DebuggerDocument windowDidLoad]):
1608 (-[DebuggerDocument switchToServerNamed:]):
1609 (-[DebuggerDocument applicationTerminating:]):
1610 (-[DebuggerDocument serverConnectionDidDie:]):
1611 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1612 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1613 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1614 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1615 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1616 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1617 * Drosera/Drosera.pch: Added.
1618 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1619 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1620 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1621 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1622 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1623 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1624 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1625 * Drosera/Images/breakPoint.tif: Added.
1626 * Drosera/Images/breakPointDisabled.tif: Added.
1627 * Drosera/Images/continue.tif: Added.
1628 * Drosera/Images/finishFunction.tif: Added.
1629 * Drosera/Images/glossyFooterFill.tif: Added.
1630 * Drosera/Images/glossyHeader.png: Added.
1631 * Drosera/Images/gradientBackground.png: Added.
1632 * Drosera/Images/gutter.png: Added.
1633 * Drosera/Images/navLeftDisabled.png: Added.
1634 * Drosera/Images/navLeftNormal.png: Added.
1635 * Drosera/Images/navLeftPressed.png: Added.
1636 * Drosera/Images/navRightDisabled.png: Added.
1637 * Drosera/Images/navRightNormal.png: Added.
1638 * Drosera/Images/navRightPressed.png: Added.
1639 * Drosera/Images/pause.tif: Added.
1640 * Drosera/Images/popUpArrows.png: Added.
1641 * Drosera/Images/programCounter.tif: Added.
1642 * Drosera/Images/programCounterBreakPoint.tif: Added.
1643 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1644 * Drosera/Images/run.tif: Added.
1645 * Drosera/Images/splitterBar.tif: Added.
1646 * Drosera/Images/splitterDimple.tif: Added.
1647 * Drosera/Images/step.tif: Added.
1648 * Drosera/Images/stepOver.tif: Added.
1649 * Drosera/Images/stop.tif: Added.
1650 * Drosera/Images/toolbarBackground.png: Added.
1651 * Drosera/Info.plist: Added.
1652 * Drosera/debugger.css: Added.
1653 * Drosera/debugger.html: Added.
1654 * Drosera/debugger.js: Added.
1655 * Drosera/main.m: Added.
1657 * Drosera/viewer.css: Added.
1658 * Drosera/viewer.html: Added.
1660 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1664 http://bugs.webkit.org/show_bug.cgi?id=9485
1665 Teach svn-apply and svn-unapply to use full path names
1667 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1668 * Scripts/svn-unapply: Ditto.
1670 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1674 - http://bugs.webkit.org/show_bug.cgi?id=9150
1675 DumpRenderTree should be able to keep URL history during runs
1677 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1679 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1680 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1681 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1682 it is currently nil since keepWebHistory() might be called more than once incidentally
1684 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1685 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1687 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1691 http://bugs.webkit.org/show_bug.cgi?id=9395
1692 Make prepare-ChangeLog faster
1694 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1695 then save the diff output for reuse. Keep a status variable if changes are made to
1696 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1697 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1698 for no changed files closer to the beginning of the program.
1700 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1702 Reviewed and landed by ap.
1704 - make DumpRenderTree build
1706 * DumpRenderTree/DumpRenderTree.m:
1707 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1708 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1709 (-[LayoutTestController setWindowIsKey:]): Ditto.
1710 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1712 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1714 Reviewed by Darin, landed by Geoff.
1716 http://bugs.webkit.org/show_bug.cgi?id=9350
1717 Use pathcmp() when sorting paths in svn-create-patch
1719 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1720 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1721 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1722 switch and printUsage() subroutine.
1724 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1728 http://bugs.webkit.org/show_bug.cgi?id=9322
1729 Teach svn-create-patch to sort its output
1731 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1732 by text files first, then by binary files.
1734 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1738 http://bugs.webkit.org/show_bug.cgi?id=9299
1739 Teach svn-create-patch and friends to work with binary files
1741 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1742 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1743 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1745 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1749 http://bugs.webkit.org/show_bug.cgi?id=9296
1750 Performance improvement for svn-create-patch
1752 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1754 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1758 http://bugs.webkit.org/show_bug.cgi?id=9290
1759 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1761 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1762 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1764 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1768 Switch Spinneret to new hosting mechanism
1770 * Spinneret/Spinneret.sln:
1771 * Spinneret/Spinneret/Spinneret.cpp:
1772 (SpinneretWebHost::updateAddressBar):
1773 (SpinneretWebHost::QueryInterface):
1774 (SpinneretWebHost::AddRef):
1775 (SpinneretWebHost::Release):
1782 * Spinneret/Spinneret/Spinneret.h:
1783 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1784 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1785 (SpinneretWebHost::didFailProvisionalLoadWithError):
1786 (SpinneretWebHost::didCommitLoadForFrame):
1787 (SpinneretWebHost::didReceiveTitle):
1788 (SpinneretWebHost::didReceiveIcon):
1789 (SpinneretWebHost::didFinishLoadForFrame):
1790 (SpinneretWebHost::didFailLoadWithError):
1791 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1792 (SpinneretWebHost::willPerformClientRedirectToURL):
1793 (SpinneretWebHost::didCancelClientRedirectForFrame):
1794 (SpinneretWebHost::willCloseFrame):
1795 (SpinneretWebHost::windowScriptObjectAvailable):
1796 * Spinneret/Spinneret/Spinneret.vcproj:
1798 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1802 Updated build script
1804 * Scripts/build-webkit:
1806 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1810 * DumpRenderTree/DumpRenderTree.m:
1811 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1812 (-[LayoutTestController clearBackForwardList]):
1813 Add clearBackForwardList function to layoutTestController
1815 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1819 http://bugs.webkit.org/show_bug.cgi?id=8996
1820 slow-utf8-text layout test case failing (no longer deterministic?)
1822 * DumpRenderTree/DumpRenderTree.m:
1824 Dump as text when the response MIME type is text/plain
1826 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1830 * Spinneret/Spinneret.sln:
1831 * Spinneret/Spinneret/Spinneret.vcproj:
1833 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1837 Added 'GCController' to DRT to support garbage collection layout tests.
1839 GCController.collect() and GCController.collectOnAlternateThread() do
1840 what you would expect. The latter takes a boolean argument sepcifying
1841 whether to wait for garbage collection to finish before continuing to
1844 * DumpRenderTree/DumpRenderTree.m:
1845 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1846 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1847 * DumpRenderTree/GCController.h: Added.
1848 * DumpRenderTree/GCController.mm: Added.
1849 (+[GCController isSelectorExcludedFromWebScript:]):
1850 (+[GCController webScriptNameForSelector:]):
1851 (-[GCController collect]):
1852 (-[GCController collectOnAlternateThread:]):
1854 2006-05-23 John Sullivan <sullivan@apple.com>
1858 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1859 Newer Xcode removed some obsolete cruft
1861 * DumpRenderTree/TextInputController.m:
1862 (-[TextInputController textInput]):
1863 added (id) cast to make newer compiler happy
1865 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1871 * Spinneret/Spinneret.sln:
1873 2006-05-18 Darin Adler <darin@apple.com>
1875 - try to fix no-SVG, no-XPATH build, again
1877 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1879 2006-05-18 Darin Adler <darin@apple.com>
1881 - try to fix no-SVG, no-XPATH build
1883 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1884 since the former is what's used in the WebCore project now.
1886 2006-05-17 Darin Adler <darin@apple.com>
1888 * Scripts/do-webcore-rename: Some more future renames.
1890 2006-05-16 Adele Peterson <adele@apple.com>
1894 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1895 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1897 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1899 * Scripts/install-unix-extras: Changed to be executable and removed
1900 text in the file generated by "svn diff".
1901 * Scripts/regenerate-makefiles: Ditto.
1903 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1905 Reviewed by Darin, landed by ap.
1907 - http://bugs.webkit.org/show_bug.cgi?id=8528
1908 Bakefiles (and generated Makefiles) for wx and gdk ports
1910 * Scripts/install-unix-extras: Added.
1911 * Scripts/regenerate-makefiles: Added.
1913 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1917 Fix registry usage from perl script. Turns out libwin32's
1918 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1920 * Scripts/install-win-extras:
1922 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1925 Add load ended callback.
1929 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1930 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1931 * Spinneret/Spinneret/Spinneret.cpp:
1932 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1933 (_tWinMain): Load built-in test content here instead of in lower-level code.
1934 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1936 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1940 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1942 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1946 * Scripts/check-dom-results:
1947 Add XPath to the list of results.
1949 2006-05-08 Darin Adler <darin@apple.com>
1951 * Scripts/do-webcore-rename: Add another rename.
1953 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1957 Spinneret now links against the new separate lib.
1959 * Spinneret/Spinneret.sln:
1960 * Spinneret/Spinneret/Spinneret.cpp:
1961 (SpinneretWebHost::updateLocationBar):
1963 * Spinneret/Spinneret/Spinneret.h:
1964 * Spinneret/Spinneret/Spinneret.vcproj:
1965 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1966 * Spinneret/Spinneret/WebFrame.h: Removed.
1967 * Spinneret/Spinneret/WebView.cpp: Removed.
1968 * Spinneret/Spinneret/WebView.h: Removed.
1970 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1974 Modify error reporting registry keys to disable Dr. Watson.
1975 This allows Javascript test cases to complete without blocking UI.
1977 * Scripts/install-win-extras:
1978 - Use Perl Win32 registry functions to disable blocking UI
1981 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1985 Turned off C++ exceptions, fixed memory leaks
1987 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1988 * Spinneret/Spinneret.sln:
1989 * Spinneret/Spinneret/Spinneret.cpp:
1991 * Spinneret/Spinneret/Spinneret.vcproj:
1992 * Spinneret/Spinneret/WebFrame.cpp:
1993 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1994 (WebKit::WebFrame::WebFrame):
1995 (WebKit::WebFrame::~WebFrame):
1996 (WebKit::WebFrame::impl):
1997 * Spinneret/Spinneret/WebFrame.h:
1998 * Spinneret/Spinneret/WebView.cpp:
1999 * Spinneret/Spinneret/stdafx.h:
2001 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
2005 - http://bugs.webkit.org/show_bug.cgi?id=8633
2006 DumpRenderTree should reset the URL cache
2008 * DumpRenderTree/DumpRenderTree.m:
2009 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
2011 2006-04-28 Eric Seidel <eseidel@apple.com>
2013 Reviewed by andersca.
2015 * Scripts/do-webcore-rename: rename KCanvasContainer too
2016 * Scripts/run-webkit-tests: output total time
2018 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
2020 Reviewed by hyatt. Landed by eseidel.
2022 - http://bugs.webkit.org/show_bug.cgi?id=8549
2023 Enable detection of excessive repainting with DumpRenderTree
2025 * DumpRenderTree/DumpRenderTree.m:
2026 (-[LayoutTestController display]):
2028 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
2032 - http://bugs.webkit.org/show_bug.cgi?id=6905
2033 DumpRenderTree needs a way to force painting (to allow invalidation tests)
2035 * DumpRenderTree/DumpRenderTree.m:
2036 (dump): If display() has been called during the test, grab the pixels from
2037 the view, after letting it repaint invalidated rects.
2038 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2039 (-[LayoutTestController display]): Added. Calls -display on the view
2040 and changes the subsequent behavior of dump().
2043 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2047 - http://bugs.webkit.org/show_bug.cgi?id=8532
2048 Update iExploder to 1.3.2
2050 Test case numbers are not compatible with iExploder 1.2.
2052 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
2054 * iExploder/CHANGELOG.txt: Added.
2055 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
2056 * iExploder/README.txt: Added some performance hints.
2058 * iExploder/htdocs/config.rb: Added.
2059 * iExploder/htdocs/cssproperties.in:
2060 * iExploder/htdocs/cssvalues.in:
2061 * iExploder/htdocs/htmlattrs.in:
2062 * iExploder/htdocs/htmltags.in:
2063 * iExploder/htdocs/iexploder.cgi:
2064 - Updated to support the latest HTML & CSS tags, properties, and values from both
2065 the WebKit and Mozilla CVS tree
2066 - cssproperties.in cleanup
2067 - Modularized the code a little bit.
2068 - Fix subtest bug that was causing last 5 tags to be missed
2069 - new subtest algorithm to deal better with larger tag counts
2070 - default HTML_MAX_TAGS increased from 32 to 96
2072 * iExploder/htdocs/index.html: Updated version to 1.3.2.
2073 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
2074 alternative to our run-iexploder-tests.
2075 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
2076 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
2077 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
2079 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2081 - commit Scripts/run-mangleme-tests (missed it the previous time).
2083 2006-04-18 Darin Adler <darin@apple.com>
2085 - attempt to fix Windows buildbot
2087 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
2088 We need a better long-term solution for this.
2090 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2094 - http://bugs.webkit.org/show_bug.cgi?id=8444
2095 Integrate mangleme test script.
2097 Works in a similar way to run-iexploder-tests.
2099 * Scripts/run-mangleme-tests: Added.
2101 * mangleme/Makefile: Added.
2102 * mangleme/README: Added.
2103 * mangleme/mangle.cgi.c: Added.
2104 * mangleme/remangle.cgi.c: Added.
2105 * mangleme/tags.h: Added.
2107 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2111 - http://bugs.webkit.org/show_bug.cgi?id=8443
2112 An easier way to save iExploder tests.
2114 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
2116 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2120 - http://bugs.webkit.org/show_bug.cgi?id=8421
2121 Integrate iExploder test script.
2123 This script generates artificially mangled HTML documents, to test that the browser
2124 doesn't crash when handling ill-formed code.
2127 run-iexploder-tests Open an interactive test page in Safari+ToT.
2128 run-iexploder-tests nnnnn Open test #nnnnn.
2130 Command line options:
2131 --guard-malloc (-g) Use Guard Malloc.
2132 --port=nnnn Run Apache on port nnnn (default is 8000).
2134 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
2135 (thus, Apache is still running), e.g.:
2136 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
2138 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
2140 * Scripts/run-iexploder-tests: Added.
2142 * iExploder/LICENSE.txt: Added.
2143 * iExploder/README.txt: Added.
2144 * iExploder/htdocs: Added.
2145 * iExploder/htdocs/cssproperties.in: Added.
2146 * iExploder/htdocs/cssvalues.in: Added.
2147 * iExploder/htdocs/htmlattrs.in: Added.
2148 * iExploder/htdocs/htmltags.in: Added.
2149 * iExploder/htdocs/htmlvalues.in: Added.
2150 * iExploder/htdocs/iexploder.cgi: Added.
2151 * iExploder/htdocs/index.html: Added.
2152 * iExploder/tools: Added.
2153 * iExploder/tools/lasthit.rb: Added.
2154 * iExploder/tools/osx_last_crash.rb: Added.
2156 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
2160 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
2161 Restore color profile after a crash
2163 * DumpRenderTree/DumpRenderTree.m:
2164 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
2165 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
2166 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
2167 and this code may change significantly.
2169 (main): Install crashHandler.
2171 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
2172 (CFStringGetCStringPtr should NEVER EVER be used!).
2174 2006-04-15 Darin Adler <darin@apple.com>
2178 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
2179 Seems xmlsoft.org's HTTP no longer has what we need.
2181 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
2183 Rubber-stamped by Darin.
2185 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
2186 upload-disk-image stage on buildslaves fail with "No space left on device"
2188 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
2189 'hdiutil create'. This creates the initial disk image based on the size of
2190 the source folder, and copies the contents to the new disk image. The file
2191 extension on the temporary uncompressed disk image has also been altered from
2192 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
2193 the extension is not ".dmg".
2195 2006-04-12 Eric Seidel <eseidel@apple.com>
2199 * Scripts/update-webkit: Make this return non-zero when svn fails.
2201 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2205 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2206 Make HTTP tests using Perl use .pl extension
2208 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2209 removed support for .text. Reduced the number of places that explicitly list supported
2210 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2213 2006-04-06 Darin Adler <darin@apple.com>
2215 Changes requested by Mark Rowe.
2217 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2218 trash at the end of the file.
2219 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2221 * WebKitLauncher/main.m: Removed trash at end of file.
2223 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2226 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2228 Reviewed by Darin, landed by Maciej.
2230 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2231 and bundles the WebKit frameworks inside it.
2232 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2233 containing WebKit.app.
2234 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2235 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2236 number of the SVN working copy.
2237 * WebKitLauncher: Added.
2238 * WebKitLauncher/Info.plist: Added.
2239 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2240 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2241 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2242 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
2243 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2244 the nightly launcher.
2245 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2246 It sets up the environment to have Safari use the bundled frameworks
2247 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2248 * WebKitLauncher/start.html: Added.
2249 * WebKitLauncher/webkit.icns: Added.
2251 2006-04-05 Darin Adler <darin@apple.com>
2255 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2256 are allowed to have global initializers.
2258 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2260 Reviewed by OMG BETH
2262 * Scripts/run-testkjs:
2263 - pipe STDERR to /dev/null by default; new --verbose option overrides
2265 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2266 - output run command in a format that can be copied and pasted into the
2267 terminal to run manually
2269 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2271 Reviewed by harrison
2273 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2274 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2276 Tell the source that the drag is over after the drag is performed, not before.
2278 * DumpRenderTree/EventSendingController.m:
2279 (-[EventSendingController mouseUp]):
2281 2006-04-01 Darin Adler <darin@apple.com>
2285 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2286 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2287 elements in that array are not strings.
2289 2006-03-31 Darin Adler <darin@apple.com>
2291 Reviewed by John Sullivan.
2293 - added a "--reset-results" option to run-webkit-tests so you can reset
2294 the results without first deleting expected results
2295 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2297 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2298 more logical. Moved all the subroutines to the end of the file. Added a
2301 * DumpRenderTree/DumpRenderTree.m:
2302 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2303 to generate new output for all tests it runs.
2304 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2305 the --dump-all-pixels option is passed. Also tightened up the image dumping
2306 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2307 with code to save and restore the context.
2309 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2310 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2312 2006-03-30 Tim Omernick <timo@apple.com>
2314 Reviewed by NOBODY (just fixing copyrights)
2316 * DumpRenderTree/ObjCPlugin.h:
2318 * DumpRenderTree/ObjCPlugin.m: ditto
2319 * DumpRenderTree/ObjCPluginFunction.h: ditto
2320 * DumpRenderTree/ObjCPluginFunction.m: ditto
2322 2006-03-30 Tim Omernick <timo@apple.com>
2326 * DumpRenderTree/DumpRenderTree.m:
2327 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2328 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2329 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2330 exposed to JS as a callable object.
2332 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2333 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2335 * DumpRenderTree/ObjCPlugin.h: Added.
2336 * DumpRenderTree/ObjCPlugin.m: Added.
2337 * DumpRenderTree/ObjCPluginFunction.h: Added.
2338 * DumpRenderTree/ObjCPluginFunction.m: Added.
2340 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2341 Added a new method, "removeDefaultMethod", which removes the default method from the
2342 plugin object's class. The effect is that the plugin object is mutated from a callable
2343 function to a simple object.
2345 Handle "removeDefaultMethod".
2346 (pluginInvokeDefault):
2347 Made the default method actually do something (return 1).
2349 2006-03-30 Eric Seidel <eseidel@apple.com>
2353 Remove WebFrame::viewImpl(), setMainFrame on page.
2355 * Spinneret/Spinneret/WebFrame.cpp:
2356 (WebKit::WebFrame::WebFrame):
2357 * Spinneret/Spinneret/WebFrame.h:
2358 * Spinneret/Spinneret/WebView.cpp:
2359 (WebKit::WebView::mouseMoved):
2360 (WebKit::WebView::mouseDown):
2361 (WebKit::WebView::mouseUp):
2362 (WebKit::WebView::mouseDoubleClick):
2363 (WebKit::WebViewWndProc):
2365 2006-03-30 Eric Seidel <eseidel@apple.com>
2369 Fix html editing input & basic form submission.
2371 * Spinneret/Spinneret/WebFrame.cpp:
2372 (WebKit::WebFrame::submitForm):
2373 (WebKit::WebFrame::loadURL):
2374 * Spinneret/Spinneret/WebFrame.h:
2375 * Spinneret/Spinneret/WebView.cpp:
2376 (WebKit::WebView::keyPress):
2377 (WebKit::WebViewWndProc):
2379 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2383 <rdar://problem/4402375>
2384 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2386 Added an option to draw the selectionRect.
2388 * DumpRenderTree/DumpRenderTree.m:
2390 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2391 (-[LayoutTestController dumpSelectionRect]):
2394 2006-03-29 Darin Adler <darin@apple.com>
2396 Reviewed by Tim Hatcher.
2398 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2400 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2402 2006-03-28 Eric Seidel <eseidel@apple.com>
2406 * Scripts/check-for-global-initializers: remove svg exceptions.
2408 2006-03-28 Timothy Hatcher <timothy@apple.com>
2412 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2414 * Scripts/check-for-global-initializers:
2416 2006-03-28 Timothy Hatcher <timothy@apple.com>
2418 Build fix. Turn off uninitialized warnings for the first block of code.
2420 * Scripts/check-for-global-initializers:
2422 2006-03-28 Darin Adler <darin@apple.com>
2426 * Scripts/check-for-global-initializers: Added.
2428 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2430 Reviewed by darin. Landed by eseidel.
2432 - http://bugs.webkit.org/show_bug.cgi?id=7947
2433 Add repaint testing support to run-webkit-tests
2435 * DumpRenderTree/DumpRenderTree.m:
2436 (main): Added --repaint and --horizontal-sweep options.
2437 (dump): Repaint line-by-line or column-by-column when the appropriate option
2439 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2440 and repaintSweepHorizontally() methods to layoutTestController.
2441 (-[LayoutTestController testRepaint]):
2442 (-[LayoutTestController repaintSweepHorizontally]):
2444 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2445 to force these settings on tests that do not ask for them.
2447 2006-03-24 Eric Seidel <eseidel@apple.com>
2453 * Spinneret/Spinneret/WebFrame.cpp:
2454 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2456 2006-03-21 Beth Dakin <bdakin@apple.com>
2460 Add support for keyDown() to DumpRenderTree.
2462 * DumpRenderTree/DumpRenderTree.m:
2463 (main): Set the preference for tabbing to links.
2464 * DumpRenderTree/EventSendingController.m:
2465 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2466 (+[EventSendingController webScriptNameForSelector:]):
2467 (-[EventSendingController keyDown:withModifiers:]):
2469 2006-03-20 Eric Seidel <eseidel@apple.com>
2475 * Spinneret/Spinneret/Spinneret.vcproj:
2476 * Spinneret/Spinneret/WebFrame.h:
2477 * Spinneret/Spinneret/WebView.cpp:
2478 (WebKit::WebView::mouseMoved):
2479 (WebKit::WebView::mouseDown):
2480 (WebKit::WebView::mouseUp):
2481 (WebKit::WebView::mouseDoubleClick):
2482 (WebKit::WebView::keyPress):
2483 (WebKit::WebViewWndProc):
2485 2006-03-19 Darin Adler <darin@apple.com>
2489 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2490 we can test it in layout tests. We don't really need tests that run with
2491 pop-up blocking off at the moment. If we do some day, we can add some
2492 API for turning it off in the layout test controller.
2494 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2495 don't ignore the leak; it should no longer show up.
2497 2006-03-17 Anders Carlsson <andersca@mac.com>
2501 * Scripts/install-win-extras:
2502 Fetch "Program Files" location from the environment.
2504 2006-03-17 Eric Seidel <eseidel@apple.com>
2508 Fix Spinneret to pass Events as const & not as pointers.
2510 * Spinneret/Spinneret/WebView.cpp:
2511 (WebKit::WebView::mouseMoved):
2512 (WebKit::WebView::mouseDown):
2513 (WebKit::WebView::mouseUp):
2514 (WebKit::WebView::mouseDoubleClick):
2515 (WebKit::WebView::keyPress):
2517 2006-03-17 Eric Seidel <eseidel@apple.com>
2519 Reviewed by justing.
2521 Add support for basic HTML editing.
2523 * Spinneret/Spinneret/WebView.cpp:
2524 (WebKit::WebView::WebView):
2525 (WebKit::WebView::keyPress):
2527 2006-03-17 Eric Seidel <eseidel@apple.com>
2529 Rubber-stamped by ggaren.
2531 Break DumpRenderTree.m up into several files to make the code more readable.
2533 * DumpRenderTree/DumpRenderTree.h: Added.
2534 * DumpRenderTree/DumpRenderTree.m:
2535 (doneLoading): new accessor function for "done" global.
2536 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2537 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2538 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2539 * DumpRenderTree/EditingDelegate.h: Added.
2540 * DumpRenderTree/EditingDelegate.m: Added.
2541 (-[EditingDelegate webViewDidChangeSelection:]):
2542 * DumpRenderTree/EventSendingController.h: Added.
2543 * DumpRenderTree/EventSendingController.m: Added.
2545 2006-03-16 Eric Seidel <eseidel@apple.com>
2549 Add resize, scroll event support.
2551 * Spinneret/Spinneret/WebView.cpp:
2552 (WebKit::WebView::mouseMoved):
2553 (WebKit::WebView::mouseDown):
2554 (WebKit::WebView::mouseUp):
2555 (WebKit::WebView::mouseDoubleClick):
2556 (WebKit::WebView::keyPress):
2557 (WebKit::WebViewWndProc):
2558 * Spinneret/Spinneret/WebView.h:
2560 2006-03-16 Eric Seidel <eseidel@apple.com>
2564 Make build-webkit print correctly to stdout on windows.
2566 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2568 2006-03-15 Eric Seidel <eseidel@apple.com>
2572 Fix eventSender.mouseClick() to update lastClick timestamp.
2574 * DumpRenderTree/DumpRenderTree.m:
2575 (-[EventSendingController mouseClick]):
2577 2006-03-15 Darin Adler <darin@apple.com>
2581 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2582 that had a lowercase "i" in it so this builds on case-sensitive
2585 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2589 Added run-testkjs and compare-timing-files scripts, to support super
2592 * Scripts/compare-timing-files: Added.
2593 * Scripts/run-testkjs: Added.
2595 2006-03-14 Eric Seidel <eseidel@apple.com>
2599 Make the URL bar relinquish focus on page load.
2601 * Spinneret/Spinneret/Spinneret.cpp:
2604 2006-03-14 Eric Seidel <eseidel@apple.com>
2608 Fix WebView to allow KeyFocus.
2609 Add handling of space and shift-space for scrolling.
2611 * Spinneret/Spinneret/WebView.cpp:
2612 (WebKit::scrollMessageForKey):
2613 (WebKit::WebViewWndProc):
2615 2006-03-10 Eric Seidel <eseidel@apple.com>
2619 Add scrolling support into Spinneret.
2621 * Spinneret/Spinneret/WebFrame.cpp:
2622 (WebKit::WebFrame::paint):
2623 * Spinneret/Spinneret/WebView.cpp:
2624 (WebKit::WebView::createWebView):
2625 (WebKit::calculateScrollDelta):
2626 (WebKit::scrollMessageForKey):
2627 (WebKit::WebViewWndProc):
2629 2006-03-13 Eric Seidel <eseidel@apple.com>
2633 Fix checksum generation on Intel machines.
2634 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2635 give a small speed boost now that it uses a shared buffer.
2637 * DumpRenderTree/DumpRenderTree.m:
2640 (md5HashStringForBitmap):
2641 * DumpRenderTree/ImageDiff.m:
2642 (computePercentageDifferent):
2644 2006-03-13 Darin Adler <darin@apple.com>
2646 Reviewed by Tim Hatcher.
2648 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2649 have it named httpd-1.3 instead.
2651 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2653 Fix proposed by Mitz Pettel, reviewed by Darin.
2655 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
2656 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2658 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2659 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2662 2006-03-09 Darin Adler <darin@apple.com>
2664 Reviewed by John Sullivan.
2666 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
2667 memory leak in the plug-in tests
2669 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2670 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2671 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2673 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2674 Moved the browser global in here since it's declared in this file's header.
2675 Changed the code to set up the pluginClass structure to not use function
2676 pointer casts. Those are dangerous because they can hide many types of mismatch.
2677 And indeed when I did this I discovered that many functions were missing their
2678 boolean return values or had parameter declarations with the wrong types.
2679 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2680 clarity. Added boolean return value: return true when successful and false when not.
2681 (pluginSetProperty): Added boolean return value, return false since we have no
2682 properties we can set.
2683 (pluginInvoke): Added boolean return value. Return true when successful and false
2684 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2685 return value from calling the browser. Changed code to put the strings in malloc
2686 buffers instead of relying on GCC's extension that allows variable-sized arrays
2688 (pluginInvokeDefault): Added boolean return value, return false since we have no
2689 default function to call.
2690 (pluginInvalidate): Added missing parameter. Removed comment.
2691 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2692 to cast the result of malloc.
2693 (pluginDeallocate): Removed uneeded cast.
2695 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2696 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2697 that match NPObject's fields. Removed unused NPWindow pointer.
2699 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2701 Test: fast/events/event-sender-mouse-click.html
2705 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
2706 DRT hangs when doing eventSender.mouseDown on native widgets
2708 * DumpRenderTree/DumpRenderTree.m:
2709 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2710 (-[EventSendingController mouseClick]): Simulates a click in a native
2711 widget by queueing a mouseUp before sending the mouseDown, so that
2712 the widget's mouse tracking event loop doesn't hang indefinitely.
2714 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2718 - make link clicks work by handling link click requests
2721 * Spinneret/Spinneret/Spinneret.cpp:
2722 (updateLocationBar):
2723 * Spinneret/Spinneret/Spinneret.h:
2724 * Spinneret/Spinneret/WebFrame.cpp:
2725 (WebKit::WebFrame::WebFrame):
2726 (WebKit::WebFrame::openURL):
2727 (WebKit::WebFrame::loadURL):
2728 * Spinneret/Spinneret/WebFrame.h:
2730 2006-03-08 Eric Seidel <eseidel@apple.com>
2734 Focus URL bar on Spinneret launch, remove border from WebView.
2735 Stop WebFrame from deleting the job (prevent crash).
2737 * Spinneret/Spinneret/Spinneret.cpp:
2739 * Spinneret/Spinneret/WebFrame.cpp:
2740 (WebKit::WebFrame::receivedAllData):
2741 (WebKit::WebFrame::paint):
2742 * Spinneret/Spinneret/WebView.cpp:
2743 (WebKit::WebView::createWebView):
2745 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2749 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2750 (pluginInvoke): Added a method to test getURL.
2752 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2756 - load URLs, not file paths, in Spinneret
2758 * Spinneret/Spinneret/Spinneret.cpp:
2760 * Spinneret/Spinneret/Spinneret.vcproj:
2761 * Spinneret/Spinneret/WebFrame.cpp:
2762 (WebKit::WebFrame::loadURL):
2763 (WebKit::WebFrame::receivedData):
2764 (WebKit::WebFrame::receivedAllData):
2765 * Spinneret/Spinneret/WebFrame.h:
2766 * Spinneret/Spinneret/WebView.cpp:
2767 (WebKit::WebView::WebView):
2769 2006-03-08 Darin Adler <darin@apple.com>
2773 - fixed AppleScript layout test results to not be endian-dependent
2774 (Hyatt complained to me about this one)
2776 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2777 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2778 (which are endian-dependent).
2780 2006-03-07 Darin Adler <darin@apple.com>
2784 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
2785 unwanted output while running layout tests
2787 * DumpRenderTree/DumpRenderTree.m:
2788 (checkedMalloc): Added.
2789 (checkedRealloc): Added.
2790 (makeLargeMallocFailSilently): Added.
2791 (main): Call makeLargeMallocFailSilently.
2793 2006-03-06 Darin Adler <darin@apple.com>
2795 * Scripts/do-webcore-rename: Add some more planned renaming.
2797 2006-03-06 Eric Seidel <eseidel@apple.com>
2801 * Spinneret/Spinneret/WebFrame.cpp:
2802 (WebKit::WebFrame::paint): force layout before painting
2804 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2808 Sent the windowNumber when sending events.
2809 Added leapForward so that we don't have to spend time waiting
2810 in layout tests that do mouse operations that require delays.
2812 * DumpRenderTree/DumpRenderTree.m:
2813 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2814 (+[EventSendingController webScriptNameForSelector:]):
2815 (-[EventSendingController currentEventTime]):
2816 (-[EventSendingController leapForward:]):
2817 (-[EventSendingController mouseDown]):
2818 (-[EventSendingController mouseUp]):
2819 (-[EventSendingController mouseMoveToX:Y:]):
2821 2006-03-05 Darin Adler <darin@apple.com>
2823 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2824 Script now works (after landing my two pending patches).
2826 2006-03-05 Darin Adler <darin@apple.com>
2828 - check in a script to do a "big" rename in WebCore
2829 (can be run whenever we're ready to do it)
2831 * Scripts/do-webcore-rename: Added.
2833 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2837 * Spinneret/Spinneret/WebFrame.cpp:
2838 (WebKit::WebFrame::loadFilePath): Close file when done.
2840 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2842 Reviewed by Darin, landed by ap.
2844 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
2845 Mouse moved events do not work in DumpRenderTree
2847 Test: fast/events/event-sender-mouse-moved.html
2849 * DumpRenderTree/DumpRenderTree.m:
2850 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2852 2006-03-04 Eric Seidel <eseidel@apple.com>
2856 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2857 Disable background erase to avoid tearing.
2858 Fix potential memory smasher from extra long urls.
2860 * Spinneret/Spinneret/Spinneret.cpp:
2862 * Spinneret/Spinneret/Spinneret.vcproj:
2863 * Spinneret/Spinneret/WebFrame.cpp:
2864 (WebKit::WebFrame::loadFilePath):
2865 (WebKit::WebFrame::paint):
2866 * Spinneret/Spinneret/WebView.cpp:
2867 (WebKit::registerWebViewWithInstance):
2869 2006-03-04 Eric Seidel <eseidel@apple.com>
2873 Hang WebView pointer off of HWND (gets rid of global hack).
2874 Remove MessageBox displayed on url change.
2876 * Spinneret/Spinneret/Spinneret.cpp:
2879 * Spinneret/Spinneret/WebView.cpp:
2880 (WebKit::registerWebViewWithInstance):
2881 (WebKit::WebView::createWebView):
2882 (WebKit::WebViewWndProc):
2884 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2888 Automatically kill httpd if it appears to be already running.
2890 * Scripts/run-webkit-tests:
2892 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2896 * Spinneret/Spinneret/WebFrame.cpp:
2897 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2899 2006-03-03 Eric Seidel <eseidel@apple.com>
2903 A few more fixes to make run-webkit-tests really work on win32.
2905 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2907 * Scripts/run-webkit-tests:
2909 2006-03-03 Eric Seidel <eseidel@apple.com>
2913 Make run-webkit-tests work on win32.
2915 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2917 (dumpRenderTreeMain):
2918 (dumpRenderTreeToStdOut):
2919 (serializeToStdOut):
2921 * Scripts/run-webkit-tests:
2922 * Scripts/webkitdirs.pm:
2923 * Spinneret/Spinneret/WebView.cpp:
2924 (WebKit::WebView::WebView):
2926 2006-03-03 Eric Seidel <eseidel@apple.com>
2930 Add WebFrame class (to hold Frame and FrameView).
2931 Add Location bar support to Spinneret.
2933 * Spinneret/Spinneret/Spinneret.cpp:
2938 * Spinneret/Spinneret/Spinneret.vcproj:
2939 * Spinneret/Spinneret/WebFrame.cpp: Added.
2940 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2941 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2942 (WebKit::WebFrame::WebFrame):
2943 (WebKit::WebFrame::loadFilePath):
2944 (WebKit::WebFrame::loadHTMLString):
2945 (WebKit::WebFrame::paint):
2946 (WebKit::WebFrame::impl):
2947 (WebKit::WebFrame::viewImpl):
2948 * Spinneret/Spinneret/WebFrame.h: Added.
2949 * Spinneret/Spinneret/WebView.cpp:
2950 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2951 (WebKit::WebView::WebView):
2952 (WebKit::WebView::windowHandle):
2953 (WebKit::WebView::mainFrame):
2954 (WebKit::WebView::mouseMoved):
2955 (WebKit::WebView::mouseDown):
2956 (WebKit::WebView::mouseUp):
2957 (WebKit::WebView::mouseDoubleClick):
2958 (WebKit::WebViewWndProc):
2959 * Spinneret/Spinneret/WebView.h:
2961 2006-03-02 Eric Seidel <eseidel@apple.com>
2965 * Spinneret/Spinneret/WebView.cpp:
2966 (WebKit::registerWebViewWithInstance):
2967 (WebKit::WebView::WebView):
2968 (WebKit::WebView::mouseMoved):
2969 (WebKit::WebView::mouseDown):
2970 (WebKit::WebView::mouseUp):
2971 (WebKit::WebView::mouseDoubleClick):
2972 (WebKit::WebViewWndProc):
2973 * Spinneret/Spinneret/WebView.h:
2975 2006-03-01 Eric Seidel <eseidel@apple.com>
2977 Reviewed by andersca.
2979 Make spinneret take advantage of the new GraphicsContextCairo.
2981 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2982 (main): updated to match style guidelines.
2983 * Spinneret/Spinneret/Spinneret.cpp:
2985 * Spinneret/Spinneret/WebView.cpp:
2986 (WebKit::registerWebViewWithInstance):
2987 (WebKit::WebView::WebView):
2988 (WebKit::WebView::~WebView):
2989 (WebKit::WebView::drawRect):
2991 * Spinneret/Spinneret/WebView.h:
2993 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2997 Give the events that eventSender sends a unique eventNumber
2999 * DumpRenderTree/DumpRenderTree.m:
3000 (-[EventSendingController mouseDown]):
3001 (-[EventSendingController mouseUp]):
3002 (-[EventSendingController mouseMoveToX:Y:]):
3004 2006-03-01 Eric Seidel <eseidel@apple.com>
3008 Add a stub win32 application to test WebCore drawing on windows.
3011 * Spinneret/Spinneret: Added.
3012 * Spinneret/Spinneret.sln: Added.
3013 * Spinneret/Spinneret/Resource.h: Added.
3014 * Spinneret/Spinneret/Spinneret.cpp: Added.
3020 * Spinneret/Spinneret/Spinneret.h: Added.
3021 * Spinneret/Spinneret/Spinneret.ico: Added.
3022 * Spinneret/Spinneret/Spinneret.rc: Added.
3023 * Spinneret/Spinneret/Spinneret.vcproj: Added.
3024 * Spinneret/Spinneret/WebView.cpp: Added.
3025 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
3026 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
3027 (WebKit::registerWebViewWithInstance):
3028 (WebKit::WebView::createWebView):
3029 (WebKit::WebView::WebView):
3030 (WebKit::WebView::~WebView):
3031 (WebKit::WebView::drawRect):
3032 (WebKit::WebView::windowHandle):
3034 * Spinneret/Spinneret/WebView.h: Added.
3035 * Spinneret/Spinneret/small.ico: Added.
3036 * Spinneret/Spinneret/stdafx.cpp: Added.
3037 * Spinneret/Spinneret/stdafx.h: Added.
3039 2006-02-28 Eric Seidel <eseidel@apple.com>
3043 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3044 (main): add ability to dump render tree and read from a local file.
3046 2006-02-27 Eric Seidel <eseidel@apple.com>
3050 * Scripts/install-win-extras: fix dll permissions & download zlib too.
3052 2006-02-27 Eric Seidel <eseidel@apple.com>
3056 Test new KConfig -> PlugInInfoStore change.
3057 http://bugs.webkit.org/show_bug.cgi?id=7498
3059 * DumpRenderTree/DumpRenderTree.m:
3060 (main): load test netscape plugin
3061 * Scripts/run-webkit-tests: style update
3063 2006-02-24 Eric Seidel <eseidel@apple.com>
3067 Make DumpRenderTree link against icu.
3069 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
3071 2006-02-24 Eric Seidel <eseidel@apple.com>
3075 Make DumpRenderTree link against libxml, etc.
3077 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
3079 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
3081 Reviewed and landed by Anders.
3083 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
3084 getting called from the run loop, making the view render each test and thus slowing
3087 * DumpRenderTree/DumpRenderTree.m:
3088 (main): Set the offscreen window to not autodisplay.
3090 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
3094 - Turn http tests back on by default.
3095 - Wait for Apache to actually start serving requests.
3096 - Get user id from a built-in variable rather than an external command;
3097 don't pass the group.
3099 * Scripts/run-webkit-tests:
3101 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
3103 Suggested by Mitz Pettel, reviewed by Darin.
3105 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
3106 can run CGIs even if the permissions are 700 or 600.
3108 2006-02-23 Darin Adler <darin@apple.com>
3110 Collaborating with Alexey.
3112 - turn off http tests by default until we figure out how to get them
3113 to run even when permissions on CGI files are 700 instead of 755
3115 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
3117 2006-02-23 Eric Seidel <eseidel@apple.com>
3119 Add *.user to ignore list.
3121 2006-02-23 Eric Seidel <eseidel@apple.com>
3123 Remove binary file which shouldn't have been commited (and add to ignore list).
3125 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
3126 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
3128 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3132 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
3134 2006-02-22 Eric Seidel <eseidel@apple.com>
3136 Reviewed by Tim Hatcher.
3138 Fix install-win-extras to not try to re-install setx if installed.
3140 * Scripts/install-win-extras:
3142 2006-02-22 Eric Seidel <eseidel@apple.com>
3144 One more file possibly missing from previous commit?
3146 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
3147 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3149 2006-02-22 Eric Seidel <eseidel@apple.com>
3151 Reviewed by justing.
3153 Files missing from previous commit.
3155 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3156 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
3158 2006-02-22 Eric Seidel <eseidel@apple.com>
3160 Rubber-stamped by justing.
3162 Corrected path for DumpRenderTree.intermediate files
3164 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3166 2006-02-22 Eric Seidel <eseidel@apple.com>
3168 Reviewed by justing.
3170 Fixed build-dumprendertree to exit with correct error codes.
3172 * Scripts/build-dumprendertree:
3174 2006-02-22 Eric Seidel <eseidel@apple.com>
3176 Reviewed by justing.
3178 Update build scripts to generalize building on Win32, and allow
3179 building of DumpRenderTree on Win32 from build-dumprendertree.
3181 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3183 * Scripts/build-dumprendertree:
3184 * Scripts/build-webkit:
3185 * Scripts/webkitdirs.pm:
3187 2006-02-22 Eric Seidel <eseidel@apple.com>
3191 * DumpRenderTree/DumpRenderTree.vcproj: Added.
3192 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
3193 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
3194 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
3195 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
3196 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
3198 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
3199 * Scripts/build-webkit: make build-webkit cleanup after itself
3201 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3205 - http://bugs.webkit.org/show_bug.cgi?id=7409
3206 Some minor fixes to http tests.
3208 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
3210 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
3214 - http://bugs.webkit.org/show_bug.cgi?id=6197
3215 Would like to use locally installed Apache for testing.
3217 Added two run-webkit-tests options:
3218 --http (--nohttp) - whether to launch Apache (defaults to yes);
3219 --port - which port to listen on (defaults to 8000).
3221 Tests in LayoutTests/http are not run directly, and Apache is used instead.
3222 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
3223 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
3225 Also added support for .shtml and .text files. Text files give an empty
3226 *-expected.txt, but a correct image.
3228 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
3230 * Scripts/run-webkit-tests:
3232 2006-02-21 Darin Adler <darin@apple.com>
3234 Suggested by Mark Rowe.
3236 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
3237 reporting leak counts.
3239 2006-02-18 Maciej Stachowiak <mjs@apple.com>
3243 - Added install-win-extras script which installs some extra
3244 programs and libraries, and does Windows first-time setup.
3246 * Scripts/build-webkit: Add a newline between build results.
3247 * Scripts/install-win-extras: Added.
3249 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3253 - http://bugs.webkit.org/show_bug.cgi?id=7308
3254 DumpRenderTree should be able to load files via HTTP
3256 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
3257 Handle tests starting with "http://" as real URLs, not file system paths.
3259 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3263 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
3264 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
3266 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
3268 2006-02-18 Darin Adler <darin@apple.com>
3270 * Scripts/commit-log-editor: Added.
3272 2006-02-17 Eric Seidel <eseidel@apple.com>
3276 Make Win32 have the same default "WebKitBuild" directory behavior.
3278 * Scripts/build-webkit:
3279 * Scripts/webkitdirs.pm:
3281 2006-02-17 Eric Seidel <eseidel@apple.com>
3285 * Scripts/build-webkit: make win32 actually report errors
3287 2006-02-17 Eric Seidel <eseidel@apple.com>
3291 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
3293 2006-02-17 Eric Seidel <eseidel@apple.com>
3297 * Scripts/run-webkit-tests: Ignore flash leaks
3299 2006-02-15 Justin Garcia <justin.garcia@apple.com>
3303 <http://bugs.webkit.org/show_bug.cgi?id=7148>
3304 Add drag and drop support to DumpRenderTree
3306 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
3307 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
3309 * DumpRenderTree/DumpRenderTree.m:
3311 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3312 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3313 (-[WaitUntilDoneDelegate webViewFocus:]):
3314 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3315 (+[LayoutTestController webScriptNameForSelector:]):
3316 (-[LayoutTestController setWindowIsKey:]):
3317 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3318 (-[EventSendingController init]):
3319 (-[EventSendingController mouseDown]):
3320 (-[EventSendingController mouseUp]):
3321 (-[EventSendingController mouseMoveToX:Y:]):
3323 (-[DumpRenderTreeWindow isKeyWindow]):
3324 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
3325 (-[DumpRenderTreeDraggingInfo dealloc]):
3326 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3327 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
3328 (-[DumpRenderTreeDraggingInfo draggingLocation]):
3329 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
3330 (-[DumpRenderTreeDraggingInfo draggedImage]):
3331 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
3332 (-[DumpRenderTreeDraggingInfo draggingSource]):
3333 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
3334 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
3335 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
3336 * DumpRenderTree/TextInputController.m:
3337 (-[TextInputController firstRectForCharactersFrom:length:]):
3338 (-[TextInputController characterIndexForPointX:Y:]):
3340 2006-02-15 Geoffrey Garen <ggaren@apple.com>
3344 * DumpRenderTree/DumpRenderTree.m:
3345 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3346 Added a dummy method for the sake of LayoutTests/plugins/
3347 undefined-property-crash.html. (It tests a crash due to fallback
3348 object use. WebCore won't create a fallback object if the method is
3351 2006-02-14 Eric Seidel <eseidel@apple.com>
3355 * Scripts/run-webkit-tests: added --results-directory (-o) option
3357 2006-02-09 Eric Seidel <eseidel@apple.com>
3359 Rubber-stamped by mjs.
3361 Renamed split-class to split-file-by-class.
3363 * Scripts/build-webkit: Updated copyright.
3364 * Scripts/split-class: Removed.
3365 * Scripts/split-file-by-class: Added.
3367 2006-02-08 Eric Seidel <eseidel@apple.com>
3369 Rubber-stamped by mjs.
3371 Adding new script for splitting multi-class files.
3372 Also adding supporting perl module with space removing heuristics.
3374 * Scripts/SpacingHeuristics.pm: Added.
3375 * Scripts/build-drawtest: updated copyright header
3376 * Scripts/split-class: Added.
3378 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3380 Reviewed by thatcher
3382 Changes to test fix for:
3383 <http://bugs.webkit.org/show_bug.cgi?id=3982>
3384 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3386 * DumpRenderTree/DumpRenderTree.m:
3387 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3388 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3389 (+[LayoutTestController webScriptNameForSelector:]):
3390 (-[LayoutTestController setWindowHasFocus:]):
3391 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3393 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3395 Reviewed by Timothy.
3397 Support automated testing of AppleScript "do JavaScript" command
3398 http://bugs.webkit.org/show_bug.cgi?id=7012
3400 * DumpRenderTree/AppleScriptController.h: Added.
3401 * DumpRenderTree/AppleScriptController.m: Added.
3402 * DumpRenderTree/DumpRenderTree.m:
3403 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3404 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3406 2006-02-06 Eric Seidel <eseidel@apple.com>
3410 Fix build-webkit for use on win32 (unblocks buildbot usage).
3411 http://bugs.webkit.org/show_bug.cgi?id=7122
3413 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3414 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3416 2006-02-06 Eric Seidel <eseidel@apple.com>
3418 Rubber-stamped by darin & mjs.
3420 Added new support directory for build slave scripts.
3421 Committing the first script, for use by the PLT's build slave.
3422 This script is used to kick of the PLT (Page Load Test) slave.
3424 * BuildSlaveSupport: Added.
3425 * BuildSlaveSupport/run-performance-tests: Added.
3427 2006-02-06 Eric Seidel <eseidel@apple.com>
3429 Rubber-stamped by darin.
3431 Adding setSourceDir for scripts stored in non-standard locations.
3433 * Scripts/webkitdirs.pm:
3435 2006-02-04 Darin Adler <darin@apple.com>
3437 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3438 Configuration files that say Development or Deployment in them.
3440 2006-02-04 Darin Adler <darin@apple.com>
3442 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3443 wrapper already in the directory.
3444 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3445 these haven't been working at all.
3446 * Scripts/svn-unapply: Ditto.
3448 2006-02-03 Timothy Hatcher <timothy@apple.com>
3452 Renamed configuration names to Debug, Release and Production.
3454 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3455 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3456 * Scripts/set-webkit-configuration:
3457 * Scripts/webkitdirs.pm:
3459 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3461 Reviewed by thatcher
3463 Enabled spell checking for layout tests.
3465 * DumpRenderTree/DumpRenderTree.m:
3468 2006-01-29 Darin Adler <darin@apple.com>
3470 * Scripts/svn-apply: Added comments about things we should do to improve.
3471 * Scripts/svn-create-patch: Ditto.
3472 * Scripts/svn-unapply: Ditto.
3474 2006-01-28 Darin Adler <darin@apple.com>
3476 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3477 already there, even if the checksum is correct.
3479 2006-01-27 Eric Seidel <eseidel@apple.com>
3483 * Scripts/run-webkit-tests: make new tests use absolute urls
3485 2006-01-27 Eric Seidel <eseidel@apple.com>
3489 make run-webkit-tests output total leaks count
3491 * Scripts/run-webkit-tests:
3493 2006-01-27 Eric Seidel <eseidel@apple.com>
3497 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3498 http://bugs.webkit.org/show_bug.cgi?id=6869
3500 * Scripts/run-webkit-tests: fix --leaks to not crash
3502 2006-01-26 Eric Seidel <eseidel@apple.com>
3506 run-webkit-tests should produce a self-contained results directory
3507 http://bugs.webkit.org/show_bug.cgi?id=6864
3509 * Scripts/run-webkit-tests: copy failing items to results dir.
3511 2006-01-23 Darin Adler <darin@apple.com>
3513 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
3514 need script to update localizable strings file in WebKit
3516 * Scripts/update-webkit-localizable-strings: Added.
3518 2006-01-23 Darin Adler <darin@apple.com>
3520 - added a couple of scripts -- more about these two soon
3522 * Scripts/extract-localizable-strings: Added.
3523 * Scripts/merge-changelog: Added.
3525 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3529 Build fix. build-webkit dies with "invalid build action: (empty string)"
3531 * Scripts/build-webkit:
3532 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3534 2006-01-22 Eric Seidel <eseidel@apple.com>
3538 Fix --no-svg option to use XCode flags instead of gcc flags.
3540 * Scripts/build-webkit:
3542 2006-01-22 Eric Seidel <eseidel@apple.com>
3546 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3548 * Scripts/build-webkit:
3550 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3552 Reviewed by eseidel.
3554 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
3555 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3557 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3558 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3560 2006-01-19 Darin Adler <darin@apple.com>
3562 * Scripts/report-include-statistics: Added a new script.
3564 2006-01-19 Timothy Hatcher <timothy@apple.com>
3566 * Scripts/build-webkit: include JavaScriptGlue in the build
3568 2006-01-19 Darin Adler <darin@apple.com>
3570 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3571 spaces in it by using the form of open that treats each argument as a string
3572 rather than backtick syntax for reading the output of the nm tool.
3574 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3578 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3579 detect if there are any new tests
3581 * Scripts/prepare-ChangeLog:
3583 2006-01-12 Darin Adler <darin@apple.com>
3585 - removed some of the cvs-specific scripts -- not needed for this project any more
3587 * Scripts/cvs-abandon: Removed.
3588 * Scripts/cvs-apply: Removed.
3589 * Scripts/cvs-create-patch: Removed.
3590 * Scripts/cvs-unapply: Removed.
3592 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3594 Reviewed by eseidel. Committed by eseidel.
3596 - run-webkit-tests always launches Safari when tests fail
3597 http://bugs.webkit.org/show_bug.cgi?id=6456
3599 * Scripts/run-webkit-tests:
3600 Add a command-line flag to prevent Safari being launched to display failed
3601 tests. Always exit with non-zero status when tests have failed.
3603 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3605 Reviewed by eseidel. Committed by eseidel.
3607 - build-webkit should exit with non-zero status when build fails
3608 http://bugs.webkit.org/show_bug.cgi?id=6459
3610 * Scripts/build-webkit:
3611 Use correct bits of subprocess exit code when passing back through
3612 as build-webkit's exit code.
3614 2006-01-10 Eric Seidel <eseidel@apple.com>
3616 Restored corrupted nibs from TOT CVS.
3618 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3619 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3620 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3621 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3622 * DrawTest/English.lproj/Inspector.nib: Replaced.
3623 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3624 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3625 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3626 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3627 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3628 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3629 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3630 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3631 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3632 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3633 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3635 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3637 Reviewed by eseidel. Committed by eseidel.
3639 DrawTestView now subclasses WebView instead of DrawView.
3641 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3642 * DrawTest/DrawTestDocument.h:
3643 * DrawTest/DrawTestDocument.m:
3644 (-[DrawTestDocument dealloc]):
3645 (-[DrawTestDocument readFromFile:ofType:]):
3646 (-[DrawTestDocument windowControllerDidLoadNib:]):
3647 (-[DrawTestDocument dumpSVGToConsole:]):
3648 (-[DrawTestDocument openSourceForSelection:]):
3649 (-[DrawTestDocument dataRepresentationOfType:]):
3650 * DrawTest/DrawTestToolbarController.h:
3651 * DrawTest/DrawTestToolbarController.m:
3652 (-[DrawTestToolbarController initWithDrawView:]):
3653 (-[DrawTestToolbarController clickedToolbarItem:]):
3654 (-[DrawTestToolbarController validateToolbarItem:]):
3655 * DrawTest/DrawTestView.h:
3656 * DrawTest/DrawTestView.m:
3657 (-[DrawTestView initWithFrame:]):
3658 (-[DrawTestView setDocument:]):
3659 * DrawTest/SVGTest.h:
3660 * DrawTest/SVGTest.m:
3661 (+[SVGTest sharedDrawView]):
3662 (-[SVGTest generateCompositeIfNecessary]):
3663 * DrawTest/TestController.h:
3664 * DrawTest/TestController.m:
3665 (-[TestController awakeFromNib]):
3666 (-[TestController setSelectedTest:]):
3667 (-[TestController openTestViewerForSelection:]):
3668 (-[TestController toggleViewersScaleRule:]):
3669 * DrawTest/TestViewerSplitView.m:
3670 (-[TestViewerSplitView drawRect:]):
3672 2006-01-10 Anders Carlsson <andersca@mac.com>
3674 Reviewed by Timothy.
3676 * DumpRenderTree/DumpRenderTree.m:
3677 (main): Set the default language to "en", so language tests will work.
3679 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3683 - script to generate HTML wrappers for JS tests
3684 http://bugs.webkit.org/show_bug.cgi?id=6441
3686 * Scripts/make-js-test-wrappers: Added.
3688 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3692 * Scripts/svn-create-patch: Fix to work when passed directory names.
3694 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3698 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3699 can start writing automated loader tests now. I have one in the works.
3701 * DumpRenderTree/DumpRenderTree.m:
3702 (main): Construct global navigationController on entry, destroy on exit.
3703 Set frame to nil on exit too, to match all the other global objects.
3704 (Probably academic, since the process is exiting, anyway.)
3705 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3706 navigationController, in case it wants to kick off a load.
3707 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3708 the navigationController to scripting.
3710 New class, should be straightforward:
3712 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3713 * DumpRenderTree/NavigationController.h: Added.
3714 * DumpRenderTree/NavigationController.m: Added.
3716 (+[NavigationController isSelectorExcludedFromWebScript:]):
3717 (+[NavigationController webScriptNameForSelector:]):
3718 (-[NavigationController setPendingScript:]):
3719 (-[NavigationController setPendingRequest:]):
3720 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3721 (-[NavigationController webView:didFinishLoadForFrame:]):
3722 (-[NavigationController dealloc]):
3724 2006-01-08 Timothy Hatcher <timothy@apple.com>
3726 Removed this script, no longer needs with the Subversion switch.
3728 * checkout: Removed.
3730 2006-01-08 Timothy Hatcher <timothy@apple.com>
3732 Removes some stray tabs.
3734 * Scripts/update-webkit:
3736 2005-01-07 Eric Seidel <eseidel@apple.com>
3740 build-webkit should pass on build arguments from command line
3741 http://bugs.webkit.org/show_bug.cgi?id=5854
3743 * Scripts/build-webkit:
3745 2006-01-07 Eric Seidel <eseidel@apple.com>
3747 Reviewed by mjs & xenon.
3749 * Scripts/update-webkit: support Internal updates as well
3751 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3753 Temporarily rolling out plugin support from DumpRenderTree because it
3754 caused lots of layout test regressions.
3756 * DumpRenderTree/DumpRenderTree.m:
3757 (main): Remove invisible window added to support plugins.
3759 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3763 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
3764 Add plugin support to DumpRenderTree
3766 Also wrote first test plugin.
3768 * DumpRenderTree/DumpRenderTree.m:
3770 (1) Put the WebView in an invisible window, because PlugIns are
3771 optimized not to load if there's no parent window.
3772 (2) Tell WebKit to load any PlugIns in the directory from which we
3773 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3774 and they'll load automagically during layout testing, but they won't be
3775 added to the user's system, hosing apps like Safari.
3777 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3778 test PlugIn to project.
3780 PlugIn added to project:
3782 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3783 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3785 (initializeIdentifiers):
3786 (pluginHasProperty):
3788 (pluginGetProperty):
3789 (pluginSetProperty):
3791 (pluginInvokeDefault):
3795 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3796 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3798 (NP_GetEntryPoints):
3804 (NPP_DestroyStream):
3814 2006-01-04 Timothy Hatcher <timothy@apple.com>
3818 Tweaked and tested by me.
3820 New scripts to work with Subversion when the switch happens.
3821 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3823 * Scripts/svn-apply: Added.
3824 * Scripts/svn-create-patch: Added.
3825 * Scripts/svn-unapply: Added.
3827 2005-12-30 Eric Seidel <eseidel@apple.com>
3831 Move WebView width/height logic into DumpRenderTree to support
3832 running the W3C SVG 1.1 tests along side other tests. The W3C
3833 SVG 1.1 tests require a 480x360 view.
3835 * DumpRenderTree/DumpRenderTree.m:
3836 (main): don't accept width/height
3837 (dump): override width/height for SVG/W3C
3838 * Scripts/run-webkit-tests: don't pass width/height
3840 2005-12-30 Eric Seidel <eseidel@apple.com>
3842 No review, only removing dead code.
3844 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3845 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3847 2005-12-30 Eric Seidel <eseidel@apple.com>
3851 DumpRenderTree should set a consistent color profile while running
3852 http://bugs.webkit.org/show_bug.cgi?id=6155
3854 Creates consistent colormatched renderings on every test machine
3855 using the only way possible with Tiger APIs: by setting the
3856 system color profile on the test machine for the duration of the
3857 tests. This will (unfortunately) cause colors to change while
3858 running DumpRenderTree. This can also cause "permanent" color
3859 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3860 This is far from ideal, but it's be best way we've found to deal
3861 with the issue for now.
3863 * DumpRenderTree/DumpRenderTree.m:
3864 (restoreColorSpace):
3865 (setDefaultColorProfileToRGB):
3868 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3870 Reviewed by Darin Adler.
3872 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
3873 cvs-create-patch --include produces incorrect paths
3875 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3877 2005-12-19 Eric Seidel <eseidel@apple.com>
3881 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3883 2005-12-19 Darin Adler <darin@apple.com>
3885 Reviewed by Eric Seidel.
3887 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
3888 WebKit needs to use a local pasteboard during testing
3890 * DumpRenderTree/DumpRenderTree.m:
3891 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3892 Create a local pasteboard (really a global one with a unique name) and release
3893 it when exiting from the function so we don't leave it in the pasteboard server.
3894 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3895 ddn't have one. Fixed a leak in an unlikely error case.
3896 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3897 of this method to return our local pasteboard.
3899 2005-12-15 Eric Seidel <eseidel@apple.com>
3901 Reviewed by Tim Hatcher.
3903 * Scripts/build-webkit: --svg is now default!
3905 2005-12-15 Eric Seidel <eseidel@apple.com>
3909 Don't run svg test automatically if +SVG is built (yet).
3911 * Scripts/run-webkit-tests:
3913 2005-12-15 Darin Adler <darin@apple.com>
3915 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3916 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3917 passed on the command line.
3919 2005-12-06 John Sullivan <sullivan@apple.com>
3921 Reviewed by Darin Adler.
3923 * Scripts/prepare-ChangeLog:
3924 Remove special-case handling for nib files. This avoided trouble with cvs diff
3925 when we were using wrappers for nib files. Now that we aren't using wrappers,
3926 there's no reason to avoid adding the modified nib files to the file list that
3929 2005-12-05 Eric Seidel <eseidel@apple.com>
3933 Script updates for SVG files move (remove references to SVGSupport)
3935 * Scripts/build-webkit: remove SVGSupport
3936 * Scripts/run-webkit-tests: Resources -> resources for --svg
3937 * Scripts/update-webkit: remove SVGSupport
3939 2005-12-05 Eric Seidel <eseidel@apple.com>
3943 * checkout: remove --svg support, SVG is now checked out by default
3945 2005-11-29 Eric Seidel <eseidel@apple.com>
3949 Update scripts to run SVG tests automatically (w/o --svg) if
3950 WebCore is built with SVG support.
3952 * Scripts/build-drawtest: SVG support required
3953 * Scripts/build-dumpkcanvastree: Removed.
3954 * Scripts/run-drawtest: SVG support required to run
3955 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3956 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3958 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3960 Reviewed by Darin. Committed by Maciej.
3962 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3963 (http://bugs.webkit.org/show_bug.cgi?id=5838)
3965 * DumpRenderTree/DumpRenderTree.m:
3968 2005-11-28 Eric Seidel <eseidel@apple.com>
3970 Reviewed by sullivan and GGAREN.
3972 Minor additions to make error messages more clear from cvs-apply.
3974 * Scripts/cvs-apply: make errors more clear
3976 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3978 Reviewed and committed by Maciej.
3980 - fixed cvs-create-patch --include produces incorrect paths
3981 (http://bugs.webkit.org/show_bug.cgi?id=5846)
3983 * Scripts/cvs-create-patch: produce proper paths for new files.
3985 2005-11-21 Eric Seidel <eseidel@apple.com>
3989 Some simple fixes to the build/test scripts now that SVG uses the
3990 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3991 or symlinks for KDOM.
3993 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3994 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3995 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3996 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3997 * checkout: no longer symlink kdom
3999 2005-11-10 Eric Seidel <eseidel@apple.com>
4003 * Scripts/build-webkit: Pass through options to xcodebuild
4005 2005-11-07 Darin Adler <darin@apple.com>
4007 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
4009 2005-11-03 John Sullivan <sullivan@apple.com>
4013 * Scripts/run-safari:
4014 changed message to say "Starting Safari" instead of odd "Start Safari"
4015 * Scripts/run-webkit-tests:
4016 changed the way we pass the file parameter to use -NSOpen rather than relying on
4017 unlabeled arguments being treated as files. This was failing on some machines that
4018 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
4020 2005-10-27 Geoffrey Garen <ggaren@apple.com>
4022 Patch by Alexey Proskuryakov.
4026 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
4027 TextInputController should support attributed strings
4029 * DumpRenderTree/TextInputController.m:
4030 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
4031 (+[NSMutableAttributedString webScriptNameForSelector:]):
4032 (-[NSMutableAttributedString getLength]):
4033 (-[NSMutableAttributedString attributeNamesAtIndex:]):
4034 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
4035 (-[NSMutableAttributedString addAttribute:value:]):
4036 (-[NSMutableAttributedString addAttribute:value:from:length:]):
4037 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
4038 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
4039 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
4040 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
4041 (+[TextInputController isSelectorExcludedFromWebScript:]):
4042 (+[TextInputController webScriptNameForSelector:]):
4043 (-[TextInputController insertText:]):
4044 (-[TextInputController attributedSubstringFrom:length:]):
4045 (-[TextInputController attributedStringWithString:]):
4047 2005-10-11 Eric Seidel <eseidel@apple.com>
4051 Checks for leaks in ImageDiff too.
4053 * Scripts/run-webkit-tests:
4055 2005-10-09 Darin Adler <darin@apple.com>
4057 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
4058 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
4059 * Scripts/cvs-unapply: Ditto.
4060 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
4062 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
4064 Reviewed, rearranged and landed by Darin.
4066 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
4067 Need a way to automatically test for regressions in NSTextInput implementation
4069 * DumpRenderTree/DumpRenderTree.m:
4070 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
4071 Create a text input controller and put it in a property of the window object.
4073 * DumpRenderTree/TextInputController.h: Added.
4074 * DumpRenderTree/TextInputController.m: Added.
4075 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
4077 2005-10-06 Darin Adler <darin@apple.com>
4079 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
4080 are controlled by cvs, or when changes cross multiple repositories.
4081 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
4083 2005-10-03 Eric Seidel <eseidel@apple.com>
4087 Make mouseDown and mouseUp force layout before acting.
4088 This is used by a new test case for 4233558.
4090 * DumpRenderTree/DumpRenderTree.m:
4091 (-[EventSendingController mouseDown]): force layout
4092 (-[EventSendingController mouseUp]): force layout
4094 2005-09-30 Eric Seidel <eseidel@apple.com>
4098 Updated all the scripts for the move:
4099 WebCore/layout-tests -> LayoutTests
4101 * Scripts/check-dom-results:
4102 * Scripts/prepare-ChangeLog:
4103 * Scripts/run-webkit-tests:
4104 * Scripts/update-webkit: added --no-tests
4105 * checkout: added --no-tests
4107 2005-09-28 Darin Adler <darin@apple.com>
4109 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
4110 pixel test should run even if render trees differ
4112 * Scripts/run-webkit-tests: Don't check if the text dump matches.
4114 2005-09-27 Eric Seidel <eseidel@apple.com>
4116 No review needed, SVG build fix only.
4118 * DumpKCanvasTree/DumpKCanvasTree.m:
4119 Missed one in my previous checkin.
4120 http://bugs.webkit.org/show_bug.cgi?id=5141
4122 2005-09-26 Eric Seidel <eseidel@apple.com>
4124 No review needed, SVG build fix only.
4126 * DrawTest/DrawTestDocument.m:
4127 * DrawTest/DrawTestToolbarController.m:
4128 * DrawTest/DrawTestView.h:
4129 * DrawTest/DrawTestView.m:
4130 * DrawTest/SVGTest.m:
4131 * DrawTest/TestController.m:
4132 Updated for WebCore+SVG -> WebCore rename.
4133 http://bugs.webkit.org/show_bug.cgi?id=5141
4135 2005-09-26 Eric Seidel <eseidel@apple.com>
4139 * DumpRenderTree/DumpRenderTree.m:
4140 (dump): updated error message
4141 * Scripts/check-dom-results: now includes xhtml
4142 Tool updates for xhtml.
4143 http://bugs.webkit.org/show_bug.cgi?id=4907
4145 2005-09-22 Duncan Wilcox <duncan@mclink.it>
4150 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
4151 "Would like to simulate human interaction with webview"
4153 * DumpRenderTree/DumpRenderTree.m:
4154 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
4155 (+[EventSendingController isSelectorExcludedFromWebScript:]):
4156 (+[EventSendingController webScriptNameForSelector:]):
4157 (-[EventSendingController init]):
4158 (-[EventSendingController mouseDown]):
4159 (-[EventSendingController mouseUp]):
4160 (-[EventSendingController mouseMoveToX:Y:]):
4161 Add eventSender javascript object, that sends fake mouse events to the webview.
4163 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4164 link with Carbon.framework
4166 2005-09-22 Eric Seidel <eseidel@apple.com>
4170 Update tools for WebCore+SVG -> WebCore rename.
4171 Also fold several SVG specific tools into their original
4172 WebCore counterparts.
4173 http://bugs.webkit.org/show_bug.cgi?id=5003
4175 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
4176 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4177 * Scripts/build-drawtest:
4178 * Scripts/build-dumpkcanvastree:
4179 * Scripts/build-webcore-svg: Removed.
4180 * Scripts/build-webkit: added --svg option
4181 * Scripts/run-drawtest:
4182 * Scripts/run-webkit-tests:
4183 * Scripts/webkitdirs.pm: various additions.
4184 * checkout: added --svg option
4185 * checkout-svg: Removed.
4187 2005-09-19 Eric Seidel <eseidel@apple.com>
4191 * Scripts/run-webkit-tests: added --guard-malloc option
4192 http://bugs.webkit.org/show_bug.cgi?id=4613
4194 2005-09-16 Justin Garcia <justin.garcia@apple.com>
4198 Removed a script that is only used by apple internal developers
4200 * Scripts/update-webkitsysteminterface: Removed.
4202 2005-09-16 Adele Peterson <adele@apple.com>
4206 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
4208 2005-09-14 Darin Adler <darin@apple.com>
4210 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
4211 dumpAsText doesn't work with XHTML documents
4213 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
4214 rather than of the body element. This works with typical XHTML documents. We can probably
4215 do something even better in the long run, but this fixes the immediate issue.
4219 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
4220 run-safari instead of just using "open", which often runs another copy of Safari instead.
4222 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
4224 Reviewed, tweaked, and landed by Darin.
4226 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
4227 .Mac prefpane crashes when Safari using CVS WebKit is running
4229 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
4230 * Scripts/run-webkit-app: Ditto.
4232 2005-09-11 Darin Adler <darin@apple.com>
4234 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
4236 2005-09-11 Darin Adler <darin@apple.com>
4240 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
4241 two ways: 1) puts all files in a directory before any files in a subdirectory, and
4242 2) sort file names with numeric digits in them in a logical way, so test-33 will come
4245 2005-09-08 Justin Garcia <justin.garcia@apple.com>
4249 * Scripts/update-webkitsysteminterface: Added.
4250 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
4252 2005-09-01 John Sullivan <sullivan@apple.com>
4254 * Scripts/run-webkit-tests:
4255 Excluded a known system leak to reduce noise; added comments about which leaks
4258 2005-09-01 Tim Omernick <tomernick@apple.com>
4260 Change made by Darin, reviewed by John and myself.
4262 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
4264 * Scripts/prepare-ChangeLog:
4266 2005-08-31 Maciej Stachowiak <mjs@apple.com>
4270 - set color variant and font settings to a consistent value.
4271 (http://bugs.webkit.org/show_bug.cgi?id=4769)
4273 * DumpRenderTree/DumpRenderTree.m:
4276 2005-08-30 Eric Seidel <eseidel@apple.com>
4280 * Scripts/build-svg2png: Removed.