1 2006-10-04 Mark Rowe <bdash@webkit.org>
5 Switch the Qt buildbot to the standard set of build steps.
6 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
7 see if any regressions were spotted, and fail the test if so.
9 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
10 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
11 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
13 2006-10-04 Timothy Hatcher <timothy@apple.com>
15 Reviewed by Mitz Pettel!
17 Bug 10708: [Drosera] Make the console input plaintext-only
18 http://bugs.webkit.org/show_bug.cgi?id=10708
20 Change the console input -webkit-user-modify property to
21 read-write-plaintext-only.
23 * Drosera/console.css:
25 2006-10-04 David Smith <catfish.man@gmail.com>
29 Bug 10473: [Drosera] Overlapping text in JavaScript Console
30 http://bugs.webkit.org/show_bug.cgi?id=10473
32 Using min-height instead of height to avoid overlapping text.
35 * Drosera/console.css:
37 2006-10-04 David Smith <catfish.man@gmail.com>
41 Added a bash-style command history.
45 2006-10-03 Anders Carlsson <acarlsson@apple.com>
47 Reviewed by Adam and Brady.
49 * DumpRenderTree/DumpRenderTree.m:
51 Update URL to Ahem.ttf
53 2006-10-03 Darin Adler <darin@apple.com>
55 * Scripts/commit-log-editor: Added missing "close" call. Oops!
57 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
59 Reviewed by eseidel. Landed by eseidel.
61 Offer a way for BuildBot to not colorize the cmake output, when building
62 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
64 Default is colorize output, though only Qt platform handles this for now.
66 * Scripts/build-dumprendertree:
67 * Scripts/build-webkit:
68 * Scripts/webkitdirs.pm:
70 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
72 Reviewed by eseidel. Landed by eseidel.
74 Make all important scripts work with Qt/Linux.
76 You can safely use this now:
77 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
79 * Scripts/build-dumprendertree:
80 * Scripts/run-javascriptcore-tests:
81 * Scripts/run-webkit-tests:
82 * Scripts/webkitdirs.pm:
84 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
88 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
90 * Scripts/webkitdirs.pm:
92 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
94 Reviewed/landed by Adam.
96 Proper build-webkit support for Qt/Linux.
98 Compilation process is similar to OSX now, aka.
99 the build directory is RootCheckoutDir/WebKitBuild now.
101 * Scripts/build-webkit: Recognize Qt.
102 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
104 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
108 Add QT build slave to Buildbot.
110 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
111 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
112 * 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.
113 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
115 2006-09-28 David Harrison <harrison@apple.com>
119 Moved an extern declaration from inside a method to the top of the file.
121 * DumpRenderTree/EventSendingController.m:
122 (-[EventSendingController clearKillRing]):
124 2006-09-28 David Harrison <harrison@apple.com>
128 Add clearKillRing so we can test emacs support with empty kill ring.
130 * DumpRenderTree/EventSendingController.m:
131 (+[EventSendingController isSelectorExcludedFromWebScript:]):
132 (+[EventSendingController webScriptNameForSelector:]):
133 (-[EventSendingController clearKillRing]):
135 2006-09-27 MorganL <morganl.webkit@yahoo.com>
137 Reviewed by Maciej, landed by Brady
139 Fix URL bar updating.
141 * Spinneret/Spinneret/Spinneret.h:
142 (SpinneretWebHost::didStartProvisionalLoadForFrame):
143 (SpinneretWebHost::didCommitLoadForFrame):
144 (SpinneretWebHost::didFinishLoadForFrame):
146 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
152 * DumpRenderTree/EventSendingController.m:
153 (-[EventSendingController enableDOMUIEventLogging:]):
155 2006-09-22 Justin Garcia <justin.garcia@apple.com>
159 * Scripts/do-webcore-rename:
161 2006-09-21 Timothy Hatcher <timothy@apple.com>
165 Bug 10923: Frame scroll layout test failures on the buildbot
166 http://bugs.webkit.org/show_bug.cgi?id=10923
168 Added a new method that will toggle on the recursive dump of
169 child frame scroll positions.
171 * DumpRenderTree/DumpRenderTree.m:
172 (dumpFrameScrollPosition):
173 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
174 (-[LayoutTestController dumpChildFrameScrollPositions]):
176 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
178 Reviewed by eseidel. Landed by eseidel.
180 Detect that close button was pressed and exit cleanly.
182 * GdkLauncher/main.cpp:
186 2006-09-17 Adam Roben <aroben@apple.com>
188 Reviewed by hyatt, sfalken.
190 Get DumpRenderTree compiling and limping along on Windows.
192 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
193 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
194 (main): Add NULL argument to Page constructor.
195 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
196 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
198 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
202 http://bugs.webkit.org/show_bug.cgi?id=10635
203 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
205 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
206 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
207 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
209 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
213 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
214 Even More Objective-C DOM auto-generation cleanup
216 - Change to use new, more Objectice-C'ish version of
217 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
218 regression test for fast/events/dblclick-addEventListener.html.
220 * DumpRenderTree/EventSendingController.m:
221 (-[EventSendingController fireKeyboardEventsToElement:]):
223 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
227 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
228 Move QtLauncher down to WebKitQt.
230 * QtLauncher/CMakeLists.txt: Removed.
231 * QtLauncher/main.cpp: Removed.
233 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
237 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
238 Adjust DumpRenderTree to the FrameQtClient changes.
240 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
241 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
242 (WebCore::DumpRenderTree::DumpRenderTree):
243 (WebCore::DumpRenderTree::~DumpRenderTree):
244 (WebCore::DumpRenderTree::frame):
245 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
246 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
247 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
248 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
249 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
251 2006-09-03 Darin Adler <darin@apple.com>
253 * Scripts/do-webcore-rename: More renaming plans.
255 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
259 http://bugs.webkit.org/show_bug.cgi?id=10693
260 Convert JavaScript arrays to AppleScript lists
262 * DumpRenderTree/AppleScriptController.m:
263 (convertAEDescToObject):
264 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
266 2006-08-31 Darin Adler <darin@apple.com>
268 * Scripts/do-webcore-rename: Prepare for another round of renaming.
270 2006-08-29 Dan Waylonis <waylonis@google.com>
274 - Verification of exceptions thrown in a plugin. Test for bug 10114.
275 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
276 * DumpRenderTree/ObjCPlugin.m:
277 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
278 (+[ObjCPlugin webScriptNameForSelector:]):
279 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
281 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
285 Commit KDE related tweaks, to be able to
286 differentiate between a Qt-only or a KDE build.
288 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
289 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
291 2006-08-29 Darin Adler <darin@apple.com>
293 Reviewed by Tim Hatcher.
295 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
296 to work around what seems to be a bug in some versions of gdb.
298 2006-08-16 Tim Omernick <timo@apple.com>
300 Reviewed by John Sullivan.
302 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
303 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
306 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
308 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
309 are expected to be retained by the plug-in, and released by the caller.
311 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
313 Reviewed by Tim Hatcher.
315 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
317 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
318 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
321 * Scripts/run-webkit-tests:
322 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
324 2006-08-28 Darin Adler <darin@apple.com>
326 Reviewed by Tim Hatcher.
328 * Scripts/build-drosera: Fix behavior when there are multiple options.
330 2006-08-27 Timothy Hatcher <timothy@apple.com>
334 Drosera will be built when you type make.
336 * Drosera/Makefile: Added.
338 * Makefile.shared: Added.
340 2006-08-27 Anders Carlsson <acarlsson@apple.com>
344 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
345 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
346 (WebCore::DumpRenderTree::DumpRenderTree):
347 (WebCore::DumpRenderTree::~DumpRenderTree):
348 (WebCore::DumpRenderTree::open):
349 (WebCore::DumpRenderTree::readStdin):
350 (WebCore::DumpRenderTree::checkLoaded):
351 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
352 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
355 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
357 Reviewed by Eric, landed by Anders.
359 Add DumpRenderTree support for Qt/Linux.
361 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
362 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
363 (WebCore::DumpRenderTree::DumpRenderTree):
364 (WebCore::DumpRenderTree::~DumpRenderTree):
365 (WebCore::DumpRenderTree::open):
366 (WebCore::DumpRenderTree::readStdin):
367 (WebCore::DumpRenderTree::checkLoaded):
368 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
369 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
371 * Scripts/build-dumprendertree:
372 * Scripts/run-webkit-tests:
373 * Scripts/webkitdirs.pm:
375 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
377 Reviewed by Eric. Landed by rwlbuis.
379 Add QtLauncher (was testunity before), which provides a
380 standalone "browser" to test the Qt platform stuff.
382 * QtLauncher/CMakeLists.txt: Added.
383 * QtLauncher/main.cpp: Added.
386 2006-08-22 Trey Matteson <trey@usa.net>
390 Added support for a new set of browser navigation tests. The main feature
391 is the ability for a test to queue up a set of future actions that will
392 happen after that first page is loaded. This is used to simulate a sequence
393 of user actions such as filling out forms, loading additional pages or
394 going back. In addition we can now dump out the state of the back/forward
395 list, and the scroll position is dumped if not at 0,0.
397 * DumpRenderTree/DumpRenderTree.m:
398 (main): Init new state
399 (compareHistoryItems): New utility to support sorting.
400 (dumpHistoryItem): Write out a WebHistoryItem and kids.
401 (dumpFrameScrollPosition): Write out the scroll position.
402 (dump): Optionally write b/f list or scroll position.
403 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
404 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
405 Kick off any queued actions. Fixed for the case of loads started in
406 a subframe instead of the root frame.
407 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
408 Grab the topmost frame that is being loaded. Do this as early as possible,
409 instead of in didCommitLoadForFrame.
410 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
411 Noting a load has started now happens in previous method.
412 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
413 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
414 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
416 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
417 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
418 Add new work to the queue.
419 (-[LayoutTestController _doLoad:target:]): Do a queued load.
420 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
421 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
422 (-[LayoutTestController scheduleForwardNav:]):
423 (-[LayoutTestController scheduleReload]):
424 (-[LayoutTestController scheduleScript:]):
425 (-[LayoutTestController scheduleLoad:target:]):
426 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
427 since it's not one of the functions that does any dumping.
429 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
433 - added a function to create a few DOMKeyboardEvents and dispatch
434 them to a specified HTML element
435 http://bugs.webkit.org/show_bug.cgi?id=9736
437 * DumpRenderTree/EventSendingController.m:
438 (+[EventSendingController isSelectorExcludedFromWebScript:]):
439 (+[EventSendingController webScriptNameForSelector:]):
440 (-[EventSendingController fireKeyboardEventsToElement:]):
442 2006-08-15 Duncan Wilcox <duncan@mclink.it>
444 Reviewed and tweaked by Darin.
446 - added DumpRenderTree support so editing delegate can be made to refuse edits
447 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
449 * DumpRenderTree/DumpRenderTree.m:
450 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
451 to the list of methods.
452 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
453 without the colon, for the JavaScript name.
454 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
456 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
458 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
459 setter methods to the class.
460 * DumpRenderTree/EditingDelegate.m:
461 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
462 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
463 return the value of acceptsEditing.
464 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
465 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
466 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
467 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
468 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
470 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
471 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
472 (-[EditingDelegate setAcceptsEditing:]): Added.
474 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
478 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
479 http://bugs.webkit.org/show_bug.cgi?id=10224
481 * Drosera/Drosera.xcodeproj/project.pbxproj:
482 * Drosera/LauncherInfo.plist:
484 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
486 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
487 when a test performs an unsuccessful drag and drop operation.
489 * DumpRenderTree/EventSendingController.m:
490 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
491 drag operation for the mouse release is NSDragOperationNone.
493 2006-08-02 Timothy Hatcher <timothy@apple.com>
497 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
498 http://bugs.webkit.org/show_bug.cgi?id=9632
500 Do not change the file source when normalizing the line endings.
501 We use this file source to compare against new versions of the source
502 as it comes in, so we can skip re-syntax highlighting if they are the same.
503 The problem is apparent on yahoo.com since they have mixed line endings and
504 once we normalize them the source will always be different. This was
505 compounded by the fact that yahoo has around 40 inline scripts. Each
506 inline script causes us to check if the main document has more loaded,
507 that is when we compare the source strings. Since they are always different
508 we would syntax highlight yahoo.com 40 times! We do check source length before
509 doing a more expensive string comparison, but the lengths were the same.
511 * Drosera/debugger.js:
513 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
517 Bug 9931: [Drosera] Needs a cool icon
518 http://bugs.webkit.org/show_bug.cgi?id=9931
520 * Drosera/Drosera.icns: Added.
521 * Drosera/Drosera.xcodeproj/project.pbxproj:
522 * Drosera/Info.plist:
524 2006-08-01 Darin Adler <darin@apple.com>
526 - fix a bug in my recent change where the mouse position at the end of
527 the last test would affect the results of the next test
529 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
531 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
535 http://bugs.webkit.org/show_bug.cgi?id=10182
536 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
538 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
539 Correct the logic to not reload local variable list unless an '=' character is in the expression.
541 2006-07-31 Darin Adler <darin@apple.com>
545 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
546 REGRESSION: failing layout test: fast/events/objc-event-api.html
548 * DumpRenderTree/DumpRenderTree.m:
549 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
550 location in flipped coordinates, since those are the coordinates that we use.
551 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
554 * DumpRenderTree/EventSendingController.m:
555 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
556 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
557 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
558 probably worked OK, but this is needed to be correct.
559 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
560 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
561 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
562 dump the screenY as-is.
564 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
568 http://bugs.webkit.org/show_bug.cgi?id=10178
569 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
571 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
572 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
574 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
578 http://bugs.webkit.org/show_bug.cgi?id=10175
579 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
581 * Drosera/DebuggerDocument.m:
582 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
584 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
588 http://bugs.webkit.org/show_bug.cgi?id=10167
589 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
591 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
594 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
598 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
599 http://bugs.webkit.org/show_bug.cgi?id=9686
601 * Drosera/DebuggerDocument.m:
602 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
603 ensure that the server does not try and notify us of events related to the resumption.
604 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
605 call through to JavaScript.
606 * Drosera/debugger.js: Pause debugger when exception is raised.
608 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
612 - fixes for Linux build
614 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
615 * GdkLauncher/gdklauncher.bkl: Tweak comment.
617 2006-07-24 Dan Waylonis <waylonis@google.com>
619 Reviewed and tweaked a bit by Darin.
621 * DumpRenderTree/ObjCPlugin.m:
622 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
623 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
624 "echo:" so it's nice to call from JavaScript.
625 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
626 to test a round trip through Objective-C types.
628 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
632 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
633 Improve iExploder results parsing
635 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
638 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
642 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
643 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
645 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
647 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
651 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
652 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
654 Removed "Property changes" that snuck in as part of the "apply patch" process.
656 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
660 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
661 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
664 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
666 (patch): Use patch(1) for non-binary additions and deletions.
667 * Scripts/svn-unapply:
669 (patch): Use patch(1) for reverting non-binary additions and deletions.
670 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
672 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
676 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
677 http://bugs.webkit.org/show_bug.cgi?id=9889
679 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
680 so, have stepOut pause on the next call to willExecuteStatement rather than second.
682 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
686 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
687 Teach svn-create-patch and friends to fix ChangeLog patches
689 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
690 * Scripts/svn-create-patch: Ditto.
691 * Scripts/svn-unapply: Ditto.
693 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
697 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
698 http://bugs.webkit.org/show_bug.cgi?id=9869
700 * Drosera/DebuggerDocument.m:
701 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
703 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
707 Bug 9863: Drosera needs to show something at launch
708 http://bugs.webkit.org/show_bug.cgi?id=9863
710 * Drosera/DebuggerApplication.m:
711 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
713 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
717 Lets Drosera build universal for the nightlies. Right now it is not
718 possible to build a universal binary on a PPC machine because of a
719 conflict with the universal SDK.
721 * BuildSlaveSupport/build-launcher-app:
722 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
724 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
728 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
729 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
731 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
732 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
733 should open a new stream and deliver the data to the current instance.
735 2006-07-11 Timothy Hatcher <timothy@apple.com>
739 Bug 9598: [Drosera] add a JavaScript evaluator console
740 http://bugs.webkit.org/show_bug.cgi?id=9598
742 * Drosera/DebuggerApplication.h:
743 * Drosera/DebuggerApplication.m:
744 (-[DebuggerApplication knownServers]):
745 * Drosera/DebuggerDocument.h:
746 * Drosera/DebuggerDocument.m:
747 (-[WebScriptObject evaluateScript:inCallFrame:]):
748 (-[WebScriptObject showConsole:]):
749 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
750 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
751 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
752 (-[WebScriptObject webView:createWebViewWithRequest:]):
753 (-[WebScriptObject webViewShow:]):
754 (-[WebScriptObject webViewAreToolbarsVisible:]):
755 (-[WebScriptObject webView:setToolbarsVisible:]):
756 (-[WebScriptObject webView:setResizable:]):
757 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
758 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
759 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
760 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
761 (-[WebScriptObject webView:didFinishLoadForFrame:]):
762 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
763 * Drosera/Drosera.xcodeproj/project.pbxproj:
764 * Drosera/Images/console.png: Added.
765 * Drosera/console.css: Added.
766 * Drosera/console.html: Added.
767 * Drosera/console.js: Added.
769 2006-07-11 Timothy Hatcher <timothy@apple.com>
771 Reviewed by a tired Geoff.
773 Bug 9597: [Drosera] hook up the variables table to show stack variables
774 http://bugs.webkit.org/show_bug.cgi?id=9597
776 * Drosera/DebuggerDocument.m:
777 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
778 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
779 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
780 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
781 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
782 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
783 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
784 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
785 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
786 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
787 * Drosera/debugger.css:
788 * Drosera/debugger.html:
789 * Drosera/debugger.js:
791 2006-07-10 Tim Omernick <timo@apple.com>
793 Reviewed by Beth Dakin.
795 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
796 Add DOM access test to DumpRenderTree's Netscape plug-in
798 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
802 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
806 - http://bugs.webkit.org/show_bug.cgi?id=9839
807 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
809 Now track three states: initializing, running, and closed. If we are launched and the previous
810 state was initializing then we likely just experienced a crash on launch.
812 * WebKitLauncher/WebKitNightlyEnabler.m:
813 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
814 (myApplicationWillTerminate): Update to use new states.
815 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
816 initializing as early as practical.
817 (symbol_lookup): Bring code up to speed with formatting guidelines.
818 (GDSymbolLookup): Ditto.
820 2006-07-10 Darin Adler <darin@apple.com>
822 - try to fix Windows build
824 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
825 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
827 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
829 Build fix. Reviewed by NOBODY.
831 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
832 devenv.com not available in VC++ Express installations
834 * Scripts/webkitdirs.pm: Backed out previous change.
836 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
840 - http://bugs.webkit.org/show_bug.cgi?id=9693
841 svn-apply should set ChangeLog date correctly when applying patches
843 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
844 before applying the patch.
845 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
847 2006-07-09 Darin Adler <darin@apple.com>
849 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
851 2006-07-09 Darin Adler <darin@apple.com>
853 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
855 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
857 Reviewed by NOBODY (build fix).
859 - http://bugs.webkit.org/show_bug.cgi?id=7802
860 devenv.com not available in VC++ Express installations
862 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
863 work again. Add VC++ Express check as the fallback.
865 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
867 Reviewed by Timothy Hatcher.
869 - http://bugs.webkit.org/show_bug.cgi?id=7802
870 devenv.com not available in VC++ Express installations
872 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
874 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
878 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
879 Patch by coldwinter@katamail.com.
881 In the congratulations message, "capatibilies" should be "capabilities".
883 * Scripts/build-webkit:
885 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
887 Reviewed by Timothy Hatcher.
889 - http://bugs.webkit.org/show_bug.cgi?id=9794
890 Teach run-webkit-tests how to ignore tests with performance improvements
892 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
893 feature, and minor clean up.
895 2006-07-08 Darin Adler <darin@apple.com>
897 Reviewed by Geoff (well, half of it at least).
899 - http://bugs.webkit.org/show_bug.cgi?id=9788
900 storage leaks in Objective-C tests
902 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
903 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
904 Add a release to fix a storage leak.
906 2006-07-08 Darin Adler <darin@apple.com>
908 * Scripts/do-webcore-rename: A few more.
910 2006-07-08 Darin Adler <darin@apple.com>
912 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
914 2006-07-04 Maciej Stachowiak <mjs@apple.com>
918 http://bugs.webkit.org/show_bug.cgi?id=9734
919 - add support for dumping non-HTML as text - in this case use textContent
922 * DumpRenderTree/DumpRenderTree.m:
925 2006-07-02 Timothy Hatcher <timothy@apple.com>
929 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
930 http://bugs.webkit.org/show_bug.cgi?id=9631
932 Adds step over and step out. Along with a little code cleanup
933 that was minor enough to piggyback on this fix.
935 * Drosera/DebuggerDocument.h:
936 * Drosera/DebuggerDocument.m:
937 (-[DebuggerDocument stepOver:]):
938 (-[DebuggerDocument stepOut:]):
939 (-[DebuggerDocument windowDidLoad]):
940 (-[DebuggerDocument windowWillClose:]):
941 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
942 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
943 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
944 (-[DebuggerDocument validateUserInterfaceItem:]):
945 * Drosera/Drosera.xcodeproj/project.pbxproj:
946 * Drosera/debugger.html:
947 * Drosera/debugger.js:
948 * Drosera/viewer.css:
950 2006-07-02 Timothy Hatcher <timothy@apple.com>
954 Bug 9628: [Drosera] Split Views acting oddly
955 http://bugs.webkit.org/show_bug.cgi?id=9628
957 Only update the last X or Y coordinate if the new
958 size was not constrained. Also adds the resize cursor to
959 the body during the drag incase there is a constrained
960 over drag off of the resizer element.
962 * Drosera/debugger.js:
964 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
966 Reviewed by Alexy Proskuryakov.
968 Bug 9692: Warning about Safari extensions on every launch is obnoxious
969 http://bugs.webkit.org/show_bug.cgi?id=9692
971 * WebKitLauncher/WebKitNightlyEnabler.m:
972 (myApplicationWillTerminate): Note that we are exiting cleanly.
973 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
974 to exit cleanly on our last invocation. This doesn't play nicely with
975 multiple concurrent instances of WebKit.app so it can be disabled via
976 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
978 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
980 Reviewed by Alexy Proskuryakov.
982 Bug 9654: Refresh Loop when accessing feed URLs
983 http://bugs.webkit.org/show_bug.cgi?id=9654
985 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
987 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
989 Reviewed by Timothy Hatcher.
991 Bug 9689: Nightly builds should warn a user about potential problems when using
993 http://bugs.webkit.org/show_bug.cgi?id=9689
995 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
996 * WebKitLauncher/WebKitNightlyEnabler.m:
997 (myBundleDidLoad): Keep track of if any bundles that are loaded.
998 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
999 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1000 NSApplicationWillFinishLaunchingNotification notifications so that we can
1001 track bundle loads and notify the user at launch completion.
1003 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1007 - first check-in of a Gdk shell for testing WebKit
1009 * GdkLauncher: Added.
1011 2006-06-29 Timothy Hatcher <timothy@apple.com>
1015 Need to call window close so WebView tears-down completly.
1017 * DumpRenderTree/DumpRenderTree.m:
1018 (main): call [window close]
1020 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1024 Bug 9615: Buildbot configuration should be in SVN repository
1025 http://bugs.webkit.org/show_bug.cgi?id=9615
1027 Import BuildBot configuration files as used by build.webkit.org.
1028 auth.py has been stubbed out so that slave passwords are not disclosed.
1030 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1031 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1032 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1033 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1034 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1035 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1036 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1037 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1038 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1039 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1040 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1041 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
1043 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1047 Bug 9614: Nightly builds should notify user if a newer build is available
1048 http://bugs.webkit.org/show_bug.cgi?id=9614
1050 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1051 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1052 script so it can keep track of the latest revision.
1053 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1054 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1055 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1056 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1057 the nightly start page.
1059 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1063 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1064 http://bugs.webkit.org/show_bug.cgi?id=9579
1066 Report screenY values as (height of zero screen - screenY)
1068 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1070 2006-06-25 Timothy Hatcher <timothy@apple.com>
1074 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1075 http://bugs.webkit.org/show_bug.cgi?id=9591
1077 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1079 * Drosera/debugger.js:
1080 * Drosera/viewer.css:
1082 2006-06-25 Timothy Hatcher <timothy@apple.com>
1086 Bug 9568: assertion failure in Safari after quitting Drosera
1087 http://bugs.webkit.org/show_bug.cgi?id=9568
1089 Call switchToServerNamed:nil and not removeLister to make sure
1090 the server object is set to nil to prevent further removeListener calls.
1092 * Drosera/DebuggerDocument.m:
1093 (-[DebuggerDocument applicationTerminating:]):
1095 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1099 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1100 that the directory is not empty instead of reading in every single file and directory first,
1101 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1104 2006-06-25 Darin Adler <darin@apple.com>
1106 * Scripts/svn-apply: Tweak comments.
1107 * Scripts/svn-create-patch: Ditto.
1108 * Scripts/svn-unapply: Ditto.
1110 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1112 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1114 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1116 * Scripts/svn-apply: Formatting fix.
1118 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1122 http://bugs.webkit.org/show_bug.cgi?id=9571
1123 Teach svn-apply and svn-unapply to handle directory adds and removes better
1125 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1126 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1128 2006-06-25 Timothy Hatcher <timothy@apple.com>
1132 Bug 9574: Drosera should show inline scripts within the original HTML
1133 http://bugs.webkit.org/show_bug.cgi?id=9574
1135 Refactor the JavaScript code to have a distinction between files
1136 and scripts. Show the script in the context of the HTML file if
1137 it's URL is the same as the frame's main resource. At the time of
1138 the disParseScript callback the main resource might not be completely
1139 loaded, but Drosera needs to show whatever we have at the time. Once
1140 the main resource is finished, update the file source and reload the file.
1142 * Drosera/DebuggerDocument.m:
1143 (-[DebuggerDocument pause]):
1144 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1145 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1146 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1147 * Drosera/debugger.css:
1148 * Drosera/debugger.js:
1150 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1154 http://bugs.webkit.org/show_bug.cgi?id=9570
1155 Teach prepare-ChangeLog to operate on a list of files or directories
1157 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1158 * Scripts/svn-create-patch: Code refactoring.
1160 2006-06-24 James G. Speth <speth@end.com>
1164 - http://bugs.webkit.org/show_bug.cgi?id=8843
1165 add a way to build Objective-C test cases in HTML
1167 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1168 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1169 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1172 * DumpRenderTree/ObjCPlugin.h:
1173 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1174 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1175 (+[ObjCPlugin webScriptNameForSelector:]):
1176 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1177 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1178 (+[NSObject allowsScriptsFullAccess]):
1179 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1180 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1181 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1182 (+[JSObjC webScriptNameForSelector:]):
1183 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1184 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1185 (-[JSObjC log:]): access to NSLog function
1186 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1187 (-[JSObjC classOfObject:]):
1188 (-[JSObjC classNameOfObject:]):
1190 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1192 Reviewed by Timothy.
1194 * DrawTest/Info.plist: Added copyright statement.
1195 * Drosera/Info.plist: Ditto.
1196 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1197 * WebKitLauncher/Info.plist: Ditto.
1199 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1201 Build fix. Reviewed by NOBODY.
1203 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1204 devenv.com not available in VC++ Express installations
1206 * Scripts/webkitdirs.pm: Backed out previous change.
1208 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1212 - http://bugs.webkit.org/show_bug.cgi?id=7802
1213 devenv.com not available in VC++ Express installations
1215 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1217 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1221 - http://bugs.webkit.org/show_bug.cgi?id=9564
1222 A bunch of fixes to run-webkit-httpd
1224 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1225 127.0.0.1. Useful for testing with WinIE running on another machine;
1226 - don't call checkFrameworks() - we do not need a built WebKit here;
1227 - changed tabs to spaces;
1228 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1229 interactive mode, they were a hassle when testing with several browsers, as one
1230 had to wait for connection to expire);
1231 - remove httpd.pid when done, so that Apache doesn't complain next time.
1233 * Scripts/run-webkit-httpd:
1235 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1237 Reviewed by ggaren, landed by ap.
1239 - http://bugs.webkit.org/show_bug.cgi?id=9181
1240 Complete DOMUIEvent Obj-C API to reflect UIEvent
1242 Add function to enable logging of all events of one DOM node to stdout.
1244 * DumpRenderTree/EventSendingController.h:
1245 * DumpRenderTree/EventSendingController.m:
1246 (+[EventSendingController initialize]):
1247 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1248 (+[EventSendingController webScriptNameForSelector:]):
1249 (-[EventSendingController enableDOMUIEventLogging:]):
1250 (-[EventSendingController handleEvent:]):
1252 2006-06-23 Kevin Decker <kdecker@apple.com>
1254 Reviewed by Tim Hatcher.
1256 - Made column headers in Drosera resizable.
1258 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1262 - see http://bugs.webkit.org/show_bug.cgi?id=9539
1263 Another case error preventing build
1265 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1267 2006-06-22 Timothy Hatcher <timothy@apple.com>
1271 Adds a native toolbar to Drosera to be a good citizen.
1272 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1273 Fixes a dragging bug from an earlier fix to the divider code.
1274 Fixes some poor indenting in debugger.js.
1276 * Drosera/DebuggerDocument.h:
1277 * Drosera/DebuggerDocument.m:
1278 (-[DebuggerDocument stepInto]):
1279 (-[DebuggerDocument pause:]):
1280 (-[DebuggerDocument resume:]):
1281 (-[DebuggerDocument stepInto:]):
1282 (-[DebuggerDocument windowDidLoad]):
1283 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1284 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1285 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1286 (-[DebuggerDocument validateUserInterfaceItem:]):
1287 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1288 * Drosera/English.lproj/MainMenu.nib/info.nib:
1289 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1290 * Drosera/debugger.css:
1291 * Drosera/debugger.html:
1292 * Drosera/debugger.js:
1293 * Drosera/viewer.html:
1295 2006-06-22 Kevin Decker <kdecker@apple.com>
1299 - Added pressed column header image.
1300 - Made column headers behave more like Xcode.
1302 2006-06-22 Timothy Hatcher <timothy@apple.com>
1304 Reviewed by Kevin Decker.
1306 Code clean up. Adds the stackframe and makes only the body
1307 of the tables scrollable keeping the header visible.
1308 Shows the current function stack when paused or stepping.
1310 * Drosera/DebuggerApplication.m:
1311 (-[DebuggerApplication awakeFromNib]):
1312 (-[DebuggerApplication numberOfRowsInTableView:]):
1313 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1314 * Drosera/DebuggerDocument.h:
1315 * Drosera/DebuggerDocument.m:
1316 (-[DebuggerDocument dealloc]):
1317 (-[DebuggerDocument currentFrame]):
1318 (-[DebuggerDocument currentFrameFunctionName]):
1319 (-[DebuggerDocument currentFunctionStack]):
1320 (-[DebuggerDocument log:]):
1321 (-[DebuggerDocument windowWillClose:]):
1322 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1323 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1324 * Drosera/Drosera.xcodeproj/project.pbxproj:
1325 * Drosera/debugger.css:
1326 * Drosera/debugger.html:
1327 * Drosera/debugger.js:
1329 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1333 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1335 * Scripts/run-webkit-httpd:
1337 2006-06-22 Kevin Decker <kdecker@apple.com>
1339 Reviewed by Tim Hatcher.
1341 - More progress toward Javascript Debugger.
1342 - Added some new images to the project.
1344 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1348 - http://bugs.webkit.org/show_bug.cgi?id=9516
1349 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1351 * Scripts/run-webkit-httpd: Added.
1353 2006-06-20 Timothy Hatcher <timothy@apple.com>
1357 Builds Drosera and a launcher to include with the nightly.
1359 * BuildSlaveSupport/build-launcher-app:
1360 * BuildSlaveSupport/build-launcher-dmg:
1361 * Drosera/Drosera.xcodeproj/project.pbxproj:
1362 * Drosera/Info.plist:
1363 * Drosera/LauncherInfo.plist: Added.
1364 * Drosera/launcher.m: Added.
1365 (displayErrorAndQuit):
1366 (checkMacOSXVersion):
1369 * Scripts/build-drosera
1370 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1371 * WebKitLauncher/main.m:
1374 2006-06-20 Timothy Hatcher <timothy@apple.com>
1378 Adds a JavaScript debugger, called Drosera. Named after
1379 a genus of bug eating plants.
1381 * Drosera/DebuggerApplication.h: Added.
1382 * Drosera/DebuggerApplication.m: Added.
1383 (-[DebuggerApplication applicationDidFinishLaunching:]):
1384 (-[DebuggerApplication serverLoaded:]):
1385 (-[DebuggerApplication serverUnloaded:]):
1386 (-[DebuggerApplication awakeFromNib]):
1387 (-[DebuggerApplication showAttachPanel:]):
1388 (-[DebuggerApplication attach:]):
1389 (-[DebuggerApplication numberOfRowsInTableView:]):
1390 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1391 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1392 (-[DebuggerApplication tableViewSelectionDidChange:]):
1393 * Drosera/DebuggerDocument.h: Added.
1394 * Drosera/DebuggerDocument.m: Added.
1395 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1396 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1397 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1398 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1399 (-[DebuggerDocument initWithServerName:]):
1400 (-[DebuggerDocument windowWillClose:]):
1401 (-[DebuggerDocument dealloc]):
1402 (-[DebuggerDocument isPaused]):
1403 (-[DebuggerDocument pause]):
1404 (-[DebuggerDocument resume]):
1405 (-[DebuggerDocument step]):
1406 (-[DebuggerDocument windowNibName]):
1407 (-[DebuggerDocument windowDidLoad]):
1408 (-[DebuggerDocument switchToServerNamed:]):
1409 (-[DebuggerDocument applicationTerminating:]):
1410 (-[DebuggerDocument serverConnectionDidDie:]):
1411 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1412 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1413 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1414 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1415 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1416 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1417 * Drosera/Drosera.pch: Added.
1418 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1419 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1420 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1421 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1422 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1423 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1424 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1425 * Drosera/Images/breakPoint.tif: Added.
1426 * Drosera/Images/breakPointDisabled.tif: Added.
1427 * Drosera/Images/continue.tif: Added.
1428 * Drosera/Images/finishFunction.tif: Added.
1429 * Drosera/Images/glossyFooterFill.tif: Added.
1430 * Drosera/Images/glossyHeader.png: Added.
1431 * Drosera/Images/gradientBackground.png: Added.
1432 * Drosera/Images/gutter.png: Added.
1433 * Drosera/Images/navLeftDisabled.png: Added.
1434 * Drosera/Images/navLeftNormal.png: Added.
1435 * Drosera/Images/navLeftPressed.png: Added.
1436 * Drosera/Images/navRightDisabled.png: Added.
1437 * Drosera/Images/navRightNormal.png: Added.
1438 * Drosera/Images/navRightPressed.png: Added.
1439 * Drosera/Images/pause.tif: Added.
1440 * Drosera/Images/popUpArrows.png: Added.
1441 * Drosera/Images/programCounter.tif: Added.
1442 * Drosera/Images/programCounterBreakPoint.tif: Added.
1443 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1444 * Drosera/Images/run.tif: Added.
1445 * Drosera/Images/splitterBar.tif: Added.
1446 * Drosera/Images/splitterDimple.tif: Added.
1447 * Drosera/Images/step.tif: Added.
1448 * Drosera/Images/stepOver.tif: Added.
1449 * Drosera/Images/stop.tif: Added.
1450 * Drosera/Images/toolbarBackground.png: Added.
1451 * Drosera/Info.plist: Added.
1452 * Drosera/debugger.css: Added.
1453 * Drosera/debugger.html: Added.
1454 * Drosera/debugger.js: Added.
1455 * Drosera/main.m: Added.
1457 * Drosera/viewer.css: Added.
1458 * Drosera/viewer.html: Added.
1460 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1464 http://bugs.webkit.org/show_bug.cgi?id=9485
1465 Teach svn-apply and svn-unapply to use full path names
1467 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1468 * Scripts/svn-unapply: Ditto.
1470 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1474 - http://bugs.webkit.org/show_bug.cgi?id=9150
1475 DumpRenderTree should be able to keep URL history during runs
1477 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1479 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1480 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1481 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1482 it is currently nil since keepWebHistory() might be called more than once incidentally
1484 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1485 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1487 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1491 http://bugs.webkit.org/show_bug.cgi?id=9395
1492 Make prepare-ChangeLog faster
1494 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1495 then save the diff output for reuse. Keep a status variable if changes are made to
1496 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1497 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1498 for no changed files closer to the beginning of the program.
1500 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1502 Reviewed and landed by ap.
1504 - make DumpRenderTree build
1506 * DumpRenderTree/DumpRenderTree.m:
1507 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1508 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1509 (-[LayoutTestController setWindowIsKey:]): Ditto.
1510 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1512 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1514 Reviewed by Darin, landed by Geoff.
1516 http://bugs.webkit.org/show_bug.cgi?id=9350
1517 Use pathcmp() when sorting paths in svn-create-patch
1519 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1520 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1521 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1522 switch and printUsage() subroutine.
1524 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1528 http://bugs.webkit.org/show_bug.cgi?id=9322
1529 Teach svn-create-patch to sort its output
1531 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1532 by text files first, then by binary files.
1534 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1538 http://bugs.webkit.org/show_bug.cgi?id=9299
1539 Teach svn-create-patch and friends to work with binary files
1541 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1542 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1543 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1545 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1549 http://bugs.webkit.org/show_bug.cgi?id=9296
1550 Performance improvement for svn-create-patch
1552 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1554 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1558 http://bugs.webkit.org/show_bug.cgi?id=9290
1559 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1561 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1562 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1564 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1568 Switch Spinneret to new hosting mechanism
1570 * Spinneret/Spinneret.sln:
1571 * Spinneret/Spinneret/Spinneret.cpp:
1572 (SpinneretWebHost::updateAddressBar):
1573 (SpinneretWebHost::QueryInterface):
1574 (SpinneretWebHost::AddRef):
1575 (SpinneretWebHost::Release):
1582 * Spinneret/Spinneret/Spinneret.h:
1583 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1584 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1585 (SpinneretWebHost::didFailProvisionalLoadWithError):
1586 (SpinneretWebHost::didCommitLoadForFrame):
1587 (SpinneretWebHost::didReceiveTitle):
1588 (SpinneretWebHost::didReceiveIcon):
1589 (SpinneretWebHost::didFinishLoadForFrame):
1590 (SpinneretWebHost::didFailLoadWithError):
1591 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1592 (SpinneretWebHost::willPerformClientRedirectToURL):
1593 (SpinneretWebHost::didCancelClientRedirectForFrame):
1594 (SpinneretWebHost::willCloseFrame):
1595 (SpinneretWebHost::windowScriptObjectAvailable):
1596 * Spinneret/Spinneret/Spinneret.vcproj:
1598 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1602 Updated build script
1604 * Scripts/build-webkit:
1606 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1610 * DumpRenderTree/DumpRenderTree.m:
1611 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1612 (-[LayoutTestController clearBackForwardList]):
1613 Add clearBackForwardList function to layoutTestController
1615 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1619 http://bugs.webkit.org/show_bug.cgi?id=8996
1620 slow-utf8-text layout test case failing (no longer deterministic?)
1622 * DumpRenderTree/DumpRenderTree.m:
1624 Dump as text when the response MIME type is text/plain
1626 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1630 * Spinneret/Spinneret.sln:
1631 * Spinneret/Spinneret/Spinneret.vcproj:
1633 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1637 Added 'GCController' to DRT to support garbage collection layout tests.
1639 GCController.collect() and GCController.collectOnAlternateThread() do
1640 what you would expect. The latter takes a boolean argument sepcifying
1641 whether to wait for garbage collection to finish before continuing to
1644 * DumpRenderTree/DumpRenderTree.m:
1645 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1646 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1647 * DumpRenderTree/GCController.h: Added.
1648 * DumpRenderTree/GCController.mm: Added.
1649 (+[GCController isSelectorExcludedFromWebScript:]):
1650 (+[GCController webScriptNameForSelector:]):
1651 (-[GCController collect]):
1652 (-[GCController collectOnAlternateThread:]):
1654 2006-05-23 John Sullivan <sullivan@apple.com>
1658 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1659 Newer Xcode removed some obsolete cruft
1661 * DumpRenderTree/TextInputController.m:
1662 (-[TextInputController textInput]):
1663 added (id) cast to make newer compiler happy
1665 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1671 * Spinneret/Spinneret.sln:
1673 2006-05-18 Darin Adler <darin@apple.com>
1675 - try to fix no-SVG, no-XPATH build, again
1677 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1679 2006-05-18 Darin Adler <darin@apple.com>
1681 - try to fix no-SVG, no-XPATH build
1683 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1684 since the former is what's used in the WebCore project now.
1686 2006-05-17 Darin Adler <darin@apple.com>
1688 * Scripts/do-webcore-rename: Some more future renames.
1690 2006-05-16 Adele Peterson <adele@apple.com>
1694 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1695 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1697 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1699 * Scripts/install-unix-extras: Changed to be executable and removed
1700 text in the file generated by "svn diff".
1701 * Scripts/regenerate-makefiles: Ditto.
1703 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1705 Reviewed by Darin, landed by ap.
1707 - http://bugs.webkit.org/show_bug.cgi?id=8528
1708 Bakefiles (and generated Makefiles) for wx and gdk ports
1710 * Scripts/install-unix-extras: Added.
1711 * Scripts/regenerate-makefiles: Added.
1713 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1717 Fix registry usage from perl script. Turns out libwin32's
1718 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1720 * Scripts/install-win-extras:
1722 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1725 Add load ended callback.
1729 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1730 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1731 * Spinneret/Spinneret/Spinneret.cpp:
1732 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1733 (_tWinMain): Load built-in test content here instead of in lower-level code.
1734 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1736 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1740 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1742 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1746 * Scripts/check-dom-results:
1747 Add XPath to the list of results.
1749 2006-05-08 Darin Adler <darin@apple.com>
1751 * Scripts/do-webcore-rename: Add another rename.
1753 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1757 Spinneret now links against the new separate lib.
1759 * Spinneret/Spinneret.sln:
1760 * Spinneret/Spinneret/Spinneret.cpp:
1761 (SpinneretWebHost::updateLocationBar):
1763 * Spinneret/Spinneret/Spinneret.h:
1764 * Spinneret/Spinneret/Spinneret.vcproj:
1765 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1766 * Spinneret/Spinneret/WebFrame.h: Removed.
1767 * Spinneret/Spinneret/WebView.cpp: Removed.
1768 * Spinneret/Spinneret/WebView.h: Removed.
1770 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1774 Modify error reporting registry keys to disable Dr. Watson.
1775 This allows Javascript test cases to complete without blocking UI.
1777 * Scripts/install-win-extras:
1778 - Use Perl Win32 registry functions to disable blocking UI
1781 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1785 Turned off C++ exceptions, fixed memory leaks
1787 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1788 * Spinneret/Spinneret.sln:
1789 * Spinneret/Spinneret/Spinneret.cpp:
1791 * Spinneret/Spinneret/Spinneret.vcproj:
1792 * Spinneret/Spinneret/WebFrame.cpp:
1793 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1794 (WebKit::WebFrame::WebFrame):
1795 (WebKit::WebFrame::~WebFrame):
1796 (WebKit::WebFrame::impl):
1797 * Spinneret/Spinneret/WebFrame.h:
1798 * Spinneret/Spinneret/WebView.cpp:
1799 * Spinneret/Spinneret/stdafx.h:
1801 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1805 - http://bugs.webkit.org/show_bug.cgi?id=8633
1806 DumpRenderTree should reset the URL cache
1808 * DumpRenderTree/DumpRenderTree.m:
1809 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1811 2006-04-28 Eric Seidel <eseidel@apple.com>
1813 Reviewed by andersca.
1815 * Scripts/do-webcore-rename: rename KCanvasContainer too
1816 * Scripts/run-webkit-tests: output total time
1818 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1820 Reviewed by hyatt. Landed by eseidel.
1822 - http://bugs.webkit.org/show_bug.cgi?id=8549
1823 Enable detection of excessive repainting with DumpRenderTree
1825 * DumpRenderTree/DumpRenderTree.m:
1826 (-[LayoutTestController display]):
1828 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1832 - http://bugs.webkit.org/show_bug.cgi?id=6905
1833 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1835 * DumpRenderTree/DumpRenderTree.m:
1836 (dump): If display() has been called during the test, grab the pixels from
1837 the view, after letting it repaint invalidated rects.
1838 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1839 (-[LayoutTestController display]): Added. Calls -display on the view
1840 and changes the subsequent behavior of dump().
1843 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1847 - http://bugs.webkit.org/show_bug.cgi?id=8532
1848 Update iExploder to 1.3.2
1850 Test case numbers are not compatible with iExploder 1.2.
1852 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1854 * iExploder/CHANGELOG.txt: Added.
1855 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1856 * iExploder/README.txt: Added some performance hints.
1858 * iExploder/htdocs/config.rb: Added.
1859 * iExploder/htdocs/cssproperties.in:
1860 * iExploder/htdocs/cssvalues.in:
1861 * iExploder/htdocs/htmlattrs.in:
1862 * iExploder/htdocs/htmltags.in:
1863 * iExploder/htdocs/iexploder.cgi:
1864 - Updated to support the latest HTML & CSS tags, properties, and values from both
1865 the WebKit and Mozilla CVS tree
1866 - cssproperties.in cleanup
1867 - Modularized the code a little bit.
1868 - Fix subtest bug that was causing last 5 tags to be missed
1869 - new subtest algorithm to deal better with larger tag counts
1870 - default HTML_MAX_TAGS increased from 32 to 96
1872 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1873 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1874 alternative to our run-iexploder-tests.
1875 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1876 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1877 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1879 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1881 - commit Scripts/run-mangleme-tests (missed it the previous time).
1883 2006-04-18 Darin Adler <darin@apple.com>
1885 - attempt to fix Windows buildbot
1887 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1888 We need a better long-term solution for this.
1890 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1894 - http://bugs.webkit.org/show_bug.cgi?id=8444
1895 Integrate mangleme test script.
1897 Works in a similar way to run-iexploder-tests.
1899 * Scripts/run-mangleme-tests: Added.
1901 * mangleme/Makefile: Added.
1902 * mangleme/README: Added.
1903 * mangleme/mangle.cgi.c: Added.
1904 * mangleme/remangle.cgi.c: Added.
1905 * mangleme/tags.h: Added.
1907 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1911 - http://bugs.webkit.org/show_bug.cgi?id=8443
1912 An easier way to save iExploder tests.
1914 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1916 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1920 - http://bugs.webkit.org/show_bug.cgi?id=8421
1921 Integrate iExploder test script.
1923 This script generates artificially mangled HTML documents, to test that the browser
1924 doesn't crash when handling ill-formed code.
1927 run-iexploder-tests Open an interactive test page in Safari+ToT.
1928 run-iexploder-tests nnnnn Open test #nnnnn.
1930 Command line options:
1931 --guard-malloc (-g) Use Guard Malloc.
1932 --port=nnnn Run Apache on port nnnn (default is 8000).
1934 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1935 (thus, Apache is still running), e.g.:
1936 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1938 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1940 * Scripts/run-iexploder-tests: Added.
1942 * iExploder/LICENSE.txt: Added.
1943 * iExploder/README.txt: Added.
1944 * iExploder/htdocs: Added.
1945 * iExploder/htdocs/cssproperties.in: Added.
1946 * iExploder/htdocs/cssvalues.in: Added.
1947 * iExploder/htdocs/htmlattrs.in: Added.
1948 * iExploder/htdocs/htmltags.in: Added.
1949 * iExploder/htdocs/htmlvalues.in: Added.
1950 * iExploder/htdocs/iexploder.cgi: Added.
1951 * iExploder/htdocs/index.html: Added.
1952 * iExploder/tools: Added.
1953 * iExploder/tools/lasthit.rb: Added.
1954 * iExploder/tools/osx_last_crash.rb: Added.
1956 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1960 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
1961 Restore color profile after a crash
1963 * DumpRenderTree/DumpRenderTree.m:
1964 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1965 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1966 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1967 and this code may change significantly.
1969 (main): Install crashHandler.
1971 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1972 (CFStringGetCStringPtr should NEVER EVER be used!).
1974 2006-04-15 Darin Adler <darin@apple.com>
1978 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1979 Seems xmlsoft.org's HTTP no longer has what we need.
1981 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1983 Rubber-stamped by Darin.
1985 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
1986 upload-disk-image stage on buildslaves fail with "No space left on device"
1988 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1989 'hdiutil create'. This creates the initial disk image based on the size of
1990 the source folder, and copies the contents to the new disk image. The file
1991 extension on the temporary uncompressed disk image has also been altered from
1992 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1993 the extension is not ".dmg".
1995 2006-04-12 Eric Seidel <eseidel@apple.com>
1999 * Scripts/update-webkit: Make this return non-zero when svn fails.
2001 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2005 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2006 Make HTTP tests using Perl use .pl extension
2008 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2009 removed support for .text. Reduced the number of places that explicitly list supported
2010 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2013 2006-04-06 Darin Adler <darin@apple.com>
2015 Changes requested by Mark Rowe.
2017 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2018 trash at the end of the file.
2019 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2021 * WebKitLauncher/main.m: Removed trash at end of file.
2023 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2026 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2028 Reviewed by Darin, landed by Maciej.
2030 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2031 and bundles the WebKit frameworks inside it.
2032 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2033 containing WebKit.app.
2034 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2035 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2036 number of the SVN working copy.
2037 * WebKitLauncher: Added.
2038 * WebKitLauncher/Info.plist: Added.
2039 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2040 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2041 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2042 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
2043 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2044 the nightly launcher.
2045 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2046 It sets up the environment to have Safari use the bundled frameworks
2047 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2048 * WebKitLauncher/start.html: Added.
2049 * WebKitLauncher/webkit.icns: Added.
2051 2006-04-05 Darin Adler <darin@apple.com>
2055 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2056 are allowed to have global initializers.
2058 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2060 Reviewed by OMG BETH
2062 * Scripts/run-testkjs:
2063 - pipe STDERR to /dev/null by default; new --verbose option overrides
2065 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2066 - output run command in a format that can be copied and pasted into the
2067 terminal to run manually
2069 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2071 Reviewed by harrison
2073 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2074 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2076 Tell the source that the drag is over after the drag is performed, not before.
2078 * DumpRenderTree/EventSendingController.m:
2079 (-[EventSendingController mouseUp]):
2081 2006-04-01 Darin Adler <darin@apple.com>
2085 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2086 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2087 elements in that array are not strings.
2089 2006-03-31 Darin Adler <darin@apple.com>
2091 Reviewed by John Sullivan.
2093 - added a "--reset-results" option to run-webkit-tests so you can reset
2094 the results without first deleting expected results
2095 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2097 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2098 more logical. Moved all the subroutines to the end of the file. Added a
2101 * DumpRenderTree/DumpRenderTree.m:
2102 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2103 to generate new output for all tests it runs.
2104 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2105 the --dump-all-pixels option is passed. Also tightened up the image dumping
2106 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2107 with code to save and restore the context.
2109 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2110 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2112 2006-03-30 Tim Omernick <timo@apple.com>
2114 Reviewed by NOBODY (just fixing copyrights)
2116 * DumpRenderTree/ObjCPlugin.h:
2118 * DumpRenderTree/ObjCPlugin.m: ditto
2119 * DumpRenderTree/ObjCPluginFunction.h: ditto
2120 * DumpRenderTree/ObjCPluginFunction.m: ditto
2122 2006-03-30 Tim Omernick <timo@apple.com>
2126 * DumpRenderTree/DumpRenderTree.m:
2127 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2128 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2129 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2130 exposed to JS as a callable object.
2132 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2133 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2135 * DumpRenderTree/ObjCPlugin.h: Added.
2136 * DumpRenderTree/ObjCPlugin.m: Added.
2137 * DumpRenderTree/ObjCPluginFunction.h: Added.
2138 * DumpRenderTree/ObjCPluginFunction.m: Added.
2140 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2141 Added a new method, "removeDefaultMethod", which removes the default method from the
2142 plugin object's class. The effect is that the plugin object is mutated from a callable
2143 function to a simple object.
2145 Handle "removeDefaultMethod".
2146 (pluginInvokeDefault):
2147 Made the default method actually do something (return 1).
2149 2006-03-30 Eric Seidel <eseidel@apple.com>
2153 Remove WebFrame::viewImpl(), setMainFrame on page.
2155 * Spinneret/Spinneret/WebFrame.cpp:
2156 (WebKit::WebFrame::WebFrame):
2157 * Spinneret/Spinneret/WebFrame.h:
2158 * Spinneret/Spinneret/WebView.cpp:
2159 (WebKit::WebView::mouseMoved):
2160 (WebKit::WebView::mouseDown):
2161 (WebKit::WebView::mouseUp):
2162 (WebKit::WebView::mouseDoubleClick):
2163 (WebKit::WebViewWndProc):
2165 2006-03-30 Eric Seidel <eseidel@apple.com>
2169 Fix html editing input & basic form submission.
2171 * Spinneret/Spinneret/WebFrame.cpp:
2172 (WebKit::WebFrame::submitForm):
2173 (WebKit::WebFrame::loadURL):
2174 * Spinneret/Spinneret/WebFrame.h:
2175 * Spinneret/Spinneret/WebView.cpp:
2176 (WebKit::WebView::keyPress):
2177 (WebKit::WebViewWndProc):
2179 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2183 <rdar://problem/4402375>
2184 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2186 Added an option to draw the selectionRect.
2188 * DumpRenderTree/DumpRenderTree.m:
2190 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2191 (-[LayoutTestController dumpSelectionRect]):
2194 2006-03-29 Darin Adler <darin@apple.com>
2196 Reviewed by Tim Hatcher.
2198 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2200 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2202 2006-03-28 Eric Seidel <eseidel@apple.com>
2206 * Scripts/check-for-global-initializers: remove svg exceptions.
2208 2006-03-28 Timothy Hatcher <timothy@apple.com>
2212 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2214 * Scripts/check-for-global-initializers:
2216 2006-03-28 Timothy Hatcher <timothy@apple.com>
2218 Build fix. Turn off uninitialized warnings for the first block of code.
2220 * Scripts/check-for-global-initializers:
2222 2006-03-28 Darin Adler <darin@apple.com>
2226 * Scripts/check-for-global-initializers: Added.
2228 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2230 Reviewed by darin. Landed by eseidel.
2232 - http://bugs.webkit.org/show_bug.cgi?id=7947
2233 Add repaint testing support to run-webkit-tests
2235 * DumpRenderTree/DumpRenderTree.m:
2236 (main): Added --repaint and --horizontal-sweep options.
2237 (dump): Repaint line-by-line or column-by-column when the appropriate option
2239 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2240 and repaintSweepHorizontally() methods to layoutTestController.
2241 (-[LayoutTestController testRepaint]):
2242 (-[LayoutTestController repaintSweepHorizontally]):
2244 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2245 to force these settings on tests that do not ask for them.
2247 2006-03-24 Eric Seidel <eseidel@apple.com>
2253 * Spinneret/Spinneret/WebFrame.cpp:
2254 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2256 2006-03-21 Beth Dakin <bdakin@apple.com>
2260 Add support for keyDown() to DumpRenderTree.
2262 * DumpRenderTree/DumpRenderTree.m:
2263 (main): Set the preference for tabbing to links.
2264 * DumpRenderTree/EventSendingController.m:
2265 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2266 (+[EventSendingController webScriptNameForSelector:]):
2267 (-[EventSendingController keyDown:withModifiers:]):
2269 2006-03-20 Eric Seidel <eseidel@apple.com>
2275 * Spinneret/Spinneret/Spinneret.vcproj:
2276 * Spinneret/Spinneret/WebFrame.h:
2277 * Spinneret/Spinneret/WebView.cpp:
2278 (WebKit::WebView::mouseMoved):
2279 (WebKit::WebView::mouseDown):
2280 (WebKit::WebView::mouseUp):
2281 (WebKit::WebView::mouseDoubleClick):
2282 (WebKit::WebView::keyPress):
2283 (WebKit::WebViewWndProc):
2285 2006-03-19 Darin Adler <darin@apple.com>
2289 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2290 we can test it in layout tests. We don't really need tests that run with
2291 pop-up blocking off at the moment. If we do some day, we can add some
2292 API for turning it off in the layout test controller.
2294 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2295 don't ignore the leak; it should no longer show up.
2297 2006-03-17 Anders Carlsson <andersca@mac.com>
2301 * Scripts/install-win-extras:
2302 Fetch "Program Files" location from the environment.
2304 2006-03-17 Eric Seidel <eseidel@apple.com>
2308 Fix Spinneret to pass Events as const & not as pointers.
2310 * Spinneret/Spinneret/WebView.cpp:
2311 (WebKit::WebView::mouseMoved):
2312 (WebKit::WebView::mouseDown):
2313 (WebKit::WebView::mouseUp):
2314 (WebKit::WebView::mouseDoubleClick):
2315 (WebKit::WebView::keyPress):
2317 2006-03-17 Eric Seidel <eseidel@apple.com>
2319 Reviewed by justing.
2321 Add support for basic HTML editing.
2323 * Spinneret/Spinneret/WebView.cpp:
2324 (WebKit::WebView::WebView):
2325 (WebKit::WebView::keyPress):
2327 2006-03-17 Eric Seidel <eseidel@apple.com>
2329 Rubber-stamped by ggaren.
2331 Break DumpRenderTree.m up into several files to make the code more readable.
2333 * DumpRenderTree/DumpRenderTree.h: Added.
2334 * DumpRenderTree/DumpRenderTree.m:
2335 (doneLoading): new accessor function for "done" global.
2336 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2337 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2338 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2339 * DumpRenderTree/EditingDelegate.h: Added.
2340 * DumpRenderTree/EditingDelegate.m: Added.
2341 (-[EditingDelegate webViewDidChangeSelection:]):
2342 * DumpRenderTree/EventSendingController.h: Added.
2343 * DumpRenderTree/EventSendingController.m: Added.
2345 2006-03-16 Eric Seidel <eseidel@apple.com>
2349 Add resize, scroll event support.
2351 * Spinneret/Spinneret/WebView.cpp:
2352 (WebKit::WebView::mouseMoved):
2353 (WebKit::WebView::mouseDown):
2354 (WebKit::WebView::mouseUp):
2355 (WebKit::WebView::mouseDoubleClick):
2356 (WebKit::WebView::keyPress):
2357 (WebKit::WebViewWndProc):
2358 * Spinneret/Spinneret/WebView.h:
2360 2006-03-16 Eric Seidel <eseidel@apple.com>
2364 Make build-webkit print correctly to stdout on windows.
2366 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2368 2006-03-15 Eric Seidel <eseidel@apple.com>
2372 Fix eventSender.mouseClick() to update lastClick timestamp.
2374 * DumpRenderTree/DumpRenderTree.m:
2375 (-[EventSendingController mouseClick]):
2377 2006-03-15 Darin Adler <darin@apple.com>
2381 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2382 that had a lowercase "i" in it so this builds on case-sensitive
2385 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2389 Added run-testkjs and compare-timing-files scripts, to support super
2392 * Scripts/compare-timing-files: Added.
2393 * Scripts/run-testkjs: Added.
2395 2006-03-14 Eric Seidel <eseidel@apple.com>
2399 Make the URL bar relinquish focus on page load.
2401 * Spinneret/Spinneret/Spinneret.cpp:
2404 2006-03-14 Eric Seidel <eseidel@apple.com>
2408 Fix WebView to allow KeyFocus.
2409 Add handling of space and shift-space for scrolling.
2411 * Spinneret/Spinneret/WebView.cpp:
2412 (WebKit::scrollMessageForKey):
2413 (WebKit::WebViewWndProc):
2415 2006-03-10 Eric Seidel <eseidel@apple.com>
2419 Add scrolling support into Spinneret.
2421 * Spinneret/Spinneret/WebFrame.cpp:
2422 (WebKit::WebFrame::paint):
2423 * Spinneret/Spinneret/WebView.cpp:
2424 (WebKit::WebView::createWebView):
2425 (WebKit::calculateScrollDelta):
2426 (WebKit::scrollMessageForKey):
2427 (WebKit::WebViewWndProc):
2429 2006-03-13 Eric Seidel <eseidel@apple.com>
2433 Fix checksum generation on Intel machines.
2434 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2435 give a small speed boost now that it uses a shared buffer.
2437 * DumpRenderTree/DumpRenderTree.m:
2440 (md5HashStringForBitmap):
2441 * DumpRenderTree/ImageDiff.m:
2442 (computePercentageDifferent):
2444 2006-03-13 Darin Adler <darin@apple.com>
2446 Reviewed by Tim Hatcher.
2448 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2449 have it named httpd-1.3 instead.
2451 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2453 Fix proposed by Mitz Pettel, reviewed by Darin.
2455 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
2456 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2458 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2459 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2462 2006-03-09 Darin Adler <darin@apple.com>
2464 Reviewed by John Sullivan.
2466 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
2467 memory leak in the plug-in tests
2469 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2470 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2471 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2473 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2474 Moved the browser global in here since it's declared in this file's header.
2475 Changed the code to set up the pluginClass structure to not use function
2476 pointer casts. Those are dangerous because they can hide many types of mismatch.
2477 And indeed when I did this I discovered that many functions were missing their
2478 boolean return values or had parameter declarations with the wrong types.
2479 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2480 clarity. Added boolean return value: return true when successful and false when not.
2481 (pluginSetProperty): Added boolean return value, return false since we have no
2482 properties we can set.
2483 (pluginInvoke): Added boolean return value. Return true when successful and false
2484 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2485 return value from calling the browser. Changed code to put the strings in malloc
2486 buffers instead of relying on GCC's extension that allows variable-sized arrays
2488 (pluginInvokeDefault): Added boolean return value, return false since we have no
2489 default function to call.
2490 (pluginInvalidate): Added missing parameter. Removed comment.
2491 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2492 to cast the result of malloc.
2493 (pluginDeallocate): Removed uneeded cast.
2495 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2496 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2497 that match NPObject's fields. Removed unused NPWindow pointer.
2499 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2501 Test: fast/events/event-sender-mouse-click.html
2505 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
2506 DRT hangs when doing eventSender.mouseDown on native widgets
2508 * DumpRenderTree/DumpRenderTree.m:
2509 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2510 (-[EventSendingController mouseClick]): Simulates a click in a native
2511 widget by queueing a mouseUp before sending the mouseDown, so that
2512 the widget's mouse tracking event loop doesn't hang indefinitely.
2514 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2518 - make link clicks work by handling link click requests
2521 * Spinneret/Spinneret/Spinneret.cpp:
2522 (updateLocationBar):
2523 * Spinneret/Spinneret/Spinneret.h:
2524 * Spinneret/Spinneret/WebFrame.cpp:
2525 (WebKit::WebFrame::WebFrame):
2526 (WebKit::WebFrame::openURL):
2527 (WebKit::WebFrame::loadURL):
2528 * Spinneret/Spinneret/WebFrame.h:
2530 2006-03-08 Eric Seidel <eseidel@apple.com>
2534 Focus URL bar on Spinneret launch, remove border from WebView.
2535 Stop WebFrame from deleting the job (prevent crash).
2537 * Spinneret/Spinneret/Spinneret.cpp:
2539 * Spinneret/Spinneret/WebFrame.cpp:
2540 (WebKit::WebFrame::receivedAllData):
2541 (WebKit::WebFrame::paint):
2542 * Spinneret/Spinneret/WebView.cpp:
2543 (WebKit::WebView::createWebView):
2545 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2549 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2550 (pluginInvoke): Added a method to test getURL.
2552 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2556 - load URLs, not file paths, in Spinneret
2558 * Spinneret/Spinneret/Spinneret.cpp:
2560 * Spinneret/Spinneret/Spinneret.vcproj:
2561 * Spinneret/Spinneret/WebFrame.cpp:
2562 (WebKit::WebFrame::loadURL):
2563 (WebKit::WebFrame::receivedData):
2564 (WebKit::WebFrame::receivedAllData):
2565 * Spinneret/Spinneret/WebFrame.h:
2566 * Spinneret/Spinneret/WebView.cpp:
2567 (WebKit::WebView::WebView):
2569 2006-03-08 Darin Adler <darin@apple.com>
2573 - fixed AppleScript layout test results to not be endian-dependent
2574 (Hyatt complained to me about this one)
2576 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2577 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2578 (which are endian-dependent).
2580 2006-03-07 Darin Adler <darin@apple.com>
2584 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
2585 unwanted output while running layout tests
2587 * DumpRenderTree/DumpRenderTree.m:
2588 (checkedMalloc): Added.
2589 (checkedRealloc): Added.
2590 (makeLargeMallocFailSilently): Added.
2591 (main): Call makeLargeMallocFailSilently.
2593 2006-03-06 Darin Adler <darin@apple.com>
2595 * Scripts/do-webcore-rename: Add some more planned renaming.
2597 2006-03-06 Eric Seidel <eseidel@apple.com>
2601 * Spinneret/Spinneret/WebFrame.cpp:
2602 (WebKit::WebFrame::paint): force layout before painting
2604 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2608 Sent the windowNumber when sending events.
2609 Added leapForward so that we don't have to spend time waiting
2610 in layout tests that do mouse operations that require delays.
2612 * DumpRenderTree/DumpRenderTree.m:
2613 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2614 (+[EventSendingController webScriptNameForSelector:]):
2615 (-[EventSendingController currentEventTime]):
2616 (-[EventSendingController leapForward:]):
2617 (-[EventSendingController mouseDown]):
2618 (-[EventSendingController mouseUp]):
2619 (-[EventSendingController mouseMoveToX:Y:]):
2621 2006-03-05 Darin Adler <darin@apple.com>
2623 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2624 Script now works (after landing my two pending patches).
2626 2006-03-05 Darin Adler <darin@apple.com>
2628 - check in a script to do a "big" rename in WebCore
2629 (can be run whenever we're ready to do it)
2631 * Scripts/do-webcore-rename: Added.
2633 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2637 * Spinneret/Spinneret/WebFrame.cpp:
2638 (WebKit::WebFrame::loadFilePath): Close file when done.
2640 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2642 Reviewed by Darin, landed by ap.
2644 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
2645 Mouse moved events do not work in DumpRenderTree
2647 Test: fast/events/event-sender-mouse-moved.html
2649 * DumpRenderTree/DumpRenderTree.m:
2650 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2652 2006-03-04 Eric Seidel <eseidel@apple.com>
2656 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2657 Disable background erase to avoid tearing.
2658 Fix potential memory smasher from extra long urls.
2660 * Spinneret/Spinneret/Spinneret.cpp:
2662 * Spinneret/Spinneret/Spinneret.vcproj:
2663 * Spinneret/Spinneret/WebFrame.cpp:
2664 (WebKit::WebFrame::loadFilePath):
2665 (WebKit::WebFrame::paint):
2666 * Spinneret/Spinneret/WebView.cpp:
2667 (WebKit::registerWebViewWithInstance):
2669 2006-03-04 Eric Seidel <eseidel@apple.com>
2673 Hang WebView pointer off of HWND (gets rid of global hack).
2674 Remove MessageBox displayed on url change.
2676 * Spinneret/Spinneret/Spinneret.cpp:
2679 * Spinneret/Spinneret/WebView.cpp:
2680 (WebKit::registerWebViewWithInstance):
2681 (WebKit::WebView::createWebView):
2682 (WebKit::WebViewWndProc):
2684 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2688 Automatically kill httpd if it appears to be already running.
2690 * Scripts/run-webkit-tests:
2692 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2696 * Spinneret/Spinneret/WebFrame.cpp:
2697 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2699 2006-03-03 Eric Seidel <eseidel@apple.com>
2703 A few more fixes to make run-webkit-tests really work on win32.
2705 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2707 * Scripts/run-webkit-tests:
2709 2006-03-03 Eric Seidel <eseidel@apple.com>
2713 Make run-webkit-tests work on win32.
2715 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2717 (dumpRenderTreeMain):
2718 (dumpRenderTreeToStdOut):
2719 (serializeToStdOut):
2721 * Scripts/run-webkit-tests:
2722 * Scripts/webkitdirs.pm:
2723 * Spinneret/Spinneret/WebView.cpp:
2724 (WebKit::WebView::WebView):
2726 2006-03-03 Eric Seidel <eseidel@apple.com>
2730 Add WebFrame class (to hold Frame and FrameView).
2731 Add Location bar support to Spinneret.
2733 * Spinneret/Spinneret/Spinneret.cpp:
2738 * Spinneret/Spinneret/Spinneret.vcproj:
2739 * Spinneret/Spinneret/WebFrame.cpp: Added.
2740 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2741 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2742 (WebKit::WebFrame::WebFrame):
2743 (WebKit::WebFrame::loadFilePath):
2744 (WebKit::WebFrame::loadHTMLString):
2745 (WebKit::WebFrame::paint):
2746 (WebKit::WebFrame::impl):
2747 (WebKit::WebFrame::viewImpl):
2748 * Spinneret/Spinneret/WebFrame.h: Added.
2749 * Spinneret/Spinneret/WebView.cpp:
2750 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2751 (WebKit::WebView::WebView):
2752 (WebKit::WebView::windowHandle):
2753 (WebKit::WebView::mainFrame):
2754 (WebKit::WebView::mouseMoved):
2755 (WebKit::WebView::mouseDown):
2756 (WebKit::WebView::mouseUp):
2757 (WebKit::WebView::mouseDoubleClick):
2758 (WebKit::WebViewWndProc):
2759 * Spinneret/Spinneret/WebView.h:
2761 2006-03-02 Eric Seidel <eseidel@apple.com>
2765 * Spinneret/Spinneret/WebView.cpp:
2766 (WebKit::registerWebViewWithInstance):
2767 (WebKit::WebView::WebView):
2768 (WebKit::WebView::mouseMoved):
2769 (WebKit::WebView::mouseDown):
2770 (WebKit::WebView::mouseUp):
2771 (WebKit::WebView::mouseDoubleClick):
2772 (WebKit::WebViewWndProc):
2773 * Spinneret/Spinneret/WebView.h:
2775 2006-03-01 Eric Seidel <eseidel@apple.com>
2777 Reviewed by andersca.
2779 Make spinneret take advantage of the new GraphicsContextCairo.
2781 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2782 (main): updated to match style guidelines.
2783 * Spinneret/Spinneret/Spinneret.cpp:
2785 * Spinneret/Spinneret/WebView.cpp:
2786 (WebKit::registerWebViewWithInstance):
2787 (WebKit::WebView::WebView):
2788 (WebKit::WebView::~WebView):
2789 (WebKit::WebView::drawRect):
2791 * Spinneret/Spinneret/WebView.h:
2793 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2797 Give the events that eventSender sends a unique eventNumber
2799 * DumpRenderTree/DumpRenderTree.m:
2800 (-[EventSendingController mouseDown]):
2801 (-[EventSendingController mouseUp]):
2802 (-[EventSendingController mouseMoveToX:Y:]):
2804 2006-03-01 Eric Seidel <eseidel@apple.com>
2808 Add a stub win32 application to test WebCore drawing on windows.
2811 * Spinneret/Spinneret: Added.
2812 * Spinneret/Spinneret.sln: Added.
2813 * Spinneret/Spinneret/Resource.h: Added.
2814 * Spinneret/Spinneret/Spinneret.cpp: Added.
2820 * Spinneret/Spinneret/Spinneret.h: Added.
2821 * Spinneret/Spinneret/Spinneret.ico: Added.
2822 * Spinneret/Spinneret/Spinneret.rc: Added.
2823 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2824 * Spinneret/Spinneret/WebView.cpp: Added.
2825 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2826 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2827 (WebKit::registerWebViewWithInstance):
2828 (WebKit::WebView::createWebView):
2829 (WebKit::WebView::WebView):
2830 (WebKit::WebView::~WebView):
2831 (WebKit::WebView::drawRect):
2832 (WebKit::WebView::windowHandle):
2834 * Spinneret/Spinneret/WebView.h: Added.
2835 * Spinneret/Spinneret/small.ico: Added.
2836 * Spinneret/Spinneret/stdafx.cpp: Added.
2837 * Spinneret/Spinneret/stdafx.h: Added.
2839 2006-02-28 Eric Seidel <eseidel@apple.com>
2843 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2844 (main): add ability to dump render tree and read from a local file.
2846 2006-02-27 Eric Seidel <eseidel@apple.com>
2850 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2852 2006-02-27 Eric Seidel <eseidel@apple.com>
2856 Test new KConfig -> PlugInInfoStore change.
2857 http://bugs.webkit.org/show_bug.cgi?id=7498
2859 * DumpRenderTree/DumpRenderTree.m:
2860 (main): load test netscape plugin
2861 * Scripts/run-webkit-tests: style update
2863 2006-02-24 Eric Seidel <eseidel@apple.com>
2867 Make DumpRenderTree link against icu.
2869 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2871 2006-02-24 Eric Seidel <eseidel@apple.com>
2875 Make DumpRenderTree link against libxml, etc.
2877 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2879 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2881 Reviewed and landed by Anders.
2883 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2884 getting called from the run loop, making the view render each test and thus slowing
2887 * DumpRenderTree/DumpRenderTree.m:
2888 (main): Set the offscreen window to not autodisplay.
2890 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2894 - Turn http tests back on by default.
2895 - Wait for Apache to actually start serving requests.
2896 - Get user id from a built-in variable rather than an external command;
2897 don't pass the group.
2899 * Scripts/run-webkit-tests:
2901 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2903 Suggested by Mitz Pettel, reviewed by Darin.
2905 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2906 can run CGIs even if the permissions are 700 or 600.
2908 2006-02-23 Darin Adler <darin@apple.com>
2910 Collaborating with Alexey.
2912 - turn off http tests by default until we figure out how to get them
2913 to run even when permissions on CGI files are 700 instead of 755
2915 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2917 2006-02-23 Eric Seidel <eseidel@apple.com>
2919 Add *.user to ignore list.
2921 2006-02-23 Eric Seidel <eseidel@apple.com>
2923 Remove binary file which shouldn't have been commited (and add to ignore list).
2925 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2926 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2928 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2932 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2934 2006-02-22 Eric Seidel <eseidel@apple.com>
2936 Reviewed by Tim Hatcher.
2938 Fix install-win-extras to not try to re-install setx if installed.
2940 * Scripts/install-win-extras:
2942 2006-02-22 Eric Seidel <eseidel@apple.com>
2944 One more file possibly missing from previous commit?
2946 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2947 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2949 2006-02-22 Eric Seidel <eseidel@apple.com>
2951 Reviewed by justing.
2953 Files missing from previous commit.
2955 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2956 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2958 2006-02-22 Eric Seidel <eseidel@apple.com>
2960 Rubber-stamped by justing.
2962 Corrected path for DumpRenderTree.intermediate files
2964 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2966 2006-02-22 Eric Seidel <eseidel@apple.com>
2968 Reviewed by justing.
2970 Fixed build-dumprendertree to exit with correct error codes.
2972 * Scripts/build-dumprendertree:
2974 2006-02-22 Eric Seidel <eseidel@apple.com>
2976 Reviewed by justing.
2978 Update build scripts to generalize building on Win32, and allow
2979 building of DumpRenderTree on Win32 from build-dumprendertree.
2981 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2983 * Scripts/build-dumprendertree:
2984 * Scripts/build-webkit:
2985 * Scripts/webkitdirs.pm:
2987 2006-02-22 Eric Seidel <eseidel@apple.com>
2991 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2992 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2993 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2994 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2995 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2996 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2998 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2999 * Scripts/build-webkit: make build-webkit cleanup after itself
3001 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3005 - http://bugs.webkit.org/show_bug.cgi?id=7409
3006 Some minor fixes to http tests.
3008 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
3010 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
3014 - http://bugs.webkit.org/show_bug.cgi?id=6197
3015 Would like to use locally installed Apache for testing.
3017 Added two run-webkit-tests options:
3018 --http (--nohttp) - whether to launch Apache (defaults to yes);
3019 --port - which port to listen on (defaults to 8000).
3021 Tests in LayoutTests/http are not run directly, and Apache is used instead.
3022 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
3023 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
3025 Also added support for .shtml and .text files. Text files give an empty
3026 *-expected.txt, but a correct image.
3028 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
3030 * Scripts/run-webkit-tests:
3032 2006-02-21 Darin Adler <darin@apple.com>
3034 Suggested by Mark Rowe.
3036 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
3037 reporting leak counts.
3039 2006-02-18 Maciej Stachowiak <mjs@apple.com>
3043 - Added install-win-extras script which installs some extra
3044 programs and libraries, and does Windows first-time setup.
3046 * Scripts/build-webkit: Add a newline between build results.
3047 * Scripts/install-win-extras: Added.
3049 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3053 - http://bugs.webkit.org/show_bug.cgi?id=7308
3054 DumpRenderTree should be able to load files via HTTP
3056 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
3057 Handle tests starting with "http://" as real URLs, not file system paths.
3059 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3063 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
3064 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
3066 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
3068 2006-02-18 Darin Adler <darin@apple.com>
3070 * Scripts/commit-log-editor: Added.
3072 2006-02-17 Eric Seidel <eseidel@apple.com>
3076 Make Win32 have the same default "WebKitBuild" directory behavior.
3078 * Scripts/build-webkit:
3079 * Scripts/webkitdirs.pm:
3081 2006-02-17 Eric Seidel <eseidel@apple.com>
3085 * Scripts/build-webkit: make win32 actually report errors
3087 2006-02-17 Eric Seidel <eseidel@apple.com>
3091 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
3093 2006-02-17 Eric Seidel <eseidel@apple.com>
3097 * Scripts/run-webkit-tests: Ignore flash leaks
3099 2006-02-15 Justin Garcia <justin.garcia@apple.com>
3103 <http://bugs.webkit.org/show_bug.cgi?id=7148>
3104 Add drag and drop support to DumpRenderTree
3106 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
3107 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
3109 * DumpRenderTree/DumpRenderTree.m:
3111 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3112 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3113 (-[WaitUntilDoneDelegate webViewFocus:]):
3114 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3115 (+[LayoutTestController webScriptNameForSelector:]):
3116 (-[LayoutTestController setWindowIsKey:]):
3117 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3118 (-[EventSendingController init]):
3119 (-[EventSendingController mouseDown]):
3120 (-[EventSendingController mouseUp]):
3121 (-[EventSendingController mouseMoveToX:Y:]):
3123 (-[DumpRenderTreeWindow isKeyWindow]):
3124 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
3125 (-[DumpRenderTreeDraggingInfo dealloc]):
3126 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3127 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
3128 (-[DumpRenderTreeDraggingInfo draggingLocation]):
3129 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
3130 (-[DumpRenderTreeDraggingInfo draggedImage]):
3131 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
3132 (-[DumpRenderTreeDraggingInfo draggingSource]):
3133 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
3134 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
3135 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
3136 * DumpRenderTree/TextInputController.m:
3137 (-[TextInputController firstRectForCharactersFrom:length:]):
3138 (-[TextInputController characterIndexForPointX:Y:]):
3140 2006-02-15 Geoffrey Garen <ggaren@apple.com>
3144 * DumpRenderTree/DumpRenderTree.m:
3145 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3146 Added a dummy method for the sake of LayoutTests/plugins/
3147 undefined-property-crash.html. (It tests a crash due to fallback
3148 object use. WebCore won't create a fallback object if the method is
3151 2006-02-14 Eric Seidel <eseidel@apple.com>
3155 * Scripts/run-webkit-tests: added --results-directory (-o) option
3157 2006-02-09 Eric Seidel <eseidel@apple.com>
3159 Rubber-stamped by mjs.
3161 Renamed split-class to split-file-by-class.
3163 * Scripts/build-webkit: Updated copyright.
3164 * Scripts/split-class: Removed.
3165 * Scripts/split-file-by-class: Added.
3167 2006-02-08 Eric Seidel <eseidel@apple.com>
3169 Rubber-stamped by mjs.
3171 Adding new script for splitting multi-class files.
3172 Also adding supporting perl module with space removing heuristics.
3174 * Scripts/SpacingHeuristics.pm: Added.
3175 * Scripts/build-drawtest: updated copyright header
3176 * Scripts/split-class: Added.
3178 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3180 Reviewed by thatcher
3182 Changes to test fix for:
3183 <http://bugs.webkit.org/show_bug.cgi?id=3982>
3184 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3186 * DumpRenderTree/DumpRenderTree.m:
3187 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3188 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3189 (+[LayoutTestController webScriptNameForSelector:]):
3190 (-[LayoutTestController setWindowHasFocus:]):
3191 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3193 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3195 Reviewed by Timothy.
3197 Support automated testing of AppleScript "do JavaScript" command
3198 http://bugs.webkit.org/show_bug.cgi?id=7012
3200 * DumpRenderTree/AppleScriptController.h: Added.
3201 * DumpRenderTree/AppleScriptController.m: Added.
3202 * DumpRenderTree/DumpRenderTree.m:
3203 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3204 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3206 2006-02-06 Eric Seidel <eseidel@apple.com>
3210 Fix build-webkit for use on win32 (unblocks buildbot usage).
3211 http://bugs.webkit.org/show_bug.cgi?id=7122
3213 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3214 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3216 2006-02-06 Eric Seidel <eseidel@apple.com>
3218 Rubber-stamped by darin & mjs.
3220 Added new support directory for build slave scripts.
3221 Committing the first script, for use by the PLT's build slave.
3222 This script is used to kick of the PLT (Page Load Test) slave.
3224 * BuildSlaveSupport: Added.
3225 * BuildSlaveSupport/run-performance-tests: Added.
3227 2006-02-06 Eric Seidel <eseidel@apple.com>
3229 Rubber-stamped by darin.
3231 Adding setSourceDir for scripts stored in non-standard locations.
3233 * Scripts/webkitdirs.pm:
3235 2006-02-04 Darin Adler <darin@apple.com>
3237 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3238 Configuration files that say Development or Deployment in them.
3240 2006-02-04 Darin Adler <darin@apple.com>
3242 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3243 wrapper already in the directory.
3244 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3245 these haven't been working at all.
3246 * Scripts/svn-unapply: Ditto.
3248 2006-02-03 Timothy Hatcher <timothy@apple.com>
3252 Renamed configuration names to Debug, Release and Production.
3254 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3255 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3256 * Scripts/set-webkit-configuration:
3257 * Scripts/webkitdirs.pm:
3259 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3261 Reviewed by thatcher
3263 Enabled spell checking for layout tests.
3265 * DumpRenderTree/DumpRenderTree.m:
3268 2006-01-29 Darin Adler <darin@apple.com>
3270 * Scripts/svn-apply: Added comments about things we should do to improve.
3271 * Scripts/svn-create-patch: Ditto.
3272 * Scripts/svn-unapply: Ditto.
3274 2006-01-28 Darin Adler <darin@apple.com>
3276 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3277 already there, even if the checksum is correct.
3279 2006-01-27 Eric Seidel <eseidel@apple.com>
3283 * Scripts/run-webkit-tests: make new tests use absolute urls
3285 2006-01-27 Eric Seidel <eseidel@apple.com>
3289 make run-webkit-tests output total leaks count
3291 * Scripts/run-webkit-tests:
3293 2006-01-27 Eric Seidel <eseidel@apple.com>
3297 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3298 http://bugs.webkit.org/show_bug.cgi?id=6869
3300 * Scripts/run-webkit-tests: fix --leaks to not crash
3302 2006-01-26 Eric Seidel <eseidel@apple.com>
3306 run-webkit-tests should produce a self-contained results directory
3307 http://bugs.webkit.org/show_bug.cgi?id=6864
3309 * Scripts/run-webkit-tests: copy failing items to results dir.
3311 2006-01-23 Darin Adler <darin@apple.com>
3313 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
3314 need script to update localizable strings file in WebKit
3316 * Scripts/update-webkit-localizable-strings: Added.
3318 2006-01-23 Darin Adler <darin@apple.com>
3320 - added a couple of scripts -- more about these two soon
3322 * Scripts/extract-localizable-strings: Added.
3323 * Scripts/merge-changelog: Added.
3325 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3329 Build fix. build-webkit dies with "invalid build action: (empty string)"
3331 * Scripts/build-webkit:
3332 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3334 2006-01-22 Eric Seidel <eseidel@apple.com>
3338 Fix --no-svg option to use XCode flags instead of gcc flags.
3340 * Scripts/build-webkit:
3342 2006-01-22 Eric Seidel <eseidel@apple.com>
3346 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3348 * Scripts/build-webkit:
3350 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3352 Reviewed by eseidel.
3354 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
3355 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3357 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3358 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3360 2006-01-19 Darin Adler <darin@apple.com>
3362 * Scripts/report-include-statistics: Added a new script.
3364 2006-01-19 Timothy Hatcher <timothy@apple.com>
3366 * Scripts/build-webkit: include JavaScriptGlue in the build
3368 2006-01-19 Darin Adler <darin@apple.com>
3370 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3371 spaces in it by using the form of open that treats each argument as a string
3372 rather than backtick syntax for reading the output of the nm tool.
3374 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3378 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3379 detect if there are any new tests
3381 * Scripts/prepare-ChangeLog:
3383 2006-01-12 Darin Adler <darin@apple.com>
3385 - removed some of the cvs-specific scripts -- not needed for this project any more
3387 * Scripts/cvs-abandon: Removed.
3388 * Scripts/cvs-apply: Removed.
3389 * Scripts/cvs-create-patch: Removed.
3390 * Scripts/cvs-unapply: Removed.
3392 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3394 Reviewed by eseidel. Committed by eseidel.
3396 - run-webkit-tests always launches Safari when tests fail
3397 http://bugs.webkit.org/show_bug.cgi?id=6456
3399 * Scripts/run-webkit-tests:
3400 Add a command-line flag to prevent Safari being launched to display failed
3401 tests. Always exit with non-zero status when tests have failed.
3403 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3405 Reviewed by eseidel. Committed by eseidel.
3407 - build-webkit should exit with non-zero status when build fails
3408 http://bugs.webkit.org/show_bug.cgi?id=6459
3410 * Scripts/build-webkit:
3411 Use correct bits of subprocess exit code when passing back through
3412 as build-webkit's exit code.
3414 2006-01-10 Eric Seidel <eseidel@apple.com>
3416 Restored corrupted nibs from TOT CVS.
3418 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3419 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3420 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3421 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3422 * DrawTest/English.lproj/Inspector.nib: Replaced.
3423 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3424 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3425 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3426 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3427 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3428 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3429 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3430 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3431 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3432 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3433 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3435 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3437 Reviewed by eseidel. Committed by eseidel.
3439 DrawTestView now subclasses WebView instead of DrawView.
3441 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3442 * DrawTest/DrawTestDocument.h:
3443 * DrawTest/DrawTestDocument.m:
3444 (-[DrawTestDocument dealloc]):
3445 (-[DrawTestDocument readFromFile:ofType:]):
3446 (-[DrawTestDocument windowControllerDidLoadNib:]):
3447 (-[DrawTestDocument dumpSVGToConsole:]):
3448 (-[DrawTestDocument openSourceForSelection:]):
3449 (-[DrawTestDocument dataRepresentationOfType:]):
3450 * DrawTest/DrawTestToolbarController.h:
3451 * DrawTest/DrawTestToolbarController.m:
3452 (-[DrawTestToolbarController initWithDrawView:]):
3453 (-[DrawTestToolbarController clickedToolbarItem:]):
3454 (-[DrawTestToolbarController validateToolbarItem:]):
3455 * DrawTest/DrawTestView.h:
3456 * DrawTest/DrawTestView.m:
3457 (-[DrawTestView initWithFrame:]):
3458 (-[DrawTestView setDocument:]):
3459 * DrawTest/SVGTest.h:
3460 * DrawTest/SVGTest.m:
3461 (+[SVGTest sharedDrawView]):
3462 (-[SVGTest generateCompositeIfNecessary]):
3463 * DrawTest/TestController.h:
3464 * DrawTest/TestController.m:
3465 (-[TestController awakeFromNib]):
3466 (-[TestController setSelectedTest:]):
3467 (-[TestController openTestViewerForSelection:]):
3468 (-[TestController toggleViewersScaleRule:]):
3469 * DrawTest/TestViewerSplitView.m:
3470 (-[TestViewerSplitView drawRect:]):
3472 2006-01-10 Anders Carlsson <andersca@mac.com>
3474 Reviewed by Timothy.
3476 * DumpRenderTree/DumpRenderTree.m:
3477 (main): Set the default language to "en", so language tests will work.
3479 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3483 - script to generate HTML wrappers for JS tests
3484 http://bugs.webkit.org/show_bug.cgi?id=6441
3486 * Scripts/make-js-test-wrappers: Added.
3488 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3492 * Scripts/svn-create-patch: Fix to work when passed directory names.
3494 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3498 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3499 can start writing automated loader tests now. I have one in the works.
3501 * DumpRenderTree/DumpRenderTree.m:
3502 (main): Construct global navigationController on entry, destroy on exit.
3503 Set frame to nil on exit too, to match all the other global objects.
3504 (Probably academic, since the process is exiting, anyway.)
3505 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3506 navigationController, in case it wants to kick off a load.
3507 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3508 the navigationController to scripting.
3510 New class, should be straightforward:
3512 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3513 * DumpRenderTree/NavigationController.h: Added.
3514 * DumpRenderTree/NavigationController.m: Added.
3516 (+[NavigationController isSelectorExcludedFromWebScript:]):
3517 (+[NavigationController webScriptNameForSelector:]):
3518 (-[NavigationController setPendingScript:]):
3519 (-[NavigationController setPendingRequest:]):
3520 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3521 (-[NavigationController webView:didFinishLoadForFrame:]):
3522 (-[NavigationController dealloc]):
3524 2006-01-08 Timothy Hatcher <timothy@apple.com>
3526 Removed this script, no longer needs with the Subversion switch.
3528 * checkout: Removed.
3530 2006-01-08 Timothy Hatcher <timothy@apple.com>
3532 Removes some stray tabs.
3534 * Scripts/update-webkit:
3536 2005-01-07 Eric Seidel <eseidel@apple.com>
3540 build-webkit should pass on build arguments from command line
3541 http://bugs.webkit.org/show_bug.cgi?id=5854
3543 * Scripts/build-webkit:
3545 2006-01-07 Eric Seidel <eseidel@apple.com>
3547 Reviewed by mjs & xenon.
3549 * Scripts/update-webkit: support Internal updates as well
3551 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3553 Temporarily rolling out plugin support from DumpRenderTree because it
3554 caused lots of layout test regressions.
3556 * DumpRenderTree/DumpRenderTree.m:
3557 (main): Remove invisible window added to support plugins.
3559 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3563 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
3564 Add plugin support to DumpRenderTree
3566 Also wrote first test plugin.
3568 * DumpRenderTree/DumpRenderTree.m:
3570 (1) Put the WebView in an invisible window, because PlugIns are
3571 optimized not to load if there's no parent window.
3572 (2) Tell WebKit to load any PlugIns in the directory from which we
3573 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3574 and they'll load automagically during layout testing, but they won't be
3575 added to the user's system, hosing apps like Safari.
3577 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3578 test PlugIn to project.
3580 PlugIn added to project:
3582 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3583 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3585 (initializeIdentifiers):
3586 (pluginHasProperty):
3588 (pluginGetProperty):
3589 (pluginSetProperty):
3591 (pluginInvokeDefault):
3595 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3596 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3598 (NP_GetEntryPoints):
3604 (NPP_DestroyStream):
3614 2006-01-04 Timothy Hatcher <timothy@apple.com>