1 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
3 Reviewed and landed by ap.
5 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
6 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
8 * Scripts/webkitdirs.pm:
10 2006-10-04 Mark Rowe <bdash@webkit.org>
12 Reviewed by Stephanie.
14 Switch the Qt buildbot to the standard set of build steps.
15 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
16 see if any regressions were spotted, and fail the test if so.
18 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
19 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
20 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
22 2006-10-04 Timothy Hatcher <timothy@apple.com>
24 Reviewed by Mitz Pettel!
26 Bug 10708: [Drosera] Make the console input plaintext-only
27 http://bugs.webkit.org/show_bug.cgi?id=10708
29 Change the console input -webkit-user-modify property to
30 read-write-plaintext-only.
32 * Drosera/console.css:
34 2006-10-04 David Smith <catfish.man@gmail.com>
38 Bug 10473: [Drosera] Overlapping text in JavaScript Console
39 http://bugs.webkit.org/show_bug.cgi?id=10473
41 Using min-height instead of height to avoid overlapping text.
44 * Drosera/console.css:
46 2006-10-04 David Smith <catfish.man@gmail.com>
50 Added a bash-style command history.
54 2006-10-03 Anders Carlsson <acarlsson@apple.com>
56 Reviewed by Adam and Brady.
58 * DumpRenderTree/DumpRenderTree.m:
60 Update URL to Ahem.ttf
62 2006-10-03 Darin Adler <darin@apple.com>
64 * Scripts/commit-log-editor: Added missing "close" call. Oops!
66 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
68 Reviewed by eseidel. Landed by eseidel.
70 Offer a way for BuildBot to not colorize the cmake output, when building
71 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
73 Default is colorize output, though only Qt platform handles this for now.
75 * Scripts/build-dumprendertree:
76 * Scripts/build-webkit:
77 * Scripts/webkitdirs.pm:
79 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
81 Reviewed by eseidel. Landed by eseidel.
83 Make all important scripts work with Qt/Linux.
85 You can safely use this now:
86 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
88 * Scripts/build-dumprendertree:
89 * Scripts/run-javascriptcore-tests:
90 * Scripts/run-webkit-tests:
91 * Scripts/webkitdirs.pm:
93 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
97 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
99 * Scripts/webkitdirs.pm:
101 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
103 Reviewed/landed by Adam.
105 Proper build-webkit support for Qt/Linux.
107 Compilation process is similar to OSX now, aka.
108 the build directory is RootCheckoutDir/WebKitBuild now.
110 * Scripts/build-webkit: Recognize Qt.
111 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
113 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
117 Add QT build slave to Buildbot.
119 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
120 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
121 * 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.
122 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
124 2006-09-28 David Harrison <harrison@apple.com>
128 Moved an extern declaration from inside a method to the top of the file.
130 * DumpRenderTree/EventSendingController.m:
131 (-[EventSendingController clearKillRing]):
133 2006-09-28 David Harrison <harrison@apple.com>
137 Add clearKillRing so we can test emacs support with empty kill ring.
139 * DumpRenderTree/EventSendingController.m:
140 (+[EventSendingController isSelectorExcludedFromWebScript:]):
141 (+[EventSendingController webScriptNameForSelector:]):
142 (-[EventSendingController clearKillRing]):
144 2006-09-27 MorganL <morganl.webkit@yahoo.com>
146 Reviewed by Maciej, landed by Brady
148 Fix URL bar updating.
150 * Spinneret/Spinneret/Spinneret.h:
151 (SpinneretWebHost::didStartProvisionalLoadForFrame):
152 (SpinneretWebHost::didCommitLoadForFrame):
153 (SpinneretWebHost::didFinishLoadForFrame):
155 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
161 * DumpRenderTree/EventSendingController.m:
162 (-[EventSendingController enableDOMUIEventLogging:]):
164 2006-09-22 Justin Garcia <justin.garcia@apple.com>
168 * Scripts/do-webcore-rename:
170 2006-09-21 Timothy Hatcher <timothy@apple.com>
174 Bug 10923: Frame scroll layout test failures on the buildbot
175 http://bugs.webkit.org/show_bug.cgi?id=10923
177 Added a new method that will toggle on the recursive dump of
178 child frame scroll positions.
180 * DumpRenderTree/DumpRenderTree.m:
181 (dumpFrameScrollPosition):
182 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
183 (-[LayoutTestController dumpChildFrameScrollPositions]):
185 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
187 Reviewed by eseidel. Landed by eseidel.
189 Detect that close button was pressed and exit cleanly.
191 * GdkLauncher/main.cpp:
195 2006-09-17 Adam Roben <aroben@apple.com>
197 Reviewed by hyatt, sfalken.
199 Get DumpRenderTree compiling and limping along on Windows.
201 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
202 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
203 (main): Add NULL argument to Page constructor.
204 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
205 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
207 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
211 http://bugs.webkit.org/show_bug.cgi?id=10635
212 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
214 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
215 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
216 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
218 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
222 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
223 Even More Objective-C DOM auto-generation cleanup
225 - Change to use new, more Objectice-C'ish version of
226 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
227 regression test for fast/events/dblclick-addEventListener.html.
229 * DumpRenderTree/EventSendingController.m:
230 (-[EventSendingController fireKeyboardEventsToElement:]):
232 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
236 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
237 Move QtLauncher down to WebKitQt.
239 * QtLauncher/CMakeLists.txt: Removed.
240 * QtLauncher/main.cpp: Removed.
242 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
246 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
247 Adjust DumpRenderTree to the FrameQtClient changes.
249 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
250 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
251 (WebCore::DumpRenderTree::DumpRenderTree):
252 (WebCore::DumpRenderTree::~DumpRenderTree):
253 (WebCore::DumpRenderTree::frame):
254 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
255 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
256 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
257 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
258 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
260 2006-09-03 Darin Adler <darin@apple.com>
262 * Scripts/do-webcore-rename: More renaming plans.
264 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
268 http://bugs.webkit.org/show_bug.cgi?id=10693
269 Convert JavaScript arrays to AppleScript lists
271 * DumpRenderTree/AppleScriptController.m:
272 (convertAEDescToObject):
273 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
275 2006-08-31 Darin Adler <darin@apple.com>
277 * Scripts/do-webcore-rename: Prepare for another round of renaming.
279 2006-08-29 Dan Waylonis <waylonis@google.com>
283 - Verification of exceptions thrown in a plugin. Test for bug 10114.
284 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
285 * DumpRenderTree/ObjCPlugin.m:
286 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
287 (+[ObjCPlugin webScriptNameForSelector:]):
288 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
290 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
294 Commit KDE related tweaks, to be able to
295 differentiate between a Qt-only or a KDE build.
297 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
298 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
300 2006-08-29 Darin Adler <darin@apple.com>
302 Reviewed by Tim Hatcher.
304 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
305 to work around what seems to be a bug in some versions of gdb.
307 2006-08-16 Tim Omernick <timo@apple.com>
309 Reviewed by John Sullivan.
311 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
312 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
315 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
317 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
318 are expected to be retained by the plug-in, and released by the caller.
320 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
322 Reviewed by Tim Hatcher.
324 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
326 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
327 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
330 * Scripts/run-webkit-tests:
331 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
333 2006-08-28 Darin Adler <darin@apple.com>
335 Reviewed by Tim Hatcher.
337 * Scripts/build-drosera: Fix behavior when there are multiple options.
339 2006-08-27 Timothy Hatcher <timothy@apple.com>
343 Drosera will be built when you type make.
345 * Drosera/Makefile: Added.
347 * Makefile.shared: Added.
349 2006-08-27 Anders Carlsson <acarlsson@apple.com>
353 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
354 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
355 (WebCore::DumpRenderTree::DumpRenderTree):
356 (WebCore::DumpRenderTree::~DumpRenderTree):
357 (WebCore::DumpRenderTree::open):
358 (WebCore::DumpRenderTree::readStdin):
359 (WebCore::DumpRenderTree::checkLoaded):
360 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
361 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
364 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
366 Reviewed by Eric, landed by Anders.
368 Add DumpRenderTree support for Qt/Linux.
370 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
371 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
372 (WebCore::DumpRenderTree::DumpRenderTree):
373 (WebCore::DumpRenderTree::~DumpRenderTree):
374 (WebCore::DumpRenderTree::open):
375 (WebCore::DumpRenderTree::readStdin):
376 (WebCore::DumpRenderTree::checkLoaded):
377 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
378 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
380 * Scripts/build-dumprendertree:
381 * Scripts/run-webkit-tests:
382 * Scripts/webkitdirs.pm:
384 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
386 Reviewed by Eric. Landed by rwlbuis.
388 Add QtLauncher (was testunity before), which provides a
389 standalone "browser" to test the Qt platform stuff.
391 * QtLauncher/CMakeLists.txt: Added.
392 * QtLauncher/main.cpp: Added.
395 2006-08-22 Trey Matteson <trey@usa.net>
399 Added support for a new set of browser navigation tests. The main feature
400 is the ability for a test to queue up a set of future actions that will
401 happen after that first page is loaded. This is used to simulate a sequence
402 of user actions such as filling out forms, loading additional pages or
403 going back. In addition we can now dump out the state of the back/forward
404 list, and the scroll position is dumped if not at 0,0.
406 * DumpRenderTree/DumpRenderTree.m:
407 (main): Init new state
408 (compareHistoryItems): New utility to support sorting.
409 (dumpHistoryItem): Write out a WebHistoryItem and kids.
410 (dumpFrameScrollPosition): Write out the scroll position.
411 (dump): Optionally write b/f list or scroll position.
412 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
413 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
414 Kick off any queued actions. Fixed for the case of loads started in
415 a subframe instead of the root frame.
416 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
417 Grab the topmost frame that is being loaded. Do this as early as possible,
418 instead of in didCommitLoadForFrame.
419 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
420 Noting a load has started now happens in previous method.
421 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
422 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
423 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
425 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
426 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
427 Add new work to the queue.
428 (-[LayoutTestController _doLoad:target:]): Do a queued load.
429 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
430 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
431 (-[LayoutTestController scheduleForwardNav:]):
432 (-[LayoutTestController scheduleReload]):
433 (-[LayoutTestController scheduleScript:]):
434 (-[LayoutTestController scheduleLoad:target:]):
435 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
436 since it's not one of the functions that does any dumping.
438 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
442 - added a function to create a few DOMKeyboardEvents and dispatch
443 them to a specified HTML element
444 http://bugs.webkit.org/show_bug.cgi?id=9736
446 * DumpRenderTree/EventSendingController.m:
447 (+[EventSendingController isSelectorExcludedFromWebScript:]):
448 (+[EventSendingController webScriptNameForSelector:]):
449 (-[EventSendingController fireKeyboardEventsToElement:]):
451 2006-08-15 Duncan Wilcox <duncan@mclink.it>
453 Reviewed and tweaked by Darin.
455 - added DumpRenderTree support so editing delegate can be made to refuse edits
456 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
458 * DumpRenderTree/DumpRenderTree.m:
459 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
460 to the list of methods.
461 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
462 without the colon, for the JavaScript name.
463 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
465 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
467 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
468 setter methods to the class.
469 * DumpRenderTree/EditingDelegate.m:
470 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
471 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
472 return the value of acceptsEditing.
473 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
474 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
475 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
476 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
477 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
479 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
480 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
481 (-[EditingDelegate setAcceptsEditing:]): Added.
483 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
487 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
488 http://bugs.webkit.org/show_bug.cgi?id=10224
490 * Drosera/Drosera.xcodeproj/project.pbxproj:
491 * Drosera/LauncherInfo.plist:
493 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
495 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
496 when a test performs an unsuccessful drag and drop operation.
498 * DumpRenderTree/EventSendingController.m:
499 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
500 drag operation for the mouse release is NSDragOperationNone.
502 2006-08-02 Timothy Hatcher <timothy@apple.com>
506 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
507 http://bugs.webkit.org/show_bug.cgi?id=9632
509 Do not change the file source when normalizing the line endings.
510 We use this file source to compare against new versions of the source
511 as it comes in, so we can skip re-syntax highlighting if they are the same.
512 The problem is apparent on yahoo.com since they have mixed line endings and
513 once we normalize them the source will always be different. This was
514 compounded by the fact that yahoo has around 40 inline scripts. Each
515 inline script causes us to check if the main document has more loaded,
516 that is when we compare the source strings. Since they are always different
517 we would syntax highlight yahoo.com 40 times! We do check source length before
518 doing a more expensive string comparison, but the lengths were the same.
520 * Drosera/debugger.js:
522 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
526 Bug 9931: [Drosera] Needs a cool icon
527 http://bugs.webkit.org/show_bug.cgi?id=9931
529 * Drosera/Drosera.icns: Added.
530 * Drosera/Drosera.xcodeproj/project.pbxproj:
531 * Drosera/Info.plist:
533 2006-08-01 Darin Adler <darin@apple.com>
535 - fix a bug in my recent change where the mouse position at the end of
536 the last test would affect the results of the next test
538 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
540 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
544 http://bugs.webkit.org/show_bug.cgi?id=10182
545 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
547 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
548 Correct the logic to not reload local variable list unless an '=' character is in the expression.
550 2006-07-31 Darin Adler <darin@apple.com>
554 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
555 REGRESSION: failing layout test: fast/events/objc-event-api.html
557 * DumpRenderTree/DumpRenderTree.m:
558 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
559 location in flipped coordinates, since those are the coordinates that we use.
560 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
563 * DumpRenderTree/EventSendingController.m:
564 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
565 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
566 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
567 probably worked OK, but this is needed to be correct.
568 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
569 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
570 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
571 dump the screenY as-is.
573 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
577 http://bugs.webkit.org/show_bug.cgi?id=10178
578 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
580 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
581 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
583 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
587 http://bugs.webkit.org/show_bug.cgi?id=10175
588 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
590 * Drosera/DebuggerDocument.m:
591 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
593 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
597 http://bugs.webkit.org/show_bug.cgi?id=10167
598 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
600 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
603 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
607 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
608 http://bugs.webkit.org/show_bug.cgi?id=9686
610 * Drosera/DebuggerDocument.m:
611 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
612 ensure that the server does not try and notify us of events related to the resumption.
613 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
614 call through to JavaScript.
615 * Drosera/debugger.js: Pause debugger when exception is raised.
617 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
621 - fixes for Linux build
623 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
624 * GdkLauncher/gdklauncher.bkl: Tweak comment.
626 2006-07-24 Dan Waylonis <waylonis@google.com>
628 Reviewed and tweaked a bit by Darin.
630 * DumpRenderTree/ObjCPlugin.m:
631 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
632 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
633 "echo:" so it's nice to call from JavaScript.
634 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
635 to test a round trip through Objective-C types.
637 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
641 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
642 Improve iExploder results parsing
644 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
647 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
651 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
652 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
654 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
656 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
660 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
661 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
663 Removed "Property changes" that snuck in as part of the "apply patch" process.
665 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
669 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
670 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
673 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
675 (patch): Use patch(1) for non-binary additions and deletions.
676 * Scripts/svn-unapply:
678 (patch): Use patch(1) for reverting non-binary additions and deletions.
679 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
681 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
685 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
686 http://bugs.webkit.org/show_bug.cgi?id=9889
688 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
689 so, have stepOut pause on the next call to willExecuteStatement rather than second.
691 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
695 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
696 Teach svn-create-patch and friends to fix ChangeLog patches
698 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
699 * Scripts/svn-create-patch: Ditto.
700 * Scripts/svn-unapply: Ditto.
702 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
706 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
707 http://bugs.webkit.org/show_bug.cgi?id=9869
709 * Drosera/DebuggerDocument.m:
710 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
712 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
716 Bug 9863: Drosera needs to show something at launch
717 http://bugs.webkit.org/show_bug.cgi?id=9863
719 * Drosera/DebuggerApplication.m:
720 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
722 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
726 Lets Drosera build universal for the nightlies. Right now it is not
727 possible to build a universal binary on a PPC machine because of a
728 conflict with the universal SDK.
730 * BuildSlaveSupport/build-launcher-app:
731 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
733 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
737 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
738 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
740 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
741 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
742 should open a new stream and deliver the data to the current instance.
744 2006-07-11 Timothy Hatcher <timothy@apple.com>
748 Bug 9598: [Drosera] add a JavaScript evaluator console
749 http://bugs.webkit.org/show_bug.cgi?id=9598
751 * Drosera/DebuggerApplication.h:
752 * Drosera/DebuggerApplication.m:
753 (-[DebuggerApplication knownServers]):
754 * Drosera/DebuggerDocument.h:
755 * Drosera/DebuggerDocument.m:
756 (-[WebScriptObject evaluateScript:inCallFrame:]):
757 (-[WebScriptObject showConsole:]):
758 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
759 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
760 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
761 (-[WebScriptObject webView:createWebViewWithRequest:]):
762 (-[WebScriptObject webViewShow:]):
763 (-[WebScriptObject webViewAreToolbarsVisible:]):
764 (-[WebScriptObject webView:setToolbarsVisible:]):
765 (-[WebScriptObject webView:setResizable:]):
766 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
767 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
768 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
769 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
770 (-[WebScriptObject webView:didFinishLoadForFrame:]):
771 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
772 * Drosera/Drosera.xcodeproj/project.pbxproj:
773 * Drosera/Images/console.png: Added.
774 * Drosera/console.css: Added.
775 * Drosera/console.html: Added.
776 * Drosera/console.js: Added.
778 2006-07-11 Timothy Hatcher <timothy@apple.com>
780 Reviewed by a tired Geoff.
782 Bug 9597: [Drosera] hook up the variables table to show stack variables
783 http://bugs.webkit.org/show_bug.cgi?id=9597
785 * Drosera/DebuggerDocument.m:
786 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
787 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
788 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
789 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
790 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
791 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
792 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
793 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
794 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
795 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
796 * Drosera/debugger.css:
797 * Drosera/debugger.html:
798 * Drosera/debugger.js:
800 2006-07-10 Tim Omernick <timo@apple.com>
802 Reviewed by Beth Dakin.
804 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
805 Add DOM access test to DumpRenderTree's Netscape plug-in
807 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
811 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
815 - http://bugs.webkit.org/show_bug.cgi?id=9839
816 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
818 Now track three states: initializing, running, and closed. If we are launched and the previous
819 state was initializing then we likely just experienced a crash on launch.
821 * WebKitLauncher/WebKitNightlyEnabler.m:
822 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
823 (myApplicationWillTerminate): Update to use new states.
824 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
825 initializing as early as practical.
826 (symbol_lookup): Bring code up to speed with formatting guidelines.
827 (GDSymbolLookup): Ditto.
829 2006-07-10 Darin Adler <darin@apple.com>
831 - try to fix Windows build
833 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
834 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
836 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
838 Build fix. Reviewed by NOBODY.
840 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
841 devenv.com not available in VC++ Express installations
843 * Scripts/webkitdirs.pm: Backed out previous change.
845 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
849 - http://bugs.webkit.org/show_bug.cgi?id=9693
850 svn-apply should set ChangeLog date correctly when applying patches
852 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
853 before applying the patch.
854 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
856 2006-07-09 Darin Adler <darin@apple.com>
858 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
860 2006-07-09 Darin Adler <darin@apple.com>
862 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
864 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
866 Reviewed by NOBODY (build fix).
868 - http://bugs.webkit.org/show_bug.cgi?id=7802
869 devenv.com not available in VC++ Express installations
871 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
872 work again. Add VC++ Express check as the fallback.
874 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
876 Reviewed by Timothy Hatcher.
878 - http://bugs.webkit.org/show_bug.cgi?id=7802
879 devenv.com not available in VC++ Express installations
881 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
883 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
887 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
888 Patch by coldwinter@katamail.com.
890 In the congratulations message, "capatibilies" should be "capabilities".
892 * Scripts/build-webkit:
894 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
896 Reviewed by Timothy Hatcher.
898 - http://bugs.webkit.org/show_bug.cgi?id=9794
899 Teach run-webkit-tests how to ignore tests with performance improvements
901 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
902 feature, and minor clean up.
904 2006-07-08 Darin Adler <darin@apple.com>
906 Reviewed by Geoff (well, half of it at least).
908 - http://bugs.webkit.org/show_bug.cgi?id=9788
909 storage leaks in Objective-C tests
911 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
912 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
913 Add a release to fix a storage leak.
915 2006-07-08 Darin Adler <darin@apple.com>
917 * Scripts/do-webcore-rename: A few more.
919 2006-07-08 Darin Adler <darin@apple.com>
921 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
923 2006-07-04 Maciej Stachowiak <mjs@apple.com>
927 http://bugs.webkit.org/show_bug.cgi?id=9734
928 - add support for dumping non-HTML as text - in this case use textContent
931 * DumpRenderTree/DumpRenderTree.m:
934 2006-07-02 Timothy Hatcher <timothy@apple.com>
938 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
939 http://bugs.webkit.org/show_bug.cgi?id=9631
941 Adds step over and step out. Along with a little code cleanup
942 that was minor enough to piggyback on this fix.
944 * Drosera/DebuggerDocument.h:
945 * Drosera/DebuggerDocument.m:
946 (-[DebuggerDocument stepOver:]):
947 (-[DebuggerDocument stepOut:]):
948 (-[DebuggerDocument windowDidLoad]):
949 (-[DebuggerDocument windowWillClose:]):
950 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
951 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
952 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
953 (-[DebuggerDocument validateUserInterfaceItem:]):
954 * Drosera/Drosera.xcodeproj/project.pbxproj:
955 * Drosera/debugger.html:
956 * Drosera/debugger.js:
957 * Drosera/viewer.css:
959 2006-07-02 Timothy Hatcher <timothy@apple.com>
963 Bug 9628: [Drosera] Split Views acting oddly
964 http://bugs.webkit.org/show_bug.cgi?id=9628
966 Only update the last X or Y coordinate if the new
967 size was not constrained. Also adds the resize cursor to
968 the body during the drag incase there is a constrained
969 over drag off of the resizer element.
971 * Drosera/debugger.js:
973 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
975 Reviewed by Alexy Proskuryakov.
977 Bug 9692: Warning about Safari extensions on every launch is obnoxious
978 http://bugs.webkit.org/show_bug.cgi?id=9692
980 * WebKitLauncher/WebKitNightlyEnabler.m:
981 (myApplicationWillTerminate): Note that we are exiting cleanly.
982 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
983 to exit cleanly on our last invocation. This doesn't play nicely with
984 multiple concurrent instances of WebKit.app so it can be disabled via
985 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
987 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
989 Reviewed by Alexy Proskuryakov.
991 Bug 9654: Refresh Loop when accessing feed URLs
992 http://bugs.webkit.org/show_bug.cgi?id=9654
994 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
996 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
998 Reviewed by Timothy Hatcher.
1000 Bug 9689: Nightly builds should warn a user about potential problems when using
1002 http://bugs.webkit.org/show_bug.cgi?id=9689
1004 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1005 * WebKitLauncher/WebKitNightlyEnabler.m:
1006 (myBundleDidLoad): Keep track of if any bundles that are loaded.
1007 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
1008 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
1009 NSApplicationWillFinishLaunchingNotification notifications so that we can
1010 track bundle loads and notify the user at launch completion.
1012 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
1016 - first check-in of a Gdk shell for testing WebKit
1018 * GdkLauncher: Added.
1020 2006-06-29 Timothy Hatcher <timothy@apple.com>
1024 Need to call window close so WebView tears-down completly.
1026 * DumpRenderTree/DumpRenderTree.m:
1027 (main): call [window close]
1029 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1033 Bug 9615: Buildbot configuration should be in SVN repository
1034 http://bugs.webkit.org/show_bug.cgi?id=9615
1036 Import BuildBot configuration files as used by build.webkit.org.
1037 auth.py has been stubbed out so that slave passwords are not disclosed.
1039 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
1040 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
1041 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
1042 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
1043 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
1044 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
1045 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
1046 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
1047 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
1048 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
1049 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
1050 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
1052 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1056 Bug 9614: Nightly builds should notify user if a newer build is available
1057 http://bugs.webkit.org/show_bug.cgi?id=9614
1059 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1060 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1061 script so it can keep track of the latest revision.
1062 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1063 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1064 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1065 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1066 the nightly start page.
1068 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1072 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1073 http://bugs.webkit.org/show_bug.cgi?id=9579
1075 Report screenY values as (height of zero screen - screenY)
1077 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1079 2006-06-25 Timothy Hatcher <timothy@apple.com>
1083 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1084 http://bugs.webkit.org/show_bug.cgi?id=9591
1086 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1088 * Drosera/debugger.js:
1089 * Drosera/viewer.css:
1091 2006-06-25 Timothy Hatcher <timothy@apple.com>
1095 Bug 9568: assertion failure in Safari after quitting Drosera
1096 http://bugs.webkit.org/show_bug.cgi?id=9568
1098 Call switchToServerNamed:nil and not removeLister to make sure
1099 the server object is set to nil to prevent further removeListener calls.
1101 * Drosera/DebuggerDocument.m:
1102 (-[DebuggerDocument applicationTerminating:]):
1104 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1108 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1109 that the directory is not empty instead of reading in every single file and directory first,
1110 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1113 2006-06-25 Darin Adler <darin@apple.com>
1115 * Scripts/svn-apply: Tweak comments.
1116 * Scripts/svn-create-patch: Ditto.
1117 * Scripts/svn-unapply: Ditto.
1119 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1121 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1123 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1125 * Scripts/svn-apply: Formatting fix.
1127 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1131 http://bugs.webkit.org/show_bug.cgi?id=9571
1132 Teach svn-apply and svn-unapply to handle directory adds and removes better
1134 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1135 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1137 2006-06-25 Timothy Hatcher <timothy@apple.com>
1141 Bug 9574: Drosera should show inline scripts within the original HTML
1142 http://bugs.webkit.org/show_bug.cgi?id=9574
1144 Refactor the JavaScript code to have a distinction between files
1145 and scripts. Show the script in the context of the HTML file if
1146 it's URL is the same as the frame's main resource. At the time of
1147 the disParseScript callback the main resource might not be completely
1148 loaded, but Drosera needs to show whatever we have at the time. Once
1149 the main resource is finished, update the file source and reload the file.
1151 * Drosera/DebuggerDocument.m:
1152 (-[DebuggerDocument pause]):
1153 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1154 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1155 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1156 * Drosera/debugger.css:
1157 * Drosera/debugger.js:
1159 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1163 http://bugs.webkit.org/show_bug.cgi?id=9570
1164 Teach prepare-ChangeLog to operate on a list of files or directories
1166 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1167 * Scripts/svn-create-patch: Code refactoring.
1169 2006-06-24 James G. Speth <speth@end.com>
1173 - http://bugs.webkit.org/show_bug.cgi?id=8843
1174 add a way to build Objective-C test cases in HTML
1176 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1177 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1178 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1181 * DumpRenderTree/ObjCPlugin.h:
1182 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1183 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1184 (+[ObjCPlugin webScriptNameForSelector:]):
1185 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1186 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1187 (+[NSObject allowsScriptsFullAccess]):
1188 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1189 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1190 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1191 (+[JSObjC webScriptNameForSelector:]):
1192 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1193 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1194 (-[JSObjC log:]): access to NSLog function
1195 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1196 (-[JSObjC classOfObject:]):
1197 (-[JSObjC classNameOfObject:]):
1199 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1201 Reviewed by Timothy.
1203 * DrawTest/Info.plist: Added copyright statement.
1204 * Drosera/Info.plist: Ditto.
1205 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1206 * WebKitLauncher/Info.plist: Ditto.
1208 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1210 Build fix. Reviewed by NOBODY.
1212 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1213 devenv.com not available in VC++ Express installations
1215 * Scripts/webkitdirs.pm: Backed out previous change.
1217 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1221 - http://bugs.webkit.org/show_bug.cgi?id=7802
1222 devenv.com not available in VC++ Express installations
1224 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1226 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1230 - http://bugs.webkit.org/show_bug.cgi?id=9564
1231 A bunch of fixes to run-webkit-httpd
1233 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1234 127.0.0.1. Useful for testing with WinIE running on another machine;
1235 - don't call checkFrameworks() - we do not need a built WebKit here;
1236 - changed tabs to spaces;
1237 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1238 interactive mode, they were a hassle when testing with several browsers, as one
1239 had to wait for connection to expire);
1240 - remove httpd.pid when done, so that Apache doesn't complain next time.
1242 * Scripts/run-webkit-httpd:
1244 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1246 Reviewed by ggaren, landed by ap.
1248 - http://bugs.webkit.org/show_bug.cgi?id=9181
1249 Complete DOMUIEvent Obj-C API to reflect UIEvent
1251 Add function to enable logging of all events of one DOM node to stdout.
1253 * DumpRenderTree/EventSendingController.h:
1254 * DumpRenderTree/EventSendingController.m:
1255 (+[EventSendingController initialize]):
1256 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1257 (+[EventSendingController webScriptNameForSelector:]):
1258 (-[EventSendingController enableDOMUIEventLogging:]):
1259 (-[EventSendingController handleEvent:]):
1261 2006-06-23 Kevin Decker <kdecker@apple.com>
1263 Reviewed by Tim Hatcher.
1265 - Made column headers in Drosera resizable.
1267 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1271 - see http://bugs.webkit.org/show_bug.cgi?id=9539
1272 Another case error preventing build
1274 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1276 2006-06-22 Timothy Hatcher <timothy@apple.com>
1280 Adds a native toolbar to Drosera to be a good citizen.
1281 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1282 Fixes a dragging bug from an earlier fix to the divider code.
1283 Fixes some poor indenting in debugger.js.
1285 * Drosera/DebuggerDocument.h:
1286 * Drosera/DebuggerDocument.m:
1287 (-[DebuggerDocument stepInto]):
1288 (-[DebuggerDocument pause:]):
1289 (-[DebuggerDocument resume:]):
1290 (-[DebuggerDocument stepInto:]):
1291 (-[DebuggerDocument windowDidLoad]):
1292 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1293 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1294 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1295 (-[DebuggerDocument validateUserInterfaceItem:]):
1296 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1297 * Drosera/English.lproj/MainMenu.nib/info.nib:
1298 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1299 * Drosera/debugger.css:
1300 * Drosera/debugger.html:
1301 * Drosera/debugger.js:
1302 * Drosera/viewer.html:
1304 2006-06-22 Kevin Decker <kdecker@apple.com>
1308 - Added pressed column header image.
1309 - Made column headers behave more like Xcode.
1311 2006-06-22 Timothy Hatcher <timothy@apple.com>
1313 Reviewed by Kevin Decker.
1315 Code clean up. Adds the stackframe and makes only the body
1316 of the tables scrollable keeping the header visible.
1317 Shows the current function stack when paused or stepping.
1319 * Drosera/DebuggerApplication.m:
1320 (-[DebuggerApplication awakeFromNib]):
1321 (-[DebuggerApplication numberOfRowsInTableView:]):
1322 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1323 * Drosera/DebuggerDocument.h:
1324 * Drosera/DebuggerDocument.m:
1325 (-[DebuggerDocument dealloc]):
1326 (-[DebuggerDocument currentFrame]):
1327 (-[DebuggerDocument currentFrameFunctionName]):
1328 (-[DebuggerDocument currentFunctionStack]):
1329 (-[DebuggerDocument log:]):
1330 (-[DebuggerDocument windowWillClose:]):
1331 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1332 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1333 * Drosera/Drosera.xcodeproj/project.pbxproj:
1334 * Drosera/debugger.css:
1335 * Drosera/debugger.html:
1336 * Drosera/debugger.js:
1338 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1342 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1344 * Scripts/run-webkit-httpd:
1346 2006-06-22 Kevin Decker <kdecker@apple.com>
1348 Reviewed by Tim Hatcher.
1350 - More progress toward Javascript Debugger.
1351 - Added some new images to the project.
1353 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1357 - http://bugs.webkit.org/show_bug.cgi?id=9516
1358 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1360 * Scripts/run-webkit-httpd: Added.
1362 2006-06-20 Timothy Hatcher <timothy@apple.com>
1366 Builds Drosera and a launcher to include with the nightly.
1368 * BuildSlaveSupport/build-launcher-app:
1369 * BuildSlaveSupport/build-launcher-dmg:
1370 * Drosera/Drosera.xcodeproj/project.pbxproj:
1371 * Drosera/Info.plist:
1372 * Drosera/LauncherInfo.plist: Added.
1373 * Drosera/launcher.m: Added.
1374 (displayErrorAndQuit):
1375 (checkMacOSXVersion):
1378 * Scripts/build-drosera
1379 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1380 * WebKitLauncher/main.m:
1383 2006-06-20 Timothy Hatcher <timothy@apple.com>
1387 Adds a JavaScript debugger, called Drosera. Named after
1388 a genus of bug eating plants.
1390 * Drosera/DebuggerApplication.h: Added.
1391 * Drosera/DebuggerApplication.m: Added.
1392 (-[DebuggerApplication applicationDidFinishLaunching:]):
1393 (-[DebuggerApplication serverLoaded:]):
1394 (-[DebuggerApplication serverUnloaded:]):
1395 (-[DebuggerApplication awakeFromNib]):
1396 (-[DebuggerApplication showAttachPanel:]):
1397 (-[DebuggerApplication attach:]):
1398 (-[DebuggerApplication numberOfRowsInTableView:]):
1399 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1400 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1401 (-[DebuggerApplication tableViewSelectionDidChange:]):
1402 * Drosera/DebuggerDocument.h: Added.
1403 * Drosera/DebuggerDocument.m: Added.
1404 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1405 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1406 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1407 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1408 (-[DebuggerDocument initWithServerName:]):
1409 (-[DebuggerDocument windowWillClose:]):
1410 (-[DebuggerDocument dealloc]):
1411 (-[DebuggerDocument isPaused]):
1412 (-[DebuggerDocument pause]):
1413 (-[DebuggerDocument resume]):
1414 (-[DebuggerDocument step]):
1415 (-[DebuggerDocument windowNibName]):
1416 (-[DebuggerDocument windowDidLoad]):
1417 (-[DebuggerDocument switchToServerNamed:]):
1418 (-[DebuggerDocument applicationTerminating:]):
1419 (-[DebuggerDocument serverConnectionDidDie:]):
1420 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1421 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1422 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1423 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1424 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1425 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1426 * Drosera/Drosera.pch: Added.
1427 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1428 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1429 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1430 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1431 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1432 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1433 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1434 * Drosera/Images/breakPoint.tif: Added.
1435 * Drosera/Images/breakPointDisabled.tif: Added.
1436 * Drosera/Images/continue.tif: Added.
1437 * Drosera/Images/finishFunction.tif: Added.
1438 * Drosera/Images/glossyFooterFill.tif: Added.
1439 * Drosera/Images/glossyHeader.png: Added.
1440 * Drosera/Images/gradientBackground.png: Added.
1441 * Drosera/Images/gutter.png: Added.
1442 * Drosera/Images/navLeftDisabled.png: Added.
1443 * Drosera/Images/navLeftNormal.png: Added.
1444 * Drosera/Images/navLeftPressed.png: Added.
1445 * Drosera/Images/navRightDisabled.png: Added.
1446 * Drosera/Images/navRightNormal.png: Added.
1447 * Drosera/Images/navRightPressed.png: Added.
1448 * Drosera/Images/pause.tif: Added.
1449 * Drosera/Images/popUpArrows.png: Added.
1450 * Drosera/Images/programCounter.tif: Added.
1451 * Drosera/Images/programCounterBreakPoint.tif: Added.
1452 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1453 * Drosera/Images/run.tif: Added.
1454 * Drosera/Images/splitterBar.tif: Added.
1455 * Drosera/Images/splitterDimple.tif: Added.
1456 * Drosera/Images/step.tif: Added.
1457 * Drosera/Images/stepOver.tif: Added.
1458 * Drosera/Images/stop.tif: Added.
1459 * Drosera/Images/toolbarBackground.png: Added.
1460 * Drosera/Info.plist: Added.
1461 * Drosera/debugger.css: Added.
1462 * Drosera/debugger.html: Added.
1463 * Drosera/debugger.js: Added.
1464 * Drosera/main.m: Added.
1466 * Drosera/viewer.css: Added.
1467 * Drosera/viewer.html: Added.
1469 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1473 http://bugs.webkit.org/show_bug.cgi?id=9485
1474 Teach svn-apply and svn-unapply to use full path names
1476 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1477 * Scripts/svn-unapply: Ditto.
1479 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1483 - http://bugs.webkit.org/show_bug.cgi?id=9150
1484 DumpRenderTree should be able to keep URL history during runs
1486 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1488 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1489 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1490 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1491 it is currently nil since keepWebHistory() might be called more than once incidentally
1493 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1494 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1496 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1500 http://bugs.webkit.org/show_bug.cgi?id=9395
1501 Make prepare-ChangeLog faster
1503 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1504 then save the diff output for reuse. Keep a status variable if changes are made to
1505 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1506 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1507 for no changed files closer to the beginning of the program.
1509 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1511 Reviewed and landed by ap.
1513 - make DumpRenderTree build
1515 * DumpRenderTree/DumpRenderTree.m:
1516 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1517 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1518 (-[LayoutTestController setWindowIsKey:]): Ditto.
1519 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1521 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1523 Reviewed by Darin, landed by Geoff.
1525 http://bugs.webkit.org/show_bug.cgi?id=9350
1526 Use pathcmp() when sorting paths in svn-create-patch
1528 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1529 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1530 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1531 switch and printUsage() subroutine.
1533 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1537 http://bugs.webkit.org/show_bug.cgi?id=9322
1538 Teach svn-create-patch to sort its output
1540 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1541 by text files first, then by binary files.
1543 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1547 http://bugs.webkit.org/show_bug.cgi?id=9299
1548 Teach svn-create-patch and friends to work with binary files
1550 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1551 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1552 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1554 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1558 http://bugs.webkit.org/show_bug.cgi?id=9296
1559 Performance improvement for svn-create-patch
1561 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1563 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1567 http://bugs.webkit.org/show_bug.cgi?id=9290
1568 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1570 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1571 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1573 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1577 Switch Spinneret to new hosting mechanism
1579 * Spinneret/Spinneret.sln:
1580 * Spinneret/Spinneret/Spinneret.cpp:
1581 (SpinneretWebHost::updateAddressBar):
1582 (SpinneretWebHost::QueryInterface):
1583 (SpinneretWebHost::AddRef):
1584 (SpinneretWebHost::Release):
1591 * Spinneret/Spinneret/Spinneret.h:
1592 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1593 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1594 (SpinneretWebHost::didFailProvisionalLoadWithError):
1595 (SpinneretWebHost::didCommitLoadForFrame):
1596 (SpinneretWebHost::didReceiveTitle):
1597 (SpinneretWebHost::didReceiveIcon):
1598 (SpinneretWebHost::didFinishLoadForFrame):
1599 (SpinneretWebHost::didFailLoadWithError):
1600 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1601 (SpinneretWebHost::willPerformClientRedirectToURL):
1602 (SpinneretWebHost::didCancelClientRedirectForFrame):
1603 (SpinneretWebHost::willCloseFrame):
1604 (SpinneretWebHost::windowScriptObjectAvailable):
1605 * Spinneret/Spinneret/Spinneret.vcproj:
1607 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1611 Updated build script
1613 * Scripts/build-webkit:
1615 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1619 * DumpRenderTree/DumpRenderTree.m:
1620 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1621 (-[LayoutTestController clearBackForwardList]):
1622 Add clearBackForwardList function to layoutTestController
1624 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1628 http://bugs.webkit.org/show_bug.cgi?id=8996
1629 slow-utf8-text layout test case failing (no longer deterministic?)
1631 * DumpRenderTree/DumpRenderTree.m:
1633 Dump as text when the response MIME type is text/plain
1635 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1639 * Spinneret/Spinneret.sln:
1640 * Spinneret/Spinneret/Spinneret.vcproj:
1642 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1646 Added 'GCController' to DRT to support garbage collection layout tests.
1648 GCController.collect() and GCController.collectOnAlternateThread() do
1649 what you would expect. The latter takes a boolean argument sepcifying
1650 whether to wait for garbage collection to finish before continuing to
1653 * DumpRenderTree/DumpRenderTree.m:
1654 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1655 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1656 * DumpRenderTree/GCController.h: Added.
1657 * DumpRenderTree/GCController.mm: Added.
1658 (+[GCController isSelectorExcludedFromWebScript:]):
1659 (+[GCController webScriptNameForSelector:]):
1660 (-[GCController collect]):
1661 (-[GCController collectOnAlternateThread:]):
1663 2006-05-23 John Sullivan <sullivan@apple.com>
1667 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1668 Newer Xcode removed some obsolete cruft
1670 * DumpRenderTree/TextInputController.m:
1671 (-[TextInputController textInput]):
1672 added (id) cast to make newer compiler happy
1674 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1680 * Spinneret/Spinneret.sln:
1682 2006-05-18 Darin Adler <darin@apple.com>
1684 - try to fix no-SVG, no-XPATH build, again
1686 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1688 2006-05-18 Darin Adler <darin@apple.com>
1690 - try to fix no-SVG, no-XPATH build
1692 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1693 since the former is what's used in the WebCore project now.
1695 2006-05-17 Darin Adler <darin@apple.com>
1697 * Scripts/do-webcore-rename: Some more future renames.
1699 2006-05-16 Adele Peterson <adele@apple.com>
1703 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1704 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1706 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1708 * Scripts/install-unix-extras: Changed to be executable and removed
1709 text in the file generated by "svn diff".
1710 * Scripts/regenerate-makefiles: Ditto.
1712 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1714 Reviewed by Darin, landed by ap.
1716 - http://bugs.webkit.org/show_bug.cgi?id=8528
1717 Bakefiles (and generated Makefiles) for wx and gdk ports
1719 * Scripts/install-unix-extras: Added.
1720 * Scripts/regenerate-makefiles: Added.
1722 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1726 Fix registry usage from perl script. Turns out libwin32's
1727 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1729 * Scripts/install-win-extras:
1731 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1734 Add load ended callback.
1738 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1739 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1740 * Spinneret/Spinneret/Spinneret.cpp:
1741 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1742 (_tWinMain): Load built-in test content here instead of in lower-level code.
1743 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1745 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1749 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1751 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1755 * Scripts/check-dom-results:
1756 Add XPath to the list of results.
1758 2006-05-08 Darin Adler <darin@apple.com>
1760 * Scripts/do-webcore-rename: Add another rename.
1762 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1766 Spinneret now links against the new separate lib.
1768 * Spinneret/Spinneret.sln:
1769 * Spinneret/Spinneret/Spinneret.cpp:
1770 (SpinneretWebHost::updateLocationBar):
1772 * Spinneret/Spinneret/Spinneret.h:
1773 * Spinneret/Spinneret/Spinneret.vcproj:
1774 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1775 * Spinneret/Spinneret/WebFrame.h: Removed.
1776 * Spinneret/Spinneret/WebView.cpp: Removed.
1777 * Spinneret/Spinneret/WebView.h: Removed.
1779 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1783 Modify error reporting registry keys to disable Dr. Watson.
1784 This allows Javascript test cases to complete without blocking UI.
1786 * Scripts/install-win-extras:
1787 - Use Perl Win32 registry functions to disable blocking UI
1790 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1794 Turned off C++ exceptions, fixed memory leaks
1796 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1797 * Spinneret/Spinneret.sln:
1798 * Spinneret/Spinneret/Spinneret.cpp:
1800 * Spinneret/Spinneret/Spinneret.vcproj:
1801 * Spinneret/Spinneret/WebFrame.cpp:
1802 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1803 (WebKit::WebFrame::WebFrame):
1804 (WebKit::WebFrame::~WebFrame):
1805 (WebKit::WebFrame::impl):
1806 * Spinneret/Spinneret/WebFrame.h:
1807 * Spinneret/Spinneret/WebView.cpp:
1808 * Spinneret/Spinneret/stdafx.h:
1810 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1814 - http://bugs.webkit.org/show_bug.cgi?id=8633
1815 DumpRenderTree should reset the URL cache
1817 * DumpRenderTree/DumpRenderTree.m:
1818 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1820 2006-04-28 Eric Seidel <eseidel@apple.com>
1822 Reviewed by andersca.
1824 * Scripts/do-webcore-rename: rename KCanvasContainer too
1825 * Scripts/run-webkit-tests: output total time
1827 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1829 Reviewed by hyatt. Landed by eseidel.
1831 - http://bugs.webkit.org/show_bug.cgi?id=8549
1832 Enable detection of excessive repainting with DumpRenderTree
1834 * DumpRenderTree/DumpRenderTree.m:
1835 (-[LayoutTestController display]):
1837 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1841 - http://bugs.webkit.org/show_bug.cgi?id=6905
1842 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1844 * DumpRenderTree/DumpRenderTree.m:
1845 (dump): If display() has been called during the test, grab the pixels from
1846 the view, after letting it repaint invalidated rects.
1847 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1848 (-[LayoutTestController display]): Added. Calls -display on the view
1849 and changes the subsequent behavior of dump().
1852 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1856 - http://bugs.webkit.org/show_bug.cgi?id=8532
1857 Update iExploder to 1.3.2
1859 Test case numbers are not compatible with iExploder 1.2.
1861 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1863 * iExploder/CHANGELOG.txt: Added.
1864 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1865 * iExploder/README.txt: Added some performance hints.
1867 * iExploder/htdocs/config.rb: Added.
1868 * iExploder/htdocs/cssproperties.in:
1869 * iExploder/htdocs/cssvalues.in:
1870 * iExploder/htdocs/htmlattrs.in:
1871 * iExploder/htdocs/htmltags.in:
1872 * iExploder/htdocs/iexploder.cgi:
1873 - Updated to support the latest HTML & CSS tags, properties, and values from both
1874 the WebKit and Mozilla CVS tree
1875 - cssproperties.in cleanup
1876 - Modularized the code a little bit.
1877 - Fix subtest bug that was causing last 5 tags to be missed
1878 - new subtest algorithm to deal better with larger tag counts
1879 - default HTML_MAX_TAGS increased from 32 to 96
1881 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1882 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1883 alternative to our run-iexploder-tests.
1884 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1885 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1886 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1888 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1890 - commit Scripts/run-mangleme-tests (missed it the previous time).
1892 2006-04-18 Darin Adler <darin@apple.com>
1894 - attempt to fix Windows buildbot
1896 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1897 We need a better long-term solution for this.
1899 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1903 - http://bugs.webkit.org/show_bug.cgi?id=8444
1904 Integrate mangleme test script.
1906 Works in a similar way to run-iexploder-tests.
1908 * Scripts/run-mangleme-tests: Added.
1910 * mangleme/Makefile: Added.
1911 * mangleme/README: Added.
1912 * mangleme/mangle.cgi.c: Added.
1913 * mangleme/remangle.cgi.c: Added.
1914 * mangleme/tags.h: Added.
1916 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1920 - http://bugs.webkit.org/show_bug.cgi?id=8443
1921 An easier way to save iExploder tests.
1923 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1925 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1929 - http://bugs.webkit.org/show_bug.cgi?id=8421
1930 Integrate iExploder test script.
1932 This script generates artificially mangled HTML documents, to test that the browser
1933 doesn't crash when handling ill-formed code.
1936 run-iexploder-tests Open an interactive test page in Safari+ToT.
1937 run-iexploder-tests nnnnn Open test #nnnnn.
1939 Command line options:
1940 --guard-malloc (-g) Use Guard Malloc.
1941 --port=nnnn Run Apache on port nnnn (default is 8000).
1943 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1944 (thus, Apache is still running), e.g.:
1945 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1947 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1949 * Scripts/run-iexploder-tests: Added.
1951 * iExploder/LICENSE.txt: Added.
1952 * iExploder/README.txt: Added.
1953 * iExploder/htdocs: Added.
1954 * iExploder/htdocs/cssproperties.in: Added.
1955 * iExploder/htdocs/cssvalues.in: Added.
1956 * iExploder/htdocs/htmlattrs.in: Added.
1957 * iExploder/htdocs/htmltags.in: Added.
1958 * iExploder/htdocs/htmlvalues.in: Added.
1959 * iExploder/htdocs/iexploder.cgi: Added.
1960 * iExploder/htdocs/index.html: Added.
1961 * iExploder/tools: Added.
1962 * iExploder/tools/lasthit.rb: Added.
1963 * iExploder/tools/osx_last_crash.rb: Added.
1965 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1969 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
1970 Restore color profile after a crash
1972 * DumpRenderTree/DumpRenderTree.m:
1973 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1974 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1975 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1976 and this code may change significantly.
1978 (main): Install crashHandler.
1980 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1981 (CFStringGetCStringPtr should NEVER EVER be used!).
1983 2006-04-15 Darin Adler <darin@apple.com>
1987 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1988 Seems xmlsoft.org's HTTP no longer has what we need.
1990 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1992 Rubber-stamped by Darin.
1994 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
1995 upload-disk-image stage on buildslaves fail with "No space left on device"
1997 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1998 'hdiutil create'. This creates the initial disk image based on the size of
1999 the source folder, and copies the contents to the new disk image. The file
2000 extension on the temporary uncompressed disk image has also been altered from
2001 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
2002 the extension is not ".dmg".
2004 2006-04-12 Eric Seidel <eseidel@apple.com>
2008 * Scripts/update-webkit: Make this return non-zero when svn fails.
2010 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
2014 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
2015 Make HTTP tests using Perl use .pl extension
2017 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
2018 removed support for .text. Reduced the number of places that explicitly list supported
2019 extensions. Some of the changes come from bug 8121, the patch for which got landed only
2022 2006-04-06 Darin Adler <darin@apple.com>
2024 Changes requested by Mark Rowe.
2026 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
2027 trash at the end of the file.
2028 * BuildSlaveSupport/build-launcher-dmg: Ditto.
2030 * WebKitLauncher/main.m: Removed trash at end of file.
2032 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
2035 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
2037 Reviewed by Darin, landed by Maciej.
2039 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
2040 and bundles the WebKit frameworks inside it.
2041 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
2042 containing WebKit.app.
2043 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
2044 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
2045 number of the SVN working copy.
2046 * WebKitLauncher: Added.
2047 * WebKitLauncher/Info.plist: Added.
2048 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
2049 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
2050 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
2051 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
2052 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2053 the nightly launcher.
2054 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2055 It sets up the environment to have Safari use the bundled frameworks
2056 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2057 * WebKitLauncher/start.html: Added.
2058 * WebKitLauncher/webkit.icns: Added.
2060 2006-04-05 Darin Adler <darin@apple.com>
2064 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2065 are allowed to have global initializers.
2067 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2069 Reviewed by OMG BETH
2071 * Scripts/run-testkjs:
2072 - pipe STDERR to /dev/null by default; new --verbose option overrides
2074 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2075 - output run command in a format that can be copied and pasted into the
2076 terminal to run manually
2078 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2080 Reviewed by harrison
2082 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2083 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2085 Tell the source that the drag is over after the drag is performed, not before.
2087 * DumpRenderTree/EventSendingController.m:
2088 (-[EventSendingController mouseUp]):
2090 2006-04-01 Darin Adler <darin@apple.com>
2094 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2095 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2096 elements in that array are not strings.
2098 2006-03-31 Darin Adler <darin@apple.com>
2100 Reviewed by John Sullivan.
2102 - added a "--reset-results" option to run-webkit-tests so you can reset
2103 the results without first deleting expected results
2104 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2106 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2107 more logical. Moved all the subroutines to the end of the file. Added a
2110 * DumpRenderTree/DumpRenderTree.m:
2111 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2112 to generate new output for all tests it runs.
2113 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2114 the --dump-all-pixels option is passed. Also tightened up the image dumping
2115 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2116 with code to save and restore the context.
2118 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2119 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2121 2006-03-30 Tim Omernick <timo@apple.com>
2123 Reviewed by NOBODY (just fixing copyrights)
2125 * DumpRenderTree/ObjCPlugin.h:
2127 * DumpRenderTree/ObjCPlugin.m: ditto
2128 * DumpRenderTree/ObjCPluginFunction.h: ditto
2129 * DumpRenderTree/ObjCPluginFunction.m: ditto
2131 2006-03-30 Tim Omernick <timo@apple.com>
2135 * DumpRenderTree/DumpRenderTree.m:
2136 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2137 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2138 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2139 exposed to JS as a callable object.
2141 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2142 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2144 * DumpRenderTree/ObjCPlugin.h: Added.
2145 * DumpRenderTree/ObjCPlugin.m: Added.
2146 * DumpRenderTree/ObjCPluginFunction.h: Added.
2147 * DumpRenderTree/ObjCPluginFunction.m: Added.
2149 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2150 Added a new method, "removeDefaultMethod", which removes the default method from the
2151 plugin object's class. The effect is that the plugin object is mutated from a callable
2152 function to a simple object.
2154 Handle "removeDefaultMethod".
2155 (pluginInvokeDefault):
2156 Made the default method actually do something (return 1).
2158 2006-03-30 Eric Seidel <eseidel@apple.com>
2162 Remove WebFrame::viewImpl(), setMainFrame on page.
2164 * Spinneret/Spinneret/WebFrame.cpp:
2165 (WebKit::WebFrame::WebFrame):
2166 * Spinneret/Spinneret/WebFrame.h:
2167 * Spinneret/Spinneret/WebView.cpp:
2168 (WebKit::WebView::mouseMoved):
2169 (WebKit::WebView::mouseDown):
2170 (WebKit::WebView::mouseUp):
2171 (WebKit::WebView::mouseDoubleClick):
2172 (WebKit::WebViewWndProc):
2174 2006-03-30 Eric Seidel <eseidel@apple.com>
2178 Fix html editing input & basic form submission.
2180 * Spinneret/Spinneret/WebFrame.cpp:
2181 (WebKit::WebFrame::submitForm):
2182 (WebKit::WebFrame::loadURL):
2183 * Spinneret/Spinneret/WebFrame.h:
2184 * Spinneret/Spinneret/WebView.cpp:
2185 (WebKit::WebView::keyPress):
2186 (WebKit::WebViewWndProc):
2188 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2192 <rdar://problem/4402375>
2193 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2195 Added an option to draw the selectionRect.
2197 * DumpRenderTree/DumpRenderTree.m:
2199 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2200 (-[LayoutTestController dumpSelectionRect]):
2203 2006-03-29 Darin Adler <darin@apple.com>
2205 Reviewed by Tim Hatcher.
2207 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2209 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2211 2006-03-28 Eric Seidel <eseidel@apple.com>
2215 * Scripts/check-for-global-initializers: remove svg exceptions.
2217 2006-03-28 Timothy Hatcher <timothy@apple.com>
2221 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2223 * Scripts/check-for-global-initializers:
2225 2006-03-28 Timothy Hatcher <timothy@apple.com>
2227 Build fix. Turn off uninitialized warnings for the first block of code.
2229 * Scripts/check-for-global-initializers:
2231 2006-03-28 Darin Adler <darin@apple.com>
2235 * Scripts/check-for-global-initializers: Added.
2237 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2239 Reviewed by darin. Landed by eseidel.
2241 - http://bugs.webkit.org/show_bug.cgi?id=7947
2242 Add repaint testing support to run-webkit-tests
2244 * DumpRenderTree/DumpRenderTree.m:
2245 (main): Added --repaint and --horizontal-sweep options.
2246 (dump): Repaint line-by-line or column-by-column when the appropriate option
2248 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2249 and repaintSweepHorizontally() methods to layoutTestController.
2250 (-[LayoutTestController testRepaint]):
2251 (-[LayoutTestController repaintSweepHorizontally]):
2253 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2254 to force these settings on tests that do not ask for them.
2256 2006-03-24 Eric Seidel <eseidel@apple.com>
2262 * Spinneret/Spinneret/WebFrame.cpp:
2263 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2265 2006-03-21 Beth Dakin <bdakin@apple.com>
2269 Add support for keyDown() to DumpRenderTree.
2271 * DumpRenderTree/DumpRenderTree.m:
2272 (main): Set the preference for tabbing to links.
2273 * DumpRenderTree/EventSendingController.m:
2274 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2275 (+[EventSendingController webScriptNameForSelector:]):
2276 (-[EventSendingController keyDown:withModifiers:]):
2278 2006-03-20 Eric Seidel <eseidel@apple.com>
2284 * Spinneret/Spinneret/Spinneret.vcproj:
2285 * Spinneret/Spinneret/WebFrame.h:
2286 * Spinneret/Spinneret/WebView.cpp:
2287 (WebKit::WebView::mouseMoved):
2288 (WebKit::WebView::mouseDown):
2289 (WebKit::WebView::mouseUp):
2290 (WebKit::WebView::mouseDoubleClick):
2291 (WebKit::WebView::keyPress):
2292 (WebKit::WebViewWndProc):
2294 2006-03-19 Darin Adler <darin@apple.com>
2298 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2299 we can test it in layout tests. We don't really need tests that run with
2300 pop-up blocking off at the moment. If we do some day, we can add some
2301 API for turning it off in the layout test controller.
2303 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2304 don't ignore the leak; it should no longer show up.
2306 2006-03-17 Anders Carlsson <andersca@mac.com>
2310 * Scripts/install-win-extras:
2311 Fetch "Program Files" location from the environment.
2313 2006-03-17 Eric Seidel <eseidel@apple.com>
2317 Fix Spinneret to pass Events as const & not as pointers.
2319 * Spinneret/Spinneret/WebView.cpp:
2320 (WebKit::WebView::mouseMoved):
2321 (WebKit::WebView::mouseDown):
2322 (WebKit::WebView::mouseUp):
2323 (WebKit::WebView::mouseDoubleClick):
2324 (WebKit::WebView::keyPress):
2326 2006-03-17 Eric Seidel <eseidel@apple.com>
2328 Reviewed by justing.
2330 Add support for basic HTML editing.
2332 * Spinneret/Spinneret/WebView.cpp:
2333 (WebKit::WebView::WebView):
2334 (WebKit::WebView::keyPress):
2336 2006-03-17 Eric Seidel <eseidel@apple.com>
2338 Rubber-stamped by ggaren.
2340 Break DumpRenderTree.m up into several files to make the code more readable.
2342 * DumpRenderTree/DumpRenderTree.h: Added.
2343 * DumpRenderTree/DumpRenderTree.m:
2344 (doneLoading): new accessor function for "done" global.
2345 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2346 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2347 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2348 * DumpRenderTree/EditingDelegate.h: Added.
2349 * DumpRenderTree/EditingDelegate.m: Added.
2350 (-[EditingDelegate webViewDidChangeSelection:]):
2351 * DumpRenderTree/EventSendingController.h: Added.
2352 * DumpRenderTree/EventSendingController.m: Added.
2354 2006-03-16 Eric Seidel <eseidel@apple.com>
2358 Add resize, scroll event support.
2360 * Spinneret/Spinneret/WebView.cpp:
2361 (WebKit::WebView::mouseMoved):
2362 (WebKit::WebView::mouseDown):
2363 (WebKit::WebView::mouseUp):
2364 (WebKit::WebView::mouseDoubleClick):
2365 (WebKit::WebView::keyPress):
2366 (WebKit::WebViewWndProc):
2367 * Spinneret/Spinneret/WebView.h:
2369 2006-03-16 Eric Seidel <eseidel@apple.com>
2373 Make build-webkit print correctly to stdout on windows.
2375 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2377 2006-03-15 Eric Seidel <eseidel@apple.com>
2381 Fix eventSender.mouseClick() to update lastClick timestamp.
2383 * DumpRenderTree/DumpRenderTree.m:
2384 (-[EventSendingController mouseClick]):
2386 2006-03-15 Darin Adler <darin@apple.com>
2390 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2391 that had a lowercase "i" in it so this builds on case-sensitive
2394 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2398 Added run-testkjs and compare-timing-files scripts, to support super
2401 * Scripts/compare-timing-files: Added.
2402 * Scripts/run-testkjs: Added.
2404 2006-03-14 Eric Seidel <eseidel@apple.com>
2408 Make the URL bar relinquish focus on page load.
2410 * Spinneret/Spinneret/Spinneret.cpp:
2413 2006-03-14 Eric Seidel <eseidel@apple.com>
2417 Fix WebView to allow KeyFocus.
2418 Add handling of space and shift-space for scrolling.
2420 * Spinneret/Spinneret/WebView.cpp:
2421 (WebKit::scrollMessageForKey):
2422 (WebKit::WebViewWndProc):
2424 2006-03-10 Eric Seidel <eseidel@apple.com>
2428 Add scrolling support into Spinneret.
2430 * Spinneret/Spinneret/WebFrame.cpp:
2431 (WebKit::WebFrame::paint):
2432 * Spinneret/Spinneret/WebView.cpp:
2433 (WebKit::WebView::createWebView):
2434 (WebKit::calculateScrollDelta):
2435 (WebKit::scrollMessageForKey):
2436 (WebKit::WebViewWndProc):
2438 2006-03-13 Eric Seidel <eseidel@apple.com>
2442 Fix checksum generation on Intel machines.
2443 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2444 give a small speed boost now that it uses a shared buffer.
2446 * DumpRenderTree/DumpRenderTree.m:
2449 (md5HashStringForBitmap):
2450 * DumpRenderTree/ImageDiff.m:
2451 (computePercentageDifferent):
2453 2006-03-13 Darin Adler <darin@apple.com>
2455 Reviewed by Tim Hatcher.
2457 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2458 have it named httpd-1.3 instead.
2460 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2462 Fix proposed by Mitz Pettel, reviewed by Darin.
2464 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
2465 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2467 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2468 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2471 2006-03-09 Darin Adler <darin@apple.com>
2473 Reviewed by John Sullivan.
2475 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
2476 memory leak in the plug-in tests
2478 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2479 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2480 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2482 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2483 Moved the browser global in here since it's declared in this file's header.
2484 Changed the code to set up the pluginClass structure to not use function
2485 pointer casts. Those are dangerous because they can hide many types of mismatch.
2486 And indeed when I did this I discovered that many functions were missing their
2487 boolean return values or had parameter declarations with the wrong types.
2488 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2489 clarity. Added boolean return value: return true when successful and false when not.
2490 (pluginSetProperty): Added boolean return value, return false since we have no
2491 properties we can set.
2492 (pluginInvoke): Added boolean return value. Return true when successful and false
2493 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2494 return value from calling the browser. Changed code to put the strings in malloc
2495 buffers instead of relying on GCC's extension that allows variable-sized arrays
2497 (pluginInvokeDefault): Added boolean return value, return false since we have no
2498 default function to call.
2499 (pluginInvalidate): Added missing parameter. Removed comment.
2500 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2501 to cast the result of malloc.
2502 (pluginDeallocate): Removed uneeded cast.
2504 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2505 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2506 that match NPObject's fields. Removed unused NPWindow pointer.
2508 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2510 Test: fast/events/event-sender-mouse-click.html
2514 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
2515 DRT hangs when doing eventSender.mouseDown on native widgets
2517 * DumpRenderTree/DumpRenderTree.m:
2518 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2519 (-[EventSendingController mouseClick]): Simulates a click in a native
2520 widget by queueing a mouseUp before sending the mouseDown, so that
2521 the widget's mouse tracking event loop doesn't hang indefinitely.
2523 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2527 - make link clicks work by handling link click requests
2530 * Spinneret/Spinneret/Spinneret.cpp:
2531 (updateLocationBar):
2532 * Spinneret/Spinneret/Spinneret.h:
2533 * Spinneret/Spinneret/WebFrame.cpp:
2534 (WebKit::WebFrame::WebFrame):
2535 (WebKit::WebFrame::openURL):
2536 (WebKit::WebFrame::loadURL):
2537 * Spinneret/Spinneret/WebFrame.h:
2539 2006-03-08 Eric Seidel <eseidel@apple.com>
2543 Focus URL bar on Spinneret launch, remove border from WebView.
2544 Stop WebFrame from deleting the job (prevent crash).
2546 * Spinneret/Spinneret/Spinneret.cpp:
2548 * Spinneret/Spinneret/WebFrame.cpp:
2549 (WebKit::WebFrame::receivedAllData):
2550 (WebKit::WebFrame::paint):
2551 * Spinneret/Spinneret/WebView.cpp:
2552 (WebKit::WebView::createWebView):
2554 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2558 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2559 (pluginInvoke): Added a method to test getURL.
2561 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2565 - load URLs, not file paths, in Spinneret
2567 * Spinneret/Spinneret/Spinneret.cpp:
2569 * Spinneret/Spinneret/Spinneret.vcproj:
2570 * Spinneret/Spinneret/WebFrame.cpp:
2571 (WebKit::WebFrame::loadURL):
2572 (WebKit::WebFrame::receivedData):
2573 (WebKit::WebFrame::receivedAllData):
2574 * Spinneret/Spinneret/WebFrame.h:
2575 * Spinneret/Spinneret/WebView.cpp:
2576 (WebKit::WebView::WebView):
2578 2006-03-08 Darin Adler <darin@apple.com>
2582 - fixed AppleScript layout test results to not be endian-dependent
2583 (Hyatt complained to me about this one)
2585 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2586 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2587 (which are endian-dependent).
2589 2006-03-07 Darin Adler <darin@apple.com>
2593 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
2594 unwanted output while running layout tests
2596 * DumpRenderTree/DumpRenderTree.m:
2597 (checkedMalloc): Added.
2598 (checkedRealloc): Added.
2599 (makeLargeMallocFailSilently): Added.
2600 (main): Call makeLargeMallocFailSilently.
2602 2006-03-06 Darin Adler <darin@apple.com>
2604 * Scripts/do-webcore-rename: Add some more planned renaming.
2606 2006-03-06 Eric Seidel <eseidel@apple.com>
2610 * Spinneret/Spinneret/WebFrame.cpp:
2611 (WebKit::WebFrame::paint): force layout before painting
2613 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2617 Sent the windowNumber when sending events.
2618 Added leapForward so that we don't have to spend time waiting
2619 in layout tests that do mouse operations that require delays.
2621 * DumpRenderTree/DumpRenderTree.m:
2622 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2623 (+[EventSendingController webScriptNameForSelector:]):
2624 (-[EventSendingController currentEventTime]):
2625 (-[EventSendingController leapForward:]):
2626 (-[EventSendingController mouseDown]):
2627 (-[EventSendingController mouseUp]):
2628 (-[EventSendingController mouseMoveToX:Y:]):
2630 2006-03-05 Darin Adler <darin@apple.com>
2632 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2633 Script now works (after landing my two pending patches).
2635 2006-03-05 Darin Adler <darin@apple.com>
2637 - check in a script to do a "big" rename in WebCore
2638 (can be run whenever we're ready to do it)
2640 * Scripts/do-webcore-rename: Added.
2642 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2646 * Spinneret/Spinneret/WebFrame.cpp:
2647 (WebKit::WebFrame::loadFilePath): Close file when done.
2649 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2651 Reviewed by Darin, landed by ap.
2653 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
2654 Mouse moved events do not work in DumpRenderTree
2656 Test: fast/events/event-sender-mouse-moved.html
2658 * DumpRenderTree/DumpRenderTree.m:
2659 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2661 2006-03-04 Eric Seidel <eseidel@apple.com>
2665 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2666 Disable background erase to avoid tearing.
2667 Fix potential memory smasher from extra long urls.
2669 * Spinneret/Spinneret/Spinneret.cpp:
2671 * Spinneret/Spinneret/Spinneret.vcproj:
2672 * Spinneret/Spinneret/WebFrame.cpp:
2673 (WebKit::WebFrame::loadFilePath):
2674 (WebKit::WebFrame::paint):
2675 * Spinneret/Spinneret/WebView.cpp:
2676 (WebKit::registerWebViewWithInstance):
2678 2006-03-04 Eric Seidel <eseidel@apple.com>
2682 Hang WebView pointer off of HWND (gets rid of global hack).
2683 Remove MessageBox displayed on url change.
2685 * Spinneret/Spinneret/Spinneret.cpp:
2688 * Spinneret/Spinneret/WebView.cpp:
2689 (WebKit::registerWebViewWithInstance):
2690 (WebKit::WebView::createWebView):
2691 (WebKit::WebViewWndProc):
2693 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2697 Automatically kill httpd if it appears to be already running.
2699 * Scripts/run-webkit-tests:
2701 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2705 * Spinneret/Spinneret/WebFrame.cpp:
2706 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2708 2006-03-03 Eric Seidel <eseidel@apple.com>
2712 A few more fixes to make run-webkit-tests really work on win32.
2714 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2716 * Scripts/run-webkit-tests:
2718 2006-03-03 Eric Seidel <eseidel@apple.com>
2722 Make run-webkit-tests work on win32.
2724 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2726 (dumpRenderTreeMain):
2727 (dumpRenderTreeToStdOut):
2728 (serializeToStdOut):
2730 * Scripts/run-webkit-tests:
2731 * Scripts/webkitdirs.pm:
2732 * Spinneret/Spinneret/WebView.cpp:
2733 (WebKit::WebView::WebView):
2735 2006-03-03 Eric Seidel <eseidel@apple.com>
2739 Add WebFrame class (to hold Frame and FrameView).
2740 Add Location bar support to Spinneret.
2742 * Spinneret/Spinneret/Spinneret.cpp:
2747 * Spinneret/Spinneret/Spinneret.vcproj:
2748 * Spinneret/Spinneret/WebFrame.cpp: Added.
2749 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2750 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2751 (WebKit::WebFrame::WebFrame):
2752 (WebKit::WebFrame::loadFilePath):
2753 (WebKit::WebFrame::loadHTMLString):
2754 (WebKit::WebFrame::paint):
2755 (WebKit::WebFrame::impl):
2756 (WebKit::WebFrame::viewImpl):
2757 * Spinneret/Spinneret/WebFrame.h: Added.
2758 * Spinneret/Spinneret/WebView.cpp:
2759 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2760 (WebKit::WebView::WebView):
2761 (WebKit::WebView::windowHandle):
2762 (WebKit::WebView::mainFrame):
2763 (WebKit::WebView::mouseMoved):
2764 (WebKit::WebView::mouseDown):
2765 (WebKit::WebView::mouseUp):
2766 (WebKit::WebView::mouseDoubleClick):
2767 (WebKit::WebViewWndProc):
2768 * Spinneret/Spinneret/WebView.h:
2770 2006-03-02 Eric Seidel <eseidel@apple.com>
2774 * Spinneret/Spinneret/WebView.cpp:
2775 (WebKit::registerWebViewWithInstance):
2776 (WebKit::WebView::WebView):
2777 (WebKit::WebView::mouseMoved):
2778 (WebKit::WebView::mouseDown):
2779 (WebKit::WebView::mouseUp):
2780 (WebKit::WebView::mouseDoubleClick):
2781 (WebKit::WebViewWndProc):
2782 * Spinneret/Spinneret/WebView.h:
2784 2006-03-01 Eric Seidel <eseidel@apple.com>
2786 Reviewed by andersca.
2788 Make spinneret take advantage of the new GraphicsContextCairo.
2790 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2791 (main): updated to match style guidelines.
2792 * Spinneret/Spinneret/Spinneret.cpp:
2794 * Spinneret/Spinneret/WebView.cpp:
2795 (WebKit::registerWebViewWithInstance):
2796 (WebKit::WebView::WebView):
2797 (WebKit::WebView::~WebView):
2798 (WebKit::WebView::drawRect):
2800 * Spinneret/Spinneret/WebView.h:
2802 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2806 Give the events that eventSender sends a unique eventNumber
2808 * DumpRenderTree/DumpRenderTree.m:
2809 (-[EventSendingController mouseDown]):
2810 (-[EventSendingController mouseUp]):
2811 (-[EventSendingController mouseMoveToX:Y:]):
2813 2006-03-01 Eric Seidel <eseidel@apple.com>
2817 Add a stub win32 application to test WebCore drawing on windows.
2820 * Spinneret/Spinneret: Added.
2821 * Spinneret/Spinneret.sln: Added.
2822 * Spinneret/Spinneret/Resource.h: Added.
2823 * Spinneret/Spinneret/Spinneret.cpp: Added.
2829 * Spinneret/Spinneret/Spinneret.h: Added.
2830 * Spinneret/Spinneret/Spinneret.ico: Added.
2831 * Spinneret/Spinneret/Spinneret.rc: Added.
2832 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2833 * Spinneret/Spinneret/WebView.cpp: Added.
2834 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2835 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2836 (WebKit::registerWebViewWithInstance):
2837 (WebKit::WebView::createWebView):
2838 (WebKit::WebView::WebView):
2839 (WebKit::WebView::~WebView):
2840 (WebKit::WebView::drawRect):
2841 (WebKit::WebView::windowHandle):
2843 * Spinneret/Spinneret/WebView.h: Added.
2844 * Spinneret/Spinneret/small.ico: Added.
2845 * Spinneret/Spinneret/stdafx.cpp: Added.
2846 * Spinneret/Spinneret/stdafx.h: Added.
2848 2006-02-28 Eric Seidel <eseidel@apple.com>
2852 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2853 (main): add ability to dump render tree and read from a local file.
2855 2006-02-27 Eric Seidel <eseidel@apple.com>
2859 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2861 2006-02-27 Eric Seidel <eseidel@apple.com>
2865 Test new KConfig -> PlugInInfoStore change.
2866 http://bugs.webkit.org/show_bug.cgi?id=7498
2868 * DumpRenderTree/DumpRenderTree.m:
2869 (main): load test netscape plugin
2870 * Scripts/run-webkit-tests: style update
2872 2006-02-24 Eric Seidel <eseidel@apple.com>
2876 Make DumpRenderTree link against icu.
2878 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2880 2006-02-24 Eric Seidel <eseidel@apple.com>
2884 Make DumpRenderTree link against libxml, etc.
2886 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2888 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2890 Reviewed and landed by Anders.
2892 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2893 getting called from the run loop, making the view render each test and thus slowing
2896 * DumpRenderTree/DumpRenderTree.m:
2897 (main): Set the offscreen window to not autodisplay.
2899 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2903 - Turn http tests back on by default.
2904 - Wait for Apache to actually start serving requests.
2905 - Get user id from a built-in variable rather than an external command;
2906 don't pass the group.
2908 * Scripts/run-webkit-tests:
2910 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2912 Suggested by Mitz Pettel, reviewed by Darin.
2914 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2915 can run CGIs even if the permissions are 700 or 600.
2917 2006-02-23 Darin Adler <darin@apple.com>
2919 Collaborating with Alexey.
2921 - turn off http tests by default until we figure out how to get them
2922 to run even when permissions on CGI files are 700 instead of 755
2924 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2926 2006-02-23 Eric Seidel <eseidel@apple.com>
2928 Add *.user to ignore list.
2930 2006-02-23 Eric Seidel <eseidel@apple.com>
2932 Remove binary file which shouldn't have been commited (and add to ignore list).
2934 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2935 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2937 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2941 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2943 2006-02-22 Eric Seidel <eseidel@apple.com>
2945 Reviewed by Tim Hatcher.
2947 Fix install-win-extras to not try to re-install setx if installed.
2949 * Scripts/install-win-extras:
2951 2006-02-22 Eric Seidel <eseidel@apple.com>
2953 One more file possibly missing from previous commit?
2955 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2956 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2958 2006-02-22 Eric Seidel <eseidel@apple.com>
2960 Reviewed by justing.
2962 Files missing from previous commit.
2964 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2965 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2967 2006-02-22 Eric Seidel <eseidel@apple.com>
2969 Rubber-stamped by justing.
2971 Corrected path for DumpRenderTree.intermediate files
2973 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2975 2006-02-22 Eric Seidel <eseidel@apple.com>
2977 Reviewed by justing.
2979 Fixed build-dumprendertree to exit with correct error codes.
2981 * Scripts/build-dumprendertree:
2983 2006-02-22 Eric Seidel <eseidel@apple.com>
2985 Reviewed by justing.
2987 Update build scripts to generalize building on Win32, and allow
2988 building of DumpRenderTree on Win32 from build-dumprendertree.
2990 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2992 * Scripts/build-dumprendertree:
2993 * Scripts/build-webkit:
2994 * Scripts/webkitdirs.pm:
2996 2006-02-22 Eric Seidel <eseidel@apple.com>
3000 * DumpRenderTree/DumpRenderTree.vcproj: Added.
3001 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
3002 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
3003 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
3004 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
3005 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
3007 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
3008 * Scripts/build-webkit: make build-webkit cleanup after itself
3010 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
3014 - http://bugs.webkit.org/show_bug.cgi?id=7409
3015 Some minor fixes to http tests.
3017 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
3019 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
3023 - http://bugs.webkit.org/show_bug.cgi?id=6197
3024 Would like to use locally installed Apache for testing.
3026 Added two run-webkit-tests options:
3027 --http (--nohttp) - whether to launch Apache (defaults to yes);
3028 --port - which port to listen on (defaults to 8000).
3030 Tests in LayoutTests/http are not run directly, and Apache is used instead.
3031 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
3032 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
3034 Also added support for .shtml and .text files. Text files give an empty
3035 *-expected.txt, but a correct image.
3037 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
3039 * Scripts/run-webkit-tests:
3041 2006-02-21 Darin Adler <darin@apple.com>
3043 Suggested by Mark Rowe.
3045 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
3046 reporting leak counts.
3048 2006-02-18 Maciej Stachowiak <mjs@apple.com>
3052 - Added install-win-extras script which installs some extra
3053 programs and libraries, and does Windows first-time setup.
3055 * Scripts/build-webkit: Add a newline between build results.
3056 * Scripts/install-win-extras: Added.
3058 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3062 - http://bugs.webkit.org/show_bug.cgi?id=7308
3063 DumpRenderTree should be able to load files via HTTP
3065 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
3066 Handle tests starting with "http://" as real URLs, not file system paths.
3068 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3072 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
3073 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
3075 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
3077 2006-02-18 Darin Adler <darin@apple.com>
3079 * Scripts/commit-log-editor: Added.
3081 2006-02-17 Eric Seidel <eseidel@apple.com>
3085 Make Win32 have the same default "WebKitBuild" directory behavior.
3087 * Scripts/build-webkit:
3088 * Scripts/webkitdirs.pm:
3090 2006-02-17 Eric Seidel <eseidel@apple.com>
3094 * Scripts/build-webkit: make win32 actually report errors
3096 2006-02-17 Eric Seidel <eseidel@apple.com>
3100 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
3102 2006-02-17 Eric Seidel <eseidel@apple.com>
3106 * Scripts/run-webkit-tests: Ignore flash leaks
3108 2006-02-15 Justin Garcia <justin.garcia@apple.com>
3112 <http://bugs.webkit.org/show_bug.cgi?id=7148>
3113 Add drag and drop support to DumpRenderTree
3115 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
3116 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
3118 * DumpRenderTree/DumpRenderTree.m:
3120 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3121 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3122 (-[WaitUntilDoneDelegate webViewFocus:]):
3123 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3124 (+[LayoutTestController webScriptNameForSelector:]):
3125 (-[LayoutTestController setWindowIsKey:]):
3126 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3127 (-[EventSendingController init]):
3128 (-[EventSendingController mouseDown]):
3129 (-[EventSendingController mouseUp]):
3130 (-[EventSendingController mouseMoveToX:Y:]):
3132 (-[DumpRenderTreeWindow isKeyWindow]):
3133 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
3134 (-[DumpRenderTreeDraggingInfo dealloc]):
3135 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3136 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
3137 (-[DumpRenderTreeDraggingInfo draggingLocation]):
3138 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
3139 (-[DumpRenderTreeDraggingInfo draggedImage]):
3140 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
3141 (-[DumpRenderTreeDraggingInfo draggingSource]):
3142 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
3143 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
3144 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
3145 * DumpRenderTree/TextInputController.m:
3146 (-[TextInputController firstRectForCharactersFrom:length:]):
3147 (-[TextInputController characterIndexForPointX:Y:]):
3149 2006-02-15 Geoffrey Garen <ggaren@apple.com>
3153 * DumpRenderTree/DumpRenderTree.m:
3154 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3155 Added a dummy method for the sake of LayoutTests/plugins/
3156 undefined-property-crash.html. (It tests a crash due to fallback
3157 object use. WebCore won't create a fallback object if the method is
3160 2006-02-14 Eric Seidel <eseidel@apple.com>
3164 * Scripts/run-webkit-tests: added --results-directory (-o) option
3166 2006-02-09 Eric Seidel <eseidel@apple.com>
3168 Rubber-stamped by mjs.
3170 Renamed split-class to split-file-by-class.
3172 * Scripts/build-webkit: Updated copyright.
3173 * Scripts/split-class: Removed.
3174 * Scripts/split-file-by-class: Added.
3176 2006-02-08 Eric Seidel <eseidel@apple.com>
3178 Rubber-stamped by mjs.
3180 Adding new script for splitting multi-class files.
3181 Also adding supporting perl module with space removing heuristics.
3183 * Scripts/SpacingHeuristics.pm: Added.
3184 * Scripts/build-drawtest: updated copyright header
3185 * Scripts/split-class: Added.
3187 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3189 Reviewed by thatcher
3191 Changes to test fix for:
3192 <http://bugs.webkit.org/show_bug.cgi?id=3982>
3193 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3195 * DumpRenderTree/DumpRenderTree.m:
3196 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3197 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3198 (+[LayoutTestController webScriptNameForSelector:]):
3199 (-[LayoutTestController setWindowHasFocus:]):
3200 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3202 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3204 Reviewed by Timothy.
3206 Support automated testing of AppleScript "do JavaScript" command
3207 http://bugs.webkit.org/show_bug.cgi?id=7012
3209 * DumpRenderTree/AppleScriptController.h: Added.
3210 * DumpRenderTree/AppleScriptController.m: Added.
3211 * DumpRenderTree/DumpRenderTree.m:
3212 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3213 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3215 2006-02-06 Eric Seidel <eseidel@apple.com>
3219 Fix build-webkit for use on win32 (unblocks buildbot usage).
3220 http://bugs.webkit.org/show_bug.cgi?id=7122
3222 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3223 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3225 2006-02-06 Eric Seidel <eseidel@apple.com>
3227 Rubber-stamped by darin & mjs.
3229 Added new support directory for build slave scripts.
3230 Committing the first script, for use by the PLT's build slave.
3231 This script is used to kick of the PLT (Page Load Test) slave.
3233 * BuildSlaveSupport: Added.
3234 * BuildSlaveSupport/run-performance-tests: Added.
3236 2006-02-06 Eric Seidel <eseidel@apple.com>
3238 Rubber-stamped by darin.
3240 Adding setSourceDir for scripts stored in non-standard locations.
3242 * Scripts/webkitdirs.pm:
3244 2006-02-04 Darin Adler <darin@apple.com>
3246 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3247 Configuration files that say Development or Deployment in them.
3249 2006-02-04 Darin Adler <darin@apple.com>
3251 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3252 wrapper already in the directory.
3253 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3254 these haven't been working at all.
3255 * Scripts/svn-unapply: Ditto.
3257 2006-02-03 Timothy Hatcher <timothy@apple.com>
3261 Renamed configuration names to Debug, Release and Production.
3263 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3264 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3265 * Scripts/set-webkit-configuration:
3266 * Scripts/webkitdirs.pm:
3268 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3270 Reviewed by thatcher
3272 Enabled spell checking for layout tests.
3274 * DumpRenderTree/DumpRenderTree.m:
3277 2006-01-29 Darin Adler <darin@apple.com>
3279 * Scripts/svn-apply: Added comments about things we should do to improve.
3280 * Scripts/svn-create-patch: Ditto.
3281 * Scripts/svn-unapply: Ditto.
3283 2006-01-28 Darin Adler <darin@apple.com>
3285 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3286 already there, even if the checksum is correct.
3288 2006-01-27 Eric Seidel <eseidel@apple.com>
3292 * Scripts/run-webkit-tests: make new tests use absolute urls
3294 2006-01-27 Eric Seidel <eseidel@apple.com>
3298 make run-webkit-tests output total leaks count
3300 * Scripts/run-webkit-tests:
3302 2006-01-27 Eric Seidel <eseidel@apple.com>
3306 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3307 http://bugs.webkit.org/show_bug.cgi?id=6869
3309 * Scripts/run-webkit-tests: fix --leaks to not crash
3311 2006-01-26 Eric Seidel <eseidel@apple.com>
3315 run-webkit-tests should produce a self-contained results directory
3316 http://bugs.webkit.org/show_bug.cgi?id=6864
3318 * Scripts/run-webkit-tests: copy failing items to results dir.
3320 2006-01-23 Darin Adler <darin@apple.com>
3322 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
3323 need script to update localizable strings file in WebKit
3325 * Scripts/update-webkit-localizable-strings: Added.
3327 2006-01-23 Darin Adler <darin@apple.com>
3329 - added a couple of scripts -- more about these two soon
3331 * Scripts/extract-localizable-strings: Added.
3332 * Scripts/merge-changelog: Added.
3334 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3338 Build fix. build-webkit dies with "invalid build action: (empty string)"
3340 * Scripts/build-webkit:
3341 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3343 2006-01-22 Eric Seidel <eseidel@apple.com>
3347 Fix --no-svg option to use XCode flags instead of gcc flags.
3349 * Scripts/build-webkit:
3351 2006-01-22 Eric Seidel <eseidel@apple.com>
3355 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3357 * Scripts/build-webkit:
3359 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3361 Reviewed by eseidel.
3363 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
3364 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3366 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3367 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3369 2006-01-19 Darin Adler <darin@apple.com>
3371 * Scripts/report-include-statistics: Added a new script.
3373 2006-01-19 Timothy Hatcher <timothy@apple.com>
3375 * Scripts/build-webkit: include JavaScriptGlue in the build
3377 2006-01-19 Darin Adler <darin@apple.com>
3379 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3380 spaces in it by using the form of open that treats each argument as a string
3381 rather than backtick syntax for reading the output of the nm tool.
3383 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3387 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3388 detect if there are any new tests
3390 * Scripts/prepare-ChangeLog:
3392 2006-01-12 Darin Adler <darin@apple.com>
3394 - removed some of the cvs-specific scripts -- not needed for this project any more
3396 * Scripts/cvs-abandon: Removed.
3397 * Scripts/cvs-apply: Removed.
3398 * Scripts/cvs-create-patch: Removed.
3399 * Scripts/cvs-unapply: Removed.
3401 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3403 Reviewed by eseidel. Committed by eseidel.
3405 - run-webkit-tests always launches Safari when tests fail
3406 http://bugs.webkit.org/show_bug.cgi?id=6456
3408 * Scripts/run-webkit-tests:
3409 Add a command-line flag to prevent Safari being launched to display failed
3410 tests. Always exit with non-zero status when tests have failed.
3412 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3414 Reviewed by eseidel. Committed by eseidel.
3416 - build-webkit should exit with non-zero status when build fails
3417 http://bugs.webkit.org/show_bug.cgi?id=6459
3419 * Scripts/build-webkit:
3420 Use correct bits of subprocess exit code when passing back through
3421 as build-webkit's exit code.
3423 2006-01-10 Eric Seidel <eseidel@apple.com>
3425 Restored corrupted nibs from TOT CVS.
3427 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3428 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3429 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3430 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3431 * DrawTest/English.lproj/Inspector.nib: Replaced.
3432 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3433 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3434 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3435 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3436 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3437 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3438 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3439 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3440 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3441 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3442 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3444 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3446 Reviewed by eseidel. Committed by eseidel.
3448 DrawTestView now subclasses WebView instead of DrawView.
3450 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3451 * DrawTest/DrawTestDocument.h:
3452 * DrawTest/DrawTestDocument.m:
3453 (-[DrawTestDocument dealloc]):
3454 (-[DrawTestDocument readFromFile:ofType:]):
3455 (-[DrawTestDocument windowControllerDidLoadNib:]):
3456 (-[DrawTestDocument dumpSVGToConsole:]):
3457 (-[DrawTestDocument openSourceForSelection:]):
3458 (-[DrawTestDocument dataRepresentationOfType:]):
3459 * DrawTest/DrawTestToolbarController.h:
3460 * DrawTest/DrawTestToolbarController.m:
3461 (-[DrawTestToolbarController initWithDrawView:]):
3462 (-[DrawTestToolbarController clickedToolbarItem:]):
3463 (-[DrawTestToolbarController validateToolbarItem:]):
3464 * DrawTest/DrawTestView.h:
3465 * DrawTest/DrawTestView.m:
3466 (-[DrawTestView initWithFrame:]):
3467 (-[DrawTestView setDocument:]):
3468 * DrawTest/SVGTest.h:
3469 * DrawTest/SVGTest.m:
3470 (+[SVGTest sharedDrawView]):
3471 (-[SVGTest generateCompositeIfNecessary]):
3472 * DrawTest/TestController.h:
3473 * DrawTest/TestController.m:
3474 (-[TestController awakeFromNib]):
3475 (-[TestController setSelectedTest:]):
3476 (-[TestController openTestViewerForSelection:]):
3477 (-[TestController toggleViewersScaleRule:]):
3478 * DrawTest/TestViewerSplitView.m:
3479 (-[TestViewerSplitView drawRect:]):
3481 2006-01-10 Anders Carlsson <andersca@mac.com>
3483 Reviewed by Timothy.
3485 * DumpRenderTree/DumpRenderTree.m:
3486 (main): Set the default language to "en", so language tests will work.
3488 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3492 - script to generate HTML wrappers for JS tests
3493 http://bugs.webkit.org/show_bug.cgi?id=6441
3495 * Scripts/make-js-test-wrappers: Added.
3497 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3501 * Scripts/svn-create-patch: Fix to work when passed directory names.
3503 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3507 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3508 can start writing automated loader tests now. I have one in the works.
3510 * DumpRenderTree/DumpRenderTree.m:
3511 (main): Construct global navigationController on entry, destroy on exit.
3512 Set frame to nil on exit too, to match all the other global objects.
3513 (Probably academic, since the process is exiting, anyway.)
3514 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3515 navigationController, in case it wants to kick off a load.
3516 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3517 the navigationController to scripting.
3519 New class, should be straightforward:
3521 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3522 * DumpRenderTree/NavigationController.h: Added.
3523 * DumpRenderTree/NavigationController.m: Added.
3525 (+[NavigationController isSelectorExcludedFromWebScript:]):
3526 (+[NavigationController webScriptNameForSelector:]):
3527 (-[NavigationController setPendingScript:]):
3528 (-[NavigationController setPendingRequest:]):
3529 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3530 (-[NavigationController webView:didFinishLoadForFrame:]):
3531 (-[NavigationController dealloc]):
3533 2006-01-08 Timothy Hatcher <timothy@apple.com>
3535 Removed this script, no longer needs with the Subversion switch.
3537 * checkout: Removed.
3539 2006-01-08 Timothy Hatcher <timothy@apple.com>
3541 Removes some stray tabs.
3543 * Scripts/update-webkit:
3545 2005-01-07 Eric Seidel <eseidel@apple.com>
3549 build-webkit should pass on build arguments from command line
3550 http://bugs.webkit.org/show_bug.cgi?id=5854
3552 * Scripts/build-webkit:
3554 2006-01-07 Eric Seidel <eseidel@apple.com>
3556 Reviewed by mjs & xenon.
3558 * Scripts/update-webkit: support Internal updates as well
3560 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3562 Temporarily rolling out plugin support from DumpRenderTree because it
3563 caused lots of layout test regressions.
3565 * DumpRenderTree/DumpRenderTree.m:
3566 (main): Remove invisible window added to support plugins.
3568 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3572 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
3573 Add plugin support to DumpRenderTree
3575 Also wrote first test plugin.
3577 * DumpRenderTree/DumpRenderTree.m:
3579 (1) Put the WebView in an invisible window, because PlugIns are
3580 optimized not to load if there's no parent window.
3581 (2) Tell WebKit to load any PlugIns in the directory from which we
3582 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3583 and they'll load automagically during layout testing, but they won't be
3584 added to the user's system, hosing apps like Safari.
3586 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3587 test PlugIn to project.
3589 PlugIn added to project:
3591 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3592 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3594 (initializeIdentifiers):
3595 (pluginHasProperty):
3597 (pluginGetProperty):
3598 (pluginSetProperty):
3600 (pluginInvokeDefault):
3604 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3605 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3607 (NP_GetEntryPoints):
3613 (NPP_DestroyStream):