1 2006-10-10 David Smith <catfish.man@gmail.com>
5 Bug 11246: Minor Drosera code cleanup
6 http://bugs.webkit.org/show_bug.cgi?id=11246
8 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
10 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
14 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
17 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
18 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
19 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
20 * Drosera/Images/SourceArrowOpen.png: Added.
21 * Drosera/Images/fileIcon.jpg: Added.
22 * Drosera/Images/siteCollapsed.tif: Added.
23 * Drosera/Images/siteExpanded.tif: Added.
24 * Drosera/Images/siteIcon.tif: Added.
25 * Drosera/debugger.css: Added File Browser styles
26 * Drosera/debugger.html: Added File Browser UI
27 * Drosera/debugger.js: Added File Browser functionality
29 2006-10-10 Darin Adler <darin@apple.com>
31 * Scripts/do-file-rename: Added.
33 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
37 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
38 a page. This allows automatic testing via e.g. valgrind.
40 * GdkLauncher/gdklauncher.bkl:
41 * GdkLauncher/main.cpp:
42 (LauncherFrameGdk::LauncherFrameGdk):
43 (LauncherFrameGdk::setExitAfterLoading):
44 (LauncherFrameGdk::handledOnloadEvents):
48 2006-10-06 David Smith <catfish.man@gmail.com>
52 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
54 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
55 * Drosera/breakpointEditor.css: Added.
56 * Drosera/breakpointEditor.html: Added.
57 * Drosera/breakpointEditor.js: Added.
58 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
60 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
64 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
66 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
67 (WebCore::DumpRenderTree::DumpRenderTree):
69 2006-10-05 Oliver Hunt <ohunt@apple.com>
73 * Scripts/run-webkit-tests:
76 2006-10-04 Anders Carlsson <acarlsson@apple.com>
80 * Scripts/run-webkit-tests:
81 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
84 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
86 Reviewed and landed by ap.
88 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
89 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
91 * Scripts/webkitdirs.pm:
93 2006-10-04 Mark Rowe <bdash@webkit.org>
95 Reviewed by Stephanie.
97 Switch the Qt buildbot to the standard set of build steps.
98 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
99 see if any regressions were spotted, and fail the test if so.
101 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
102 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
103 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
105 2006-10-04 Timothy Hatcher <timothy@apple.com>
107 Reviewed by Mitz Pettel!
109 Bug 10708: [Drosera] Make the console input plaintext-only
110 http://bugs.webkit.org/show_bug.cgi?id=10708
112 Change the console input -webkit-user-modify property to
113 read-write-plaintext-only.
115 * Drosera/console.css:
117 2006-10-04 David Smith <catfish.man@gmail.com>
121 Bug 10473: [Drosera] Overlapping text in JavaScript Console
122 http://bugs.webkit.org/show_bug.cgi?id=10473
124 Using min-height instead of height to avoid overlapping text.
127 * Drosera/console.css:
129 2006-10-04 David Smith <catfish.man@gmail.com>
133 Added a bash-style command history.
135 * Drosera/console.js:
137 2006-10-03 Anders Carlsson <acarlsson@apple.com>
139 Reviewed by Adam and Brady.
141 * DumpRenderTree/DumpRenderTree.m:
143 Update URL to Ahem.ttf
145 2006-10-03 Darin Adler <darin@apple.com>
147 * Scripts/commit-log-editor: Added missing "close" call. Oops!
149 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
151 Reviewed by eseidel. Landed by eseidel.
153 Offer a way for BuildBot to not colorize the cmake output, when building
154 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
156 Default is colorize output, though only Qt platform handles this for now.
158 * Scripts/build-dumprendertree:
159 * Scripts/build-webkit:
160 * Scripts/webkitdirs.pm:
162 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
164 Reviewed by eseidel. Landed by eseidel.
166 Make all important scripts work with Qt/Linux.
168 You can safely use this now:
169 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
171 * Scripts/build-dumprendertree:
172 * Scripts/run-javascriptcore-tests:
173 * Scripts/run-webkit-tests:
174 * Scripts/webkitdirs.pm:
176 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
180 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
182 * Scripts/webkitdirs.pm:
184 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
186 Reviewed/landed by Adam.
188 Proper build-webkit support for Qt/Linux.
190 Compilation process is similar to OSX now, aka.
191 the build directory is RootCheckoutDir/WebKitBuild now.
193 * Scripts/build-webkit: Recognize Qt.
194 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
196 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
200 Add QT build slave to Buildbot.
202 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
203 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
204 * 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.
205 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
207 2006-09-28 David Harrison <harrison@apple.com>
211 Moved an extern declaration from inside a method to the top of the file.
213 * DumpRenderTree/EventSendingController.m:
214 (-[EventSendingController clearKillRing]):
216 2006-09-28 David Harrison <harrison@apple.com>
220 Add clearKillRing so we can test emacs support with empty kill ring.
222 * DumpRenderTree/EventSendingController.m:
223 (+[EventSendingController isSelectorExcludedFromWebScript:]):
224 (+[EventSendingController webScriptNameForSelector:]):
225 (-[EventSendingController clearKillRing]):
227 2006-09-27 MorganL <morganl.webkit@yahoo.com>
229 Reviewed by Maciej, landed by Brady
231 Fix URL bar updating.
233 * Spinneret/Spinneret/Spinneret.h:
234 (SpinneretWebHost::didStartProvisionalLoadForFrame):
235 (SpinneretWebHost::didCommitLoadForFrame):
236 (SpinneretWebHost::didFinishLoadForFrame):
238 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
244 * DumpRenderTree/EventSendingController.m:
245 (-[EventSendingController enableDOMUIEventLogging:]):
247 2006-09-22 Justin Garcia <justin.garcia@apple.com>
251 * Scripts/do-webcore-rename:
253 2006-09-21 Timothy Hatcher <timothy@apple.com>
257 Bug 10923: Frame scroll layout test failures on the buildbot
258 http://bugs.webkit.org/show_bug.cgi?id=10923
260 Added a new method that will toggle on the recursive dump of
261 child frame scroll positions.
263 * DumpRenderTree/DumpRenderTree.m:
264 (dumpFrameScrollPosition):
265 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
266 (-[LayoutTestController dumpChildFrameScrollPositions]):
268 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
270 Reviewed by eseidel. Landed by eseidel.
272 Detect that close button was pressed and exit cleanly.
274 * GdkLauncher/main.cpp:
278 2006-09-17 Adam Roben <aroben@apple.com>
280 Reviewed by hyatt, sfalken.
282 Get DumpRenderTree compiling and limping along on Windows.
284 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
285 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
286 (main): Add NULL argument to Page constructor.
287 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
288 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
290 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
294 http://bugs.webkit.org/show_bug.cgi?id=10635
295 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
297 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
298 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
299 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
301 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
305 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
306 Even More Objective-C DOM auto-generation cleanup
308 - Change to use new, more Objectice-C'ish version of
309 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
310 regression test for fast/events/dblclick-addEventListener.html.
312 * DumpRenderTree/EventSendingController.m:
313 (-[EventSendingController fireKeyboardEventsToElement:]):
315 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
319 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
320 Move QtLauncher down to WebKitQt.
322 * QtLauncher/CMakeLists.txt: Removed.
323 * QtLauncher/main.cpp: Removed.
325 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
329 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
330 Adjust DumpRenderTree to the FrameQtClient changes.
332 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
333 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
334 (WebCore::DumpRenderTree::DumpRenderTree):
335 (WebCore::DumpRenderTree::~DumpRenderTree):
336 (WebCore::DumpRenderTree::frame):
337 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
338 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
339 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
340 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
341 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
343 2006-09-03 Darin Adler <darin@apple.com>
345 * Scripts/do-webcore-rename: More renaming plans.
347 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
351 http://bugs.webkit.org/show_bug.cgi?id=10693
352 Convert JavaScript arrays to AppleScript lists
354 * DumpRenderTree/AppleScriptController.m:
355 (convertAEDescToObject):
356 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
358 2006-08-31 Darin Adler <darin@apple.com>
360 * Scripts/do-webcore-rename: Prepare for another round of renaming.
362 2006-08-29 Dan Waylonis <waylonis@google.com>
366 - Verification of exceptions thrown in a plugin. Test for bug 10114.
367 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
368 * DumpRenderTree/ObjCPlugin.m:
369 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
370 (+[ObjCPlugin webScriptNameForSelector:]):
371 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
373 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
377 Commit KDE related tweaks, to be able to
378 differentiate between a Qt-only or a KDE build.
380 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
381 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
383 2006-08-29 Darin Adler <darin@apple.com>
385 Reviewed by Tim Hatcher.
387 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
388 to work around what seems to be a bug in some versions of gdb.
390 2006-08-16 Tim Omernick <timo@apple.com>
392 Reviewed by John Sullivan.
394 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
395 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
398 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
400 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
401 are expected to be retained by the plug-in, and released by the caller.
403 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
405 Reviewed by Tim Hatcher.
407 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
409 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
410 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
413 * Scripts/run-webkit-tests:
414 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
416 2006-08-28 Darin Adler <darin@apple.com>
418 Reviewed by Tim Hatcher.
420 * Scripts/build-drosera: Fix behavior when there are multiple options.
422 2006-08-27 Timothy Hatcher <timothy@apple.com>
426 Drosera will be built when you type make.
428 * Drosera/Makefile: Added.
430 * Makefile.shared: Added.
432 2006-08-27 Anders Carlsson <acarlsson@apple.com>
436 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
437 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
438 (WebCore::DumpRenderTree::DumpRenderTree):
439 (WebCore::DumpRenderTree::~DumpRenderTree):
440 (WebCore::DumpRenderTree::open):
441 (WebCore::DumpRenderTree::readStdin):
442 (WebCore::DumpRenderTree::checkLoaded):
443 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
444 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
447 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
449 Reviewed by Eric, landed by Anders.
451 Add DumpRenderTree support for Qt/Linux.
453 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
454 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
455 (WebCore::DumpRenderTree::DumpRenderTree):
456 (WebCore::DumpRenderTree::~DumpRenderTree):
457 (WebCore::DumpRenderTree::open):
458 (WebCore::DumpRenderTree::readStdin):
459 (WebCore::DumpRenderTree::checkLoaded):
460 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
461 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
463 * Scripts/build-dumprendertree:
464 * Scripts/run-webkit-tests:
465 * Scripts/webkitdirs.pm:
467 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
469 Reviewed by Eric. Landed by rwlbuis.
471 Add QtLauncher (was testunity before), which provides a
472 standalone "browser" to test the Qt platform stuff.
474 * QtLauncher/CMakeLists.txt: Added.
475 * QtLauncher/main.cpp: Added.
478 2006-08-22 Trey Matteson <trey@usa.net>
482 Added support for a new set of browser navigation tests. The main feature
483 is the ability for a test to queue up a set of future actions that will
484 happen after that first page is loaded. This is used to simulate a sequence
485 of user actions such as filling out forms, loading additional pages or
486 going back. In addition we can now dump out the state of the back/forward
487 list, and the scroll position is dumped if not at 0,0.
489 * DumpRenderTree/DumpRenderTree.m:
490 (main): Init new state
491 (compareHistoryItems): New utility to support sorting.
492 (dumpHistoryItem): Write out a WebHistoryItem and kids.
493 (dumpFrameScrollPosition): Write out the scroll position.
494 (dump): Optionally write b/f list or scroll position.
495 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
496 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
497 Kick off any queued actions. Fixed for the case of loads started in
498 a subframe instead of the root frame.
499 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
500 Grab the topmost frame that is being loaded. Do this as early as possible,
501 instead of in didCommitLoadForFrame.
502 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
503 Noting a load has started now happens in previous method.
504 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
505 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
506 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
508 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
509 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
510 Add new work to the queue.
511 (-[LayoutTestController _doLoad:target:]): Do a queued load.
512 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
513 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
514 (-[LayoutTestController scheduleForwardNav:]):
515 (-[LayoutTestController scheduleReload]):
516 (-[LayoutTestController scheduleScript:]):
517 (-[LayoutTestController scheduleLoad:target:]):
518 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
519 since it's not one of the functions that does any dumping.
521 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
525 - added a function to create a few DOMKeyboardEvents and dispatch
526 them to a specified HTML element
527 http://bugs.webkit.org/show_bug.cgi?id=9736
529 * DumpRenderTree/EventSendingController.m:
530 (+[EventSendingController isSelectorExcludedFromWebScript:]):
531 (+[EventSendingController webScriptNameForSelector:]):
532 (-[EventSendingController fireKeyboardEventsToElement:]):
534 2006-08-15 Duncan Wilcox <duncan@mclink.it>
536 Reviewed and tweaked by Darin.
538 - added DumpRenderTree support so editing delegate can be made to refuse edits
539 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
541 * DumpRenderTree/DumpRenderTree.m:
542 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
543 to the list of methods.
544 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
545 without the colon, for the JavaScript name.
546 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
548 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
550 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
551 setter methods to the class.
552 * DumpRenderTree/EditingDelegate.m:
553 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
554 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
555 return the value of acceptsEditing.
556 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
557 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
558 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
559 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
560 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
562 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
563 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
564 (-[EditingDelegate setAcceptsEditing:]): Added.
566 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
570 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
571 http://bugs.webkit.org/show_bug.cgi?id=10224
573 * Drosera/Drosera.xcodeproj/project.pbxproj:
574 * Drosera/LauncherInfo.plist:
576 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
578 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
579 when a test performs an unsuccessful drag and drop operation.
581 * DumpRenderTree/EventSendingController.m:
582 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
583 drag operation for the mouse release is NSDragOperationNone.
585 2006-08-02 Timothy Hatcher <timothy@apple.com>
589 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
590 http://bugs.webkit.org/show_bug.cgi?id=9632
592 Do not change the file source when normalizing the line endings.
593 We use this file source to compare against new versions of the source
594 as it comes in, so we can skip re-syntax highlighting if they are the same.
595 The problem is apparent on yahoo.com since they have mixed line endings and
596 once we normalize them the source will always be different. This was
597 compounded by the fact that yahoo has around 40 inline scripts. Each
598 inline script causes us to check if the main document has more loaded,
599 that is when we compare the source strings. Since they are always different
600 we would syntax highlight yahoo.com 40 times! We do check source length before
601 doing a more expensive string comparison, but the lengths were the same.
603 * Drosera/debugger.js:
605 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
609 Bug 9931: [Drosera] Needs a cool icon
610 http://bugs.webkit.org/show_bug.cgi?id=9931
612 * Drosera/Drosera.icns: Added.
613 * Drosera/Drosera.xcodeproj/project.pbxproj:
614 * Drosera/Info.plist:
616 2006-08-01 Darin Adler <darin@apple.com>
618 - fix a bug in my recent change where the mouse position at the end of
619 the last test would affect the results of the next test
621 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
623 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
627 http://bugs.webkit.org/show_bug.cgi?id=10182
628 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
630 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
631 Correct the logic to not reload local variable list unless an '=' character is in the expression.
633 2006-07-31 Darin Adler <darin@apple.com>
637 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
638 REGRESSION: failing layout test: fast/events/objc-event-api.html
640 * DumpRenderTree/DumpRenderTree.m:
641 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
642 location in flipped coordinates, since those are the coordinates that we use.
643 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
646 * DumpRenderTree/EventSendingController.m:
647 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
648 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
649 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
650 probably worked OK, but this is needed to be correct.
651 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
652 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
653 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
654 dump the screenY as-is.
656 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
660 http://bugs.webkit.org/show_bug.cgi?id=10178
661 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
663 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
664 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
666 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
670 http://bugs.webkit.org/show_bug.cgi?id=10175
671 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
673 * Drosera/DebuggerDocument.m:
674 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
676 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
680 http://bugs.webkit.org/show_bug.cgi?id=10167
681 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
683 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
686 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
690 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
691 http://bugs.webkit.org/show_bug.cgi?id=9686
693 * Drosera/DebuggerDocument.m:
694 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
695 ensure that the server does not try and notify us of events related to the resumption.
696 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
697 call through to JavaScript.
698 * Drosera/debugger.js: Pause debugger when exception is raised.
700 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
704 - fixes for Linux build
706 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
707 * GdkLauncher/gdklauncher.bkl: Tweak comment.
709 2006-07-24 Dan Waylonis <waylonis@google.com>
711 Reviewed and tweaked a bit by Darin.
713 * DumpRenderTree/ObjCPlugin.m:
714 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
715 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
716 "echo:" so it's nice to call from JavaScript.
717 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
718 to test a round trip through Objective-C types.
720 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
724 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
725 Improve iExploder results parsing
727 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
730 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
734 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
735 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
737 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
739 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
743 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
744 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
746 Removed "Property changes" that snuck in as part of the "apply patch" process.
748 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
752 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
753 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
756 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
758 (patch): Use patch(1) for non-binary additions and deletions.
759 * Scripts/svn-unapply:
761 (patch): Use patch(1) for reverting non-binary additions and deletions.
762 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
764 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
768 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
769 http://bugs.webkit.org/show_bug.cgi?id=9889
771 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
772 so, have stepOut pause on the next call to willExecuteStatement rather than second.
774 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
778 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
779 Teach svn-create-patch and friends to fix ChangeLog patches
781 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
782 * Scripts/svn-create-patch: Ditto.
783 * Scripts/svn-unapply: Ditto.
785 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
789 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
790 http://bugs.webkit.org/show_bug.cgi?id=9869
792 * Drosera/DebuggerDocument.m:
793 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
795 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
799 Bug 9863: Drosera needs to show something at launch
800 http://bugs.webkit.org/show_bug.cgi?id=9863
802 * Drosera/DebuggerApplication.m:
803 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
805 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
809 Lets Drosera build universal for the nightlies. Right now it is not
810 possible to build a universal binary on a PPC machine because of a
811 conflict with the universal SDK.
813 * BuildSlaveSupport/build-launcher-app:
814 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
816 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
820 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
821 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
823 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
824 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
825 should open a new stream and deliver the data to the current instance.
827 2006-07-11 Timothy Hatcher <timothy@apple.com>
831 Bug 9598: [Drosera] add a JavaScript evaluator console
832 http://bugs.webkit.org/show_bug.cgi?id=9598
834 * Drosera/DebuggerApplication.h:
835 * Drosera/DebuggerApplication.m:
836 (-[DebuggerApplication knownServers]):
837 * Drosera/DebuggerDocument.h:
838 * Drosera/DebuggerDocument.m:
839 (-[WebScriptObject evaluateScript:inCallFrame:]):
840 (-[WebScriptObject showConsole:]):
841 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
842 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
843 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
844 (-[WebScriptObject webView:createWebViewWithRequest:]):
845 (-[WebScriptObject webViewShow:]):
846 (-[WebScriptObject webViewAreToolbarsVisible:]):
847 (-[WebScriptObject webView:setToolbarsVisible:]):
848 (-[WebScriptObject webView:setResizable:]):
849 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
850 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
851 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
852 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
853 (-[WebScriptObject webView:didFinishLoadForFrame:]):
854 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
855 * Drosera/Drosera.xcodeproj/project.pbxproj:
856 * Drosera/Images/console.png: Added.
857 * Drosera/console.css: Added.
858 * Drosera/console.html: Added.
859 * Drosera/console.js: Added.
861 2006-07-11 Timothy Hatcher <timothy@apple.com>
863 Reviewed by a tired Geoff.
865 Bug 9597: [Drosera] hook up the variables table to show stack variables
866 http://bugs.webkit.org/show_bug.cgi?id=9597
868 * Drosera/DebuggerDocument.m:
869 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
870 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
871 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
872 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
873 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
874 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
875 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
876 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
877 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
878 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
879 * Drosera/debugger.css:
880 * Drosera/debugger.html:
881 * Drosera/debugger.js:
883 2006-07-10 Tim Omernick <timo@apple.com>
885 Reviewed by Beth Dakin.
887 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
888 Add DOM access test to DumpRenderTree's Netscape plug-in
890 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
894 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
898 - http://bugs.webkit.org/show_bug.cgi?id=9839
899 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
901 Now track three states: initializing, running, and closed. If we are launched and the previous
902 state was initializing then we likely just experienced a crash on launch.
904 * WebKitLauncher/WebKitNightlyEnabler.m:
905 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
906 (myApplicationWillTerminate): Update to use new states.
907 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
908 initializing as early as practical.
909 (symbol_lookup): Bring code up to speed with formatting guidelines.
910 (GDSymbolLookup): Ditto.
912 2006-07-10 Darin Adler <darin@apple.com>
914 - try to fix Windows build
916 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
917 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
919 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
921 Build fix. Reviewed by NOBODY.
923 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
924 devenv.com not available in VC++ Express installations
926 * Scripts/webkitdirs.pm: Backed out previous change.
928 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
932 - http://bugs.webkit.org/show_bug.cgi?id=9693
933 svn-apply should set ChangeLog date correctly when applying patches
935 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
936 before applying the patch.
937 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
939 2006-07-09 Darin Adler <darin@apple.com>
941 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
943 2006-07-09 Darin Adler <darin@apple.com>
945 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
947 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
949 Reviewed by NOBODY (build fix).
951 - http://bugs.webkit.org/show_bug.cgi?id=7802
952 devenv.com not available in VC++ Express installations
954 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
955 work again. Add VC++ Express check as the fallback.
957 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
959 Reviewed by Timothy Hatcher.
961 - http://bugs.webkit.org/show_bug.cgi?id=7802
962 devenv.com not available in VC++ Express installations
964 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
966 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
970 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
971 Patch by coldwinter@katamail.com.
973 In the congratulations message, "capatibilies" should be "capabilities".
975 * Scripts/build-webkit:
977 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
979 Reviewed by Timothy Hatcher.
981 - http://bugs.webkit.org/show_bug.cgi?id=9794
982 Teach run-webkit-tests how to ignore tests with performance improvements
984 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
985 feature, and minor clean up.
987 2006-07-08 Darin Adler <darin@apple.com>
989 Reviewed by Geoff (well, half of it at least).
991 - http://bugs.webkit.org/show_bug.cgi?id=9788
992 storage leaks in Objective-C tests
994 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
995 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
996 Add a release to fix a storage leak.
998 2006-07-08 Darin Adler <darin@apple.com>
1000 * Scripts/do-webcore-rename: A few more.
1002 2006-07-08 Darin Adler <darin@apple.com>
1004 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
1006 2006-07-04 Maciej Stachowiak <mjs@apple.com>
1010 http://bugs.webkit.org/show_bug.cgi?id=9734
1011 - add support for dumping non-HTML as text - in this case use textContent
1012 instead of innerText
1014 * DumpRenderTree/DumpRenderTree.m:
1017 2006-07-02 Timothy Hatcher <timothy@apple.com>
1021 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
1022 http://bugs.webkit.org/show_bug.cgi?id=9631
1024 Adds step over and step out. Along with a little code cleanup
1025 that was minor enough to piggyback on this fix.
1027 * Drosera/DebuggerDocument.h:
1028 * Drosera/DebuggerDocument.m:
1029 (-[DebuggerDocument stepOver:]):
1030 (-[DebuggerDocument stepOut:]):
1031 (-[DebuggerDocument windowDidLoad]):
1032 (-[DebuggerDocument windowWillClose:]):
1033 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1034 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1035 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1036 (-[DebuggerDocument validateUserInterfaceItem:]):
1037 * Drosera/Drosera.xcodeproj/project.pbxproj:
1038 * Drosera/debugger.html:
1039 * Drosera/debugger.js:
1040 * Drosera/viewer.css:
1042 2006-07-02 Timothy Hatcher <timothy@apple.com>
1046 Bug 9628: [Drosera] Split Views acting oddly
1047 http://bugs.webkit.org/show_bug.cgi?id=9628
1049 Only update the last X or Y coordinate if the new
1050 size was not constrained. Also adds the resize cursor to
1051 the body during the drag incase there is a constrained
1052 over drag off of the resizer element.
1054 * Drosera/debugger.js:
1056 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1058 Reviewed by Alexy Proskuryakov.
1060 Bug 9692: Warning about Safari extensions on every launch is obnoxious
1061 http://bugs.webkit.org/show_bug.cgi?id=9692
1063 * WebKitLauncher/WebKitNightlyEnabler.m:
1064 (myApplicationWillTerminate): Note that we are exiting cleanly.
1065 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
1066 to exit cleanly on our last invocation. This doesn't play nicely with
1067 multiple concurrent instances of WebKit.app so it can be disabled via
1068 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
1070 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1072 Reviewed by Alexy Proskuryakov.
1074 Bug 9654: Refresh Loop when accessing feed URLs
1075 http://bugs.webkit.org/show_bug.cgi?id=9654
1077 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
1079 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1081 Reviewed by Timothy Hatcher.
1083 Bug 9689: Nightly builds should warn a user about potential problems when using
1085 http://bugs.webkit.org/show_bug.cgi?id=9689
1087 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1088 * WebKitLauncher/WebKitNightlyEnabler.m:
1089 (myBundleDidLoad): Keep track of if any bundles that are loaded.
1090 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
1091 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1092 NSApplicationWillFinishLaunchingNotification notifications so that we can
1093 track bundle loads and notify the user at launch completion.
1095 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1099 - first check-in of a Gdk shell for testing WebKit
1101 * GdkLauncher: Added.
1103 2006-06-29 Timothy Hatcher <timothy@apple.com>
1107 Need to call window close so WebView tears-down completly.
1109 * DumpRenderTree/DumpRenderTree.m:
1110 (main): call [window close]
1112 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1116 Bug 9615: Buildbot configuration should be in SVN repository
1117 http://bugs.webkit.org/show_bug.cgi?id=9615
1119 Import BuildBot configuration files as used by build.webkit.org.
1120 auth.py has been stubbed out so that slave passwords are not disclosed.
1122 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1123 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1124 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1125 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1126 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1127 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1128 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1129 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1130 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1131 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1132 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1133 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
1135 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1139 Bug 9614: Nightly builds should notify user if a newer build is available
1140 http://bugs.webkit.org/show_bug.cgi?id=9614
1142 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1143 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1144 script so it can keep track of the latest revision.
1145 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1146 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1147 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1148 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1149 the nightly start page.
1151 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1155 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1156 http://bugs.webkit.org/show_bug.cgi?id=9579
1158 Report screenY values as (height of zero screen - screenY)
1160 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1162 2006-06-25 Timothy Hatcher <timothy@apple.com>
1166 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1167 http://bugs.webkit.org/show_bug.cgi?id=9591
1169 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1171 * Drosera/debugger.js:
1172 * Drosera/viewer.css:
1174 2006-06-25 Timothy Hatcher <timothy@apple.com>
1178 Bug 9568: assertion failure in Safari after quitting Drosera
1179 http://bugs.webkit.org/show_bug.cgi?id=9568
1181 Call switchToServerNamed:nil and not removeLister to make sure
1182 the server object is set to nil to prevent further removeListener calls.
1184 * Drosera/DebuggerDocument.m:
1185 (-[DebuggerDocument applicationTerminating:]):
1187 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1191 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1192 that the directory is not empty instead of reading in every single file and directory first,
1193 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1196 2006-06-25 Darin Adler <darin@apple.com>
1198 * Scripts/svn-apply: Tweak comments.
1199 * Scripts/svn-create-patch: Ditto.
1200 * Scripts/svn-unapply: Ditto.
1202 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1204 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1206 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1208 * Scripts/svn-apply: Formatting fix.
1210 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1214 http://bugs.webkit.org/show_bug.cgi?id=9571
1215 Teach svn-apply and svn-unapply to handle directory adds and removes better
1217 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1218 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1220 2006-06-25 Timothy Hatcher <timothy@apple.com>
1224 Bug 9574: Drosera should show inline scripts within the original HTML
1225 http://bugs.webkit.org/show_bug.cgi?id=9574
1227 Refactor the JavaScript code to have a distinction between files
1228 and scripts. Show the script in the context of the HTML file if
1229 it's URL is the same as the frame's main resource. At the time of
1230 the disParseScript callback the main resource might not be completely
1231 loaded, but Drosera needs to show whatever we have at the time. Once
1232 the main resource is finished, update the file source and reload the file.
1234 * Drosera/DebuggerDocument.m:
1235 (-[DebuggerDocument pause]):
1236 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1237 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1238 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1239 * Drosera/debugger.css:
1240 * Drosera/debugger.js:
1242 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1246 http://bugs.webkit.org/show_bug.cgi?id=9570
1247 Teach prepare-ChangeLog to operate on a list of files or directories
1249 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1250 * Scripts/svn-create-patch: Code refactoring.
1252 2006-06-24 James G. Speth <speth@end.com>
1256 - http://bugs.webkit.org/show_bug.cgi?id=8843
1257 add a way to build Objective-C test cases in HTML
1259 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1260 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1261 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1264 * DumpRenderTree/ObjCPlugin.h:
1265 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1266 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1267 (+[ObjCPlugin webScriptNameForSelector:]):
1268 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1269 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1270 (+[NSObject allowsScriptsFullAccess]):
1271 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1272 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1273 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1274 (+[JSObjC webScriptNameForSelector:]):
1275 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1276 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1277 (-[JSObjC log:]): access to NSLog function
1278 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1279 (-[JSObjC classOfObject:]):
1280 (-[JSObjC classNameOfObject:]):
1282 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1284 Reviewed by Timothy.
1286 * DrawTest/Info.plist: Added copyright statement.
1287 * Drosera/Info.plist: Ditto.
1288 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1289 * WebKitLauncher/Info.plist: Ditto.
1291 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1293 Build fix. Reviewed by NOBODY.
1295 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1296 devenv.com not available in VC++ Express installations
1298 * Scripts/webkitdirs.pm: Backed out previous change.
1300 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1304 - http://bugs.webkit.org/show_bug.cgi?id=7802
1305 devenv.com not available in VC++ Express installations
1307 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1309 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1313 - http://bugs.webkit.org/show_bug.cgi?id=9564
1314 A bunch of fixes to run-webkit-httpd
1316 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1317 127.0.0.1. Useful for testing with WinIE running on another machine;
1318 - don't call checkFrameworks() - we do not need a built WebKit here;
1319 - changed tabs to spaces;
1320 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1321 interactive mode, they were a hassle when testing with several browsers, as one
1322 had to wait for connection to expire);
1323 - remove httpd.pid when done, so that Apache doesn't complain next time.
1325 * Scripts/run-webkit-httpd:
1327 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1329 Reviewed by ggaren, landed by ap.
1331 - http://bugs.webkit.org/show_bug.cgi?id=9181
1332 Complete DOMUIEvent Obj-C API to reflect UIEvent
1334 Add function to enable logging of all events of one DOM node to stdout.
1336 * DumpRenderTree/EventSendingController.h:
1337 * DumpRenderTree/EventSendingController.m:
1338 (+[EventSendingController initialize]):
1339 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1340 (+[EventSendingController webScriptNameForSelector:]):
1341 (-[EventSendingController enableDOMUIEventLogging:]):
1342 (-[EventSendingController handleEvent:]):
1344 2006-06-23 Kevin Decker <kdecker@apple.com>
1346 Reviewed by Tim Hatcher.
1348 - Made column headers in Drosera resizable.
1350 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1354 - see http://bugs.webkit.org/show_bug.cgi?id=9539
1355 Another case error preventing build
1357 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1359 2006-06-22 Timothy Hatcher <timothy@apple.com>
1363 Adds a native toolbar to Drosera to be a good citizen.
1364 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1365 Fixes a dragging bug from an earlier fix to the divider code.
1366 Fixes some poor indenting in debugger.js.
1368 * Drosera/DebuggerDocument.h:
1369 * Drosera/DebuggerDocument.m:
1370 (-[DebuggerDocument stepInto]):
1371 (-[DebuggerDocument pause:]):
1372 (-[DebuggerDocument resume:]):
1373 (-[DebuggerDocument stepInto:]):
1374 (-[DebuggerDocument windowDidLoad]):
1375 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1376 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1377 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1378 (-[DebuggerDocument validateUserInterfaceItem:]):
1379 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1380 * Drosera/English.lproj/MainMenu.nib/info.nib:
1381 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1382 * Drosera/debugger.css:
1383 * Drosera/debugger.html:
1384 * Drosera/debugger.js:
1385 * Drosera/viewer.html:
1387 2006-06-22 Kevin Decker <kdecker@apple.com>
1391 - Added pressed column header image.
1392 - Made column headers behave more like Xcode.
1394 2006-06-22 Timothy Hatcher <timothy@apple.com>
1396 Reviewed by Kevin Decker.
1398 Code clean up. Adds the stackframe and makes only the body
1399 of the tables scrollable keeping the header visible.
1400 Shows the current function stack when paused or stepping.
1402 * Drosera/DebuggerApplication.m:
1403 (-[DebuggerApplication awakeFromNib]):
1404 (-[DebuggerApplication numberOfRowsInTableView:]):
1405 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1406 * Drosera/DebuggerDocument.h:
1407 * Drosera/DebuggerDocument.m:
1408 (-[DebuggerDocument dealloc]):
1409 (-[DebuggerDocument currentFrame]):
1410 (-[DebuggerDocument currentFrameFunctionName]):
1411 (-[DebuggerDocument currentFunctionStack]):
1412 (-[DebuggerDocument log:]):
1413 (-[DebuggerDocument windowWillClose:]):
1414 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1415 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1416 * Drosera/Drosera.xcodeproj/project.pbxproj:
1417 * Drosera/debugger.css:
1418 * Drosera/debugger.html:
1419 * Drosera/debugger.js:
1421 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1425 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1427 * Scripts/run-webkit-httpd:
1429 2006-06-22 Kevin Decker <kdecker@apple.com>
1431 Reviewed by Tim Hatcher.
1433 - More progress toward Javascript Debugger.
1434 - Added some new images to the project.
1436 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1440 - http://bugs.webkit.org/show_bug.cgi?id=9516
1441 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1443 * Scripts/run-webkit-httpd: Added.
1445 2006-06-20 Timothy Hatcher <timothy@apple.com>
1449 Builds Drosera and a launcher to include with the nightly.
1451 * BuildSlaveSupport/build-launcher-app:
1452 * BuildSlaveSupport/build-launcher-dmg:
1453 * Drosera/Drosera.xcodeproj/project.pbxproj:
1454 * Drosera/Info.plist:
1455 * Drosera/LauncherInfo.plist: Added.
1456 * Drosera/launcher.m: Added.
1457 (displayErrorAndQuit):
1458 (checkMacOSXVersion):
1461 * Scripts/build-drosera
1462 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1463 * WebKitLauncher/main.m:
1466 2006-06-20 Timothy Hatcher <timothy@apple.com>
1470 Adds a JavaScript debugger, called Drosera. Named after
1471 a genus of bug eating plants.
1473 * Drosera/DebuggerApplication.h: Added.
1474 * Drosera/DebuggerApplication.m: Added.
1475 (-[DebuggerApplication applicationDidFinishLaunching:]):
1476 (-[DebuggerApplication serverLoaded:]):
1477 (-[DebuggerApplication serverUnloaded:]):
1478 (-[DebuggerApplication awakeFromNib]):
1479 (-[DebuggerApplication showAttachPanel:]):
1480 (-[DebuggerApplication attach:]):
1481 (-[DebuggerApplication numberOfRowsInTableView:]):
1482 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1483 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1484 (-[DebuggerApplication tableViewSelectionDidChange:]):
1485 * Drosera/DebuggerDocument.h: Added.
1486 * Drosera/DebuggerDocument.m: Added.
1487 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1488 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1489 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1490 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1491 (-[DebuggerDocument initWithServerName:]):
1492 (-[DebuggerDocument windowWillClose:]):
1493 (-[DebuggerDocument dealloc]):
1494 (-[DebuggerDocument isPaused]):
1495 (-[DebuggerDocument pause]):
1496 (-[DebuggerDocument resume]):
1497 (-[DebuggerDocument step]):
1498 (-[DebuggerDocument windowNibName]):
1499 (-[DebuggerDocument windowDidLoad]):
1500 (-[DebuggerDocument switchToServerNamed:]):
1501 (-[DebuggerDocument applicationTerminating:]):
1502 (-[DebuggerDocument serverConnectionDidDie:]):
1503 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1504 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1505 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1506 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1507 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1508 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1509 * Drosera/Drosera.pch: Added.
1510 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1511 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1512 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1513 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1514 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1515 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1516 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1517 * Drosera/Images/breakPoint.tif: Added.
1518 * Drosera/Images/breakPointDisabled.tif: Added.
1519 * Drosera/Images/continue.tif: Added.
1520 * Drosera/Images/finishFunction.tif: Added.
1521 * Drosera/Images/glossyFooterFill.tif: Added.
1522 * Drosera/Images/glossyHeader.png: Added.
1523 * Drosera/Images/gradientBackground.png: Added.
1524 * Drosera/Images/gutter.png: Added.
1525 * Drosera/Images/navLeftDisabled.png: Added.
1526 * Drosera/Images/navLeftNormal.png: Added.
1527 * Drosera/Images/navLeftPressed.png: Added.
1528 * Drosera/Images/navRightDisabled.png: Added.
1529 * Drosera/Images/navRightNormal.png: Added.
1530 * Drosera/Images/navRightPressed.png: Added.
1531 * Drosera/Images/pause.tif: Added.
1532 * Drosera/Images/popUpArrows.png: Added.
1533 * Drosera/Images/programCounter.tif: Added.
1534 * Drosera/Images/programCounterBreakPoint.tif: Added.
1535 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1536 * Drosera/Images/run.tif: Added.
1537 * Drosera/Images/splitterBar.tif: Added.
1538 * Drosera/Images/splitterDimple.tif: Added.
1539 * Drosera/Images/step.tif: Added.
1540 * Drosera/Images/stepOver.tif: Added.
1541 * Drosera/Images/stop.tif: Added.
1542 * Drosera/Images/toolbarBackground.png: Added.
1543 * Drosera/Info.plist: Added.
1544 * Drosera/debugger.css: Added.
1545 * Drosera/debugger.html: Added.
1546 * Drosera/debugger.js: Added.
1547 * Drosera/main.m: Added.
1549 * Drosera/viewer.css: Added.
1550 * Drosera/viewer.html: Added.
1552 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1556 http://bugs.webkit.org/show_bug.cgi?id=9485
1557 Teach svn-apply and svn-unapply to use full path names
1559 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1560 * Scripts/svn-unapply: Ditto.
1562 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1566 - http://bugs.webkit.org/show_bug.cgi?id=9150
1567 DumpRenderTree should be able to keep URL history during runs
1569 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1571 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1572 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1573 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1574 it is currently nil since keepWebHistory() might be called more than once incidentally
1576 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1577 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1579 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1583 http://bugs.webkit.org/show_bug.cgi?id=9395
1584 Make prepare-ChangeLog faster
1586 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1587 then save the diff output for reuse. Keep a status variable if changes are made to
1588 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1589 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1590 for no changed files closer to the beginning of the program.
1592 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1594 Reviewed and landed by ap.
1596 - make DumpRenderTree build
1598 * DumpRenderTree/DumpRenderTree.m:
1599 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1600 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1601 (-[LayoutTestController setWindowIsKey:]): Ditto.
1602 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1604 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1606 Reviewed by Darin, landed by Geoff.
1608 http://bugs.webkit.org/show_bug.cgi?id=9350
1609 Use pathcmp() when sorting paths in svn-create-patch
1611 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1612 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1613 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1614 switch and printUsage() subroutine.
1616 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1620 http://bugs.webkit.org/show_bug.cgi?id=9322
1621 Teach svn-create-patch to sort its output
1623 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1624 by text files first, then by binary files.
1626 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1630 http://bugs.webkit.org/show_bug.cgi?id=9299
1631 Teach svn-create-patch and friends to work with binary files
1633 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1634 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1635 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1637 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1641 http://bugs.webkit.org/show_bug.cgi?id=9296
1642 Performance improvement for svn-create-patch
1644 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1646 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1650 http://bugs.webkit.org/show_bug.cgi?id=9290
1651 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1653 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1654 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1656 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1660 Switch Spinneret to new hosting mechanism
1662 * Spinneret/Spinneret.sln:
1663 * Spinneret/Spinneret/Spinneret.cpp:
1664 (SpinneretWebHost::updateAddressBar):
1665 (SpinneretWebHost::QueryInterface):
1666 (SpinneretWebHost::AddRef):
1667 (SpinneretWebHost::Release):
1674 * Spinneret/Spinneret/Spinneret.h:
1675 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1676 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1677 (SpinneretWebHost::didFailProvisionalLoadWithError):
1678 (SpinneretWebHost::didCommitLoadForFrame):
1679 (SpinneretWebHost::didReceiveTitle):
1680 (SpinneretWebHost::didReceiveIcon):
1681 (SpinneretWebHost::didFinishLoadForFrame):
1682 (SpinneretWebHost::didFailLoadWithError):
1683 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1684 (SpinneretWebHost::willPerformClientRedirectToURL):
1685 (SpinneretWebHost::didCancelClientRedirectForFrame):
1686 (SpinneretWebHost::willCloseFrame):
1687 (SpinneretWebHost::windowScriptObjectAvailable):
1688 * Spinneret/Spinneret/Spinneret.vcproj:
1690 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1694 Updated build script
1696 * Scripts/build-webkit:
1698 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1702 * DumpRenderTree/DumpRenderTree.m:
1703 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1704 (-[LayoutTestController clearBackForwardList]):
1705 Add clearBackForwardList function to layoutTestController
1707 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1711 http://bugs.webkit.org/show_bug.cgi?id=8996
1712 slow-utf8-text layout test case failing (no longer deterministic?)
1714 * DumpRenderTree/DumpRenderTree.m:
1716 Dump as text when the response MIME type is text/plain
1718 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1722 * Spinneret/Spinneret.sln:
1723 * Spinneret/Spinneret/Spinneret.vcproj:
1725 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1729 Added 'GCController' to DRT to support garbage collection layout tests.
1731 GCController.collect() and GCController.collectOnAlternateThread() do
1732 what you would expect. The latter takes a boolean argument sepcifying
1733 whether to wait for garbage collection to finish before continuing to
1736 * DumpRenderTree/DumpRenderTree.m:
1737 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1738 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1739 * DumpRenderTree/GCController.h: Added.
1740 * DumpRenderTree/GCController.mm: Added.
1741 (+[GCController isSelectorExcludedFromWebScript:]):
1742 (+[GCController webScriptNameForSelector:]):
1743 (-[GCController collect]):
1744 (-[GCController collectOnAlternateThread:]):
1746 2006-05-23 John Sullivan <sullivan@apple.com>
1750 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1751 Newer Xcode removed some obsolete cruft
1753 * DumpRenderTree/TextInputController.m:
1754 (-[TextInputController textInput]):
1755 added (id) cast to make newer compiler happy
1757 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1763 * Spinneret/Spinneret.sln:
1765 2006-05-18 Darin Adler <darin@apple.com>
1767 - try to fix no-SVG, no-XPATH build, again
1769 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1771 2006-05-18 Darin Adler <darin@apple.com>
1773 - try to fix no-SVG, no-XPATH build
1775 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1776 since the former is what's used in the WebCore project now.
1778 2006-05-17 Darin Adler <darin@apple.com>
1780 * Scripts/do-webcore-rename: Some more future renames.
1782 2006-05-16 Adele Peterson <adele@apple.com>
1786 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1787 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1789 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1791 * Scripts/install-unix-extras: Changed to be executable and removed
1792 text in the file generated by "svn diff".
1793 * Scripts/regenerate-makefiles: Ditto.
1795 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1797 Reviewed by Darin, landed by ap.
1799 - http://bugs.webkit.org/show_bug.cgi?id=8528
1800 Bakefiles (and generated Makefiles) for wx and gdk ports
1802 * Scripts/install-unix-extras: Added.
1803 * Scripts/regenerate-makefiles: Added.
1805 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1809 Fix registry usage from perl script. Turns out libwin32's
1810 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1812 * Scripts/install-win-extras:
1814 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1817 Add load ended callback.
1821 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1822 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1823 * Spinneret/Spinneret/Spinneret.cpp:
1824 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1825 (_tWinMain): Load built-in test content here instead of in lower-level code.
1826 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1828 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1832 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1834 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1838 * Scripts/check-dom-results:
1839 Add XPath to the list of results.
1841 2006-05-08 Darin Adler <darin@apple.com>
1843 * Scripts/do-webcore-rename: Add another rename.
1845 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1849 Spinneret now links against the new separate lib.
1851 * Spinneret/Spinneret.sln:
1852 * Spinneret/Spinneret/Spinneret.cpp:
1853 (SpinneretWebHost::updateLocationBar):
1855 * Spinneret/Spinneret/Spinneret.h:
1856 * Spinneret/Spinneret/Spinneret.vcproj:
1857 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1858 * Spinneret/Spinneret/WebFrame.h: Removed.
1859 * Spinneret/Spinneret/WebView.cpp: Removed.
1860 * Spinneret/Spinneret/WebView.h: Removed.
1862 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1866 Modify error reporting registry keys to disable Dr. Watson.
1867 This allows Javascript test cases to complete without blocking UI.
1869 * Scripts/install-win-extras:
1870 - Use Perl Win32 registry functions to disable blocking UI
1873 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1877 Turned off C++ exceptions, fixed memory leaks
1879 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1880 * Spinneret/Spinneret.sln:
1881 * Spinneret/Spinneret/Spinneret.cpp:
1883 * Spinneret/Spinneret/Spinneret.vcproj:
1884 * Spinneret/Spinneret/WebFrame.cpp:
1885 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1886 (WebKit::WebFrame::WebFrame):
1887 (WebKit::WebFrame::~WebFrame):
1888 (WebKit::WebFrame::impl):
1889 * Spinneret/Spinneret/WebFrame.h:
1890 * Spinneret/Spinneret/WebView.cpp:
1891 * Spinneret/Spinneret/stdafx.h:
1893 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1897 - http://bugs.webkit.org/show_bug.cgi?id=8633
1898 DumpRenderTree should reset the URL cache
1900 * DumpRenderTree/DumpRenderTree.m:
1901 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1903 2006-04-28 Eric Seidel <eseidel@apple.com>
1905 Reviewed by andersca.
1907 * Scripts/do-webcore-rename: rename KCanvasContainer too
1908 * Scripts/run-webkit-tests: output total time
1910 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1912 Reviewed by hyatt. Landed by eseidel.
1914 - http://bugs.webkit.org/show_bug.cgi?id=8549
1915 Enable detection of excessive repainting with DumpRenderTree
1917 * DumpRenderTree/DumpRenderTree.m:
1918 (-[LayoutTestController display]):
1920 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1924 - http://bugs.webkit.org/show_bug.cgi?id=6905
1925 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1927 * DumpRenderTree/DumpRenderTree.m:
1928 (dump): If display() has been called during the test, grab the pixels from
1929 the view, after letting it repaint invalidated rects.
1930 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1931 (-[LayoutTestController display]): Added. Calls -display on the view
1932 and changes the subsequent behavior of dump().
1935 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1939 - http://bugs.webkit.org/show_bug.cgi?id=8532
1940 Update iExploder to 1.3.2
1942 Test case numbers are not compatible with iExploder 1.2.
1944 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1946 * iExploder/CHANGELOG.txt: Added.
1947 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1948 * iExploder/README.txt: Added some performance hints.
1950 * iExploder/htdocs/config.rb: Added.
1951 * iExploder/htdocs/cssproperties.in:
1952 * iExploder/htdocs/cssvalues.in:
1953 * iExploder/htdocs/htmlattrs.in:
1954 * iExploder/htdocs/htmltags.in:
1955 * iExploder/htdocs/iexploder.cgi:
1956 - Updated to support the latest HTML & CSS tags, properties, and values from both
1957 the WebKit and Mozilla CVS tree
1958 - cssproperties.in cleanup
1959 - Modularized the code a little bit.
1960 - Fix subtest bug that was causing last 5 tags to be missed
1961 - new subtest algorithm to deal better with larger tag counts
1962 - default HTML_MAX_TAGS increased from 32 to 96
1964 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1965 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1966 alternative to our run-iexploder-tests.
1967 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1968 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1969 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1971 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1973 - commit Scripts/run-mangleme-tests (missed it the previous time).
1975 2006-04-18 Darin Adler <darin@apple.com>
1977 - attempt to fix Windows buildbot
1979 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1980 We need a better long-term solution for this.
1982 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1986 - http://bugs.webkit.org/show_bug.cgi?id=8444
1987 Integrate mangleme test script.
1989 Works in a similar way to run-iexploder-tests.
1991 * Scripts/run-mangleme-tests: Added.
1993 * mangleme/Makefile: Added.
1994 * mangleme/README: Added.
1995 * mangleme/mangle.cgi.c: Added.
1996 * mangleme/remangle.cgi.c: Added.
1997 * mangleme/tags.h: Added.
1999 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2003 - http://bugs.webkit.org/show_bug.cgi?id=8443
2004 An easier way to save iExploder tests.
2006 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
2008 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2012 - http://bugs.webkit.org/show_bug.cgi?id=8421
2013 Integrate iExploder test script.
2015 This script generates artificially mangled HTML documents, to test that the browser
2016 doesn't crash when handling ill-formed code.
2019 run-iexploder-tests Open an interactive test page in Safari+ToT.
2020 run-iexploder-tests nnnnn Open test #nnnnn.
2022 Command line options:
2023 --guard-malloc (-g) Use Guard Malloc.
2024 --port=nnnn Run Apache on port nnnn (default is 8000).
2026 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
2027 (thus, Apache is still running), e.g.:
2028 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
2030 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
2032 * Scripts/run-iexploder-tests: Added.
2034 * iExploder/LICENSE.txt: Added.
2035 * iExploder/README.txt: Added.
2036 * iExploder/htdocs: Added.
2037 * iExploder/htdocs/cssproperties.in: Added.
2038 * iExploder/htdocs/cssvalues.in: Added.
2039 * iExploder/htdocs/htmlattrs.in: Added.
2040 * iExploder/htdocs/htmltags.in: Added.
2041 * iExploder/htdocs/htmlvalues.in: Added.
2042 * iExploder/htdocs/iexploder.cgi: Added.
2043 * iExploder/htdocs/index.html: Added.
2044 * iExploder/tools: Added.
2045 * iExploder/tools/lasthit.rb: Added.
2046 * iExploder/tools/osx_last_crash.rb: Added.
2048 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
2052 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
2053 Restore color profile after a crash
2055 * DumpRenderTree/DumpRenderTree.m:
2056 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
2057 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
2058 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
2059 and this code may change significantly.
2061 (main): Install crashHandler.
2063 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
2064 (CFStringGetCStringPtr should NEVER EVER be used!).
2066 2006-04-15 Darin Adler <darin@apple.com>
2070 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
2071 Seems xmlsoft.org's HTTP no longer has what we need.
2073 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
2075 Rubber-stamped by Darin.
2077 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
2078 upload-disk-image stage on buildslaves fail with "No space left on device"
2080 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
2081 'hdiutil create'. This creates the initial disk image based on the size of
2082 the source folder, and copies the contents to the new disk image. The file
2083 extension on the temporary uncompressed disk image has also been altered from
2084 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
2085 the extension is not ".dmg".
2087 2006-04-12 Eric Seidel <eseidel@apple.com>
2091 * Scripts/update-webkit: Make this return non-zero when svn fails.
2093 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2097 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2098 Make HTTP tests using Perl use .pl extension
2100 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2101 removed support for .text. Reduced the number of places that explicitly list supported
2102 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2105 2006-04-06 Darin Adler <darin@apple.com>
2107 Changes requested by Mark Rowe.
2109 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2110 trash at the end of the file.
2111 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2113 * WebKitLauncher/main.m: Removed trash at end of file.
2115 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2118 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2120 Reviewed by Darin, landed by Maciej.
2122 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2123 and bundles the WebKit frameworks inside it.
2124 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2125 containing WebKit.app.
2126 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2127 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2128 number of the SVN working copy.
2129 * WebKitLauncher: Added.
2130 * WebKitLauncher/Info.plist: Added.
2131 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2132 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2133 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2134 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
2135 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2136 the nightly launcher.
2137 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2138 It sets up the environment to have Safari use the bundled frameworks
2139 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2140 * WebKitLauncher/start.html: Added.
2141 * WebKitLauncher/webkit.icns: Added.
2143 2006-04-05 Darin Adler <darin@apple.com>
2147 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2148 are allowed to have global initializers.
2150 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2152 Reviewed by OMG BETH
2154 * Scripts/run-testkjs:
2155 - pipe STDERR to /dev/null by default; new --verbose option overrides
2157 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2158 - output run command in a format that can be copied and pasted into the
2159 terminal to run manually
2161 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2163 Reviewed by harrison
2165 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2166 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2168 Tell the source that the drag is over after the drag is performed, not before.
2170 * DumpRenderTree/EventSendingController.m:
2171 (-[EventSendingController mouseUp]):
2173 2006-04-01 Darin Adler <darin@apple.com>
2177 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2178 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2179 elements in that array are not strings.
2181 2006-03-31 Darin Adler <darin@apple.com>
2183 Reviewed by John Sullivan.
2185 - added a "--reset-results" option to run-webkit-tests so you can reset
2186 the results without first deleting expected results
2187 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2189 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2190 more logical. Moved all the subroutines to the end of the file. Added a
2193 * DumpRenderTree/DumpRenderTree.m:
2194 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2195 to generate new output for all tests it runs.
2196 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2197 the --dump-all-pixels option is passed. Also tightened up the image dumping
2198 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2199 with code to save and restore the context.
2201 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2202 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2204 2006-03-30 Tim Omernick <timo@apple.com>
2206 Reviewed by NOBODY (just fixing copyrights)
2208 * DumpRenderTree/ObjCPlugin.h:
2210 * DumpRenderTree/ObjCPlugin.m: ditto
2211 * DumpRenderTree/ObjCPluginFunction.h: ditto
2212 * DumpRenderTree/ObjCPluginFunction.m: ditto
2214 2006-03-30 Tim Omernick <timo@apple.com>
2218 * DumpRenderTree/DumpRenderTree.m:
2219 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2220 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2221 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2222 exposed to JS as a callable object.
2224 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2225 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2227 * DumpRenderTree/ObjCPlugin.h: Added.
2228 * DumpRenderTree/ObjCPlugin.m: Added.
2229 * DumpRenderTree/ObjCPluginFunction.h: Added.
2230 * DumpRenderTree/ObjCPluginFunction.m: Added.
2232 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2233 Added a new method, "removeDefaultMethod", which removes the default method from the
2234 plugin object's class. The effect is that the plugin object is mutated from a callable
2235 function to a simple object.
2237 Handle "removeDefaultMethod".
2238 (pluginInvokeDefault):
2239 Made the default method actually do something (return 1).
2241 2006-03-30 Eric Seidel <eseidel@apple.com>
2245 Remove WebFrame::viewImpl(), setMainFrame on page.
2247 * Spinneret/Spinneret/WebFrame.cpp:
2248 (WebKit::WebFrame::WebFrame):
2249 * Spinneret/Spinneret/WebFrame.h:
2250 * Spinneret/Spinneret/WebView.cpp:
2251 (WebKit::WebView::mouseMoved):
2252 (WebKit::WebView::mouseDown):
2253 (WebKit::WebView::mouseUp):
2254 (WebKit::WebView::mouseDoubleClick):
2255 (WebKit::WebViewWndProc):
2257 2006-03-30 Eric Seidel <eseidel@apple.com>
2261 Fix html editing input & basic form submission.
2263 * Spinneret/Spinneret/WebFrame.cpp:
2264 (WebKit::WebFrame::submitForm):
2265 (WebKit::WebFrame::loadURL):
2266 * Spinneret/Spinneret/WebFrame.h:
2267 * Spinneret/Spinneret/WebView.cpp:
2268 (WebKit::WebView::keyPress):
2269 (WebKit::WebViewWndProc):
2271 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2275 <rdar://problem/4402375>
2276 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2278 Added an option to draw the selectionRect.
2280 * DumpRenderTree/DumpRenderTree.m:
2282 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2283 (-[LayoutTestController dumpSelectionRect]):
2286 2006-03-29 Darin Adler <darin@apple.com>
2288 Reviewed by Tim Hatcher.
2290 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2292 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2294 2006-03-28 Eric Seidel <eseidel@apple.com>
2298 * Scripts/check-for-global-initializers: remove svg exceptions.
2300 2006-03-28 Timothy Hatcher <timothy@apple.com>
2304 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2306 * Scripts/check-for-global-initializers:
2308 2006-03-28 Timothy Hatcher <timothy@apple.com>
2310 Build fix. Turn off uninitialized warnings for the first block of code.
2312 * Scripts/check-for-global-initializers:
2314 2006-03-28 Darin Adler <darin@apple.com>
2318 * Scripts/check-for-global-initializers: Added.
2320 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2322 Reviewed by darin. Landed by eseidel.
2324 - http://bugs.webkit.org/show_bug.cgi?id=7947
2325 Add repaint testing support to run-webkit-tests
2327 * DumpRenderTree/DumpRenderTree.m:
2328 (main): Added --repaint and --horizontal-sweep options.
2329 (dump): Repaint line-by-line or column-by-column when the appropriate option
2331 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2332 and repaintSweepHorizontally() methods to layoutTestController.
2333 (-[LayoutTestController testRepaint]):
2334 (-[LayoutTestController repaintSweepHorizontally]):
2336 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2337 to force these settings on tests that do not ask for them.
2339 2006-03-24 Eric Seidel <eseidel@apple.com>
2345 * Spinneret/Spinneret/WebFrame.cpp:
2346 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2348 2006-03-21 Beth Dakin <bdakin@apple.com>
2352 Add support for keyDown() to DumpRenderTree.
2354 * DumpRenderTree/DumpRenderTree.m:
2355 (main): Set the preference for tabbing to links.
2356 * DumpRenderTree/EventSendingController.m:
2357 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2358 (+[EventSendingController webScriptNameForSelector:]):
2359 (-[EventSendingController keyDown:withModifiers:]):
2361 2006-03-20 Eric Seidel <eseidel@apple.com>
2367 * Spinneret/Spinneret/Spinneret.vcproj:
2368 * Spinneret/Spinneret/WebFrame.h:
2369 * Spinneret/Spinneret/WebView.cpp:
2370 (WebKit::WebView::mouseMoved):
2371 (WebKit::WebView::mouseDown):
2372 (WebKit::WebView::mouseUp):
2373 (WebKit::WebView::mouseDoubleClick):
2374 (WebKit::WebView::keyPress):
2375 (WebKit::WebViewWndProc):
2377 2006-03-19 Darin Adler <darin@apple.com>
2381 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2382 we can test it in layout tests. We don't really need tests that run with
2383 pop-up blocking off at the moment. If we do some day, we can add some
2384 API for turning it off in the layout test controller.
2386 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2387 don't ignore the leak; it should no longer show up.
2389 2006-03-17 Anders Carlsson <andersca@mac.com>
2393 * Scripts/install-win-extras:
2394 Fetch "Program Files" location from the environment.
2396 2006-03-17 Eric Seidel <eseidel@apple.com>
2400 Fix Spinneret to pass Events as const & not as pointers.
2402 * Spinneret/Spinneret/WebView.cpp:
2403 (WebKit::WebView::mouseMoved):
2404 (WebKit::WebView::mouseDown):
2405 (WebKit::WebView::mouseUp):
2406 (WebKit::WebView::mouseDoubleClick):
2407 (WebKit::WebView::keyPress):
2409 2006-03-17 Eric Seidel <eseidel@apple.com>
2411 Reviewed by justing.
2413 Add support for basic HTML editing.
2415 * Spinneret/Spinneret/WebView.cpp:
2416 (WebKit::WebView::WebView):
2417 (WebKit::WebView::keyPress):
2419 2006-03-17 Eric Seidel <eseidel@apple.com>
2421 Rubber-stamped by ggaren.
2423 Break DumpRenderTree.m up into several files to make the code more readable.
2425 * DumpRenderTree/DumpRenderTree.h: Added.
2426 * DumpRenderTree/DumpRenderTree.m:
2427 (doneLoading): new accessor function for "done" global.
2428 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2429 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2430 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2431 * DumpRenderTree/EditingDelegate.h: Added.
2432 * DumpRenderTree/EditingDelegate.m: Added.
2433 (-[EditingDelegate webViewDidChangeSelection:]):
2434 * DumpRenderTree/EventSendingController.h: Added.
2435 * DumpRenderTree/EventSendingController.m: Added.
2437 2006-03-16 Eric Seidel <eseidel@apple.com>
2441 Add resize, scroll event support.
2443 * Spinneret/Spinneret/WebView.cpp:
2444 (WebKit::WebView::mouseMoved):
2445 (WebKit::WebView::mouseDown):
2446 (WebKit::WebView::mouseUp):
2447 (WebKit::WebView::mouseDoubleClick):
2448 (WebKit::WebView::keyPress):
2449 (WebKit::WebViewWndProc):
2450 * Spinneret/Spinneret/WebView.h:
2452 2006-03-16 Eric Seidel <eseidel@apple.com>
2456 Make build-webkit print correctly to stdout on windows.
2458 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2460 2006-03-15 Eric Seidel <eseidel@apple.com>
2464 Fix eventSender.mouseClick() to update lastClick timestamp.
2466 * DumpRenderTree/DumpRenderTree.m:
2467 (-[EventSendingController mouseClick]):
2469 2006-03-15 Darin Adler <darin@apple.com>
2473 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2474 that had a lowercase "i" in it so this builds on case-sensitive
2477 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2481 Added run-testkjs and compare-timing-files scripts, to support super
2484 * Scripts/compare-timing-files: Added.
2485 * Scripts/run-testkjs: Added.
2487 2006-03-14 Eric Seidel <eseidel@apple.com>
2491 Make the URL bar relinquish focus on page load.
2493 * Spinneret/Spinneret/Spinneret.cpp:
2496 2006-03-14 Eric Seidel <eseidel@apple.com>
2500 Fix WebView to allow KeyFocus.
2501 Add handling of space and shift-space for scrolling.
2503 * Spinneret/Spinneret/WebView.cpp:
2504 (WebKit::scrollMessageForKey):
2505 (WebKit::WebViewWndProc):
2507 2006-03-10 Eric Seidel <eseidel@apple.com>
2511 Add scrolling support into Spinneret.
2513 * Spinneret/Spinneret/WebFrame.cpp:
2514 (WebKit::WebFrame::paint):
2515 * Spinneret/Spinneret/WebView.cpp:
2516 (WebKit::WebView::createWebView):
2517 (WebKit::calculateScrollDelta):
2518 (WebKit::scrollMessageForKey):
2519 (WebKit::WebViewWndProc):
2521 2006-03-13 Eric Seidel <eseidel@apple.com>
2525 Fix checksum generation on Intel machines.
2526 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2527 give a small speed boost now that it uses a shared buffer.
2529 * DumpRenderTree/DumpRenderTree.m:
2532 (md5HashStringForBitmap):
2533 * DumpRenderTree/ImageDiff.m:
2534 (computePercentageDifferent):
2536 2006-03-13 Darin Adler <darin@apple.com>
2538 Reviewed by Tim Hatcher.
2540 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2541 have it named httpd-1.3 instead.
2543 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2545 Fix proposed by Mitz Pettel, reviewed by Darin.
2547 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
2548 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2550 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2551 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2554 2006-03-09 Darin Adler <darin@apple.com>
2556 Reviewed by John Sullivan.
2558 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
2559 memory leak in the plug-in tests
2561 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2562 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2563 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2565 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2566 Moved the browser global in here since it's declared in this file's header.
2567 Changed the code to set up the pluginClass structure to not use function
2568 pointer casts. Those are dangerous because they can hide many types of mismatch.
2569 And indeed when I did this I discovered that many functions were missing their
2570 boolean return values or had parameter declarations with the wrong types.
2571 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2572 clarity. Added boolean return value: return true when successful and false when not.
2573 (pluginSetProperty): Added boolean return value, return false since we have no
2574 properties we can set.
2575 (pluginInvoke): Added boolean return value. Return true when successful and false
2576 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2577 return value from calling the browser. Changed code to put the strings in malloc
2578 buffers instead of relying on GCC's extension that allows variable-sized arrays
2580 (pluginInvokeDefault): Added boolean return value, return false since we have no
2581 default function to call.
2582 (pluginInvalidate): Added missing parameter. Removed comment.
2583 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2584 to cast the result of malloc.
2585 (pluginDeallocate): Removed uneeded cast.
2587 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2588 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2589 that match NPObject's fields. Removed unused NPWindow pointer.
2591 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2593 Test: fast/events/event-sender-mouse-click.html
2597 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
2598 DRT hangs when doing eventSender.mouseDown on native widgets
2600 * DumpRenderTree/DumpRenderTree.m:
2601 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2602 (-[EventSendingController mouseClick]): Simulates a click in a native
2603 widget by queueing a mouseUp before sending the mouseDown, so that
2604 the widget's mouse tracking event loop doesn't hang indefinitely.
2606 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2610 - make link clicks work by handling link click requests
2613 * Spinneret/Spinneret/Spinneret.cpp:
2614 (updateLocationBar):
2615 * Spinneret/Spinneret/Spinneret.h:
2616 * Spinneret/Spinneret/WebFrame.cpp:
2617 (WebKit::WebFrame::WebFrame):
2618 (WebKit::WebFrame::openURL):
2619 (WebKit::WebFrame::loadURL):
2620 * Spinneret/Spinneret/WebFrame.h:
2622 2006-03-08 Eric Seidel <eseidel@apple.com>
2626 Focus URL bar on Spinneret launch, remove border from WebView.
2627 Stop WebFrame from deleting the job (prevent crash).
2629 * Spinneret/Spinneret/Spinneret.cpp:
2631 * Spinneret/Spinneret/WebFrame.cpp:
2632 (WebKit::WebFrame::receivedAllData):
2633 (WebKit::WebFrame::paint):
2634 * Spinneret/Spinneret/WebView.cpp:
2635 (WebKit::WebView::createWebView):
2637 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2641 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2642 (pluginInvoke): Added a method to test getURL.
2644 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2648 - load URLs, not file paths, in Spinneret
2650 * Spinneret/Spinneret/Spinneret.cpp:
2652 * Spinneret/Spinneret/Spinneret.vcproj:
2653 * Spinneret/Spinneret/WebFrame.cpp:
2654 (WebKit::WebFrame::loadURL):
2655 (WebKit::WebFrame::receivedData):
2656 (WebKit::WebFrame::receivedAllData):
2657 * Spinneret/Spinneret/WebFrame.h:
2658 * Spinneret/Spinneret/WebView.cpp:
2659 (WebKit::WebView::WebView):
2661 2006-03-08 Darin Adler <darin@apple.com>
2665 - fixed AppleScript layout test results to not be endian-dependent
2666 (Hyatt complained to me about this one)
2668 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2669 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2670 (which are endian-dependent).
2672 2006-03-07 Darin Adler <darin@apple.com>
2676 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
2677 unwanted output while running layout tests
2679 * DumpRenderTree/DumpRenderTree.m:
2680 (checkedMalloc): Added.
2681 (checkedRealloc): Added.
2682 (makeLargeMallocFailSilently): Added.
2683 (main): Call makeLargeMallocFailSilently.
2685 2006-03-06 Darin Adler <darin@apple.com>
2687 * Scripts/do-webcore-rename: Add some more planned renaming.
2689 2006-03-06 Eric Seidel <eseidel@apple.com>
2693 * Spinneret/Spinneret/WebFrame.cpp:
2694 (WebKit::WebFrame::paint): force layout before painting
2696 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2700 Sent the windowNumber when sending events.
2701 Added leapForward so that we don't have to spend time waiting
2702 in layout tests that do mouse operations that require delays.
2704 * DumpRenderTree/DumpRenderTree.m:
2705 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2706 (+[EventSendingController webScriptNameForSelector:]):
2707 (-[EventSendingController currentEventTime]):
2708 (-[EventSendingController leapForward:]):
2709 (-[EventSendingController mouseDown]):
2710 (-[EventSendingController mouseUp]):
2711 (-[EventSendingController mouseMoveToX:Y:]):
2713 2006-03-05 Darin Adler <darin@apple.com>
2715 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2716 Script now works (after landing my two pending patches).
2718 2006-03-05 Darin Adler <darin@apple.com>
2720 - check in a script to do a "big" rename in WebCore
2721 (can be run whenever we're ready to do it)
2723 * Scripts/do-webcore-rename: Added.
2725 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2729 * Spinneret/Spinneret/WebFrame.cpp:
2730 (WebKit::WebFrame::loadFilePath): Close file when done.
2732 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2734 Reviewed by Darin, landed by ap.
2736 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
2737 Mouse moved events do not work in DumpRenderTree
2739 Test: fast/events/event-sender-mouse-moved.html
2741 * DumpRenderTree/DumpRenderTree.m:
2742 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2744 2006-03-04 Eric Seidel <eseidel@apple.com>
2748 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2749 Disable background erase to avoid tearing.
2750 Fix potential memory smasher from extra long urls.
2752 * Spinneret/Spinneret/Spinneret.cpp:
2754 * Spinneret/Spinneret/Spinneret.vcproj:
2755 * Spinneret/Spinneret/WebFrame.cpp:
2756 (WebKit::WebFrame::loadFilePath):
2757 (WebKit::WebFrame::paint):
2758 * Spinneret/Spinneret/WebView.cpp:
2759 (WebKit::registerWebViewWithInstance):
2761 2006-03-04 Eric Seidel <eseidel@apple.com>
2765 Hang WebView pointer off of HWND (gets rid of global hack).
2766 Remove MessageBox displayed on url change.
2768 * Spinneret/Spinneret/Spinneret.cpp:
2771 * Spinneret/Spinneret/WebView.cpp:
2772 (WebKit::registerWebViewWithInstance):
2773 (WebKit::WebView::createWebView):
2774 (WebKit::WebViewWndProc):
2776 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2780 Automatically kill httpd if it appears to be already running.
2782 * Scripts/run-webkit-tests:
2784 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2788 * Spinneret/Spinneret/WebFrame.cpp:
2789 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2791 2006-03-03 Eric Seidel <eseidel@apple.com>
2795 A few more fixes to make run-webkit-tests really work on win32.
2797 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2799 * Scripts/run-webkit-tests:
2801 2006-03-03 Eric Seidel <eseidel@apple.com>
2805 Make run-webkit-tests work on win32.
2807 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2809 (dumpRenderTreeMain):
2810 (dumpRenderTreeToStdOut):
2811 (serializeToStdOut):
2813 * Scripts/run-webkit-tests:
2814 * Scripts/webkitdirs.pm:
2815 * Spinneret/Spinneret/WebView.cpp:
2816 (WebKit::WebView::WebView):
2818 2006-03-03 Eric Seidel <eseidel@apple.com>
2822 Add WebFrame class (to hold Frame and FrameView).
2823 Add Location bar support to Spinneret.
2825 * Spinneret/Spinneret/Spinneret.cpp:
2830 * Spinneret/Spinneret/Spinneret.vcproj:
2831 * Spinneret/Spinneret/WebFrame.cpp: Added.
2832 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2833 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2834 (WebKit::WebFrame::WebFrame):
2835 (WebKit::WebFrame::loadFilePath):
2836 (WebKit::WebFrame::loadHTMLString):
2837 (WebKit::WebFrame::paint):
2838 (WebKit::WebFrame::impl):
2839 (WebKit::WebFrame::viewImpl):
2840 * Spinneret/Spinneret/WebFrame.h: Added.
2841 * Spinneret/Spinneret/WebView.cpp:
2842 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2843 (WebKit::WebView::WebView):
2844 (WebKit::WebView::windowHandle):
2845 (WebKit::WebView::mainFrame):
2846 (WebKit::WebView::mouseMoved):
2847 (WebKit::WebView::mouseDown):
2848 (WebKit::WebView::mouseUp):
2849 (WebKit::WebView::mouseDoubleClick):
2850 (WebKit::WebViewWndProc):
2851 * Spinneret/Spinneret/WebView.h:
2853 2006-03-02 Eric Seidel <eseidel@apple.com>
2857 * Spinneret/Spinneret/WebView.cpp:
2858 (WebKit::registerWebViewWithInstance):
2859 (WebKit::WebView::WebView):
2860 (WebKit::WebView::mouseMoved):
2861 (WebKit::WebView::mouseDown):
2862 (WebKit::WebView::mouseUp):
2863 (WebKit::WebView::mouseDoubleClick):
2864 (WebKit::WebViewWndProc):
2865 * Spinneret/Spinneret/WebView.h:
2867 2006-03-01 Eric Seidel <eseidel@apple.com>
2869 Reviewed by andersca.
2871 Make spinneret take advantage of the new GraphicsContextCairo.
2873 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2874 (main): updated to match style guidelines.
2875 * Spinneret/Spinneret/Spinneret.cpp:
2877 * Spinneret/Spinneret/WebView.cpp:
2878 (WebKit::registerWebViewWithInstance):
2879 (WebKit::WebView::WebView):
2880 (WebKit::WebView::~WebView):
2881 (WebKit::WebView::drawRect):
2883 * Spinneret/Spinneret/WebView.h:
2885 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2889 Give the events that eventSender sends a unique eventNumber
2891 * DumpRenderTree/DumpRenderTree.m:
2892 (-[EventSendingController mouseDown]):
2893 (-[EventSendingController mouseUp]):
2894 (-[EventSendingController mouseMoveToX:Y:]):
2896 2006-03-01 Eric Seidel <eseidel@apple.com>
2900 Add a stub win32 application to test WebCore drawing on windows.
2903 * Spinneret/Spinneret: Added.
2904 * Spinneret/Spinneret.sln: Added.
2905 * Spinneret/Spinneret/Resource.h: Added.
2906 * Spinneret/Spinneret/Spinneret.cpp: Added.
2912 * Spinneret/Spinneret/Spinneret.h: Added.
2913 * Spinneret/Spinneret/Spinneret.ico: Added.
2914 * Spinneret/Spinneret/Spinneret.rc: Added.
2915 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2916 * Spinneret/Spinneret/WebView.cpp: Added.
2917 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2918 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2919 (WebKit::registerWebViewWithInstance):
2920 (WebKit::WebView::createWebView):
2921 (WebKit::WebView::WebView):
2922 (WebKit::WebView::~WebView):
2923 (WebKit::WebView::drawRect):
2924 (WebKit::WebView::windowHandle):
2926 * Spinneret/Spinneret/WebView.h: Added.
2927 * Spinneret/Spinneret/small.ico: Added.
2928 * Spinneret/Spinneret/stdafx.cpp: Added.
2929 * Spinneret/Spinneret/stdafx.h: Added.
2931 2006-02-28 Eric Seidel <eseidel@apple.com>
2935 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2936 (main): add ability to dump render tree and read from a local file.
2938 2006-02-27 Eric Seidel <eseidel@apple.com>
2942 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2944 2006-02-27 Eric Seidel <eseidel@apple.com>
2948 Test new KConfig -> PlugInInfoStore change.
2949 http://bugs.webkit.org/show_bug.cgi?id=7498
2951 * DumpRenderTree/DumpRenderTree.m:
2952 (main): load test netscape plugin
2953 * Scripts/run-webkit-tests: style update
2955 2006-02-24 Eric Seidel <eseidel@apple.com>
2959 Make DumpRenderTree link against icu.
2961 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2963 2006-02-24 Eric Seidel <eseidel@apple.com>
2967 Make DumpRenderTree link against libxml, etc.
2969 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2971 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2973 Reviewed and landed by Anders.
2975 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2976 getting called from the run loop, making the view render each test and thus slowing
2979 * DumpRenderTree/DumpRenderTree.m:
2980 (main): Set the offscreen window to not autodisplay.
2982 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2986 - Turn http tests back on by default.
2987 - Wait for Apache to actually start serving requests.
2988 - Get user id from a built-in variable rather than an external command;
2989 don't pass the group.
2991 * Scripts/run-webkit-tests:
2993 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2995 Suggested by Mitz Pettel, reviewed by Darin.
2997 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2998 can run CGIs even if the permissions are 700 or 600.
3000 2006-02-23 Darin Adler <darin@apple.com>
3002 Collaborating with Alexey.
3004 - turn off http tests by default until we figure out how to get them
3005 to run even when permissions on CGI files are 700 instead of 755
3007 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
3009 2006-02-23 Eric Seidel <eseidel@apple.com>
3011 Add *.user to ignore list.
3013 2006-02-23 Eric Seidel <eseidel@apple.com>
3015 Remove binary file which shouldn't have been commited (and add to ignore list).
3017 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
3018 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
3020 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3024 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
3026 2006-02-22 Eric Seidel <eseidel@apple.com>
3028 Reviewed by Tim Hatcher.
3030 Fix install-win-extras to not try to re-install setx if installed.
3032 * Scripts/install-win-extras:
3034 2006-02-22 Eric Seidel <eseidel@apple.com>
3036 One more file possibly missing from previous commit?
3038 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
3039 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3041 2006-02-22 Eric Seidel <eseidel@apple.com>
3043 Reviewed by justing.
3045 Files missing from previous commit.
3047 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3048 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
3050 2006-02-22 Eric Seidel <eseidel@apple.com>
3052 Rubber-stamped by justing.
3054 Corrected path for DumpRenderTree.intermediate files
3056 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3058 2006-02-22 Eric Seidel <eseidel@apple.com>
3060 Reviewed by justing.
3062 Fixed build-dumprendertree to exit with correct error codes.
3064 * Scripts/build-dumprendertree:
3066 2006-02-22 Eric Seidel <eseidel@apple.com>
3068 Reviewed by justing.
3070 Update build scripts to generalize building on Win32, and allow
3071 building of DumpRenderTree on Win32 from build-dumprendertree.
3073 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3075 * Scripts/build-dumprendertree:
3076 * Scripts/build-webkit:
3077 * Scripts/webkitdirs.pm:
3079 2006-02-22 Eric Seidel <eseidel@apple.com>
3083 * DumpRenderTree/DumpRenderTree.vcproj: Added.
3084 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
3085 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
3086 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
3087 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
3088 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
3090 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
3091 * Scripts/build-webkit: make build-webkit cleanup after itself
3093 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3097 - http://bugs.webkit.org/show_bug.cgi?id=7409
3098 Some minor fixes to http tests.
3100 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
3102 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
3106 - http://bugs.webkit.org/show_bug.cgi?id=6197
3107 Would like to use locally installed Apache for testing.
3109 Added two run-webkit-tests options:
3110 --http (--nohttp) - whether to launch Apache (defaults to yes);
3111 --port - which port to listen on (defaults to 8000).
3113 Tests in LayoutTests/http are not run directly, and Apache is used instead.
3114 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
3115 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
3117 Also added support for .shtml and .text files. Text files give an empty
3118 *-expected.txt, but a correct image.
3120 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
3122 * Scripts/run-webkit-tests:
3124 2006-02-21 Darin Adler <darin@apple.com>
3126 Suggested by Mark Rowe.
3128 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
3129 reporting leak counts.
3131 2006-02-18 Maciej Stachowiak <mjs@apple.com>
3135 - Added install-win-extras script which installs some extra
3136 programs and libraries, and does Windows first-time setup.
3138 * Scripts/build-webkit: Add a newline between build results.
3139 * Scripts/install-win-extras: Added.
3141 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3145 - http://bugs.webkit.org/show_bug.cgi?id=7308
3146 DumpRenderTree should be able to load files via HTTP
3148 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
3149 Handle tests starting with "http://" as real URLs, not file system paths.
3151 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3155 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
3156 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
3158 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
3160 2006-02-18 Darin Adler <darin@apple.com>
3162 * Scripts/commit-log-editor: Added.
3164 2006-02-17 Eric Seidel <eseidel@apple.com>
3168 Make Win32 have the same default "WebKitBuild" directory behavior.
3170 * Scripts/build-webkit:
3171 * Scripts/webkitdirs.pm:
3173 2006-02-17 Eric Seidel <eseidel@apple.com>
3177 * Scripts/build-webkit: make win32 actually report errors
3179 2006-02-17 Eric Seidel <eseidel@apple.com>
3183 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
3185 2006-02-17 Eric Seidel <eseidel@apple.com>
3189 * Scripts/run-webkit-tests: Ignore flash leaks
3191 2006-02-15 Justin Garcia <justin.garcia@apple.com>
3195 <http://bugs.webkit.org/show_bug.cgi?id=7148>
3196 Add drag and drop support to DumpRenderTree
3198 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
3199 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
3201 * DumpRenderTree/DumpRenderTree.m:
3203 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3204 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3205 (-[WaitUntilDoneDelegate webViewFocus:]):
3206 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3207 (+[LayoutTestController webScriptNameForSelector:]):
3208 (-[LayoutTestController setWindowIsKey:]):
3209 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3210 (-[EventSendingController init]):
3211 (-[EventSendingController mouseDown]):
3212 (-[EventSendingController mouseUp]):
3213 (-[EventSendingController mouseMoveToX:Y:]):
3215 (-[DumpRenderTreeWindow isKeyWindow]):
3216 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
3217 (-[DumpRenderTreeDraggingInfo dealloc]):
3218 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3219 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
3220 (-[DumpRenderTreeDraggingInfo draggingLocation]):
3221 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
3222 (-[DumpRenderTreeDraggingInfo draggedImage]):
3223 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
3224 (-[DumpRenderTreeDraggingInfo draggingSource]):
3225 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
3226 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
3227 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
3228 * DumpRenderTree/TextInputController.m:
3229 (-[TextInputController firstRectForCharactersFrom:length:]):
3230 (-[TextInputController characterIndexForPointX:Y:]):
3232 2006-02-15 Geoffrey Garen <ggaren@apple.com>
3236 * DumpRenderTree/DumpRenderTree.m:
3237 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3238 Added a dummy method for the sake of LayoutTests/plugins/
3239 undefined-property-crash.html. (It tests a crash due to fallback
3240 object use. WebCore won't create a fallback object if the method is
3243 2006-02-14 Eric Seidel <eseidel@apple.com>
3247 * Scripts/run-webkit-tests: added --results-directory (-o) option
3249 2006-02-09 Eric Seidel <eseidel@apple.com>
3251 Rubber-stamped by mjs.
3253 Renamed split-class to split-file-by-class.
3255 * Scripts/build-webkit: Updated copyright.
3256 * Scripts/split-class: Removed.
3257 * Scripts/split-file-by-class: Added.
3259 2006-02-08 Eric Seidel <eseidel@apple.com>
3261 Rubber-stamped by mjs.
3263 Adding new script for splitting multi-class files.
3264 Also adding supporting perl module with space removing heuristics.
3266 * Scripts/SpacingHeuristics.pm: Added.
3267 * Scripts/build-drawtest: updated copyright header
3268 * Scripts/split-class: Added.
3270 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3272 Reviewed by thatcher
3274 Changes to test fix for:
3275 <http://bugs.webkit.org/show_bug.cgi?id=3982>
3276 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3278 * DumpRenderTree/DumpRenderTree.m:
3279 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3280 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3281 (+[LayoutTestController webScriptNameForSelector:]):
3282 (-[LayoutTestController setWindowHasFocus:]):
3283 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3285 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3287 Reviewed by Timothy.
3289 Support automated testing of AppleScript "do JavaScript" command
3290 http://bugs.webkit.org/show_bug.cgi?id=7012
3292 * DumpRenderTree/AppleScriptController.h: Added.
3293 * DumpRenderTree/AppleScriptController.m: Added.
3294 * DumpRenderTree/DumpRenderTree.m:
3295 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3296 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3298 2006-02-06 Eric Seidel <eseidel@apple.com>
3302 Fix build-webkit for use on win32 (unblocks buildbot usage).
3303 http://bugs.webkit.org/show_bug.cgi?id=7122
3305 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3306 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3308 2006-02-06 Eric Seidel <eseidel@apple.com>
3310 Rubber-stamped by darin & mjs.
3312 Added new support directory for build slave scripts.
3313 Committing the first script, for use by the PLT's build slave.
3314 This script is used to kick of the PLT (Page Load Test) slave.
3316 * BuildSlaveSupport: Added.
3317 * BuildSlaveSupport/run-performance-tests: Added.
3319 2006-02-06 Eric Seidel <eseidel@apple.com>
3321 Rubber-stamped by darin.
3323 Adding setSourceDir for scripts stored in non-standard locations.
3325 * Scripts/webkitdirs.pm:
3327 2006-02-04 Darin Adler <darin@apple.com>
3329 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3330 Configuration files that say Development or Deployment in them.
3332 2006-02-04 Darin Adler <darin@apple.com>
3334 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3335 wrapper already in the directory.
3336 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3337 these haven't been working at all.
3338 * Scripts/svn-unapply: Ditto.
3340 2006-02-03 Timothy Hatcher <timothy@apple.com>
3344 Renamed configuration names to Debug, Release and Production.
3346 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3347 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3348 * Scripts/set-webkit-configuration:
3349 * Scripts/webkitdirs.pm:
3351 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3353 Reviewed by thatcher
3355 Enabled spell checking for layout tests.
3357 * DumpRenderTree/DumpRenderTree.m:
3360 2006-01-29 Darin Adler <darin@apple.com>
3362 * Scripts/svn-apply: Added comments about things we should do to improve.
3363 * Scripts/svn-create-patch: Ditto.
3364 * Scripts/svn-unapply: Ditto.
3366 2006-01-28 Darin Adler <darin@apple.com>
3368 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3369 already there, even if the checksum is correct.
3371 2006-01-27 Eric Seidel <eseidel@apple.com>
3375 * Scripts/run-webkit-tests: make new tests use absolute urls
3377 2006-01-27 Eric Seidel <eseidel@apple.com>
3381 make run-webkit-tests output total leaks count
3383 * Scripts/run-webkit-tests:
3385 2006-01-27 Eric Seidel <eseidel@apple.com>
3389 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3390 http://bugs.webkit.org/show_bug.cgi?id=6869
3392 * Scripts/run-webkit-tests: fix --leaks to not crash
3394 2006-01-26 Eric Seidel <eseidel@apple.com>
3398 run-webkit-tests should produce a self-contained results directory
3399 http://bugs.webkit.org/show_bug.cgi?id=6864
3401 * Scripts/run-webkit-tests: copy failing items to results dir.
3403 2006-01-23 Darin Adler <darin@apple.com>
3405 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
3406 need script to update localizable strings file in WebKit
3408 * Scripts/update-webkit-localizable-strings: Added.
3410 2006-01-23 Darin Adler <darin@apple.com>
3412 - added a couple of scripts -- more about these two soon
3414 * Scripts/extract-localizable-strings: Added.
3415 * Scripts/merge-changelog: Added.
3417 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3421 Build fix. build-webkit dies with "invalid build action: (empty string)"
3423 * Scripts/build-webkit:
3424 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3426 2006-01-22 Eric Seidel <eseidel@apple.com>
3430 Fix --no-svg option to use XCode flags instead of gcc flags.
3432 * Scripts/build-webkit:
3434 2006-01-22 Eric Seidel <eseidel@apple.com>
3438 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3440 * Scripts/build-webkit:
3442 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3444 Reviewed by eseidel.
3446 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
3447 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3449 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3450 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3452 2006-01-19 Darin Adler <darin@apple.com>
3454 * Scripts/report-include-statistics: Added a new script.
3456 2006-01-19 Timothy Hatcher <timothy@apple.com>
3458 * Scripts/build-webkit: include JavaScriptGlue in the build
3460 2006-01-19 Darin Adler <darin@apple.com>
3462 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3463 spaces in it by using the form of open that treats each argument as a string
3464 rather than backtick syntax for reading the output of the nm tool.
3466 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3470 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3471 detect if there are any new tests
3473 * Scripts/prepare-ChangeLog:
3475 2006-01-12 Darin Adler <darin@apple.com>
3477 - removed some of the cvs-specific scripts -- not needed for this project any more
3479 * Scripts/cvs-abandon: Removed.
3480 * Scripts/cvs-apply: Removed.
3481 * Scripts/cvs-create-patch: Removed.
3482 * Scripts/cvs-unapply: Removed.
3484 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3486 Reviewed by eseidel. Committed by eseidel.
3488 - run-webkit-tests always launches Safari when tests fail
3489 http://bugs.webkit.org/show_bug.cgi?id=6456
3491 * Scripts/run-webkit-tests:
3492 Add a command-line flag to prevent Safari being launched to display failed
3493 tests. Always exit with non-zero status when tests have failed.
3495 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3497 Reviewed by eseidel. Committed by eseidel.
3499 - build-webkit should exit with non-zero status when build fails
3500 http://bugs.webkit.org/show_bug.cgi?id=6459
3502 * Scripts/build-webkit:
3503 Use correct bits of subprocess exit code when passing back through
3504 as build-webkit's exit code.
3506 2006-01-10 Eric Seidel <eseidel@apple.com>
3508 Restored corrupted nibs from TOT CVS.
3510 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3511 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3512 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3513 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3514 * DrawTest/English.lproj/Inspector.nib: Replaced.
3515 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3516 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3517 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3518 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3519 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3520 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3521 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3522 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3523 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3524 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3525 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3527 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3529 Reviewed by eseidel. Committed by eseidel.
3531 DrawTestView now subclasses WebView instead of DrawView.
3533 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3534 * DrawTest/DrawTestDocument.h:
3535 * DrawTest/DrawTestDocument.m:
3536 (-[DrawTestDocument dealloc]):
3537 (-[DrawTestDocument readFromFile:ofType:]):
3538 (-[DrawTestDocument windowControllerDidLoadNib:]):
3539 (-[DrawTestDocument dumpSVGToConsole:]):
3540 (-[DrawTestDocument openSourceForSelection:]):
3541 (-[DrawTestDocument dataRepresentationOfType:]):
3542 * DrawTest/DrawTestToolbarController.h:
3543 * DrawTest/DrawTestToolbarController.m:
3544 (-[DrawTestToolbarController initWithDrawView:]):
3545 (-[DrawTestToolbarController clickedToolbarItem:]):
3546 (-[DrawTestToolbarController validateToolbarItem:]):
3547 * DrawTest/DrawTestView.h:
3548 * DrawTest/DrawTestView.m:
3549 (-[DrawTestView initWithFrame:]):
3550 (-[DrawTestView setDocument:]):
3551 * DrawTest/SVGTest.h:
3552 * DrawTest/SVGTest.m:
3553 (+[SVGTest sharedDrawView]):
3554 (-[SVGTest generateCompositeIfNecessary]):
3555 * DrawTest/TestController.h:
3556 * DrawTest/TestController.m:
3557 (-[TestController awakeFromNib]):
3558 (-[TestController setSelectedTest:]):
3559 (-[TestController openTestViewerForSelection:]):
3560 (-[TestController toggleViewersScaleRule:]):
3561 * DrawTest/TestViewerSplitView.m:
3562 (-[TestViewerSplitView drawRect:]):
3564 2006-01-10 Anders Carlsson <andersca@mac.com>
3566 Reviewed by Timothy.
3568 * DumpRenderTree/DumpRenderTree.m:
3569 (main): Set the default language to "en", so language tests will work.
3571 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3575 - script to generate HTML wrappers for JS tests
3576 http://bugs.webkit.org/show_bug.cgi?id=6441
3578 * Scripts/make-js-test-wrappers: Added.
3580 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3584 * Scripts/svn-create-patch: Fix to work when passed directory names.
3586 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3590 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3591 can start writing automated loader tests now. I have one in the works.
3593 * DumpRenderTree/DumpRenderTree.m:
3594 (main): Construct global navigationController on entry, destroy on exit.
3595 Set frame to nil on exit too, to match all the other global objects.
3596 (Probably academic, since the process is exiting, anyway.)
3597 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3598 navigationController, in case it wants to kick off a load.
3599 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3600 the navigationController to scripting.
3602 New class, should be straightforward:
3604 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3605 * DumpRenderTree/NavigationController.h: Added.
3606 * DumpRenderTree/NavigationController.m: Added.
3608 (+[NavigationController isSelectorExcludedFromWebScript:]):
3609 (+[NavigationController webScriptNameForSelector:]):
3610 (-[NavigationController setPendingScript:]):
3611 (-[NavigationController setPendingRequest:]):
3612 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3613 (-[NavigationController webView:didFinishLoadForFrame:]):
3614 (-[NavigationController dealloc]):
3616 2006-01-08 Timothy Hatcher <timothy@apple.com>
3618 Removed this script, no longer needs with the Subversion switch.
3620 * checkout: Removed.
3622 2006-01-08 Timothy Hatcher <timothy@apple.com>
3624 Removes some stray tabs.
3626 * Scripts/update-webkit:
3628 2005-01-07 Eric Seidel <eseidel@apple.com>
3632 build-webkit should pass on build arguments from command line
3633 http://bugs.webkit.org/show_bug.cgi?id=5854
3635 * Scripts/build-webkit:
3637 2006-01-07 Eric Seidel <eseidel@apple.com>
3639 Reviewed by mjs & xenon.
3641 * Scripts/update-webkit: support Internal updates as well
3643 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3645 Temporarily rolling out plugin support from DumpRenderTree because it
3646 caused lots of layout test regressions.
3648 * DumpRenderTree/DumpRenderTree.m:
3649 (main): Remove invisible window added to support plugins.
3651 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3655 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
3656 Add plugin support to DumpRenderTree
3658 Also wrote first test plugin.
3660 * DumpRenderTree/DumpRenderTree.m:
3662 (1) Put the WebView in an invisible window, because PlugIns are
3663 optimized not to load if there's no parent window.
3664 (2) Tell WebKit to load any PlugIns in the directory from which we
3665 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3666 and they'll load automagically during layout testing, but they won't be
3667 added to the user's system, hosing apps like Safari.
3669 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3670 test PlugIn to project.
3672 PlugIn added to project:
3674 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3675 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3677 (initializeIdentifiers):
3678 (pluginHasProperty):
3680 (pluginGetProperty):
3681 (pluginSetProperty):
3683 (pluginInvokeDefault):
3687 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3688 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3690 (NP_GetEntryPoints):
3696 (NPP_DestroyStream):
3706 2006-01-04 Timothy Hatcher <timothy@apple.com>
3710 Tweaked and tested by me.
3712 New scripts to work with Subversion when the switch happens.
3713 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3715 * Scripts/svn-apply: Added.
3716 * Scripts/svn-create-patch: Added.
3717 * Scripts/svn-unapply: Added.
3719 2005-12-30 Eric Seidel <eseidel@apple.com>
3723 Move WebView width/height logic into DumpRenderTree to support
3724 running the W3C SVG 1.1 tests along side other tests. The W3C
3725 SVG 1.1 tests require a 480x360 view.
3727 * DumpRenderTree/DumpRenderTree.m:
3728 (main): don't accept width/height
3729 (dump): override width/height for SVG/W3C
3730 * Scripts/run-webkit-tests: don't pass width/height
3732 2005-12-30 Eric Seidel <eseidel@apple.com>
3734 No review, only removing dead code.
3736 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3737 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3739 2005-12-30 Eric Seidel <eseidel@apple.com>
3743 DumpRenderTree should set a consistent color profile while running
3744 http://bugs.webkit.org/show_bug.cgi?id=6155
3746 Creates consistent colormatched renderings on every test machine
3747 using the only way possible with Tiger APIs: by setting the
3748 system color profile on the test machine for the duration of the
3749 tests. This will (unfortunately) cause colors to change while
3750 running DumpRenderTree. This can also cause "permanent" color
3751 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3752 This is far from ideal, but it's be best way we've found to deal
3753 with the issue for now.
3755 * DumpRenderTree/DumpRenderTree.m:
3756 (restoreColorSpace):
3757 (setDefaultColorProfileToRGB):
3760 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3762 Reviewed by Darin Adler.
3764 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
3765 cvs-create-patch --include produces incorrect paths
3767 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3769 2005-12-19 Eric Seidel <eseidel@apple.com>
3773 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3775 2005-12-19 Darin Adler <darin@apple.com>
3777 Reviewed by Eric Seidel.
3779 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
3780 WebKit needs to use a local pasteboard during testing
3782 * DumpRenderTree/DumpRenderTree.m:
3783 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3784 Create a local pasteboard (really a global one with a unique name) and release
3785 it when exiting from the function so we don't leave it in the pasteboard server.
3786 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3787 ddn't have one. Fixed a leak in an unlikely error case.
3788 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3789 of this method to return our local pasteboard.
3791 2005-12-15 Eric Seidel <eseidel@apple.com>
3793 Reviewed by Tim Hatcher.
3795 * Scripts/build-webkit: --svg is now default!
3797 2005-12-15 Eric Seidel <eseidel@apple.com>
3801 Don't run svg test automatically if +SVG is built (yet).
3803 * Scripts/run-webkit-tests:
3805 2005-12-15 Darin Adler <darin@apple.com>
3807 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3808 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3809 passed on the command line.
3811 2005-12-06 John Sullivan <sullivan@apple.com>
3813 Reviewed by Darin Adler.
3815 * Scripts/prepare-ChangeLog:
3816 Remove special-case handling for nib files. This avoided trouble with cvs diff
3817 when we were using wrappers for nib files. Now that we aren't using wrappers,
3818 there's no reason to avoid adding the modified nib files to the file list that
3821 2005-12-05 Eric Seidel <eseidel@apple.com>
3825 Script updates for SVG files move (remove references to SVGSupport)
3827 * Scripts/build-webkit: remove SVGSupport
3828 * Scripts/run-webkit-tests: Resources -> resources for --svg
3829 * Scripts/update-webkit: remove SVGSupport
3831 2005-12-05 Eric Seidel <eseidel@apple.com>
3835 * checkout: remove --svg support, SVG is now checked out by default
3837 2005-11-29 Eric Seidel <eseidel@apple.com>
3841 Update scripts to run SVG tests automatically (w/o --svg) if
3842 WebCore is built with SVG support.
3844 * Scripts/build-drawtest: SVG support required
3845 * Scripts/build-dumpkcanvastree: Removed.
3846 * Scripts/run-drawtest: SVG support required to run
3847 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3848 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3850 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3852 Reviewed by Darin. Committed by Maciej.
3854 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3855 (http://bugs.webkit.org/show_bug.cgi?id=5838)
3857 * DumpRenderTree/DumpRenderTree.m:
3860 2005-11-28 Eric Seidel <eseidel@apple.com>
3862 Reviewed by sullivan and GGAREN.
3864 Minor additions to make error messages more clear from cvs-apply.
3866 * Scripts/cvs-apply: make errors more clear
3868 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3870 Reviewed and committed by Maciej.
3872 - fixed cvs-create-patch --include produces incorrect paths
3873 (http://bugs.webkit.org/show_bug.cgi?id=5846)
3875 * Scripts/cvs-create-patch: produce proper paths for new files.
3877 2005-11-21 Eric Seidel <eseidel@apple.com>
3881 Some simple fixes to the build/test scripts now that SVG uses the
3882 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3883 or symlinks for KDOM.
3885 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3886 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3887 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3888 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3889 * checkout: no longer symlink kdom
3891 2005-11-10 Eric Seidel <eseidel@apple.com>
3895 * Scripts/build-webkit: Pass through options to xcodebuild
3897 2005-11-07 Darin Adler <darin@apple.com>
3899 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3901 2005-11-03 John Sullivan <sullivan@apple.com>
3905 * Scripts/run-safari:
3906 changed message to say "Starting Safari" instead of odd "Start Safari"
3907 * Scripts/run-webkit-tests:
3908 changed the way we pass the file parameter to use -NSOpen rather than relying on
3909 unlabeled arguments being treated as files. This was failing on some machines that
3910 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3912 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3914 Patch by Alexey Proskuryakov.
3918 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
3919 TextInputController should support attributed strings
3921 * DumpRenderTree/TextInputController.m:
3922 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3923 (+[NSMutableAttributedString webScriptNameForSelector:]):
3924 (-[NSMutableAttributedString getLength]):
3925 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3926 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3927 (-[NSMutableAttributedString addAttribute:value:]):
3928 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3929 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3930 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3931 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3932 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3933 (+[TextInputController isSelectorExcludedFromWebScript:]):
3934 (+[TextInputController webScriptNameForSelector:]):
3935 (-[TextInputController insertText:]):
3936 (-[TextInputController attributedSubstringFrom:length:]):
3937 (-[TextInputController attributedStringWithString:]):
3939 2005-10-11 Eric Seidel <eseidel@apple.com>
3943 Checks for leaks in ImageDiff too.
3945 * Scripts/run-webkit-tests:
3947 2005-10-09 Darin Adler <darin@apple.com>
3949 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3950 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3951 * Scripts/cvs-unapply: Ditto.
3952 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3954 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3956 Reviewed, rearranged and landed by Darin.
3958 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
3959 Need a way to automatically test for regressions in NSTextInput implementation
3961 * DumpRenderTree/DumpRenderTree.m:
3962 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3963 Create a text input controller and put it in a property of the window object.
3965 * DumpRenderTree/TextInputController.h: Added.
3966 * DumpRenderTree/TextInputController.m: Added.
3967 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3969 2005-10-06 Darin Adler <darin@apple.com>
3971 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3972 are controlled by cvs, or when changes cross multiple repositories.
3973 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3975 2005-10-03 Eric Seidel <eseidel@apple.com>
3979 Make mouseDown and mouseUp force layout before acting.
3980 This is used by a new test case for 4233558.
3982 * DumpRenderTree/DumpRenderTree.m:
3983 (-[EventSendingController mouseDown]): force layout
3984 (-[EventSendingController mouseUp]): force layout
3986 2005-09-30 Eric Seidel <eseidel@apple.com>
3990 Updated all the scripts for the move:
3991 WebCore/layout-tests -> LayoutTests
3993 * Scripts/check-dom-results:
3994 * Scripts/prepare-ChangeLog:
3995 * Scripts/run-webkit-tests:
3996 * Scripts/update-webkit: added --no-tests
3997 * checkout: added --no-tests
3999 2005-09-28 Darin Adler <darin@apple.com>
4001 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
4002 pixel test should run even if render trees differ
4004 * Scripts/run-webkit-tests: Don't check if the text dump matches.
4006 2005-09-27 Eric Seidel <eseidel@apple.com>
4008 No review needed, SVG build fix only.
4010 * DumpKCanvasTree/DumpKCanvasTree.m:
4011 Missed one in my previous checkin.
4012 http://bugs.webkit.org/show_bug.cgi?id=5141
4014 2005-09-26 Eric Seidel <eseidel@apple.com>
4016 No review needed, SVG build fix only.
4018 * DrawTest/DrawTestDocument.m:
4019 * DrawTest/DrawTestToolbarController.m:
4020 * DrawTest/DrawTestView.h:
4021 * DrawTest/DrawTestView.m:
4022 * DrawTest/SVGTest.m:
4023 * DrawTest/TestController.m:
4024 Updated for WebCore+SVG -> WebCore rename.
4025 http://bugs.webkit.org/show_bug.cgi?id=5141
4027 2005-09-26 Eric Seidel <eseidel@apple.com>
4031 * DumpRenderTree/DumpRenderTree.m:
4032 (dump): updated error message
4033 * Scripts/check-dom-results: now includes xhtml
4034 Tool updates for xhtml.
4035 http://bugs.webkit.org/show_bug.cgi?id=4907
4037 2005-09-22 Duncan Wilcox <duncan@mclink.it>
4042 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
4043 "Would like to simulate human interaction with webview"
4045 * DumpRenderTree/DumpRenderTree.m:
4046 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
4047 (+[EventSendingController isSelectorExcludedFromWebScript:]):
4048 (+[EventSendingController webScriptNameForSelector:]):
4049 (-[EventSendingController init]):
4050 (-[EventSendingController mouseDown]):
4051 (-[EventSendingController mouseUp]):
4052 (-[EventSendingController mouseMoveToX:Y:]):
4053 Add eventSender javascript object, that sends fake mouse events to the webview.
4055 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4056 link with Carbon.framework
4058 2005-09-22 Eric Seidel <eseidel@apple.com>
4062 Update tools for WebCore+SVG -> WebCore rename.
4063 Also fold several SVG specific tools into their original
4064 WebCore counterparts.
4065 http://bugs.webkit.org/show_bug.cgi?id=5003
4067 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
4068 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4069 * Scripts/build-drawtest:
4070 * Scripts/build-dumpkcanvastree:
4071 * Scripts/build-webcore-svg: Removed.
4072 * Scripts/build-webkit: added --svg option
4073 * Scripts/run-drawtest:
4074 * Scripts/run-webkit-tests:
4075 * Scripts/webkitdirs.pm: various additions.
4076 * checkout: added --svg option
4077 * checkout-svg: Removed.
4079 2005-09-19 Eric Seidel <eseidel@apple.com>
4083 * Scripts/run-webkit-tests: added --guard-malloc option
4084 http://bugs.webkit.org/show_bug.cgi?id=4613
4086 2005-09-16 Justin Garcia <justin.garcia@apple.com>
4090 Removed a script that is only used by apple internal developers
4092 * Scripts/update-webkitsysteminterface: Removed.
4094 2005-09-16 Adele Peterson <adele@apple.com>
4098 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
4100 2005-09-14 Darin Adler <darin@apple.com>
4102 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
4103 dumpAsText doesn't work with XHTML documents
4105 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
4106 rather than of the body element. This works with typical XHTML documents. We can probably
4107 do something even better in the long run, but this fixes the immediate issue.
4111 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
4112 run-safari instead of just using "open", which often runs another copy of Safari instead.
4114 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
4116 Reviewed, tweaked, and landed by Darin.
4118 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
4119 .Mac prefpane crashes when Safari using CVS WebKit is running
4121 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
4122 * Scripts/run-webkit-app: Ditto.
4124 2005-09-11 Darin Adler <darin@apple.com>
4126 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
4128 2005-09-11 Darin Adler <darin@apple.com>
4132 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
4133 two ways: 1) puts all files in a directory before any files in a subdirectory, and
4134 2) sort file names with numeric digits in them in a logical way, so test-33 will come
4137 2005-09-08 Justin Garcia <justin.garcia@apple.com>
4141 * Scripts/update-webkitsysteminterface: Added.
4142 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
4144 2005-09-01 John Sullivan <sullivan@apple.com>
4146 * Scripts/run-webkit-tests:
4147 Excluded a known system leak to reduce noise; added comments about which leaks
4150 2005-09-01 Tim Omernick <tomernick@apple.com>
4152 Change made by Darin, reviewed by John and myself.
4154 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
4156 * Scripts/prepare-ChangeLog:
4158 2005-08-31 Maciej Stachowiak <mjs@apple.com>
4162 - set color variant and font settings to a consistent value.
4163 (http://bugs.webkit.org/show_bug.cgi?id=4769)
4165 * DumpRenderTree/DumpRenderTree.m:
4168 2005-08-30 Eric Seidel <eseidel@apple.com>
4172 * Scripts/build-svg2png: Removed.
4173 * svg2png/ImageDiff.h: Removed.
4174 * svg2png/ImageDiff.m: Removed.
4175 * svg2png/svg2png.m: Removed.
4176 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
4177 * svg2png/svg2png_Prefix.pch: Removed.
4178 svg2png is no longer needed.
4180 2005-08-30 Darin Adler <darin@apple.com>
4182 * Scripts/check-dom-results: Special case 100% to say something nice.
4183 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
4184 applying the patch (need a better name).
4185 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
4187 2005-08-30 Darin Adler <darin@apple.com>
4189 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
4191 2005-08-29 Maciej Stachowiak <mjs@apple.com>
4195 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
4196 (some pixel tests fail when AA settings are changed)
4198 * DumpRenderTree/DumpRenderTree.m:
4199 (main): set AA settings to the default values
4201 2005-08-29 Darin Adler <darin@apple.com>
4203 Reviewed by John Sullivan.
4205 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
4206 executable -- much slower but can help pinpoint leaks. Changed formatting of some
4209 2005-08-28 Maciej Stachowiak <mjs@apple.com>
4213 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
4214 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
4216 * DumpRenderTree/DumpRenderTree.m:
4217 (main): set scrollbar arrow setting to a consistent value
4219 2005-08-27 Jussi Hagman <juhagman@abo.fi>
4221 Reviewed and landed by Darin.
4223 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
4224 output of update-webkit is too verbose
4226 * Scripts/update-webkit:
4227 Added option --quiet (-q) to decrease the amount of output.
4229 2005-08-27 Darin Adler <darin@apple.com>
4231 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
4232 cvs-create-patch --include-unknowns should ignore hidden files
4234 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
4236 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
4238 Reviewed, tweaked, and landed by Darin.
4240 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
4241 update-webkit doesn't notice when you have SVGSupport and update properly
4243 * Scripts/update-webkit: Build SVGSupport directory if it's present.
4245 2005-08-25 Anders Carlsson <andersca@mac.com>
4247 Reviewed and landed by Darin.
4249 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
4250 layout test machinery can't handle tests with applets that have code attributes
4252 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
4254 2005-08-24 Darin Adler <darin@apple.com>
4258 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
4259 DumpRenderTree --pixel-tests crash
4260 - landed some other small changes I had sitting in my tree
4262 * DumpRenderTree/DumpRenderTree.m:
4263 (main): Don't bother saving and restoring the preferences. Not sure
4264 why this was ever done since the preferences are specific to DumpRenderTree.
4265 Clear delegates before releasing the WebView, because you can't count on the
4266 order of object deallocation.
4267 (dumpRenderTree): Fix code that releases a string before storing it in a
4270 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
4271 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
4273 2005-08-23 Eric Seidel <eseidel@apple.com>