1 2006-12-14 Timothy Hatcher <timothy@apple.com>
5 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
7 2006-12-13 Zack Rusin <zack@kde.org>
11 Use the qmake build by default with Qt - it's the one that works
14 * Scripts/build-webkit:
15 * Scripts/webkitdirs.pm:
17 2006-12-10 Lars Knoll <lars@trolltech.com>
21 Some more fixes to the dumprendertree application.
22 Fix the run-webkit-tests script for Qt.
24 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
25 (WebCore::DumpRenderTree::open):
26 (WebCore::DumpRenderTree::readStdin):
27 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
28 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
29 * Scripts/run-webkit-tests:
30 * Scripts/webkitdirs.pm:
32 2006-12-10 Rob Buis <buis@kde.org>
36 * DumpRenderTree/DumpRenderTree.m:
39 2006-12-10 Lars Knoll <lars@trolltech.com>
43 Get the DumpRenderTree app to compile again
45 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
46 (WebCore::DumpRenderTree::DumpRenderTree):
47 (WebCore::DumpRenderTree::open):
48 (WebCore::DumpRenderTree::readStdin):
49 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
50 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
51 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
52 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
53 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
56 2006-12-09 George Staikos <staikos@kde.org>
60 Repair QMake build on OS X.
62 * Scripts/build-webkit:
64 2006-12-09 Zack Rusin <zack@kde.org>
66 Fixing small mistakes in the build scripts for
69 * Scripts/build-webkit:
70 * Scripts/webkitdirs.pm:
72 2006-12-09 Simon Hausmann <hausmann@kde.org>
76 Add support for a QMake build using build-webkit --qmake
78 * Scripts/build-webkit:
79 * Scripts/webkitdirs.pm:
81 2006-12-09 George Staikos <staikos@kde.org>
85 Remove reference to Unity.
87 * Scripts/webkitdirs.pm:
89 2006-12-08 Zack Rusin <zack@kde.org>
93 Fix the compile after recent API changes.
95 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
96 (WebCore::DumpRenderTree::DumpRenderTree):
97 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
100 2006-12-08 George Staikos <staikos@kde.org>
104 Build Qt webkit on non-linux, and prefer it if $QTDIR is set
106 * Scripts/build-webkit:
107 * Scripts/webkitdirs.pm:
109 2006-12-06 Steve Falkenburg <sfalken@apple.com>
111 Support C strings for localization
113 * Scripts/extract-localizable-strings:
115 2006-12-04 Steve Falkenburg <sfalken@apple.com>
119 Make extract-localizable-strings compatible with cpp file extensions.
121 * Scripts/extract-localizable-strings:
123 2006-11-21 Darin Adler <darin@apple.com>
127 - a couple changes to reduce the chance of false positives on the leakbot
129 * DumpRenderTree/DumpRenderTree.m:
130 (dumpRenderTree): Move the main function into a separate function so we can run
131 a final garbage collect afterward without any stray values on the stack. Replaced
132 the old way of closing down a WebView (setting the delegates to nil) with the new
133 way (calling the close method), which does a more complete job of shutting
134 everything down without waiting for the WebView object to be deallocated.
135 (main): Put auto-release pool here and added an explicit call to garbage collect.
136 With a separate function, we greatly reduce the chance that a stray address on the
137 stack will keep an object alive.
139 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
140 because I don't have what it takes to fight the power.
142 2006-11-17 Zack Rusin <zack@kde.org>
144 Reviewed by Mitz. Landed by Niko.
148 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
149 (WebCore::DumpRenderTree::DumpRenderTree): Adding
150 ContextMenuClient to the constructor
152 2006-11-12 Mark Rowe <bdash@webkit.org>
156 Clean up of GdkLauncher bakefile.
158 * GdkLauncher/gdklauncher.bkl:
160 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
162 Reviewed and landed by Anders.
164 Make DRT work again on Qt/Linux.
166 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
167 (WebCore::DumpRenderTree::DumpRenderTree):
169 2006-11-10 Zack Rusin <zack@kde.org>
171 Reviewed and landed by Anders.
173 Adjusting to the recent loader changes, making it compile
176 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
177 (WebCore::DumpRenderTree::DumpRenderTree):
178 (WebCore::DumpRenderTree::checkLoaded):
179 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
181 2006-11-10 Zack Rusin <zack@kde.org>
185 Making the Qt code work after refactorings in WebCore.
187 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
188 (WebCore::DumpRenderTree::DumpRenderTree):
189 (WebCore::DumpRenderTree::checkLoaded):
190 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
192 2006-11-08 Darin Adler <darin@apple.com>
196 - same change as below, only tested this time
198 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
199 mode off. I think we need to do this because WebPreferences saves things
200 for us automatically. It would be good to turn that off for DumpRenderTree,
201 but for now lets handle this like the other preferences (set it explicitly
204 2006-11-08 Darin Adler <darin@apple.com>
208 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
209 "tab to links" mode. No current tests depend on this, and there's a new
210 test I want to land that depends on the default setting.
212 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
216 Linux\gdk build fixes.
218 * GdkLauncher/main.cpp:
219 (LauncherFrameGdk::LauncherFrameGdk):
222 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
224 Build fix, approved in principle by Tim H.
226 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
227 Disable deprecated warnings for main.c (TestNetscapePlugin),
228 as it now uses QuickDraw to convert mouse event coordinates.
230 2006-11-05 Timothy Hatcher <timothy@apple.com>
234 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
235 http://bugs.webkit.org/show_bug.cgi?id=11525
237 * Drosera/debugger.js: imporved the function name code
239 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
243 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
244 being attributed to the next test.
246 * DumpRenderTree/EditingDelegate.m:
247 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
248 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
249 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
250 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
251 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
252 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
253 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
254 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
255 (-[EditingDelegate webViewDidBeginEditing:]):
256 (-[EditingDelegate webViewDidChange:]):
257 (-[EditingDelegate webViewDidEndEditing:]):
258 (-[EditingDelegate webViewDidChangeTypingStyle:]):
259 (-[EditingDelegate webViewDidChangeSelection:]):
260 * DumpRenderTree/UIDelegate.m:
261 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
263 2006-11-06 Mark Rowe <bdash@webkit.org>
267 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
269 * Scripts/run-webkit-tests: import the POSIX module.
271 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
275 Test for http://bugs.webkit.org/show_bug.cgi?id=11517
276 REGRESSION: Flash clicks/interactivity not working properly
278 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
280 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
282 plg.eventLoggingEnabled = true;
283 // use eventSender to simulate events...
286 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
290 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
291 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
294 2006-11-04 David Smith <catfish.man@gmail.com>
298 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
299 Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
301 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
303 2006-11-04 David Smith <catfish.man@gmail.com>
307 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
308 Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
310 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
312 2006-11-04 David Smith <catfish.man@gmail.com>
316 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
317 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
319 * Drosera/debugger.js: blur() the function popup when we're done with it.
321 2006-11-04 Mark Rowe <bdash@webkit.org>
325 Fix use of uninitialized value in pattern match.
327 * Scripts/webkitdirs.pm:
329 2006-11-04 Darin Adler <darin@apple.com>
331 Reviewed by Tim Hatcher.
333 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
335 2006-11-03 David Smith <catfish.man@gmail.com>
339 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
340 Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
342 * Drosera/DebuggerApplication.m:
343 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
345 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
349 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
350 Bug 9596: [Drosera] add a function popup to the source pane
352 * Drosera/debugger.css: Added styles for function popup
353 * Drosera/debugger.html: Added function popup button and select
354 * Drosera/debugger.js: Added function popup functionality
356 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
360 http://bugs.webkit.org/show_bug.cgi?id=9671
363 Adds astyle sed script formats according to most of the style guidelines.
365 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
369 http://bugs.webkit.org/show_bug.cgi?id=7323
370 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
372 When dragging, do not send EventSendingController's events immediately. Dragging
373 is supposed to be modal, so we need to perform it from within the delegate, without
374 returning to JS to make the next mouse movement.
376 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
378 * DumpRenderTree/EventSendingController.h:
379 * DumpRenderTree/EventSendingController.m:
380 (-[EventSendingController dealloc]):
381 (-[EventSendingController leapForward:]):
382 (-[EventSendingController mouseDown]):
383 (-[EventSendingController mouseUp]):
384 (-[EventSendingController mouseMoveToX:Y:]):
385 (+[EventSendingController saveEvent:]):
386 (+[EventSendingController replaySavedEvents]):
387 * DumpRenderTree/UIDelegate.m:
388 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
390 2006-11-02 Geoffrey Garen <ggaren@apple.com>
392 Reviewed by Justin Garcia.
394 Made dumping of editing callbacks opt-in, so that editing spew doesn't
395 cloud non-editing tests.
397 * DumpRenderTree/DumpRenderTree.m:
398 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
399 (-[LayoutTestController shouldDumpEditingCallbacks]):
401 * DumpRenderTree/EditingDelegate.m:
402 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
403 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
404 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
405 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
406 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
407 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
408 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
409 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
410 (-[EditingDelegate webViewDidBeginEditing:]):
411 (-[EditingDelegate webViewDidChange:]):
412 (-[EditingDelegate webViewDidEndEditing:]):
413 (-[EditingDelegate webViewDidChangeTypingStyle:]):
414 (-[EditingDelegate webViewDidChangeSelection:]):
416 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
418 Reviewed by Maciej, landed by Anders.
420 - http://bugs.webkit.org/show_bug.cgi?id=7802
421 devenv.com not available in VC++ Express installations
423 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
424 * Scripts/install-win-extras: Make setx.exe actually run.
426 2006-11-01 Stephanie Lewis <slewis@apple.com>
430 Fixed bug where additional arguments got fed to xcode and jsdriver.pl
431 Since testkjs is being built before the tests are run, we don't need
432 to build it with webkit.
435 http://bugs.webkit.org/show_bug.cgi?id=11462
436 http://bugs.webkit.org/show_bug.cgi?id=6168
438 * Scripts/build-webkit:
439 * Scripts/run-javascriptcore-tests:
441 2006-11-01 Brady Eidson <beidson@apple.com>
443 Reviewed by Tim Hatcher
445 Added accessor to get the source directory for use in client scripts
447 * Scripts/webkitdirs.pm:
449 2006-11-01 Mark Rowe <bdash@webkit.org>
453 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
455 * Spinneret/Spinneret/Spinneret.cpp:
457 * WebKitLauncher/WebKitNightlyEnabler.m:
458 (cleanUpAfterOurselves):
460 2006-10-31 Mark Rowe <bdash@webkit.org>
462 Reviewed by Stephanie.
464 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
466 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
467 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
469 2006-10-31 Darin Adler <darin@apple.com>
471 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
472 pasteboard, allocate any number of local pasteboards.
473 (main): Allocate the dictionary of pasteboards.
474 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
476 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
477 explicitly elsewhere.
478 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
479 to the selector rather than calling unconditionally.
481 2006-10-30 Darin Adler <darin@apple.com>
485 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
486 Don't use CFPasteboard.
488 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
492 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
494 * Drosera/debugger.js: ParsedURL() object now recognizes local files
496 2006-10-30 Darin Adler <darin@apple.com>
498 Reviewed by Tim Hatcher.
500 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
501 This should make our buildbot tests no longer need a pasteboard server.
503 2006-10-30 Geoffrey Garen <ggaren@apple.com>
507 Reorganized project file into Delegates and Controllers groups, and split
508 UIDelegate stuff into a UIDelegate class.
510 A little birdy told me that I might end up adding some UIDelegate methods
513 * DumpRenderTree/DumpRenderTree.m:
516 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
518 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
522 Add new platform/graphics include directory.
524 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
526 2006-10-30 Timothy Hatcher <timothy@apple.com>
528 Reviewed by Stephanie.
530 Add a special case for the Internal makefiles, so it can find the OepnSource.
532 * Scripts/webkitdirs.pm:
534 2006-10-30 Stephanie Lewis <slewis@apple.com>
538 Change Makefiles to return non-zero when module make fails.
539 Fix bug where if xcode options are not set, modules can build in the
543 * Scripts/webkitdirs.pm:
545 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
549 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
550 [Drosera] The Console toolbar button should bring the console window to the front.
552 The console now gets focus when its activated but already open. Command + L also
553 now activates/focuses the console.
555 * Drosera/English.lproj/MainMenu.nib/classes.nib:
556 * Drosera/English.lproj/MainMenu.nib/info.nib:
557 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
558 * Drosera/debugger.js:
560 2006-10-29 Darin Adler <darin@apple.com>
562 * Scripts/do-file-rename: Renames done, ready for the next round.
563 * Scripts/do-webcore-rename: Ditto.
565 2006-10-29 Darin Adler <darin@apple.com>
567 * Scripts/do-file-rename: And again.
569 2006-10-29 Darin Adler <darin@apple.com>
571 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
573 2006-10-29 Darin Adler <darin@apple.com>
577 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
578 Added. Does nothing, which prevents a beep.
580 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
582 2006-10-27 Brady Eidson <beidson@apple.com>
584 Rubber stamped by Tim Hatcher
586 Added "make universal" to build universal binaries
591 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
595 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
596 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
597 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
599 * DumpRenderTree/EventSendingController.m:
600 (-[EventSendingController mouseMoveToX:Y:]):
602 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
608 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
609 (WebCore::DumpRenderTree::open):
611 2006-10-24 Stephanie Lewis <slewis@apple.com>
615 - Changed run-javascriptcore tests to build testkjs before running.
617 * Scripts/run-javascriptcore-tests:
619 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
625 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
626 - Fix CMakeLists.txt to include platform/network.
628 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
630 2006-10-24 David Smith <catfish.man@gmail.com>
634 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
635 http://bugs.webkit.org/show_bug.cgi?id=11382
637 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
639 2006-10-21 Darin Adler <darin@apple.com>
641 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
642 This was still using "symroots" so it almost never worked!
644 2006-10-21 Darin Adler <darin@apple.com>
646 * Makefile: Build DumpRenderTree too.
647 * Scripts/do-webcore-rename: Removed bogus comment.
649 2006-10-20 David Smith <catfish.man@gmail.com>
653 Bug 11367: Inline Breakpoint Editor Improvements: Act III
654 http://bugs.webkit.org/show_bug.cgi?id=11367
656 Major breakpoint editor changes:
657 * Breakpoints can now either pause or log to console
658 * Code cleanup through use of XPath and converting breakpoints to objects
659 * Breakpoints now track how many times they've been reached
661 * The breakpoint editor now saves changes as they're entered
662 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
663 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
665 * Drosera/DebuggerDocument.m:
666 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
667 * Drosera/Drosera.xcodeproj/project.pbxproj:
668 * Drosera/Images/close.tif: Added.
669 * Drosera/Images/close_active.tif: Added.
670 * Drosera/Images/close_hover.tif: Added.
671 * Drosera/breakpointEditor.html: Added.
672 * Drosera/console.js: Added a way to append messages from outside the console window.
673 * Drosera/debugger.js:
674 * Drosera/viewer.css:
675 * Drosera/viewer.html:
677 2006-10-18 David Smith <catfish.man@gmail.com>
681 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.
683 * Drosera/DebuggerDocument.m:
684 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
685 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
686 * Drosera/debugger.js:
688 2006-10-18 Timothy Hatcher <timothy@apple.com>
692 Bug 10851: Crash with Drosera
693 http://bugs.webkit.org/show_bug.cgi?id=10851
695 This crash results in an assert in debug builds.
697 assert(implementsCall());
699 The __drosera_introspection propery was not callable. Now we just assign
700 this.__drosera_introspection in the evaluateWebScript call.
701 This change also removes one DO message.
703 * Drosera/DebuggerDocument.m:
704 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
706 2006-10-18 Mark Rowe <bdash@webkit.org>
710 http://bugs.webkit.org/show_bug.cgi?id=11304
711 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
713 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
714 when they are not part of the WebKit umbrella framework.
716 2006-10-18 Adam Roben <aroben@apple.com>
718 fixo el buildo II: Release's Pride.
720 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
722 2006-10-18 Geoffrey Garen <ggaren@apple.com>
726 Work around #import of <PDFKit/PDFView.h>.
728 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
730 2006-10-18 David Smith <catfish.man@gmail.com>
734 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
736 * Drosera/Drosera.xcodeproj/project.pbxproj:
737 * Drosera/Images/breakpointeditor.png: Added.
738 * Drosera/breakpointEditor.css: Removed.
739 * Drosera/breakpointEditor.html: Removed.
740 * Drosera/breakpointEditor.js: Removed.
741 * Drosera/debugger.js:
742 * Drosera/viewer.css:
744 2006-10-18 David Harrison <harrison@apple.com>
748 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
749 http://bugs.webkit.org/show_bug.cgi?id=11341
751 Link editing behavior became a preference. DumpRenderTree needs to specify the
752 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
754 * DumpRenderTree/DumpRenderTree.m:
757 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
761 Make compiler not complain about unused gk. SpinneretWebHost was not setting
762 initial refcount upon creation, so it is completely bogus.
764 * GdkLauncher/main.cpp:
766 * Spinneret/Spinneret/Spinneret.h:
767 (SpinneretWebHost::SpinneretWebHost):
769 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
773 Add another hanging test, to the "to be skipped" list.
775 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
777 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
781 Some fixes to get the Qt BuildSlave to run the LayoutTests.
783 * Scripts/build-dumprendertree: No need to call cmake again.
784 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
786 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
790 Force --no-http on Qt/Linux.
792 * Scripts/run-webkit-tests:
794 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
798 Gets JavaScripCore tests running on windows.
800 * Scripts/run-javascriptcore-tests:
801 * Scripts/webkitdirs.pm:
803 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
807 Exclude some tests which crash or hang from Qt/Linux DRT.
808 These are known to fail, and will be fixed at some point :-)
810 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
811 (WebCore::DumpRenderTree::DumpRenderTree):
812 (WebCore::DumpRenderTree::open):
813 (WebCore::DumpRenderTree::readStdin):
814 (WebCore::DumpRenderTree::readSkipFile):
815 (WebCore::DumpRenderTree::checkLoaded):
816 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
817 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
819 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
823 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
825 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
826 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
827 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
829 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
833 Also regenerate GdkLauncher makefiles, since not doing that might
834 lead to mismatch between WebCore and GdkLauncher compiler settings.
836 * Scripts/regenerate-makefiles:
838 2006-10-10 David Smith <catfish.man@gmail.com>
842 Bug 11246: Minor Drosera code cleanup
843 http://bugs.webkit.org/show_bug.cgi?id=11246
845 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
847 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
851 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
853 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
854 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
855 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
856 * Drosera/Images/SourceArrowOpen.png: Added.
857 * Drosera/Images/fileIcon.jpg: Added.
858 * Drosera/Images/siteCollapsed.tif: Added.
859 * Drosera/Images/siteExpanded.tif: Added.
860 * Drosera/Images/siteIcon.tif: Added.
861 * Drosera/debugger.css: Added File Browser styles
862 * Drosera/debugger.html: Added File Browser UI
863 * Drosera/debugger.js: Added File Browser functionality
865 2006-10-10 Darin Adler <darin@apple.com>
867 * Scripts/do-file-rename: Added.
869 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
873 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
874 a page. This allows automatic testing via e.g. valgrind.
876 * GdkLauncher/gdklauncher.bkl:
877 * GdkLauncher/main.cpp:
878 (LauncherFrameGdk::LauncherFrameGdk):
879 (LauncherFrameGdk::setExitAfterLoading):
880 (LauncherFrameGdk::handledOnloadEvents):
884 2006-10-06 David Smith <catfish.man@gmail.com>
888 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
890 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
891 * Drosera/breakpointEditor.css: Added.
892 * Drosera/breakpointEditor.html: Added.
893 * Drosera/breakpointEditor.js: Added.
894 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
896 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
900 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
902 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
903 (WebCore::DumpRenderTree::DumpRenderTree):
905 2006-10-05 Oliver Hunt <ohunt@apple.com>
909 * Scripts/run-webkit-tests:
912 2006-10-04 Anders Carlsson <acarlsson@apple.com>
916 * Scripts/run-webkit-tests:
917 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
920 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
922 Reviewed and landed by ap.
924 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
925 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
927 * Scripts/webkitdirs.pm:
929 2006-10-04 Mark Rowe <bdash@webkit.org>
931 Reviewed by Stephanie.
933 Switch the Qt buildbot to the standard set of build steps.
934 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
935 see if any regressions were spotted, and fail the test if so.
937 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
938 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
939 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
941 2006-10-04 Timothy Hatcher <timothy@apple.com>
943 Reviewed by Mitz Pettel!
945 Bug 10708: [Drosera] Make the console input plaintext-only
946 http://bugs.webkit.org/show_bug.cgi?id=10708
948 Change the console input -webkit-user-modify property to
949 read-write-plaintext-only.
951 * Drosera/console.css:
953 2006-10-04 David Smith <catfish.man@gmail.com>
957 Bug 10473: [Drosera] Overlapping text in JavaScript Console
958 http://bugs.webkit.org/show_bug.cgi?id=10473
960 Using min-height instead of height to avoid overlapping text.
962 * Drosera/console.css:
964 2006-10-04 David Smith <catfish.man@gmail.com>
968 Added a bash-style command history.
970 * Drosera/console.js:
972 2006-10-03 Anders Carlsson <acarlsson@apple.com>
974 Reviewed by Adam and Brady.
976 * DumpRenderTree/DumpRenderTree.m:
978 Update URL to Ahem.ttf
980 2006-10-03 Darin Adler <darin@apple.com>
982 * Scripts/commit-log-editor: Added missing "close" call. Oops!
984 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
986 Reviewed by eseidel. Landed by eseidel.
988 Offer a way for BuildBot to not colorize the cmake output, when building
989 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
991 Default is colorize output, though only Qt platform handles this for now.
993 * Scripts/build-dumprendertree:
994 * Scripts/build-webkit:
995 * Scripts/webkitdirs.pm:
997 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
999 Reviewed by eseidel. Landed by eseidel.
1001 Make all important scripts work with Qt/Linux.
1003 You can safely use this now:
1004 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
1006 * Scripts/build-dumprendertree:
1007 * Scripts/run-javascriptcore-tests:
1008 * Scripts/run-webkit-tests:
1009 * Scripts/webkitdirs.pm:
1011 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
1015 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
1017 * Scripts/webkitdirs.pm:
1019 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
1021 Reviewed/landed by Adam.
1023 Proper build-webkit support for Qt/Linux.
1025 Compilation process is similar to OSX now, aka.
1026 the build directory is RootCheckoutDir/WebKitBuild now.
1028 * Scripts/build-webkit: Recognize Qt.
1029 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
1031 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
1035 Add QT build slave to Buildbot.
1037 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
1038 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
1039 * 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.
1040 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
1042 2006-09-28 David Harrison <harrison@apple.com>
1046 Moved an extern declaration from inside a method to the top of the file.
1048 * DumpRenderTree/EventSendingController.m:
1049 (-[EventSendingController clearKillRing]):
1051 2006-09-28 David Harrison <harrison@apple.com>
1055 Add clearKillRing so we can test emacs support with empty kill ring.
1057 * DumpRenderTree/EventSendingController.m:
1058 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1059 (+[EventSendingController webScriptNameForSelector:]):
1060 (-[EventSendingController clearKillRing]):
1062 2006-09-27 MorganL <morganl.webkit@yahoo.com>
1064 Reviewed by Maciej, landed by Brady
1066 Fix URL bar updating.
1068 * Spinneret/Spinneret/Spinneret.h:
1069 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1070 (SpinneretWebHost::didCommitLoadForFrame):
1071 (SpinneretWebHost::didFinishLoadForFrame):
1073 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
1079 * DumpRenderTree/EventSendingController.m:
1080 (-[EventSendingController enableDOMUIEventLogging:]):
1082 2006-09-22 Justin Garcia <justin.garcia@apple.com>
1086 * Scripts/do-webcore-rename:
1088 2006-09-21 Timothy Hatcher <timothy@apple.com>
1092 Bug 10923: Frame scroll layout test failures on the buildbot
1093 http://bugs.webkit.org/show_bug.cgi?id=10923
1095 Added a new method that will toggle on the recursive dump of
1096 child frame scroll positions.
1098 * DumpRenderTree/DumpRenderTree.m:
1099 (dumpFrameScrollPosition):
1100 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1101 (-[LayoutTestController dumpChildFrameScrollPositions]):
1103 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
1105 Reviewed by eseidel. Landed by eseidel.
1107 Detect that close button was pressed and exit cleanly.
1109 * GdkLauncher/main.cpp:
1113 2006-09-17 Adam Roben <aroben@apple.com>
1115 Reviewed by hyatt, sfalken.
1117 Get DumpRenderTree compiling and limping along on Windows.
1119 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1120 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
1121 (main): Add NULL argument to Page constructor.
1122 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
1123 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
1125 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
1129 http://bugs.webkit.org/show_bug.cgi?id=10635
1130 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
1132 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
1133 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
1134 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
1136 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
1140 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
1141 Even More Objective-C DOM auto-generation cleanup
1143 - Change to use new, more Objectice-C'ish version of
1144 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
1145 regression test for fast/events/dblclick-addEventListener.html.
1147 * DumpRenderTree/EventSendingController.m:
1148 (-[EventSendingController fireKeyboardEventsToElement:]):
1150 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
1154 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
1155 Move QtLauncher down to WebKitQt.
1157 * QtLauncher/CMakeLists.txt: Removed.
1158 * QtLauncher/main.cpp: Removed.
1160 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
1164 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
1165 Adjust DumpRenderTree to the FrameQtClient changes.
1167 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
1168 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1169 (WebCore::DumpRenderTree::DumpRenderTree):
1170 (WebCore::DumpRenderTree::~DumpRenderTree):
1171 (WebCore::DumpRenderTree::frame):
1172 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1173 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
1174 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
1175 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
1176 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
1178 2006-09-03 Darin Adler <darin@apple.com>
1180 * Scripts/do-webcore-rename: More renaming plans.
1182 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
1186 http://bugs.webkit.org/show_bug.cgi?id=10693
1187 Convert JavaScript arrays to AppleScript lists
1189 * DumpRenderTree/AppleScriptController.m:
1190 (convertAEDescToObject):
1191 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
1193 2006-08-31 Darin Adler <darin@apple.com>
1195 * Scripts/do-webcore-rename: Prepare for another round of renaming.
1197 2006-08-29 Dan Waylonis <waylonis@google.com>
1201 - Verification of exceptions thrown in a plugin. Test for bug 10114.
1202 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1203 * DumpRenderTree/ObjCPlugin.m:
1204 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1205 (+[ObjCPlugin webScriptNameForSelector:]):
1206 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
1208 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
1212 Commit KDE related tweaks, to be able to
1213 differentiate between a Qt-only or a KDE build.
1215 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
1216 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
1218 2006-08-29 Darin Adler <darin@apple.com>
1220 Reviewed by Tim Hatcher.
1222 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
1223 to work around what seems to be a bug in some versions of gdb.
1225 2006-08-16 Tim Omernick <timo@apple.com>
1227 Reviewed by John Sullivan.
1229 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
1230 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
1233 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1235 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
1236 are expected to be retained by the plug-in, and released by the caller.
1238 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
1240 Reviewed by Tim Hatcher.
1242 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
1244 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1245 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
1246 Qt's DumpRenderTree.
1248 * Scripts/run-webkit-tests:
1249 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
1251 2006-08-28 Darin Adler <darin@apple.com>
1253 Reviewed by Tim Hatcher.
1255 * Scripts/build-drosera: Fix behavior when there are multiple options.
1257 2006-08-27 Timothy Hatcher <timothy@apple.com>
1261 Drosera will be built when you type make.
1263 * Drosera/Makefile: Added.
1265 * Makefile.shared: Added.
1267 2006-08-27 Anders Carlsson <acarlsson@apple.com>
1269 Forgot to add these.
1271 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
1272 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
1273 (WebCore::DumpRenderTree::DumpRenderTree):
1274 (WebCore::DumpRenderTree::~DumpRenderTree):
1275 (WebCore::DumpRenderTree::open):
1276 (WebCore::DumpRenderTree::readStdin):
1277 (WebCore::DumpRenderTree::checkLoaded):
1278 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
1279 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
1282 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
1284 Reviewed by Eric, landed by Anders.
1286 Add DumpRenderTree support for Qt/Linux.
1288 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
1289 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
1290 (WebCore::DumpRenderTree::DumpRenderTree):
1291 (WebCore::DumpRenderTree::~DumpRenderTree):
1292 (WebCore::DumpRenderTree::open):
1293 (WebCore::DumpRenderTree::readStdin):
1294 (WebCore::DumpRenderTree::checkLoaded):
1295 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
1296 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
1298 * Scripts/build-dumprendertree:
1299 * Scripts/run-webkit-tests:
1300 * Scripts/webkitdirs.pm:
1302 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
1304 Reviewed by Eric. Landed by rwlbuis.
1306 Add QtLauncher (was testunity before), which provides a
1307 standalone "browser" to test the Qt platform stuff.
1309 * QtLauncher/CMakeLists.txt: Added.
1310 * QtLauncher/main.cpp: Added.
1313 2006-08-22 Trey Matteson <trey@usa.net>
1317 Added support for a new set of browser navigation tests. The main feature
1318 is the ability for a test to queue up a set of future actions that will
1319 happen after that first page is loaded. This is used to simulate a sequence
1320 of user actions such as filling out forms, loading additional pages or
1321 going back. In addition we can now dump out the state of the back/forward
1322 list, and the scroll position is dumped if not at 0,0.
1324 * DumpRenderTree/DumpRenderTree.m:
1325 (main): Init new state
1326 (compareHistoryItems): New utility to support sorting.
1327 (dumpHistoryItem): Write out a WebHistoryItem and kids.
1328 (dumpFrameScrollPosition): Write out the scroll position.
1329 (dump): Optionally write b/f list or scroll position.
1330 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
1331 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
1332 Kick off any queued actions. Fixed for the case of loads started in
1333 a subframe instead of the root frame.
1334 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
1335 Grab the topmost frame that is being loaded. Do this as early as possible,
1336 instead of in didCommitLoadForFrame.
1337 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1338 Noting a load has started now happens in previous method.
1339 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
1340 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
1341 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
1343 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
1344 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
1345 Add new work to the queue.
1346 (-[LayoutTestController _doLoad:target:]): Do a queued load.
1347 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
1348 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
1349 (-[LayoutTestController scheduleForwardNav:]):
1350 (-[LayoutTestController scheduleReload]):
1351 (-[LayoutTestController scheduleScript:]):
1352 (-[LayoutTestController scheduleLoad:target:]):
1353 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
1354 since it's not one of the functions that does any dumping.
1356 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
1360 - added a function to create a few DOMKeyboardEvents and dispatch
1361 them to a specified HTML element
1362 http://bugs.webkit.org/show_bug.cgi?id=9736
1364 * DumpRenderTree/EventSendingController.m:
1365 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1366 (+[EventSendingController webScriptNameForSelector:]):
1367 (-[EventSendingController fireKeyboardEventsToElement:]):
1369 2006-08-15 Duncan Wilcox <duncan@mclink.it>
1371 Reviewed and tweaked by Darin.
1373 - added DumpRenderTree support so editing delegate can be made to refuse edits
1374 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
1376 * DumpRenderTree/DumpRenderTree.m:
1377 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
1378 to the list of methods.
1379 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
1380 without the colon, for the JavaScript name.
1381 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
1383 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
1385 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
1386 setter methods to the class.
1387 * DumpRenderTree/EditingDelegate.m:
1388 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
1389 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
1390 return the value of acceptsEditing.
1391 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
1392 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
1393 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
1394 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
1395 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1397 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
1398 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
1399 (-[EditingDelegate setAcceptsEditing:]): Added.
1401 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
1405 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
1406 http://bugs.webkit.org/show_bug.cgi?id=10224
1408 * Drosera/Drosera.xcodeproj/project.pbxproj:
1409 * Drosera/LauncherInfo.plist:
1411 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
1413 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
1414 when a test performs an unsuccessful drag and drop operation.
1416 * DumpRenderTree/EventSendingController.m:
1417 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
1418 drag operation for the mouse release is NSDragOperationNone.
1420 2006-08-02 Timothy Hatcher <timothy@apple.com>
1424 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
1425 http://bugs.webkit.org/show_bug.cgi?id=9632
1427 Do not change the file source when normalizing the line endings.
1428 We use this file source to compare against new versions of the source
1429 as it comes in, so we can skip re-syntax highlighting if they are the same.
1430 The problem is apparent on yahoo.com since they have mixed line endings and
1431 once we normalize them the source will always be different. This was
1432 compounded by the fact that yahoo has around 40 inline scripts. Each
1433 inline script causes us to check if the main document has more loaded,
1434 that is when we compare the source strings. Since they are always different
1435 we would syntax highlight yahoo.com 40 times! We do check source length before
1436 doing a more expensive string comparison, but the lengths were the same.
1438 * Drosera/debugger.js:
1440 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
1442 Reviewed by Timothy.
1444 Bug 9931: [Drosera] Needs a cool icon
1445 http://bugs.webkit.org/show_bug.cgi?id=9931
1447 * Drosera/Drosera.icns: Added.
1448 * Drosera/Drosera.xcodeproj/project.pbxproj:
1449 * Drosera/Info.plist:
1451 2006-08-01 Darin Adler <darin@apple.com>
1453 - fix a bug in my recent change where the mouse position at the end of
1454 the last test would affect the results of the next test
1456 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
1458 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1462 http://bugs.webkit.org/show_bug.cgi?id=10182
1463 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
1465 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
1466 Correct the logic to not reload local variable list unless an '=' character is in the expression.
1468 2006-07-31 Darin Adler <darin@apple.com>
1472 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
1473 REGRESSION: failing layout test: fast/events/objc-event-api.html
1475 * DumpRenderTree/DumpRenderTree.m:
1476 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
1477 location in flipped coordinates, since those are the coordinates that we use.
1478 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
1481 * DumpRenderTree/EventSendingController.m:
1482 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
1483 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
1484 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
1485 probably worked OK, but this is needed to be correct.
1486 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
1487 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
1488 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
1489 dump the screenY as-is.
1491 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1495 http://bugs.webkit.org/show_bug.cgi?id=10178
1496 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
1498 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
1499 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
1501 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1505 http://bugs.webkit.org/show_bug.cgi?id=10175
1506 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
1508 * Drosera/DebuggerDocument.m:
1509 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
1511 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1515 http://bugs.webkit.org/show_bug.cgi?id=10167
1516 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
1518 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
1521 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
1525 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
1526 http://bugs.webkit.org/show_bug.cgi?id=9686
1528 * Drosera/DebuggerDocument.m:
1529 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
1530 ensure that the server does not try and notify us of events related to the resumption.
1531 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
1532 call through to JavaScript.
1533 * Drosera/debugger.js: Pause debugger when exception is raised.
1535 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
1539 - fixes for Linux build
1541 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
1542 * GdkLauncher/gdklauncher.bkl: Tweak comment.
1544 2006-07-24 Dan Waylonis <waylonis@google.com>
1546 Reviewed and tweaked a bit by Darin.
1548 * DumpRenderTree/ObjCPlugin.m:
1549 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
1550 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
1551 "echo:" so it's nice to call from JavaScript.
1552 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
1553 to test a round trip through Objective-C types.
1555 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
1559 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
1560 Improve iExploder results parsing
1562 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
1563 in random mode, too.
1565 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
1567 Reviewed by Timothy.
1569 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
1570 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
1572 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
1574 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
1578 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
1579 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
1581 Removed "Property changes" that snuck in as part of the "apply patch" process.
1583 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
1587 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
1588 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
1590 * Scripts/svn-apply:
1591 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
1593 (patch): Use patch(1) for non-binary additions and deletions.
1594 * Scripts/svn-unapply:
1596 (patch): Use patch(1) for reverting non-binary additions and deletions.
1597 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
1599 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1601 Reviewed by Timothy.
1603 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
1604 http://bugs.webkit.org/show_bug.cgi?id=9889
1606 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
1607 so, have stepOut pause on the next call to willExecuteStatement rather than second.
1609 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
1613 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
1614 Teach svn-create-patch and friends to fix ChangeLog patches
1616 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
1617 * Scripts/svn-create-patch: Ditto.
1618 * Scripts/svn-unapply: Ditto.
1620 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1624 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
1625 http://bugs.webkit.org/show_bug.cgi?id=9869
1627 * Drosera/DebuggerDocument.m:
1628 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
1630 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1634 Bug 9863: Drosera needs to show something at launch
1635 http://bugs.webkit.org/show_bug.cgi?id=9863
1637 * Drosera/DebuggerApplication.m:
1638 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
1640 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1642 Reviewed by Timothy.
1644 Lets Drosera build universal for the nightlies. Right now it is not
1645 possible to build a universal binary on a PPC machine because of a
1646 conflict with the universal SDK.
1648 * BuildSlaveSupport/build-launcher-app:
1649 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1651 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
1655 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
1656 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
1658 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1659 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
1660 should open a new stream and deliver the data to the current instance.
1662 2006-07-11 Timothy Hatcher <timothy@apple.com>
1666 Bug 9598: [Drosera] add a JavaScript evaluator console
1667 http://bugs.webkit.org/show_bug.cgi?id=9598
1669 * Drosera/DebuggerApplication.h:
1670 * Drosera/DebuggerApplication.m:
1671 (-[DebuggerApplication knownServers]):
1672 * Drosera/DebuggerDocument.h:
1673 * Drosera/DebuggerDocument.m:
1674 (-[WebScriptObject evaluateScript:inCallFrame:]):
1675 (-[WebScriptObject showConsole:]):
1676 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1677 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
1678 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
1679 (-[WebScriptObject webView:createWebViewWithRequest:]):
1680 (-[WebScriptObject webViewShow:]):
1681 (-[WebScriptObject webViewAreToolbarsVisible:]):
1682 (-[WebScriptObject webView:setToolbarsVisible:]):
1683 (-[WebScriptObject webView:setResizable:]):
1684 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1685 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
1686 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1687 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
1688 (-[WebScriptObject webView:didFinishLoadForFrame:]):
1689 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
1690 * Drosera/Drosera.xcodeproj/project.pbxproj:
1691 * Drosera/Images/console.png: Added.
1692 * Drosera/console.css: Added.
1693 * Drosera/console.html: Added.
1694 * Drosera/console.js: Added.
1696 2006-07-11 Timothy Hatcher <timothy@apple.com>
1698 Reviewed by a tired Geoff.
1700 Bug 9597: [Drosera] hook up the variables table to show stack variables
1701 http://bugs.webkit.org/show_bug.cgi?id=9597
1703 * Drosera/DebuggerDocument.m:
1704 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
1705 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
1706 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
1707 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
1708 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
1709 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
1710 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1711 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1712 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1713 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1714 * Drosera/debugger.css:
1715 * Drosera/debugger.html:
1716 * Drosera/debugger.js:
1718 2006-07-10 Tim Omernick <timo@apple.com>
1720 Reviewed by Beth Dakin.
1722 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
1723 Add DOM access test to DumpRenderTree's Netscape plug-in
1725 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1729 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1733 - http://bugs.webkit.org/show_bug.cgi?id=9839
1734 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
1736 Now track three states: initializing, running, and closed. If we are launched and the previous
1737 state was initializing then we likely just experienced a crash on launch.
1739 * WebKitLauncher/WebKitNightlyEnabler.m:
1740 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
1741 (myApplicationWillTerminate): Update to use new states.
1742 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
1743 initializing as early as practical.
1744 (symbol_lookup): Bring code up to speed with formatting guidelines.
1745 (GDSymbolLookup): Ditto.
1747 2006-07-10 Darin Adler <darin@apple.com>
1749 - try to fix Windows build
1751 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1752 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
1754 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1756 Build fix. Reviewed by NOBODY.
1758 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1759 devenv.com not available in VC++ Express installations
1761 * Scripts/webkitdirs.pm: Backed out previous change.
1763 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1767 - http://bugs.webkit.org/show_bug.cgi?id=9693
1768 svn-apply should set ChangeLog date correctly when applying patches
1770 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
1771 before applying the patch.
1772 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
1774 2006-07-09 Darin Adler <darin@apple.com>
1776 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
1778 2006-07-09 Darin Adler <darin@apple.com>
1780 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
1782 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1784 Reviewed by NOBODY (build fix).
1786 - http://bugs.webkit.org/show_bug.cgi?id=7802
1787 devenv.com not available in VC++ Express installations
1789 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
1790 work again. Add VC++ Express check as the fallback.
1792 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
1794 Reviewed by Timothy Hatcher.
1796 - http://bugs.webkit.org/show_bug.cgi?id=7802
1797 devenv.com not available in VC++ Express installations
1799 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1801 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
1805 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
1806 Patch by coldwinter@katamail.com.
1808 In the congratulations message, "capatibilies" should be "capabilities".
1810 * Scripts/build-webkit:
1812 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1814 Reviewed by Timothy Hatcher.
1816 - http://bugs.webkit.org/show_bug.cgi?id=9794
1817 Teach run-webkit-tests how to ignore tests with performance improvements
1819 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
1820 feature, and minor clean up.
1822 2006-07-08 Darin Adler <darin@apple.com>
1824 Reviewed by Geoff (well, half of it at least).
1826 - http://bugs.webkit.org/show_bug.cgi?id=9788
1827 storage leaks in Objective-C tests
1829 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
1830 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
1831 Add a release to fix a storage leak.
1833 2006-07-08 Darin Adler <darin@apple.com>
1835 * Scripts/do-webcore-rename: A few more.
1837 2006-07-08 Darin Adler <darin@apple.com>
1839 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
1841 2006-07-04 Maciej Stachowiak <mjs@apple.com>
1845 http://bugs.webkit.org/show_bug.cgi?id=9734
1846 - add support for dumping non-HTML as text - in this case use textContent
1847 instead of innerText
1849 * DumpRenderTree/DumpRenderTree.m:
1852 2006-07-02 Timothy Hatcher <timothy@apple.com>
1856 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
1857 http://bugs.webkit.org/show_bug.cgi?id=9631
1859 Adds step over and step out. Along with a little code cleanup
1860 that was minor enough to piggyback on this fix.
1862 * Drosera/DebuggerDocument.h:
1863 * Drosera/DebuggerDocument.m:
1864 (-[DebuggerDocument stepOver:]):
1865 (-[DebuggerDocument stepOut:]):
1866 (-[DebuggerDocument windowDidLoad]):
1867 (-[DebuggerDocument windowWillClose:]):
1868 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1869 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1870 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1871 (-[DebuggerDocument validateUserInterfaceItem:]):
1872 * Drosera/Drosera.xcodeproj/project.pbxproj:
1873 * Drosera/debugger.html:
1874 * Drosera/debugger.js:
1875 * Drosera/viewer.css:
1877 2006-07-02 Timothy Hatcher <timothy@apple.com>
1881 Bug 9628: [Drosera] Split Views acting oddly
1882 http://bugs.webkit.org/show_bug.cgi?id=9628
1884 Only update the last X or Y coordinate if the new
1885 size was not constrained. Also adds the resize cursor to
1886 the body during the drag incase there is a constrained
1887 over drag off of the resizer element.
1889 * Drosera/debugger.js:
1891 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1893 Reviewed by Alexey Proskuryakov.
1895 Bug 9692: Warning about Safari extensions on every launch is obnoxious
1896 http://bugs.webkit.org/show_bug.cgi?id=9692
1898 * WebKitLauncher/WebKitNightlyEnabler.m:
1899 (myApplicationWillTerminate): Note that we are exiting cleanly.
1900 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
1901 to exit cleanly on our last invocation. This doesn't play nicely with
1902 multiple concurrent instances of WebKit.app so it can be disabled via
1903 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
1905 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1907 Reviewed by Alexey Proskuryakov.
1909 Bug 9654: Refresh Loop when accessing feed URLs
1910 http://bugs.webkit.org/show_bug.cgi?id=9654
1912 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
1914 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1916 Reviewed by Timothy Hatcher.
1918 Bug 9689: Nightly builds should warn a user about potential problems when using
1920 http://bugs.webkit.org/show_bug.cgi?id=9689
1922 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1923 * WebKitLauncher/WebKitNightlyEnabler.m:
1924 (myBundleDidLoad): Keep track of if any bundles that are loaded.
1925 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
1926 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1927 NSApplicationWillFinishLaunchingNotification notifications so that we can
1928 track bundle loads and notify the user at launch completion.
1930 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1934 - first check-in of a Gdk shell for testing WebKit
1936 * GdkLauncher: Added.
1938 2006-06-29 Timothy Hatcher <timothy@apple.com>
1942 Need to call window close so WebView tears-down completly.
1944 * DumpRenderTree/DumpRenderTree.m:
1945 (main): call [window close]
1947 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1951 Bug 9615: Buildbot configuration should be in SVN repository
1952 http://bugs.webkit.org/show_bug.cgi?id=9615
1954 Import BuildBot configuration files as used by build.webkit.org.
1955 auth.py has been stubbed out so that slave passwords are not disclosed.
1957 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1958 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1959 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1960 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1961 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1962 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1963 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1964 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1965 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1966 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1967 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1968 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
1970 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1974 Bug 9614: Nightly builds should notify user if a newer build is available
1975 http://bugs.webkit.org/show_bug.cgi?id=9614
1977 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1978 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1979 script so it can keep track of the latest revision.
1980 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1981 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1982 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1983 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1984 the nightly start page.
1986 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1990 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1991 http://bugs.webkit.org/show_bug.cgi?id=9579
1993 Report screenY values as (height of zero screen - screenY)
1995 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1997 2006-06-25 Timothy Hatcher <timothy@apple.com>
2001 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
2002 http://bugs.webkit.org/show_bug.cgi?id=9591
2004 Makes breakpoints dragable. If dragged off the gutter they are deleted.
2006 * Drosera/debugger.js:
2007 * Drosera/viewer.css:
2009 2006-06-25 Timothy Hatcher <timothy@apple.com>
2013 Bug 9568: assertion failure in Safari after quitting Drosera
2014 http://bugs.webkit.org/show_bug.cgi?id=9568
2016 Call switchToServerNamed:nil and not removeLister to make sure
2017 the server object is set to nil to prevent further removeListener calls.
2019 * Drosera/DebuggerDocument.m:
2020 (-[DebuggerDocument applicationTerminating:]):
2022 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
2026 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
2027 that the directory is not empty instead of reading in every single file and directory first,
2028 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
2031 2006-06-25 Darin Adler <darin@apple.com>
2033 * Scripts/svn-apply: Tweak comments.
2034 * Scripts/svn-create-patch: Ditto.
2035 * Scripts/svn-unapply: Ditto.
2037 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
2039 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
2041 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
2043 * Scripts/svn-apply: Formatting fix.
2045 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
2049 http://bugs.webkit.org/show_bug.cgi?id=9571
2050 Teach svn-apply and svn-unapply to handle directory adds and removes better
2052 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
2053 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
2055 2006-06-25 Timothy Hatcher <timothy@apple.com>
2059 Bug 9574: Drosera should show inline scripts within the original HTML
2060 http://bugs.webkit.org/show_bug.cgi?id=9574
2062 Refactor the JavaScript code to have a distinction between files
2063 and scripts. Show the script in the context of the HTML file if
2064 it's URL is the same as the frame's main resource. At the time of
2065 the disParseScript callback the main resource might not be completely
2066 loaded, but Drosera needs to show whatever we have at the time. Once
2067 the main resource is finished, update the file source and reload the file.
2069 * Drosera/DebuggerDocument.m:
2070 (-[DebuggerDocument pause]):
2071 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
2072 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2073 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
2074 * Drosera/debugger.css:
2075 * Drosera/debugger.js:
2077 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
2081 http://bugs.webkit.org/show_bug.cgi?id=9570
2082 Teach prepare-ChangeLog to operate on a list of files or directories
2084 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
2085 * Scripts/svn-create-patch: Code refactoring.
2087 2006-06-24 James G. Speth <speth@end.com>
2091 - http://bugs.webkit.org/show_bug.cgi?id=8843
2092 add a way to build Objective-C test cases in HTML
2094 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
2095 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
2096 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
2099 * DumpRenderTree/ObjCPlugin.h:
2100 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
2101 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
2102 (+[ObjCPlugin webScriptNameForSelector:]):
2103 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
2104 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
2105 (+[NSObject allowsScriptsFullAccess]):
2106 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
2107 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
2108 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
2109 (+[JSObjC webScriptNameForSelector:]):
2110 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
2111 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
2112 (-[JSObjC log:]): access to NSLog function
2113 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
2114 (-[JSObjC classOfObject:]):
2115 (-[JSObjC classNameOfObject:]):
2117 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
2119 Reviewed by Timothy.
2121 * DrawTest/Info.plist: Added copyright statement.
2122 * Drosera/Info.plist: Ditto.
2123 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
2124 * WebKitLauncher/Info.plist: Ditto.
2126 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
2128 Build fix. Reviewed by NOBODY.
2130 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
2131 devenv.com not available in VC++ Express installations
2133 * Scripts/webkitdirs.pm: Backed out previous change.
2135 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
2139 - http://bugs.webkit.org/show_bug.cgi?id=7802
2140 devenv.com not available in VC++ Express installations
2142 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2144 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
2148 - http://bugs.webkit.org/show_bug.cgi?id=9564
2149 A bunch of fixes to run-webkit-httpd
2151 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
2152 127.0.0.1. Useful for testing with WinIE running on another machine;
2153 - don't call checkFrameworks() - we do not need a built WebKit here;
2154 - changed tabs to spaces;
2155 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
2156 interactive mode, they were a hassle when testing with several browsers, as one
2157 had to wait for connection to expire);
2158 - remove httpd.pid when done, so that Apache doesn't complain next time.
2160 * Scripts/run-webkit-httpd:
2162 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
2164 Reviewed by ggaren, landed by ap.
2166 - http://bugs.webkit.org/show_bug.cgi?id=9181
2167 Complete DOMUIEvent Obj-C API to reflect UIEvent
2169 Add function to enable logging of all events of one DOM node to stdout.
2171 * DumpRenderTree/EventSendingController.h:
2172 * DumpRenderTree/EventSendingController.m:
2173 (+[EventSendingController initialize]):
2174 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2175 (+[EventSendingController webScriptNameForSelector:]):
2176 (-[EventSendingController enableDOMUIEventLogging:]):
2177 (-[EventSendingController handleEvent:]):
2179 2006-06-23 Kevin Decker <kdecker@apple.com>
2181 Reviewed by Tim Hatcher.
2183 - Made column headers in Drosera resizable.
2185 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
2189 - see http://bugs.webkit.org/show_bug.cgi?id=9539
2190 Another case error preventing build
2192 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
2194 2006-06-22 Timothy Hatcher <timothy@apple.com>
2198 Adds a native toolbar to Drosera to be a good citizen.
2199 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
2200 Fixes a dragging bug from an earlier fix to the divider code.
2201 Fixes some poor indenting in debugger.js.
2203 * Drosera/DebuggerDocument.h:
2204 * Drosera/DebuggerDocument.m:
2205 (-[DebuggerDocument stepInto]):
2206 (-[DebuggerDocument pause:]):
2207 (-[DebuggerDocument resume:]):
2208 (-[DebuggerDocument stepInto:]):
2209 (-[DebuggerDocument windowDidLoad]):
2210 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
2211 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
2212 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
2213 (-[DebuggerDocument validateUserInterfaceItem:]):
2214 * Drosera/English.lproj/MainMenu.nib/classes.nib:
2215 * Drosera/English.lproj/MainMenu.nib/info.nib:
2216 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
2217 * Drosera/debugger.css:
2218 * Drosera/debugger.html:
2219 * Drosera/debugger.js:
2220 * Drosera/viewer.html:
2222 2006-06-22 Kevin Decker <kdecker@apple.com>
2226 - Added pressed column header image.
2227 - Made column headers behave more like Xcode.
2229 2006-06-22 Timothy Hatcher <timothy@apple.com>
2231 Reviewed by Kevin Decker.
2233 Code clean up. Adds the stackframe and makes only the body
2234 of the tables scrollable keeping the header visible.
2235 Shows the current function stack when paused or stepping.
2237 * Drosera/DebuggerApplication.m:
2238 (-[DebuggerApplication awakeFromNib]):
2239 (-[DebuggerApplication numberOfRowsInTableView:]):
2240 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
2241 * Drosera/DebuggerDocument.h:
2242 * Drosera/DebuggerDocument.m:
2243 (-[DebuggerDocument dealloc]):
2244 (-[DebuggerDocument currentFrame]):
2245 (-[DebuggerDocument currentFrameFunctionName]):
2246 (-[DebuggerDocument currentFunctionStack]):
2247 (-[DebuggerDocument log:]):
2248 (-[DebuggerDocument windowWillClose:]):
2249 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2250 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2251 * Drosera/Drosera.xcodeproj/project.pbxproj:
2252 * Drosera/debugger.css:
2253 * Drosera/debugger.html:
2254 * Drosera/debugger.js:
2256 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
2260 Teach run-webkit-httpd to properly look for webkitdirs.pm.
2262 * Scripts/run-webkit-httpd:
2264 2006-06-22 Kevin Decker <kdecker@apple.com>
2266 Reviewed by Tim Hatcher.
2268 - More progress toward Javascript Debugger.
2269 - Added some new images to the project.
2271 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
2275 - http://bugs.webkit.org/show_bug.cgi?id=9516
2276 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
2278 * Scripts/run-webkit-httpd: Added.
2280 2006-06-20 Timothy Hatcher <timothy@apple.com>
2284 Builds Drosera and a launcher to include with the nightly.
2286 * BuildSlaveSupport/build-launcher-app:
2287 * BuildSlaveSupport/build-launcher-dmg:
2288 * Drosera/Drosera.xcodeproj/project.pbxproj:
2289 * Drosera/Info.plist:
2290 * Drosera/LauncherInfo.plist: Added.
2291 * Drosera/launcher.m: Added.
2292 (displayErrorAndQuit):
2293 (checkMacOSXVersion):
2296 * Scripts/build-drosera
2297 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2298 * WebKitLauncher/main.m:
2301 2006-06-20 Timothy Hatcher <timothy@apple.com>
2305 Adds a JavaScript debugger, called Drosera. Named after
2306 a genus of bug eating plants.
2308 * Drosera/DebuggerApplication.h: Added.
2309 * Drosera/DebuggerApplication.m: Added.
2310 (-[DebuggerApplication applicationDidFinishLaunching:]):
2311 (-[DebuggerApplication serverLoaded:]):
2312 (-[DebuggerApplication serverUnloaded:]):
2313 (-[DebuggerApplication awakeFromNib]):
2314 (-[DebuggerApplication showAttachPanel:]):
2315 (-[DebuggerApplication attach:]):
2316 (-[DebuggerApplication numberOfRowsInTableView:]):
2317 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
2318 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
2319 (-[DebuggerApplication tableViewSelectionDidChange:]):
2320 * Drosera/DebuggerDocument.h: Added.
2321 * Drosera/DebuggerDocument.m: Added.
2322 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
2323 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
2324 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
2325 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
2326 (-[DebuggerDocument initWithServerName:]):
2327 (-[DebuggerDocument windowWillClose:]):
2328 (-[DebuggerDocument dealloc]):
2329 (-[DebuggerDocument isPaused]):
2330 (-[DebuggerDocument pause]):
2331 (-[DebuggerDocument resume]):
2332 (-[DebuggerDocument step]):
2333 (-[DebuggerDocument windowNibName]):
2334 (-[DebuggerDocument windowDidLoad]):
2335 (-[DebuggerDocument switchToServerNamed:]):
2336 (-[DebuggerDocument applicationTerminating:]):
2337 (-[DebuggerDocument serverConnectionDidDie:]):
2338 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
2339 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
2340 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
2341 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2342 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2343 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2344 * Drosera/Drosera.pch: Added.
2345 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
2346 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
2347 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
2348 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
2349 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
2350 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
2351 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2352 * Drosera/Images/breakPoint.tif: Added.
2353 * Drosera/Images/breakPointDisabled.tif: Added.
2354 * Drosera/Images/continue.tif: Added.
2355 * Drosera/Images/finishFunction.tif: Added.
2356 * Drosera/Images/glossyFooterFill.tif: Added.
2357 * Drosera/Images/glossyHeader.png: Added.
2358 * Drosera/Images/gradientBackground.png: Added.
2359 * Drosera/Images/gutter.png: Added.
2360 * Drosera/Images/navLeftDisabled.png: Added.
2361 * Drosera/Images/navLeftNormal.png: Added.
2362 * Drosera/Images/navLeftPressed.png: Added.
2363 * Drosera/Images/navRightDisabled.png: Added.
2364 * Drosera/Images/navRightNormal.png: Added.
2365 * Drosera/Images/navRightPressed.png: Added.
2366 * Drosera/Images/pause.tif: Added.
2367 * Drosera/Images/popUpArrows.png: Added.
2368 * Drosera/Images/programCounter.tif: Added.
2369 * Drosera/Images/programCounterBreakPoint.tif: Added.
2370 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
2371 * Drosera/Images/run.tif: Added.
2372 * Drosera/Images/splitterBar.tif: Added.
2373 * Drosera/Images/splitterDimple.tif: Added.
2374 * Drosera/Images/step.tif: Added.
2375 * Drosera/Images/stepOver.tif: Added.
2376 * Drosera/Images/stop.tif: Added.
2377 * Drosera/Images/toolbarBackground.png: Added.
2378 * Drosera/Info.plist: Added.
2379 * Drosera/debugger.css: Added.
2380 * Drosera/debugger.html: Added.
2381 * Drosera/debugger.js: Added.
2382 * Drosera/main.m: Added.
2384 * Drosera/viewer.css: Added.
2385 * Drosera/viewer.html: Added.
2387 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
2391 http://bugs.webkit.org/show_bug.cgi?id=9485
2392 Teach svn-apply and svn-unapply to use full path names
2394 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
2395 * Scripts/svn-unapply: Ditto.
2397 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
2401 - http://bugs.webkit.org/show_bug.cgi?id=9150
2402 DumpRenderTree should be able to keep URL history during runs
2404 Test: LayoutTests/fast/history/clicked-link-is-visited.html
2406 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
2407 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
2408 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
2409 it is currently nil since keepWebHistory() might be called more than once incidentally
2411 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
2412 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
2414 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
2418 http://bugs.webkit.org/show_bug.cgi?id=9395
2419 Make prepare-ChangeLog faster
2421 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
2422 then save the diff output for reuse. Keep a status variable if changes are made to
2423 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
2424 WebCore is updated. Added -h|--help command-line switch and help message. Move test
2425 for no changed files closer to the beginning of the program.
2427 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
2429 Reviewed and landed by ap.
2431 - make DumpRenderTree build
2433 * DumpRenderTree/DumpRenderTree.m:
2434 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
2435 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
2436 (-[LayoutTestController setWindowIsKey:]): Ditto.
2437 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
2439 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
2441 Reviewed by Darin, landed by Geoff.
2443 http://bugs.webkit.org/show_bug.cgi?id=9350
2444 Use pathcmp() when sorting paths in svn-create-patch
2446 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
2447 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
2448 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
2449 switch and printUsage() subroutine.
2451 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
2455 http://bugs.webkit.org/show_bug.cgi?id=9322
2456 Teach svn-create-patch to sort its output
2458 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
2459 by text files first, then by binary files.
2461 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
2465 http://bugs.webkit.org/show_bug.cgi?id=9299
2466 Teach svn-create-patch and friends to work with binary files
2468 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
2469 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
2470 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
2472 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
2476 http://bugs.webkit.org/show_bug.cgi?id=9296
2477 Performance improvement for svn-create-patch
2479 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
2481 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
2485 http://bugs.webkit.org/show_bug.cgi?id=9290
2486 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
2488 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
2489 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
2491 2006-06-03 Steve Falkenburg <sfalken@apple.com>
2495 Switch Spinneret to new hosting mechanism
2497 * Spinneret/Spinneret.sln:
2498 * Spinneret/Spinneret/Spinneret.cpp:
2499 (SpinneretWebHost::updateAddressBar):
2500 (SpinneretWebHost::QueryInterface):
2501 (SpinneretWebHost::AddRef):
2502 (SpinneretWebHost::Release):
2509 * Spinneret/Spinneret/Spinneret.h:
2510 (SpinneretWebHost::didStartProvisionalLoadForFrame):
2511 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2512 (SpinneretWebHost::didFailProvisionalLoadWithError):
2513 (SpinneretWebHost::didCommitLoadForFrame):
2514 (SpinneretWebHost::didReceiveTitle):
2515 (SpinneretWebHost::didReceiveIcon):
2516 (SpinneretWebHost::didFinishLoadForFrame):
2517 (SpinneretWebHost::didFailLoadWithError):
2518 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
2519 (SpinneretWebHost::willPerformClientRedirectToURL):
2520 (SpinneretWebHost::didCancelClientRedirectForFrame):
2521 (SpinneretWebHost::willCloseFrame):
2522 (SpinneretWebHost::windowScriptObjectAvailable):
2523 * Spinneret/Spinneret/Spinneret.vcproj:
2525 2006-06-02 Steve Falkenburg <sfalken@apple.com>
2529 Updated build script
2531 * Scripts/build-webkit:
2533 2006-06-01 Anders Carlsson <acarlsson@apple.com>
2537 * DumpRenderTree/DumpRenderTree.m:
2538 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2539 (-[LayoutTestController clearBackForwardList]):
2540 Add clearBackForwardList function to layoutTestController
2542 2006-06-01 Anders Carlsson <acarlsson@apple.com>
2546 http://bugs.webkit.org/show_bug.cgi?id=8996
2547 slow-utf8-text layout test case failing (no longer deterministic?)
2549 * DumpRenderTree/DumpRenderTree.m:
2551 Dump as text when the response MIME type is text/plain
2553 2006-05-26 Steve Falkenburg <sfalken@apple.com>
2557 * Spinneret/Spinneret.sln:
2558 * Spinneret/Spinneret/Spinneret.vcproj:
2560 2006-05-24 Geoffrey Garen <ggaren@apple.com>
2564 Added 'GCController' to DRT to support garbage collection layout tests.
2566 GCController.collect() and GCController.collectOnAlternateThread() do
2567 what you would expect. The latter takes a boolean argument sepcifying
2568 whether to wait for garbage collection to finish before continuing to
2571 * DumpRenderTree/DumpRenderTree.m:
2572 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2573 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2574 * DumpRenderTree/GCController.h: Added.
2575 * DumpRenderTree/GCController.mm: Added.
2576 (+[GCController isSelectorExcludedFromWebScript:]):
2577 (+[GCController webScriptNameForSelector:]):
2578 (-[GCController collect]):
2579 (-[GCController collectOnAlternateThread:]):
2581 2006-05-23 John Sullivan <sullivan@apple.com>
2585 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2586 Newer Xcode removed some obsolete cruft
2588 * DumpRenderTree/TextInputController.m:
2589 (-[TextInputController textInput]):
2590 added (id) cast to make newer compiler happy
2592 2006-05-22 Steve Falkenburg <sfalken@apple.com>
2598 * Spinneret/Spinneret.sln:
2600 2006-05-18 Darin Adler <darin@apple.com>
2602 - try to fix no-SVG, no-XPATH build, again
2604 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
2606 2006-05-18 Darin Adler <darin@apple.com>
2608 - try to fix no-SVG, no-XPATH build
2610 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
2611 since the former is what's used in the WebCore project now.
2613 2006-05-17 Darin Adler <darin@apple.com>
2615 * Scripts/do-webcore-rename: Some more future renames.
2617 2006-05-16 Adele Peterson <adele@apple.com>
2621 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
2622 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
2624 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
2626 * Scripts/install-unix-extras: Changed to be executable and removed
2627 text in the file generated by "svn diff".
2628 * Scripts/regenerate-makefiles: Ditto.
2630 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
2632 Reviewed by Darin, landed by ap.
2634 - http://bugs.webkit.org/show_bug.cgi?id=8528
2635 Bakefiles (and generated Makefiles) for wx and gdk ports
2637 * Scripts/install-unix-extras: Added.
2638 * Scripts/regenerate-makefiles: Added.
2640 2006-05-10 Steve Falkenburg <sfalken@apple.com>
2644 Fix registry usage from perl script. Turns out libwin32's
2645 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
2647 * Scripts/install-win-extras:
2649 2006-05-09 Steve Falkenburg <sfalken@apple.com>
2652 Add load ended callback.
2656 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
2657 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
2658 * Spinneret/Spinneret/Spinneret.cpp:
2659 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
2660 (_tWinMain): Load built-in test content here instead of in lower-level code.
2661 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
2663 2006-05-08 Maciej Stachowiak <mjs@apple.com>
2667 * Scripts/extract-localizable-strings: Update for correct names of log macros.
2669 2006-05-09 Anders Carlsson <acarlsson@apple.com>
2673 * Scripts/check-dom-results:
2674 Add XPath to the list of results.
2676 2006-05-08 Darin Adler <darin@apple.com>
2678 * Scripts/do-webcore-rename: Add another rename.
2680 2006-05-01 Steve Falkenburg <sfalken@apple.com>
2684 Spinneret now links against the new separate lib.
2686 * Spinneret/Spinneret.sln:
2687 * Spinneret/Spinneret/Spinneret.cpp:
2688 (SpinneretWebHost::updateLocationBar):
2690 * Spinneret/Spinneret/Spinneret.h:
2691 * Spinneret/Spinneret/Spinneret.vcproj:
2692 * Spinneret/Spinneret/WebFrame.cpp: Removed.
2693 * Spinneret/Spinneret/WebFrame.h: Removed.
2694 * Spinneret/Spinneret/WebView.cpp: Removed.
2695 * Spinneret/Spinneret/WebView.h: Removed.
2697 2006-04-28 Steve Falkenburg <sfalken@apple.com>
2701 Modify error reporting registry keys to disable Dr. Watson.
2702 This allows Javascript test cases to complete without blocking UI.
2704 * Scripts/install-win-extras:
2705 - Use Perl Win32 registry functions to disable blocking UI
2708 2006-04-28 Steve Falkenburg <sfalken@apple.com>
2712 Turned off C++ exceptions, fixed memory leaks
2714 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2715 * Spinneret/Spinneret.sln:
2716 * Spinneret/Spinneret/Spinneret.cpp:
2718 * Spinneret/Spinneret/Spinneret.vcproj:
2719 * Spinneret/Spinneret/WebFrame.cpp:
2720 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2721 (WebKit::WebFrame::WebFrame):
2722 (WebKit::WebFrame::~WebFrame):
2723 (WebKit::WebFrame::impl):
2724 * Spinneret/Spinneret/WebFrame.h:
2725 * Spinneret/Spinneret/WebView.cpp:
2726 * Spinneret/Spinneret/stdafx.h:
2728 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
2732 - http://bugs.webkit.org/show_bug.cgi?id=8633
2733 DumpRenderTree should reset the URL cache
2735 * DumpRenderTree/DumpRenderTree.m:
2736 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
2738 2006-04-28 Eric Seidel <eseidel@apple.com>
2740 Reviewed by andersca.
2742 * Scripts/do-webcore-rename: rename KCanvasContainer too
2743 * Scripts/run-webkit-tests: output total time
2745 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
2747 Reviewed by hyatt. Landed by eseidel.
2749 - http://bugs.webkit.org/show_bug.cgi?id=8549
2750 Enable detection of excessive repainting with DumpRenderTree
2752 * DumpRenderTree/DumpRenderTree.m:
2753 (-[LayoutTestController display]):
2755 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
2759 - http://bugs.webkit.org/show_bug.cgi?id=6905
2760 DumpRenderTree needs a way to force painting (to allow invalidation tests)
2762 * DumpRenderTree/DumpRenderTree.m:
2763 (dump): If display() has been called during the test, grab the pixels from
2764 the view, after letting it repaint invalidated rects.
2765 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2766 (-[LayoutTestController display]): Added. Calls -display on the view
2767 and changes the subsequent behavior of dump().
2770 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2774 - http://bugs.webkit.org/show_bug.cgi?id=8532
2775 Update iExploder to 1.3.2
2777 Test case numbers are not compatible with iExploder 1.2.
2779 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
2781 * iExploder/CHANGELOG.txt: Added.
2782 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
2783 * iExploder/README.txt: Added some performance hints.
2785 * iExploder/htdocs/config.rb: Added.
2786 * iExploder/htdocs/cssproperties.in:
2787 * iExploder/htdocs/cssvalues.in:
2788 * iExploder/htdocs/htmlattrs.in:
2789 * iExploder/htdocs/htmltags.in:
2790 * iExploder/htdocs/iexploder.cgi:
2791 - Updated to support the latest HTML & CSS tags, properties, and values from both
2792 the WebKit and Mozilla CVS tree
2793 - cssproperties.in cleanup
2794 - Modularized the code a little bit.
2795 - Fix subtest bug that was causing last 5 tags to be missed
2796 - new subtest algorithm to deal better with larger tag counts
2797 - default HTML_MAX_TAGS increased from 32 to 96
2799 * iExploder/htdocs/index.html: Updated version to 1.3.2.
2800 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
2801 alternative to our run-iexploder-tests.
2802 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
2803 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
2804 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
2806 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2808 - commit Scripts/run-mangleme-tests (missed it the previous time).
2810 2006-04-18 Darin Adler <darin@apple.com>
2812 - attempt to fix Windows buildbot
2814 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
2815 We need a better long-term solution for this.
2817 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2821 - http://bugs.webkit.org/show_bug.cgi?id=8444
2822 Integrate mangleme test script.
2824 Works in a similar way to run-iexploder-tests.
2826 * Scripts/run-mangleme-tests: Added.
2828 * mangleme/Makefile: Added.
2829 * mangleme/README: Added.
2830 * mangleme/mangle.cgi.c: Added.
2831 * mangleme/remangle.cgi.c: Added.
2832 * mangleme/tags.h: Added.
2834 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2838 - http://bugs.webkit.org/show_bug.cgi?id=8443
2839 An easier way to save iExploder tests.
2841 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
2843 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2847 - http://bugs.webkit.org/show_bug.cgi?id=8421
2848 Integrate iExploder test script.
2850 This script generates artificially mangled HTML documents, to test that the browser
2851 doesn't crash when handling ill-formed code.
2854 run-iexploder-tests Open an interactive test page in Safari+ToT.
2855 run-iexploder-tests nnnnn Open test #nnnnn.
2857 Command line options:
2858 --guard-malloc (-g) Use Guard Malloc.
2859 --port=nnnn Run Apache on port nnnn (default is 8000).
2861 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
2862 (thus, Apache is still running), e.g.:
2863 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
2865 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
2867 * Scripts/run-iexploder-tests: Added.
2869 * iExploder/LICENSE.txt: Added.
2870 * iExploder/README.txt: Added.
2871 * iExploder/htdocs: Added.
2872 * iExploder/htdocs/cssproperties.in: Added.
2873 * iExploder/htdocs/cssvalues.in: Added.
2874 * iExploder/htdocs/htmlattrs.in: Added.
2875 * iExploder/htdocs/htmltags.in: Added.
2876 * iExploder/htdocs/htmlvalues.in: Added.
2877 * iExploder/htdocs/iexploder.cgi: Added.
2878 * iExploder/htdocs/index.html: Added.
2879 * iExploder/tools: Added.
2880 * iExploder/tools/lasthit.rb: Added.
2881 * iExploder/tools/osx_last_crash.rb: Added.
2883 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
2887 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
2888 Restore color profile after a crash
2890 * DumpRenderTree/DumpRenderTree.m:
2891 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
2892 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
2893 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
2894 and this code may change significantly.
2896 (main): Install crashHandler.
2898 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
2899 (CFStringGetCStringPtr should NEVER EVER be used!).
2901 2006-04-15 Darin Adler <darin@apple.com>
2905 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
2906 Seems xmlsoft.org's HTTP no longer has what we need.
2908 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
2910 Rubber-stamped by Darin.
2912 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
2913 upload-disk-image stage on buildslaves fail with "No space left on device"
2915 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
2916 'hdiutil create'. This creates the initial disk image based on the size of
2917 the source folder, and copies the contents to the new disk image. The file
2918 extension on the temporary uncompressed disk image has also been altered from
2919 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
2920 the extension is not ".dmg".
2922 2006-04-12 Eric Seidel <eseidel@apple.com>
2926 * Scripts/update-webkit: Make this return non-zero when svn fails.
2928 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2932 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2933 Make HTTP tests using Perl use .pl extension
2935 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2936 removed support for .text. Reduced the number of places that explicitly list supported
2937 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2940 2006-04-06 Darin Adler <darin@apple.com>
2942 Changes requested by Mark Rowe.
2944 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2945 trash at the end of the file.
2946 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2948 * WebKitLauncher/main.m: Removed trash at end of file.
2950 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2953 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2955 Reviewed by Darin, landed by Maciej.
2957 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2958 and bundles the WebKit frameworks inside it.
2959 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2960 containing WebKit.app.
2961 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2962 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2963 number of the SVN working copy.
2964 * WebKitLauncher: Added.
2965 * WebKitLauncher/Info.plist: Added.
2966 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2967 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2968 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2969 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
2970 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2971 the nightly launcher.
2972 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2973 It sets up the environment to have Safari use the bundled frameworks
2974 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2975 * WebKitLauncher/start.html: Added.
2976 * WebKitLauncher/webkit.icns: Added.
2978 2006-04-05 Darin Adler <darin@apple.com>
2982 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2983 are allowed to have global initializers.
2985 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2987 Reviewed by OMG BETH
2989 * Scripts/run-testkjs:
2990 - pipe STDERR to /dev/null by default; new --verbose option overrides
2992 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2993 - output run command in a format that can be copied and pasted into the
2994 terminal to run manually
2996 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2998 Reviewed by harrison
3000 <http://bugs.webkit.org/show_bug.cgi?id=7567>
3001 A drag and drop in DumpRenderTree copies the source, instead of cutting it
3003 Tell the source that the drag is over after the drag is performed, not before.
3005 * DumpRenderTree/EventSendingController.m:
3006 (-[EventSendingController mouseUp]):
3008 2006-04-01 Darin Adler <darin@apple.com>
3012 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
3013 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
3014 elements in that array are not strings.
3016 2006-03-31 Darin Adler <darin@apple.com>
3018 Reviewed by John Sullivan.
3020 - added a "--reset-results" option to run-webkit-tests so you can reset
3021 the results without first deleting expected results
3022 - <rdar://problem/4185878> add scroll position to dumpRenderTree
3024 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
3025 more logical. Moved all the subroutines to the end of the file. Added a
3028 * DumpRenderTree/DumpRenderTree.m:
3029 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
3030 to generate new output for all tests it runs.
3031 (dump): Dump the scroll position if it's non-zero. Always dump the image when
3032 the --dump-all-pixels option is passed. Also tightened up the image dumping
3033 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
3034 with code to save and restore the context.
3036 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
3037 * DumpRenderTree/EventSendingController.m: Added now-needed include.
3039 2006-03-30 Tim Omernick <timo@apple.com>
3041 Reviewed by NOBODY (just fixing copyrights)
3043 * DumpRenderTree/ObjCPlugin.h:
3045 * DumpRenderTree/ObjCPlugin.m: ditto
3046 * DumpRenderTree/ObjCPluginFunction.h: ditto
3047 * DumpRenderTree/ObjCPluginFunction.m: ditto
3049 2006-03-30 Tim Omernick <timo@apple.com>
3053 * DumpRenderTree/DumpRenderTree.m:
3054 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3055 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
3056 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
3057 exposed to JS as a callable object.
3059 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3060 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
3062 * DumpRenderTree/ObjCPlugin.h: Added.
3063 * DumpRenderTree/ObjCPlugin.m: Added.
3064 * DumpRenderTree/ObjCPluginFunction.h: Added.
3065 * DumpRenderTree/ObjCPluginFunction.m: Added.
3067 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3068 Added a new method, "removeDefaultMethod", which removes the default method from the
3069 plugin object's class. The effect is that the plugin object is mutated from a callable
3070 function to a simple object.
3072 Handle "removeDefaultMethod".
3073 (pluginInvokeDefault):
3074 Made the default method actually do something (return 1).
3076 2006-03-30 Eric Seidel <eseidel@apple.com>
3080 Remove WebFrame::viewImpl(), setMainFrame on page.
3082 * Spinneret/Spinneret/WebFrame.cpp:
3083 (WebKit::WebFrame::WebFrame):
3084 * Spinneret/Spinneret/WebFrame.h:
3085 * Spinneret/Spinneret/WebView.cpp:
3086 (WebKit::WebView::mouseMoved):
3087 (WebKit::WebView::mouseDown):
3088 (WebKit::WebView::mouseUp):
3089 (WebKit::WebView::mouseDoubleClick):
3090 (WebKit::WebViewWndProc):
3092 2006-03-30 Eric Seidel <eseidel@apple.com>
3096 Fix html editing input & basic form submission.
3098 * Spinneret/Spinneret/WebFrame.cpp:
3099 (WebKit::WebFrame::submitForm):
3100 (WebKit::WebFrame::loadURL):
3101 * Spinneret/Spinneret/WebFrame.h:
3102 * Spinneret/Spinneret/WebView.cpp:
3103 (WebKit::WebView::keyPress):
3104 (WebKit::WebViewWndProc):
3106 2006-03-28 Justin Garcia <justin.garcia@apple.com>
3110 <rdar://problem/4402375>
3111 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
3113 Added an option to draw the selectionRect.
3115 * DumpRenderTree/DumpRenderTree.m:
3117 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3118 (-[LayoutTestController dumpSelectionRect]):
3121 2006-03-29 Darin Adler <darin@apple.com>
3123 Reviewed by Tim Hatcher.
3125 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
3127 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
3129 2006-03-28 Eric Seidel <eseidel@apple.com>
3133 * Scripts/check-for-global-initializers: remove svg exceptions.
3135 2006-03-28 Timothy Hatcher <timothy@apple.com>
3139 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
3141 * Scripts/check-for-global-initializers:
3143 2006-03-28 Timothy Hatcher <timothy@apple.com>
3145 Build fix. Turn off uninitialized warnings for the first block of code.
3147 * Scripts/check-for-global-initializers:
3149 2006-03-28 Darin Adler <darin@apple.com>
3153 * Scripts/check-for-global-initializers: Added.
3155 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
3157 Reviewed by darin. Landed by eseidel.
3159 - http://bugs.webkit.org/show_bug.cgi?id=7947
3160 Add repaint testing support to run-webkit-tests
3162 * DumpRenderTree/DumpRenderTree.m:
3163 (main): Added --repaint and --horizontal-sweep options.
3164 (dump): Repaint line-by-line or column-by-column when the appropriate option
3166 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
3167 and repaintSweepHorizontally() methods to layoutTestController.
3168 (-[LayoutTestController testRepaint]):
3169 (-[LayoutTestController repaintSweepHorizontally]):
3171 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
3172 to force these settings on tests that do not ask for them.
3174 2006-03-24 Eric Seidel <eseidel@apple.com>
3180 * Spinneret/Spinneret/WebFrame.cpp:
3181 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
3183 2006-03-21 Beth Dakin <bdakin@apple.com>
3187 Add support for keyDown() to DumpRenderTree.
3189 * DumpRenderTree/DumpRenderTree.m:
3190 (main): Set the preference for tabbing to links.
3191 * DumpRenderTree/EventSendingController.m:
3192 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3193 (+[EventSendingController webScriptNameForSelector:]):
3194 (-[EventSendingController keyDown:withModifiers:]):
3196 2006-03-20 Eric Seidel <eseidel@apple.com>
3202 * Spinneret/Spinneret/Spinneret.vcproj:
3203 * Spinneret/Spinneret/WebFrame.h:
3204 * Spinneret/Spinneret/WebView.cpp:
3205 (WebKit::WebView::mouseMoved):
3206 (WebKit::WebView::mouseDown):
3207 (WebKit::WebView::mouseUp):
3208 (WebKit::WebView::mouseDoubleClick):
3209 (WebKit::WebView::keyPress):
3210 (WebKit::WebViewWndProc):
3212 2006-03-19 Darin Adler <darin@apple.com>
3216 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
3217 we can test it in layout tests. We don't really need tests that run with
3218 pop-up blocking off at the moment. If we do some day, we can add some
3219 API for turning it off in the layout test controller.
3221 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
3222 don't ignore the leak; it should no longer show up.
3224 2006-03-17 Anders Carlsson <andersca@mac.com>
3228 * Scripts/install-win-extras:
3229 Fetch "Program Files" location from the environment.
3231 2006-03-17 Eric Seidel <eseidel@apple.com>
3235 Fix Spinneret to pass Events as const & not as pointers.
3237 * Spinneret/Spinneret/WebView.cpp:
3238 (WebKit::WebView::mouseMoved):
3239 (WebKit::WebView::mouseDown):
3240 (WebKit::WebView::mouseUp):
3241 (WebKit::WebView::mouseDoubleClick):
3242 (WebKit::WebView::keyPress):
3244 2006-03-17 Eric Seidel <eseidel@apple.com>
3246 Reviewed by justing.
3248 Add support for basic HTML editing.
3250 * Spinneret/Spinneret/WebView.cpp:
3251 (WebKit::WebView::WebView):
3252 (WebKit::WebView::keyPress):
3254 2006-03-17 Eric Seidel <eseidel@apple.com>
3256 Rubber-stamped by ggaren.
3258 Break DumpRenderTree.m up into several files to make the code more readable.
3260 * DumpRenderTree/DumpRenderTree.h: Added.
3261 * DumpRenderTree/DumpRenderTree.m:
3262 (doneLoading): new accessor function for "done" global.
3263 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3264 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
3265 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
3266 * DumpRenderTree/EditingDelegate.h: Added.
3267 * DumpRenderTree/EditingDelegate.m: Added.
3268 (-[EditingDelegate webViewDidChangeSelection:]):
3269 * DumpRenderTree/EventSendingController.h: Added.
3270 * DumpRenderTree/EventSendingController.m: Added.
3272 2006-03-16 Eric Seidel <eseidel@apple.com>
3276 Add resize, scroll event support.
3278 * Spinneret/Spinneret/WebView.cpp:
3279 (WebKit::WebView::mouseMoved):
3280 (WebKit::WebView::mouseDown):
3281 (WebKit::WebView::mouseUp):
3282 (WebKit::WebView::mouseDoubleClick):
3283 (WebKit::WebView::keyPress):
3284 (WebKit::WebViewWndProc):
3285 * Spinneret/Spinneret/WebView.h:
3287 2006-03-16 Eric Seidel <eseidel@apple.com>
3291 Make build-webkit print correctly to stdout on windows.
3293 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
3295 2006-03-15 Eric Seidel <eseidel@apple.com>
3299 Fix eventSender.mouseClick() to update lastClick timestamp.
3301 * DumpRenderTree/DumpRenderTree.m:
3302 (-[EventSendingController mouseClick]):
3304 2006-03-15 Darin Adler <darin@apple.com>
3308 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
3309 that had a lowercase "i" in it so this builds on case-sensitive
3312 2006-03-15 Geoffrey Garen <ggaren@apple.com>
3316 Added run-testkjs and compare-timing-files scripts, to support super
3319 * Scripts/compare-timing-files: Added.
3320 * Scripts/run-testkjs: Added.
3322 2006-03-14 Eric Seidel <eseidel@apple.com>
3326 Make the URL bar relinquish focus on page load.
3328 * Spinneret/Spinneret/Spinneret.cpp:
3331 2006-03-14 Eric Seidel <eseidel@apple.com>
3335 Fix WebView to allow KeyFocus.
3336 Add handling of space and shift-space for scrolling.
3338 * Spinneret/Spinneret/WebView.cpp:
3339 (WebKit::scrollMessageForKey):
3340 (WebKit::WebViewWndProc):
3342 2006-03-10 Eric Seidel <eseidel@apple.com>
3346 Add scrolling support into Spinneret.
3348 * Spinneret/Spinneret/WebFrame.cpp:
3349 (WebKit::WebFrame::paint):
3350 * Spinneret/Spinneret/WebView.cpp:
3351 (WebKit::WebView::createWebView):
3352 (WebKit::calculateScrollDelta):
3353 (WebKit::scrollMessageForKey):
3354 (WebKit::WebViewWndProc):
3356 2006-03-13 Eric Seidel <eseidel@apple.com>
3360 Fix checksum generation on Intel machines.
3361 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
3362 give a small speed boost now that it uses a shared buffer.
3364 * DumpRenderTree/DumpRenderTree.m:
3367 (md5HashStringForBitmap):
3368 * DumpRenderTree/ImageDiff.m:
3369 (computePercentageDifferent):
3371 2006-03-13 Darin Adler <darin@apple.com>
3373 Reviewed by Tim Hatcher.
3375 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
3376 have it named httpd-1.3 instead.
3378 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
3380 Fix proposed by Mitz Pettel, reviewed by Darin.
3382 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
3383 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
3385 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
3386 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
3389 2006-03-09 Darin Adler <darin@apple.com>
3391 Reviewed by John Sullivan.
3393 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
3394 memory leak in the plug-in tests
3396 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3397 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
3398 (NPP_SetWindow): Remove unneeded code to store the window pointer.
3400 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3401 Moved the browser global in here since it's declared in this file's header.
3402 Changed the code to set up the pluginClass structure to not use function
3403 pointer casts. Those are dangerous because they can hide many types of mismatch.
3404 And indeed when I did this I discovered that many functions were missing their
3405 boolean return values or had parameter declarations with the wrong types.
3406 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
3407 clarity. Added boolean return value: return true when successful and false when not.
3408 (pluginSetProperty): Added boolean return value, return false since we have no
3409 properties we can set.
3410 (pluginInvoke): Added boolean return value. Return true when successful and false
3411 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
3412 return value from calling the browser. Changed code to put the strings in malloc
3413 buffers instead of relying on GCC's extension that allows variable-sized arrays
3415 (pluginInvokeDefault): Added boolean return value, return false since we have no
3416 default function to call.
3417 (pluginInvalidate): Added missing parameter. Removed comment.
3418 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
3419 to cast the result of malloc.
3420 (pluginDeallocate): Removed uneeded cast.
3422 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
3423 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
3424 that match NPObject's fields. Removed unused NPWindow pointer.
3426 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
3428 Test: fast/events/event-sender-mouse-click.html
3432 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
3433 DRT hangs when doing eventSender.mouseDown on native widgets
3435 * DumpRenderTree/DumpRenderTree.m:
3436 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3437 (-[EventSendingController mouseClick]): Simulates a click in a native
3438 widget by queueing a mouseUp before sending the mouseDown, so that
3439 the widget's mouse tracking event loop doesn't hang indefinitely.
3441 2006-03-09 Maciej Stachowiak <mjs@apple.com>
3445 - make link clicks work by handling link click requests
3448 * Spinneret/Spinneret/Spinneret.cpp:
3449 (updateLocationBar):
3450 * Spinneret/Spinneret/Spinneret.h:
3451 * Spinneret/Spinneret/WebFrame.cpp:
3452 (WebKit::WebFrame::WebFrame):
3453 (WebKit::WebFrame::openURL):
3454 (WebKit::WebFrame::loadURL):
3455 * Spinneret/Spinneret/WebFrame.h:
3457 2006-03-08 Eric Seidel <eseidel@apple.com>
3461 Focus URL bar on Spinneret launch, remove border from WebView.
3462 Stop WebFrame from deleting the job (prevent crash).
3464 * Spinneret/Spinneret/Spinneret.cpp:
3466 * Spinneret/Spinneret/WebFrame.cpp:
3467 (WebKit::WebFrame::receivedAllData):
3468 (WebKit::WebFrame::paint):
3469 * Spinneret/Spinneret/WebView.cpp:
3470 (WebKit::WebView::createWebView):
3472 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
3476 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3477 (pluginInvoke): Added a method to test getURL.
3479 2006-03-08 Maciej Stachowiak <mjs@apple.com>
3483 - load URLs, not file paths, in Spinneret
3485 * Spinneret/Spinneret/Spinneret.cpp:
3487 * Spinneret/Spinneret/Spinneret.vcproj:
3488 * Spinneret/Spinneret/WebFrame.cpp:
3489 (WebKit::WebFrame::loadURL):
3490 (WebKit::WebFrame::receivedData):
3491 (WebKit::WebFrame::receivedAllData):
3492 * Spinneret/Spinneret/WebFrame.h:
3493 * Spinneret/Spinneret/WebView.cpp:
3494 (WebKit::WebView::WebView):
3496 2006-03-08 Darin Adler <darin@apple.com>
3500 - fixed AppleScript layout test results to not be endian-dependent
3501 (Hyatt complained to me about this one)
3503 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
3504 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
3505 (which are endian-dependent).
3507 2006-03-07 Darin Adler <darin@apple.com>
3511 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
3512 unwanted output while running layout tests
3514 * DumpRenderTree/DumpRenderTree.m:
3515 (checkedMalloc): Added.
3516 (checkedRealloc): Added.
3517 (makeLargeMallocFailSilently): Added.
3518 (main): Call makeLargeMallocFailSilently.
3520 2006-03-06 Darin Adler <darin@apple.com>
3522 * Scripts/do-webcore-rename: Add some more planned renaming.
3524 2006-03-06 Eric Seidel <eseidel@apple.com>
3528 * Spinneret/Spinneret/WebFrame.cpp:
3529 (WebKit::WebFrame::paint): force layout before painting
3531 2006-03-06 Justin Garcia <justin.garcia@apple.com>
3535 Sent the windowNumber when sending events.
3536 Added leapForward so that we don't have to spend time waiting
3537 in layout tests that do mouse operations that require delays.
3539 * DumpRenderTree/DumpRenderTree.m:
3540 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3541 (+[EventSendingController webScriptNameForSelector:]):
3542 (-[EventSendingController currentEventTime]):
3543 (-[EventSendingController leapForward:]):
3544 (-[EventSendingController mouseDown]):
3545 (-[EventSendingController mouseUp]):
3546 (-[EventSendingController mouseMoveToX:Y:]):
3548 2006-03-05 Darin Adler <darin@apple.com>
3550 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
3551 Script now works (after landing my two pending patches).
3553 2006-03-05 Darin Adler <darin@apple.com>
3555 - check in a script to do a "big" rename in WebCore
3556 (can be run whenever we're ready to do it)
3558 * Scripts/do-webcore-rename: Added.
3560 2006-03-05 Maciej Stachowiak <mjs@apple.com>
3564 * Spinneret/Spinneret/WebFrame.cpp:
3565 (WebKit::WebFrame::loadFilePath): Close file when done.
3567 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
3569 Reviewed by Darin, landed by ap.
3571 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
3572 Mouse moved events do not work in DumpRenderTree
3574 Test: fast/events/event-sender-mouse-moved.html
3576 * DumpRenderTree/DumpRenderTree.m:
3577 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
3579 2006-03-04 Eric Seidel <eseidel@apple.com>
3583 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
3584 Disable background erase to avoid tearing.
3585 Fix potential memory smasher from extra long urls.
3587 * Spinneret/Spinneret/Spinneret.cpp:
3589 * Spinneret/Spinneret/Spinneret.vcproj:
3590 * Spinneret/Spinneret/WebFrame.cpp:
3591 (WebKit::WebFrame::loadFilePath):
3592 (WebKit::WebFrame::paint):
3593 * Spinneret/Spinneret/WebView.cpp:
3594 (WebKit::registerWebViewWithInstance):
3596 2006-03-04 Eric Seidel <eseidel@apple.com>
3600 Hang WebView pointer off of HWND (gets rid of global hack).
3601 Remove MessageBox displayed on url change.
3603 * Spinneret/Spinneret/Spinneret.cpp:
3606 * Spinneret/Spinneret/WebView.cpp:
3607 (WebKit::registerWebViewWithInstance):
3608 (WebKit::WebView::createWebView):
3609 (WebKit::WebViewWndProc):
3611 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
3615 Automatically kill httpd if it appears to be already running.
3617 * Scripts/run-webkit-tests:
3619 2006-03-04 Maciej Stachowiak <mjs@apple.com>
3623 * Spinneret/Spinneret/WebFrame.cpp:
3624 (WebKit::WebFrame::loadFilePath): Improved local file loading.
3626 2006-03-03 Eric Seidel <eseidel@apple.com>
3630 A few more fixes to make run-webkit-tests really work on win32.
3632 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3634 * Scripts/run-webkit-tests:
3636 2006-03-03 Eric Seidel <eseidel@apple.com>
3640 Make run-webkit-tests work on win32.
3642 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3644 (dumpRenderTreeMain):
3645 (dumpRenderTreeToStdOut):
3646 (serializeToStdOut):
3648 * Scripts/run-webkit-tests:
3649 * Scripts/webkitdirs.pm:
3650 * Spinneret/Spinneret/WebView.cpp:
3651 (WebKit::WebView::WebView):
3653 2006-03-03 Eric Seidel <eseidel@apple.com>
3657 Add WebFrame class (to hold Frame and FrameView).
3658 Add Location bar support to Spinneret.
3660 * Spinneret/Spinneret/Spinneret.cpp:
3665 * Spinneret/Spinneret/Spinneret.vcproj:
3666 * Spinneret/Spinneret/WebFrame.cpp: Added.
3667 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
3668 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
3669 (WebKit::WebFrame::WebFrame):
3670 (WebKit::WebFrame::loadFilePath):
3671 (WebKit::WebFrame::loadHTMLString):
3672 (WebKit::WebFrame::paint):
3673 (WebKit::WebFrame::impl):
3674 (WebKit::WebFrame::viewImpl):
3675 * Spinneret/Spinneret/WebFrame.h: Added.
3676 * Spinneret/Spinneret/WebView.cpp:
3677 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
3678 (WebKit::WebView::WebView):
3679 (WebKit::WebView::windowHandle):
3680 (WebKit::WebView::mainFrame):
3681 (WebKit::WebView::mouseMoved):
3682 (WebKit::WebView::mouseDown):
3683 (WebKit::WebView::mouseUp):
3684 (WebKit::WebView::mouseDoubleClick):
3685 (WebKit::WebViewWndProc):
3686 * Spinneret/Spinneret/WebView.h:
3688 2006-03-02 Eric Seidel <eseidel@apple.com>
3692 * Spinneret/Spinneret/WebView.cpp:
3693 (WebKit::registerWebViewWithInstance):
3694 (WebKit::WebView::WebView):
3695 (WebKit::WebView::mouseMoved):