1 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
5 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
6 Bug 9596: [Drosera] add a function popup to the source pane
8 * Drosera/debugger.css: Added styles for function popup
9 * Drosera/debugger.html: Added function popup button and select
10 * Drosera/debugger.js: Added function popup functionality
12 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
16 http://bugs.webkit.org/show_bug.cgi?id=9671
19 Adds astyle sed script formats according to most of the style guidelines.
21 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
25 http://bugs.webkit.org/show_bug.cgi?id=7323
26 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
28 When dragging, do not send EventSendingController's events immediately. Dragging
29 is supposed to be modal, so we need to perform it from within the delegate, without
30 returning to JS to make the next mouse movement.
32 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
34 * DumpRenderTree/EventSendingController.h:
35 * DumpRenderTree/EventSendingController.m:
36 (-[EventSendingController dealloc]):
37 (-[EventSendingController leapForward:]):
38 (-[EventSendingController mouseDown]):
39 (-[EventSendingController mouseUp]):
40 (-[EventSendingController mouseMoveToX:Y:]):
41 (+[EventSendingController saveEvent:]):
42 (+[EventSendingController replaySavedEvents]):
43 * DumpRenderTree/UIDelegate.m:
44 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
46 2006-11-02 Geoffrey Garen <ggaren@apple.com>
48 Reviewed by Justin Garcia.
50 Made dumping of editing callbacks opt-in, so that editing spew doesn't
51 cloud non-editing tests.
53 * DumpRenderTree/DumpRenderTree.m:
54 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
55 (-[LayoutTestController shouldDumpEditingCallbacks]):
57 * DumpRenderTree/EditingDelegate.m:
58 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
59 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
60 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
61 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
62 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
63 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
64 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
65 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
66 (-[EditingDelegate webViewDidBeginEditing:]):
67 (-[EditingDelegate webViewDidChange:]):
68 (-[EditingDelegate webViewDidEndEditing:]):
69 (-[EditingDelegate webViewDidChangeTypingStyle:]):
70 (-[EditingDelegate webViewDidChangeSelection:]):
72 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
74 Reviewed by Maciej, landed by Anders.
76 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
77 devenv.com not available in VC++ Express installations
79 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
80 * Scripts/install-win-extras: Make setx.exe actually run.
82 2006-11-01 Stephanie Lewis <slewis@apple.com>
86 Fixed bug where additional arguments got fed to xcode and jsdriver.pl
87 Since testkjs is being built before the tests are run, we don't need
88 to build it with webkit.
91 http://bugs.webkit.org/show_bug.cgi?id=11462
92 http://bugs.webkit.org/show_bug.cgi?id=6168
94 * Scripts/build-webkit:
95 * Scripts/run-javascriptcore-tests:
97 2006-11-01 Brady Eidson <beidson@apple.com>
99 Reviewed by Tim Hatcher
101 Added accessor to get the source directory for use in client scripts
103 * Scripts/webkitdirs.pm:
105 2006-11-01 Mark Rowe <bdash@webkit.org>
109 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
111 * Spinneret/Spinneret/Spinneret.cpp:
113 * WebKitLauncher/WebKitNightlyEnabler.m:
114 (cleanUpAfterOurselves):
116 2006-10-31 Mark Rowe <bdash@webkit.org>
118 Reviewed by Stephanie.
120 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
122 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
123 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
125 2006-10-31 Darin Adler <darin@apple.com>
127 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
128 pasteboard, allocate any number of local pasteboards.
129 (main): Allocate the dictionary of pasteboards.
130 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
132 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
133 explicitly elsewhere.
134 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
135 to the selector rather than calling unconditionally.
137 2006-10-30 Darin Adler <darin@apple.com>
141 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
142 Don't use CFPasteboard.
144 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
148 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
150 * Drosera/debugger.js: ParsedURL() object now recognizes local files
152 2006-10-30 Darin Adler <darin@apple.com>
154 Reviewed by Tim Hatcher.
156 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
157 This should make our buildbot tests no longer need a pasteboard server.
159 2006-10-30 Geoffrey Garen <ggaren@apple.com>
163 Reorganized project file into Delegates and Controllers groups, and split
164 UIDelegate stuff into a UIDelegate class.
166 A little birdy told me that I might end up adding some UIDelegate methods
169 * DumpRenderTree/DumpRenderTree.m:
172 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
174 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
178 Add new platform/graphics include directory.
180 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
182 2006-10-30 Timothy Hatcher <timothy@apple.com>
184 Reviewed by Stephanie.
186 Add a special case for the Internal makefiles, so it can find the OepnSource.
188 * Scripts/webkitdirs.pm:
190 2006-10-30 Stephanie Lewis <slewis@apple.com>
194 Change Makefiles to return non-zero when module make fails.
195 Fix bug where if xcode options are not set, modules can build in the
199 * Scripts/webkitdirs.pm:
201 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
205 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
206 [Drosera] The Console toolbar button should bring the console window to the front.
208 The console now gets focus when its activated but already open. Command + L also
209 now activates/focuses the console.
211 * Drosera/English.lproj/MainMenu.nib/classes.nib:
212 * Drosera/English.lproj/MainMenu.nib/info.nib:
213 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
214 * Drosera/debugger.js:
216 2006-10-29 Darin Adler <darin@apple.com>
218 * Scripts/do-file-rename: Renames done, ready for the next round.
219 * Scripts/do-webcore-rename: Ditto.
221 2006-10-29 Darin Adler <darin@apple.com>
223 * Scripts/do-file-rename: And again.
225 2006-10-29 Darin Adler <darin@apple.com>
227 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
229 2006-10-29 Darin Adler <darin@apple.com>
233 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
234 Added. Does nothing, which prevents a beep.
236 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
238 2006-10-27 Brady Eidson <beidson@apple.com>
240 Rubber stamped by Tim Hatcher
242 Added "make universal" to build universal binaries
247 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
251 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
252 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
253 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
255 * DumpRenderTree/EventSendingController.m:
256 (-[EventSendingController mouseMoveToX:Y:]):
258 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
264 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
265 (WebCore::DumpRenderTree::open):
267 2006-10-24 Stephanie Lewis <slewis@apple.com>
271 - Changed run-javascriptcore tests to build testkjs before running.
273 * Scripts/run-javascriptcore-tests:
275 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
281 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
282 - Fix CMakeLists.txt to include platform/network.
284 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
286 2006-10-24 David Smith <catfish.man@gmail.com>
290 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
291 http://bugs.webkit.org/show_bug.cgi?id=11382
293 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
295 2006-10-21 Darin Adler <darin@apple.com>
297 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
298 This was still using "symroots" so it almost never worked!
300 2006-10-21 Darin Adler <darin@apple.com>
302 * Makefile: Build DumpRenderTree too.
303 * Scripts/do-webcore-rename: Removed bogus comment.
305 2006-10-20 David Smith <catfish.man@gmail.com>
309 Bug 11367: Inline Breakpoint Editor Improvements: Act III
310 http://bugs.webkit.org/show_bug.cgi?id=11367
312 Major breakpoint editor changes:
313 * Breakpoints can now either pause or log to console
314 * Code cleanup through use of XPath and converting breakpoints to objects
315 * Breakpoints now track how many times they've been reached
317 * The breakpoint editor now saves changes as they're entered
318 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
319 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
321 * Drosera/DebuggerDocument.m:
322 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
323 * Drosera/Drosera.xcodeproj/project.pbxproj:
324 * Drosera/Images/close.tif: Added.
325 * Drosera/Images/close_active.tif: Added.
326 * Drosera/Images/close_hover.tif: Added.
327 * Drosera/breakpointEditor.html: Added.
328 * Drosera/console.js: Added a way to append messages from outside the console window.
329 * Drosera/debugger.js:
330 * Drosera/viewer.css:
331 * Drosera/viewer.html:
333 2006-10-18 David Smith <catfish.man@gmail.com>
337 Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
339 * Drosera/DebuggerDocument.m:
340 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
341 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
342 * Drosera/debugger.js:
344 2006-10-18 Timothy Hatcher <timothy@apple.com>
348 Bug 10851: Crash with Drosera
349 http://bugs.webkit.org/show_bug.cgi?id=10851
351 This crash results in an assert in debug builds.
353 assert(implementsCall());
355 The __drosera_introspection propery was not callable. Now we just assign
356 this.__drosera_introspection in the evaluateWebScript call.
357 This change also removes one DO message.
359 * Drosera/DebuggerDocument.m:
360 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
362 2006-10-18 Mark Rowe <bdash@webkit.org>
366 http://bugs.webkit.org/show_bug.cgi?id=11304
367 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
369 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
370 when they are not part of the WebKit umbrella framework.
372 2006-10-18 Adam Roben <aroben@apple.com>
374 fixo el buildo II: Release's Pride.
376 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
378 2006-10-18 Geoffrey Garen <ggaren@apple.com>
382 Work around #import of <PDFKit/PDFView.h>.
384 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
386 2006-10-18 David Smith <catfish.man@gmail.com>
390 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
392 * Drosera/Drosera.xcodeproj/project.pbxproj:
393 * Drosera/Images/breakpointeditor.png: Added.
394 * Drosera/breakpointEditor.css: Removed.
395 * Drosera/breakpointEditor.html: Removed.
396 * Drosera/breakpointEditor.js: Removed.
397 * Drosera/debugger.js:
398 * Drosera/viewer.css:
400 2006-10-18 David Harrison <harrison@apple.com>
404 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
405 http://bugs.webkit.org/show_bug.cgi?id=11341
407 Link editing behavior became a preference. DumpRenderTree needs to specify the
408 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
410 * DumpRenderTree/DumpRenderTree.m:
413 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
417 Make compiler not complain about unused gk. SpinneretWebHost was not setting
418 initial refcount upon creation, so it is completely bogus.
420 * GdkLauncher/main.cpp:
422 * Spinneret/Spinneret/Spinneret.h:
423 (SpinneretWebHost::SpinneretWebHost):
425 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
429 Add another hanging test, to the "to be skipped" list.
431 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
433 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
437 Some fixes to get the Qt BuildSlave to run the LayoutTests.
439 * Scripts/build-dumprendertree: No need to call cmake again.
440 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
442 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
446 Force --no-http on Qt/Linux.
448 * Scripts/run-webkit-tests:
450 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
454 Gets JavaScripCore tests running on windows.
456 * Scripts/run-javascriptcore-tests:
457 * Scripts/webkitdirs.pm:
459 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
463 Exclude some tests which crash or hang from Qt/Linux DRT.
464 These are known to fail, and will be fixed at some point :-)
466 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
467 (WebCore::DumpRenderTree::DumpRenderTree):
468 (WebCore::DumpRenderTree::open):
469 (WebCore::DumpRenderTree::readStdin):
470 (WebCore::DumpRenderTree::readSkipFile):
471 (WebCore::DumpRenderTree::checkLoaded):
472 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
473 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
475 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
479 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
481 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
482 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
483 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
485 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
489 Also regenerate GdkLauncher makefiles, since not doing that might
490 lead to mismatch between WebCore and GdkLauncher compiler settings.
492 * Scripts/regenerate-makefiles:
494 2006-10-10 David Smith <catfish.man@gmail.com>
498 Bug 11246: Minor Drosera code cleanup
499 http://bugs.webkit.org/show_bug.cgi?id=11246
501 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
503 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
507 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
509 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
510 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
511 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
512 * Drosera/Images/SourceArrowOpen.png: Added.
513 * Drosera/Images/fileIcon.jpg: Added.
514 * Drosera/Images/siteCollapsed.tif: Added.
515 * Drosera/Images/siteExpanded.tif: Added.
516 * Drosera/Images/siteIcon.tif: Added.
517 * Drosera/debugger.css: Added File Browser styles
518 * Drosera/debugger.html: Added File Browser UI
519 * Drosera/debugger.js: Added File Browser functionality
521 2006-10-10 Darin Adler <darin@apple.com>
523 * Scripts/do-file-rename: Added.
525 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
529 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
530 a page. This allows automatic testing via e.g. valgrind.
532 * GdkLauncher/gdklauncher.bkl:
533 * GdkLauncher/main.cpp:
534 (LauncherFrameGdk::LauncherFrameGdk):
535 (LauncherFrameGdk::setExitAfterLoading):
536 (LauncherFrameGdk::handledOnloadEvents):
540 2006-10-06 David Smith <catfish.man@gmail.com>
544 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
546 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
547 * Drosera/breakpointEditor.css: Added.
548 * Drosera/breakpointEditor.html: Added.
549 * Drosera/breakpointEditor.js: Added.
550 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
552 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
556 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
558 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
559 (WebCore::DumpRenderTree::DumpRenderTree):
561 2006-10-05 Oliver Hunt <ohunt@apple.com>
565 * Scripts/run-webkit-tests:
568 2006-10-04 Anders Carlsson <acarlsson@apple.com>
572 * Scripts/run-webkit-tests:
573 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
576 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
578 Reviewed and landed by ap.
580 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
581 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
583 * Scripts/webkitdirs.pm:
585 2006-10-04 Mark Rowe <bdash@webkit.org>
587 Reviewed by Stephanie.
589 Switch the Qt buildbot to the standard set of build steps.
590 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
591 see if any regressions were spotted, and fail the test if so.
593 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
594 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
595 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
597 2006-10-04 Timothy Hatcher <timothy@apple.com>
599 Reviewed by Mitz Pettel!
601 Bug 10708: [Drosera] Make the console input plaintext-only
602 http://bugs.webkit.org/show_bug.cgi?id=10708
604 Change the console input -webkit-user-modify property to
605 read-write-plaintext-only.
607 * Drosera/console.css:
609 2006-10-04 David Smith <catfish.man@gmail.com>
613 Bug 10473: [Drosera] Overlapping text in JavaScript Console
614 http://bugs.webkit.org/show_bug.cgi?id=10473
616 Using min-height instead of height to avoid overlapping text.
618 * Drosera/console.css:
620 2006-10-04 David Smith <catfish.man@gmail.com>
624 Added a bash-style command history.
626 * Drosera/console.js:
628 2006-10-03 Anders Carlsson <acarlsson@apple.com>
630 Reviewed by Adam and Brady.
632 * DumpRenderTree/DumpRenderTree.m:
634 Update URL to Ahem.ttf
636 2006-10-03 Darin Adler <darin@apple.com>
638 * Scripts/commit-log-editor: Added missing "close" call. Oops!
640 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
642 Reviewed by eseidel. Landed by eseidel.
644 Offer a way for BuildBot to not colorize the cmake output, when building
645 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
647 Default is colorize output, though only Qt platform handles this for now.
649 * Scripts/build-dumprendertree:
650 * Scripts/build-webkit:
651 * Scripts/webkitdirs.pm:
653 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
655 Reviewed by eseidel. Landed by eseidel.
657 Make all important scripts work with Qt/Linux.
659 You can safely use this now:
660 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
662 * Scripts/build-dumprendertree:
663 * Scripts/run-javascriptcore-tests:
664 * Scripts/run-webkit-tests:
665 * Scripts/webkitdirs.pm:
667 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
671 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
673 * Scripts/webkitdirs.pm:
675 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
677 Reviewed/landed by Adam.
679 Proper build-webkit support for Qt/Linux.
681 Compilation process is similar to OSX now, aka.
682 the build directory is RootCheckoutDir/WebKitBuild now.
684 * Scripts/build-webkit: Recognize Qt.
685 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
687 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
691 Add QT build slave to Buildbot.
693 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
694 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
695 * 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.
696 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
698 2006-09-28 David Harrison <harrison@apple.com>
702 Moved an extern declaration from inside a method to the top of the file.
704 * DumpRenderTree/EventSendingController.m:
705 (-[EventSendingController clearKillRing]):
707 2006-09-28 David Harrison <harrison@apple.com>
711 Add clearKillRing so we can test emacs support with empty kill ring.
713 * DumpRenderTree/EventSendingController.m:
714 (+[EventSendingController isSelectorExcludedFromWebScript:]):
715 (+[EventSendingController webScriptNameForSelector:]):
716 (-[EventSendingController clearKillRing]):
718 2006-09-27 MorganL <morganl.webkit@yahoo.com>
720 Reviewed by Maciej, landed by Brady
722 Fix URL bar updating.
724 * Spinneret/Spinneret/Spinneret.h:
725 (SpinneretWebHost::didStartProvisionalLoadForFrame):
726 (SpinneretWebHost::didCommitLoadForFrame):
727 (SpinneretWebHost::didFinishLoadForFrame):
729 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
735 * DumpRenderTree/EventSendingController.m:
736 (-[EventSendingController enableDOMUIEventLogging:]):
738 2006-09-22 Justin Garcia <justin.garcia@apple.com>
742 * Scripts/do-webcore-rename:
744 2006-09-21 Timothy Hatcher <timothy@apple.com>
748 Bug 10923: Frame scroll layout test failures on the buildbot
749 http://bugs.webkit.org/show_bug.cgi?id=10923
751 Added a new method that will toggle on the recursive dump of
752 child frame scroll positions.
754 * DumpRenderTree/DumpRenderTree.m:
755 (dumpFrameScrollPosition):
756 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
757 (-[LayoutTestController dumpChildFrameScrollPositions]):
759 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
761 Reviewed by eseidel. Landed by eseidel.
763 Detect that close button was pressed and exit cleanly.
765 * GdkLauncher/main.cpp:
769 2006-09-17 Adam Roben <aroben@apple.com>
771 Reviewed by hyatt, sfalken.
773 Get DumpRenderTree compiling and limping along on Windows.
775 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
776 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
777 (main): Add NULL argument to Page constructor.
778 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
779 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
781 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
785 http://bugs.webkit.org/show_bug.cgi?id=10635
786 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
788 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
789 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
790 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
792 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
796 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
797 Even More Objective-C DOM auto-generation cleanup
799 - Change to use new, more Objectice-C'ish version of
800 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
801 regression test for fast/events/dblclick-addEventListener.html.
803 * DumpRenderTree/EventSendingController.m:
804 (-[EventSendingController fireKeyboardEventsToElement:]):
806 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
810 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
811 Move QtLauncher down to WebKitQt.
813 * QtLauncher/CMakeLists.txt: Removed.
814 * QtLauncher/main.cpp: Removed.
816 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
820 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
821 Adjust DumpRenderTree to the FrameQtClient changes.
823 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
824 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
825 (WebCore::DumpRenderTree::DumpRenderTree):
826 (WebCore::DumpRenderTree::~DumpRenderTree):
827 (WebCore::DumpRenderTree::frame):
828 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
829 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
830 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
831 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
832 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
834 2006-09-03 Darin Adler <darin@apple.com>
836 * Scripts/do-webcore-rename: More renaming plans.
838 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
842 http://bugs.webkit.org/show_bug.cgi?id=10693
843 Convert JavaScript arrays to AppleScript lists
845 * DumpRenderTree/AppleScriptController.m:
846 (convertAEDescToObject):
847 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
849 2006-08-31 Darin Adler <darin@apple.com>
851 * Scripts/do-webcore-rename: Prepare for another round of renaming.
853 2006-08-29 Dan Waylonis <waylonis@google.com>
857 - Verification of exceptions thrown in a plugin. Test for bug 10114.
858 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
859 * DumpRenderTree/ObjCPlugin.m:
860 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
861 (+[ObjCPlugin webScriptNameForSelector:]):
862 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
864 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
868 Commit KDE related tweaks, to be able to
869 differentiate between a Qt-only or a KDE build.
871 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
872 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
874 2006-08-29 Darin Adler <darin@apple.com>
876 Reviewed by Tim Hatcher.
878 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
879 to work around what seems to be a bug in some versions of gdb.
881 2006-08-16 Tim Omernick <timo@apple.com>
883 Reviewed by John Sullivan.
885 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
886 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
889 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
891 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
892 are expected to be retained by the plug-in, and released by the caller.
894 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
896 Reviewed by Tim Hatcher.
898 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
900 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
901 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
904 * Scripts/run-webkit-tests:
905 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
907 2006-08-28 Darin Adler <darin@apple.com>
909 Reviewed by Tim Hatcher.
911 * Scripts/build-drosera: Fix behavior when there are multiple options.
913 2006-08-27 Timothy Hatcher <timothy@apple.com>
917 Drosera will be built when you type make.
919 * Drosera/Makefile: Added.
921 * Makefile.shared: Added.
923 2006-08-27 Anders Carlsson <acarlsson@apple.com>
927 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
928 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
929 (WebCore::DumpRenderTree::DumpRenderTree):
930 (WebCore::DumpRenderTree::~DumpRenderTree):
931 (WebCore::DumpRenderTree::open):
932 (WebCore::DumpRenderTree::readStdin):
933 (WebCore::DumpRenderTree::checkLoaded):
934 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
935 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
938 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
940 Reviewed by Eric, landed by Anders.
942 Add DumpRenderTree support for Qt/Linux.
944 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
945 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
946 (WebCore::DumpRenderTree::DumpRenderTree):
947 (WebCore::DumpRenderTree::~DumpRenderTree):
948 (WebCore::DumpRenderTree::open):
949 (WebCore::DumpRenderTree::readStdin):
950 (WebCore::DumpRenderTree::checkLoaded):
951 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
952 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
954 * Scripts/build-dumprendertree:
955 * Scripts/run-webkit-tests:
956 * Scripts/webkitdirs.pm:
958 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
960 Reviewed by Eric. Landed by rwlbuis.
962 Add QtLauncher (was testunity before), which provides a
963 standalone "browser" to test the Qt platform stuff.
965 * QtLauncher/CMakeLists.txt: Added.
966 * QtLauncher/main.cpp: Added.
969 2006-08-22 Trey Matteson <trey@usa.net>
973 Added support for a new set of browser navigation tests. The main feature
974 is the ability for a test to queue up a set of future actions that will
975 happen after that first page is loaded. This is used to simulate a sequence
976 of user actions such as filling out forms, loading additional pages or
977 going back. In addition we can now dump out the state of the back/forward
978 list, and the scroll position is dumped if not at 0,0.
980 * DumpRenderTree/DumpRenderTree.m:
981 (main): Init new state
982 (compareHistoryItems): New utility to support sorting.
983 (dumpHistoryItem): Write out a WebHistoryItem and kids.
984 (dumpFrameScrollPosition): Write out the scroll position.
985 (dump): Optionally write b/f list or scroll position.
986 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
987 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
988 Kick off any queued actions. Fixed for the case of loads started in
989 a subframe instead of the root frame.
990 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
991 Grab the topmost frame that is being loaded. Do this as early as possible,
992 instead of in didCommitLoadForFrame.
993 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
994 Noting a load has started now happens in previous method.
995 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
996 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
997 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
999 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
1000 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
1001 Add new work to the queue.
1002 (-[LayoutTestController _doLoad:target:]): Do a queued load.
1003 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
1004 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
1005 (-[LayoutTestController scheduleForwardNav:]):
1006 (-[LayoutTestController scheduleReload]):
1007 (-[LayoutTestController scheduleScript:]):
1008 (-[LayoutTestController scheduleLoad:target:]):
1009 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
1010 since it's not one of the functions that does any dumping.
1012 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
1016 - added a function to create a few DOMKeyboardEvents and dispatch
1017 them to a specified HTML element
1018 http://bugs.webkit.org/show_bug.cgi?id=9736
1020 * DumpRenderTree/EventSendingController.m:
1021 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1022 (+[EventSendingController webScriptNameForSelector:]):
1023 (-[EventSendingController fireKeyboardEventsToElement:]):
1025 2006-08-15 Duncan Wilcox <duncan@mclink.it>
1027 Reviewed and tweaked by Darin.
1029 - added DumpRenderTree support so editing delegate can be made to refuse edits
1030 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
1032 * DumpRenderTree/DumpRenderTree.m:
1033 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
1034 to the list of methods.
1035 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
1036 without the colon, for the JavaScript name.
1037 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
1039 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
1041 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
1042 setter methods to the class.
1043 * DumpRenderTree/EditingDelegate.m:
1044 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
1045 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
1046 return the value of acceptsEditing.
1047 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
1048 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
1049 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
1050 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
1051 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1053 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
1054 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
1055 (-[EditingDelegate setAcceptsEditing:]): Added.
1057 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
1061 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
1062 http://bugs.webkit.org/show_bug.cgi?id=10224
1064 * Drosera/Drosera.xcodeproj/project.pbxproj:
1065 * Drosera/LauncherInfo.plist:
1067 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
1069 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
1070 when a test performs an unsuccessful drag and drop operation.
1072 * DumpRenderTree/EventSendingController.m:
1073 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
1074 drag operation for the mouse release is NSDragOperationNone.
1076 2006-08-02 Timothy Hatcher <timothy@apple.com>
1080 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
1081 http://bugs.webkit.org/show_bug.cgi?id=9632
1083 Do not change the file source when normalizing the line endings.
1084 We use this file source to compare against new versions of the source
1085 as it comes in, so we can skip re-syntax highlighting if they are the same.
1086 The problem is apparent on yahoo.com since they have mixed line endings and
1087 once we normalize them the source will always be different. This was
1088 compounded by the fact that yahoo has around 40 inline scripts. Each
1089 inline script causes us to check if the main document has more loaded,
1090 that is when we compare the source strings. Since they are always different
1091 we would syntax highlight yahoo.com 40 times! We do check source length before
1092 doing a more expensive string comparison, but the lengths were the same.
1094 * Drosera/debugger.js:
1096 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
1098 Reviewed by Timothy.
1100 Bug 9931: [Drosera] Needs a cool icon
1101 http://bugs.webkit.org/show_bug.cgi?id=9931
1103 * Drosera/Drosera.icns: Added.
1104 * Drosera/Drosera.xcodeproj/project.pbxproj:
1105 * Drosera/Info.plist:
1107 2006-08-01 Darin Adler <darin@apple.com>
1109 - fix a bug in my recent change where the mouse position at the end of
1110 the last test would affect the results of the next test
1112 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
1114 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1118 http://bugs.webkit.org/show_bug.cgi?id=10182
1119 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
1121 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
1122 Correct the logic to not reload local variable list unless an '=' character is in the expression.
1124 2006-07-31 Darin Adler <darin@apple.com>
1128 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
1129 REGRESSION: failing layout test: fast/events/objc-event-api.html
1131 * DumpRenderTree/DumpRenderTree.m:
1132 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
1133 location in flipped coordinates, since those are the coordinates that we use.
1134 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
1137 * DumpRenderTree/EventSendingController.m:
1138 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
1139 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
1140 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
1141 probably worked OK, but this is needed to be correct.
1142 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
1143 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
1144 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
1145 dump the screenY as-is.
1147 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1151 http://bugs.webkit.org/show_bug.cgi?id=10178
1152 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
1154 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
1155 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
1157 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1161 http://bugs.webkit.org/show_bug.cgi?id=10175
1162 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
1164 * Drosera/DebuggerDocument.m:
1165 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
1167 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1171 http://bugs.webkit.org/show_bug.cgi?id=10167
1172 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
1174 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
1177 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
1181 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
1182 http://bugs.webkit.org/show_bug.cgi?id=9686
1184 * Drosera/DebuggerDocument.m:
1185 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
1186 ensure that the server does not try and notify us of events related to the resumption.
1187 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
1188 call through to JavaScript.
1189 * Drosera/debugger.js: Pause debugger when exception is raised.
1191 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
1195 - fixes for Linux build
1197 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
1198 * GdkLauncher/gdklauncher.bkl: Tweak comment.
1200 2006-07-24 Dan Waylonis <waylonis@google.com>
1202 Reviewed and tweaked a bit by Darin.
1204 * DumpRenderTree/ObjCPlugin.m:
1205 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
1206 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
1207 "echo:" so it's nice to call from JavaScript.
1208 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
1209 to test a round trip through Objective-C types.
1211 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
1215 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
1216 Improve iExploder results parsing
1218 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
1219 in random mode, too.
1221 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
1223 Reviewed by Timothy.
1225 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
1226 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
1228 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
1230 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
1234 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
1235 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
1237 Removed "Property changes" that snuck in as part of the "apply patch" process.
1239 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
1243 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
1244 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
1246 * Scripts/svn-apply:
1247 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
1249 (patch): Use patch(1) for non-binary additions and deletions.
1250 * Scripts/svn-unapply:
1252 (patch): Use patch(1) for reverting non-binary additions and deletions.
1253 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
1255 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1257 Reviewed by Timothy.
1259 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
1260 http://bugs.webkit.org/show_bug.cgi?id=9889
1262 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
1263 so, have stepOut pause on the next call to willExecuteStatement rather than second.
1265 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
1269 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
1270 Teach svn-create-patch and friends to fix ChangeLog patches
1272 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
1273 * Scripts/svn-create-patch: Ditto.
1274 * Scripts/svn-unapply: Ditto.
1276 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1280 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
1281 http://bugs.webkit.org/show_bug.cgi?id=9869
1283 * Drosera/DebuggerDocument.m:
1284 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
1286 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1290 Bug 9863: Drosera needs to show something at launch
1291 http://bugs.webkit.org/show_bug.cgi?id=9863
1293 * Drosera/DebuggerApplication.m:
1294 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
1296 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1298 Reviewed by Timothy.
1300 Lets Drosera build universal for the nightlies. Right now it is not
1301 possible to build a universal binary on a PPC machine because of a
1302 conflict with the universal SDK.
1304 * BuildSlaveSupport/build-launcher-app:
1305 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1307 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
1311 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
1312 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
1314 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1315 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
1316 should open a new stream and deliver the data to the current instance.
1318 2006-07-11 Timothy Hatcher <timothy@apple.com>
1322 Bug 9598: [Drosera] add a JavaScript evaluator console
1323 http://bugs.webkit.org/show_bug.cgi?id=9598
1325 * Drosera/DebuggerApplication.h:
1326 * Drosera/DebuggerApplication.m:
1327 (-[DebuggerApplication knownServers]):
1328 * Drosera/DebuggerDocument.h:
1329 * Drosera/DebuggerDocument.m:
1330 (-[WebScriptObject evaluateScript:inCallFrame:]):
1331 (-[WebScriptObject showConsole:]):
1332 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1333 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
1334 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
1335 (-[WebScriptObject webView:createWebViewWithRequest:]):
1336 (-[WebScriptObject webViewShow:]):
1337 (-[WebScriptObject webViewAreToolbarsVisible:]):
1338 (-[WebScriptObject webView:setToolbarsVisible:]):
1339 (-[WebScriptObject webView:setResizable:]):
1340 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1341 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
1342 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1343 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
1344 (-[WebScriptObject webView:didFinishLoadForFrame:]):
1345 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
1346 * Drosera/Drosera.xcodeproj/project.pbxproj:
1347 * Drosera/Images/console.png: Added.
1348 * Drosera/console.css: Added.
1349 * Drosera/console.html: Added.
1350 * Drosera/console.js: Added.
1352 2006-07-11 Timothy Hatcher <timothy@apple.com>
1354 Reviewed by a tired Geoff.
1356 Bug 9597: [Drosera] hook up the variables table to show stack variables
1357 http://bugs.webkit.org/show_bug.cgi?id=9597
1359 * Drosera/DebuggerDocument.m:
1360 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
1361 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
1362 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
1363 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
1364 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
1365 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
1366 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1367 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1368 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1369 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1370 * Drosera/debugger.css:
1371 * Drosera/debugger.html:
1372 * Drosera/debugger.js:
1374 2006-07-10 Tim Omernick <timo@apple.com>
1376 Reviewed by Beth Dakin.
1378 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
1379 Add DOM access test to DumpRenderTree's Netscape plug-in
1381 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1385 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1389 - http://bugs.webkit.org/show_bug.cgi?id=9839
1390 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
1392 Now track three states: initializing, running, and closed. If we are launched and the previous
1393 state was initializing then we likely just experienced a crash on launch.
1395 * WebKitLauncher/WebKitNightlyEnabler.m:
1396 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
1397 (myApplicationWillTerminate): Update to use new states.
1398 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
1399 initializing as early as practical.
1400 (symbol_lookup): Bring code up to speed with formatting guidelines.
1401 (GDSymbolLookup): Ditto.
1403 2006-07-10 Darin Adler <darin@apple.com>
1405 - try to fix Windows build
1407 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1408 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
1410 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1412 Build fix. Reviewed by NOBODY.
1414 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1415 devenv.com not available in VC++ Express installations
1417 * Scripts/webkitdirs.pm: Backed out previous change.
1419 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1423 - http://bugs.webkit.org/show_bug.cgi?id=9693
1424 svn-apply should set ChangeLog date correctly when applying patches
1426 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
1427 before applying the patch.
1428 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
1430 2006-07-09 Darin Adler <darin@apple.com>
1432 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
1434 2006-07-09 Darin Adler <darin@apple.com>
1436 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
1438 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1440 Reviewed by NOBODY (build fix).
1442 - http://bugs.webkit.org/show_bug.cgi?id=7802
1443 devenv.com not available in VC++ Express installations
1445 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
1446 work again. Add VC++ Express check as the fallback.
1448 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
1450 Reviewed by Timothy Hatcher.
1452 - http://bugs.webkit.org/show_bug.cgi?id=7802
1453 devenv.com not available in VC++ Express installations
1455 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1457 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
1461 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
1462 Patch by coldwinter@katamail.com.
1464 In the congratulations message, "capatibilies" should be "capabilities".
1466 * Scripts/build-webkit:
1468 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1470 Reviewed by Timothy Hatcher.
1472 - http://bugs.webkit.org/show_bug.cgi?id=9794
1473 Teach run-webkit-tests how to ignore tests with performance improvements
1475 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
1476 feature, and minor clean up.
1478 2006-07-08 Darin Adler <darin@apple.com>
1480 Reviewed by Geoff (well, half of it at least).
1482 - http://bugs.webkit.org/show_bug.cgi?id=9788
1483 storage leaks in Objective-C tests
1485 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
1486 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
1487 Add a release to fix a storage leak.
1489 2006-07-08 Darin Adler <darin@apple.com>
1491 * Scripts/do-webcore-rename: A few more.
1493 2006-07-08 Darin Adler <darin@apple.com>
1495 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
1497 2006-07-04 Maciej Stachowiak <mjs@apple.com>
1501 http://bugs.webkit.org/show_bug.cgi?id=9734
1502 - add support for dumping non-HTML as text - in this case use textContent
1503 instead of innerText
1505 * DumpRenderTree/DumpRenderTree.m:
1508 2006-07-02 Timothy Hatcher <timothy@apple.com>
1512 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
1513 http://bugs.webkit.org/show_bug.cgi?id=9631
1515 Adds step over and step out. Along with a little code cleanup
1516 that was minor enough to piggyback on this fix.
1518 * Drosera/DebuggerDocument.h:
1519 * Drosera/DebuggerDocument.m:
1520 (-[DebuggerDocument stepOver:]):
1521 (-[DebuggerDocument stepOut:]):
1522 (-[DebuggerDocument windowDidLoad]):
1523 (-[DebuggerDocument windowWillClose:]):
1524 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1525 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1526 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1527 (-[DebuggerDocument validateUserInterfaceItem:]):
1528 * Drosera/Drosera.xcodeproj/project.pbxproj:
1529 * Drosera/debugger.html:
1530 * Drosera/debugger.js:
1531 * Drosera/viewer.css:
1533 2006-07-02 Timothy Hatcher <timothy@apple.com>
1537 Bug 9628: [Drosera] Split Views acting oddly
1538 http://bugs.webkit.org/show_bug.cgi?id=9628
1540 Only update the last X or Y coordinate if the new
1541 size was not constrained. Also adds the resize cursor to
1542 the body during the drag incase there is a constrained
1543 over drag off of the resizer element.
1545 * Drosera/debugger.js:
1547 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1549 Reviewed by Alexy Proskuryakov.
1551 Bug 9692: Warning about Safari extensions on every launch is obnoxious
1552 http://bugs.webkit.org/show_bug.cgi?id=9692
1554 * WebKitLauncher/WebKitNightlyEnabler.m:
1555 (myApplicationWillTerminate): Note that we are exiting cleanly.
1556 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
1557 to exit cleanly on our last invocation. This doesn't play nicely with
1558 multiple concurrent instances of WebKit.app so it can be disabled via
1559 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
1561 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1563 Reviewed by Alexy Proskuryakov.
1565 Bug 9654: Refresh Loop when accessing feed URLs
1566 http://bugs.webkit.org/show_bug.cgi?id=9654
1568 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
1570 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1572 Reviewed by Timothy Hatcher.
1574 Bug 9689: Nightly builds should warn a user about potential problems when using
1576 http://bugs.webkit.org/show_bug.cgi?id=9689
1578 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1579 * WebKitLauncher/WebKitNightlyEnabler.m:
1580 (myBundleDidLoad): Keep track of if any bundles that are loaded.
1581 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
1582 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1583 NSApplicationWillFinishLaunchingNotification notifications so that we can
1584 track bundle loads and notify the user at launch completion.
1586 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1590 - first check-in of a Gdk shell for testing WebKit
1592 * GdkLauncher: Added.
1594 2006-06-29 Timothy Hatcher <timothy@apple.com>
1598 Need to call window close so WebView tears-down completly.
1600 * DumpRenderTree/DumpRenderTree.m:
1601 (main): call [window close]
1603 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1607 Bug 9615: Buildbot configuration should be in SVN repository
1608 http://bugs.webkit.org/show_bug.cgi?id=9615
1610 Import BuildBot configuration files as used by build.webkit.org.
1611 auth.py has been stubbed out so that slave passwords are not disclosed.
1613 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1614 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1615 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1616 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1617 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1618 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1619 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1620 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1621 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1622 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1623 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1624 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
1626 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1630 Bug 9614: Nightly builds should notify user if a newer build is available
1631 http://bugs.webkit.org/show_bug.cgi?id=9614
1633 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1634 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1635 script so it can keep track of the latest revision.
1636 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1637 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1638 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1639 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1640 the nightly start page.
1642 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1646 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1647 http://bugs.webkit.org/show_bug.cgi?id=9579
1649 Report screenY values as (height of zero screen - screenY)
1651 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1653 2006-06-25 Timothy Hatcher <timothy@apple.com>
1657 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1658 http://bugs.webkit.org/show_bug.cgi?id=9591
1660 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1662 * Drosera/debugger.js:
1663 * Drosera/viewer.css:
1665 2006-06-25 Timothy Hatcher <timothy@apple.com>
1669 Bug 9568: assertion failure in Safari after quitting Drosera
1670 http://bugs.webkit.org/show_bug.cgi?id=9568
1672 Call switchToServerNamed:nil and not removeLister to make sure
1673 the server object is set to nil to prevent further removeListener calls.
1675 * Drosera/DebuggerDocument.m:
1676 (-[DebuggerDocument applicationTerminating:]):
1678 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1682 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1683 that the directory is not empty instead of reading in every single file and directory first,
1684 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1687 2006-06-25 Darin Adler <darin@apple.com>
1689 * Scripts/svn-apply: Tweak comments.
1690 * Scripts/svn-create-patch: Ditto.
1691 * Scripts/svn-unapply: Ditto.
1693 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1695 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1697 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1699 * Scripts/svn-apply: Formatting fix.
1701 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1705 http://bugs.webkit.org/show_bug.cgi?id=9571
1706 Teach svn-apply and svn-unapply to handle directory adds and removes better
1708 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1709 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1711 2006-06-25 Timothy Hatcher <timothy@apple.com>
1715 Bug 9574: Drosera should show inline scripts within the original HTML
1716 http://bugs.webkit.org/show_bug.cgi?id=9574
1718 Refactor the JavaScript code to have a distinction between files
1719 and scripts. Show the script in the context of the HTML file if
1720 it's URL is the same as the frame's main resource. At the time of
1721 the disParseScript callback the main resource might not be completely
1722 loaded, but Drosera needs to show whatever we have at the time. Once
1723 the main resource is finished, update the file source and reload the file.
1725 * Drosera/DebuggerDocument.m:
1726 (-[DebuggerDocument pause]):
1727 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1728 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1729 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1730 * Drosera/debugger.css:
1731 * Drosera/debugger.js:
1733 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1737 http://bugs.webkit.org/show_bug.cgi?id=9570
1738 Teach prepare-ChangeLog to operate on a list of files or directories
1740 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1741 * Scripts/svn-create-patch: Code refactoring.
1743 2006-06-24 James G. Speth <speth@end.com>
1747 - http://bugs.webkit.org/show_bug.cgi?id=8843
1748 add a way to build Objective-C test cases in HTML
1750 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1751 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1752 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1755 * DumpRenderTree/ObjCPlugin.h:
1756 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1757 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1758 (+[ObjCPlugin webScriptNameForSelector:]):
1759 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1760 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1761 (+[NSObject allowsScriptsFullAccess]):
1762 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1763 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1764 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1765 (+[JSObjC webScriptNameForSelector:]):
1766 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1767 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1768 (-[JSObjC log:]): access to NSLog function
1769 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1770 (-[JSObjC classOfObject:]):
1771 (-[JSObjC classNameOfObject:]):
1773 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1775 Reviewed by Timothy.
1777 * DrawTest/Info.plist: Added copyright statement.
1778 * Drosera/Info.plist: Ditto.
1779 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1780 * WebKitLauncher/Info.plist: Ditto.
1782 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1784 Build fix. Reviewed by NOBODY.
1786 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1787 devenv.com not available in VC++ Express installations
1789 * Scripts/webkitdirs.pm: Backed out previous change.
1791 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1795 - http://bugs.webkit.org/show_bug.cgi?id=7802
1796 devenv.com not available in VC++ Express installations
1798 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1800 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1804 - http://bugs.webkit.org/show_bug.cgi?id=9564
1805 A bunch of fixes to run-webkit-httpd
1807 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1808 127.0.0.1. Useful for testing with WinIE running on another machine;
1809 - don't call checkFrameworks() - we do not need a built WebKit here;
1810 - changed tabs to spaces;
1811 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1812 interactive mode, they were a hassle when testing with several browsers, as one
1813 had to wait for connection to expire);
1814 - remove httpd.pid when done, so that Apache doesn't complain next time.
1816 * Scripts/run-webkit-httpd:
1818 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1820 Reviewed by ggaren, landed by ap.
1822 - http://bugs.webkit.org/show_bug.cgi?id=9181
1823 Complete DOMUIEvent Obj-C API to reflect UIEvent
1825 Add function to enable logging of all events of one DOM node to stdout.
1827 * DumpRenderTree/EventSendingController.h:
1828 * DumpRenderTree/EventSendingController.m:
1829 (+[EventSendingController initialize]):
1830 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1831 (+[EventSendingController webScriptNameForSelector:]):
1832 (-[EventSendingController enableDOMUIEventLogging:]):
1833 (-[EventSendingController handleEvent:]):
1835 2006-06-23 Kevin Decker <kdecker@apple.com>
1837 Reviewed by Tim Hatcher.
1839 - Made column headers in Drosera resizable.
1841 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1845 - see http://bugs.webkit.org/show_bug.cgi?id=9539
1846 Another case error preventing build
1848 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1850 2006-06-22 Timothy Hatcher <timothy@apple.com>
1854 Adds a native toolbar to Drosera to be a good citizen.
1855 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1856 Fixes a dragging bug from an earlier fix to the divider code.
1857 Fixes some poor indenting in debugger.js.
1859 * Drosera/DebuggerDocument.h:
1860 * Drosera/DebuggerDocument.m:
1861 (-[DebuggerDocument stepInto]):
1862 (-[DebuggerDocument pause:]):
1863 (-[DebuggerDocument resume:]):
1864 (-[DebuggerDocument stepInto:]):
1865 (-[DebuggerDocument windowDidLoad]):
1866 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1867 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1868 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1869 (-[DebuggerDocument validateUserInterfaceItem:]):
1870 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1871 * Drosera/English.lproj/MainMenu.nib/info.nib:
1872 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1873 * Drosera/debugger.css:
1874 * Drosera/debugger.html:
1875 * Drosera/debugger.js:
1876 * Drosera/viewer.html:
1878 2006-06-22 Kevin Decker <kdecker@apple.com>
1882 - Added pressed column header image.
1883 - Made column headers behave more like Xcode.
1885 2006-06-22 Timothy Hatcher <timothy@apple.com>
1887 Reviewed by Kevin Decker.
1889 Code clean up. Adds the stackframe and makes only the body
1890 of the tables scrollable keeping the header visible.
1891 Shows the current function stack when paused or stepping.
1893 * Drosera/DebuggerApplication.m:
1894 (-[DebuggerApplication awakeFromNib]):
1895 (-[DebuggerApplication numberOfRowsInTableView:]):
1896 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1897 * Drosera/DebuggerDocument.h:
1898 * Drosera/DebuggerDocument.m:
1899 (-[DebuggerDocument dealloc]):
1900 (-[DebuggerDocument currentFrame]):
1901 (-[DebuggerDocument currentFrameFunctionName]):
1902 (-[DebuggerDocument currentFunctionStack]):
1903 (-[DebuggerDocument log:]):
1904 (-[DebuggerDocument windowWillClose:]):
1905 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1906 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1907 * Drosera/Drosera.xcodeproj/project.pbxproj:
1908 * Drosera/debugger.css:
1909 * Drosera/debugger.html:
1910 * Drosera/debugger.js:
1912 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1916 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1918 * Scripts/run-webkit-httpd:
1920 2006-06-22 Kevin Decker <kdecker@apple.com>
1922 Reviewed by Tim Hatcher.
1924 - More progress toward Javascript Debugger.
1925 - Added some new images to the project.
1927 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1931 - http://bugs.webkit.org/show_bug.cgi?id=9516
1932 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1934 * Scripts/run-webkit-httpd: Added.
1936 2006-06-20 Timothy Hatcher <timothy@apple.com>
1940 Builds Drosera and a launcher to include with the nightly.
1942 * BuildSlaveSupport/build-launcher-app:
1943 * BuildSlaveSupport/build-launcher-dmg:
1944 * Drosera/Drosera.xcodeproj/project.pbxproj:
1945 * Drosera/Info.plist:
1946 * Drosera/LauncherInfo.plist: Added.
1947 * Drosera/launcher.m: Added.
1948 (displayErrorAndQuit):
1949 (checkMacOSXVersion):
1952 * Scripts/build-drosera
1953 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1954 * WebKitLauncher/main.m:
1957 2006-06-20 Timothy Hatcher <timothy@apple.com>
1961 Adds a JavaScript debugger, called Drosera. Named after
1962 a genus of bug eating plants.
1964 * Drosera/DebuggerApplication.h: Added.
1965 * Drosera/DebuggerApplication.m: Added.
1966 (-[DebuggerApplication applicationDidFinishLaunching:]):
1967 (-[DebuggerApplication serverLoaded:]):
1968 (-[DebuggerApplication serverUnloaded:]):
1969 (-[DebuggerApplication awakeFromNib]):
1970 (-[DebuggerApplication showAttachPanel:]):
1971 (-[DebuggerApplication attach:]):
1972 (-[DebuggerApplication numberOfRowsInTableView:]):
1973 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1974 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1975 (-[DebuggerApplication tableViewSelectionDidChange:]):
1976 * Drosera/DebuggerDocument.h: Added.
1977 * Drosera/DebuggerDocument.m: Added.
1978 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1979 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1980 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1981 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1982 (-[DebuggerDocument initWithServerName:]):
1983 (-[DebuggerDocument windowWillClose:]):
1984 (-[DebuggerDocument dealloc]):
1985 (-[DebuggerDocument isPaused]):
1986 (-[DebuggerDocument pause]):
1987 (-[DebuggerDocument resume]):
1988 (-[DebuggerDocument step]):
1989 (-[DebuggerDocument windowNibName]):
1990 (-[DebuggerDocument windowDidLoad]):
1991 (-[DebuggerDocument switchToServerNamed:]):
1992 (-[DebuggerDocument applicationTerminating:]):
1993 (-[DebuggerDocument serverConnectionDidDie:]):
1994 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1995 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1996 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1997 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1998 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1999 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2000 * Drosera/Drosera.pch: Added.
2001 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
2002 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
2003 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
2004 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
2005 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
2006 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
2007 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2008 * Drosera/Images/breakPoint.tif: Added.
2009 * Drosera/Images/breakPointDisabled.tif: Added.
2010 * Drosera/Images/continue.tif: Added.
2011 * Drosera/Images/finishFunction.tif: Added.
2012 * Drosera/Images/glossyFooterFill.tif: Added.
2013 * Drosera/Images/glossyHeader.png: Added.
2014 * Drosera/Images/gradientBackground.png: Added.
2015 * Drosera/Images/gutter.png: Added.
2016 * Drosera/Images/navLeftDisabled.png: Added.
2017 * Drosera/Images/navLeftNormal.png: Added.
2018 * Drosera/Images/navLeftPressed.png: Added.
2019 * Drosera/Images/navRightDisabled.png: Added.
2020 * Drosera/Images/navRightNormal.png: Added.
2021 * Drosera/Images/navRightPressed.png: Added.
2022 * Drosera/Images/pause.tif: Added.
2023 * Drosera/Images/popUpArrows.png: Added.
2024 * Drosera/Images/programCounter.tif: Added.
2025 * Drosera/Images/programCounterBreakPoint.tif: Added.
2026 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
2027 * Drosera/Images/run.tif: Added.
2028 * Drosera/Images/splitterBar.tif: Added.
2029 * Drosera/Images/splitterDimple.tif: Added.
2030 * Drosera/Images/step.tif: Added.
2031 * Drosera/Images/stepOver.tif: Added.
2032 * Drosera/Images/stop.tif: Added.
2033 * Drosera/Images/toolbarBackground.png: Added.
2034 * Drosera/Info.plist: Added.
2035 * Drosera/debugger.css: Added.
2036 * Drosera/debugger.html: Added.
2037 * Drosera/debugger.js: Added.
2038 * Drosera/main.m: Added.
2040 * Drosera/viewer.css: Added.
2041 * Drosera/viewer.html: Added.
2043 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
2047 http://bugs.webkit.org/show_bug.cgi?id=9485
2048 Teach svn-apply and svn-unapply to use full path names
2050 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
2051 * Scripts/svn-unapply: Ditto.
2053 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
2057 - http://bugs.webkit.org/show_bug.cgi?id=9150
2058 DumpRenderTree should be able to keep URL history during runs
2060 Test: LayoutTests/fast/history/clicked-link-is-visited.html
2062 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
2063 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
2064 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
2065 it is currently nil since keepWebHistory() might be called more than once incidentally
2067 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
2068 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
2070 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
2074 http://bugs.webkit.org/show_bug.cgi?id=9395
2075 Make prepare-ChangeLog faster
2077 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
2078 then save the diff output for reuse. Keep a status variable if changes are made to
2079 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
2080 WebCore is updated. Added -h|--help command-line switch and help message. Move test
2081 for no changed files closer to the beginning of the program.
2083 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
2085 Reviewed and landed by ap.
2087 - make DumpRenderTree build
2089 * DumpRenderTree/DumpRenderTree.m:
2090 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
2091 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
2092 (-[LayoutTestController setWindowIsKey:]): Ditto.
2093 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
2095 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
2097 Reviewed by Darin, landed by Geoff.
2099 http://bugs.webkit.org/show_bug.cgi?id=9350
2100 Use pathcmp() when sorting paths in svn-create-patch
2102 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
2103 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
2104 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
2105 switch and printUsage() subroutine.
2107 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
2111 http://bugs.webkit.org/show_bug.cgi?id=9322
2112 Teach svn-create-patch to sort its output
2114 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
2115 by text files first, then by binary files.
2117 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
2121 http://bugs.webkit.org/show_bug.cgi?id=9299
2122 Teach svn-create-patch and friends to work with binary files
2124 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
2125 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
2126 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
2128 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
2132 http://bugs.webkit.org/show_bug.cgi?id=9296
2133 Performance improvement for svn-create-patch
2135 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
2137 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
2141 http://bugs.webkit.org/show_bug.cgi?id=9290
2142 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
2144 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
2145 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
2147 2006-06-03 Steve Falkenburg <sfalken@apple.com>
2151 Switch Spinneret to new hosting mechanism
2153 * Spinneret/Spinneret.sln:
2154 * Spinneret/Spinneret/Spinneret.cpp:
2155 (SpinneretWebHost::updateAddressBar):
2156 (SpinneretWebHost::QueryInterface):
2157 (SpinneretWebHost::AddRef):
2158 (SpinneretWebHost::Release):
2165 * Spinneret/Spinneret/Spinneret.h:
2166 (SpinneretWebHost::didStartProvisionalLoadForFrame):
2167 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2168 (SpinneretWebHost::didFailProvisionalLoadWithError):
2169 (SpinneretWebHost::didCommitLoadForFrame):
2170 (SpinneretWebHost::didReceiveTitle):
2171 (SpinneretWebHost::didReceiveIcon):
2172 (SpinneretWebHost::didFinishLoadForFrame):
2173 (SpinneretWebHost::didFailLoadWithError):
2174 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
2175 (SpinneretWebHost::willPerformClientRedirectToURL):
2176 (SpinneretWebHost::didCancelClientRedirectForFrame):
2177 (SpinneretWebHost::willCloseFrame):
2178 (SpinneretWebHost::windowScriptObjectAvailable):
2179 * Spinneret/Spinneret/Spinneret.vcproj:
2181 2006-06-02 Steve Falkenburg <sfalken@apple.com>
2185 Updated build script
2187 * Scripts/build-webkit:
2189 2006-06-01 Anders Carlsson <acarlsson@apple.com>
2193 * DumpRenderTree/DumpRenderTree.m:
2194 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2195 (-[LayoutTestController clearBackForwardList]):
2196 Add clearBackForwardList function to layoutTestController
2198 2006-06-01 Anders Carlsson <acarlsson@apple.com>
2202 http://bugs.webkit.org/show_bug.cgi?id=8996
2203 slow-utf8-text layout test case failing (no longer deterministic?)
2205 * DumpRenderTree/DumpRenderTree.m:
2207 Dump as text when the response MIME type is text/plain
2209 2006-05-26 Steve Falkenburg <sfalken@apple.com>
2213 * Spinneret/Spinneret.sln:
2214 * Spinneret/Spinneret/Spinneret.vcproj:
2216 2006-05-24 Geoffrey Garen <ggaren@apple.com>
2220 Added 'GCController' to DRT to support garbage collection layout tests.
2222 GCController.collect() and GCController.collectOnAlternateThread() do
2223 what you would expect. The latter takes a boolean argument sepcifying
2224 whether to wait for garbage collection to finish before continuing to
2227 * DumpRenderTree/DumpRenderTree.m:
2228 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2229 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2230 * DumpRenderTree/GCController.h: Added.
2231 * DumpRenderTree/GCController.mm: Added.
2232 (+[GCController isSelectorExcludedFromWebScript:]):
2233 (+[GCController webScriptNameForSelector:]):
2234 (-[GCController collect]):
2235 (-[GCController collectOnAlternateThread:]):
2237 2006-05-23 John Sullivan <sullivan@apple.com>
2241 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2242 Newer Xcode removed some obsolete cruft
2244 * DumpRenderTree/TextInputController.m:
2245 (-[TextInputController textInput]):
2246 added (id) cast to make newer compiler happy
2248 2006-05-22 Steve Falkenburg <sfalken@apple.com>
2254 * Spinneret/Spinneret.sln:
2256 2006-05-18 Darin Adler <darin@apple.com>
2258 - try to fix no-SVG, no-XPATH build, again
2260 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
2262 2006-05-18 Darin Adler <darin@apple.com>
2264 - try to fix no-SVG, no-XPATH build
2266 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
2267 since the former is what's used in the WebCore project now.
2269 2006-05-17 Darin Adler <darin@apple.com>
2271 * Scripts/do-webcore-rename: Some more future renames.
2273 2006-05-16 Adele Peterson <adele@apple.com>
2277 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
2278 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
2280 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
2282 * Scripts/install-unix-extras: Changed to be executable and removed
2283 text in the file generated by "svn diff".
2284 * Scripts/regenerate-makefiles: Ditto.
2286 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
2288 Reviewed by Darin, landed by ap.
2290 - http://bugs.webkit.org/show_bug.cgi?id=8528
2291 Bakefiles (and generated Makefiles) for wx and gdk ports
2293 * Scripts/install-unix-extras: Added.
2294 * Scripts/regenerate-makefiles: Added.
2296 2006-05-10 Steve Falkenburg <sfalken@apple.com>
2300 Fix registry usage from perl script. Turns out libwin32's
2301 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
2303 * Scripts/install-win-extras:
2305 2006-05-09 Steve Falkenburg <sfalken@apple.com>
2308 Add load ended callback.
2312 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
2313 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
2314 * Spinneret/Spinneret/Spinneret.cpp:
2315 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
2316 (_tWinMain): Load built-in test content here instead of in lower-level code.
2317 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
2319 2006-05-08 Maciej Stachowiak <mjs@apple.com>
2323 * Scripts/extract-localizable-strings: Update for correct names of log macros.
2325 2006-05-09 Anders Carlsson <acarlsson@apple.com>
2329 * Scripts/check-dom-results:
2330 Add XPath to the list of results.
2332 2006-05-08 Darin Adler <darin@apple.com>
2334 * Scripts/do-webcore-rename: Add another rename.
2336 2006-05-01 Steve Falkenburg <sfalken@apple.com>
2340 Spinneret now links against the new separate lib.
2342 * Spinneret/Spinneret.sln:
2343 * Spinneret/Spinneret/Spinneret.cpp:
2344 (SpinneretWebHost::updateLocationBar):
2346 * Spinneret/Spinneret/Spinneret.h:
2347 * Spinneret/Spinneret/Spinneret.vcproj:
2348 * Spinneret/Spinneret/WebFrame.cpp: Removed.
2349 * Spinneret/Spinneret/WebFrame.h: Removed.
2350 * Spinneret/Spinneret/WebView.cpp: Removed.
2351 * Spinneret/Spinneret/WebView.h: Removed.
2353 2006-04-28 Steve Falkenburg <sfalken@apple.com>
2357 Modify error reporting registry keys to disable Dr. Watson.
2358 This allows Javascript test cases to complete without blocking UI.
2360 * Scripts/install-win-extras:
2361 - Use Perl Win32 registry functions to disable blocking UI
2364 2006-04-28 Steve Falkenburg <sfalken@apple.com>
2368 Turned off C++ exceptions, fixed memory leaks
2370 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2371 * Spinneret/Spinneret.sln:
2372 * Spinneret/Spinneret/Spinneret.cpp:
2374 * Spinneret/Spinneret/Spinneret.vcproj:
2375 * Spinneret/Spinneret/WebFrame.cpp:
2376 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2377 (WebKit::WebFrame::WebFrame):
2378 (WebKit::WebFrame::~WebFrame):
2379 (WebKit::WebFrame::impl):
2380 * Spinneret/Spinneret/WebFrame.h:
2381 * Spinneret/Spinneret/WebView.cpp:
2382 * Spinneret/Spinneret/stdafx.h:
2384 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
2388 - http://bugs.webkit.org/show_bug.cgi?id=8633
2389 DumpRenderTree should reset the URL cache
2391 * DumpRenderTree/DumpRenderTree.m:
2392 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
2394 2006-04-28 Eric Seidel <eseidel@apple.com>
2396 Reviewed by andersca.
2398 * Scripts/do-webcore-rename: rename KCanvasContainer too
2399 * Scripts/run-webkit-tests: output total time
2401 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
2403 Reviewed by hyatt. Landed by eseidel.
2405 - http://bugs.webkit.org/show_bug.cgi?id=8549
2406 Enable detection of excessive repainting with DumpRenderTree
2408 * DumpRenderTree/DumpRenderTree.m:
2409 (-[LayoutTestController display]):
2411 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
2415 - http://bugs.webkit.org/show_bug.cgi?id=6905
2416 DumpRenderTree needs a way to force painting (to allow invalidation tests)
2418 * DumpRenderTree/DumpRenderTree.m:
2419 (dump): If display() has been called during the test, grab the pixels from
2420 the view, after letting it repaint invalidated rects.
2421 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2422 (-[LayoutTestController display]): Added. Calls -display on the view
2423 and changes the subsequent behavior of dump().
2426 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2430 - http://bugs.webkit.org/show_bug.cgi?id=8532
2431 Update iExploder to 1.3.2
2433 Test case numbers are not compatible with iExploder 1.2.
2435 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
2437 * iExploder/CHANGELOG.txt: Added.
2438 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
2439 * iExploder/README.txt: Added some performance hints.
2441 * iExploder/htdocs/config.rb: Added.
2442 * iExploder/htdocs/cssproperties.in:
2443 * iExploder/htdocs/cssvalues.in:
2444 * iExploder/htdocs/htmlattrs.in:
2445 * iExploder/htdocs/htmltags.in:
2446 * iExploder/htdocs/iexploder.cgi:
2447 - Updated to support the latest HTML & CSS tags, properties, and values from both
2448 the WebKit and Mozilla CVS tree
2449 - cssproperties.in cleanup
2450 - Modularized the code a little bit.
2451 - Fix subtest bug that was causing last 5 tags to be missed
2452 - new subtest algorithm to deal better with larger tag counts
2453 - default HTML_MAX_TAGS increased from 32 to 96
2455 * iExploder/htdocs/index.html: Updated version to 1.3.2.
2456 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
2457 alternative to our run-iexploder-tests.
2458 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
2459 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
2460 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
2462 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2464 - commit Scripts/run-mangleme-tests (missed it the previous time).
2466 2006-04-18 Darin Adler <darin@apple.com>
2468 - attempt to fix Windows buildbot
2470 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
2471 We need a better long-term solution for this.
2473 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2477 - http://bugs.webkit.org/show_bug.cgi?id=8444
2478 Integrate mangleme test script.
2480 Works in a similar way to run-iexploder-tests.
2482 * Scripts/run-mangleme-tests: Added.
2484 * mangleme/Makefile: Added.
2485 * mangleme/README: Added.
2486 * mangleme/mangle.cgi.c: Added.
2487 * mangleme/remangle.cgi.c: Added.
2488 * mangleme/tags.h: Added.
2490 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2494 - http://bugs.webkit.org/show_bug.cgi?id=8443
2495 An easier way to save iExploder tests.
2497 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
2499 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2503 - http://bugs.webkit.org/show_bug.cgi?id=8421
2504 Integrate iExploder test script.
2506 This script generates artificially mangled HTML documents, to test that the browser
2507 doesn't crash when handling ill-formed code.
2510 run-iexploder-tests Open an interactive test page in Safari+ToT.
2511 run-iexploder-tests nnnnn Open test #nnnnn.
2513 Command line options:
2514 --guard-malloc (-g) Use Guard Malloc.
2515 --port=nnnn Run Apache on port nnnn (default is 8000).
2517 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
2518 (thus, Apache is still running), e.g.:
2519 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
2521 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
2523 * Scripts/run-iexploder-tests: Added.
2525 * iExploder/LICENSE.txt: Added.
2526 * iExploder/README.txt: Added.
2527 * iExploder/htdocs: Added.
2528 * iExploder/htdocs/cssproperties.in: Added.
2529 * iExploder/htdocs/cssvalues.in: Added.
2530 * iExploder/htdocs/htmlattrs.in: Added.
2531 * iExploder/htdocs/htmltags.in: Added.
2532 * iExploder/htdocs/htmlvalues.in: Added.
2533 * iExploder/htdocs/iexploder.cgi: Added.
2534 * iExploder/htdocs/index.html: Added.
2535 * iExploder/tools: Added.
2536 * iExploder/tools/lasthit.rb: Added.
2537 * iExploder/tools/osx_last_crash.rb: Added.
2539 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
2543 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
2544 Restore color profile after a crash
2546 * DumpRenderTree/DumpRenderTree.m:
2547 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
2548 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
2549 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
2550 and this code may change significantly.
2552 (main): Install crashHandler.
2554 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
2555 (CFStringGetCStringPtr should NEVER EVER be used!).
2557 2006-04-15 Darin Adler <darin@apple.com>
2561 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
2562 Seems xmlsoft.org's HTTP no longer has what we need.
2564 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
2566 Rubber-stamped by Darin.
2568 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
2569 upload-disk-image stage on buildslaves fail with "No space left on device"
2571 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
2572 'hdiutil create'. This creates the initial disk image based on the size of
2573 the source folder, and copies the contents to the new disk image. The file
2574 extension on the temporary uncompressed disk image has also been altered from
2575 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
2576 the extension is not ".dmg".
2578 2006-04-12 Eric Seidel <eseidel@apple.com>
2582 * Scripts/update-webkit: Make this return non-zero when svn fails.
2584 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2588 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2589 Make HTTP tests using Perl use .pl extension
2591 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2592 removed support for .text. Reduced the number of places that explicitly list supported
2593 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2596 2006-04-06 Darin Adler <darin@apple.com>
2598 Changes requested by Mark Rowe.
2600 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2601 trash at the end of the file.
2602 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2604 * WebKitLauncher/main.m: Removed trash at end of file.
2606 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2609 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2611 Reviewed by Darin, landed by Maciej.
2613 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2614 and bundles the WebKit frameworks inside it.
2615 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2616 containing WebKit.app.
2617 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2618 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2619 number of the SVN working copy.
2620 * WebKitLauncher: Added.
2621 * WebKitLauncher/Info.plist: Added.
2622 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2623 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2624 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2625 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
2626 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2627 the nightly launcher.
2628 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2629 It sets up the environment to have Safari use the bundled frameworks
2630 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2631 * WebKitLauncher/start.html: Added.
2632 * WebKitLauncher/webkit.icns: Added.
2634 2006-04-05 Darin Adler <darin@apple.com>
2638 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2639 are allowed to have global initializers.
2641 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2643 Reviewed by OMG BETH
2645 * Scripts/run-testkjs:
2646 - pipe STDERR to /dev/null by default; new --verbose option overrides
2648 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2649 - output run command in a format that can be copied and pasted into the
2650 terminal to run manually
2652 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2654 Reviewed by harrison
2656 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2657 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2659 Tell the source that the drag is over after the drag is performed, not before.
2661 * DumpRenderTree/EventSendingController.m:
2662 (-[EventSendingController mouseUp]):
2664 2006-04-01 Darin Adler <darin@apple.com>
2668 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2669 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2670 elements in that array are not strings.
2672 2006-03-31 Darin Adler <darin@apple.com>
2674 Reviewed by John Sullivan.
2676 - added a "--reset-results" option to run-webkit-tests so you can reset
2677 the results without first deleting expected results
2678 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2680 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2681 more logical. Moved all the subroutines to the end of the file. Added a
2684 * DumpRenderTree/DumpRenderTree.m:
2685 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2686 to generate new output for all tests it runs.
2687 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2688 the --dump-all-pixels option is passed. Also tightened up the image dumping
2689 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2690 with code to save and restore the context.
2692 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2693 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2695 2006-03-30 Tim Omernick <timo@apple.com>
2697 Reviewed by NOBODY (just fixing copyrights)
2699 * DumpRenderTree/ObjCPlugin.h:
2701 * DumpRenderTree/ObjCPlugin.m: ditto
2702 * DumpRenderTree/ObjCPluginFunction.h: ditto
2703 * DumpRenderTree/ObjCPluginFunction.m: ditto
2705 2006-03-30 Tim Omernick <timo@apple.com>
2709 * DumpRenderTree/DumpRenderTree.m:
2710 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2711 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2712 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2713 exposed to JS as a callable object.
2715 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2716 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2718 * DumpRenderTree/ObjCPlugin.h: Added.
2719 * DumpRenderTree/ObjCPlugin.m: Added.
2720 * DumpRenderTree/ObjCPluginFunction.h: Added.
2721 * DumpRenderTree/ObjCPluginFunction.m: Added.
2723 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2724 Added a new method, "removeDefaultMethod", which removes the default method from the
2725 plugin object's class. The effect is that the plugin object is mutated from a callable
2726 function to a simple object.
2728 Handle "removeDefaultMethod".
2729 (pluginInvokeDefault):
2730 Made the default method actually do something (return 1).
2732 2006-03-30 Eric Seidel <eseidel@apple.com>
2736 Remove WebFrame::viewImpl(), setMainFrame on page.
2738 * Spinneret/Spinneret/WebFrame.cpp:
2739 (WebKit::WebFrame::WebFrame):
2740 * Spinneret/Spinneret/WebFrame.h:
2741 * Spinneret/Spinneret/WebView.cpp:
2742 (WebKit::WebView::mouseMoved):
2743 (WebKit::WebView::mouseDown):
2744 (WebKit::WebView::mouseUp):
2745 (WebKit::WebView::mouseDoubleClick):
2746 (WebKit::WebViewWndProc):
2748 2006-03-30 Eric Seidel <eseidel@apple.com>
2752 Fix html editing input & basic form submission.
2754 * Spinneret/Spinneret/WebFrame.cpp:
2755 (WebKit::WebFrame::submitForm):
2756 (WebKit::WebFrame::loadURL):
2757 * Spinneret/Spinneret/WebFrame.h:
2758 * Spinneret/Spinneret/WebView.cpp:
2759 (WebKit::WebView::keyPress):
2760 (WebKit::WebViewWndProc):
2762 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2766 <rdar://problem/4402375>
2767 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2769 Added an option to draw the selectionRect.
2771 * DumpRenderTree/DumpRenderTree.m:
2773 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2774 (-[LayoutTestController dumpSelectionRect]):
2777 2006-03-29 Darin Adler <darin@apple.com>
2779 Reviewed by Tim Hatcher.
2781 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2783 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2785 2006-03-28 Eric Seidel <eseidel@apple.com>
2789 * Scripts/check-for-global-initializers: remove svg exceptions.
2791 2006-03-28 Timothy Hatcher <timothy@apple.com>
2795 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2797 * Scripts/check-for-global-initializers:
2799 2006-03-28 Timothy Hatcher <timothy@apple.com>
2801 Build fix. Turn off uninitialized warnings for the first block of code.
2803 * Scripts/check-for-global-initializers:
2805 2006-03-28 Darin Adler <darin@apple.com>
2809 * Scripts/check-for-global-initializers: Added.
2811 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2813 Reviewed by darin. Landed by eseidel.
2815 - http://bugs.webkit.org/show_bug.cgi?id=7947
2816 Add repaint testing support to run-webkit-tests
2818 * DumpRenderTree/DumpRenderTree.m:
2819 (main): Added --repaint and --horizontal-sweep options.
2820 (dump): Repaint line-by-line or column-by-column when the appropriate option
2822 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2823 and repaintSweepHorizontally() methods to layoutTestController.
2824 (-[LayoutTestController testRepaint]):
2825 (-[LayoutTestController repaintSweepHorizontally]):
2827 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2828 to force these settings on tests that do not ask for them.
2830 2006-03-24 Eric Seidel <eseidel@apple.com>
2836 * Spinneret/Spinneret/WebFrame.cpp:
2837 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2839 2006-03-21 Beth Dakin <bdakin@apple.com>
2843 Add support for keyDown() to DumpRenderTree.
2845 * DumpRenderTree/DumpRenderTree.m:
2846 (main): Set the preference for tabbing to links.
2847 * DumpRenderTree/EventSendingController.m:
2848 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2849 (+[EventSendingController webScriptNameForSelector:]):
2850 (-[EventSendingController keyDown:withModifiers:]):
2852 2006-03-20 Eric Seidel <eseidel@apple.com>
2858 * Spinneret/Spinneret/Spinneret.vcproj:
2859 * Spinneret/Spinneret/WebFrame.h:
2860 * Spinneret/Spinneret/WebView.cpp:
2861 (WebKit::WebView::mouseMoved):
2862 (WebKit::WebView::mouseDown):
2863 (WebKit::WebView::mouseUp):
2864 (WebKit::WebView::mouseDoubleClick):
2865 (WebKit::WebView::keyPress):
2866 (WebKit::WebViewWndProc):
2868 2006-03-19 Darin Adler <darin@apple.com>
2872 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2873 we can test it in layout tests. We don't really need tests that run with
2874 pop-up blocking off at the moment. If we do some day, we can add some
2875 API for turning it off in the layout test controller.
2877 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2878 don't ignore the leak; it should no longer show up.
2880 2006-03-17 Anders Carlsson <andersca@mac.com>
2884 * Scripts/install-win-extras:
2885 Fetch "Program Files" location from the environment.
2887 2006-03-17 Eric Seidel <eseidel@apple.com>
2891 Fix Spinneret to pass Events as const & not as pointers.
2893 * Spinneret/Spinneret/WebView.cpp:
2894 (WebKit::WebView::mouseMoved):
2895 (WebKit::WebView::mouseDown):
2896 (WebKit::WebView::mouseUp):
2897 (WebKit::WebView::mouseDoubleClick):
2898 (WebKit::WebView::keyPress):
2900 2006-03-17 Eric Seidel <eseidel@apple.com>
2902 Reviewed by justing.
2904 Add support for basic HTML editing.
2906 * Spinneret/Spinneret/WebView.cpp:
2907 (WebKit::WebView::WebView):
2908 (WebKit::WebView::keyPress):
2910 2006-03-17 Eric Seidel <eseidel@apple.com>
2912 Rubber-stamped by ggaren.
2914 Break DumpRenderTree.m up into several files to make the code more readable.
2916 * DumpRenderTree/DumpRenderTree.h: Added.
2917 * DumpRenderTree/DumpRenderTree.m:
2918 (doneLoading): new accessor function for "done" global.
2919 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2920 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2921 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2922 * DumpRenderTree/EditingDelegate.h: Added.
2923 * DumpRenderTree/EditingDelegate.m: Added.
2924 (-[EditingDelegate webViewDidChangeSelection:]):
2925 * DumpRenderTree/EventSendingController.h: Added.
2926 * DumpRenderTree/EventSendingController.m: Added.
2928 2006-03-16 Eric Seidel <eseidel@apple.com>
2932 Add resize, scroll event support.
2934 * Spinneret/Spinneret/WebView.cpp:
2935 (WebKit::WebView::mouseMoved):
2936 (WebKit::WebView::mouseDown):
2937 (WebKit::WebView::mouseUp):
2938 (WebKit::WebView::mouseDoubleClick):
2939 (WebKit::WebView::keyPress):
2940 (WebKit::WebViewWndProc):
2941 * Spinneret/Spinneret/WebView.h:
2943 2006-03-16 Eric Seidel <eseidel@apple.com>
2947 Make build-webkit print correctly to stdout on windows.
2949 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2951 2006-03-15 Eric Seidel <eseidel@apple.com>
2955 Fix eventSender.mouseClick() to update lastClick timestamp.
2957 * DumpRenderTree/DumpRenderTree.m:
2958 (-[EventSendingController mouseClick]):
2960 2006-03-15 Darin Adler <darin@apple.com>
2964 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2965 that had a lowercase "i" in it so this builds on case-sensitive
2968 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2972 Added run-testkjs and compare-timing-files scripts, to support super
2975 * Scripts/compare-timing-files: Added.
2976 * Scripts/run-testkjs: Added.
2978 2006-03-14 Eric Seidel <eseidel@apple.com>
2982 Make the URL bar relinquish focus on page load.
2984 * Spinneret/Spinneret/Spinneret.cpp:
2987 2006-03-14 Eric Seidel <eseidel@apple.com>
2991 Fix WebView to allow KeyFocus.
2992 Add handling of space and shift-space for scrolling.
2994 * Spinneret/Spinneret/WebView.cpp:
2995 (WebKit::scrollMessageForKey):
2996 (WebKit::WebViewWndProc):
2998 2006-03-10 Eric Seidel <eseidel@apple.com>
3002 Add scrolling support into Spinneret.
3004 * Spinneret/Spinneret/WebFrame.cpp:
3005 (WebKit::WebFrame::paint):
3006 * Spinneret/Spinneret/WebView.cpp:
3007 (WebKit::WebView::createWebView):
3008 (WebKit::calculateScrollDelta):
3009 (WebKit::scrollMessageForKey):
3010 (WebKit::WebViewWndProc):
3012 2006-03-13 Eric Seidel <eseidel@apple.com>
3016 Fix checksum generation on Intel machines.
3017 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
3018 give a small speed boost now that it uses a shared buffer.
3020 * DumpRenderTree/DumpRenderTree.m:
3023 (md5HashStringForBitmap):
3024 * DumpRenderTree/ImageDiff.m:
3025 (computePercentageDifferent):
3027 2006-03-13 Darin Adler <darin@apple.com>
3029 Reviewed by Tim Hatcher.
3031 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
3032 have it named httpd-1.3 instead.
3034 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
3036 Fix proposed by Mitz Pettel, reviewed by Darin.
3038 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
3039 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
3041 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
3042 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
3045 2006-03-09 Darin Adler <darin@apple.com>
3047 Reviewed by John Sullivan.
3049 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
3050 memory leak in the plug-in tests
3052 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3053 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
3054 (NPP_SetWindow): Remove unneeded code to store the window pointer.
3056 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3057 Moved the browser global in here since it's declared in this file's header.
3058 Changed the code to set up the pluginClass structure to not use function
3059 pointer casts. Those are dangerous because they can hide many types of mismatch.
3060 And indeed when I did this I discovered that many functions were missing their
3061 boolean return values or had parameter declarations with the wrong types.
3062 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
3063 clarity. Added boolean return value: return true when successful and false when not.
3064 (pluginSetProperty): Added boolean return value, return false since we have no
3065 properties we can set.
3066 (pluginInvoke): Added boolean return value. Return true when successful and false
3067 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
3068 return value from calling the browser. Changed code to put the strings in malloc
3069 buffers instead of relying on GCC's extension that allows variable-sized arrays
3071 (pluginInvokeDefault): Added boolean return value, return false since we have no
3072 default function to call.
3073 (pluginInvalidate): Added missing parameter. Removed comment.
3074 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
3075 to cast the result of malloc.
3076 (pluginDeallocate): Removed uneeded cast.
3078 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
3079 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
3080 that match NPObject's fields. Removed unused NPWindow pointer.
3082 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
3084 Test: fast/events/event-sender-mouse-click.html
3088 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
3089 DRT hangs when doing eventSender.mouseDown on native widgets
3091 * DumpRenderTree/DumpRenderTree.m:
3092 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3093 (-[EventSendingController mouseClick]): Simulates a click in a native
3094 widget by queueing a mouseUp before sending the mouseDown, so that
3095 the widget's mouse tracking event loop doesn't hang indefinitely.
3097 2006-03-09 Maciej Stachowiak <mjs@apple.com>
3101 - make link clicks work by handling link click requests
3104 * Spinneret/Spinneret/Spinneret.cpp:
3105 (updateLocationBar):
3106 * Spinneret/Spinneret/Spinneret.h:
3107 * Spinneret/Spinneret/WebFrame.cpp:
3108 (WebKit::WebFrame::WebFrame):
3109 (WebKit::WebFrame::openURL):
3110 (WebKit::WebFrame::loadURL):
3111 * Spinneret/Spinneret/WebFrame.h:
3113 2006-03-08 Eric Seidel <eseidel@apple.com>
3117 Focus URL bar on Spinneret launch, remove border from WebView.
3118 Stop WebFrame from deleting the job (prevent crash).
3120 * Spinneret/Spinneret/Spinneret.cpp:
3122 * Spinneret/Spinneret/WebFrame.cpp:
3123 (WebKit::WebFrame::receivedAllData):
3124 (WebKit::WebFrame::paint):
3125 * Spinneret/Spinneret/WebView.cpp:
3126 (WebKit::WebView::createWebView):
3128 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
3132 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3133 (pluginInvoke): Added a method to test getURL.
3135 2006-03-08 Maciej Stachowiak <mjs@apple.com>
3139 - load URLs, not file paths, in Spinneret
3141 * Spinneret/Spinneret/Spinneret.cpp:
3143 * Spinneret/Spinneret/Spinneret.vcproj:
3144 * Spinneret/Spinneret/WebFrame.cpp:
3145 (WebKit::WebFrame::loadURL):
3146 (WebKit::WebFrame::receivedData):
3147 (WebKit::WebFrame::receivedAllData):
3148 * Spinneret/Spinneret/WebFrame.h:
3149 * Spinneret/Spinneret/WebView.cpp:
3150 (WebKit::WebView::WebView):
3152 2006-03-08 Darin Adler <darin@apple.com>
3156 - fixed AppleScript layout test results to not be endian-dependent
3157 (Hyatt complained to me about this one)
3159 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
3160 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
3161 (which are endian-dependent).
3163 2006-03-07 Darin Adler <darin@apple.com>
3167 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
3168 unwanted output while running layout tests
3170 * DumpRenderTree/DumpRenderTree.m:
3171 (checkedMalloc): Added.
3172 (checkedRealloc): Added.
3173 (makeLargeMallocFailSilently): Added.
3174 (main): Call makeLargeMallocFailSilently.
3176 2006-03-06 Darin Adler <darin@apple.com>
3178 * Scripts/do-webcore-rename: Add some more planned renaming.
3180 2006-03-06 Eric Seidel <eseidel@apple.com>
3184 * Spinneret/Spinneret/WebFrame.cpp:
3185 (WebKit::WebFrame::paint): force layout before painting
3187 2006-03-06 Justin Garcia <justin.garcia@apple.com>
3191 Sent the windowNumber when sending events.
3192 Added leapForward so that we don't have to spend time waiting
3193 in layout tests that do mouse operations that require delays.
3195 * DumpRenderTree/DumpRenderTree.m:
3196 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3197 (+[EventSendingController webScriptNameForSelector:]):
3198 (-[EventSendingController currentEventTime]):
3199 (-[EventSendingController leapForward:]):
3200 (-[EventSendingController mouseDown]):
3201 (-[EventSendingController mouseUp]):
3202 (-[EventSendingController mouseMoveToX:Y:]):
3204 2006-03-05 Darin Adler <darin@apple.com>
3206 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
3207 Script now works (after landing my two pending patches).
3209 2006-03-05 Darin Adler <darin@apple.com>
3211 - check in a script to do a "big" rename in WebCore
3212 (can be run whenever we're ready to do it)
3214 * Scripts/do-webcore-rename: Added.
3216 2006-03-05 Maciej Stachowiak <mjs@apple.com>
3220 * Spinneret/Spinneret/WebFrame.cpp:
3221 (WebKit::WebFrame::loadFilePath): Close file when done.
3223 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
3225 Reviewed by Darin, landed by ap.
3227 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
3228 Mouse moved events do not work in DumpRenderTree
3230 Test: fast/events/event-sender-mouse-moved.html
3232 * DumpRenderTree/DumpRenderTree.m:
3233 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
3235 2006-03-04 Eric Seidel <eseidel@apple.com>
3239 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
3240 Disable background erase to avoid tearing.
3241 Fix potential memory smasher from extra long urls.
3243 * Spinneret/Spinneret/Spinneret.cpp:
3245 * Spinneret/Spinneret/Spinneret.vcproj:
3246 * Spinneret/Spinneret/WebFrame.cpp:
3247 (WebKit::WebFrame::loadFilePath):
3248 (WebKit::WebFrame::paint):
3249 * Spinneret/Spinneret/WebView.cpp:
3250 (WebKit::registerWebViewWithInstance):
3252 2006-03-04 Eric Seidel <eseidel@apple.com>
3256 Hang WebView pointer off of HWND (gets rid of global hack).
3257 Remove MessageBox displayed on url change.
3259 * Spinneret/Spinneret/Spinneret.cpp:
3262 * Spinneret/Spinneret/WebView.cpp:
3263 (WebKit::registerWebViewWithInstance):
3264 (WebKit::WebView::createWebView):
3265 (WebKit::WebViewWndProc):
3267 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
3271 Automatically kill httpd if it appears to be already running.
3273 * Scripts/run-webkit-tests:
3275 2006-03-04 Maciej Stachowiak <mjs@apple.com>
3279 * Spinneret/Spinneret/WebFrame.cpp:
3280 (WebKit::WebFrame::loadFilePath): Improved local file loading.
3282 2006-03-03 Eric Seidel <eseidel@apple.com>
3286 A few more fixes to make run-webkit-tests really work on win32.
3288 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3290 * Scripts/run-webkit-tests:
3292 2006-03-03 Eric Seidel <eseidel@apple.com>
3296 Make run-webkit-tests work on win32.
3298 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3300 (dumpRenderTreeMain):
3301 (dumpRenderTreeToStdOut):
3302 (serializeToStdOut):
3304 * Scripts/run-webkit-tests:
3305 * Scripts/webkitdirs.pm:
3306 * Spinneret/Spinneret/WebView.cpp:
3307 (WebKit::WebView::WebView):
3309 2006-03-03 Eric Seidel <eseidel@apple.com>
3313 Add WebFrame class (to hold Frame and FrameView).
3314 Add Location bar support to Spinneret.
3316 * Spinneret/Spinneret/Spinneret.cpp:
3321 * Spinneret/Spinneret/Spinneret.vcproj:
3322 * Spinneret/Spinneret/WebFrame.cpp: Added.
3323 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
3324 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
3325 (WebKit::WebFrame::WebFrame):
3326 (WebKit::WebFrame::loadFilePath):
3327 (WebKit::WebFrame::loadHTMLString):
3328 (WebKit::WebFrame::paint):
3329 (WebKit::WebFrame::impl):
3330 (WebKit::WebFrame::viewImpl):
3331 * Spinneret/Spinneret/WebFrame.h: Added.
3332 * Spinneret/Spinneret/WebView.cpp:
3333 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
3334 (WebKit::WebView::WebView):
3335 (WebKit::WebView::windowHandle):
3336 (WebKit::WebView::mainFrame):
3337 (WebKit::WebView::mouseMoved):
3338 (WebKit::WebView::mouseDown):
3339 (WebKit::WebView::mouseUp):
3340 (WebKit::WebView::mouseDoubleClick):
3341 (WebKit::WebViewWndProc):
3342 * Spinneret/Spinneret/WebView.h:
3344 2006-03-02 Eric Seidel <eseidel@apple.com>
3348 * Spinneret/Spinneret/WebView.cpp:
3349 (WebKit::registerWebViewWithInstance):
3350 (WebKit::WebView::WebView):
3351 (WebKit::WebView::mouseMoved):
3352 (WebKit::WebView::mouseDown):
3353 (WebKit::WebView::mouseUp):
3354 (WebKit::WebView::mouseDoubleClick):
3355 (WebKit::WebViewWndProc):
3356 * Spinneret/Spinneret/WebView.h:
3358 2006-03-01 Eric Seidel <eseidel@apple.com>
3360 Reviewed by andersca.
3362 Make spinneret take advantage of the new GraphicsContextCairo.
3364 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3365 (main): updated to match style guidelines.
3366 * Spinneret/Spinneret/Spinneret.cpp:
3368 * Spinneret/Spinneret/WebView.cpp:
3369 (WebKit::registerWebViewWithInstance):
3370 (WebKit::WebView::WebView):
3371 (WebKit::WebView::~WebView):
3372 (WebKit::WebView::drawRect):
3374 * Spinneret/Spinneret/WebView.h:
3376 2006-03-01 Justin Garcia <justin.garcia@apple.com>
3380 Give the events that eventSender sends a unique eventNumber
3382 * DumpRenderTree/DumpRenderTree.m:
3383 (-[EventSendingController mouseDown]):
3384 (-[EventSendingController mouseUp]):
3385 (-[EventSendingController mouseMoveToX:Y:]):
3387 2006-03-01 Eric Seidel <eseidel@apple.com>
3391 Add a stub win32 application to test WebCore drawing on windows.
3394 * Spinneret/Spinneret: Added.
3395 * Spinneret/Spinneret.sln: Added.
3396 * Spinneret/Spinneret/Resource.h: Added.
3397 * Spinneret/Spinneret/Spinneret.cpp: Added.
3403 * Spinneret/Spinneret/Spinneret.h: Added.
3404 * Spinneret/Spinneret/Spinneret.ico: Added.
3405 * Spinneret/Spinneret/Spinneret.rc: Added.
3406 * Spinneret/Spinneret/Spinneret.vcproj: Added.
3407 * Spinneret/Spinneret/WebView.cpp: Added.
3408 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
3409 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
3410 (WebKit::registerWebViewWithInstance):
3411 (WebKit::WebView::createWebView):
3412 (WebKit::WebView::WebView):
3413 (WebKit::WebView::~WebView):
3414 (WebKit::WebView::drawRect):
3415 (WebKit::WebView::windowHandle):
3417 * Spinneret/Spinneret/WebView.h: Added.
3418 * Spinneret/Spinneret/small.ico: Added.
3419 * Spinneret/Spinneret/stdafx.cpp: Added.
3420 * Spinneret/Spinneret/stdafx.h: Added.
3422 2006-02-28 Eric Seidel <eseidel@apple.com>
3426 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3427 (main): add ability to dump render tree and read from a local file.
3429 2006-02-27 Eric Seidel <eseidel@apple.com>
3433 * Scripts/install-win-extras: fix dll permissions & download zlib too.
3435 2006-02-27 Eric Seidel <eseidel@apple.com>
3439 Test new KConfig -> PlugInInfoStore change.
3440 http://bugs.webkit.org/show_bug.cgi?id=7498
3442 * DumpRenderTree/DumpRenderTree.m:
3443 (main): load test netscape plugin
3444 * Scripts/run-webkit-tests: style update
3446 2006-02-24 Eric Seidel <eseidel@apple.com>
3450 Make DumpRenderTree link against icu.
3452 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
3454 2006-02-24 Eric Seidel <eseidel@apple.com>
3458 Make DumpRenderTree link against libxml, etc.
3460 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
3462 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
3464 Reviewed and landed by Anders.
3466 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
3467 getting called from the run loop, making the view render each test and thus slowing
3470 * DumpRenderTree/DumpRenderTree.m:
3471 (main): Set the offscreen window to not autodisplay.
3473 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
3477 - Turn http tests back on by default.
3478 - Wait for Apache to actually start serving requests.
3479 - Get user id from a built-in variable rather than an external command;
3480 don't pass the group.
3482 * Scripts/run-webkit-tests:
3484 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
3486 Suggested by Mitz Pettel, reviewed by Darin.
3488 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
3489 can run CGIs even if the permissions are 700 or 600.
3491 2006-02-23 Darin Adler <darin@apple.com>
3493 Collaborating with Alexey.
3495 - turn off http tests by default until we figure out how to get them
3496 to run even when permissions on CGI files are 700 instead of 755
3498 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
3500 2006-02-23 Eric Seidel <eseidel@apple.com>
3502 Add *.user to ignore list.
3504 2006-02-23 Eric Seidel <eseidel@apple.com>
3506 Remove binary file which shouldn't have been commited (and add to ignore list).
3508 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
3509 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
3511 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3515 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
3517 2006-02-22 Eric Seidel <eseidel@apple.com>
3519 Reviewed by Tim Hatcher.
3521 Fix install-win-extras to not try to re-install setx if installed.
3523 * Scripts/install-win-extras:
3525 2006-02-22 Eric Seidel <eseidel@apple.com>
3527 One more file possibly missing from previous commit?
3529 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
3530 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3532 2006-02-22 Eric Seidel <eseidel@apple.com>
3534 Reviewed by justing.
3536 Files missing from previous commit.
3538 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3539 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
3541 2006-02-22 Eric Seidel <eseidel@apple.com>
3543 Rubber-stamped by justing.
3545 Corrected path for DumpRenderTree.intermediate files
3547 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
3549 2006-02-22 Eric Seidel <eseidel@apple.com>
3551 Reviewed by justing.
3553 Fixed build-dumprendertree to exit with correct error codes.
3555 * Scripts/build-dumprendertree:
3557 2006-02-22 Eric Seidel <eseidel@apple.com>
3559 Reviewed by justing.
3561 Update build scripts to generalize building on Win32, and allow
3562 building of DumpRenderTree on Win32 from build-dumprendertree.
3564 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3566 * Scripts/build-dumprendertree:
3567 * Scripts/build-webkit:
3568 * Scripts/webkitdirs.pm:
3570 2006-02-22 Eric Seidel <eseidel@apple.com>
3574 * DumpRenderTree/DumpRenderTree.vcproj: Added.
3575 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
3576 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
3577 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
3578 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
3579 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
3581 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
3582 * Scripts/build-webkit: make build-webkit cleanup after itself
3584 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3588 - http://bugs.webkit.org/show_bug.cgi?id=7409
3589 Some minor fixes to http tests.
3591 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
3593 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
3597 - http://bugs.webkit.org/show_bug.cgi?id=6197
3598 Would like to use locally installed Apache for testing.
3600 Added two run-webkit-tests options:
3601 --http (--nohttp) - whether to launch Apache (defaults to yes);
3602 --port - which port to listen on (defaults to 8000).
3604 Tests in LayoutTests/http are not run directly, and Apache is used instead.
3605 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
3606 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
3608 Also added support for .shtml and .text files. Text files give an empty
3609 *-expected.txt, but a correct image.
3611 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
3613 * Scripts/run-webkit-tests:
3615 2006-02-21 Darin Adler <darin@apple.com>
3617 Suggested by Mark Rowe.
3619 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
3620 reporting leak counts.
3622 2006-02-18 Maciej Stachowiak <mjs@apple.com>
3626 - Added install-win-extras script which installs some extra
3627 programs and libraries, and does Windows first-time setup.
3629 * Scripts/build-webkit: Add a newline between build results.
3630 * Scripts/install-win-extras: Added.
3632 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3636 - http://bugs.webkit.org/show_bug.cgi?id=7308
3637 DumpRenderTree should be able to load files via HTTP
3639 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
3640 Handle tests starting with "http://" as real URLs, not file system paths.
3642 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3646 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
3647 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
3649 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
3651 2006-02-18 Darin Adler <darin@apple.com>
3653 * Scripts/commit-log-editor: Added.
3655 2006-02-17 Eric Seidel <eseidel@apple.com>
3659 Make Win32 have the same default "WebKitBuild" directory behavior.
3661 * Scripts/build-webkit:
3662 * Scripts/webkitdirs.pm:
3664 2006-02-17 Eric Seidel <eseidel@apple.com>
3668 * Scripts/build-webkit: make win32 actually report errors
3670 2006-02-17 Eric Seidel <eseidel@apple.com>
3674 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
3676 2006-02-17 Eric Seidel <eseidel@apple.com>
3680 * Scripts/run-webkit-tests: Ignore flash leaks
3682 2006-02-15 Justin Garcia <justin.garcia@apple.com>
3686 <http://bugs.webkit.org/show_bug.cgi?id=7148>
3687 Add drag and drop support to DumpRenderTree
3689 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
3690 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
3692 * DumpRenderTree/DumpRenderTree.m:
3694 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3695 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3696 (-[WaitUntilDoneDelegate webViewFocus:]):
3697 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3698 (+[LayoutTestController webScriptNameForSelector:]):
3699 (-[LayoutTestController setWindowIsKey:]):
3700 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3701 (-[EventSendingController init]):
3702 (-[EventSendingController mouseDown]):
3703 (-[EventSendingController mouseUp]):
3704 (-[EventSendingController mouseMoveToX:Y:]):
3706 (-[DumpRenderTreeWindow isKeyWindow]):
3707 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
3708 (-[DumpRenderTreeDraggingInfo dealloc]):
3709 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3710 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
3711 (-[DumpRenderTreeDraggingInfo draggingLocation]):
3712 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
3713 (-[DumpRenderTreeDraggingInfo draggedImage]):
3714 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
3715 (-[DumpRenderTreeDraggingInfo draggingSource]):
3716 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
3717 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
3718 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
3719 * DumpRenderTree/TextInputController.m:
3720 (-[TextInputController firstRectForCharactersFrom:length:]):
3721 (-[TextInputController characterIndexForPointX:Y:]):
3723 2006-02-15 Geoffrey Garen <ggaren@apple.com>
3727 * DumpRenderTree/DumpRenderTree.m:
3728 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3729 Added a dummy method for the sake of LayoutTests/plugins/
3730 undefined-property-crash.html. (It tests a crash due to fallback
3731 object use. WebCore won't create a fallback object if the method is
3734 2006-02-14 Eric Seidel <eseidel@apple.com>
3738 * Scripts/run-webkit-tests: added --results-directory (-o) option
3740 2006-02-09 Eric Seidel <eseidel@apple.com>
3742 Rubber-stamped by mjs.
3744 Renamed split-class to split-file-by-class.
3746 * Scripts/build-webkit: Updated copyright.
3747 * Scripts/split-class: Removed.
3748 * Scripts/split-file-by-class: Added.
3750 2006-02-08 Eric Seidel <eseidel@apple.com>
3752 Rubber-stamped by mjs.
3754 Adding new script for splitting multi-class files.
3755 Also adding supporting perl module with space removing heuristics.
3757 * Scripts/SpacingHeuristics.pm: Added.
3758 * Scripts/build-drawtest: updated copyright header
3759 * Scripts/split-class: Added.
3761 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3763 Reviewed by thatcher
3765 Changes to test fix for:
3766 <http://bugs.webkit.org/show_bug.cgi?id=3982>
3767 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3769 * DumpRenderTree/DumpRenderTree.m:
3770 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3771 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3772 (+[LayoutTestController webScriptNameForSelector:]):
3773 (-[LayoutTestController setWindowHasFocus:]):
3774 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3776 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3778 Reviewed by Timothy.
3780 Support automated testing of AppleScript "do JavaScript" command
3781 http://bugs.webkit.org/show_bug.cgi?id=7012
3783 * DumpRenderTree/AppleScriptController.h: Added.
3784 * DumpRenderTree/AppleScriptController.m: Added.
3785 * DumpRenderTree/DumpRenderTree.m:
3786 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3787 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3789 2006-02-06 Eric Seidel <eseidel@apple.com>
3793 Fix build-webkit for use on win32 (unblocks buildbot usage).
3794 http://bugs.webkit.org/show_bug.cgi?id=7122
3796 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3797 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3799 2006-02-06 Eric Seidel <eseidel@apple.com>
3801 Rubber-stamped by darin & mjs.
3803 Added new support directory for build slave scripts.
3804 Committing the first script, for use by the PLT's build slave.
3805 This script is used to kick of the PLT (Page Load Test) slave.
3807 * BuildSlaveSupport: Added.
3808 * BuildSlaveSupport/run-performance-tests: Added.
3810 2006-02-06 Eric Seidel <eseidel@apple.com>
3812 Rubber-stamped by darin.
3814 Adding setSourceDir for scripts stored in non-standard locations.
3816 * Scripts/webkitdirs.pm:
3818 2006-02-04 Darin Adler <darin@apple.com>
3820 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3821 Configuration files that say Development or Deployment in them.
3823 2006-02-04 Darin Adler <darin@apple.com>
3825 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3826 wrapper already in the directory.
3827 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3828 these haven't been working at all.
3829 * Scripts/svn-unapply: Ditto.
3831 2006-02-03 Timothy Hatcher <timothy@apple.com>
3835 Renamed configuration names to Debug, Release and Production.
3837 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3838 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3839 * Scripts/set-webkit-configuration:
3840 * Scripts/webkitdirs.pm:
3842 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3844 Reviewed by thatcher
3846 Enabled spell checking for layout tests.
3848 * DumpRenderTree/DumpRenderTree.m:
3851 2006-01-29 Darin Adler <darin@apple.com>
3853 * Scripts/svn-apply: Added comments about things we should do to improve.
3854 * Scripts/svn-create-patch: Ditto.
3855 * Scripts/svn-unapply: Ditto.
3857 2006-01-28 Darin Adler <darin@apple.com>
3859 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3860 already there, even if the checksum is correct.
3862 2006-01-27 Eric Seidel <eseidel@apple.com>
3866 * Scripts/run-webkit-tests: make new tests use absolute urls
3868 2006-01-27 Eric Seidel <eseidel@apple.com>
3872 make run-webkit-tests output total leaks count
3874 * Scripts/run-webkit-tests:
3876 2006-01-27 Eric Seidel <eseidel@apple.com>
3880 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3881 http://bugs.webkit.org/show_bug.cgi?id=6869
3883 * Scripts/run-webkit-tests: fix --leaks to not crash
3885 2006-01-26 Eric Seidel <eseidel@apple.com>
3889 run-webkit-tests should produce a self-contained results directory
3890 http://bugs.webkit.org/show_bug.cgi?id=6864
3892 * Scripts/run-webkit-tests: copy failing items to results dir.
3894 2006-01-23 Darin Adler <darin@apple.com>
3896 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
3897 need script to update localizable strings file in WebKit
3899 * Scripts/update-webkit-localizable-strings: Added.
3901 2006-01-23 Darin Adler <darin@apple.com>
3903 - added a couple of scripts -- more about these two soon
3905 * Scripts/extract-localizable-strings: Added.
3906 * Scripts/merge-changelog: Added.
3908 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3912 Build fix. build-webkit dies with "invalid build action: (empty string)"
3914 * Scripts/build-webkit:
3915 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3917 2006-01-22 Eric Seidel <eseidel@apple.com>
3921 Fix --no-svg option to use XCode flags instead of gcc flags.
3923 * Scripts/build-webkit:
3925 2006-01-22 Eric Seidel <eseidel@apple.com>
3929 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3931 * Scripts/build-webkit:
3933 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3935 Reviewed by eseidel.
3937 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
3938 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3940 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3941 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3943 2006-01-19 Darin Adler <darin@apple.com>
3945 * Scripts/report-include-statistics: Added a new script.
3947 2006-01-19 Timothy Hatcher <timothy@apple.com>
3949 * Scripts/build-webkit: include JavaScriptGlue in the build
3951 2006-01-19 Darin Adler <darin@apple.com>
3953 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3954 spaces in it by using the form of open that treats each argument as a string
3955 rather than backtick syntax for reading the output of the nm tool.
3957 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3961 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3962 detect if there are any new tests
3964 * Scripts/prepare-ChangeLog:
3966 2006-01-12 Darin Adler <darin@apple.com>
3968 - removed some of the cvs-specific scripts -- not needed for this project any more
3970 * Scripts/cvs-abandon: Removed.
3971 * Scripts/cvs-apply: Removed.
3972 * Scripts/cvs-create-patch: Removed.
3973 * Scripts/cvs-unapply: Removed.
3975 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3977 Reviewed by eseidel. Committed by eseidel.
3979 - run-webkit-tests always launches Safari when tests fail
3980 http://bugs.webkit.org/show_bug.cgi?id=6456
3982 * Scripts/run-webkit-tests:
3983 Add a command-line flag to prevent Safari being launched to display failed
3984 tests. Always exit with non-zero status when tests have failed.
3986 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3988 Reviewed by eseidel. Committed by eseidel.
3990 - build-webkit should exit with non-zero status when build fails
3991 http://bugs.webkit.org/show_bug.cgi?id=6459
3993 * Scripts/build-webkit:
3994 Use correct bits of subprocess exit code when passing back through
3995 as build-webkit's exit code.
3997 2006-01-10 Eric Seidel <eseidel@apple.com>
3999 Restored corrupted nibs from TOT CVS.
4001 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
4002 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
4003 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
4004 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
4005 * DrawTest/English.lproj/Inspector.nib: Replaced.
4006 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
4007 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
4008 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
4009 * DrawTest/English.lproj/MainMenu.nib: Replaced.
4010 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
4011 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
4012 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
4013 * DrawTest/English.lproj/TestViewer.nib: Replaced.
4014 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
4015 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
4016 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
4018 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
4020 Reviewed by eseidel. Committed by eseidel.
4022 DrawTestView now subclasses WebView instead of DrawView.
4024 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
4025 * DrawTest/DrawTestDocument.h:
4026 * DrawTest/DrawTestDocument.m:
4027 (-[DrawTestDocument dealloc]):
4028 (-[DrawTestDocument readFromFile:ofType:]):
4029 (-[DrawTestDocument windowControllerDidLoadNib:]):
4030 (-[DrawTestDocument dumpSVGToConsole:]):
4031 (-[DrawTestDocument openSourceForSelection:]):
4032 (-[DrawTestDocument dataRepresentationOfType:]):
4033 * DrawTest/DrawTestToolbarController.h:
4034 * DrawTest/DrawTestToolbarController.m:
4035 (-[DrawTestToolbarController initWithDrawView:]):
4036 (-[DrawTestToolbarController clickedToolbarItem:]):
4037 (-[DrawTestToolbarController validateToolbarItem:]):
4038 * DrawTest/DrawTestView.h:
4039 * DrawTest/DrawTestView.m:
4040 (-[DrawTestView initWithFrame:]):
4041 (-[DrawTestView setDocument:]):
4042 * DrawTest/SVGTest.h:
4043 * DrawTest/SVGTest.m:
4044 (+[SVGTest sharedDrawView]):
4045 (-[SVGTest generateCompositeIfNecessary]):
4046 * DrawTest/TestController.h:
4047 * DrawTest/TestController.m:
4048 (-[TestController awakeFromNib]):
4049 (-[TestController setSelectedTest:]):
4050 (-[TestController openTestViewerForSelection:]):
4051 (-[TestController toggleViewersScaleRule:]):
4052 * DrawTest/TestViewerSplitView.m:
4053 (-[TestViewerSplitView drawRect:]):
4055 2006-01-10 Anders Carlsson <andersca@mac.com>
4057 Reviewed by Timothy.
4059 * DumpRenderTree/DumpRenderTree.m:
4060 (main): Set the default language to "en", so language tests will work.
4062 2006-01-08 Maciej Stachowiak <mjs@apple.com>
4066 - script to generate HTML wrappers for JS tests
4067 http://bugs.webkit.org/show_bug.cgi?id=6441
4069 * Scripts/make-js-test-wrappers: Added.
4071 2006-01-08 Maciej Stachowiak <mjs@apple.com>
4075 * Scripts/svn-create-patch: Fix to work when passed directory names.
4077 2006-01-08 Geoffrey Garen <ggaren@apple.com>
4081 - Added back/forward navigation support to DumpRenderTree. Hopefully we
4082 can start writing automated loader tests now. I have one in the works.
4084 * DumpRenderTree/DumpRenderTree.m:
4085 (main): Construct global navigationController on entry, destroy on exit.
4086 Set frame to nil on exit too, to match all the other global objects.
4087 (Probably academic, since the process is exiting, anyway.)
4088 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
4089 navigationController, in case it wants to kick off a load.
4090 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
4091 the navigationController to scripting.
4093 New class, should be straightforward:
4095 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4096 * DumpRenderTree/NavigationController.h: Added.
4097 * DumpRenderTree/NavigationController.m: Added.
4099 (+[NavigationController isSelectorExcludedFromWebScript:]):
4100 (+[NavigationController webScriptNameForSelector:]):
4101 (-[NavigationController setPendingScript:]):
4102 (-[NavigationController setPendingRequest:]):
4103 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
4104 (-[NavigationController webView:didFinishLoadForFrame:]):
4105 (-[NavigationController dealloc]):
4107 2006-01-08 Timothy Hatcher <timothy@apple.com>
4109 Removed this script, no longer needs with the Subversion switch.
4111 * checkout: Removed.
4113 2006-01-08 Timothy Hatcher <timothy@apple.com>
4115 Removes some stray tabs.
4117 * Scripts/update-webkit:
4119 2005-01-07 Eric Seidel <eseidel@apple.com>
4123 build-webkit should pass on build arguments from command line
4124 http://bugs.webkit.org/show_bug.cgi?id=5854
4126 * Scripts/build-webkit:
4128 2006-01-07 Eric Seidel <eseidel@apple.com>
4130 Reviewed by mjs & xenon.
4132 * Scripts/update-webkit: support Internal updates as well
4134 2006-01-06 Geoffrey Garen <ggaren@apple.com>
4136 Temporarily rolling out plugin support from DumpRenderTree because it
4137 caused lots of layout test regressions.
4139 * DumpRenderTree/DumpRenderTree.m:
4140 (main): Remove invisible window added to support plugins.
4142 2006-01-06 Geoffrey Garen <ggaren@apple.com>
4146 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
4147 Add plugin support to DumpRenderTree
4149 Also wrote first test plugin.
4151 * DumpRenderTree/DumpRenderTree.m:
4153 (1) Put the WebView in an invisible window, because PlugIns are
4154 optimized not to load if there's no parent window.
4155 (2) Tell WebKit to load any PlugIns in the directory from which we
4156 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
4157 and they'll load automagically during layout testing, but they won't be
4158 added to the user's system, hosing apps like Safari.
4160 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
4161 test PlugIn to project.
4163 PlugIn added to project:
4165 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
4166 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
4168 (initializeIdentifiers):
4169 (pluginHasProperty):
4171 (pluginGetProperty):
4172 (pluginSetProperty):
4174 (pluginInvokeDefault):
4178 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
4179 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
4181 (NP_GetEntryPoints):
4187 (NPP_DestroyStream):
4197 2006-01-04 Timothy Hatcher <timothy@apple.com>
4201 Tweaked and tested by me.
4203 New scripts to work with Subversion when the switch happens.
4204 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
4206 * Scripts/svn-apply: Added.
4207 * Scripts/svn-create-patch: Added.
4208 * Scripts/svn-unapply: Added.
4210 2005-12-30 Eric Seidel <eseidel@apple.com>
4214 Move WebView width/height logic into DumpRenderTree to support
4215 running the W3C SVG 1.1 tests along side other tests. The W3C
4216 SVG 1.1 tests require a 480x360 view.
4218 * DumpRenderTree/DumpRenderTree.m:
4219 (main): don't accept width/height
4220 (dump): override width/height for SVG/W3C
4221 * Scripts/run-webkit-tests: don't pass width/height
4223 2005-12-30 Eric Seidel <eseidel@apple.com>
4225 No review, only removing dead code.
4227 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
4228 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
4230 2005-12-30 Eric Seidel <eseidel@apple.com>
4234 DumpRenderTree should set a consistent color profile while running
4235 http://bugs.webkit.org/show_bug.cgi?id=6155
4237 Creates consistent colormatched renderings on every test machine
4238 using the only way possible with Tiger APIs: by setting the
4239 system color profile on the test machine for the duration of the
4240 tests. This will (unfortunately) cause colors to change while
4241 running DumpRenderTree. This can also cause "permanent" color
4242 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
4243 This is far from ideal, but it's be best way we've found to deal
4244 with the issue for now.
4246 * DumpRenderTree/DumpRenderTree.m:
4247 (restoreColorSpace):
4248 (setDefaultColorProfileToRGB):
4251 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
4253 Reviewed by Darin Adler.
4255 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
4256 cvs-create-patch --include produces incorrect paths
4258 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
4260 2005-12-19 Eric Seidel <eseidel@apple.com>
4264 * Scripts/run-webkit-tests: stop /etc/catalog warnings
4266 2005-12-19 Darin Adler <darin@apple.com>
4268 Reviewed by Eric Seidel.
4270 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
4271 WebKit needs to use a local pasteboard during testing
4273 * DumpRenderTree/DumpRenderTree.m:
4274 (main): Call poseAs to substitute our NSPasteboard class for the default one.
4275 Create a local pasteboard (really a global one with a unique name) and release
4276 it when exiting from the function so we don't leave it in the pasteboard server.
4277 (dumpRenderTree): Added an autorelease pool around one small bit of code that
4278 ddn't have one. Fixed a leak in an unlikely error case.
4279 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version