1 2006-12-21 Mark Rowe <bdash@webkit.org>
5 http://bugs.webkit.org/show_bug.cgi?id=11888
6 Bug 11888: REGRESSION (r18320): Web Inspector panes broken
8 * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
10 2006-12-18 Geoffrey Garen <ggaren@apple.com>
12 Reviewed by Beth Dakin.
14 Updated EventSender to be able to send mouse up events outside the WebView.
15 This is a minor tweak to a hackish implementation. The real solution
16 should be to use NSApplication's event sending model instead of rolling
17 our own, but I don't have time for that right now.
19 * DumpRenderTree/EventSendingController.m:
20 (-[EventSendingController mouseUp]):
22 2006-12-15 Marvin Decker <marv.decker@gmail.com>
24 Reviewed by Darin and Alexey.
26 Fix the Windows build, move various Client implementations out of
27 WebCore and into WebKit.
29 * Spinneret/Spinneret.sln:
31 2006-12-14 Timothy Hatcher <timothy@apple.com>
35 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
37 2006-12-13 Zack Rusin <zack@kde.org>
41 Use the qmake build by default with Qt - it's the one that works
44 * Scripts/build-webkit:
45 * Scripts/webkitdirs.pm:
47 2006-12-10 Lars Knoll <lars@trolltech.com>
51 Some more fixes to the dumprendertree application.
52 Fix the run-webkit-tests script for Qt.
54 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
55 (WebCore::DumpRenderTree::open):
56 (WebCore::DumpRenderTree::readStdin):
57 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
58 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
59 * Scripts/run-webkit-tests:
60 * Scripts/webkitdirs.pm:
62 2006-12-10 Rob Buis <buis@kde.org>
66 * DumpRenderTree/DumpRenderTree.m:
69 2006-12-10 Lars Knoll <lars@trolltech.com>
73 Get the DumpRenderTree app to compile again
75 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
76 (WebCore::DumpRenderTree::DumpRenderTree):
77 (WebCore::DumpRenderTree::open):
78 (WebCore::DumpRenderTree::readStdin):
79 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
80 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
81 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
82 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
83 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
86 2006-12-09 George Staikos <staikos@kde.org>
90 Repair QMake build on OS X.
92 * Scripts/build-webkit:
94 2006-12-09 Zack Rusin <zack@kde.org>
96 Fixing small mistakes in the build scripts for
99 * Scripts/build-webkit:
100 * Scripts/webkitdirs.pm:
102 2006-12-09 Simon Hausmann <hausmann@kde.org>
106 Add support for a QMake build using build-webkit --qmake
108 * Scripts/build-webkit:
109 * Scripts/webkitdirs.pm:
111 2006-12-09 George Staikos <staikos@kde.org>
115 Remove reference to Unity.
117 * Scripts/webkitdirs.pm:
119 2006-12-08 Zack Rusin <zack@kde.org>
123 Fix the compile after recent API changes.
125 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
126 (WebCore::DumpRenderTree::DumpRenderTree):
127 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
130 2006-12-08 George Staikos <staikos@kde.org>
134 Build Qt webkit on non-linux, and prefer it if $QTDIR is set
136 * Scripts/build-webkit:
137 * Scripts/webkitdirs.pm:
139 2006-12-06 Steve Falkenburg <sfalken@apple.com>
141 Support C strings for localization
143 * Scripts/extract-localizable-strings:
145 2006-12-04 Steve Falkenburg <sfalken@apple.com>
149 Make extract-localizable-strings compatible with cpp file extensions.
151 * Scripts/extract-localizable-strings:
153 2006-11-21 Darin Adler <darin@apple.com>
157 - a couple changes to reduce the chance of false positives on the leakbot
159 * DumpRenderTree/DumpRenderTree.m:
160 (dumpRenderTree): Move the main function into a separate function so we can run
161 a final garbage collect afterward without any stray values on the stack. Replaced
162 the old way of closing down a WebView (setting the delegates to nil) with the new
163 way (calling the close method), which does a more complete job of shutting
164 everything down without waiting for the WebView object to be deallocated.
165 (main): Put auto-release pool here and added an explicit call to garbage collect.
166 With a separate function, we greatly reduce the chance that a stray address on the
167 stack will keep an object alive.
169 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
170 because I don't have what it takes to fight the power.
172 2006-11-17 Zack Rusin <zack@kde.org>
174 Reviewed by Mitz. Landed by Niko.
178 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
179 (WebCore::DumpRenderTree::DumpRenderTree): Adding
180 ContextMenuClient to the constructor
182 2006-11-12 Mark Rowe <bdash@webkit.org>
186 Clean up of GdkLauncher bakefile.
188 * GdkLauncher/gdklauncher.bkl:
190 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
192 Reviewed and landed by Anders.
194 Make DRT work again on Qt/Linux.
196 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
197 (WebCore::DumpRenderTree::DumpRenderTree):
199 2006-11-10 Zack Rusin <zack@kde.org>
201 Reviewed and landed by Anders.
203 Adjusting to the recent loader changes, making it compile
206 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
207 (WebCore::DumpRenderTree::DumpRenderTree):
208 (WebCore::DumpRenderTree::checkLoaded):
209 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
211 2006-11-10 Zack Rusin <zack@kde.org>
215 Making the Qt code work after refactorings in WebCore.
217 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
218 (WebCore::DumpRenderTree::DumpRenderTree):
219 (WebCore::DumpRenderTree::checkLoaded):
220 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
222 2006-11-08 Darin Adler <darin@apple.com>
226 - same change as below, only tested this time
228 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
229 mode off. I think we need to do this because WebPreferences saves things
230 for us automatically. It would be good to turn that off for DumpRenderTree,
231 but for now lets handle this like the other preferences (set it explicitly
234 2006-11-08 Darin Adler <darin@apple.com>
238 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
239 "tab to links" mode. No current tests depend on this, and there's a new
240 test I want to land that depends on the default setting.
242 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
246 Linux\gdk build fixes.
248 * GdkLauncher/main.cpp:
249 (LauncherFrameGdk::LauncherFrameGdk):
252 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
254 Build fix, approved in principle by Tim H.
256 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
257 Disable deprecated warnings for main.c (TestNetscapePlugin),
258 as it now uses QuickDraw to convert mouse event coordinates.
260 2006-11-05 Timothy Hatcher <timothy@apple.com>
264 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
265 http://bugs.webkit.org/show_bug.cgi?id=11525
267 * Drosera/debugger.js: imporved the function name code
269 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
273 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
274 being attributed to the next test.
276 * DumpRenderTree/EditingDelegate.m:
277 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
278 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
279 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
280 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
281 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
282 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
283 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
284 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
285 (-[EditingDelegate webViewDidBeginEditing:]):
286 (-[EditingDelegate webViewDidChange:]):
287 (-[EditingDelegate webViewDidEndEditing:]):
288 (-[EditingDelegate webViewDidChangeTypingStyle:]):
289 (-[EditingDelegate webViewDidChangeSelection:]):
290 * DumpRenderTree/UIDelegate.m:
291 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
293 2006-11-06 Mark Rowe <bdash@webkit.org>
297 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
299 * Scripts/run-webkit-tests: import the POSIX module.
301 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
305 Test for http://bugs.webkit.org/show_bug.cgi?id=11517
306 REGRESSION: Flash clicks/interactivity not working properly
308 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
310 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
312 plg.eventLoggingEnabled = true;
313 // use eventSender to simulate events...
316 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
320 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
321 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
324 2006-11-04 David Smith <catfish.man@gmail.com>
328 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
329 Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
331 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
333 2006-11-04 David Smith <catfish.man@gmail.com>
337 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
338 Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
340 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
342 2006-11-04 David Smith <catfish.man@gmail.com>
346 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
347 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
349 * Drosera/debugger.js: blur() the function popup when we're done with it.
351 2006-11-04 Mark Rowe <bdash@webkit.org>
355 Fix use of uninitialized value in pattern match.
357 * Scripts/webkitdirs.pm:
359 2006-11-04 Darin Adler <darin@apple.com>
361 Reviewed by Tim Hatcher.
363 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
365 2006-11-03 David Smith <catfish.man@gmail.com>
369 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
370 Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
372 * Drosera/DebuggerApplication.m:
373 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
375 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
379 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
380 Bug 9596: [Drosera] add a function popup to the source pane
382 * Drosera/debugger.css: Added styles for function popup
383 * Drosera/debugger.html: Added function popup button and select
384 * Drosera/debugger.js: Added function popup functionality
386 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
390 http://bugs.webkit.org/show_bug.cgi?id=9671
393 Adds astyle sed script formats according to most of the style guidelines.
395 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
399 http://bugs.webkit.org/show_bug.cgi?id=7323
400 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
402 When dragging, do not send EventSendingController's events immediately. Dragging
403 is supposed to be modal, so we need to perform it from within the delegate, without
404 returning to JS to make the next mouse movement.
406 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
408 * DumpRenderTree/EventSendingController.h:
409 * DumpRenderTree/EventSendingController.m:
410 (-[EventSendingController dealloc]):
411 (-[EventSendingController leapForward:]):
412 (-[EventSendingController mouseDown]):
413 (-[EventSendingController mouseUp]):
414 (-[EventSendingController mouseMoveToX:Y:]):
415 (+[EventSendingController saveEvent:]):
416 (+[EventSendingController replaySavedEvents]):
417 * DumpRenderTree/UIDelegate.m:
418 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
420 2006-11-02 Geoffrey Garen <ggaren@apple.com>
422 Reviewed by Justin Garcia.
424 Made dumping of editing callbacks opt-in, so that editing spew doesn't
425 cloud non-editing tests.
427 * DumpRenderTree/DumpRenderTree.m:
428 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
429 (-[LayoutTestController shouldDumpEditingCallbacks]):
431 * DumpRenderTree/EditingDelegate.m:
432 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
433 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
434 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
435 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
436 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
437 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
438 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
439 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
440 (-[EditingDelegate webViewDidBeginEditing:]):
441 (-[EditingDelegate webViewDidChange:]):
442 (-[EditingDelegate webViewDidEndEditing:]):
443 (-[EditingDelegate webViewDidChangeTypingStyle:]):
444 (-[EditingDelegate webViewDidChangeSelection:]):
446 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
448 Reviewed by Maciej, landed by Anders.
450 - http://bugs.webkit.org/show_bug.cgi?id=7802
451 devenv.com not available in VC++ Express installations
453 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
454 * Scripts/install-win-extras: Make setx.exe actually run.
456 2006-11-01 Stephanie Lewis <slewis@apple.com>
460 Fixed bug where additional arguments got fed to xcode and jsdriver.pl
461 Since testkjs is being built before the tests are run, we don't need
462 to build it with webkit.
465 http://bugs.webkit.org/show_bug.cgi?id=11462
466 http://bugs.webkit.org/show_bug.cgi?id=6168
468 * Scripts/build-webkit:
469 * Scripts/run-javascriptcore-tests:
471 2006-11-01 Brady Eidson <beidson@apple.com>
473 Reviewed by Tim Hatcher
475 Added accessor to get the source directory for use in client scripts
477 * Scripts/webkitdirs.pm:
479 2006-11-01 Mark Rowe <bdash@webkit.org>
483 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
485 * Spinneret/Spinneret/Spinneret.cpp:
487 * WebKitLauncher/WebKitNightlyEnabler.m:
488 (cleanUpAfterOurselves):
490 2006-10-31 Mark Rowe <bdash@webkit.org>
492 Reviewed by Stephanie.
494 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
496 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
497 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
499 2006-10-31 Darin Adler <darin@apple.com>
501 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
502 pasteboard, allocate any number of local pasteboards.
503 (main): Allocate the dictionary of pasteboards.
504 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
506 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
507 explicitly elsewhere.
508 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
509 to the selector rather than calling unconditionally.
511 2006-10-30 Darin Adler <darin@apple.com>
515 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
516 Don't use CFPasteboard.
518 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
522 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
524 * Drosera/debugger.js: ParsedURL() object now recognizes local files
526 2006-10-30 Darin Adler <darin@apple.com>
528 Reviewed by Tim Hatcher.
530 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
531 This should make our buildbot tests no longer need a pasteboard server.
533 2006-10-30 Geoffrey Garen <ggaren@apple.com>
537 Reorganized project file into Delegates and Controllers groups, and split
538 UIDelegate stuff into a UIDelegate class.
540 A little birdy told me that I might end up adding some UIDelegate methods
543 * DumpRenderTree/DumpRenderTree.m:
546 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
548 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
552 Add new platform/graphics include directory.
554 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
556 2006-10-30 Timothy Hatcher <timothy@apple.com>
558 Reviewed by Stephanie.
560 Add a special case for the Internal makefiles, so it can find the OepnSource.
562 * Scripts/webkitdirs.pm:
564 2006-10-30 Stephanie Lewis <slewis@apple.com>
568 Change Makefiles to return non-zero when module make fails.
569 Fix bug where if xcode options are not set, modules can build in the
573 * Scripts/webkitdirs.pm:
575 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
579 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
580 [Drosera] The Console toolbar button should bring the console window to the front.
582 The console now gets focus when its activated but already open. Command + L also
583 now activates/focuses the console.
585 * Drosera/English.lproj/MainMenu.nib/classes.nib:
586 * Drosera/English.lproj/MainMenu.nib/info.nib:
587 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
588 * Drosera/debugger.js:
590 2006-10-29 Darin Adler <darin@apple.com>
592 * Scripts/do-file-rename: Renames done, ready for the next round.
593 * Scripts/do-webcore-rename: Ditto.
595 2006-10-29 Darin Adler <darin@apple.com>
597 * Scripts/do-file-rename: And again.
599 2006-10-29 Darin Adler <darin@apple.com>
601 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
603 2006-10-29 Darin Adler <darin@apple.com>
607 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
608 Added. Does nothing, which prevents a beep.
610 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
612 2006-10-27 Brady Eidson <beidson@apple.com>
614 Rubber stamped by Tim Hatcher
616 Added "make universal" to build universal binaries
621 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
625 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
626 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
627 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
629 * DumpRenderTree/EventSendingController.m:
630 (-[EventSendingController mouseMoveToX:Y:]):
632 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
638 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
639 (WebCore::DumpRenderTree::open):
641 2006-10-24 Stephanie Lewis <slewis@apple.com>
645 - Changed run-javascriptcore tests to build testkjs before running.
647 * Scripts/run-javascriptcore-tests:
649 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
655 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
656 - Fix CMakeLists.txt to include platform/network.
658 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
660 2006-10-24 David Smith <catfish.man@gmail.com>
664 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
665 http://bugs.webkit.org/show_bug.cgi?id=11382
667 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
669 2006-10-21 Darin Adler <darin@apple.com>
671 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
672 This was still using "symroots" so it almost never worked!
674 2006-10-21 Darin Adler <darin@apple.com>
676 * Makefile: Build DumpRenderTree too.
677 * Scripts/do-webcore-rename: Removed bogus comment.
679 2006-10-20 David Smith <catfish.man@gmail.com>
683 Bug 11367: Inline Breakpoint Editor Improvements: Act III
684 http://bugs.webkit.org/show_bug.cgi?id=11367
686 Major breakpoint editor changes:
687 * Breakpoints can now either pause or log to console
688 * Code cleanup through use of XPath and converting breakpoints to objects
689 * Breakpoints now track how many times they've been reached
691 * The breakpoint editor now saves changes as they're entered
692 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
693 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
695 * Drosera/DebuggerDocument.m:
696 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
697 * Drosera/Drosera.xcodeproj/project.pbxproj:
698 * Drosera/Images/close.tif: Added.
699 * Drosera/Images/close_active.tif: Added.
700 * Drosera/Images/close_hover.tif: Added.
701 * Drosera/breakpointEditor.html: Added.
702 * Drosera/console.js: Added a way to append messages from outside the console window.
703 * Drosera/debugger.js:
704 * Drosera/viewer.css:
705 * Drosera/viewer.html:
707 2006-10-18 David Smith <catfish.man@gmail.com>
711 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.
713 * Drosera/DebuggerDocument.m:
714 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
715 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
716 * Drosera/debugger.js:
718 2006-10-18 Timothy Hatcher <timothy@apple.com>
722 Bug 10851: Crash with Drosera
723 http://bugs.webkit.org/show_bug.cgi?id=10851
725 This crash results in an assert in debug builds.
727 assert(implementsCall());
729 The __drosera_introspection propery was not callable. Now we just assign
730 this.__drosera_introspection in the evaluateWebScript call.
731 This change also removes one DO message.
733 * Drosera/DebuggerDocument.m:
734 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
736 2006-10-18 Mark Rowe <bdash@webkit.org>
740 http://bugs.webkit.org/show_bug.cgi?id=11304
741 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
743 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
744 when they are not part of the WebKit umbrella framework.
746 2006-10-18 Adam Roben <aroben@apple.com>
748 fixo el buildo II: Release's Pride.
750 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
752 2006-10-18 Geoffrey Garen <ggaren@apple.com>
756 Work around #import of <PDFKit/PDFView.h>.
758 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
760 2006-10-18 David Smith <catfish.man@gmail.com>
764 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
766 * Drosera/Drosera.xcodeproj/project.pbxproj:
767 * Drosera/Images/breakpointeditor.png: Added.
768 * Drosera/breakpointEditor.css: Removed.
769 * Drosera/breakpointEditor.html: Removed.
770 * Drosera/breakpointEditor.js: Removed.
771 * Drosera/debugger.js:
772 * Drosera/viewer.css:
774 2006-10-18 David Harrison <harrison@apple.com>
778 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
779 http://bugs.webkit.org/show_bug.cgi?id=11341
781 Link editing behavior became a preference. DumpRenderTree needs to specify the
782 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
784 * DumpRenderTree/DumpRenderTree.m:
787 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
791 Make compiler not complain about unused gk. SpinneretWebHost was not setting
792 initial refcount upon creation, so it is completely bogus.
794 * GdkLauncher/main.cpp:
796 * Spinneret/Spinneret/Spinneret.h:
797 (SpinneretWebHost::SpinneretWebHost):
799 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
803 Add another hanging test, to the "to be skipped" list.
805 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
807 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
811 Some fixes to get the Qt BuildSlave to run the LayoutTests.
813 * Scripts/build-dumprendertree: No need to call cmake again.
814 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
816 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
820 Force --no-http on Qt/Linux.
822 * Scripts/run-webkit-tests:
824 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
828 Gets JavaScripCore tests running on windows.
830 * Scripts/run-javascriptcore-tests:
831 * Scripts/webkitdirs.pm:
833 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
837 Exclude some tests which crash or hang from Qt/Linux DRT.
838 These are known to fail, and will be fixed at some point :-)
840 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
841 (WebCore::DumpRenderTree::DumpRenderTree):
842 (WebCore::DumpRenderTree::open):
843 (WebCore::DumpRenderTree::readStdin):
844 (WebCore::DumpRenderTree::readSkipFile):
845 (WebCore::DumpRenderTree::checkLoaded):
846 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
847 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
849 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
853 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
855 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
856 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
857 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
859 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
863 Also regenerate GdkLauncher makefiles, since not doing that might
864 lead to mismatch between WebCore and GdkLauncher compiler settings.
866 * Scripts/regenerate-makefiles:
868 2006-10-10 David Smith <catfish.man@gmail.com>
872 Bug 11246: Minor Drosera code cleanup
873 http://bugs.webkit.org/show_bug.cgi?id=11246
875 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
877 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
881 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
883 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
884 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
885 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
886 * Drosera/Images/SourceArrowOpen.png: Added.
887 * Drosera/Images/fileIcon.jpg: Added.
888 * Drosera/Images/siteCollapsed.tif: Added.
889 * Drosera/Images/siteExpanded.tif: Added.
890 * Drosera/Images/siteIcon.tif: Added.
891 * Drosera/debugger.css: Added File Browser styles
892 * Drosera/debugger.html: Added File Browser UI
893 * Drosera/debugger.js: Added File Browser functionality
895 2006-10-10 Darin Adler <darin@apple.com>
897 * Scripts/do-file-rename: Added.
899 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
903 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
904 a page. This allows automatic testing via e.g. valgrind.
906 * GdkLauncher/gdklauncher.bkl:
907 * GdkLauncher/main.cpp:
908 (LauncherFrameGdk::LauncherFrameGdk):
909 (LauncherFrameGdk::setExitAfterLoading):
910 (LauncherFrameGdk::handledOnloadEvents):
914 2006-10-06 David Smith <catfish.man@gmail.com>
918 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
920 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
921 * Drosera/breakpointEditor.css: Added.
922 * Drosera/breakpointEditor.html: Added.
923 * Drosera/breakpointEditor.js: Added.
924 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
926 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
930 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
932 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
933 (WebCore::DumpRenderTree::DumpRenderTree):
935 2006-10-05 Oliver Hunt <ohunt@apple.com>
939 * Scripts/run-webkit-tests:
942 2006-10-04 Anders Carlsson <acarlsson@apple.com>
946 * Scripts/run-webkit-tests:
947 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
950 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
952 Reviewed and landed by ap.
954 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
955 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
957 * Scripts/webkitdirs.pm:
959 2006-10-04 Mark Rowe <bdash@webkit.org>
961 Reviewed by Stephanie.
963 Switch the Qt buildbot to the standard set of build steps.
964 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
965 see if any regressions were spotted, and fail the test if so.
967 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
968 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
969 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
971 2006-10-04 Timothy Hatcher <timothy@apple.com>
973 Reviewed by Mitz Pettel!
975 Bug 10708: [Drosera] Make the console input plaintext-only
976 http://bugs.webkit.org/show_bug.cgi?id=10708
978 Change the console input -webkit-user-modify property to
979 read-write-plaintext-only.
981 * Drosera/console.css:
983 2006-10-04 David Smith <catfish.man@gmail.com>
987 Bug 10473: [Drosera] Overlapping text in JavaScript Console
988 http://bugs.webkit.org/show_bug.cgi?id=10473
990 Using min-height instead of height to avoid overlapping text.
992 * Drosera/console.css:
994 2006-10-04 David Smith <catfish.man@gmail.com>
998 Added a bash-style command history.
1000 * Drosera/console.js:
1002 2006-10-03 Anders Carlsson <acarlsson@apple.com>
1004 Reviewed by Adam and Brady.
1006 * DumpRenderTree/DumpRenderTree.m:
1008 Update URL to Ahem.ttf
1010 2006-10-03 Darin Adler <darin@apple.com>
1012 * Scripts/commit-log-editor: Added missing "close" call. Oops!
1014 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
1016 Reviewed by eseidel. Landed by eseidel.
1018 Offer a way for BuildBot to not colorize the cmake output, when building
1019 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
1021 Default is colorize output, though only Qt platform handles this for now.
1023 * Scripts/build-dumprendertree:
1024 * Scripts/build-webkit:
1025 * Scripts/webkitdirs.pm:
1027 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
1029 Reviewed by eseidel. Landed by eseidel.
1031 Make all important scripts work with Qt/Linux.
1033 You can safely use this now:
1034 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
1036 * Scripts/build-dumprendertree:
1037 * Scripts/run-javascriptcore-tests:
1038 * Scripts/run-webkit-tests:
1039 * Scripts/webkitdirs.pm:
1041 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
1045 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
1047 * Scripts/webkitdirs.pm:
1049 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
1051 Reviewed/landed by Adam.
1053 Proper build-webkit support for Qt/Linux.
1055 Compilation process is similar to OSX now, aka.
1056 the build directory is RootCheckoutDir/WebKitBuild now.
1058 * Scripts/build-webkit: Recognize Qt.
1059 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
1061 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
1065 Add QT build slave to Buildbot.
1067 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
1068 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
1069 * 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.
1070 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
1072 2006-09-28 David Harrison <harrison@apple.com>
1076 Moved an extern declaration from inside a method to the top of the file.
1078 * DumpRenderTree/EventSendingController.m:
1079 (-[EventSendingController clearKillRing]):
1081 2006-09-28 David Harrison <harrison@apple.com>
1085 Add clearKillRing so we can test emacs support with empty kill ring.
1087 * DumpRenderTree/EventSendingController.m:
1088 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1089 (+[EventSendingController webScriptNameForSelector:]):
1090 (-[EventSendingController clearKillRing]):
1092 2006-09-27 MorganL <morganl.webkit@yahoo.com>
1094 Reviewed by Maciej, landed by Brady
1096 Fix URL bar updating.
1098 * Spinneret/Spinneret/Spinneret.h:
1099 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1100 (SpinneretWebHost::didCommitLoadForFrame):
1101 (SpinneretWebHost::didFinishLoadForFrame):
1103 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
1109 * DumpRenderTree/EventSendingController.m:
1110 (-[EventSendingController enableDOMUIEventLogging:]):
1112 2006-09-22 Justin Garcia <justin.garcia@apple.com>
1116 * Scripts/do-webcore-rename:
1118 2006-09-21 Timothy Hatcher <timothy@apple.com>
1122 Bug 10923: Frame scroll layout test failures on the buildbot
1123 http://bugs.webkit.org/show_bug.cgi?id=10923
1125 Added a new method that will toggle on the recursive dump of
1126 child frame scroll positions.
1128 * DumpRenderTree/DumpRenderTree.m:
1129 (dumpFrameScrollPosition):
1130 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1131 (-[LayoutTestController dumpChildFrameScrollPositions]):
1133 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
1135 Reviewed by eseidel. Landed by eseidel.
1137 Detect that close button was pressed and exit cleanly.
1139 * GdkLauncher/main.cpp:
1143 2006-09-17 Adam Roben <aroben@apple.com>
1145 Reviewed by hyatt, sfalken.
1147 Get DumpRenderTree compiling and limping along on Windows.
1149 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1150 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
1151 (main): Add NULL argument to Page constructor.
1152 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
1153 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
1155 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
1159 http://bugs.webkit.org/show_bug.cgi?id=10635
1160 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
1162 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
1163 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
1164 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
1166 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
1170 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
1171 Even More Objective-C DOM auto-generation cleanup
1173 - Change to use new, more Objectice-C'ish version of
1174 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
1175 regression test for fast/events/dblclick-addEventListener.html.
1177 * DumpRenderTree/EventSendingController.m:
1178 (-[EventSendingController fireKeyboardEventsToElement:]):
1180 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
1184 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
1185 Move QtLauncher down to WebKitQt.
1187 * QtLauncher/CMakeLists.txt: Removed.
1188 * QtLauncher/main.cpp: Removed.
1190 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
1194 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
1195 Adjust DumpRenderTree to the FrameQtClient changes.
1197 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
1198 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1199 (WebCore::DumpRenderTree::DumpRenderTree):
1200 (WebCore::DumpRenderTree::~DumpRenderTree):
1201 (WebCore::DumpRenderTree::frame):
1202 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1203 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
1204 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
1205 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
1206 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
1208 2006-09-03 Darin Adler <darin@apple.com>
1210 * Scripts/do-webcore-rename: More renaming plans.
1212 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
1216 http://bugs.webkit.org/show_bug.cgi?id=10693
1217 Convert JavaScript arrays to AppleScript lists
1219 * DumpRenderTree/AppleScriptController.m:
1220 (convertAEDescToObject):
1221 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
1223 2006-08-31 Darin Adler <darin@apple.com>
1225 * Scripts/do-webcore-rename: Prepare for another round of renaming.
1227 2006-08-29 Dan Waylonis <waylonis@google.com>
1231 - Verification of exceptions thrown in a plugin. Test for bug 10114.
1232 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1233 * DumpRenderTree/ObjCPlugin.m:
1234 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1235 (+[ObjCPlugin webScriptNameForSelector:]):
1236 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
1238 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
1242 Commit KDE related tweaks, to be able to
1243 differentiate between a Qt-only or a KDE build.
1245 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
1246 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
1248 2006-08-29 Darin Adler <darin@apple.com>
1250 Reviewed by Tim Hatcher.
1252 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
1253 to work around what seems to be a bug in some versions of gdb.
1255 2006-08-16 Tim Omernick <timo@apple.com>
1257 Reviewed by John Sullivan.
1259 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
1260 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
1263 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1265 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
1266 are expected to be retained by the plug-in, and released by the caller.
1268 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
1270 Reviewed by Tim Hatcher.
1272 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
1274 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1275 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
1276 Qt's DumpRenderTree.
1278 * Scripts/run-webkit-tests:
1279 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
1281 2006-08-28 Darin Adler <darin@apple.com>
1283 Reviewed by Tim Hatcher.
1285 * Scripts/build-drosera: Fix behavior when there are multiple options.
1287 2006-08-27 Timothy Hatcher <timothy@apple.com>
1291 Drosera will be built when you type make.
1293 * Drosera/Makefile: Added.
1295 * Makefile.shared: Added.
1297 2006-08-27 Anders Carlsson <acarlsson@apple.com>
1299 Forgot to add these.
1301 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
1302 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
1303 (WebCore::DumpRenderTree::DumpRenderTree):
1304 (WebCore::DumpRenderTree::~DumpRenderTree):
1305 (WebCore::DumpRenderTree::open):
1306 (WebCore::DumpRenderTree::readStdin):
1307 (WebCore::DumpRenderTree::checkLoaded):
1308 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
1309 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
1312 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
1314 Reviewed by Eric, landed by Anders.
1316 Add DumpRenderTree support for Qt/Linux.
1318 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
1319 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
1320 (WebCore::DumpRenderTree::DumpRenderTree):
1321 (WebCore::DumpRenderTree::~DumpRenderTree):
1322 (WebCore::DumpRenderTree::open):
1323 (WebCore::DumpRenderTree::readStdin):
1324 (WebCore::DumpRenderTree::checkLoaded):
1325 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
1326 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
1328 * Scripts/build-dumprendertree:
1329 * Scripts/run-webkit-tests:
1330 * Scripts/webkitdirs.pm:
1332 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
1334 Reviewed by Eric. Landed by rwlbuis.
1336 Add QtLauncher (was testunity before), which provides a
1337 standalone "browser" to test the Qt platform stuff.
1339 * QtLauncher/CMakeLists.txt: Added.
1340 * QtLauncher/main.cpp: Added.
1343 2006-08-22 Trey Matteson <trey@usa.net>
1347 Added support for a new set of browser navigation tests. The main feature
1348 is the ability for a test to queue up a set of future actions that will
1349 happen after that first page is loaded. This is used to simulate a sequence
1350 of user actions such as filling out forms, loading additional pages or
1351 going back. In addition we can now dump out the state of the back/forward
1352 list, and the scroll position is dumped if not at 0,0.
1354 * DumpRenderTree/DumpRenderTree.m:
1355 (main): Init new state
1356 (compareHistoryItems): New utility to support sorting.
1357 (dumpHistoryItem): Write out a WebHistoryItem and kids.
1358 (dumpFrameScrollPosition): Write out the scroll position.
1359 (dump): Optionally write b/f list or scroll position.
1360 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
1361 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
1362 Kick off any queued actions. Fixed for the case of loads started in
1363 a subframe instead of the root frame.
1364 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
1365 Grab the topmost frame that is being loaded. Do this as early as possible,
1366 instead of in didCommitLoadForFrame.
1367 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1368 Noting a load has started now happens in previous method.
1369 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
1370 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
1371 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
1373 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
1374 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
1375 Add new work to the queue.
1376 (-[LayoutTestController _doLoad:target:]): Do a queued load.
1377 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
1378 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
1379 (-[LayoutTestController scheduleForwardNav:]):
1380 (-[LayoutTestController scheduleReload]):
1381 (-[LayoutTestController scheduleScript:]):
1382 (-[LayoutTestController scheduleLoad:target:]):
1383 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
1384 since it's not one of the functions that does any dumping.
1386 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
1390 - added a function to create a few DOMKeyboardEvents and dispatch
1391 them to a specified HTML element
1392 http://bugs.webkit.org/show_bug.cgi?id=9736
1394 * DumpRenderTree/EventSendingController.m:
1395 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1396 (+[EventSendingController webScriptNameForSelector:]):
1397 (-[EventSendingController fireKeyboardEventsToElement:]):
1399 2006-08-15 Duncan Wilcox <duncan@mclink.it>
1401 Reviewed and tweaked by Darin.
1403 - added DumpRenderTree support so editing delegate can be made to refuse edits
1404 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
1406 * DumpRenderTree/DumpRenderTree.m:
1407 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
1408 to the list of methods.
1409 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
1410 without the colon, for the JavaScript name.
1411 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
1413 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
1415 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
1416 setter methods to the class.
1417 * DumpRenderTree/EditingDelegate.m:
1418 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
1419 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
1420 return the value of acceptsEditing.
1421 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
1422 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
1423 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
1424 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
1425 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1427 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
1428 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
1429 (-[EditingDelegate setAcceptsEditing:]): Added.
1431 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
1435 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
1436 http://bugs.webkit.org/show_bug.cgi?id=10224
1438 * Drosera/Drosera.xcodeproj/project.pbxproj:
1439 * Drosera/LauncherInfo.plist:
1441 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
1443 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
1444 when a test performs an unsuccessful drag and drop operation.
1446 * DumpRenderTree/EventSendingController.m:
1447 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
1448 drag operation for the mouse release is NSDragOperationNone.
1450 2006-08-02 Timothy Hatcher <timothy@apple.com>
1454 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
1455 http://bugs.webkit.org/show_bug.cgi?id=9632
1457 Do not change the file source when normalizing the line endings.
1458 We use this file source to compare against new versions of the source
1459 as it comes in, so we can skip re-syntax highlighting if they are the same.
1460 The problem is apparent on yahoo.com since they have mixed line endings and
1461 once we normalize them the source will always be different. This was
1462 compounded by the fact that yahoo has around 40 inline scripts. Each
1463 inline script causes us to check if the main document has more loaded,
1464 that is when we compare the source strings. Since they are always different
1465 we would syntax highlight yahoo.com 40 times! We do check source length before
1466 doing a more expensive string comparison, but the lengths were the same.
1468 * Drosera/debugger.js:
1470 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
1472 Reviewed by Timothy.
1474 Bug 9931: [Drosera] Needs a cool icon
1475 http://bugs.webkit.org/show_bug.cgi?id=9931
1477 * Drosera/Drosera.icns: Added.
1478 * Drosera/Drosera.xcodeproj/project.pbxproj:
1479 * Drosera/Info.plist:
1481 2006-08-01 Darin Adler <darin@apple.com>
1483 - fix a bug in my recent change where the mouse position at the end of
1484 the last test would affect the results of the next test
1486 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
1488 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1492 http://bugs.webkit.org/show_bug.cgi?id=10182
1493 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
1495 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
1496 Correct the logic to not reload local variable list unless an '=' character is in the expression.
1498 2006-07-31 Darin Adler <darin@apple.com>
1502 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
1503 REGRESSION: failing layout test: fast/events/objc-event-api.html
1505 * DumpRenderTree/DumpRenderTree.m:
1506 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
1507 location in flipped coordinates, since those are the coordinates that we use.
1508 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
1511 * DumpRenderTree/EventSendingController.m:
1512 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
1513 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
1514 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
1515 probably worked OK, but this is needed to be correct.
1516 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
1517 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
1518 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
1519 dump the screenY as-is.
1521 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1525 http://bugs.webkit.org/show_bug.cgi?id=10178
1526 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
1528 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
1529 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
1531 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1535 http://bugs.webkit.org/show_bug.cgi?id=10175
1536 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
1538 * Drosera/DebuggerDocument.m:
1539 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
1541 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1545 http://bugs.webkit.org/show_bug.cgi?id=10167
1546 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
1548 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
1551 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
1555 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
1556 http://bugs.webkit.org/show_bug.cgi?id=9686
1558 * Drosera/DebuggerDocument.m:
1559 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
1560 ensure that the server does not try and notify us of events related to the resumption.
1561 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
1562 call through to JavaScript.
1563 * Drosera/debugger.js: Pause debugger when exception is raised.
1565 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
1569 - fixes for Linux build
1571 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
1572 * GdkLauncher/gdklauncher.bkl: Tweak comment.
1574 2006-07-24 Dan Waylonis <waylonis@google.com>
1576 Reviewed and tweaked a bit by Darin.
1578 * DumpRenderTree/ObjCPlugin.m:
1579 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
1580 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
1581 "echo:" so it's nice to call from JavaScript.
1582 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
1583 to test a round trip through Objective-C types.
1585 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
1589 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
1590 Improve iExploder results parsing
1592 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
1593 in random mode, too.
1595 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
1597 Reviewed by Timothy.
1599 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
1600 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
1602 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
1604 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
1608 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
1609 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
1611 Removed "Property changes" that snuck in as part of the "apply patch" process.
1613 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
1617 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
1618 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
1620 * Scripts/svn-apply:
1621 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
1623 (patch): Use patch(1) for non-binary additions and deletions.
1624 * Scripts/svn-unapply:
1626 (patch): Use patch(1) for reverting non-binary additions and deletions.
1627 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
1629 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1631 Reviewed by Timothy.
1633 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
1634 http://bugs.webkit.org/show_bug.cgi?id=9889
1636 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
1637 so, have stepOut pause on the next call to willExecuteStatement rather than second.
1639 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
1643 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
1644 Teach svn-create-patch and friends to fix ChangeLog patches
1646 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
1647 * Scripts/svn-create-patch: Ditto.
1648 * Scripts/svn-unapply: Ditto.
1650 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1654 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
1655 http://bugs.webkit.org/show_bug.cgi?id=9869
1657 * Drosera/DebuggerDocument.m:
1658 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
1660 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1664 Bug 9863: Drosera needs to show something at launch
1665 http://bugs.webkit.org/show_bug.cgi?id=9863
1667 * Drosera/DebuggerApplication.m:
1668 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
1670 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1672 Reviewed by Timothy.
1674 Lets Drosera build universal for the nightlies. Right now it is not
1675 possible to build a universal binary on a PPC machine because of a
1676 conflict with the universal SDK.
1678 * BuildSlaveSupport/build-launcher-app:
1679 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1681 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
1685 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
1686 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
1688 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1689 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
1690 should open a new stream and deliver the data to the current instance.
1692 2006-07-11 Timothy Hatcher <timothy@apple.com>
1696 Bug 9598: [Drosera] add a JavaScript evaluator console
1697 http://bugs.webkit.org/show_bug.cgi?id=9598
1699 * Drosera/DebuggerApplication.h:
1700 * Drosera/DebuggerApplication.m:
1701 (-[DebuggerApplication knownServers]):
1702 * Drosera/DebuggerDocument.h:
1703 * Drosera/DebuggerDocument.m:
1704 (-[WebScriptObject evaluateScript:inCallFrame:]):
1705 (-[WebScriptObject showConsole:]):
1706 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1707 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
1708 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
1709 (-[WebScriptObject webView:createWebViewWithRequest:]):
1710 (-[WebScriptObject webViewShow:]):
1711 (-[WebScriptObject webViewAreToolbarsVisible:]):
1712 (-[WebScriptObject webView:setToolbarsVisible:]):
1713 (-[WebScriptObject webView:setResizable:]):
1714 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1715 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
1716 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1717 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
1718 (-[WebScriptObject webView:didFinishLoadForFrame:]):
1719 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
1720 * Drosera/Drosera.xcodeproj/project.pbxproj:
1721 * Drosera/Images/console.png: Added.
1722 * Drosera/console.css: Added.
1723 * Drosera/console.html: Added.
1724 * Drosera/console.js: Added.
1726 2006-07-11 Timothy Hatcher <timothy@apple.com>
1728 Reviewed by a tired Geoff.
1730 Bug 9597: [Drosera] hook up the variables table to show stack variables
1731 http://bugs.webkit.org/show_bug.cgi?id=9597
1733 * Drosera/DebuggerDocument.m:
1734 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
1735 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
1736 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
1737 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
1738 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
1739 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
1740 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1741 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1742 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1743 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1744 * Drosera/debugger.css:
1745 * Drosera/debugger.html:
1746 * Drosera/debugger.js:
1748 2006-07-10 Tim Omernick <timo@apple.com>
1750 Reviewed by Beth Dakin.
1752 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
1753 Add DOM access test to DumpRenderTree's Netscape plug-in
1755 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1759 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1763 - http://bugs.webkit.org/show_bug.cgi?id=9839
1764 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
1766 Now track three states: initializing, running, and closed. If we are launched and the previous
1767 state was initializing then we likely just experienced a crash on launch.
1769 * WebKitLauncher/WebKitNightlyEnabler.m:
1770 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
1771 (myApplicationWillTerminate): Update to use new states.
1772 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
1773 initializing as early as practical.
1774 (symbol_lookup): Bring code up to speed with formatting guidelines.
1775 (GDSymbolLookup): Ditto.
1777 2006-07-10 Darin Adler <darin@apple.com>
1779 - try to fix Windows build
1781 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1782 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
1784 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1786 Build fix. Reviewed by NOBODY.
1788 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1789 devenv.com not available in VC++ Express installations
1791 * Scripts/webkitdirs.pm: Backed out previous change.
1793 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1797 - http://bugs.webkit.org/show_bug.cgi?id=9693
1798 svn-apply should set ChangeLog date correctly when applying patches
1800 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
1801 before applying the patch.
1802 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
1804 2006-07-09 Darin Adler <darin@apple.com>
1806 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
1808 2006-07-09 Darin Adler <darin@apple.com>
1810 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
1812 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1814 Reviewed by NOBODY (build fix).
1816 - http://bugs.webkit.org/show_bug.cgi?id=7802
1817 devenv.com not available in VC++ Express installations
1819 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
1820 work again. Add VC++ Express check as the fallback.
1822 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
1824 Reviewed by Timothy Hatcher.
1826 - http://bugs.webkit.org/show_bug.cgi?id=7802
1827 devenv.com not available in VC++ Express installations
1829 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1831 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
1835 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
1836 Patch by coldwinter@katamail.com.
1838 In the congratulations message, "capatibilies" should be "capabilities".
1840 * Scripts/build-webkit:
1842 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1844 Reviewed by Timothy Hatcher.
1846 - http://bugs.webkit.org/show_bug.cgi?id=9794
1847 Teach run-webkit-tests how to ignore tests with performance improvements
1849 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
1850 feature, and minor clean up.
1852 2006-07-08 Darin Adler <darin@apple.com>
1854 Reviewed by Geoff (well, half of it at least).
1856 - http://bugs.webkit.org/show_bug.cgi?id=9788
1857 storage leaks in Objective-C tests
1859 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
1860 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
1861 Add a release to fix a storage leak.
1863 2006-07-08 Darin Adler <darin@apple.com>
1865 * Scripts/do-webcore-rename: A few more.
1867 2006-07-08 Darin Adler <darin@apple.com>
1869 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
1871 2006-07-04 Maciej Stachowiak <mjs@apple.com>
1875 http://bugs.webkit.org/show_bug.cgi?id=9734
1876 - add support for dumping non-HTML as text - in this case use textContent
1877 instead of innerText
1879 * DumpRenderTree/DumpRenderTree.m:
1882 2006-07-02 Timothy Hatcher <timothy@apple.com>
1886 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
1887 http://bugs.webkit.org/show_bug.cgi?id=9631
1889 Adds step over and step out. Along with a little code cleanup
1890 that was minor enough to piggyback on this fix.
1892 * Drosera/DebuggerDocument.h:
1893 * Drosera/DebuggerDocument.m:
1894 (-[DebuggerDocument stepOver:]):
1895 (-[DebuggerDocument stepOut:]):
1896 (-[DebuggerDocument windowDidLoad]):
1897 (-[DebuggerDocument windowWillClose:]):
1898 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1899 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1900 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1901 (-[DebuggerDocument validateUserInterfaceItem:]):
1902 * Drosera/Drosera.xcodeproj/project.pbxproj:
1903 * Drosera/debugger.html:
1904 * Drosera/debugger.js:
1905 * Drosera/viewer.css:
1907 2006-07-02 Timothy Hatcher <timothy@apple.com>
1911 Bug 9628: [Drosera] Split Views acting oddly
1912 http://bugs.webkit.org/show_bug.cgi?id=9628
1914 Only update the last X or Y coordinate if the new
1915 size was not constrained. Also adds the resize cursor to
1916 the body during the drag incase there is a constrained
1917 over drag off of the resizer element.
1919 * Drosera/debugger.js:
1921 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1923 Reviewed by Alexey Proskuryakov.
1925 Bug 9692: Warning about Safari extensions on every launch is obnoxious
1926 http://bugs.webkit.org/show_bug.cgi?id=9692
1928 * WebKitLauncher/WebKitNightlyEnabler.m:
1929 (myApplicationWillTerminate): Note that we are exiting cleanly.
1930 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
1931 to exit cleanly on our last invocation. This doesn't play nicely with
1932 multiple concurrent instances of WebKit.app so it can be disabled via
1933 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
1935 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1937 Reviewed by Alexey Proskuryakov.
1939 Bug 9654: Refresh Loop when accessing feed URLs
1940 http://bugs.webkit.org/show_bug.cgi?id=9654
1942 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
1944 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1946 Reviewed by Timothy Hatcher.
1948 Bug 9689: Nightly builds should warn a user about potential problems when using
1950 http://bugs.webkit.org/show_bug.cgi?id=9689
1952 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1953 * WebKitLauncher/WebKitNightlyEnabler.m:
1954 (myBundleDidLoad): Keep track of if any bundles that are loaded.
1955 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
1956 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1957 NSApplicationWillFinishLaunchingNotification notifications so that we can
1958 track bundle loads and notify the user at launch completion.
1960 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1964 - first check-in of a Gdk shell for testing WebKit
1966 * GdkLauncher: Added.
1968 2006-06-29 Timothy Hatcher <timothy@apple.com>
1972 Need to call window close so WebView tears-down completly.
1974 * DumpRenderTree/DumpRenderTree.m:
1975 (main): call [window close]
1977 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1981 Bug 9615: Buildbot configuration should be in SVN repository
1982 http://bugs.webkit.org/show_bug.cgi?id=9615
1984 Import BuildBot configuration files as used by build.webkit.org.
1985 auth.py has been stubbed out so that slave passwords are not disclosed.
1987 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1988 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1989 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1990 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1991 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1992 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1993 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1994 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1995 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1996 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1997 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1998 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
2000 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
2004 Bug 9614: Nightly builds should notify user if a newer build is available
2005 http://bugs.webkit.org/show_bug.cgi?id=9614
2007 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
2008 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
2009 script so it can keep track of the latest revision.
2010 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
2011 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
2012 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2013 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
2014 the nightly start page.
2016 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
2020 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
2021 http://bugs.webkit.org/show_bug.cgi?id=9579
2023 Report screenY values as (height of zero screen - screenY)
2025 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
2027 2006-06-25 Timothy Hatcher <timothy@apple.com>
2031 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
2032 http://bugs.webkit.org/show_bug.cgi?id=9591
2034 Makes breakpoints dragable. If dragged off the gutter they are deleted.
2036 * Drosera/debugger.js:
2037 * Drosera/viewer.css:
2039 2006-06-25 Timothy Hatcher <timothy@apple.com>
2043 Bug 9568: assertion failure in Safari after quitting Drosera
2044 http://bugs.webkit.org/show_bug.cgi?id=9568
2046 Call switchToServerNamed:nil and not removeLister to make sure
2047 the server object is set to nil to prevent further removeListener calls.
2049 * Drosera/DebuggerDocument.m:
2050 (-[DebuggerDocument applicationTerminating:]):
2052 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
2056 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
2057 that the directory is not empty instead of reading in every single file and directory first,
2058 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
2061 2006-06-25 Darin Adler <darin@apple.com>
2063 * Scripts/svn-apply: Tweak comments.
2064 * Scripts/svn-create-patch: Ditto.
2065 * Scripts/svn-unapply: Ditto.
2067 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
2069 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
2071 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
2073 * Scripts/svn-apply: Formatting fix.
2075 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
2079 http://bugs.webkit.org/show_bug.cgi?id=9571
2080 Teach svn-apply and svn-unapply to handle directory adds and removes better
2082 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
2083 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
2085 2006-06-25 Timothy Hatcher <timothy@apple.com>
2089 Bug 9574: Drosera should show inline scripts within the original HTML
2090 http://bugs.webkit.org/show_bug.cgi?id=9574
2092 Refactor the JavaScript code to have a distinction between files
2093 and scripts. Show the script in the context of the HTML file if
2094 it's URL is the same as the frame's main resource. At the time of
2095 the disParseScript callback the main resource might not be completely
2096 loaded, but Drosera needs to show whatever we have at the time. Once
2097 the main resource is finished, update the file source and reload the file.
2099 * Drosera/DebuggerDocument.m:
2100 (-[DebuggerDocument pause]):
2101 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
2102 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2103 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
2104 * Drosera/debugger.css:
2105 * Drosera/debugger.js:
2107 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
2111 http://bugs.webkit.org/show_bug.cgi?id=9570
2112 Teach prepare-ChangeLog to operate on a list of files or directories
2114 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
2115 * Scripts/svn-create-patch: Code refactoring.
2117 2006-06-24 James G. Speth <speth@end.com>
2121 - http://bugs.webkit.org/show_bug.cgi?id=8843
2122 add a way to build Objective-C test cases in HTML
2124 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
2125 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
2126 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
2129 * DumpRenderTree/ObjCPlugin.h:
2130 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
2131 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
2132 (+[ObjCPlugin webScriptNameForSelector:]):
2133 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
2134 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
2135 (+[NSObject allowsScriptsFullAccess]):
2136 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
2137 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
2138 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
2139 (+[JSObjC webScriptNameForSelector:]):
2140 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
2141 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
2142 (-[JSObjC log:]): access to NSLog function
2143 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
2144 (-[JSObjC classOfObject:]):
2145 (-[JSObjC classNameOfObject:]):
2147 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
2149 Reviewed by Timothy.
2151 * DrawTest/Info.plist: Added copyright statement.
2152 * Drosera/Info.plist: Ditto.
2153 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
2154 * WebKitLauncher/Info.plist: Ditto.
2156 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
2158 Build fix. Reviewed by NOBODY.
2160 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
2161 devenv.com not available in VC++ Express installations
2163 * Scripts/webkitdirs.pm: Backed out previous change.
2165 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
2169 - http://bugs.webkit.org/show_bug.cgi?id=7802
2170 devenv.com not available in VC++ Express installations
2172 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2174 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
2178 - http://bugs.webkit.org/show_bug.cgi?id=9564
2179 A bunch of fixes to run-webkit-httpd
2181 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
2182 127.0.0.1. Useful for testing with WinIE running on another machine;
2183 - don't call checkFrameworks() - we do not need a built WebKit here;
2184 - changed tabs to spaces;
2185 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
2186 interactive mode, they were a hassle when testing with several browsers, as one
2187 had to wait for connection to expire);
2188 - remove httpd.pid when done, so that Apache doesn't complain next time.
2190 * Scripts/run-webkit-httpd:
2192 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
2194 Reviewed by ggaren, landed by ap.
2196 - http://bugs.webkit.org/show_bug.cgi?id=9181
2197 Complete DOMUIEvent Obj-C API to reflect UIEvent
2199 Add function to enable logging of all events of one DOM node to stdout.
2201 * DumpRenderTree/EventSendingController.h:
2202 * DumpRenderTree/EventSendingController.m:
2203 (+[EventSendingController initialize]):
2204 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2205 (+[EventSendingController webScriptNameForSelector:]):
2206 (-[EventSendingController enableDOMUIEventLogging:]):
2207 (-[EventSendingController handleEvent:]):
2209 2006-06-23 Kevin Decker <kdecker@apple.com>
2211 Reviewed by Tim Hatcher.
2213 - Made column headers in Drosera resizable.
2215 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
2219 - see http://bugs.webkit.org/show_bug.cgi?id=9539
2220 Another case error preventing build
2222 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
2224 2006-06-22 Timothy Hatcher <timothy@apple.com>
2228 Adds a native toolbar to Drosera to be a good citizen.
2229 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
2230 Fixes a dragging bug from an earlier fix to the divider code.
2231 Fixes some poor indenting in debugger.js.
2233 * Drosera/DebuggerDocument.h:
2234 * Drosera/DebuggerDocument.m:
2235 (-[DebuggerDocument stepInto]):
2236 (-[DebuggerDocument pause:]):
2237 (-[DebuggerDocument resume:]):
2238 (-[DebuggerDocument stepInto:]):
2239 (-[DebuggerDocument windowDidLoad]):
2240 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
2241 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
2242 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
2243 (-[DebuggerDocument validateUserInterfaceItem:]):
2244 * Drosera/English.lproj/MainMenu.nib/classes.nib:
2245 * Drosera/English.lproj/MainMenu.nib/info.nib:
2246 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
2247 * Drosera/debugger.css:
2248 * Drosera/debugger.html:
2249 * Drosera/debugger.js:
2250 * Drosera/viewer.html:
2252 2006-06-22 Kevin Decker <kdecker@apple.com>
2256 - Added pressed column header image.
2257 - Made column headers behave more like Xcode.
2259 2006-06-22 Timothy Hatcher <timothy@apple.com>
2261 Reviewed by Kevin Decker.
2263 Code clean up. Adds the stackframe and makes only the body
2264 of the tables scrollable keeping the header visible.
2265 Shows the current function stack when paused or stepping.
2267 * Drosera/DebuggerApplication.m:
2268 (-[DebuggerApplication awakeFromNib]):
2269 (-[DebuggerApplication numberOfRowsInTableView:]):
2270 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
2271 * Drosera/DebuggerDocument.h:
2272 * Drosera/DebuggerDocument.m:
2273 (-[DebuggerDocument dealloc]):
2274 (-[DebuggerDocument currentFrame]):
2275 (-[DebuggerDocument currentFrameFunctionName]):
2276 (-[DebuggerDocument currentFunctionStack]):
2277 (-[DebuggerDocument log:]):
2278 (-[DebuggerDocument windowWillClose:]):
2279 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2280 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2281 * Drosera/Drosera.xcodeproj/project.pbxproj:
2282 * Drosera/debugger.css:
2283 * Drosera/debugger.html:
2284 * Drosera/debugger.js:
2286 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
2290 Teach run-webkit-httpd to properly look for webkitdirs.pm.
2292 * Scripts/run-webkit-httpd:
2294 2006-06-22 Kevin Decker <kdecker@apple.com>
2296 Reviewed by Tim Hatcher.
2298 - More progress toward Javascript Debugger.
2299 - Added some new images to the project.
2301 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
2305 - http://bugs.webkit.org/show_bug.cgi?id=9516
2306 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
2308 * Scripts/run-webkit-httpd: Added.
2310 2006-06-20 Timothy Hatcher <timothy@apple.com>
2314 Builds Drosera and a launcher to include with the nightly.
2316 * BuildSlaveSupport/build-launcher-app:
2317 * BuildSlaveSupport/build-launcher-dmg:
2318 * Drosera/Drosera.xcodeproj/project.pbxproj:
2319 * Drosera/Info.plist:
2320 * Drosera/LauncherInfo.plist: Added.
2321 * Drosera/launcher.m: Added.
2322 (displayErrorAndQuit):
2323 (checkMacOSXVersion):
2326 * Scripts/build-drosera
2327 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2328 * WebKitLauncher/main.m:
2331 2006-06-20 Timothy Hatcher <timothy@apple.com>
2335 Adds a JavaScript debugger, called Drosera. Named after
2336 a genus of bug eating plants.
2338 * Drosera/DebuggerApplication.h: Added.
2339 * Drosera/DebuggerApplication.m: Added.
2340 (-[DebuggerApplication applicationDidFinishLaunching:]):
2341 (-[DebuggerApplication serverLoaded:]):
2342 (-[DebuggerApplication serverUnloaded:]):
2343 (-[DebuggerApplication awakeFromNib]):
2344 (-[DebuggerApplication showAttachPanel:]):
2345 (-[DebuggerApplication attach:]):
2346 (-[DebuggerApplication numberOfRowsInTableView:]):
2347 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
2348 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
2349 (-[DebuggerApplication tableViewSelectionDidChange:]):
2350 * Drosera/DebuggerDocument.h: Added.
2351 * Drosera/DebuggerDocument.m: Added.
2352 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
2353 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
2354 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
2355 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
2356 (-[DebuggerDocument initWithServerName:]):
2357 (-[DebuggerDocument windowWillClose:]):
2358 (-[DebuggerDocument dealloc]):
2359 (-[DebuggerDocument isPaused]):
2360 (-[DebuggerDocument pause]):
2361 (-[DebuggerDocument resume]):
2362 (-[DebuggerDocument step]):
2363 (-[DebuggerDocument windowNibName]):
2364 (-[DebuggerDocument windowDidLoad]):
2365 (-[DebuggerDocument switchToServerNamed:]):
2366 (-[DebuggerDocument applicationTerminating:]):
2367 (-[DebuggerDocument serverConnectionDidDie:]):
2368 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
2369 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
2370 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
2371 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2372 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2373 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2374 * Drosera/Drosera.pch: Added.
2375 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
2376 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
2377 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
2378 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
2379 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
2380 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
2381 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2382 * Drosera/Images/breakPoint.tif: Added.
2383 * Drosera/Images/breakPointDisabled.tif: Added.
2384 * Drosera/Images/continue.tif: Added.
2385 * Drosera/Images/finishFunction.tif: Added.
2386 * Drosera/Images/glossyFooterFill.tif: Added.
2387 * Drosera/Images/glossyHeader.png: Added.
2388 * Drosera/Images/gradientBackground.png: Added.
2389 * Drosera/Images/gutter.png: Added.
2390 * Drosera/Images/navLeftDisabled.png: Added.
2391 * Drosera/Images/navLeftNormal.png: Added.
2392 * Drosera/Images/navLeftPressed.png: Added.
2393 * Drosera/Images/navRightDisabled.png: Added.
2394 * Drosera/Images/navRightNormal.png: Added.
2395 * Drosera/Images/navRightPressed.png: Added.
2396 * Drosera/Images/pause.tif: Added.
2397 * Drosera/Images/popUpArrows.png: Added.
2398 * Drosera/Images/programCounter.tif: Added.
2399 * Drosera/Images/programCounterBreakPoint.tif: Added.
2400 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
2401 * Drosera/Images/run.tif: Added.
2402 * Drosera/Images/splitterBar.tif: Added.
2403 * Drosera/Images/splitterDimple.tif: Added.
2404 * Drosera/Images/step.tif: Added.
2405 * Drosera/Images/stepOver.tif: Added.
2406 * Drosera/Images/stop.tif: Added.
2407 * Drosera/Images/toolbarBackground.png: Added.
2408 * Drosera/Info.plist: Added.
2409 * Drosera/debugger.css: Added.
2410 * Drosera/debugger.html: Added.
2411 * Drosera/debugger.js: Added.
2412 * Drosera/main.m: Added.
2414 * Drosera/viewer.css: Added.
2415 * Drosera/viewer.html: Added.
2417 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
2421 http://bugs.webkit.org/show_bug.cgi?id=9485
2422 Teach svn-apply and svn-unapply to use full path names
2424 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
2425 * Scripts/svn-unapply: Ditto.
2427 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
2431 - http://bugs.webkit.org/show_bug.cgi?id=9150
2432 DumpRenderTree should be able to keep URL history during runs
2434 Test: LayoutTests/fast/history/clicked-link-is-visited.html
2436 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
2437 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
2438 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
2439 it is currently nil since keepWebHistory() might be called more than once incidentally
2441 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
2442 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
2444 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
2448 http://bugs.webkit.org/show_bug.cgi?id=9395
2449 Make prepare-ChangeLog faster
2451 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
2452 then save the diff output for reuse. Keep a status variable if changes are made to
2453 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
2454 WebCore is updated. Added -h|--help command-line switch and help message. Move test
2455 for no changed files closer to the beginning of the program.
2457 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
2459 Reviewed and landed by ap.
2461 - make DumpRenderTree build
2463 * DumpRenderTree/DumpRenderTree.m:
2464 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
2465 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
2466 (-[LayoutTestController setWindowIsKey:]): Ditto.
2467 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
2469 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
2471 Reviewed by Darin, landed by Geoff.
2473 http://bugs.webkit.org/show_bug.cgi?id=9350
2474 Use pathcmp() when sorting paths in svn-create-patch
2476 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
2477 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
2478 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
2479 switch and printUsage() subroutine.
2481 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
2485 http://bugs.webkit.org/show_bug.cgi?id=9322
2486 Teach svn-create-patch to sort its output
2488 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
2489 by text files first, then by binary files.
2491 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
2495 http://bugs.webkit.org/show_bug.cgi?id=9299
2496 Teach svn-create-patch and friends to work with binary files
2498 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
2499 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
2500 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
2502 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
2506 http://bugs.webkit.org/show_bug.cgi?id=9296
2507 Performance improvement for svn-create-patch
2509 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
2511 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
2515 http://bugs.webkit.org/show_bug.cgi?id=9290
2516 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
2518 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
2519 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
2521 2006-06-03 Steve Falkenburg <sfalken@apple.com>
2525 Switch Spinneret to new hosting mechanism
2527 * Spinneret/Spinneret.sln:
2528 * Spinneret/Spinneret/Spinneret.cpp:
2529 (SpinneretWebHost::updateAddressBar):
2530 (SpinneretWebHost::QueryInterface):
2531 (SpinneretWebHost::AddRef):
2532 (SpinneretWebHost::Release):
2539 * Spinneret/Spinneret/Spinneret.h:
2540 (SpinneretWebHost::didStartProvisionalLoadForFrame):
2541 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2542 (SpinneretWebHost::didFailProvisionalLoadWithError):
2543 (SpinneretWebHost::didCommitLoadForFrame):
2544 (SpinneretWebHost::didReceiveTitle):
2545 (SpinneretWebHost::didReceiveIcon):
2546 (SpinneretWebHost::didFinishLoadForFrame):
2547 (SpinneretWebHost::didFailLoadWithError):
2548 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
2549 (SpinneretWebHost::willPerformClientRedirectToURL):
2550 (SpinneretWebHost::didCancelClientRedirectForFrame):
2551 (SpinneretWebHost::willCloseFrame):
2552 (SpinneretWebHost::windowScriptObjectAvailable):
2553 * Spinneret/Spinneret/Spinneret.vcproj:
2555 2006-06-02 Steve Falkenburg <sfalken@apple.com>
2559 Updated build script
2561 * Scripts/build-webkit:
2563 2006-06-01 Anders Carlsson <acarlsson@apple.com>
2567 * DumpRenderTree/DumpRenderTree.m:
2568 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2569 (-[LayoutTestController clearBackForwardList]):
2570 Add clearBackForwardList function to layoutTestController
2572 2006-06-01 Anders Carlsson <acarlsson@apple.com>
2576 http://bugs.webkit.org/show_bug.cgi?id=8996
2577 slow-utf8-text layout test case failing (no longer deterministic?)
2579 * DumpRenderTree/DumpRenderTree.m:
2581 Dump as text when the response MIME type is text/plain
2583 2006-05-26 Steve Falkenburg <sfalken@apple.com>
2587 * Spinneret/Spinneret.sln:
2588 * Spinneret/Spinneret/Spinneret.vcproj:
2590 2006-05-24 Geoffrey Garen <ggaren@apple.com>
2594 Added 'GCController' to DRT to support garbage collection layout tests.
2596 GCController.collect() and GCController.collectOnAlternateThread() do
2597 what you would expect. The latter takes a boolean argument sepcifying
2598 whether to wait for garbage collection to finish before continuing to
2601 * DumpRenderTree/DumpRenderTree.m:
2602 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2603 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2604 * DumpRenderTree/GCController.h: Added.
2605 * DumpRenderTree/GCController.mm: Added.
2606 (+[GCController isSelectorExcludedFromWebScript:]):
2607 (+[GCController webScriptNameForSelector:]):
2608 (-[GCController collect]):
2609 (-[GCController collectOnAlternateThread:]):
2611 2006-05-23 John Sullivan <sullivan@apple.com>
2615 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2616 Newer Xcode removed some obsolete cruft
2618 * DumpRenderTree/TextInputController.m:
2619 (-[TextInputController textInput]):
2620 added (id) cast to make newer compiler happy
2622 2006-05-22 Steve Falkenburg <sfalken@apple.com>
2628 * Spinneret/Spinneret.sln:
2630 2006-05-18 Darin Adler <darin@apple.com>
2632 - try to fix no-SVG, no-XPATH build, again
2634 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
2636 2006-05-18 Darin Adler <darin@apple.com>
2638 - try to fix no-SVG, no-XPATH build
2640 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
2641 since the former is what's used in the WebCore project now.
2643 2006-05-17 Darin Adler <darin@apple.com>
2645 * Scripts/do-webcore-rename: Some more future renames.
2647 2006-05-16 Adele Peterson <adele@apple.com>
2651 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
2652 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
2654 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
2656 * Scripts/install-unix-extras: Changed to be executable and removed
2657 text in the file generated by "svn diff".
2658 * Scripts/regenerate-makefiles: Ditto.
2660 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
2662 Reviewed by Darin, landed by ap.
2664 - http://bugs.webkit.org/show_bug.cgi?id=8528
2665 Bakefiles (and generated Makefiles) for wx and gdk ports
2667 * Scripts/install-unix-extras: Added.
2668 * Scripts/regenerate-makefiles: Added.
2670 2006-05-10 Steve Falkenburg <sfalken@apple.com>
2674 Fix registry usage from perl script. Turns out libwin32's
2675 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
2677 * Scripts/install-win-extras:
2679 2006-05-09 Steve Falkenburg <sfalken@apple.com>
2682 Add load ended callback.
2686 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
2687 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
2688 * Spinneret/Spinneret/Spinneret.cpp:
2689 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
2690 (_tWinMain): Load built-in test content here instead of in lower-level code.
2691 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
2693 2006-05-08 Maciej Stachowiak <mjs@apple.com>
2697 * Scripts/extract-localizable-strings: Update for correct names of log macros.
2699 2006-05-09 Anders Carlsson <acarlsson@apple.com>
2703 * Scripts/check-dom-results:
2704 Add XPath to the list of results.
2706 2006-05-08 Darin Adler <darin@apple.com>
2708 * Scripts/do-webcore-rename: Add another rename.
2710 2006-05-01 Steve Falkenburg <sfalken@apple.com>
2714 Spinneret now links against the new separate lib.
2716 * Spinneret/Spinneret.sln:
2717 * Spinneret/Spinneret/Spinneret.cpp:
2718 (SpinneretWebHost::updateLocationBar):
2720 * Spinneret/Spinneret/Spinneret.h:
2721 * Spinneret/Spinneret/Spinneret.vcproj:
2722 * Spinneret/Spinneret/WebFrame.cpp: Removed.
2723 * Spinneret/Spinneret/WebFrame.h: Removed.
2724 * Spinneret/Spinneret/WebView.cpp: Removed.
2725 * Spinneret/Spinneret/WebView.h: Removed.
2727 2006-04-28 Steve Falkenburg <sfalken@apple.com>
2731 Modify error reporting registry keys to disable Dr. Watson.
2732 This allows Javascript test cases to complete without blocking UI.
2734 * Scripts/install-win-extras:
2735 - Use Perl Win32 registry functions to disable blocking UI
2738 2006-04-28 Steve Falkenburg <sfalken@apple.com>
2742 Turned off C++ exceptions, fixed memory leaks
2744 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2745 * Spinneret/Spinneret.sln:
2746 * Spinneret/Spinneret/Spinneret.cpp:
2748 * Spinneret/Spinneret/Spinneret.vcproj:
2749 * Spinneret/Spinneret/WebFrame.cpp:
2750 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2751 (WebKit::WebFrame::WebFrame):
2752 (WebKit::WebFrame::~WebFrame):
2753 (WebKit::WebFrame::impl):
2754 * Spinneret/Spinneret/WebFrame.h:
2755 * Spinneret/Spinneret/WebView.cpp:
2756 * Spinneret/Spinneret/stdafx.h:
2758 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
2762 - http://bugs.webkit.org/show_bug.cgi?id=8633
2763 DumpRenderTree should reset the URL cache
2765 * DumpRenderTree/DumpRenderTree.m:
2766 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
2768 2006-04-28 Eric Seidel <eseidel@apple.com>
2770 Reviewed by andersca.
2772 * Scripts/do-webcore-rename: rename KCanvasContainer too
2773 * Scripts/run-webkit-tests: output total time
2775 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
2777 Reviewed by hyatt. Landed by eseidel.
2779 - http://bugs.webkit.org/show_bug.cgi?id=8549
2780 Enable detection of excessive repainting with DumpRenderTree
2782 * DumpRenderTree/DumpRenderTree.m:
2783 (-[LayoutTestController display]):
2785 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
2789 - http://bugs.webkit.org/show_bug.cgi?id=6905
2790 DumpRenderTree needs a way to force painting (to allow invalidation tests)
2792 * DumpRenderTree/DumpRenderTree.m:
2793 (dump): If display() has been called during the test, grab the pixels from
2794 the view, after letting it repaint invalidated rects.
2795 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2796 (-[LayoutTestController display]): Added. Calls -display on the view
2797 and changes the subsequent behavior of dump().
2800 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2804 - http://bugs.webkit.org/show_bug.cgi?id=8532
2805 Update iExploder to 1.3.2
2807 Test case numbers are not compatible with iExploder 1.2.
2809 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
2811 * iExploder/CHANGELOG.txt: Added.
2812 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
2813 * iExploder/README.txt: Added some performance hints.
2815 * iExploder/htdocs/config.rb: Added.
2816 * iExploder/htdocs/cssproperties.in:
2817 * iExploder/htdocs/cssvalues.in:
2818 * iExploder/htdocs/htmlattrs.in:
2819 * iExploder/htdocs/htmltags.in:
2820 * iExploder/htdocs/iexploder.cgi:
2821 - Updated to support the latest HTML & CSS tags, properties, and values from both
2822 the WebKit and Mozilla CVS tree
2823 - cssproperties.in cleanup
2824 - Modularized the code a little bit.
2825 - Fix subtest bug that was causing last 5 tags to be missed
2826 - new subtest algorithm to deal better with larger tag counts
2827 - default HTML_MAX_TAGS increased from 32 to 96
2829 * iExploder/htdocs/index.html: Updated version to 1.3.2.
2830 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
2831 alternative to our run-iexploder-tests.
2832 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
2833 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
2834 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
2836 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2838 - commit Scripts/run-mangleme-tests (missed it the previous time).
2840 2006-04-18 Darin Adler <darin@apple.com>
2842 - attempt to fix Windows buildbot
2844 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
2845 We need a better long-term solution for this.
2847 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2851 - http://bugs.webkit.org/show_bug.cgi?id=8444
2852 Integrate mangleme test script.
2854 Works in a similar way to run-iexploder-tests.
2856 * Scripts/run-mangleme-tests: Added.
2858 * mangleme/Makefile: Added.
2859 * mangleme/README: Added.
2860 * mangleme/mangle.cgi.c: Added.
2861 * mangleme/remangle.cgi.c: Added.
2862 * mangleme/tags.h: Added.
2864 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2868 - http://bugs.webkit.org/show_bug.cgi?id=8443
2869 An easier way to save iExploder tests.
2871 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
2873 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2877 - http://bugs.webkit.org/show_bug.cgi?id=8421
2878 Integrate iExploder test script.
2880 This script generates artificially mangled HTML documents, to test that the browser
2881 doesn't crash when handling ill-formed code.
2884 run-iexploder-tests Open an interactive test page in Safari+ToT.
2885 run-iexploder-tests nnnnn Open test #nnnnn.
2887 Command line options:
2888 --guard-malloc (-g) Use Guard Malloc.
2889 --port=nnnn Run Apache on port nnnn (default is 8000).
2891 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
2892 (thus, Apache is still running), e.g.:
2893 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
2895 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
2897 * Scripts/run-iexploder-tests: Added.
2899 * iExploder/LICENSE.txt: Added.
2900 * iExploder/README.txt: Added.
2901 * iExploder/htdocs: Added.
2902 * iExploder/htdocs/cssproperties.in: Added.
2903 * iExploder/htdocs/cssvalues.in: Added.
2904 * iExploder/htdocs/htmlattrs.in: Added.
2905 * iExploder/htdocs/htmltags.in: Added.
2906 * iExploder/htdocs/htmlvalues.in: Added.
2907 * iExploder/htdocs/iexploder.cgi: Added.
2908 * iExploder/htdocs/index.html: Added.
2909 * iExploder/tools: Added.
2910 * iExploder/tools/lasthit.rb: Added.
2911 * iExploder/tools/osx_last_crash.rb: Added.
2913 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
2917 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
2918 Restore color profile after a crash
2920 * DumpRenderTree/DumpRenderTree.m:
2921 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
2922 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
2923 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
2924 and this code may change significantly.
2926 (main): Install crashHandler.
2928 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
2929 (CFStringGetCStringPtr should NEVER EVER be used!).
2931 2006-04-15 Darin Adler <darin@apple.com>
2935 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
2936 Seems xmlsoft.org's HTTP no longer has what we need.
2938 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
2940 Rubber-stamped by Darin.
2942 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
2943 upload-disk-image stage on buildslaves fail with "No space left on device"
2945 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
2946 'hdiutil create'. This creates the initial disk image based on the size of
2947 the source folder, and copies the contents to the new disk image. The file
2948 extension on the temporary uncompressed disk image has also been altered from
2949 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
2950 the extension is not ".dmg".
2952 2006-04-12 Eric Seidel <eseidel@apple.com>
2956 * Scripts/update-webkit: Make this return non-zero when svn fails.
2958 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2962 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2963 Make HTTP tests using Perl use .pl extension
2965 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2966 removed support for .text. Reduced the number of places that explicitly list supported
2967 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2970 2006-04-06 Darin Adler <darin@apple.com>
2972 Changes requested by Mark Rowe.
2974 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2975 trash at the end of the file.
2976 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2978 * WebKitLauncher/main.m: Removed trash at end of file.
2980 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2983 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2985 Reviewed by Darin, landed by Maciej.
2987 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2988 and bundles the WebKit frameworks inside it.
2989 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2990 containing WebKit.app.
2991 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2992 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2993 number of the SVN working copy.
2994 * WebKitLauncher: Added.
2995 * WebKitLauncher/Info.plist: Added.
2996 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2997 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2998 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2999 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
3000 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
3001 the nightly launcher.
3002 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
3003 It sets up the environment to have Safari use the bundled frameworks
3004 and load the WebKitNightlyEnabler dylib before exec'ing Safari
3005 * WebKitLauncher/start.html: Added.
3006 * WebKitLauncher/webkit.icns: Added.
3008 2006-04-05 Darin Adler <darin@apple.com>
3012 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
3013 are allowed to have global initializers.
3015 2006-04-05 Geoffrey Garen <ggaren@apple.com>
3017 Reviewed by OMG BETH
3019 * Scripts/run-testkjs:
3020 - pipe STDERR to /dev/null by default; new --verbose option overrides
3022 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
3023 - output run command in a format that can be copied and pasted into the
3024 terminal to run manually
3026 2006-04-03 Justin Garcia <justin.garcia@apple.com>
3028 Reviewed by harrison
3030 <http://bugs.webkit.org/show_bug.cgi?id=7567>
3031 A drag and drop in DumpRenderTree copies the source, instead of cutting it
3033 Tell the source that the drag is over after the drag is performed, not before.
3035 * DumpRenderTree/EventSendingController.m:
3036 (-[EventSendingController mouseUp]):
3038 2006-04-01 Darin Adler <darin@apple.com>
3042 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
3043 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
3044 elements in that array are not strings.
3046 2006-03-31 Darin Adler <darin@apple.com>
3048 Reviewed by John Sullivan.
3050 - added a "--reset-results" option to run-webkit-tests so you can reset
3051 the results without first deleting expected results
3052 - <rdar://problem/4185878> add scroll position to dumpRenderTree
3054 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
3055 more logical. Moved all the subroutines to the end of the file. Added a
3058 * DumpRenderTree/DumpRenderTree.m:
3059 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
3060 to generate new output for all tests it runs.
3061 (dump): Dump the scroll position if it's non-zero. Always dump the image when
3062 the --dump-all-pixels option is passed. Also tightened up the image dumping
3063 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
3064 with code to save and restore the context.
3066 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
3067 * DumpRenderTree/EventSendingController.m: Added now-needed include.
3069 2006-03-30 Tim Omernick <timo@apple.com>
3071 Reviewed by NOBODY (just fixing copyrights)
3073 * DumpRenderTree/ObjCPlugin.h:
3075 * DumpRenderTree/ObjCPlugin.m: ditto
3076 * DumpRenderTree/ObjCPluginFunction.h: ditto
3077 * DumpRenderTree/ObjCPluginFunction.m: ditto
3079 2006-03-30 Tim Omernick <timo@apple.com>
3083 * DumpRenderTree/DumpRenderTree.m:
3084 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3085 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
3086 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
3087 exposed to JS as a callable object.
3089 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3090 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
3092 * DumpRenderTree/ObjCPlugin.h: Added.
3093 * DumpRenderTree/ObjCPlugin.m: Added.
3094 * DumpRenderTree/ObjCPluginFunction.h: Added.
3095 * DumpRenderTree/ObjCPluginFunction.m: Added.
3097 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3098 Added a new method, "removeDefaultMethod", which removes the default method from the
3099 plugin object's class. The effect is that the plugin object is mutated from a callable
3100 function to a simple object.
3102 Handle "removeDefaultMethod".
3103 (pluginInvokeDefault):
3104 Made the default method actually do something (return 1).
3106 2006-03-30 Eric Seidel <eseidel@apple.com>
3110 Remove WebFrame::viewImpl(), setMainFrame on page.
3112 * Spinneret/Spinneret/WebFrame.cpp:
3113 (WebKit::WebFrame::WebFrame):
3114 * Spinneret/Spinneret/WebFrame.h:
3115 * Spinneret/Spinneret/WebView.cpp:
3116 (WebKit::WebView::mouseMoved):
3117 (WebKit::WebView::mouseDown):
3118 (WebKit::WebView::mouseUp):
3119 (WebKit::WebView::mouseDoubleClick):
3120 (WebKit::WebViewWndProc):
3122 2006-03-30 Eric Seidel <eseidel@apple.com>
3126 Fix html editing input & basic form submission.
3128 * Spinneret/Spinneret/WebFrame.cpp:
3129 (WebKit::WebFrame::submitForm):
3130 (WebKit::WebFrame::loadURL):
3131 * Spinneret/Spinneret/WebFrame.h:
3132 * Spinneret/Spinneret/WebView.cpp:
3133 (WebKit::WebView::keyPress):
3134 (WebKit::WebViewWndProc):
3136 2006-03-28 Justin Garcia <justin.garcia@apple.com>
3140 <rdar://problem/4402375>
3141 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
3143 Added an option to draw the selectionRect.
3145 * DumpRenderTree/DumpRenderTree.m:
3147 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3148 (-[LayoutTestController dumpSelectionRect]):
3151 2006-03-29 Darin Adler <darin@apple.com>
3153 Reviewed by Tim Hatcher.
3155 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
3157 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
3159 2006-03-28 Eric Seidel <eseidel@apple.com>
3163 * Scripts/check-for-global-initializers: remove svg exceptions.
3165 2006-03-28 Timothy Hatcher <timothy@apple.com>
3169 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
3171 * Scripts/check-for-global-initializers:
3173 2006-03-28 Timothy Hatcher <timothy@apple.com>
3175 Build fix. Turn off uninitialized warnings for the first block of code.
3177 * Scripts/check-for-global-initializers:
3179 2006-03-28 Darin Adler <darin@apple.com>
3183 * Scripts/check-for-global-initializers: Added.
3185 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
3187 Reviewed by darin. Landed by eseidel.
3189 - http://bugs.webkit.org/show_bug.cgi?id=7947
3190 Add repaint testing support to run-webkit-tests
3192 * DumpRenderTree/DumpRenderTree.m:
3193 (main): Added --repaint and --horizontal-sweep options.
3194 (dump): Repaint line-by-line or column-by-column when the appropriate option
3196 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
3197 and repaintSweepHorizontally() methods to layoutTestController.
3198 (-[LayoutTestController testRepaint]):
3199 (-[LayoutTestController repaintSweepHorizontally]):
3201 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
3202 to force these settings on tests that do not ask for them.
3204 2006-03-24 Eric Seidel <eseidel@apple.com>
3210 * Spinneret/Spinneret/WebFrame.cpp:
3211 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
3213 2006-03-21 Beth Dakin <bdakin@apple.com>
3217 Add support for keyDown() to DumpRenderTree.
3219 * DumpRenderTree/DumpRenderTree.m:
3220 (main): Set the preference for tabbing to links.
3221 * DumpRenderTree/EventSendingController.m:
3222 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3223 (+[EventSendingController webScriptNameForSelector:]):
3224 (-[EventSendingController keyDown:withModifiers:]):
3226 2006-03-20 Eric Seidel <eseidel@apple.com>
3232 * Spinneret/Spinneret/Spinneret.vcproj:
3233 * Spinneret/Spinneret/WebFrame.h:
3234 * Spinneret/Spinneret/WebView.cpp:
3235 (WebKit::WebView::mouseMoved):
3236 (WebKit::WebView::mouseDown):
3237 (WebKit::WebView::mouseUp):
3238 (WebKit::WebView::mouseDoubleClick):
3239 (WebKit::WebView::keyPress):
3240 (WebKit::WebViewWndProc):
3242 2006-03-19 Darin Adler <darin@apple.com>
3246 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
3247 we can test it in layout tests. We don't really need tests that run with
3248 pop-up blocking off at the moment. If we do some day, we can add some
3249 API for turning it off in the layout test controller.
3251 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
3252 don't ignore the leak; it should no longer show up.
3254 2006-03-17 Anders Carlsson <andersca@mac.com>
3258 * Scripts/install-win-extras:
3259 Fetch "Program Files" location from the environment.
3261 2006-03-17 Eric Seidel <eseidel@apple.com>
3265 Fix Spinneret to pass Events as const & not as pointers.
3267 * Spinneret/Spinneret/WebView.cpp:
3268 (WebKit::WebView::mouseMoved):
3269 (WebKit::WebView::mouseDown):
3270 (WebKit::WebView::mouseUp):
3271 (WebKit::WebView::mouseDoubleClick):
3272 (WebKit::WebView::keyPress):
3274 2006-03-17 Eric Seidel <eseidel@apple.com>
3276 Reviewed by justing.
3278 Add support for basic HTML editing.
3280 * Spinneret/Spinneret/WebView.cpp:
3281 (WebKit::WebView::WebView):
3282 (WebKit::WebView::keyPress):
3284 2006-03-17 Eric Seidel <eseidel@apple.com>
3286 Rubber-stamped by ggaren.
3288 Break DumpRenderTree.m up into several files to make the code more readable.
3290 * DumpRenderTree/DumpRenderTree.h: Added.
3291 * DumpRenderTree/DumpRenderTree.m:
3292 (doneLoading): new accessor function for "done" global.
3293 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3294 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
3295 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
3296 * DumpRenderTree/EditingDelegate.h: Added.
3297 * DumpRenderTree/EditingDelegate.m: Added.
3298 (-[EditingDelegate webViewDidChangeSelection:]):
3299 * DumpRenderTree/EventSendingController.h: Added.
3300 * DumpRenderTree/EventSendingController.m: Added.
3302 2006-03-16 Eric Seidel <eseidel@apple.com>
3306 Add resize, scroll event support.
3308 * Spinneret/Spinneret/WebView.cpp:
3309 (WebKit::WebView::mouseMoved):
3310 (WebKit::WebView::mouseDown):
3311 (WebKit::WebView::mouseUp):
3312 (WebKit::WebView::mouseDoubleClick):
3313 (WebKit::WebView::keyPress):
3314 (WebKit::WebViewWndProc):
3315 * Spinneret/Spinneret/WebView.h:
3317 2006-03-16 Eric Seidel <eseidel@apple.com>
3321 Make build-webkit print correctly to stdout on windows.
3323 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
3325 2006-03-15 Eric Seidel <eseidel@apple.com>
3329 Fix eventSender.mouseClick() to update lastClick timestamp.
3331 * DumpRenderTree/DumpRenderTree.m:
3332 (-[EventSendingController mouseClick]):
3334 2006-03-15 Darin Adler <darin@apple.com>
3338 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
3339 that had a lowercase "i" in it so this builds on case-sensitive
3342 2006-03-15 Geoffrey Garen <ggaren@apple.com>
3346 Added run-testkjs and compare-timing-files scripts, to support super
3349 * Scripts/compare-timing-files: Added.
3350 * Scripts/run-testkjs: Added.
3352 2006-03-14 Eric Seidel <eseidel@apple.com>
3356 Make the URL bar relinquish focus on page load.
3358 * Spinneret/Spinneret/Spinneret.cpp:
3361 2006-03-14 Eric Seidel <eseidel@apple.com>
3365 Fix WebView to allow KeyFocus.
3366 Add handling of space and shift-space for scrolling.
3368 * Spinneret/Spinneret/WebView.cpp:
3369 (WebKit::scrollMessageForKey):
3370 (WebKit::WebViewWndProc):
3372 2006-03-10 Eric Seidel <eseidel@apple.com>
3376 Add scrolling support into Spinneret.
3378 * Spinneret/Spinneret/WebFrame.cpp:
3379 (WebKit::WebFrame::paint):
3380 * Spinneret/Spinneret/WebView.cpp:
3381 (WebKit::WebView::createWebView):
3382 (WebKit::calculateScrollDelta):
3383 (WebKit::scrollMessageForKey):
3384 (WebKit::WebViewWndProc):
3386 2006-03-13 Eric Seidel <eseidel@apple.com>
3390 Fix checksum generation on Intel machines.
3391 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
3392 give a small speed boost now that it uses a shared buffer.
3394 * DumpRenderTree/DumpRenderTree.m:
3397 (md5HashStringForBitmap):
3398 * DumpRenderTree/ImageDiff.m:
3399 (computePercentageDifferent):
3401 2006-03-13 Darin Adler <darin@apple.com>
3403 Reviewed by Tim Hatcher.
3405 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
3406 have it named httpd-1.3 instead.
3408 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
3410 Fix proposed by Mitz Pettel, reviewed by Darin.
3412 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
3413 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
3415 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
3416 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
3419 2006-03-09 Darin Adler <darin@apple.com>
3421 Reviewed by John Sullivan.
3423 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
3424 memory leak in the plug-in tests
3426 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3427 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
3428 (NPP_SetWindow): Remove unneeded code to store the window pointer.
3430 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3431 Moved the browser global in here since it's declared in this file's header.
3432 Changed the code to set up the pluginClass structure to not use function
3433 pointer casts. Those are dangerous because they can hide many types of mismatch.
3434 And indeed when I did this I discovered that many functions were missing their
3435 boolean return values or had parameter declarations with the wrong types.
3436 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
3437 clarity. Added boolean return value: return true when successful and false when not.
3438 (pluginSetProperty): Added boolean return value, return false since we have no
3439 properties we can set.
3440 (pluginInvoke): Added boolean return value. Return true when successful and false
3441 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
3442 return value from calling the browser. Changed code to put the strings in malloc
3443 buffers instead of relying on GCC's extension that allows variable-sized arrays
3445 (pluginInvokeDefault): Added boolean return value, return false since we have no
3446 default function to call.
3447 (pluginInvalidate): Added missing parameter. Removed comment.
3448 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
3449 to cast the result of malloc.
3450 (pluginDeallocate): Removed uneeded cast.
3452 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
3453 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
3454 that match NPObject's fields. Removed unused NPWindow pointer.
3456 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
3458 Test: fast/events/event-sender-mouse-click.html
3462 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
3463 DRT hangs when doing eventSender.mouseDown on native widgets
3465 * DumpRenderTree/DumpRenderTree.m:
3466 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3467 (-[EventSendingController mouseClick]): Simulates a click in a native
3468 widget by queueing a mouseUp before sending the mouseDown, so that
3469 the widget's mouse tracking event loop doesn't hang indefinitely.
3471 2006-03-09 Maciej Stachowiak <mjs@apple.com>
3475 - make link clicks work by handling link click requests
3478 * Spinneret/Spinneret/Spinneret.cpp:
3479 (updateLocationBar):
3480 * Spinneret/Spinneret/Spinneret.h:
3481 * Spinneret/Spinneret/WebFrame.cpp:
3482 (WebKit::WebFrame::WebFrame):
3483 (WebKit::WebFrame::openURL):
3484 (WebKit::WebFrame::loadURL):
3485 * Spinneret/Spinneret/WebFrame.h:
3487 2006-03-08 Eric Seidel <eseidel@apple.com>
3491 Focus URL bar on Spinneret launch, remove border from WebView.
3492 Stop WebFrame from deleting the job (prevent crash).
3494 * Spinneret/Spinneret/Spinneret.cpp:
3496 * Spinneret/Spinneret/WebFrame.cpp:
3497 (WebKit::WebFrame::receivedAllData):
3498 (WebKit::WebFrame::paint):
3499 * Spinneret/Spinneret/WebView.cpp:
3500 (WebKit::WebView::createWebView):
3502 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
3506 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3507 (pluginInvoke): Added a method to test getURL.
3509 2006-03-08 Maciej Stachowiak <mjs@apple.com>
3513 - load URLs, not file paths, in Spinneret
3515 * Spinneret/Spinneret/Spinneret.cpp:
3517 * Spinneret/Spinneret/Spinneret.vcproj:
3518 * Spinneret/Spinneret/WebFrame.cpp:
3519 (WebKit::WebFrame::loadURL):
3520 (WebKit::WebFrame::receivedData):
3521 (WebKit::WebFrame::receivedAllData):
3522 * Spinneret/Spinneret/WebFrame.h:
3523 * Spinneret/Spinneret/WebView.cpp:
3524 (WebKit::WebView::WebView):
3526 2006-03-08 Darin Adler <darin@apple.com>
3530 - fixed AppleScript layout test results to not be endian-dependent
3531 (Hyatt complained to me about this one)
3533 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
3534 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
3535 (which are endian-dependent).
3537 2006-03-07 Darin Adler <darin@apple.com>
3541 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
3542 unwanted output while running layout tests
3544 * DumpRenderTree/DumpRenderTree.m:
3545 (checkedMalloc): Added.
3546 (checkedRealloc): Added.
3547 (makeLargeMallocFailSilently): Added.
3548 (main): Call makeLargeMallocFailSilently.
3550 2006-03-06 Darin Adler <darin@apple.com>
3552 * Scripts/do-webcore-rename: Add some more planned renaming.
3554 2006-03-06 Eric Seidel <eseidel@apple.com>
3558 * Spinneret/Spinneret/WebFrame.cpp:
3559 (WebKit::WebFrame::paint): force layout before painting
3561 2006-03-06 Justin Garcia <justin.garcia@apple.com>
3565 Sent the windowNumber when sending events.
3566 Added leapForward so that we don't have to spend time waiting
3567 in layout tests that do mouse operations that require delays.
3569 * DumpRenderTree/DumpRenderTree.m:
3570 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3571 (+[EventSendingController webScriptNameForSelector:]):
3572 (-[EventSendingController currentEventTime]):
3573 (-[EventSendingController leapForward:]):
3574 (-[EventSendingController mouseDown]):
3575 (-[EventSendingController mouseUp]):
3576 (-[EventSendingController mouseMoveToX:Y:]):
3578 2006-03-05 Darin Adler <darin@apple.com>
3580 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
3581 Script now works (after landing my two pending patches).
3583 2006-03-05 Darin Adler <darin@apple.com>
3585 - check in a script to do a "big" rename in WebCore
3586 (can be run whenever we're ready to do it)
3588 * Scripts/do-webcore-rename: Added.
3590 2006-03-05 Maciej Stachowiak <mjs@apple.com>
3594 * Spinneret/Spinneret/WebFrame.cpp:
3595 (WebKit::WebFrame::loadFilePath): Close file when done.
3597 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
3599 Reviewed by Darin, landed by ap.
3601 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
3602 Mouse moved events do not work in DumpRenderTree
3604 Test: fast/events/event-sender-mouse-moved.html
3606 * DumpRenderTree/DumpRenderTree.m:
3607 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
3609 2006-03-04 Eric Seidel <eseidel@apple.com>
3613 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
3614 Disable background erase to avoid tearing.
3615 Fix potential memory smasher from extra long&n