1 2006-11-21 Darin Adler <darin@apple.com>
5 - a couple changes to reduce the chance of false positives on the leakbot
7 * DumpRenderTree/DumpRenderTree.m:
8 (dumpRenderTree): Move the main function into a separate function so we can run
9 a final garbage collect afterward without any stray values on the stack. Replaced
10 the old way of closing down a WebView (setting the delegates to nil) with the new
11 way (calling the close method), which does a more complete job of shutting
12 everything down without waiting for the WebView object to be deallocated.
13 (main): Put auto-release pool here and added an explicit call to garbage collect.
14 With a separate function, we greatly reduce the chance that a stray address on the
15 stack will keep an object alive.
17 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
18 because I don't have what it takes to fight the power.
20 2006-11-17 Zack Rusin <zack@kde.org>
22 Reviewed by Mitz. Landed by Niko.
26 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
27 (WebCore::DumpRenderTree::DumpRenderTree): Adding
28 ContextMenuClient to the constructor
30 2006-11-12 Mark Rowe <bdash@webkit.org>
34 Clean up of GdkLauncher bakefile.
36 * GdkLauncher/gdklauncher.bkl:
38 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
40 Reviewed and landed by Anders.
42 Make DRT work again on Qt/Linux.
44 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
45 (WebCore::DumpRenderTree::DumpRenderTree):
47 2006-11-10 Zack Rusin <zack@kde.org>
49 Reviewed and landed by Anders.
51 Adjusting to the recent loader changes, making it compile
54 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
55 (WebCore::DumpRenderTree::DumpRenderTree):
56 (WebCore::DumpRenderTree::checkLoaded):
57 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
59 2006-11-10 Zack Rusin <zack@kde.org>
63 Making the Qt code work after refactorings in WebCore.
65 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
66 (WebCore::DumpRenderTree::DumpRenderTree):
67 (WebCore::DumpRenderTree::checkLoaded):
68 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
70 2006-11-08 Darin Adler <darin@apple.com>
74 - same change as below, only tested this time
76 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
77 mode off. I think we need to do this because WebPreferences saves things
78 for us automatically. It would be good to turn that off for DumpRenderTree,
79 but for now lets handle this like the other preferences (set it explicitly
82 2006-11-08 Darin Adler <darin@apple.com>
86 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
87 "tab to links" mode. No current tests depend on this, and there's a new
88 test I want to land that depends on the default setting.
90 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
94 Linux\gdk build fixes.
96 * GdkLauncher/main.cpp:
97 (LauncherFrameGdk::LauncherFrameGdk):
100 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
102 Build fix, approved in principle by Tim H.
104 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
105 Disable deprecated warnings for main.c (TestNetscapePlugin),
106 as it now uses QuickDraw to convert mouse event coordinates.
108 2006-11-05 Timothy Hatcher <timothy@apple.com>
112 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
113 http://bugs.webkit.org/show_bug.cgi?id=11525
115 * Drosera/debugger.js: imporved the function name code
117 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
121 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
122 being attributed to the next test.
124 * DumpRenderTree/EditingDelegate.m:
125 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
126 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
127 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
128 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
129 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
130 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
131 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
132 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
133 (-[EditingDelegate webViewDidBeginEditing:]):
134 (-[EditingDelegate webViewDidChange:]):
135 (-[EditingDelegate webViewDidEndEditing:]):
136 (-[EditingDelegate webViewDidChangeTypingStyle:]):
137 (-[EditingDelegate webViewDidChangeSelection:]):
138 * DumpRenderTree/UIDelegate.m:
139 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
141 2006-11-06 Mark Rowe <bdash@webkit.org>
145 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
147 * Scripts/run-webkit-tests: import the POSIX module.
149 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
153 Test for http://bugs.webkit.org/show_bug.cgi?id=11517
154 REGRESSION: Flash clicks/interactivity not working properly
156 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
158 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
160 plg.eventLoggingEnabled = true;
161 // use eventSender to simulate events...
164 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
168 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
169 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
172 2006-11-04 David Smith <catfish.man@gmail.com>
176 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
177 Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
179 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
181 2006-11-04 David Smith <catfish.man@gmail.com>
185 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
186 Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
188 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
190 2006-11-04 David Smith <catfish.man@gmail.com>
194 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
195 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
197 * Drosera/debugger.js: blur() the function popup when we're done with it.
199 2006-11-04 Mark Rowe <bdash@webkit.org>
203 Fix use of uninitialized value in pattern match.
205 * Scripts/webkitdirs.pm:
207 2006-11-04 Darin Adler <darin@apple.com>
209 Reviewed by Tim Hatcher.
211 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
213 2006-11-03 David Smith <catfish.man@gmail.com>
217 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
218 Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
220 * Drosera/DebuggerApplication.m:
221 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
223 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
227 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
228 Bug 9596: [Drosera] add a function popup to the source pane
230 * Drosera/debugger.css: Added styles for function popup
231 * Drosera/debugger.html: Added function popup button and select
232 * Drosera/debugger.js: Added function popup functionality
234 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
238 http://bugs.webkit.org/show_bug.cgi?id=9671
241 Adds astyle sed script formats according to most of the style guidelines.
243 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
247 http://bugs.webkit.org/show_bug.cgi?id=7323
248 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
250 When dragging, do not send EventSendingController's events immediately. Dragging
251 is supposed to be modal, so we need to perform it from within the delegate, without
252 returning to JS to make the next mouse movement.
254 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
256 * DumpRenderTree/EventSendingController.h:
257 * DumpRenderTree/EventSendingController.m:
258 (-[EventSendingController dealloc]):
259 (-[EventSendingController leapForward:]):
260 (-[EventSendingController mouseDown]):
261 (-[EventSendingController mouseUp]):
262 (-[EventSendingController mouseMoveToX:Y:]):
263 (+[EventSendingController saveEvent:]):
264 (+[EventSendingController replaySavedEvents]):
265 * DumpRenderTree/UIDelegate.m:
266 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
268 2006-11-02 Geoffrey Garen <ggaren@apple.com>
270 Reviewed by Justin Garcia.
272 Made dumping of editing callbacks opt-in, so that editing spew doesn't
273 cloud non-editing tests.
275 * DumpRenderTree/DumpRenderTree.m:
276 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
277 (-[LayoutTestController shouldDumpEditingCallbacks]):
279 * DumpRenderTree/EditingDelegate.m:
280 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
281 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
282 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
283 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
284 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
285 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
286 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
287 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
288 (-[EditingDelegate webViewDidBeginEditing:]):
289 (-[EditingDelegate webViewDidChange:]):
290 (-[EditingDelegate webViewDidEndEditing:]):
291 (-[EditingDelegate webViewDidChangeTypingStyle:]):
292 (-[EditingDelegate webViewDidChangeSelection:]):
294 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
296 Reviewed by Maciej, landed by Anders.
298 - http://bugs.webkit.org/show_bug.cgi?id=7802
299 devenv.com not available in VC++ Express installations
301 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
302 * Scripts/install-win-extras: Make setx.exe actually run.
304 2006-11-01 Stephanie Lewis <slewis@apple.com>
308 Fixed bug where additional arguments got fed to xcode and jsdriver.pl
309 Since testkjs is being built before the tests are run, we don't need
310 to build it with webkit.
313 http://bugs.webkit.org/show_bug.cgi?id=11462
314 http://bugs.webkit.org/show_bug.cgi?id=6168
316 * Scripts/build-webkit:
317 * Scripts/run-javascriptcore-tests:
319 2006-11-01 Brady Eidson <beidson@apple.com>
321 Reviewed by Tim Hatcher
323 Added accessor to get the source directory for use in client scripts
325 * Scripts/webkitdirs.pm:
327 2006-11-01 Mark Rowe <bdash@webkit.org>
331 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
333 * Spinneret/Spinneret/Spinneret.cpp:
335 * WebKitLauncher/WebKitNightlyEnabler.m:
336 (cleanUpAfterOurselves):
338 2006-10-31 Mark Rowe <bdash@webkit.org>
340 Reviewed by Stephanie.
342 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
344 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
345 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
347 2006-10-31 Darin Adler <darin@apple.com>
349 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
350 pasteboard, allocate any number of local pasteboards.
351 (main): Allocate the dictionary of pasteboards.
352 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
354 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
355 explicitly elsewhere.
356 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
357 to the selector rather than calling unconditionally.
359 2006-10-30 Darin Adler <darin@apple.com>
363 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
364 Don't use CFPasteboard.
366 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
370 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
372 * Drosera/debugger.js: ParsedURL() object now recognizes local files
374 2006-10-30 Darin Adler <darin@apple.com>
376 Reviewed by Tim Hatcher.
378 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
379 This should make our buildbot tests no longer need a pasteboard server.
381 2006-10-30 Geoffrey Garen <ggaren@apple.com>
385 Reorganized project file into Delegates and Controllers groups, and split
386 UIDelegate stuff into a UIDelegate class.
388 A little birdy told me that I might end up adding some UIDelegate methods
391 * DumpRenderTree/DumpRenderTree.m:
394 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
396 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
400 Add new platform/graphics include directory.
402 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
404 2006-10-30 Timothy Hatcher <timothy@apple.com>
406 Reviewed by Stephanie.
408 Add a special case for the Internal makefiles, so it can find the OepnSource.
410 * Scripts/webkitdirs.pm:
412 2006-10-30 Stephanie Lewis <slewis@apple.com>
416 Change Makefiles to return non-zero when module make fails.
417 Fix bug where if xcode options are not set, modules can build in the
421 * Scripts/webkitdirs.pm:
423 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
427 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
428 [Drosera] The Console toolbar button should bring the console window to the front.
430 The console now gets focus when its activated but already open. Command + L also
431 now activates/focuses the console.
433 * Drosera/English.lproj/MainMenu.nib/classes.nib:
434 * Drosera/English.lproj/MainMenu.nib/info.nib:
435 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
436 * Drosera/debugger.js:
438 2006-10-29 Darin Adler <darin@apple.com>
440 * Scripts/do-file-rename: Renames done, ready for the next round.
441 * Scripts/do-webcore-rename: Ditto.
443 2006-10-29 Darin Adler <darin@apple.com>
445 * Scripts/do-file-rename: And again.
447 2006-10-29 Darin Adler <darin@apple.com>
449 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
451 2006-10-29 Darin Adler <darin@apple.com>
455 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
456 Added. Does nothing, which prevents a beep.
458 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
460 2006-10-27 Brady Eidson <beidson@apple.com>
462 Rubber stamped by Tim Hatcher
464 Added "make universal" to build universal binaries
469 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
473 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
474 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
475 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
477 * DumpRenderTree/EventSendingController.m:
478 (-[EventSendingController mouseMoveToX:Y:]):
480 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
486 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
487 (WebCore::DumpRenderTree::open):
489 2006-10-24 Stephanie Lewis <slewis@apple.com>
493 - Changed run-javascriptcore tests to build testkjs before running.
495 * Scripts/run-javascriptcore-tests:
497 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
503 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
504 - Fix CMakeLists.txt to include platform/network.
506 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
508 2006-10-24 David Smith <catfish.man@gmail.com>
512 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
513 http://bugs.webkit.org/show_bug.cgi?id=11382
515 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
517 2006-10-21 Darin Adler <darin@apple.com>
519 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
520 This was still using "symroots" so it almost never worked!
522 2006-10-21 Darin Adler <darin@apple.com>
524 * Makefile: Build DumpRenderTree too.
525 * Scripts/do-webcore-rename: Removed bogus comment.
527 2006-10-20 David Smith <catfish.man@gmail.com>
531 Bug 11367: Inline Breakpoint Editor Improvements: Act III
532 http://bugs.webkit.org/show_bug.cgi?id=11367
534 Major breakpoint editor changes:
535 * Breakpoints can now either pause or log to console
536 * Code cleanup through use of XPath and converting breakpoints to objects
537 * Breakpoints now track how many times they've been reached
539 * The breakpoint editor now saves changes as they're entered
540 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
541 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
543 * Drosera/DebuggerDocument.m:
544 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
545 * Drosera/Drosera.xcodeproj/project.pbxproj:
546 * Drosera/Images/close.tif: Added.
547 * Drosera/Images/close_active.tif: Added.
548 * Drosera/Images/close_hover.tif: Added.
549 * Drosera/breakpointEditor.html: Added.
550 * Drosera/console.js: Added a way to append messages from outside the console window.
551 * Drosera/debugger.js:
552 * Drosera/viewer.css:
553 * Drosera/viewer.html:
555 2006-10-18 David Smith <catfish.man@gmail.com>
559 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.
561 * Drosera/DebuggerDocument.m:
562 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
563 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
564 * Drosera/debugger.js:
566 2006-10-18 Timothy Hatcher <timothy@apple.com>
570 Bug 10851: Crash with Drosera
571 http://bugs.webkit.org/show_bug.cgi?id=10851
573 This crash results in an assert in debug builds.
575 assert(implementsCall());
577 The __drosera_introspection propery was not callable. Now we just assign
578 this.__drosera_introspection in the evaluateWebScript call.
579 This change also removes one DO message.
581 * Drosera/DebuggerDocument.m:
582 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
584 2006-10-18 Mark Rowe <bdash@webkit.org>
588 http://bugs.webkit.org/show_bug.cgi?id=11304
589 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
591 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
592 when they are not part of the WebKit umbrella framework.
594 2006-10-18 Adam Roben <aroben@apple.com>
596 fixo el buildo II: Release's Pride.
598 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
600 2006-10-18 Geoffrey Garen <ggaren@apple.com>
604 Work around #import of <PDFKit/PDFView.h>.
606 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
608 2006-10-18 David Smith <catfish.man@gmail.com>
612 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
614 * Drosera/Drosera.xcodeproj/project.pbxproj:
615 * Drosera/Images/breakpointeditor.png: Added.
616 * Drosera/breakpointEditor.css: Removed.
617 * Drosera/breakpointEditor.html: Removed.
618 * Drosera/breakpointEditor.js: Removed.
619 * Drosera/debugger.js:
620 * Drosera/viewer.css:
622 2006-10-18 David Harrison <harrison@apple.com>
626 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
627 http://bugs.webkit.org/show_bug.cgi?id=11341
629 Link editing behavior became a preference. DumpRenderTree needs to specify the
630 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
632 * DumpRenderTree/DumpRenderTree.m:
635 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
639 Make compiler not complain about unused gk. SpinneretWebHost was not setting
640 initial refcount upon creation, so it is completely bogus.
642 * GdkLauncher/main.cpp:
644 * Spinneret/Spinneret/Spinneret.h:
645 (SpinneretWebHost::SpinneretWebHost):
647 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
651 Add another hanging test, to the "to be skipped" list.
653 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
655 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
659 Some fixes to get the Qt BuildSlave to run the LayoutTests.
661 * Scripts/build-dumprendertree: No need to call cmake again.
662 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
664 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
668 Force --no-http on Qt/Linux.
670 * Scripts/run-webkit-tests:
672 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
676 Gets JavaScripCore tests running on windows.
678 * Scripts/run-javascriptcore-tests:
679 * Scripts/webkitdirs.pm:
681 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
685 Exclude some tests which crash or hang from Qt/Linux DRT.
686 These are known to fail, and will be fixed at some point :-)
688 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
689 (WebCore::DumpRenderTree::DumpRenderTree):
690 (WebCore::DumpRenderTree::open):
691 (WebCore::DumpRenderTree::readStdin):
692 (WebCore::DumpRenderTree::readSkipFile):
693 (WebCore::DumpRenderTree::checkLoaded):
694 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
695 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
697 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
701 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
703 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
704 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
705 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
707 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
711 Also regenerate GdkLauncher makefiles, since not doing that might
712 lead to mismatch between WebCore and GdkLauncher compiler settings.
714 * Scripts/regenerate-makefiles:
716 2006-10-10 David Smith <catfish.man@gmail.com>
720 Bug 11246: Minor Drosera code cleanup
721 http://bugs.webkit.org/show_bug.cgi?id=11246
723 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
725 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
729 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
731 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
732 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
733 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
734 * Drosera/Images/SourceArrowOpen.png: Added.
735 * Drosera/Images/fileIcon.jpg: Added.
736 * Drosera/Images/siteCollapsed.tif: Added.
737 * Drosera/Images/siteExpanded.tif: Added.
738 * Drosera/Images/siteIcon.tif: Added.
739 * Drosera/debugger.css: Added File Browser styles
740 * Drosera/debugger.html: Added File Browser UI
741 * Drosera/debugger.js: Added File Browser functionality
743 2006-10-10 Darin Adler <darin@apple.com>
745 * Scripts/do-file-rename: Added.
747 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
751 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
752 a page. This allows automatic testing via e.g. valgrind.
754 * GdkLauncher/gdklauncher.bkl:
755 * GdkLauncher/main.cpp:
756 (LauncherFrameGdk::LauncherFrameGdk):
757 (LauncherFrameGdk::setExitAfterLoading):
758 (LauncherFrameGdk::handledOnloadEvents):
762 2006-10-06 David Smith <catfish.man@gmail.com>
766 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
768 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
769 * Drosera/breakpointEditor.css: Added.
770 * Drosera/breakpointEditor.html: Added.
771 * Drosera/breakpointEditor.js: Added.
772 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
774 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
778 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
780 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
781 (WebCore::DumpRenderTree::DumpRenderTree):
783 2006-10-05 Oliver Hunt <ohunt@apple.com>
787 * Scripts/run-webkit-tests:
790 2006-10-04 Anders Carlsson <acarlsson@apple.com>
794 * Scripts/run-webkit-tests:
795 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
798 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
800 Reviewed and landed by ap.
802 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
803 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
805 * Scripts/webkitdirs.pm:
807 2006-10-04 Mark Rowe <bdash@webkit.org>
809 Reviewed by Stephanie.
811 Switch the Qt buildbot to the standard set of build steps.
812 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
813 see if any regressions were spotted, and fail the test if so.
815 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
816 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
817 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
819 2006-10-04 Timothy Hatcher <timothy@apple.com>
821 Reviewed by Mitz Pettel!
823 Bug 10708: [Drosera] Make the console input plaintext-only
824 http://bugs.webkit.org/show_bug.cgi?id=10708
826 Change the console input -webkit-user-modify property to
827 read-write-plaintext-only.
829 * Drosera/console.css:
831 2006-10-04 David Smith <catfish.man@gmail.com>
835 Bug 10473: [Drosera] Overlapping text in JavaScript Console
836 http://bugs.webkit.org/show_bug.cgi?id=10473
838 Using min-height instead of height to avoid overlapping text.
840 * Drosera/console.css:
842 2006-10-04 David Smith <catfish.man@gmail.com>
846 Added a bash-style command history.
848 * Drosera/console.js:
850 2006-10-03 Anders Carlsson <acarlsson@apple.com>
852 Reviewed by Adam and Brady.
854 * DumpRenderTree/DumpRenderTree.m:
856 Update URL to Ahem.ttf
858 2006-10-03 Darin Adler <darin@apple.com>
860 * Scripts/commit-log-editor: Added missing "close" call. Oops!
862 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
864 Reviewed by eseidel. Landed by eseidel.
866 Offer a way for BuildBot to not colorize the cmake output, when building
867 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
869 Default is colorize output, though only Qt platform handles this for now.
871 * Scripts/build-dumprendertree:
872 * Scripts/build-webkit:
873 * Scripts/webkitdirs.pm:
875 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
877 Reviewed by eseidel. Landed by eseidel.
879 Make all important scripts work with Qt/Linux.
881 You can safely use this now:
882 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
884 * Scripts/build-dumprendertree:
885 * Scripts/run-javascriptcore-tests:
886 * Scripts/run-webkit-tests:
887 * Scripts/webkitdirs.pm:
889 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
893 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
895 * Scripts/webkitdirs.pm:
897 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
899 Reviewed/landed by Adam.
901 Proper build-webkit support for Qt/Linux.
903 Compilation process is similar to OSX now, aka.
904 the build directory is RootCheckoutDir/WebKitBuild now.
906 * Scripts/build-webkit: Recognize Qt.
907 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
909 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
913 Add QT build slave to Buildbot.
915 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
916 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
917 * 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.
918 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
920 2006-09-28 David Harrison <harrison@apple.com>
924 Moved an extern declaration from inside a method to the top of the file.
926 * DumpRenderTree/EventSendingController.m:
927 (-[EventSendingController clearKillRing]):
929 2006-09-28 David Harrison <harrison@apple.com>
933 Add clearKillRing so we can test emacs support with empty kill ring.
935 * DumpRenderTree/EventSendingController.m:
936 (+[EventSendingController isSelectorExcludedFromWebScript:]):
937 (+[EventSendingController webScriptNameForSelector:]):
938 (-[EventSendingController clearKillRing]):
940 2006-09-27 MorganL <morganl.webkit@yahoo.com>
942 Reviewed by Maciej, landed by Brady
944 Fix URL bar updating.
946 * Spinneret/Spinneret/Spinneret.h:
947 (SpinneretWebHost::didStartProvisionalLoadForFrame):
948 (SpinneretWebHost::didCommitLoadForFrame):
949 (SpinneretWebHost::didFinishLoadForFrame):
951 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
957 * DumpRenderTree/EventSendingController.m:
958 (-[EventSendingController enableDOMUIEventLogging:]):
960 2006-09-22 Justin Garcia <justin.garcia@apple.com>
964 * Scripts/do-webcore-rename:
966 2006-09-21 Timothy Hatcher <timothy@apple.com>
970 Bug 10923: Frame scroll layout test failures on the buildbot
971 http://bugs.webkit.org/show_bug.cgi?id=10923
973 Added a new method that will toggle on the recursive dump of
974 child frame scroll positions.
976 * DumpRenderTree/DumpRenderTree.m:
977 (dumpFrameScrollPosition):
978 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
979 (-[LayoutTestController dumpChildFrameScrollPositions]):
981 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
983 Reviewed by eseidel. Landed by eseidel.
985 Detect that close button was pressed and exit cleanly.
987 * GdkLauncher/main.cpp:
991 2006-09-17 Adam Roben <aroben@apple.com>
993 Reviewed by hyatt, sfalken.
995 Get DumpRenderTree compiling and limping along on Windows.
997 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
998 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
999 (main): Add NULL argument to Page constructor.
1000 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
1001 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
1003 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
1007 http://bugs.webkit.org/show_bug.cgi?id=10635
1008 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
1010 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
1011 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
1012 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
1014 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
1018 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
1019 Even More Objective-C DOM auto-generation cleanup
1021 - Change to use new, more Objectice-C'ish version of
1022 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
1023 regression test for fast/events/dblclick-addEventListener.html.
1025 * DumpRenderTree/EventSendingController.m:
1026 (-[EventSendingController fireKeyboardEventsToElement:]):
1028 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
1032 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
1033 Move QtLauncher down to WebKitQt.
1035 * QtLauncher/CMakeLists.txt: Removed.
1036 * QtLauncher/main.cpp: Removed.
1038 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
1042 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
1043 Adjust DumpRenderTree to the FrameQtClient changes.
1045 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
1046 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1047 (WebCore::DumpRenderTree::DumpRenderTree):
1048 (WebCore::DumpRenderTree::~DumpRenderTree):
1049 (WebCore::DumpRenderTree::frame):
1050 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1051 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
1052 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
1053 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
1054 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
1056 2006-09-03 Darin Adler <darin@apple.com>
1058 * Scripts/do-webcore-rename: More renaming plans.
1060 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
1064 http://bugs.webkit.org/show_bug.cgi?id=10693
1065 Convert JavaScript arrays to AppleScript lists
1067 * DumpRenderTree/AppleScriptController.m:
1068 (convertAEDescToObject):
1069 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
1071 2006-08-31 Darin Adler <darin@apple.com>
1073 * Scripts/do-webcore-rename: Prepare for another round of renaming.
1075 2006-08-29 Dan Waylonis <waylonis@google.com>
1079 - Verification of exceptions thrown in a plugin. Test for bug 10114.
1080 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1081 * DumpRenderTree/ObjCPlugin.m:
1082 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1083 (+[ObjCPlugin webScriptNameForSelector:]):
1084 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
1086 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
1090 Commit KDE related tweaks, to be able to
1091 differentiate between a Qt-only or a KDE build.
1093 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
1094 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
1096 2006-08-29 Darin Adler <darin@apple.com>
1098 Reviewed by Tim Hatcher.
1100 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
1101 to work around what seems to be a bug in some versions of gdb.
1103 2006-08-16 Tim Omernick <timo@apple.com>
1105 Reviewed by John Sullivan.
1107 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
1108 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
1111 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1113 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
1114 are expected to be retained by the plug-in, and released by the caller.
1116 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
1118 Reviewed by Tim Hatcher.
1120 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
1122 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1123 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
1124 Qt's DumpRenderTree.
1126 * Scripts/run-webkit-tests:
1127 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
1129 2006-08-28 Darin Adler <darin@apple.com>
1131 Reviewed by Tim Hatcher.
1133 * Scripts/build-drosera: Fix behavior when there are multiple options.
1135 2006-08-27 Timothy Hatcher <timothy@apple.com>
1139 Drosera will be built when you type make.
1141 * Drosera/Makefile: Added.
1143 * Makefile.shared: Added.
1145 2006-08-27 Anders Carlsson <acarlsson@apple.com>
1147 Forgot to add these.
1149 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
1150 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
1151 (WebCore::DumpRenderTree::DumpRenderTree):
1152 (WebCore::DumpRenderTree::~DumpRenderTree):
1153 (WebCore::DumpRenderTree::open):
1154 (WebCore::DumpRenderTree::readStdin):
1155 (WebCore::DumpRenderTree::checkLoaded):
1156 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
1157 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
1160 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
1162 Reviewed by Eric, landed by Anders.
1164 Add DumpRenderTree support for Qt/Linux.
1166 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
1167 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
1168 (WebCore::DumpRenderTree::DumpRenderTree):
1169 (WebCore::DumpRenderTree::~DumpRenderTree):
1170 (WebCore::DumpRenderTree::open):
1171 (WebCore::DumpRenderTree::readStdin):
1172 (WebCore::DumpRenderTree::checkLoaded):
1173 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
1174 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
1176 * Scripts/build-dumprendertree:
1177 * Scripts/run-webkit-tests:
1178 * Scripts/webkitdirs.pm:
1180 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
1182 Reviewed by Eric. Landed by rwlbuis.
1184 Add QtLauncher (was testunity before), which provides a
1185 standalone "browser" to test the Qt platform stuff.
1187 * QtLauncher/CMakeLists.txt: Added.
1188 * QtLauncher/main.cpp: Added.
1191 2006-08-22 Trey Matteson <trey@usa.net>
1195 Added support for a new set of browser navigation tests. The main feature
1196 is the ability for a test to queue up a set of future actions that will
1197 happen after that first page is loaded. This is used to simulate a sequence
1198 of user actions such as filling out forms, loading additional pages or
1199 going back. In addition we can now dump out the state of the back/forward
1200 list, and the scroll position is dumped if not at 0,0.
1202 * DumpRenderTree/DumpRenderTree.m:
1203 (main): Init new state
1204 (compareHistoryItems): New utility to support sorting.
1205 (dumpHistoryItem): Write out a WebHistoryItem and kids.
1206 (dumpFrameScrollPosition): Write out the scroll position.
1207 (dump): Optionally write b/f list or scroll position.
1208 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
1209 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
1210 Kick off any queued actions. Fixed for the case of loads started in
1211 a subframe instead of the root frame.
1212 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
1213 Grab the topmost frame that is being loaded. Do this as early as possible,
1214 instead of in didCommitLoadForFrame.
1215 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1216 Noting a load has started now happens in previous method.
1217 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
1218 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
1219 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
1221 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
1222 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
1223 Add new work to the queue.
1224 (-[LayoutTestController _doLoad:target:]): Do a queued load.
1225 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
1226 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
1227 (-[LayoutTestController scheduleForwardNav:]):
1228 (-[LayoutTestController scheduleReload]):
1229 (-[LayoutTestController scheduleScript:]):
1230 (-[LayoutTestController scheduleLoad:target:]):
1231 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
1232 since it's not one of the functions that does any dumping.
1234 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
1238 - added a function to create a few DOMKeyboardEvents and dispatch
1239 them to a specified HTML element
1240 http://bugs.webkit.org/show_bug.cgi?id=9736
1242 * DumpRenderTree/EventSendingController.m:
1243 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1244 (+[EventSendingController webScriptNameForSelector:]):
1245 (-[EventSendingController fireKeyboardEventsToElement:]):
1247 2006-08-15 Duncan Wilcox <duncan@mclink.it>
1249 Reviewed and tweaked by Darin.
1251 - added DumpRenderTree support so editing delegate can be made to refuse edits
1252 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
1254 * DumpRenderTree/DumpRenderTree.m:
1255 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
1256 to the list of methods.
1257 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
1258 without the colon, for the JavaScript name.
1259 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
1261 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
1263 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
1264 setter methods to the class.
1265 * DumpRenderTree/EditingDelegate.m:
1266 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
1267 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
1268 return the value of acceptsEditing.
1269 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
1270 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
1271 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
1272 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
1273 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1275 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
1276 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
1277 (-[EditingDelegate setAcceptsEditing:]): Added.
1279 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
1283 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
1284 http://bugs.webkit.org/show_bug.cgi?id=10224
1286 * Drosera/Drosera.xcodeproj/project.pbxproj:
1287 * Drosera/LauncherInfo.plist:
1289 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
1291 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
1292 when a test performs an unsuccessful drag and drop operation.
1294 * DumpRenderTree/EventSendingController.m:
1295 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
1296 drag operation for the mouse release is NSDragOperationNone.
1298 2006-08-02 Timothy Hatcher <timothy@apple.com>
1302 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
1303 http://bugs.webkit.org/show_bug.cgi?id=9632
1305 Do not change the file source when normalizing the line endings.
1306 We use this file source to compare against new versions of the source
1307 as it comes in, so we can skip re-syntax highlighting if they are the same.
1308 The problem is apparent on yahoo.com since they have mixed line endings and
1309 once we normalize them the source will always be different. This was
1310 compounded by the fact that yahoo has around 40 inline scripts. Each
1311 inline script causes us to check if the main document has more loaded,
1312 that is when we compare the source strings. Since they are always different
1313 we would syntax highlight yahoo.com 40 times! We do check source length before
1314 doing a more expensive string comparison, but the lengths were the same.
1316 * Drosera/debugger.js:
1318 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
1320 Reviewed by Timothy.
1322 Bug 9931: [Drosera] Needs a cool icon
1323 http://bugs.webkit.org/show_bug.cgi?id=9931
1325 * Drosera/Drosera.icns: Added.
1326 * Drosera/Drosera.xcodeproj/project.pbxproj:
1327 * Drosera/Info.plist:
1329 2006-08-01 Darin Adler <darin@apple.com>
1331 - fix a bug in my recent change where the mouse position at the end of
1332 the last test would affect the results of the next test
1334 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
1336 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1340 http://bugs.webkit.org/show_bug.cgi?id=10182
1341 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
1343 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
1344 Correct the logic to not reload local variable list unless an '=' character is in the expression.
1346 2006-07-31 Darin Adler <darin@apple.com>
1350 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
1351 REGRESSION: failing layout test: fast/events/objc-event-api.html
1353 * DumpRenderTree/DumpRenderTree.m:
1354 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
1355 location in flipped coordinates, since those are the coordinates that we use.
1356 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
1359 * DumpRenderTree/EventSendingController.m:
1360 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
1361 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
1362 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
1363 probably worked OK, but this is needed to be correct.
1364 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
1365 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
1366 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
1367 dump the screenY as-is.
1369 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1373 http://bugs.webkit.org/show_bug.cgi?id=10178
1374 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
1376 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
1377 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
1379 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1383 http://bugs.webkit.org/show_bug.cgi?id=10175
1384 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
1386 * Drosera/DebuggerDocument.m:
1387 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
1389 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
1393 http://bugs.webkit.org/show_bug.cgi?id=10167
1394 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
1396 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
1399 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
1403 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
1404 http://bugs.webkit.org/show_bug.cgi?id=9686
1406 * Drosera/DebuggerDocument.m:
1407 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
1408 ensure that the server does not try and notify us of events related to the resumption.
1409 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
1410 call through to JavaScript.
1411 * Drosera/debugger.js: Pause debugger when exception is raised.
1413 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
1417 - fixes for Linux build
1419 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
1420 * GdkLauncher/gdklauncher.bkl: Tweak comment.
1422 2006-07-24 Dan Waylonis <waylonis@google.com>
1424 Reviewed and tweaked a bit by Darin.
1426 * DumpRenderTree/ObjCPlugin.m:
1427 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
1428 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
1429 "echo:" so it's nice to call from JavaScript.
1430 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
1431 to test a round trip through Objective-C types.
1433 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
1437 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
1438 Improve iExploder results parsing
1440 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
1441 in random mode, too.
1443 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
1445 Reviewed by Timothy.
1447 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
1448 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
1450 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
1452 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
1456 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
1457 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
1459 Removed "Property changes" that snuck in as part of the "apply patch" process.
1461 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
1465 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
1466 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
1468 * Scripts/svn-apply:
1469 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
1471 (patch): Use patch(1) for non-binary additions and deletions.
1472 * Scripts/svn-unapply:
1474 (patch): Use patch(1) for reverting non-binary additions and deletions.
1475 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
1477 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1479 Reviewed by Timothy.
1481 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
1482 http://bugs.webkit.org/show_bug.cgi?id=9889
1484 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
1485 so, have stepOut pause on the next call to willExecuteStatement rather than second.
1487 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
1491 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
1492 Teach svn-create-patch and friends to fix ChangeLog patches
1494 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
1495 * Scripts/svn-create-patch: Ditto.
1496 * Scripts/svn-unapply: Ditto.
1498 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1502 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
1503 http://bugs.webkit.org/show_bug.cgi?id=9869
1505 * Drosera/DebuggerDocument.m:
1506 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
1508 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1512 Bug 9863: Drosera needs to show something at launch
1513 http://bugs.webkit.org/show_bug.cgi?id=9863
1515 * Drosera/DebuggerApplication.m:
1516 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
1518 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
1520 Reviewed by Timothy.
1522 Lets Drosera build universal for the nightlies. Right now it is not
1523 possible to build a universal binary on a PPC machine because of a
1524 conflict with the universal SDK.
1526 * BuildSlaveSupport/build-launcher-app:
1527 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1529 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
1533 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
1534 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
1536 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1537 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
1538 should open a new stream and deliver the data to the current instance.
1540 2006-07-11 Timothy Hatcher <timothy@apple.com>
1544 Bug 9598: [Drosera] add a JavaScript evaluator console
1545 http://bugs.webkit.org/show_bug.cgi?id=9598
1547 * Drosera/DebuggerApplication.h:
1548 * Drosera/DebuggerApplication.m:
1549 (-[DebuggerApplication knownServers]):
1550 * Drosera/DebuggerDocument.h:
1551 * Drosera/DebuggerDocument.m:
1552 (-[WebScriptObject evaluateScript:inCallFrame:]):
1553 (-[WebScriptObject showConsole:]):
1554 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1555 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
1556 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
1557 (-[WebScriptObject webView:createWebViewWithRequest:]):
1558 (-[WebScriptObject webViewShow:]):
1559 (-[WebScriptObject webViewAreToolbarsVisible:]):
1560 (-[WebScriptObject webView:setToolbarsVisible:]):
1561 (-[WebScriptObject webView:setResizable:]):
1562 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1563 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
1564 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1565 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
1566 (-[WebScriptObject webView:didFinishLoadForFrame:]):
1567 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
1568 * Drosera/Drosera.xcodeproj/project.pbxproj:
1569 * Drosera/Images/console.png: Added.
1570 * Drosera/console.css: Added.
1571 * Drosera/console.html: Added.
1572 * Drosera/console.js: Added.
1574 2006-07-11 Timothy Hatcher <timothy@apple.com>
1576 Reviewed by a tired Geoff.
1578 Bug 9597: [Drosera] hook up the variables table to show stack variables
1579 http://bugs.webkit.org/show_bug.cgi?id=9597
1581 * Drosera/DebuggerDocument.m:
1582 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
1583 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
1584 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
1585 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
1586 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
1587 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
1588 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1589 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1590 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1591 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1592 * Drosera/debugger.css:
1593 * Drosera/debugger.html:
1594 * Drosera/debugger.js:
1596 2006-07-10 Tim Omernick <timo@apple.com>
1598 Reviewed by Beth Dakin.
1600 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
1601 Add DOM access test to DumpRenderTree's Netscape plug-in
1603 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1607 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1611 - http://bugs.webkit.org/show_bug.cgi?id=9839
1612 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
1614 Now track three states: initializing, running, and closed. If we are launched and the previous
1615 state was initializing then we likely just experienced a crash on launch.
1617 * WebKitLauncher/WebKitNightlyEnabler.m:
1618 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
1619 (myApplicationWillTerminate): Update to use new states.
1620 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
1621 initializing as early as practical.
1622 (symbol_lookup): Bring code up to speed with formatting guidelines.
1623 (GDSymbolLookup): Ditto.
1625 2006-07-10 Darin Adler <darin@apple.com>
1627 - try to fix Windows build
1629 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1630 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
1632 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1634 Build fix. Reviewed by NOBODY.
1636 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1637 devenv.com not available in VC++ Express installations
1639 * Scripts/webkitdirs.pm: Backed out previous change.
1641 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1645 - http://bugs.webkit.org/show_bug.cgi?id=9693
1646 svn-apply should set ChangeLog date correctly when applying patches
1648 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
1649 before applying the patch.
1650 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
1652 2006-07-09 Darin Adler <darin@apple.com>
1654 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
1656 2006-07-09 Darin Adler <darin@apple.com>
1658 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
1660 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1662 Reviewed by NOBODY (build fix).
1664 - http://bugs.webkit.org/show_bug.cgi?id=7802
1665 devenv.com not available in VC++ Express installations
1667 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
1668 work again. Add VC++ Express check as the fallback.
1670 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
1672 Reviewed by Timothy Hatcher.
1674 - http://bugs.webkit.org/show_bug.cgi?id=7802
1675 devenv.com not available in VC++ Express installations
1677 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1679 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
1683 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
1684 Patch by coldwinter@katamail.com.
1686 In the congratulations message, "capatibilies" should be "capabilities".
1688 * Scripts/build-webkit:
1690 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
1692 Reviewed by Timothy Hatcher.
1694 - http://bugs.webkit.org/show_bug.cgi?id=9794
1695 Teach run-webkit-tests how to ignore tests with performance improvements
1697 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
1698 feature, and minor clean up.
1700 2006-07-08 Darin Adler <darin@apple.com>
1702 Reviewed by Geoff (well, half of it at least).
1704 - http://bugs.webkit.org/show_bug.cgi?id=9788
1705 storage leaks in Objective-C tests
1707 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
1708 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
1709 Add a release to fix a storage leak.
1711 2006-07-08 Darin Adler <darin@apple.com>
1713 * Scripts/do-webcore-rename: A few more.
1715 2006-07-08 Darin Adler <darin@apple.com>
1717 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
1719 2006-07-04 Maciej Stachowiak <mjs@apple.com>
1723 http://bugs.webkit.org/show_bug.cgi?id=9734
1724 - add support for dumping non-HTML as text - in this case use textContent
1725 instead of innerText
1727 * DumpRenderTree/DumpRenderTree.m:
1730 2006-07-02 Timothy Hatcher <timothy@apple.com>
1734 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
1735 http://bugs.webkit.org/show_bug.cgi?id=9631
1737 Adds step over and step out. Along with a little code cleanup
1738 that was minor enough to piggyback on this fix.
1740 * Drosera/DebuggerDocument.h:
1741 * Drosera/DebuggerDocument.m:
1742 (-[DebuggerDocument stepOver:]):
1743 (-[DebuggerDocument stepOut:]):
1744 (-[DebuggerDocument windowDidLoad]):
1745 (-[DebuggerDocument windowWillClose:]):
1746 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1747 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1748 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1749 (-[DebuggerDocument validateUserInterfaceItem:]):
1750 * Drosera/Drosera.xcodeproj/project.pbxproj:
1751 * Drosera/debugger.html:
1752 * Drosera/debugger.js:
1753 * Drosera/viewer.css:
1755 2006-07-02 Timothy Hatcher <timothy@apple.com>
1759 Bug 9628: [Drosera] Split Views acting oddly
1760 http://bugs.webkit.org/show_bug.cgi?id=9628
1762 Only update the last X or Y coordinate if the new
1763 size was not constrained. Also adds the resize cursor to
1764 the body during the drag incase there is a constrained
1765 over drag off of the resizer element.
1767 * Drosera/debugger.js:
1769 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1771 Reviewed by Alexey Proskuryakov.
1773 Bug 9692: Warning about Safari extensions on every launch is obnoxious
1774 http://bugs.webkit.org/show_bug.cgi?id=9692
1776 * WebKitLauncher/WebKitNightlyEnabler.m:
1777 (myApplicationWillTerminate): Note that we are exiting cleanly.
1778 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
1779 to exit cleanly on our last invocation. This doesn't play nicely with
1780 multiple concurrent instances of WebKit.app so it can be disabled via
1781 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
1783 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1785 Reviewed by Alexey Proskuryakov.
1787 Bug 9654: Refresh Loop when accessing feed URLs
1788 http://bugs.webkit.org/show_bug.cgi?id=9654
1790 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
1792 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
1794 Reviewed by Timothy Hatcher.
1796 Bug 9689: Nightly builds should warn a user about potential problems when using
1798 http://bugs.webkit.org/show_bug.cgi?id=9689
1800 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1801 * WebKitLauncher/WebKitNightlyEnabler.m:
1802 (myBundleDidLoad): Keep track of if any bundles that are loaded.
1803 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
1804 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1805 NSApplicationWillFinishLaunchingNotification notifications so that we can
1806 track bundle loads and notify the user at launch completion.
1808 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1812 - first check-in of a Gdk shell for testing WebKit
1814 * GdkLauncher: Added.
1816 2006-06-29 Timothy Hatcher <timothy@apple.com>
1820 Need to call window close so WebView tears-down completly.
1822 * DumpRenderTree/DumpRenderTree.m:
1823 (main): call [window close]
1825 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1829 Bug 9615: Buildbot configuration should be in SVN repository
1830 http://bugs.webkit.org/show_bug.cgi?id=9615
1832 Import BuildBot configuration files as used by build.webkit.org.
1833 auth.py has been stubbed out so that slave passwords are not disclosed.
1835 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1836 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1837 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1838 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1839 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1840 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1841 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1842 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1843 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1844 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1845 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1846 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
1848 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1852 Bug 9614: Nightly builds should notify user if a newer build is available
1853 http://bugs.webkit.org/show_bug.cgi?id=9614
1855 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1856 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1857 script so it can keep track of the latest revision.
1858 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1859 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1860 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1861 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1862 the nightly start page.
1864 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1868 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1869 http://bugs.webkit.org/show_bug.cgi?id=9579
1871 Report screenY values as (height of zero screen - screenY)
1873 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1875 2006-06-25 Timothy Hatcher <timothy@apple.com>
1879 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1880 http://bugs.webkit.org/show_bug.cgi?id=9591
1882 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1884 * Drosera/debugger.js:
1885 * Drosera/viewer.css:
1887 2006-06-25 Timothy Hatcher <timothy@apple.com>
1891 Bug 9568: assertion failure in Safari after quitting Drosera
1892 http://bugs.webkit.org/show_bug.cgi?id=9568
1894 Call switchToServerNamed:nil and not removeLister to make sure
1895 the server object is set to nil to prevent further removeListener calls.
1897 * Drosera/DebuggerDocument.m:
1898 (-[DebuggerDocument applicationTerminating:]):
1900 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1904 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1905 that the directory is not empty instead of reading in every single file and directory first,
1906 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1909 2006-06-25 Darin Adler <darin@apple.com>
1911 * Scripts/svn-apply: Tweak comments.
1912 * Scripts/svn-create-patch: Ditto.
1913 * Scripts/svn-unapply: Ditto.
1915 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1917 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1919 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1921 * Scripts/svn-apply: Formatting fix.
1923 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1927 http://bugs.webkit.org/show_bug.cgi?id=9571
1928 Teach svn-apply and svn-unapply to handle directory adds and removes better
1930 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1931 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1933 2006-06-25 Timothy Hatcher <timothy@apple.com>
1937 Bug 9574: Drosera should show inline scripts within the original HTML
1938 http://bugs.webkit.org/show_bug.cgi?id=9574
1940 Refactor the JavaScript code to have a distinction between files
1941 and scripts. Show the script in the context of the HTML file if
1942 it's URL is the same as the frame's main resource. At the time of
1943 the disParseScript callback the main resource might not be completely
1944 loaded, but Drosera needs to show whatever we have at the time. Once
1945 the main resource is finished, update the file source and reload the file.
1947 * Drosera/DebuggerDocument.m:
1948 (-[DebuggerDocument pause]):
1949 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1950 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1951 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1952 * Drosera/debugger.css:
1953 * Drosera/debugger.js:
1955 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1959 http://bugs.webkit.org/show_bug.cgi?id=9570
1960 Teach prepare-ChangeLog to operate on a list of files or directories
1962 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1963 * Scripts/svn-create-patch: Code refactoring.
1965 2006-06-24 James G. Speth <speth@end.com>
1969 - http://bugs.webkit.org/show_bug.cgi?id=8843
1970 add a way to build Objective-C test cases in HTML
1972 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1973 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1974 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1977 * DumpRenderTree/ObjCPlugin.h:
1978 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1979 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1980 (+[ObjCPlugin webScriptNameForSelector:]):
1981 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1982 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1983 (+[NSObject allowsScriptsFullAccess]):
1984 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1985 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1986 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1987 (+[JSObjC webScriptNameForSelector:]):
1988 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1989 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1990 (-[JSObjC log:]): access to NSLog function
1991 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1992 (-[JSObjC classOfObject:]):
1993 (-[JSObjC classNameOfObject:]):
1995 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1997 Reviewed by Timothy.
1999 * DrawTest/Info.plist: Added copyright statement.
2000 * Drosera/Info.plist: Ditto.
2001 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
2002 * WebKitLauncher/Info.plist: Ditto.
2004 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
2006 Build fix. Reviewed by NOBODY.
2008 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
2009 devenv.com not available in VC++ Express installations
2011 * Scripts/webkitdirs.pm: Backed out previous change.
2013 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
2017 - http://bugs.webkit.org/show_bug.cgi?id=7802
2018 devenv.com not available in VC++ Express installations
2020 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2022 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
2026 - http://bugs.webkit.org/show_bug.cgi?id=9564
2027 A bunch of fixes to run-webkit-httpd
2029 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
2030 127.0.0.1. Useful for testing with WinIE running on another machine;
2031 - don't call checkFrameworks() - we do not need a built WebKit here;
2032 - changed tabs to spaces;
2033 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
2034 interactive mode, they were a hassle when testing with several browsers, as one
2035 had to wait for connection to expire);
2036 - remove httpd.pid when done, so that Apache doesn't complain next time.
2038 * Scripts/run-webkit-httpd:
2040 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
2042 Reviewed by ggaren, landed by ap.
2044 - http://bugs.webkit.org/show_bug.cgi?id=9181
2045 Complete DOMUIEvent Obj-C API to reflect UIEvent
2047 Add function to enable logging of all events of one DOM node to stdout.
2049 * DumpRenderTree/EventSendingController.h:
2050 * DumpRenderTree/EventSendingController.m:
2051 (+[EventSendingController initialize]):
2052 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2053 (+[EventSendingController webScriptNameForSelector:]):
2054 (-[EventSendingController enableDOMUIEventLogging:]):
2055 (-[EventSendingController handleEvent:]):
2057 2006-06-23 Kevin Decker <kdecker@apple.com>
2059 Reviewed by Tim Hatcher.
2061 - Made column headers in Drosera resizable.
2063 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
2067 - see http://bugs.webkit.org/show_bug.cgi?id=9539
2068 Another case error preventing build
2070 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
2072 2006-06-22 Timothy Hatcher <timothy@apple.com>
2076 Adds a native toolbar to Drosera to be a good citizen.
2077 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
2078 Fixes a dragging bug from an earlier fix to the divider code.
2079 Fixes some poor indenting in debugger.js.
2081 * Drosera/DebuggerDocument.h:
2082 * Drosera/DebuggerDocument.m:
2083 (-[DebuggerDocument stepInto]):
2084 (-[DebuggerDocument pause:]):
2085 (-[DebuggerDocument resume:]):
2086 (-[DebuggerDocument stepInto:]):
2087 (-[DebuggerDocument windowDidLoad]):
2088 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
2089 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
2090 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
2091 (-[DebuggerDocument validateUserInterfaceItem:]):
2092 * Drosera/English.lproj/MainMenu.nib/classes.nib:
2093 * Drosera/English.lproj/MainMenu.nib/info.nib:
2094 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
2095 * Drosera/debugger.css:
2096 * Drosera/debugger.html:
2097 * Drosera/debugger.js:
2098 * Drosera/viewer.html:
2100 2006-06-22 Kevin Decker <kdecker@apple.com>
2104 - Added pressed column header image.
2105 - Made column headers behave more like Xcode.
2107 2006-06-22 Timothy Hatcher <timothy@apple.com>
2109 Reviewed by Kevin Decker.
2111 Code clean up. Adds the stackframe and makes only the body
2112 of the tables scrollable keeping the header visible.
2113 Shows the current function stack when paused or stepping.
2115 * Drosera/DebuggerApplication.m:
2116 (-[DebuggerApplication awakeFromNib]):
2117 (-[DebuggerApplication numberOfRowsInTableView:]):
2118 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
2119 * Drosera/DebuggerDocument.h:
2120 * Drosera/DebuggerDocument.m:
2121 (-[DebuggerDocument dealloc]):
2122 (-[DebuggerDocument currentFrame]):
2123 (-[DebuggerDocument currentFrameFunctionName]):
2124 (-[DebuggerDocument currentFunctionStack]):
2125 (-[DebuggerDocument log:]):
2126 (-[DebuggerDocument windowWillClose:]):
2127 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2128 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2129 * Drosera/Drosera.xcodeproj/project.pbxproj:
2130 * Drosera/debugger.css:
2131 * Drosera/debugger.html:
2132 * Drosera/debugger.js:
2134 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
2138 Teach run-webkit-httpd to properly look for webkitdirs.pm.
2140 * Scripts/run-webkit-httpd:
2142 2006-06-22 Kevin Decker <kdecker@apple.com>
2144 Reviewed by Tim Hatcher.
2146 - More progress toward Javascript Debugger.
2147 - Added some new images to the project.
2149 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
2153 - http://bugs.webkit.org/show_bug.cgi?id=9516
2154 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
2156 * Scripts/run-webkit-httpd: Added.
2158 2006-06-20 Timothy Hatcher <timothy@apple.com>
2162 Builds Drosera and a launcher to include with the nightly.
2164 * BuildSlaveSupport/build-launcher-app:
2165 * BuildSlaveSupport/build-launcher-dmg:
2166 * Drosera/Drosera.xcodeproj/project.pbxproj:
2167 * Drosera/Info.plist:
2168 * Drosera/LauncherInfo.plist: Added.
2169 * Drosera/launcher.m: Added.
2170 (displayErrorAndQuit):
2171 (checkMacOSXVersion):
2174 * Scripts/build-drosera
2175 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2176 * WebKitLauncher/main.m:
2179 2006-06-20 Timothy Hatcher <timothy@apple.com>
2183 Adds a JavaScript debugger, called Drosera. Named after
2184 a genus of bug eating plants.
2186 * Drosera/DebuggerApplication.h: Added.
2187 * Drosera/DebuggerApplication.m: Added.
2188 (-[DebuggerApplication applicationDidFinishLaunching:]):
2189 (-[DebuggerApplication serverLoaded:]):
2190 (-[DebuggerApplication serverUnloaded:]):
2191 (-[DebuggerApplication awakeFromNib]):
2192 (-[DebuggerApplication showAttachPanel:]):
2193 (-[DebuggerApplication attach:]):
2194 (-[DebuggerApplication numberOfRowsInTableView:]):
2195 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
2196 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
2197 (-[DebuggerApplication tableViewSelectionDidChange:]):
2198 * Drosera/DebuggerDocument.h: Added.
2199 * Drosera/DebuggerDocument.m: Added.
2200 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
2201 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
2202 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
2203 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
2204 (-[DebuggerDocument initWithServerName:]):
2205 (-[DebuggerDocument windowWillClose:]):
2206 (-[DebuggerDocument dealloc]):
2207 (-[DebuggerDocument isPaused]):
2208 (-[DebuggerDocument pause]):
2209 (-[DebuggerDocument resume]):
2210 (-[DebuggerDocument step]):
2211 (-[DebuggerDocument windowNibName]):
2212 (-[DebuggerDocument windowDidLoad]):
2213 (-[DebuggerDocument switchToServerNamed:]):
2214 (-[DebuggerDocument applicationTerminating:]):
2215 (-[DebuggerDocument serverConnectionDidDie:]):
2216 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
2217 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
2218 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
2219 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2220 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2221 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2222 * Drosera/Drosera.pch: Added.
2223 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
2224 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
2225 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
2226 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
2227 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
2228 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
2229 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2230 * Drosera/Images/breakPoint.tif: Added.
2231 * Drosera/Images/breakPointDisabled.tif: Added.
2232 * Drosera/Images/continue.tif: Added.
2233 * Drosera/Images/finishFunction.tif: Added.
2234 * Drosera/Images/glossyFooterFill.tif: Added.
2235 * Drosera/Images/glossyHeader.png: Added.
2236 * Drosera/Images/gradientBackground.png: Added.
2237 * Drosera/Images/gutter.png: Added.
2238 * Drosera/Images/navLeftDisabled.png: Added.
2239 * Drosera/Images/navLeftNormal.png: Added.
2240 * Drosera/Images/navLeftPressed.png: Added.
2241 * Drosera/Images/navRightDisabled.png: Added.
2242 * Drosera/Images/navRightNormal.png: Added.
2243 * Drosera/Images/navRightPressed.png: Added.
2244 * Drosera/Images/pause.tif: Added.
2245 * Drosera/Images/popUpArrows.png: Added.
2246 * Drosera/Images/programCounter.tif: Added.
2247 * Drosera/Images/programCounterBreakPoint.tif: Added.
2248 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
2249 * Drosera/Images/run.tif: Added.
2250 * Drosera/Images/splitterBar.tif: Added.
2251 * Drosera/Images/splitterDimple.tif: Added.
2252 * Drosera/Images/step.tif: Added.
2253 * Drosera/Images/stepOver.tif: Added.
2254 * Drosera/Images/stop.tif: Added.
2255 * Drosera/Images/toolbarBackground.png: Added.
2256 * Drosera/Info.plist: Added.
2257 * Drosera/debugger.css: Added.
2258 * Drosera/debugger.html: Added.
2259 * Drosera/debugger.js: Added.
2260 * Drosera/main.m: Added.
2262 * Drosera/viewer.css: Added.
2263 * Drosera/viewer.html: Added.
2265 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
2269 http://bugs.webkit.org/show_bug.cgi?id=9485
2270 Teach svn-apply and svn-unapply to use full path names
2272 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
2273 * Scripts/svn-unapply: Ditto.
2275 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
2279 - http://bugs.webkit.org/show_bug.cgi?id=9150
2280 DumpRenderTree should be able to keep URL history during runs
2282 Test: LayoutTests/fast/history/clicked-link-is-visited.html
2284 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
2285 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
2286 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
2287 it is currently nil since keepWebHistory() might be called more than once incidentally
2289 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
2290 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
2292 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
2296 http://bugs.webkit.org/show_bug.cgi?id=9395
2297 Make prepare-ChangeLog faster
2299 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
2300 then save the diff output for reuse. Keep a status variable if changes are made to
2301 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
2302 WebCore is updated. Added -h|--help command-line switch and help message. Move test
2303 for no changed files closer to the beginning of the program.
2305 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
2307 Reviewed and landed by ap.
2309 - make DumpRenderTree build
2311 * DumpRenderTree/DumpRenderTree.m:
2312 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
2313 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
2314 (-[LayoutTestController setWindowIsKey:]): Ditto.
2315 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
2317 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
2319 Reviewed by Darin, landed by Geoff.
2321 http://bugs.webkit.org/show_bug.cgi?id=9350
2322 Use pathcmp() when sorting paths in svn-create-patch
2324 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
2325 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
2326 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
2327 switch and printUsage() subroutine.
2329 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
2333 http://bugs.webkit.org/show_bug.cgi?id=9322
2334 Teach svn-create-patch to sort its output
2336 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
2337 by text files first, then by binary files.
2339 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
2343 http://bugs.webkit.org/show_bug.cgi?id=9299
2344 Teach svn-create-patch and friends to work with binary files
2346 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
2347 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
2348 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
2350 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
2354 http://bugs.webkit.org/show_bug.cgi?id=9296
2355 Performance improvement for svn-create-patch
2357 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
2359 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
2363 http://bugs.webkit.org/show_bug.cgi?id=9290
2364 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
2366 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
2367 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
2369 2006-06-03 Steve Falkenburg <sfalken@apple.com>
2373 Switch Spinneret to new hosting mechanism
2375 * Spinneret/Spinneret.sln:
2376 * Spinneret/Spinneret/Spinneret.cpp:
2377 (SpinneretWebHost::updateAddressBar):
2378 (SpinneretWebHost::QueryInterface):
2379 (SpinneretWebHost::AddRef):
2380 (SpinneretWebHost::Release):
2387 * Spinneret/Spinneret/Spinneret.h:
2388 (SpinneretWebHost::didStartProvisionalLoadForFrame):
2389 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2390 (SpinneretWebHost::didFailProvisionalLoadWithError):
2391 (SpinneretWebHost::didCommitLoadForFrame):
2392 (SpinneretWebHost::didReceiveTitle):
2393 (SpinneretWebHost::didReceiveIcon):
2394 (SpinneretWebHost::didFinishLoadForFrame):
2395 (SpinneretWebHost::didFailLoadWithError):
2396 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
2397 (SpinneretWebHost::willPerformClientRedirectToURL):
2398 (SpinneretWebHost::didCancelClientRedirectForFrame):
2399 (SpinneretWebHost::willCloseFrame):
2400 (SpinneretWebHost::windowScriptObjectAvailable):
2401 * Spinneret/Spinneret/Spinneret.vcproj:
2403 2006-06-02 Steve Falkenburg <sfalken@apple.com>
2407 Updated build script
2409 * Scripts/build-webkit:
2411 2006-06-01 Anders Carlsson <acarlsson@apple.com>
2415 * DumpRenderTree/DumpRenderTree.m:
2416 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2417 (-[LayoutTestController clearBackForwardList]):
2418 Add clearBackForwardList function to layoutTestController
2420 2006-06-01 Anders Carlsson <acarlsson@apple.com>
2424 http://bugs.webkit.org/show_bug.cgi?id=8996
2425 slow-utf8-text layout test case failing (no longer deterministic?)
2427 * DumpRenderTree/DumpRenderTree.m:
2429 Dump as text when the response MIME type is text/plain
2431 2006-05-26 Steve Falkenburg <sfalken@apple.com>
2435 * Spinneret/Spinneret.sln:
2436 * Spinneret/Spinneret/Spinneret.vcproj:
2438 2006-05-24 Geoffrey Garen <ggaren@apple.com>
2442 Added 'GCController' to DRT to support garbage collection layout tests.
2444 GCController.collect() and GCController.collectOnAlternateThread() do
2445 what you would expect. The latter takes a boolean argument sepcifying
2446 whether to wait for garbage collection to finish before continuing to
2449 * DumpRenderTree/DumpRenderTree.m:
2450 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2451 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2452 * DumpRenderTree/GCController.h: Added.
2453 * DumpRenderTree/GCController.mm: Added.
2454 (+[GCController isSelectorExcludedFromWebScript:]):
2455 (+[GCController webScriptNameForSelector:]):
2456 (-[GCController collect]):
2457 (-[GCController collectOnAlternateThread:]):
2459 2006-05-23 John Sullivan <sullivan@apple.com>
2463 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2464 Newer Xcode removed some obsolete cruft
2466 * DumpRenderTree/TextInputController.m:
2467 (-[TextInputController textInput]):
2468 added (id) cast to make newer compiler happy
2470 2006-05-22 Steve Falkenburg <sfalken@apple.com>
2476 * Spinneret/Spinneret.sln:
2478 2006-05-18 Darin Adler <darin@apple.com>
2480 - try to fix no-SVG, no-XPATH build, again
2482 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
2484 2006-05-18 Darin Adler <darin@apple.com>
2486 - try to fix no-SVG, no-XPATH build
2488 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
2489 since the former is what's used in the WebCore project now.
2491 2006-05-17 Darin Adler <darin@apple.com>
2493 * Scripts/do-webcore-rename: Some more future renames.
2495 2006-05-16 Adele Peterson <adele@apple.com>
2499 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
2500 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
2502 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
2504 * Scripts/install-unix-extras: Changed to be executable and removed
2505 text in the file generated by "svn diff".
2506 * Scripts/regenerate-makefiles: Ditto.
2508 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
2510 Reviewed by Darin, landed by ap.
2512 - http://bugs.webkit.org/show_bug.cgi?id=8528
2513 Bakefiles (and generated Makefiles) for wx and gdk ports
2515 * Scripts/install-unix-extras: Added.
2516 * Scripts/regenerate-makefiles: Added.
2518 2006-05-10 Steve Falkenburg <sfalken@apple.com>
2522 Fix registry usage from perl script. Turns out libwin32's
2523 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
2525 * Scripts/install-win-extras:
2527 2006-05-09 Steve Falkenburg <sfalken@apple.com>
2530 Add load ended callback.
2534 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
2535 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
2536 * Spinneret/Spinneret/Spinneret.cpp:
2537 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
2538 (_tWinMain): Load built-in test content here instead of in lower-level code.
2539 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
2541 2006-05-08 Maciej Stachowiak <mjs@apple.com>
2545 * Scripts/extract-localizable-strings: Update for correct names of log macros.
2547 2006-05-09 Anders Carlsson <acarlsson@apple.com>
2551 * Scripts/check-dom-results:
2552 Add XPath to the list of results.
2554 2006-05-08 Darin Adler <darin@apple.com>
2556 * Scripts/do-webcore-rename: Add another rename.
2558 2006-05-01 Steve Falkenburg <sfalken@apple.com>
2562 Spinneret now links against the new separate lib.
2564 * Spinneret/Spinneret.sln:
2565 * Spinneret/Spinneret/Spinneret.cpp:
2566 (SpinneretWebHost::updateLocationBar):
2568 * Spinneret/Spinneret/Spinneret.h:
2569 * Spinneret/Spinneret/Spinneret.vcproj:
2570 * Spinneret/Spinneret/WebFrame.cpp: Removed.
2571 * Spinneret/Spinneret/WebFrame.h: Removed.
2572 * Spinneret/Spinneret/WebView.cpp: Removed.
2573 * Spinneret/Spinneret/WebView.h: Removed.
2575 2006-04-28 Steve Falkenburg <sfalken@apple.com>
2579 Modify error reporting registry keys to disable Dr. Watson.
2580 This allows Javascript test cases to complete without blocking UI.
2582 * Scripts/install-win-extras:
2583 - Use Perl Win32 registry functions to disable blocking UI
2586 2006-04-28 Steve Falkenburg <sfalken@apple.com>
2590 Turned off C++ exceptions, fixed memory leaks
2592 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2593 * Spinneret/Spinneret.sln:
2594 * Spinneret/Spinneret/Spinneret.cpp:
2596 * Spinneret/Spinneret/Spinneret.vcproj:
2597 * Spinneret/Spinneret/WebFrame.cpp:
2598 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2599 (WebKit::WebFrame::WebFrame):
2600 (WebKit::WebFrame::~WebFrame):
2601 (WebKit::WebFrame::impl):
2602 * Spinneret/Spinneret/WebFrame.h:
2603 * Spinneret/Spinneret/WebView.cpp:
2604 * Spinneret/Spinneret/stdafx.h:
2606 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
2610 - http://bugs.webkit.org/show_bug.cgi?id=8633
2611 DumpRenderTree should reset the URL cache
2613 * DumpRenderTree/DumpRenderTree.m:
2614 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
2616 2006-04-28 Eric Seidel <eseidel@apple.com>
2618 Reviewed by andersca.
2620 * Scripts/do-webcore-rename: rename KCanvasContainer too
2621 * Scripts/run-webkit-tests: output total time
2623 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
2625 Reviewed by hyatt. Landed by eseidel.
2627 - http://bugs.webkit.org/show_bug.cgi?id=8549
2628 Enable detection of excessive repainting with DumpRenderTree
2630 * DumpRenderTree/DumpRenderTree.m:
2631 (-[LayoutTestController display]):
2633 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
2637 - http://bugs.webkit.org/show_bug.cgi?id=6905
2638 DumpRenderTree needs a way to force painting (to allow invalidation tests)
2640 * DumpRenderTree/DumpRenderTree.m:
2641 (dump): If display() has been called during the test, grab the pixels from
2642 the view, after letting it repaint invalidated rects.
2643 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2644 (-[LayoutTestController display]): Added. Calls -display on the view
2645 and changes the subsequent behavior of dump().
2648 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2652 - http://bugs.webkit.org/show_bug.cgi?id=8532
2653 Update iExploder to 1.3.2
2655 Test case numbers are not compatible with iExploder 1.2.
2657 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
2659 * iExploder/CHANGELOG.txt: Added.
2660 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
2661 * iExploder/README.txt: Added some performance hints.
2663 * iExploder/htdocs/config.rb: Added.
2664 * iExploder/htdocs/cssproperties.in:
2665 * iExploder/htdocs/cssvalues.in:
2666 * iExploder/htdocs/htmlattrs.in:
2667 * iExploder/htdocs/htmltags.in:
2668 * iExploder/htdocs/iexploder.cgi:
2669 - Updated to support the latest HTML & CSS tags, properties, and values from both
2670 the WebKit and Mozilla CVS tree
2671 - cssproperties.in cleanup
2672 - Modularized the code a little bit.
2673 - Fix subtest bug that was causing last 5 tags to be missed
2674 - new subtest algorithm to deal better with larger tag counts
2675 - default HTML_MAX_TAGS increased from 32 to 96
2677 * iExploder/htdocs/index.html: Updated version to 1.3.2.
2678 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
2679 alternative to our run-iexploder-tests.
2680 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
2681 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
2682 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
2684 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
2686 - commit Scripts/run-mangleme-tests (missed it the previous time).
2688 2006-04-18 Darin Adler <darin@apple.com>
2690 - attempt to fix Windows buildbot
2692 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
2693 We need a better long-term solution for this.
2695 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2699 - http://bugs.webkit.org/show_bug.cgi?id=8444
2700 Integrate mangleme test script.
2702 Works in a similar way to run-iexploder-tests.
2704 * Scripts/run-mangleme-tests: Added.
2706 * mangleme/Makefile: Added.
2707 * mangleme/README: Added.
2708 * mangleme/mangle.cgi.c: Added.
2709 * mangleme/remangle.cgi.c: Added.
2710 * mangleme/tags.h: Added.
2712 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2716 - http://bugs.webkit.org/show_bug.cgi?id=8443
2717 An easier way to save iExploder tests.
2719 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
2721 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
2725 - http://bugs.webkit.org/show_bug.cgi?id=8421
2726 Integrate iExploder test script.
2728 This script generates artificially mangled HTML documents, to test that the browser
2729 doesn't crash when handling ill-formed code.
2732 run-iexploder-tests Open an interactive test page in Safari+ToT.
2733 run-iexploder-tests nnnnn Open test #nnnnn.
2735 Command line options:
2736 --guard-malloc (-g) Use Guard Malloc.
2737 --port=nnnn Run Apache on port nnnn (default is 8000).
2739 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
2740 (thus, Apache is still running), e.g.:
2741 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
2743 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
2745 * Scripts/run-iexploder-tests: Added.
2747 * iExploder/LICENSE.txt: Added.
2748 * iExploder/README.txt: Added.
2749 * iExploder/htdocs: Added.
2750 * iExploder/htdocs/cssproperties.in: Added.
2751 * iExploder/htdocs/cssvalues.in: Added.
2752 * iExploder/htdocs/htmlattrs.in: Added.
2753 * iExploder/htdocs/htmltags.in: Added.
2754 * iExploder/htdocs/htmlvalues.in: Added.
2755 * iExploder/htdocs/iexploder.cgi: Added.
2756 * iExploder/htdocs/index.html: Added.
2757 * iExploder/tools: Added.
2758 * iExploder/tools/lasthit.rb: Added.
2759 * iExploder/tools/osx_last_crash.rb: Added.
2761 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
2765 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
2766 Restore color profile after a crash
2768 * DumpRenderTree/DumpRenderTree.m:
2769 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
2770 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
2771 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
2772 and this code may change significantly.
2774 (main): Install crashHandler.
2776 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
2777 (CFStringGetCStringPtr should NEVER EVER be used!).
2779 2006-04-15 Darin Adler <darin@apple.com>
2783 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
2784 Seems xmlsoft.org's HTTP no longer has what we need.
2786 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
2788 Rubber-stamped by Darin.
2790 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
2791 upload-disk-image stage on buildslaves fail with "No space left on device"
2793 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
2794 'hdiutil create'. This creates the initial disk image based on the size of
2795 the source folder, and copies the contents to the new disk image. The file
2796 extension on the temporary uncompressed disk image has also been altered from
2797 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
2798 the extension is not ".dmg".
2800 2006-04-12 Eric Seidel <eseidel@apple.com>
2804 * Scripts/update-webkit: Make this return non-zero when svn fails.
2806 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2810 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2811 Make HTTP tests using Perl use .pl extension
2813 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2814 removed support for .text. Reduced the number of places that explicitly list supported
2815 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2818 2006-04-06 Darin Adler <darin@apple.com>
2820 Changes requested by Mark Rowe.
2822 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2823 trash at the end of the file.
2824 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2826 * WebKitLauncher/main.m: Removed trash at end of file.
2828 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2831 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2833 Reviewed by Darin, landed by Maciej.
2835 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2836 and bundles the WebKit frameworks inside it.
2837 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2838 containing WebKit.app.
2839 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2840 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2841 number of the SVN working copy.
2842 * WebKitLauncher: Added.
2843 * WebKitLauncher/Info.plist: Added.
2844 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2845 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2846 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2847 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
2848 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2849 the nightly launcher.
2850 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2851 It sets up the environment to have Safari use the bundled frameworks
2852 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2853 * WebKitLauncher/start.html: Added.
2854 * WebKitLauncher/webkit.icns: Added.
2856 2006-04-05 Darin Adler <darin@apple.com>
2860 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2861 are allowed to have global initializers.
2863 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2865 Reviewed by OMG BETH
2867 * Scripts/run-testkjs:
2868 - pipe STDERR to /dev/null by default; new --verbose option overrides
2870 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2871 - output run command in a format that can be copied and pasted into the
2872 terminal to run manually
2874 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2876 Reviewed by harrison
2878 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2879 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2881 Tell the source that the drag is over after the drag is performed, not before.
2883 * DumpRenderTree/EventSendingController.m:
2884 (-[EventSendingController mouseUp]):
2886 2006-04-01 Darin Adler <darin@apple.com>
2890 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2891 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2892 elements in that array are not strings.
2894 2006-03-31 Darin Adler <darin@apple.com>
2896 Reviewed by John Sullivan.
2898 - added a "--reset-results" option to run-webkit-tests so you can reset
2899 the results without first deleting expected results
2900 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2902 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2903 more logical. Moved all the subroutines to the end of the file. Added a
2906 * DumpRenderTree/DumpRenderTree.m:
2907 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2908 to generate new output for all tests it runs.
2909 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2910 the --dump-all-pixels option is passed. Also tightened up the image dumping
2911 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2912 with code to save and restore the context.
2914 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2915 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2917 2006-03-30 Tim Omernick <timo@apple.com>
2919 Reviewed by NOBODY (just fixing copyrights)
2921 * DumpRenderTree/ObjCPlugin.h:
2923 * DumpRenderTree/ObjCPlugin.m: ditto
2924 * DumpRenderTree/ObjCPluginFunction.h: ditto
2925 * DumpRenderTree/ObjCPluginFunction.m: ditto
2927 2006-03-30 Tim Omernick <timo@apple.com>
2931 * DumpRenderTree/DumpRenderTree.m:
2932 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2933 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2934 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2935 exposed to JS as a callable object.
2937 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2938 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2940 * DumpRenderTree/ObjCPlugin.h: Added.
2941 * DumpRenderTree/ObjCPlugin.m: Added.
2942 * DumpRenderTree/ObjCPluginFunction.h: Added.
2943 * DumpRenderTree/ObjCPluginFunction.m: Added.
2945 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2946 Added a new method, "removeDefaultMethod", which removes the default method from the
2947 plugin object's class. The effect is that the plugin object is mutated from a callable
2948 function to a simple object.
2950 Handle "removeDefaultMethod".
2951 (pluginInvokeDefault):
2952 Made the default method actually do something (return 1).
2954 2006-03-30 Eric Seidel <eseidel@apple.com>
2958 Remove WebFrame::viewImpl(), setMainFrame on page.
2960 * Spinneret/Spinneret/WebFrame.cpp:
2961 (WebKit::WebFrame::WebFrame):
2962 * Spinneret/Spinneret/WebFrame.h:
2963 * Spinneret/Spinneret/WebView.cpp:
2964 (WebKit::WebView::mouseMoved):
2965 (WebKit::WebView::mouseDown):
2966 (WebKit::WebView::mouseUp):
2967 (WebKit::WebView::mouseDoubleClick):
2968 (WebKit::WebViewWndProc):
2970 2006-03-30 Eric Seidel <eseidel@apple.com>
2974 Fix html editing input & basic form submission.
2976 * Spinneret/Spinneret/WebFrame.cpp:
2977 (WebKit::WebFrame::submitForm):
2978 (WebKit::WebFrame::loadURL):
2979 * Spinneret/Spinneret/WebFrame.h:
2980 * Spinneret/Spinneret/WebView.cpp:
2981 (WebKit::WebView::keyPress):
2982 (WebKit::WebViewWndProc):
2984 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2988 <rdar://problem/4402375>
2989 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2991 Added an option to draw the selectionRect.
2993 * DumpRenderTree/DumpRenderTree.m:
2995 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2996 (-[LayoutTestController dumpSelectionRect]):
2999 2006-03-29 Darin Adler <darin@apple.com>
3001 Reviewed by Tim Hatcher.
3003 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
3005 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
3007 2006-03-28 Eric Seidel <eseidel@apple.com>
3011 * Scripts/check-for-global-initializers: remove svg exceptions.
3013 2006-03-28 Timothy Hatcher <timothy@apple.com>
3017 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
3019 * Scripts/check-for-global-initializers:
3021 2006-03-28 Timothy Hatcher <timothy@apple.com>
3023 Build fix. Turn off uninitialized warnings for the first block of code.
3025 * Scripts/check-for-global-initializers:
3027 2006-03-28 Darin Adler <darin@apple.com>
3031 * Scripts/check-for-global-initializers: Added.
3033 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
3035 Reviewed by darin. Landed by eseidel.
3037 - http://bugs.webkit.org/show_bug.cgi?id=7947
3038 Add repaint testing support to run-webkit-tests
3040 * DumpRenderTree/DumpRenderTree.m:
3041 (main): Added --repaint and --horizontal-sweep options.
3042 (dump): Repaint line-by-line or column-by-column when the appropriate option
3044 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
3045 and repaintSweepHorizontally() methods to layoutTestController.
3046 (-[LayoutTestController testRepaint]):
3047 (-[LayoutTestController repaintSweepHorizontally]):
3049 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
3050 to force these settings on tests that do not ask for them.
3052 2006-03-24 Eric Seidel <eseidel@apple.com>
3058 * Spinneret/Spinneret/WebFrame.cpp:
3059 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
3061 2006-03-21 Beth Dakin <bdakin@apple.com>
3065 Add support for keyDown() to DumpRenderTree.
3067 * DumpRenderTree/DumpRenderTree.m:
3068 (main): Set the preference for tabbing to links.
3069 * DumpRenderTree/EventSendingController.m:
3070 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3071 (+[EventSendingController webScriptNameForSelector:]):
3072 (-[EventSendingController keyDown:withModifiers:]):
3074 2006-03-20 Eric Seidel <eseidel@apple.com>
3080 * Spinneret/Spinneret/Spinneret.vcproj:
3081 * Spinneret/Spinneret/WebFrame.h:
3082 * Spinneret/Spinneret/WebView.cpp:
3083 (WebKit::WebView::mouseMoved):
3084 (WebKit::WebView::mouseDown):
3085 (WebKit::WebView::mouseUp):
3086 (WebKit::WebView::mouseDoubleClick):
3087 (WebKit::WebView::keyPress):
3088 (WebKit::WebViewWndProc):
3090 2006-03-19 Darin Adler <darin@apple.com>
3094 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
3095 we can test it in layout tests. We don't really need tests that run with
3096 pop-up blocking off at the moment. If we do some day, we can add some
3097 API for turning it off in the layout test controller.
3099 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
3100 don't ignore the leak; it should no longer show up.
3102 2006-03-17 Anders Carlsson <andersca@mac.com>
3106 * Scripts/install-win-extras:
3107 Fetch "Program Files" location from the environment.
3109 2006-03-17 Eric Seidel <eseidel@apple.com>
3113 Fix Spinneret to pass Events as const & not as pointers.
3115 * Spinneret/Spinneret/WebView.cpp:
3116 (WebKit::WebView::mouseMoved):
3117 (WebKit::WebView::mouseDown):
3118 (WebKit::WebView::mouseUp):
3119 (WebKit::WebView::mouseDoubleClick):
3120 (WebKit::WebView::keyPress):
3122 2006-03-17 Eric Seidel <eseidel@apple.com>
3124 Reviewed by justing.
3126 Add support for basic HTML editing.
3128 * Spinneret/Spinneret/WebView.cpp:
3129 (WebKit::WebView::WebView):
3130 (WebKit::WebView::keyPress):
3132 2006-03-17 Eric Seidel <eseidel@apple.com>
3134 Rubber-stamped by ggaren.
3136 Break DumpRenderTree.m up into several files to make the code more readable.
3138 * DumpRenderTree/DumpRenderTree.h: Added.
3139 * DumpRenderTree/DumpRenderTree.m:
3140 (doneLoading): new accessor function for "done" global.
3141 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3142 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
3143 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
3144 * DumpRenderTree/EditingDelegate.h: Added.
3145 * DumpRenderTree/EditingDelegate.m: Added.
3146 (-[EditingDelegate webViewDidChangeSelection:]):
3147 * DumpRenderTree/EventSendingController.h: Added.
3148 * DumpRenderTree/EventSendingController.m: Added.
3150 2006-03-16 Eric Seidel <eseidel@apple.com>
3154 Add resize, scroll event support.
3156 * Spinneret/Spinneret/WebView.cpp:
3157 (WebKit::WebView::mouseMoved):
3158 (WebKit::WebView::mouseDown):
3159 (WebKit::WebView::mouseUp):
3160 (WebKit::WebView::mouseDoubleClick):
3161 (WebKit::WebView::keyPress):
3162 (WebKit::WebViewWndProc):
3163 * Spinneret/Spinneret/WebView.h:
3165 2006-03-16 Eric Seidel <eseidel@apple.com>
3169 Make build-webkit print correctly to stdout on windows.
3171 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
3173 2006-03-15 Eric Seidel <eseidel@apple.com>
3177 Fix eventSender.mouseClick() to update lastClick timestamp.
3179 * DumpRenderTree/DumpRenderTree.m:
3180 (-[EventSendingController mouseClick]):
3182 2006-03-15 Darin Adler <darin@apple.com>
3186 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
3187 that had a lowercase "i" in it so this builds on case-sensitive
3190 2006-03-15 Geoffrey Garen <ggaren@apple.com>
3194 Added run-testkjs and compare-timing-files scripts, to support super
3197 * Scripts/compare-timing-files: Added.
3198 * Scripts/run-testkjs: Added.
3200 2006-03-14 Eric Seidel <eseidel@apple.com>
3204 Make the URL bar relinquish focus on page load.
3206 * Spinneret/Spinneret/Spinneret.cpp:
3209 2006-03-14 Eric Seidel <eseidel@apple.com>
3213 Fix WebView to allow KeyFocus.
3214 Add handling of space and shift-space for scrolling.
3216 * Spinneret/Spinneret/WebView.cpp:
3217 (WebKit::scrollMessageForKey):
3218 (WebKit::WebViewWndProc):
3220 2006-03-10 Eric Seidel <eseidel@apple.com>
3224 Add scrolling support into Spinneret.
3226 * Spinneret/Spinneret/WebFrame.cpp:
3227 (WebKit::WebFrame::paint):
3228 * Spinneret/Spinneret/WebView.cpp:
3229 (WebKit::WebView::createWebView):
3230 (WebKit::calculateScrollDelta):
3231 (WebKit::scrollMessageForKey):
3232 (WebKit::WebViewWndProc):
3234 2006-03-13 Eric Seidel <eseidel@apple.com>
3238 Fix checksum generation on Intel machines.
3239 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
3240 give a small speed boost now that it uses a shared buffer.
3242 * DumpRenderTree/DumpRenderTree.m:
3245 (md5HashStringForBitmap):
3246 * DumpRenderTree/ImageDiff.m:
3247 (computePercentageDifferent):
3249 2006-03-13 Darin Adler <darin@apple.com>
3251 Reviewed by Tim Hatcher.
3253 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
3254 have it named httpd-1.3 instead.
3256 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
3258 Fix proposed by Mitz Pettel, reviewed by Darin.
3260 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
3261 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
3263 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
3264 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
3267 2006-03-09 Darin Adler <darin@apple.com>
3269 Reviewed by John Sullivan.
3271 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
3272 memory leak in the plug-in tests
3274 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3275 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
3276 (NPP_SetWindow): Remove unneeded code to store the window pointer.
3278 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3279 Moved the browser global in here since it's declared in this file's header.
3280 Changed the code to set up the pluginClass structure to not use function
3281 pointer casts. Those are dangerous because they can hide many types of mismatch.
3282 And indeed when I did this I discovered that many functions were missing their
3283 boolean return values or had parameter declarations with the wrong types.
3284 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
3285 clarity. Added boolean return value: return true when successful and false when not.
3286 (pluginSetProperty): Added boolean return value, return false since we have no
3287 properties we can set.
3288 (pluginInvoke): Added boolean return value. Return true when successful and false
3289 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
3290 return value from calling the browser. Changed code to put the strings in malloc
3291 buffers instead of relying on GCC's extension that allows variable-sized arrays
3293 (pluginInvokeDefault): Added boolean return value, return false since we have no
3294 default function to call.
3295 (pluginInvalidate): Added missing parameter. Removed comment.
3296 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
3297 to cast the result of malloc.
3298 (pluginDeallocate): Removed uneeded cast.
3300 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
3301 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
3302 that match NPObject's fields. Removed unused NPWindow pointer.
3304 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
3306 Test: fast/events/event-sender-mouse-click.html
3310 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
3311 DRT hangs when doing eventSender.mouseDown on native widgets
3313 * DumpRenderTree/DumpRenderTree.m:
3314 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3315 (-[EventSendingController mouseClick]): Simulates a click in a native
3316 widget by queueing a mouseUp before sending the mouseDown, so that
3317 the widget's mouse tracking event loop doesn't hang indefinitely.
3319 2006-03-09 Maciej Stachowiak <mjs@apple.com>
3323 - make link clicks work by handling link click requests
3326 * Spinneret/Spinneret/Spinneret.cpp:
3327 (updateLocationBar):
3328 * Spinneret/Spinneret/Spinneret.h:
3329 * Spinneret/Spinneret/WebFrame.cpp:
3330 (WebKit::WebFrame::WebFrame):
3331 (WebKit::WebFrame::openURL):
3332 (WebKit::WebFrame::loadURL):
3333 * Spinneret/Spinneret/WebFrame.h:
3335 2006-03-08 Eric Seidel <eseidel@apple.com>
3339 Focus URL bar on Spinneret launch, remove border from WebView.
3340 Stop WebFrame from deleting the job (prevent crash).
3342 * Spinneret/Spinneret/Spinneret.cpp:
3344 * Spinneret/Spinneret/WebFrame.cpp:
3345 (WebKit::WebFrame::receivedAllData):
3346 (WebKit::WebFrame::paint):
3347 * Spinneret/Spinneret/WebView.cpp:
3348 (WebKit::WebView::createWebView):
3350 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
3354 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3355 (pluginInvoke): Added a method to test getURL.
3357 2006-03-08 Maciej Stachowiak <mjs@apple.com>
3361 - load URLs, not file paths, in Spinneret
3363 * Spinneret/Spinneret/Spinneret.cpp:
3365 * Spinneret/Spinneret/Spinneret.vcproj:
3366 * Spinneret/Spinneret/WebFrame.cpp:
3367 (WebKit::WebFrame::loadURL):
3368 (WebKit::WebFrame::receivedData):
3369 (WebKit::WebFrame::receivedAllData):
3370 * Spinneret/Spinneret/WebFrame.h:
3371 * Spinneret/Spinneret/WebView.cpp:
3372 (WebKit::WebView::WebView):
3374 2006-03-08 Darin Adler <darin@apple.com>
3378 - fixed AppleScript layout test results to not be endian-dependent
3379 (Hyatt complained to me about this one)
3381 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
3382 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
3383 (which are endian-dependent).
3385 2006-03-07 Darin Adler <darin@apple.com>
3389 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
3390 unwanted output while running layout tests
3392 * DumpRenderTree/DumpRenderTree.m:
3393 (checkedMalloc): Added.
3394 (checkedRealloc): Added.
3395 (makeLargeMallocFailSilently): Added.
3396 (main): Call makeLargeMallocFailSilently.
3398 2006-03-06 Darin Adler <darin@apple.com>
3400 * Scripts/do-webcore-rename: Add some more planned renaming.
3402 2006-03-06 Eric Seidel <eseidel@apple.com>
3406 * Spinneret/Spinneret/WebFrame.cpp:
3407 (WebKit::WebFrame::paint): force layout before painting
3409 2006-03-06 Justin Garcia <justin.garcia@apple.com>
3413 Sent the windowNumber when sending events.
3414 Added leapForward so that we don't have to spend time waiting
3415 in layout tests that do mouse operations that require delays.
3417 * DumpRenderTree/DumpRenderTree.m:
3418 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3419 (+[EventSendingController webScriptNameForSelector:]):
3420 (-[EventSendingController currentEventTime]):
3421 (-[EventSendingController leapForward:]):
3422 (-[EventSendingController mouseDown]):
3423 (-[EventSendingController mouseUp]):
3424 (-[EventSendingController mouseMoveToX:Y:]):
3426 2006-03-05 Darin Adler <darin@apple.com>
3428 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
3429 Script now works (after landing my two pending patches).
3431 2006-03-05 Darin Adler <darin@apple.com>
3433 - check in a script to do a "big" rename in WebCore
3434 (can be run whenever we're ready to do it)
3436 * Scripts/do-webcore-rename: Added.
3438 2006-03-05 Maciej Stachowiak <mjs@apple.com>
3442 * Spinneret/Spinneret/WebFrame.cpp:
3443 (WebKit::WebFrame::loadFilePath): Close file when done.
3445 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
3447 Reviewed by Darin, landed by ap.
3449 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
3450 Mouse moved events do not work in DumpRenderTree
3452 Test: fast/events/event-sender-mouse-moved.html
3454 * DumpRenderTree/DumpRenderTree.m:
3455 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
3457 2006-03-04 Eric Seidel <eseidel@apple.com>
3461 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
3462 Disable background erase to avoid tearing.
3463 Fix potential memory smasher from extra long urls.
3465 * Spinneret/Spinneret/Spinneret.cpp:
3467 * Spinneret/Spinneret/Spinneret.vcproj:
3468 * Spinneret/Spinneret/WebFrame.cpp:
3469 (WebKit::WebFrame::loadFilePath):
3470 (WebKit::WebFrame::paint):
3471 * Spinneret/Spinneret/WebView.cpp:
3472 (WebKit::registerWebViewWithInstance):
3474 2006-03-04 Eric Seidel <eseidel@apple.com>
3478 Hang WebView pointer off of HWND (gets rid of global hack).
3479 Remove MessageBox displayed on url change.
3481 * Spinneret/Spinneret/Spinneret.cpp:
3484 * Spinneret/Spinneret/WebView.cpp:
3485 (WebKit::registerWebViewWithInstance):
3486 (WebKit::WebView::createWebView):
3487 (WebKit::WebViewWndProc):
3489 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
3493 Automatically kill httpd if it appears to be already running.
3495 * Scripts/run-webkit-tests:
3497 2006-03-04 Maciej Stachowiak <mjs@apple.com>
3501 * Spinneret/Spinneret/WebFrame.cpp:
3502 (WebKit::WebFrame::loadFilePath): Improved local file loading.
3504 2006-03-03 Eric Seidel <eseidel@apple.com>
3508 A few more fixes to make run-webkit-tests really work on win32.
3510 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3512 * Scripts/run-webkit-tests:
3514 2006-03-03 Eric Seidel <eseidel@apple.com>
3518 Make run-webkit-tests work on win32.
3520 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3522 (dumpRenderTreeMain):
3523 (dumpRenderTreeToStdOut):
3524 (serializeToStdOut):
3526 * Scripts/run-webkit-tests:
3527 * Scripts/webkitdirs.pm:
3528 * Spinneret/Spinneret/WebView.cpp:
3529 (WebKit::WebView::WebView):
3531 2006-03-03 Eric Seidel <eseidel@apple.com>
3535 Add WebFrame class (to hold Frame and FrameView).
3536 Add Location bar support to Spinneret.
3538 * Spinneret/Spinneret/Spinneret.cpp:
3543 * Spinneret/Spinneret/Spinneret.vcproj:
3544 * Spinneret/Spinneret/WebFrame.cpp: Added.
3545 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
3546 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
3547 (WebKit::WebFrame::WebFrame):
3548 (WebKit::WebFrame::loadFilePath):
3549 (WebKit::WebFrame::loadHTMLString):
3550 (WebKit::WebFrame::paint):
3551 (WebKit::WebFrame::impl):
3552 (WebKit::WebFrame::viewImpl):
3553 * Spinneret/Spinneret/WebFrame.h: Added.
3554 * Spinneret/Spinneret/WebView.cpp:
3555 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
3556 (WebKit::WebView::WebView):
3557 (WebKit::WebView::windowHandle):
3558 (WebKit::WebView::mainFrame):
3559 (WebKit::WebView::mouseMoved):
3560 (WebKit::WebView::mouseDown):
3561 (WebKit::WebView::mouseUp):
3562 (WebKit::WebView::mouseDoubleClick):
3563 (WebKit::WebViewWndProc):
3564 * Spinneret/Spinneret/WebView.h:
3566 2006-03-02 Eric Seidel <eseidel@apple.com>
3570 * Spinneret/Spinneret/WebView.cpp:
3571 (WebKit::registerWebViewWithInstance):
3572 (WebKit::WebView::WebView):
3573 (WebKit::WebView::mouseMoved):
3574 (WebKit::WebView::mouseDown):
3575 (WebKit::WebView::mouseUp):
3576 (WebKit::WebView::mouseDoubleClick):
3577 (WebKit::WebViewWndProc):
3578 * Spinneret/Spinneret/WebView.h:
3580 2006-03-01 Eric Seidel <eseidel@apple.com>
3582 Reviewed by andersca.
3584 Make spinneret take advantage of the new GraphicsContextCairo.
3586 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3587 (main): updated to match style guidelines.
3588 * Spinneret/Spinneret/Spinneret.cpp:
3590 * Spinneret/Spinneret/WebView.cpp:
3591 (WebKit::registerWebViewWithInstance):
3592 (WebKit::WebView::WebView):
3593 (WebKit::WebView::~WebView):
3594 (WebKit::WebView::drawRect):
3596 * Spinneret/Spinneret/WebView.h:
3598 2006-03-01 Justin Garcia <justin.garcia@apple.com>
3602 Give the events that eventSender sends a unique eventNumber
3604 * DumpRenderTree/DumpRenderTree.m:
3605 (-[EventSendingController mouseDown]):
3606 (-[EventSendingController mouseUp]):
3607 (-[EventSendingController mouseMoveToX:Y:]):
3609 2006-03-01 Eric Seidel <eseidel@apple.com>