1 2006-10-03 Anders Carlsson <acarlsson@apple.com>
3 Reviewed by Adam and Brady.
5 * DumpRenderTree/DumpRenderTree.m:
9 2006-10-03 Darin Adler <darin@apple.com>
11 * Scripts/commit-log-editor: Added missing "close" call. Oops!
13 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
15 Reviewed by eseidel. Landed by eseidel.
17 Offer a way for BuildBot to not colorize the cmake output, when building
18 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
20 Default is colorize output, though only Qt platform handles this for now.
22 * Scripts/build-dumprendertree:
23 * Scripts/build-webkit:
24 * Scripts/webkitdirs.pm:
26 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
28 Reviewed by eseidel. Landed by eseidel.
30 Make all important scripts work with Qt/Linux.
32 You can safely use this now:
33 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
35 * Scripts/build-dumprendertree:
36 * Scripts/run-javascriptcore-tests:
37 * Scripts/run-webkit-tests:
38 * Scripts/webkitdirs.pm:
40 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
44 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
46 * Scripts/webkitdirs.pm:
48 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
50 Reviewed/landed by Adam.
52 Proper build-webkit support for Qt/Linux.
54 Compilation process is similar to OSX now, aka.
55 the build directory is RootCheckoutDir/WebKitBuild now.
57 * Scripts/build-webkit: Recognize Qt.
58 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
60 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
64 Add QT build slave to Buildbot.
66 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
67 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
68 * 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.
69 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
71 2006-09-28 David Harrison <harrison@apple.com>
75 Moved an extern declaration from inside a method to the top of the file.
77 * DumpRenderTree/EventSendingController.m:
78 (-[EventSendingController clearKillRing]):
80 2006-09-28 David Harrison <harrison@apple.com>
84 Add clearKillRing so we can test emacs support with empty kill ring.
86 * DumpRenderTree/EventSendingController.m:
87 (+[EventSendingController isSelectorExcludedFromWebScript:]):
88 (+[EventSendingController webScriptNameForSelector:]):
89 (-[EventSendingController clearKillRing]):
91 2006-09-27 MorganL <morganl.webkit@yahoo.com>
93 Reviewed by Maciej, landed by Brady
97 * Spinneret/Spinneret/Spinneret.h:
98 (SpinneretWebHost::didStartProvisionalLoadForFrame):
99 (SpinneretWebHost::didCommitLoadForFrame):
100 (SpinneretWebHost::didFinishLoadForFrame):
102 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
108 * DumpRenderTree/EventSendingController.m:
109 (-[EventSendingController enableDOMUIEventLogging:]):
111 2006-09-22 Justin Garcia <justin.garcia@apple.com>
115 * Scripts/do-webcore-rename:
117 2006-09-21 Timothy Hatcher <timothy@apple.com>
121 Bug 10923: Frame scroll layout test failures on the buildbot
122 http://bugs.webkit.org/show_bug.cgi?id=10923
124 Added a new method that will toggle on the recursive dump of
125 child frame scroll positions.
127 * DumpRenderTree/DumpRenderTree.m:
128 (dumpFrameScrollPosition):
129 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
130 (-[LayoutTestController dumpChildFrameScrollPositions]):
132 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
134 Reviewed by eseidel. Landed by eseidel.
136 Detect that close button was pressed and exit cleanly.
138 * GdkLauncher/main.cpp:
142 2006-09-17 Adam Roben <aroben@apple.com>
144 Reviewed by hyatt, sfalken.
146 Get DumpRenderTree compiling and limping along on Windows.
148 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
149 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
150 (main): Add NULL argument to Page constructor.
151 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
152 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
154 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
158 http://bugs.webkit.org/show_bug.cgi?id=10635
159 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
161 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
162 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
163 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
165 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
169 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
170 Even More Objective-C DOM auto-generation cleanup
172 - Change to use new, more Objectice-C'ish version of
173 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
174 regression test for fast/events/dblclick-addEventListener.html.
176 * DumpRenderTree/EventSendingController.m:
177 (-[EventSendingController fireKeyboardEventsToElement:]):
179 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
183 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
184 Move QtLauncher down to WebKitQt.
186 * QtLauncher/CMakeLists.txt: Removed.
187 * QtLauncher/main.cpp: Removed.
189 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
193 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
194 Adjust DumpRenderTree to the FrameQtClient changes.
196 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
197 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
198 (WebCore::DumpRenderTree::DumpRenderTree):
199 (WebCore::DumpRenderTree::~DumpRenderTree):
200 (WebCore::DumpRenderTree::frame):
201 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
202 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
203 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
204 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
205 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
207 2006-09-03 Darin Adler <darin@apple.com>
209 * Scripts/do-webcore-rename: More renaming plans.
211 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
215 http://bugs.webkit.org/show_bug.cgi?id=10693
216 Convert JavaScript arrays to AppleScript lists
218 * DumpRenderTree/AppleScriptController.m:
219 (convertAEDescToObject):
220 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
222 2006-08-31 Darin Adler <darin@apple.com>
224 * Scripts/do-webcore-rename: Prepare for another round of renaming.
226 2006-08-29 Dan Waylonis <waylonis@google.com>
230 - Verification of exceptions thrown in a plugin. Test for bug 10114.
231 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
232 * DumpRenderTree/ObjCPlugin.m:
233 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
234 (+[ObjCPlugin webScriptNameForSelector:]):
235 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
237 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
241 Commit KDE related tweaks, to be able to
242 differentiate between a Qt-only or a KDE build.
244 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
245 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
247 2006-08-29 Darin Adler <darin@apple.com>
249 Reviewed by Tim Hatcher.
251 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
252 to work around what seems to be a bug in some versions of gdb.
254 2006-08-16 Tim Omernick <timo@apple.com>
256 Reviewed by John Sullivan.
258 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
259 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
262 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
264 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
265 are expected to be retained by the plug-in, and released by the caller.
267 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
269 Reviewed by Tim Hatcher.
271 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
273 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
274 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
277 * Scripts/run-webkit-tests:
278 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
280 2006-08-28 Darin Adler <darin@apple.com>
282 Reviewed by Tim Hatcher.
284 * Scripts/build-drosera: Fix behavior when there are multiple options.
286 2006-08-27 Timothy Hatcher <timothy@apple.com>
290 Drosera will be built when you type make.
292 * Drosera/Makefile: Added.
294 * Makefile.shared: Added.
296 2006-08-27 Anders Carlsson <acarlsson@apple.com>
300 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
301 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
302 (WebCore::DumpRenderTree::DumpRenderTree):
303 (WebCore::DumpRenderTree::~DumpRenderTree):
304 (WebCore::DumpRenderTree::open):
305 (WebCore::DumpRenderTree::readStdin):
306 (WebCore::DumpRenderTree::checkLoaded):
307 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
308 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
311 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
313 Reviewed by Eric, landed by Anders.
315 Add DumpRenderTree support for Qt/Linux.
317 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
318 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
319 (WebCore::DumpRenderTree::DumpRenderTree):
320 (WebCore::DumpRenderTree::~DumpRenderTree):
321 (WebCore::DumpRenderTree::open):
322 (WebCore::DumpRenderTree::readStdin):
323 (WebCore::DumpRenderTree::checkLoaded):
324 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
325 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
327 * Scripts/build-dumprendertree:
328 * Scripts/run-webkit-tests:
329 * Scripts/webkitdirs.pm:
331 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
333 Reviewed by Eric. Landed by rwlbuis.
335 Add QtLauncher (was testunity before), which provides a
336 standalone "browser" to test the Qt platform stuff.
338 * QtLauncher/CMakeLists.txt: Added.
339 * QtLauncher/main.cpp: Added.
342 2006-08-22 Trey Matteson <trey@usa.net>
346 Added support for a new set of browser navigation tests. The main feature
347 is the ability for a test to queue up a set of future actions that will
348 happen after that first page is loaded. This is used to simulate a sequence
349 of user actions such as filling out forms, loading additional pages or
350 going back. In addition we can now dump out the state of the back/forward
351 list, and the scroll position is dumped if not at 0,0.
353 * DumpRenderTree/DumpRenderTree.m:
354 (main): Init new state
355 (compareHistoryItems): New utility to support sorting.
356 (dumpHistoryItem): Write out a WebHistoryItem and kids.
357 (dumpFrameScrollPosition): Write out the scroll position.
358 (dump): Optionally write b/f list or scroll position.
359 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
360 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
361 Kick off any queued actions. Fixed for the case of loads started in
362 a subframe instead of the root frame.
363 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
364 Grab the topmost frame that is being loaded. Do this as early as possible,
365 instead of in didCommitLoadForFrame.
366 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
367 Noting a load has started now happens in previous method.
368 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
369 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
370 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
372 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
373 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
374 Add new work to the queue.
375 (-[LayoutTestController _doLoad:target:]): Do a queued load.
376 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
377 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
378 (-[LayoutTestController scheduleForwardNav:]):
379 (-[LayoutTestController scheduleReload]):
380 (-[LayoutTestController scheduleScript:]):
381 (-[LayoutTestController scheduleLoad:target:]):
382 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
383 since it's not one of the functions that does any dumping.
385 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
389 - added a function to create a few DOMKeyboardEvents and dispatch
390 them to a specified HTML element
391 http://bugs.webkit.org/show_bug.cgi?id=9736
393 * DumpRenderTree/EventSendingController.m:
394 (+[EventSendingController isSelectorExcludedFromWebScript:]):
395 (+[EventSendingController webScriptNameForSelector:]):
396 (-[EventSendingController fireKeyboardEventsToElement:]):
398 2006-08-15 Duncan Wilcox <duncan@mclink.it>
400 Reviewed and tweaked by Darin.
402 - added DumpRenderTree support so editing delegate can be made to refuse edits
403 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
405 * DumpRenderTree/DumpRenderTree.m:
406 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
407 to the list of methods.
408 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
409 without the colon, for the JavaScript name.
410 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
412 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
414 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
415 setter methods to the class.
416 * DumpRenderTree/EditingDelegate.m:
417 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
418 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
419 return the value of acceptsEditing.
420 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
421 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
422 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
423 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
424 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
426 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
427 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
428 (-[EditingDelegate setAcceptsEditing:]): Added.
430 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
434 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
435 http://bugs.webkit.org/show_bug.cgi?id=10224
437 * Drosera/Drosera.xcodeproj/project.pbxproj:
438 * Drosera/LauncherInfo.plist:
440 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
442 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
443 when a test performs an unsuccessful drag and drop operation.
445 * DumpRenderTree/EventSendingController.m:
446 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
447 drag operation for the mouse release is NSDragOperationNone.
449 2006-08-02 Timothy Hatcher <timothy@apple.com>
453 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
454 http://bugs.webkit.org/show_bug.cgi?id=9632
456 Do not change the file source when normalizing the line endings.
457 We use this file source to compare against new versions of the source
458 as it comes in, so we can skip re-syntax highlighting if they are the same.
459 The problem is apparent on yahoo.com since they have mixed line endings and
460 once we normalize them the source will always be different. This was
461 compounded by the fact that yahoo has around 40 inline scripts. Each
462 inline script causes us to check if the main document has more loaded,
463 that is when we compare the source strings. Since they are always different
464 we would syntax highlight yahoo.com 40 times! We do check source length before
465 doing a more expensive string comparison, but the lengths were the same.
467 * Drosera/debugger.js:
469 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
473 Bug 9931: [Drosera] Needs a cool icon
474 http://bugs.webkit.org/show_bug.cgi?id=9931
476 * Drosera/Drosera.icns: Added.
477 * Drosera/Drosera.xcodeproj/project.pbxproj:
478 * Drosera/Info.plist:
480 2006-08-01 Darin Adler <darin@apple.com>
482 - fix a bug in my recent change where the mouse position at the end of
483 the last test would affect the results of the next test
485 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
487 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
491 http://bugs.webkit.org/show_bug.cgi?id=10182
492 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
494 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
495 Correct the logic to not reload local variable list unless an '=' character is in the expression.
497 2006-07-31 Darin Adler <darin@apple.com>
501 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
502 REGRESSION: failing layout test: fast/events/objc-event-api.html
504 * DumpRenderTree/DumpRenderTree.m:
505 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
506 location in flipped coordinates, since those are the coordinates that we use.
507 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
510 * DumpRenderTree/EventSendingController.m:
511 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
512 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
513 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
514 probably worked OK, but this is needed to be correct.
515 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
516 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
517 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
518 dump the screenY as-is.
520 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
524 http://bugs.webkit.org/show_bug.cgi?id=10178
525 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
527 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
528 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
530 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
534 http://bugs.webkit.org/show_bug.cgi?id=10175
535 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
537 * Drosera/DebuggerDocument.m:
538 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
540 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
544 http://bugs.webkit.org/show_bug.cgi?id=10167
545 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
547 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
550 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
554 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
555 http://bugs.webkit.org/show_bug.cgi?id=9686
557 * Drosera/DebuggerDocument.m:
558 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
559 ensure that the server does not try and notify us of events related to the resumption.
560 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
561 call through to JavaScript.
562 * Drosera/debugger.js: Pause debugger when exception is raised.
564 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
568 - fixes for Linux build
570 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
571 * GdkLauncher/gdklauncher.bkl: Tweak comment.
573 2006-07-24 Dan Waylonis <waylonis@google.com>
575 Reviewed and tweaked a bit by Darin.
577 * DumpRenderTree/ObjCPlugin.m:
578 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
579 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
580 "echo:" so it's nice to call from JavaScript.
581 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
582 to test a round trip through Objective-C types.
584 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
588 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
589 Improve iExploder results parsing
591 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
594 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
598 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
599 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
601 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
603 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
607 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
608 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
610 Removed "Property changes" that snuck in as part of the "apply patch" process.
612 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
616 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
617 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
620 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
622 (patch): Use patch(1) for non-binary additions and deletions.
623 * Scripts/svn-unapply:
625 (patch): Use patch(1) for reverting non-binary additions and deletions.
626 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
628 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
632 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
633 http://bugs.webkit.org/show_bug.cgi?id=9889
635 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
636 so, have stepOut pause on the next call to willExecuteStatement rather than second.
638 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
642 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
643 Teach svn-create-patch and friends to fix ChangeLog patches
645 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
646 * Scripts/svn-create-patch: Ditto.
647 * Scripts/svn-unapply: Ditto.
649 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
653 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
654 http://bugs.webkit.org/show_bug.cgi?id=9869
656 * Drosera/DebuggerDocument.m:
657 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
659 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
663 Bug 9863: Drosera needs to show something at launch
664 http://bugs.webkit.org/show_bug.cgi?id=9863
666 * Drosera/DebuggerApplication.m:
667 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
669 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
673 Lets Drosera build universal for the nightlies. Right now it is not
674 possible to build a universal binary on a PPC machine because of a
675 conflict with the universal SDK.
677 * BuildSlaveSupport/build-launcher-app:
678 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
680 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
684 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
685 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
687 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
688 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
689 should open a new stream and deliver the data to the current instance.
691 2006-07-11 Timothy Hatcher <timothy@apple.com>
695 Bug 9598: [Drosera] add a JavaScript evaluator console
696 http://bugs.webkit.org/show_bug.cgi?id=9598
698 * Drosera/DebuggerApplication.h:
699 * Drosera/DebuggerApplication.m:
700 (-[DebuggerApplication knownServers]):
701 * Drosera/DebuggerDocument.h:
702 * Drosera/DebuggerDocument.m:
703 (-[WebScriptObject evaluateScript:inCallFrame:]):
704 (-[WebScriptObject showConsole:]):
705 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
706 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
707 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
708 (-[WebScriptObject webView:createWebViewWithRequest:]):
709 (-[WebScriptObject webViewShow:]):
710 (-[WebScriptObject webViewAreToolbarsVisible:]):
711 (-[WebScriptObject webView:setToolbarsVisible:]):
712 (-[WebScriptObject webView:setResizable:]):
713 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
714 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
715 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
716 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
717 (-[WebScriptObject webView:didFinishLoadForFrame:]):
718 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
719 * Drosera/Drosera.xcodeproj/project.pbxproj:
720 * Drosera/Images/console.png: Added.
721 * Drosera/console.css: Added.
722 * Drosera/console.html: Added.
723 * Drosera/console.js: Added.
725 2006-07-11 Timothy Hatcher <timothy@apple.com>
727 Reviewed by a tired Geoff.
729 Bug 9597: [Drosera] hook up the variables table to show stack variables
730 http://bugs.webkit.org/show_bug.cgi?id=9597
732 * Drosera/DebuggerDocument.m:
733 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
734 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
735 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
736 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
737 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
738 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
739 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
740 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
741 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
742 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
743 * Drosera/debugger.css:
744 * Drosera/debugger.html:
745 * Drosera/debugger.js:
747 2006-07-10 Tim Omernick <timo@apple.com>
749 Reviewed by Beth Dakin.
751 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
752 Add DOM access test to DumpRenderTree's Netscape plug-in
754 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
758 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
762 - http://bugs.webkit.org/show_bug.cgi?id=9839
763 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
765 Now track three states: initializing, running, and closed. If we are launched and the previous
766 state was initializing then we likely just experienced a crash on launch.
768 * WebKitLauncher/WebKitNightlyEnabler.m:
769 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
770 (myApplicationWillTerminate): Update to use new states.
771 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
772 initializing as early as practical.
773 (symbol_lookup): Bring code up to speed with formatting guidelines.
774 (GDSymbolLookup): Ditto.
776 2006-07-10 Darin Adler <darin@apple.com>
778 - try to fix Windows build
780 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
781 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
783 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
785 Build fix. Reviewed by NOBODY.
787 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
788 devenv.com not available in VC++ Express installations
790 * Scripts/webkitdirs.pm: Backed out previous change.
792 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
796 - http://bugs.webkit.org/show_bug.cgi?id=9693
797 svn-apply should set ChangeLog date correctly when applying patches
799 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
800 before applying the patch.
801 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
803 2006-07-09 Darin Adler <darin@apple.com>
805 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
807 2006-07-09 Darin Adler <darin@apple.com>
809 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
811 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
813 Reviewed by NOBODY (build fix).
815 - http://bugs.webkit.org/show_bug.cgi?id=7802
816 devenv.com not available in VC++ Express installations
818 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
819 work again. Add VC++ Express check as the fallback.
821 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
823 Reviewed by Timothy Hatcher.
825 - http://bugs.webkit.org/show_bug.cgi?id=7802
826 devenv.com not available in VC++ Express installations
828 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
830 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
834 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
835 Patch by coldwinter@katamail.com.
837 In the congratulations message, "capatibilies" should be "capabilities".
839 * Scripts/build-webkit:
841 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
843 Reviewed by Timothy Hatcher.
845 - http://bugs.webkit.org/show_bug.cgi?id=9794
846 Teach run-webkit-tests how to ignore tests with performance improvements
848 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
849 feature, and minor clean up.
851 2006-07-08 Darin Adler <darin@apple.com>
853 Reviewed by Geoff (well, half of it at least).
855 - http://bugs.webkit.org/show_bug.cgi?id=9788
856 storage leaks in Objective-C tests
858 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
859 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
860 Add a release to fix a storage leak.
862 2006-07-08 Darin Adler <darin@apple.com>
864 * Scripts/do-webcore-rename: A few more.
866 2006-07-08 Darin Adler <darin@apple.com>
868 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
870 2006-07-04 Maciej Stachowiak <mjs@apple.com>
874 http://bugs.webkit.org/show_bug.cgi?id=9734
875 - add support for dumping non-HTML as text - in this case use textContent
878 * DumpRenderTree/DumpRenderTree.m:
881 2006-07-02 Timothy Hatcher <timothy@apple.com>
885 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
886 http://bugs.webkit.org/show_bug.cgi?id=9631
888 Adds step over and step out. Along with a little code cleanup
889 that was minor enough to piggyback on this fix.
891 * Drosera/DebuggerDocument.h:
892 * Drosera/DebuggerDocument.m:
893 (-[DebuggerDocument stepOver:]):
894 (-[DebuggerDocument stepOut:]):
895 (-[DebuggerDocument windowDidLoad]):
896 (-[DebuggerDocument windowWillClose:]):
897 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
898 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
899 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
900 (-[DebuggerDocument validateUserInterfaceItem:]):
901 * Drosera/Drosera.xcodeproj/project.pbxproj:
902 * Drosera/debugger.html:
903 * Drosera/debugger.js:
904 * Drosera/viewer.css:
906 2006-07-02 Timothy Hatcher <timothy@apple.com>
910 Bug 9628: [Drosera] Split Views acting oddly
911 http://bugs.webkit.org/show_bug.cgi?id=9628
913 Only update the last X or Y coordinate if the new
914 size was not constrained. Also adds the resize cursor to
915 the body during the drag incase there is a constrained
916 over drag off of the resizer element.
918 * Drosera/debugger.js:
920 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
922 Reviewed by Alexy Proskuryakov.
924 Bug 9692: Warning about Safari extensions on every launch is obnoxious
925 http://bugs.webkit.org/show_bug.cgi?id=9692
927 * WebKitLauncher/WebKitNightlyEnabler.m:
928 (myApplicationWillTerminate): Note that we are exiting cleanly.
929 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
930 to exit cleanly on our last invocation. This doesn't play nicely with
931 multiple concurrent instances of WebKit.app so it can be disabled via
932 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
934 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
936 Reviewed by Alexy Proskuryakov.
938 Bug 9654: Refresh Loop when accessing feed URLs
939 http://bugs.webkit.org/show_bug.cgi?id=9654
941 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
943 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
945 Reviewed by Timothy Hatcher.
947 Bug 9689: Nightly builds should warn a user about potential problems when using
949 http://bugs.webkit.org/show_bug.cgi?id=9689
951 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
952 * WebKitLauncher/WebKitNightlyEnabler.m:
953 (myBundleDidLoad): Keep track of if any bundles that are loaded.
954 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
955 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
956 NSApplicationWillFinishLaunchingNotification notifications so that we can
957 track bundle loads and notify the user at launch completion.
959 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
963 - first check-in of a Gdk shell for testing WebKit
965 * GdkLauncher: Added.
967 2006-06-29 Timothy Hatcher <timothy@apple.com>
971 Need to call window close so WebView tears-down completly.
973 * DumpRenderTree/DumpRenderTree.m:
974 (main): call [window close]
976 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
980 Bug 9615: Buildbot configuration should be in SVN repository
981 http://bugs.webkit.org/show_bug.cgi?id=9615
983 Import BuildBot configuration files as used by build.webkit.org.
984 auth.py has been stubbed out so that slave passwords are not disclosed.
986 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
987 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
988 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
989 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
990 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
991 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
992 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
993 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
994 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
995 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
996 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
997 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
999 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
1003 Bug 9614: Nightly builds should notify user if a newer build is available
1004 http://bugs.webkit.org/show_bug.cgi?id=9614
1006 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
1007 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
1008 script so it can keep track of the latest revision.
1009 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
1010 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
1011 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1012 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
1013 the nightly start page.
1015 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
1019 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
1020 http://bugs.webkit.org/show_bug.cgi?id=9579
1022 Report screenY values as (height of zero screen - screenY)
1024 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
1026 2006-06-25 Timothy Hatcher <timothy@apple.com>
1030 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
1031 http://bugs.webkit.org/show_bug.cgi?id=9591
1033 Makes breakpoints dragable. If dragged off the gutter they are deleted.
1035 * Drosera/debugger.js:
1036 * Drosera/viewer.css:
1038 2006-06-25 Timothy Hatcher <timothy@apple.com>
1042 Bug 9568: assertion failure in Safari after quitting Drosera
1043 http://bugs.webkit.org/show_bug.cgi?id=9568
1045 Call switchToServerNamed:nil and not removeLister to make sure
1046 the server object is set to nil to prevent further removeListener calls.
1048 * Drosera/DebuggerDocument.m:
1049 (-[DebuggerDocument applicationTerminating:]):
1051 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1055 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
1056 that the directory is not empty instead of reading in every single file and directory first,
1057 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
1060 2006-06-25 Darin Adler <darin@apple.com>
1062 * Scripts/svn-apply: Tweak comments.
1063 * Scripts/svn-create-patch: Ditto.
1064 * Scripts/svn-unapply: Ditto.
1066 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1068 Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
1070 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
1072 * Scripts/svn-apply: Formatting fix.
1074 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
1078 http://bugs.webkit.org/show_bug.cgi?id=9571
1079 Teach svn-apply and svn-unapply to handle directory adds and removes better
1081 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
1082 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
1084 2006-06-25 Timothy Hatcher <timothy@apple.com>
1088 Bug 9574: Drosera should show inline scripts within the original HTML
1089 http://bugs.webkit.org/show_bug.cgi?id=9574
1091 Refactor the JavaScript code to have a distinction between files
1092 and scripts. Show the script in the context of the HTML file if
1093 it's URL is the same as the frame's main resource. At the time of
1094 the disParseScript callback the main resource might not be completely
1095 loaded, but Drosera needs to show whatever we have at the time. Once
1096 the main resource is finished, update the file source and reload the file.
1098 * Drosera/DebuggerDocument.m:
1099 (-[DebuggerDocument pause]):
1100 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
1101 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1102 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1103 * Drosera/debugger.css:
1104 * Drosera/debugger.js:
1106 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1110 http://bugs.webkit.org/show_bug.cgi?id=9570
1111 Teach prepare-ChangeLog to operate on a list of files or directories
1113 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
1114 * Scripts/svn-create-patch: Code refactoring.
1116 2006-06-24 James G. Speth <speth@end.com>
1120 - http://bugs.webkit.org/show_bug.cgi?id=8843
1121 add a way to build Objective-C test cases in HTML
1123 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
1124 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
1125 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
1128 * DumpRenderTree/ObjCPlugin.h:
1129 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
1130 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
1131 (+[ObjCPlugin webScriptNameForSelector:]):
1132 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
1133 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
1134 (+[NSObject allowsScriptsFullAccess]):
1135 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
1136 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
1137 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
1138 (+[JSObjC webScriptNameForSelector:]):
1139 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
1140 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
1141 (-[JSObjC log:]): access to NSLog function
1142 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
1143 (-[JSObjC classOfObject:]):
1144 (-[JSObjC classNameOfObject:]):
1146 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1148 Reviewed by Timothy.
1150 * DrawTest/Info.plist: Added copyright statement.
1151 * Drosera/Info.plist: Ditto.
1152 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
1153 * WebKitLauncher/Info.plist: Ditto.
1155 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
1157 Build fix. Reviewed by NOBODY.
1159 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
1160 devenv.com not available in VC++ Express installations
1162 * Scripts/webkitdirs.pm: Backed out previous change.
1164 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
1168 - http://bugs.webkit.org/show_bug.cgi?id=7802
1169 devenv.com not available in VC++ Express installations
1171 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1173 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
1177 - http://bugs.webkit.org/show_bug.cgi?id=9564
1178 A bunch of fixes to run-webkit-httpd
1180 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
1181 127.0.0.1. Useful for testing with WinIE running on another machine;
1182 - don't call checkFrameworks() - we do not need a built WebKit here;
1183 - changed tabs to spaces;
1184 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
1185 interactive mode, they were a hassle when testing with several browsers, as one
1186 had to wait for connection to expire);
1187 - remove httpd.pid when done, so that Apache doesn't complain next time.
1189 * Scripts/run-webkit-httpd:
1191 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
1193 Reviewed by ggaren, landed by ap.
1195 - http://bugs.webkit.org/show_bug.cgi?id=9181
1196 Complete DOMUIEvent Obj-C API to reflect UIEvent
1198 Add function to enable logging of all events of one DOM node to stdout.
1200 * DumpRenderTree/EventSendingController.h:
1201 * DumpRenderTree/EventSendingController.m:
1202 (+[EventSendingController initialize]):
1203 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1204 (+[EventSendingController webScriptNameForSelector:]):
1205 (-[EventSendingController enableDOMUIEventLogging:]):
1206 (-[EventSendingController handleEvent:]):
1208 2006-06-23 Kevin Decker <kdecker@apple.com>
1210 Reviewed by Tim Hatcher.
1212 - Made column headers in Drosera resizable.
1214 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1218 - see http://bugs.webkit.org/show_bug.cgi?id=9539
1219 Another case error preventing build
1221 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1223 2006-06-22 Timothy Hatcher <timothy@apple.com>
1227 Adds a native toolbar to Drosera to be a good citizen.
1228 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1229 Fixes a dragging bug from an earlier fix to the divider code.
1230 Fixes some poor indenting in debugger.js.
1232 * Drosera/DebuggerDocument.h:
1233 * Drosera/DebuggerDocument.m:
1234 (-[DebuggerDocument stepInto]):
1235 (-[DebuggerDocument pause:]):
1236 (-[DebuggerDocument resume:]):
1237 (-[DebuggerDocument stepInto:]):
1238 (-[DebuggerDocument windowDidLoad]):
1239 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1240 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1241 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1242 (-[DebuggerDocument validateUserInterfaceItem:]):
1243 * Drosera/English.lproj/MainMenu.nib/classes.nib:
1244 * Drosera/English.lproj/MainMenu.nib/info.nib:
1245 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1246 * Drosera/debugger.css:
1247 * Drosera/debugger.html:
1248 * Drosera/debugger.js:
1249 * Drosera/viewer.html:
1251 2006-06-22 Kevin Decker <kdecker@apple.com>
1255 - Added pressed column header image.
1256 - Made column headers behave more like Xcode.
1258 2006-06-22 Timothy Hatcher <timothy@apple.com>
1260 Reviewed by Kevin Decker.
1262 Code clean up. Adds the stackframe and makes only the body
1263 of the tables scrollable keeping the header visible.
1264 Shows the current function stack when paused or stepping.
1266 * Drosera/DebuggerApplication.m:
1267 (-[DebuggerApplication awakeFromNib]):
1268 (-[DebuggerApplication numberOfRowsInTableView:]):
1269 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1270 * Drosera/DebuggerDocument.h:
1271 * Drosera/DebuggerDocument.m:
1272 (-[DebuggerDocument dealloc]):
1273 (-[DebuggerDocument currentFrame]):
1274 (-[DebuggerDocument currentFrameFunctionName]):
1275 (-[DebuggerDocument currentFunctionStack]):
1276 (-[DebuggerDocument log:]):
1277 (-[DebuggerDocument windowWillClose:]):
1278 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1279 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1280 * Drosera/Drosera.xcodeproj/project.pbxproj:
1281 * Drosera/debugger.css:
1282 * Drosera/debugger.html:
1283 * Drosera/debugger.js:
1285 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
1289 Teach run-webkit-httpd to properly look for webkitdirs.pm.
1291 * Scripts/run-webkit-httpd:
1293 2006-06-22 Kevin Decker <kdecker@apple.com>
1295 Reviewed by Tim Hatcher.
1297 - More progress toward Javascript Debugger.
1298 - Added some new images to the project.
1300 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
1304 - http://bugs.webkit.org/show_bug.cgi?id=9516
1305 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1307 * Scripts/run-webkit-httpd: Added.
1309 2006-06-20 Timothy Hatcher <timothy@apple.com>
1313 Builds Drosera and a launcher to include with the nightly.
1315 * BuildSlaveSupport/build-launcher-app:
1316 * BuildSlaveSupport/build-launcher-dmg:
1317 * Drosera/Drosera.xcodeproj/project.pbxproj:
1318 * Drosera/Info.plist:
1319 * Drosera/LauncherInfo.plist: Added.
1320 * Drosera/launcher.m: Added.
1321 (displayErrorAndQuit):
1322 (checkMacOSXVersion):
1325 * Scripts/build-drosera
1326 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1327 * WebKitLauncher/main.m:
1330 2006-06-20 Timothy Hatcher <timothy@apple.com>
1334 Adds a JavaScript debugger, called Drosera. Named after
1335 a genus of bug eating plants.
1337 * Drosera/DebuggerApplication.h: Added.
1338 * Drosera/DebuggerApplication.m: Added.
1339 (-[DebuggerApplication applicationDidFinishLaunching:]):
1340 (-[DebuggerApplication serverLoaded:]):
1341 (-[DebuggerApplication serverUnloaded:]):
1342 (-[DebuggerApplication awakeFromNib]):
1343 (-[DebuggerApplication showAttachPanel:]):
1344 (-[DebuggerApplication attach:]):
1345 (-[DebuggerApplication numberOfRowsInTableView:]):
1346 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1347 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1348 (-[DebuggerApplication tableViewSelectionDidChange:]):
1349 * Drosera/DebuggerDocument.h: Added.
1350 * Drosera/DebuggerDocument.m: Added.
1351 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1352 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1353 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1354 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1355 (-[DebuggerDocument initWithServerName:]):
1356 (-[DebuggerDocument windowWillClose:]):
1357 (-[DebuggerDocument dealloc]):
1358 (-[DebuggerDocument isPaused]):
1359 (-[DebuggerDocument pause]):
1360 (-[DebuggerDocument resume]):
1361 (-[DebuggerDocument step]):
1362 (-[DebuggerDocument windowNibName]):
1363 (-[DebuggerDocument windowDidLoad]):
1364 (-[DebuggerDocument switchToServerNamed:]):
1365 (-[DebuggerDocument applicationTerminating:]):
1366 (-[DebuggerDocument serverConnectionDidDie:]):
1367 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1368 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1369 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1370 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1371 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1372 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1373 * Drosera/Drosera.pch: Added.
1374 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1375 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1376 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1377 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1378 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1379 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1380 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1381 * Drosera/Images/breakPoint.tif: Added.
1382 * Drosera/Images/breakPointDisabled.tif: Added.
1383 * Drosera/Images/continue.tif: Added.
1384 * Drosera/Images/finishFunction.tif: Added.
1385 * Drosera/Images/glossyFooterFill.tif: Added.
1386 * Drosera/Images/glossyHeader.png: Added.
1387 * Drosera/Images/gradientBackground.png: Added.
1388 * Drosera/Images/gutter.png: Added.
1389 * Drosera/Images/navLeftDisabled.png: Added.
1390 * Drosera/Images/navLeftNormal.png: Added.
1391 * Drosera/Images/navLeftPressed.png: Added.
1392 * Drosera/Images/navRightDisabled.png: Added.
1393 * Drosera/Images/navRightNormal.png: Added.
1394 * Drosera/Images/navRightPressed.png: Added.
1395 * Drosera/Images/pause.tif: Added.
1396 * Drosera/Images/popUpArrows.png: Added.
1397 * Drosera/Images/programCounter.tif: Added.
1398 * Drosera/Images/programCounterBreakPoint.tif: Added.
1399 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1400 * Drosera/Images/run.tif: Added.
1401 * Drosera/Images/splitterBar.tif: Added.
1402 * Drosera/Images/splitterDimple.tif: Added.
1403 * Drosera/Images/step.tif: Added.
1404 * Drosera/Images/stepOver.tif: Added.
1405 * Drosera/Images/stop.tif: Added.
1406 * Drosera/Images/toolbarBackground.png: Added.
1407 * Drosera/Info.plist: Added.
1408 * Drosera/debugger.css: Added.
1409 * Drosera/debugger.html: Added.
1410 * Drosera/debugger.js: Added.
1411 * Drosera/main.m: Added.
1413 * Drosera/viewer.css: Added.
1414 * Drosera/viewer.html: Added.
1416 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1420 http://bugs.webkit.org/show_bug.cgi?id=9485
1421 Teach svn-apply and svn-unapply to use full path names
1423 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
1424 * Scripts/svn-unapply: Ditto.
1426 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
1430 - http://bugs.webkit.org/show_bug.cgi?id=9150
1431 DumpRenderTree should be able to keep URL history during runs
1433 Test: LayoutTests/fast/history/clicked-link-is-visited.html
1435 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1436 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1437 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
1438 it is currently nil since keepWebHistory() might be called more than once incidentally
1440 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1441 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1443 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
1447 http://bugs.webkit.org/show_bug.cgi?id=9395
1448 Make prepare-ChangeLog faster
1450 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1451 then save the diff output for reuse. Keep a status variable if changes are made to
1452 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1453 WebCore is updated. Added -h|--help command-line switch and help message. Move test
1454 for no changed files closer to the beginning of the program.
1456 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
1458 Reviewed and landed by ap.
1460 - make DumpRenderTree build
1462 * DumpRenderTree/DumpRenderTree.m:
1463 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1464 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1465 (-[LayoutTestController setWindowIsKey:]): Ditto.
1466 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1468 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
1470 Reviewed by Darin, landed by Geoff.
1472 http://bugs.webkit.org/show_bug.cgi?id=9350
1473 Use pathcmp() when sorting paths in svn-create-patch
1475 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1476 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1477 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
1478 switch and printUsage() subroutine.
1480 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
1484 http://bugs.webkit.org/show_bug.cgi?id=9322
1485 Teach svn-create-patch to sort its output
1487 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
1488 by text files first, then by binary files.
1490 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
1494 http://bugs.webkit.org/show_bug.cgi?id=9299
1495 Teach svn-create-patch and friends to work with binary files
1497 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1498 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1499 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1501 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1505 http://bugs.webkit.org/show_bug.cgi?id=9296
1506 Performance improvement for svn-create-patch
1508 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1510 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
1514 http://bugs.webkit.org/show_bug.cgi?id=9290
1515 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1517 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1518 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
1520 2006-06-03 Steve Falkenburg <sfalken@apple.com>
1524 Switch Spinneret to new hosting mechanism
1526 * Spinneret/Spinneret.sln:
1527 * Spinneret/Spinneret/Spinneret.cpp:
1528 (SpinneretWebHost::updateAddressBar):
1529 (SpinneretWebHost::QueryInterface):
1530 (SpinneretWebHost::AddRef):
1531 (SpinneretWebHost::Release):
1538 * Spinneret/Spinneret/Spinneret.h:
1539 (SpinneretWebHost::didStartProvisionalLoadForFrame):
1540 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1541 (SpinneretWebHost::didFailProvisionalLoadWithError):
1542 (SpinneretWebHost::didCommitLoadForFrame):
1543 (SpinneretWebHost::didReceiveTitle):
1544 (SpinneretWebHost::didReceiveIcon):
1545 (SpinneretWebHost::didFinishLoadForFrame):
1546 (SpinneretWebHost::didFailLoadWithError):
1547 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1548 (SpinneretWebHost::willPerformClientRedirectToURL):
1549 (SpinneretWebHost::didCancelClientRedirectForFrame):
1550 (SpinneretWebHost::willCloseFrame):
1551 (SpinneretWebHost::windowScriptObjectAvailable):
1552 * Spinneret/Spinneret/Spinneret.vcproj:
1554 2006-06-02 Steve Falkenburg <sfalken@apple.com>
1558 Updated build script
1560 * Scripts/build-webkit:
1562 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1566 * DumpRenderTree/DumpRenderTree.m:
1567 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1568 (-[LayoutTestController clearBackForwardList]):
1569 Add clearBackForwardList function to layoutTestController
1571 2006-06-01 Anders Carlsson <acarlsson@apple.com>
1575 http://bugs.webkit.org/show_bug.cgi?id=8996
1576 slow-utf8-text layout test case failing (no longer deterministic?)
1578 * DumpRenderTree/DumpRenderTree.m:
1580 Dump as text when the response MIME type is text/plain
1582 2006-05-26 Steve Falkenburg <sfalken@apple.com>
1586 * Spinneret/Spinneret.sln:
1587 * Spinneret/Spinneret/Spinneret.vcproj:
1589 2006-05-24 Geoffrey Garen <ggaren@apple.com>
1593 Added 'GCController' to DRT to support garbage collection layout tests.
1595 GCController.collect() and GCController.collectOnAlternateThread() do
1596 what you would expect. The latter takes a boolean argument sepcifying
1597 whether to wait for garbage collection to finish before continuing to
1600 * DumpRenderTree/DumpRenderTree.m:
1601 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1602 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1603 * DumpRenderTree/GCController.h: Added.
1604 * DumpRenderTree/GCController.mm: Added.
1605 (+[GCController isSelectorExcludedFromWebScript:]):
1606 (+[GCController webScriptNameForSelector:]):
1607 (-[GCController collect]):
1608 (-[GCController collectOnAlternateThread:]):
1610 2006-05-23 John Sullivan <sullivan@apple.com>
1614 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1615 Newer Xcode removed some obsolete cruft
1617 * DumpRenderTree/TextInputController.m:
1618 (-[TextInputController textInput]):
1619 added (id) cast to make newer compiler happy
1621 2006-05-22 Steve Falkenburg <sfalken@apple.com>
1627 * Spinneret/Spinneret.sln:
1629 2006-05-18 Darin Adler <darin@apple.com>
1631 - try to fix no-SVG, no-XPATH build, again
1633 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1635 2006-05-18 Darin Adler <darin@apple.com>
1637 - try to fix no-SVG, no-XPATH build
1639 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1640 since the former is what's used in the WebCore project now.
1642 2006-05-17 Darin Adler <darin@apple.com>
1644 * Scripts/do-webcore-rename: Some more future renames.
1646 2006-05-16 Adele Peterson <adele@apple.com>
1650 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
1651 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1653 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
1655 * Scripts/install-unix-extras: Changed to be executable and removed
1656 text in the file generated by "svn diff".
1657 * Scripts/regenerate-makefiles: Ditto.
1659 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
1661 Reviewed by Darin, landed by ap.
1663 - http://bugs.webkit.org/show_bug.cgi?id=8528
1664 Bakefiles (and generated Makefiles) for wx and gdk ports
1666 * Scripts/install-unix-extras: Added.
1667 * Scripts/regenerate-makefiles: Added.
1669 2006-05-10 Steve Falkenburg <sfalken@apple.com>
1673 Fix registry usage from perl script. Turns out libwin32's
1674 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1676 * Scripts/install-win-extras:
1678 2006-05-09 Steve Falkenburg <sfalken@apple.com>
1681 Add load ended callback.
1685 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1686 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1687 * Spinneret/Spinneret/Spinneret.cpp:
1688 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1689 (_tWinMain): Load built-in test content here instead of in lower-level code.
1690 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1692 2006-05-08 Maciej Stachowiak <mjs@apple.com>
1696 * Scripts/extract-localizable-strings: Update for correct names of log macros.
1698 2006-05-09 Anders Carlsson <acarlsson@apple.com>
1702 * Scripts/check-dom-results:
1703 Add XPath to the list of results.
1705 2006-05-08 Darin Adler <darin@apple.com>
1707 * Scripts/do-webcore-rename: Add another rename.
1709 2006-05-01 Steve Falkenburg <sfalken@apple.com>
1713 Spinneret now links against the new separate lib.
1715 * Spinneret/Spinneret.sln:
1716 * Spinneret/Spinneret/Spinneret.cpp:
1717 (SpinneretWebHost::updateLocationBar):
1719 * Spinneret/Spinneret/Spinneret.h:
1720 * Spinneret/Spinneret/Spinneret.vcproj:
1721 * Spinneret/Spinneret/WebFrame.cpp: Removed.
1722 * Spinneret/Spinneret/WebFrame.h: Removed.
1723 * Spinneret/Spinneret/WebView.cpp: Removed.
1724 * Spinneret/Spinneret/WebView.h: Removed.
1726 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1730 Modify error reporting registry keys to disable Dr. Watson.
1731 This allows Javascript test cases to complete without blocking UI.
1733 * Scripts/install-win-extras:
1734 - Use Perl Win32 registry functions to disable blocking UI
1737 2006-04-28 Steve Falkenburg <sfalken@apple.com>
1741 Turned off C++ exceptions, fixed memory leaks
1743 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1744 * Spinneret/Spinneret.sln:
1745 * Spinneret/Spinneret/Spinneret.cpp:
1747 * Spinneret/Spinneret/Spinneret.vcproj:
1748 * Spinneret/Spinneret/WebFrame.cpp:
1749 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1750 (WebKit::WebFrame::WebFrame):
1751 (WebKit::WebFrame::~WebFrame):
1752 (WebKit::WebFrame::impl):
1753 * Spinneret/Spinneret/WebFrame.h:
1754 * Spinneret/Spinneret/WebView.cpp:
1755 * Spinneret/Spinneret/stdafx.h:
1757 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
1761 - http://bugs.webkit.org/show_bug.cgi?id=8633
1762 DumpRenderTree should reset the URL cache
1764 * DumpRenderTree/DumpRenderTree.m:
1765 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1767 2006-04-28 Eric Seidel <eseidel@apple.com>
1769 Reviewed by andersca.
1771 * Scripts/do-webcore-rename: rename KCanvasContainer too
1772 * Scripts/run-webkit-tests: output total time
1774 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
1776 Reviewed by hyatt. Landed by eseidel.
1778 - http://bugs.webkit.org/show_bug.cgi?id=8549
1779 Enable detection of excessive repainting with DumpRenderTree
1781 * DumpRenderTree/DumpRenderTree.m:
1782 (-[LayoutTestController display]):
1784 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
1788 - http://bugs.webkit.org/show_bug.cgi?id=6905
1789 DumpRenderTree needs a way to force painting (to allow invalidation tests)
1791 * DumpRenderTree/DumpRenderTree.m:
1792 (dump): If display() has been called during the test, grab the pixels from
1793 the view, after letting it repaint invalidated rects.
1794 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1795 (-[LayoutTestController display]): Added. Calls -display on the view
1796 and changes the subsequent behavior of dump().
1799 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1803 - http://bugs.webkit.org/show_bug.cgi?id=8532
1804 Update iExploder to 1.3.2
1806 Test case numbers are not compatible with iExploder 1.2.
1808 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1810 * iExploder/CHANGELOG.txt: Added.
1811 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1812 * iExploder/README.txt: Added some performance hints.
1814 * iExploder/htdocs/config.rb: Added.
1815 * iExploder/htdocs/cssproperties.in:
1816 * iExploder/htdocs/cssvalues.in:
1817 * iExploder/htdocs/htmlattrs.in:
1818 * iExploder/htdocs/htmltags.in:
1819 * iExploder/htdocs/iexploder.cgi:
1820 - Updated to support the latest HTML & CSS tags, properties, and values from both
1821 the WebKit and Mozilla CVS tree
1822 - cssproperties.in cleanup
1823 - Modularized the code a little bit.
1824 - Fix subtest bug that was causing last 5 tags to be missed
1825 - new subtest algorithm to deal better with larger tag counts
1826 - default HTML_MAX_TAGS increased from 32 to 96
1828 * iExploder/htdocs/index.html: Updated version to 1.3.2.
1829 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1830 alternative to our run-iexploder-tests.
1831 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1832 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1833 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1835 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
1837 - commit Scripts/run-mangleme-tests (missed it the previous time).
1839 2006-04-18 Darin Adler <darin@apple.com>
1841 - attempt to fix Windows buildbot
1843 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1844 We need a better long-term solution for this.
1846 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1850 - http://bugs.webkit.org/show_bug.cgi?id=8444
1851 Integrate mangleme test script.
1853 Works in a similar way to run-iexploder-tests.
1855 * Scripts/run-mangleme-tests: Added.
1857 * mangleme/Makefile: Added.
1858 * mangleme/README: Added.
1859 * mangleme/mangle.cgi.c: Added.
1860 * mangleme/remangle.cgi.c: Added.
1861 * mangleme/tags.h: Added.
1863 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1867 - http://bugs.webkit.org/show_bug.cgi?id=8443
1868 An easier way to save iExploder tests.
1870 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1872 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
1876 - http://bugs.webkit.org/show_bug.cgi?id=8421
1877 Integrate iExploder test script.
1879 This script generates artificially mangled HTML documents, to test that the browser
1880 doesn't crash when handling ill-formed code.
1883 run-iexploder-tests Open an interactive test page in Safari+ToT.
1884 run-iexploder-tests nnnnn Open test #nnnnn.
1886 Command line options:
1887 --guard-malloc (-g) Use Guard Malloc.
1888 --port=nnnn Run Apache on port nnnn (default is 8000).
1890 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1891 (thus, Apache is still running), e.g.:
1892 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1894 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1896 * Scripts/run-iexploder-tests: Added.
1898 * iExploder/LICENSE.txt: Added.
1899 * iExploder/README.txt: Added.
1900 * iExploder/htdocs: Added.
1901 * iExploder/htdocs/cssproperties.in: Added.
1902 * iExploder/htdocs/cssvalues.in: Added.
1903 * iExploder/htdocs/htmlattrs.in: Added.
1904 * iExploder/htdocs/htmltags.in: Added.
1905 * iExploder/htdocs/htmlvalues.in: Added.
1906 * iExploder/htdocs/iexploder.cgi: Added.
1907 * iExploder/htdocs/index.html: Added.
1908 * iExploder/tools: Added.
1909 * iExploder/tools/lasthit.rb: Added.
1910 * iExploder/tools/osx_last_crash.rb: Added.
1912 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
1916 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
1917 Restore color profile after a crash
1919 * DumpRenderTree/DumpRenderTree.m:
1920 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1921 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1922 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1923 and this code may change significantly.
1925 (main): Install crashHandler.
1927 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1928 (CFStringGetCStringPtr should NEVER EVER be used!).
1930 2006-04-15 Darin Adler <darin@apple.com>
1934 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1935 Seems xmlsoft.org's HTTP no longer has what we need.
1937 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1939 Rubber-stamped by Darin.
1941 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
1942 upload-disk-image stage on buildslaves fail with "No space left on device"
1944 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
1945 'hdiutil create'. This creates the initial disk image based on the size of
1946 the source folder, and copies the contents to the new disk image. The file
1947 extension on the temporary uncompressed disk image has also been altered from
1948 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1949 the extension is not ".dmg".
1951 2006-04-12 Eric Seidel <eseidel@apple.com>
1955 * Scripts/update-webkit: Make this return non-zero when svn fails.
1957 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
1961 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
1962 Make HTTP tests using Perl use .pl extension
1964 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1965 removed support for .text. Reduced the number of places that explicitly list supported
1966 extensions. Some of the changes come from bug 8121, the patch for which got landed only
1969 2006-04-06 Darin Adler <darin@apple.com>
1971 Changes requested by Mark Rowe.
1973 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1974 trash at the end of the file.
1975 * BuildSlaveSupport/build-launcher-dmg: Ditto.
1977 * WebKitLauncher/main.m: Removed trash at end of file.
1979 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1982 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
1984 Reviewed by Darin, landed by Maciej.
1986 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
1987 and bundles the WebKit frameworks inside it.
1988 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
1989 containing WebKit.app.
1990 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
1991 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
1992 number of the SVN working copy.
1993 * WebKitLauncher: Added.
1994 * WebKitLauncher/Info.plist: Added.
1995 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1996 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1997 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
1998 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1999 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
2000 the nightly launcher.
2001 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
2002 It sets up the environment to have Safari use the bundled frameworks
2003 and load the WebKitNightlyEnabler dylib before exec'ing Safari
2004 * WebKitLauncher/start.html: Added.
2005 * WebKitLauncher/webkit.icns: Added.
2007 2006-04-05 Darin Adler <darin@apple.com>
2011 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
2012 are allowed to have global initializers.
2014 2006-04-05 Geoffrey Garen <ggaren@apple.com>
2016 Reviewed by OMG BETH
2018 * Scripts/run-testkjs:
2019 - pipe STDERR to /dev/null by default; new --verbose option overrides
2021 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
2022 - output run command in a format that can be copied and pasted into the
2023 terminal to run manually
2025 2006-04-03 Justin Garcia <justin.garcia@apple.com>
2027 Reviewed by harrison
2029 <http://bugs.webkit.org/show_bug.cgi?id=7567>
2030 A drag and drop in DumpRenderTree copies the source, instead of cutting it
2032 Tell the source that the drag is over after the drag is performed, not before.
2034 * DumpRenderTree/EventSendingController.m:
2035 (-[EventSendingController mouseUp]):
2037 2006-04-01 Darin Adler <darin@apple.com>
2041 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
2042 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
2043 elements in that array are not strings.
2045 2006-03-31 Darin Adler <darin@apple.com>
2047 Reviewed by John Sullivan.
2049 - added a "--reset-results" option to run-webkit-tests so you can reset
2050 the results without first deleting expected results
2051 - <rdar://problem/4185878> add scroll position to dumpRenderTree
2053 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
2054 more logical. Moved all the subroutines to the end of the file. Added a
2057 * DumpRenderTree/DumpRenderTree.m:
2058 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
2059 to generate new output for all tests it runs.
2060 (dump): Dump the scroll position if it's non-zero. Always dump the image when
2061 the --dump-all-pixels option is passed. Also tightened up the image dumping
2062 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
2063 with code to save and restore the context.
2065 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
2066 * DumpRenderTree/EventSendingController.m: Added now-needed include.
2068 2006-03-30 Tim Omernick <timo@apple.com>
2070 Reviewed by NOBODY (just fixing copyrights)
2072 * DumpRenderTree/ObjCPlugin.h:
2074 * DumpRenderTree/ObjCPlugin.m: ditto
2075 * DumpRenderTree/ObjCPluginFunction.h: ditto
2076 * DumpRenderTree/ObjCPluginFunction.m: ditto
2078 2006-03-30 Tim Omernick <timo@apple.com>
2082 * DumpRenderTree/DumpRenderTree.m:
2083 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2084 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
2085 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
2086 exposed to JS as a callable object.
2088 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2089 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
2091 * DumpRenderTree/ObjCPlugin.h: Added.
2092 * DumpRenderTree/ObjCPlugin.m: Added.
2093 * DumpRenderTree/ObjCPluginFunction.h: Added.
2094 * DumpRenderTree/ObjCPluginFunction.m: Added.
2096 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2097 Added a new method, "removeDefaultMethod", which removes the default method from the
2098 plugin object's class. The effect is that the plugin object is mutated from a callable
2099 function to a simple object.
2101 Handle "removeDefaultMethod".
2102 (pluginInvokeDefault):
2103 Made the default method actually do something (return 1).
2105 2006-03-30 Eric Seidel <eseidel@apple.com>
2109 Remove WebFrame::viewImpl(), setMainFrame on page.
2111 * Spinneret/Spinneret/WebFrame.cpp:
2112 (WebKit::WebFrame::WebFrame):
2113 * Spinneret/Spinneret/WebFrame.h:
2114 * Spinneret/Spinneret/WebView.cpp:
2115 (WebKit::WebView::mouseMoved):
2116 (WebKit::WebView::mouseDown):
2117 (WebKit::WebView::mouseUp):
2118 (WebKit::WebView::mouseDoubleClick):
2119 (WebKit::WebViewWndProc):
2121 2006-03-30 Eric Seidel <eseidel@apple.com>
2125 Fix html editing input & basic form submission.
2127 * Spinneret/Spinneret/WebFrame.cpp:
2128 (WebKit::WebFrame::submitForm):
2129 (WebKit::WebFrame::loadURL):
2130 * Spinneret/Spinneret/WebFrame.h:
2131 * Spinneret/Spinneret/WebView.cpp:
2132 (WebKit::WebView::keyPress):
2133 (WebKit::WebViewWndProc):
2135 2006-03-28 Justin Garcia <justin.garcia@apple.com>
2139 <rdar://problem/4402375>
2140 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
2142 Added an option to draw the selectionRect.
2144 * DumpRenderTree/DumpRenderTree.m:
2146 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2147 (-[LayoutTestController dumpSelectionRect]):
2150 2006-03-29 Darin Adler <darin@apple.com>
2152 Reviewed by Tim Hatcher.
2154 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
2156 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2158 2006-03-28 Eric Seidel <eseidel@apple.com>
2162 * Scripts/check-for-global-initializers: remove svg exceptions.
2164 2006-03-28 Timothy Hatcher <timothy@apple.com>
2168 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
2170 * Scripts/check-for-global-initializers:
2172 2006-03-28 Timothy Hatcher <timothy@apple.com>
2174 Build fix. Turn off uninitialized warnings for the first block of code.
2176 * Scripts/check-for-global-initializers:
2178 2006-03-28 Darin Adler <darin@apple.com>
2182 * Scripts/check-for-global-initializers: Added.
2184 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2186 Reviewed by darin. Landed by eseidel.
2188 - http://bugs.webkit.org/show_bug.cgi?id=7947
2189 Add repaint testing support to run-webkit-tests
2191 * DumpRenderTree/DumpRenderTree.m:
2192 (main): Added --repaint and --horizontal-sweep options.
2193 (dump): Repaint line-by-line or column-by-column when the appropriate option
2195 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2196 and repaintSweepHorizontally() methods to layoutTestController.
2197 (-[LayoutTestController testRepaint]):
2198 (-[LayoutTestController repaintSweepHorizontally]):
2200 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2201 to force these settings on tests that do not ask for them.
2203 2006-03-24 Eric Seidel <eseidel@apple.com>
2209 * Spinneret/Spinneret/WebFrame.cpp:
2210 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2212 2006-03-21 Beth Dakin <bdakin@apple.com>
2216 Add support for keyDown() to DumpRenderTree.
2218 * DumpRenderTree/DumpRenderTree.m:
2219 (main): Set the preference for tabbing to links.
2220 * DumpRenderTree/EventSendingController.m:
2221 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2222 (+[EventSendingController webScriptNameForSelector:]):
2223 (-[EventSendingController keyDown:withModifiers:]):
2225 2006-03-20 Eric Seidel <eseidel@apple.com>
2231 * Spinneret/Spinneret/Spinneret.vcproj:
2232 * Spinneret/Spinneret/WebFrame.h:
2233 * Spinneret/Spinneret/WebView.cpp:
2234 (WebKit::WebView::mouseMoved):
2235 (WebKit::WebView::mouseDown):
2236 (WebKit::WebView::mouseUp):
2237 (WebKit::WebView::mouseDoubleClick):
2238 (WebKit::WebView::keyPress):
2239 (WebKit::WebViewWndProc):
2241 2006-03-19 Darin Adler <darin@apple.com>
2245 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2246 we can test it in layout tests. We don't really need tests that run with
2247 pop-up blocking off at the moment. If we do some day, we can add some
2248 API for turning it off in the layout test controller.
2250 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2251 don't ignore the leak; it should no longer show up.
2253 2006-03-17 Anders Carlsson <andersca@mac.com>
2257 * Scripts/install-win-extras:
2258 Fetch "Program Files" location from the environment.
2260 2006-03-17 Eric Seidel <eseidel@apple.com>
2264 Fix Spinneret to pass Events as const & not as pointers.
2266 * Spinneret/Spinneret/WebView.cpp:
2267 (WebKit::WebView::mouseMoved):
2268 (WebKit::WebView::mouseDown):
2269 (WebKit::WebView::mouseUp):
2270 (WebKit::WebView::mouseDoubleClick):
2271 (WebKit::WebView::keyPress):
2273 2006-03-17 Eric Seidel <eseidel@apple.com>
2275 Reviewed by justing.
2277 Add support for basic HTML editing.
2279 * Spinneret/Spinneret/WebView.cpp:
2280 (WebKit::WebView::WebView):
2281 (WebKit::WebView::keyPress):
2283 2006-03-17 Eric Seidel <eseidel@apple.com>
2285 Rubber-stamped by ggaren.
2287 Break DumpRenderTree.m up into several files to make the code more readable.
2289 * DumpRenderTree/DumpRenderTree.h: Added.
2290 * DumpRenderTree/DumpRenderTree.m:
2291 (doneLoading): new accessor function for "done" global.
2292 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2293 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2294 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2295 * DumpRenderTree/EditingDelegate.h: Added.
2296 * DumpRenderTree/EditingDelegate.m: Added.
2297 (-[EditingDelegate webViewDidChangeSelection:]):
2298 * DumpRenderTree/EventSendingController.h: Added.
2299 * DumpRenderTree/EventSendingController.m: Added.
2301 2006-03-16 Eric Seidel <eseidel@apple.com>
2305 Add resize, scroll event support.
2307 * Spinneret/Spinneret/WebView.cpp:
2308 (WebKit::WebView::mouseMoved):
2309 (WebKit::WebView::mouseDown):
2310 (WebKit::WebView::mouseUp):
2311 (WebKit::WebView::mouseDoubleClick):
2312 (WebKit::WebView::keyPress):
2313 (WebKit::WebViewWndProc):
2314 * Spinneret/Spinneret/WebView.h:
2316 2006-03-16 Eric Seidel <eseidel@apple.com>
2320 Make build-webkit print correctly to stdout on windows.
2322 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2324 2006-03-15 Eric Seidel <eseidel@apple.com>
2328 Fix eventSender.mouseClick() to update lastClick timestamp.
2330 * DumpRenderTree/DumpRenderTree.m:
2331 (-[EventSendingController mouseClick]):
2333 2006-03-15 Darin Adler <darin@apple.com>
2337 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2338 that had a lowercase "i" in it so this builds on case-sensitive
2341 2006-03-15 Geoffrey Garen <ggaren@apple.com>
2345 Added run-testkjs and compare-timing-files scripts, to support super
2348 * Scripts/compare-timing-files: Added.
2349 * Scripts/run-testkjs: Added.
2351 2006-03-14 Eric Seidel <eseidel@apple.com>
2355 Make the URL bar relinquish focus on page load.
2357 * Spinneret/Spinneret/Spinneret.cpp:
2360 2006-03-14 Eric Seidel <eseidel@apple.com>
2364 Fix WebView to allow KeyFocus.
2365 Add handling of space and shift-space for scrolling.
2367 * Spinneret/Spinneret/WebView.cpp:
2368 (WebKit::scrollMessageForKey):
2369 (WebKit::WebViewWndProc):
2371 2006-03-10 Eric Seidel <eseidel@apple.com>
2375 Add scrolling support into Spinneret.
2377 * Spinneret/Spinneret/WebFrame.cpp:
2378 (WebKit::WebFrame::paint):
2379 * Spinneret/Spinneret/WebView.cpp:
2380 (WebKit::WebView::createWebView):
2381 (WebKit::calculateScrollDelta):
2382 (WebKit::scrollMessageForKey):
2383 (WebKit::WebViewWndProc):
2385 2006-03-13 Eric Seidel <eseidel@apple.com>
2389 Fix checksum generation on Intel machines.
2390 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2391 give a small speed boost now that it uses a shared buffer.
2393 * DumpRenderTree/DumpRenderTree.m:
2396 (md5HashStringForBitmap):
2397 * DumpRenderTree/ImageDiff.m:
2398 (computePercentageDifferent):
2400 2006-03-13 Darin Adler <darin@apple.com>
2402 Reviewed by Tim Hatcher.
2404 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2405 have it named httpd-1.3 instead.
2407 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
2409 Fix proposed by Mitz Pettel, reviewed by Darin.
2411 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
2412 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2414 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2415 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
2418 2006-03-09 Darin Adler <darin@apple.com>
2420 Reviewed by John Sullivan.
2422 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
2423 memory leak in the plug-in tests
2425 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2426 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2427 (NPP_SetWindow): Remove unneeded code to store the window pointer.
2429 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2430 Moved the browser global in here since it's declared in this file's header.
2431 Changed the code to set up the pluginClass structure to not use function
2432 pointer casts. Those are dangerous because they can hide many types of mismatch.
2433 And indeed when I did this I discovered that many functions were missing their
2434 boolean return values or had parameter declarations with the wrong types.
2435 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2436 clarity. Added boolean return value: return true when successful and false when not.
2437 (pluginSetProperty): Added boolean return value, return false since we have no
2438 properties we can set.
2439 (pluginInvoke): Added boolean return value. Return true when successful and false
2440 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2441 return value from calling the browser. Changed code to put the strings in malloc
2442 buffers instead of relying on GCC's extension that allows variable-sized arrays
2444 (pluginInvokeDefault): Added boolean return value, return false since we have no
2445 default function to call.
2446 (pluginInvalidate): Added missing parameter. Removed comment.
2447 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2448 to cast the result of malloc.
2449 (pluginDeallocate): Removed uneeded cast.
2451 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2452 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2453 that match NPObject's fields. Removed unused NPWindow pointer.
2455 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
2457 Test: fast/events/event-sender-mouse-click.html
2461 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
2462 DRT hangs when doing eventSender.mouseDown on native widgets
2464 * DumpRenderTree/DumpRenderTree.m:
2465 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2466 (-[EventSendingController mouseClick]): Simulates a click in a native
2467 widget by queueing a mouseUp before sending the mouseDown, so that
2468 the widget's mouse tracking event loop doesn't hang indefinitely.
2470 2006-03-09 Maciej Stachowiak <mjs@apple.com>
2474 - make link clicks work by handling link click requests
2477 * Spinneret/Spinneret/Spinneret.cpp:
2478 (updateLocationBar):
2479 * Spinneret/Spinneret/Spinneret.h:
2480 * Spinneret/Spinneret/WebFrame.cpp:
2481 (WebKit::WebFrame::WebFrame):
2482 (WebKit::WebFrame::openURL):
2483 (WebKit::WebFrame::loadURL):
2484 * Spinneret/Spinneret/WebFrame.h:
2486 2006-03-08 Eric Seidel <eseidel@apple.com>
2490 Focus URL bar on Spinneret launch, remove border from WebView.
2491 Stop WebFrame from deleting the job (prevent crash).
2493 * Spinneret/Spinneret/Spinneret.cpp:
2495 * Spinneret/Spinneret/WebFrame.cpp:
2496 (WebKit::WebFrame::receivedAllData):
2497 (WebKit::WebFrame::paint):
2498 * Spinneret/Spinneret/WebView.cpp:
2499 (WebKit::WebView::createWebView):
2501 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
2505 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2506 (pluginInvoke): Added a method to test getURL.
2508 2006-03-08 Maciej Stachowiak <mjs@apple.com>
2512 - load URLs, not file paths, in Spinneret
2514 * Spinneret/Spinneret/Spinneret.cpp:
2516 * Spinneret/Spinneret/Spinneret.vcproj:
2517 * Spinneret/Spinneret/WebFrame.cpp:
2518 (WebKit::WebFrame::loadURL):
2519 (WebKit::WebFrame::receivedData):
2520 (WebKit::WebFrame::receivedAllData):
2521 * Spinneret/Spinneret/WebFrame.h:
2522 * Spinneret/Spinneret/WebView.cpp:
2523 (WebKit::WebView::WebView):
2525 2006-03-08 Darin Adler <darin@apple.com>
2529 - fixed AppleScript layout test results to not be endian-dependent
2530 (Hyatt complained to me about this one)
2532 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2533 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2534 (which are endian-dependent).
2536 2006-03-07 Darin Adler <darin@apple.com>
2540 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
2541 unwanted output while running layout tests
2543 * DumpRenderTree/DumpRenderTree.m:
2544 (checkedMalloc): Added.
2545 (checkedRealloc): Added.
2546 (makeLargeMallocFailSilently): Added.
2547 (main): Call makeLargeMallocFailSilently.
2549 2006-03-06 Darin Adler <darin@apple.com>
2551 * Scripts/do-webcore-rename: Add some more planned renaming.
2553 2006-03-06 Eric Seidel <eseidel@apple.com>
2557 * Spinneret/Spinneret/WebFrame.cpp:
2558 (WebKit::WebFrame::paint): force layout before painting
2560 2006-03-06 Justin Garcia <justin.garcia@apple.com>
2564 Sent the windowNumber when sending events.
2565 Added leapForward so that we don't have to spend time waiting
2566 in layout tests that do mouse operations that require delays.
2568 * DumpRenderTree/DumpRenderTree.m:
2569 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2570 (+[EventSendingController webScriptNameForSelector:]):
2571 (-[EventSendingController currentEventTime]):
2572 (-[EventSendingController leapForward:]):
2573 (-[EventSendingController mouseDown]):
2574 (-[EventSendingController mouseUp]):
2575 (-[EventSendingController mouseMoveToX:Y:]):
2577 2006-03-05 Darin Adler <darin@apple.com>
2579 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2580 Script now works (after landing my two pending patches).
2582 2006-03-05 Darin Adler <darin@apple.com>
2584 - check in a script to do a "big" rename in WebCore
2585 (can be run whenever we're ready to do it)
2587 * Scripts/do-webcore-rename: Added.
2589 2006-03-05 Maciej Stachowiak <mjs@apple.com>
2593 * Spinneret/Spinneret/WebFrame.cpp:
2594 (WebKit::WebFrame::loadFilePath): Close file when done.
2596 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
2598 Reviewed by Darin, landed by ap.
2600 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
2601 Mouse moved events do not work in DumpRenderTree
2603 Test: fast/events/event-sender-mouse-moved.html
2605 * DumpRenderTree/DumpRenderTree.m:
2606 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2608 2006-03-04 Eric Seidel <eseidel@apple.com>
2612 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2613 Disable background erase to avoid tearing.
2614 Fix potential memory smasher from extra long urls.
2616 * Spinneret/Spinneret/Spinneret.cpp:
2618 * Spinneret/Spinneret/Spinneret.vcproj:
2619 * Spinneret/Spinneret/WebFrame.cpp:
2620 (WebKit::WebFrame::loadFilePath):
2621 (WebKit::WebFrame::paint):
2622 * Spinneret/Spinneret/WebView.cpp:
2623 (WebKit::registerWebViewWithInstance):
2625 2006-03-04 Eric Seidel <eseidel@apple.com>
2629 Hang WebView pointer off of HWND (gets rid of global hack).
2630 Remove MessageBox displayed on url change.
2632 * Spinneret/Spinneret/Spinneret.cpp:
2635 * Spinneret/Spinneret/WebView.cpp:
2636 (WebKit::registerWebViewWithInstance):
2637 (WebKit::WebView::createWebView):
2638 (WebKit::WebViewWndProc):
2640 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
2644 Automatically kill httpd if it appears to be already running.
2646 * Scripts/run-webkit-tests:
2648 2006-03-04 Maciej Stachowiak <mjs@apple.com>
2652 * Spinneret/Spinneret/WebFrame.cpp:
2653 (WebKit::WebFrame::loadFilePath): Improved local file loading.
2655 2006-03-03 Eric Seidel <eseidel@apple.com>
2659 A few more fixes to make run-webkit-tests really work on win32.
2661 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2663 * Scripts/run-webkit-tests:
2665 2006-03-03 Eric Seidel <eseidel@apple.com>
2669 Make run-webkit-tests work on win32.
2671 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2673 (dumpRenderTreeMain):
2674 (dumpRenderTreeToStdOut):
2675 (serializeToStdOut):
2677 * Scripts/run-webkit-tests:
2678 * Scripts/webkitdirs.pm:
2679 * Spinneret/Spinneret/WebView.cpp:
2680 (WebKit::WebView::WebView):
2682 2006-03-03 Eric Seidel <eseidel@apple.com>
2686 Add WebFrame class (to hold Frame and FrameView).
2687 Add Location bar support to Spinneret.
2689 * Spinneret/Spinneret/Spinneret.cpp:
2694 * Spinneret/Spinneret/Spinneret.vcproj:
2695 * Spinneret/Spinneret/WebFrame.cpp: Added.
2696 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2697 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2698 (WebKit::WebFrame::WebFrame):
2699 (WebKit::WebFrame::loadFilePath):
2700 (WebKit::WebFrame::loadHTMLString):
2701 (WebKit::WebFrame::paint):
2702 (WebKit::WebFrame::impl):
2703 (WebKit::WebFrame::viewImpl):
2704 * Spinneret/Spinneret/WebFrame.h: Added.
2705 * Spinneret/Spinneret/WebView.cpp:
2706 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2707 (WebKit::WebView::WebView):
2708 (WebKit::WebView::windowHandle):
2709 (WebKit::WebView::mainFrame):
2710 (WebKit::WebView::mouseMoved):
2711 (WebKit::WebView::mouseDown):
2712 (WebKit::WebView::mouseUp):
2713 (WebKit::WebView::mouseDoubleClick):
2714 (WebKit::WebViewWndProc):
2715 * Spinneret/Spinneret/WebView.h:
2717 2006-03-02 Eric Seidel <eseidel@apple.com>
2721 * Spinneret/Spinneret/WebView.cpp:
2722 (WebKit::registerWebViewWithInstance):
2723 (WebKit::WebView::WebView):
2724 (WebKit::WebView::mouseMoved):
2725 (WebKit::WebView::mouseDown):
2726 (WebKit::WebView::mouseUp):
2727 (WebKit::WebView::mouseDoubleClick):
2728 (WebKit::WebViewWndProc):
2729 * Spinneret/Spinneret/WebView.h:
2731 2006-03-01 Eric Seidel <eseidel@apple.com>
2733 Reviewed by andersca.
2735 Make spinneret take advantage of the new GraphicsContextCairo.
2737 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2738 (main): updated to match style guidelines.
2739 * Spinneret/Spinneret/Spinneret.cpp:
2741 * Spinneret/Spinneret/WebView.cpp:
2742 (WebKit::registerWebViewWithInstance):
2743 (WebKit::WebView::WebView):
2744 (WebKit::WebView::~WebView):
2745 (WebKit::WebView::drawRect):
2747 * Spinneret/Spinneret/WebView.h:
2749 2006-03-01 Justin Garcia <justin.garcia@apple.com>
2753 Give the events that eventSender sends a unique eventNumber
2755 * DumpRenderTree/DumpRenderTree.m:
2756 (-[EventSendingController mouseDown]):
2757 (-[EventSendingController mouseUp]):
2758 (-[EventSendingController mouseMoveToX:Y:]):
2760 2006-03-01 Eric Seidel <eseidel@apple.com>
2764 Add a stub win32 application to test WebCore drawing on windows.
2767 * Spinneret/Spinneret: Added.
2768 * Spinneret/Spinneret.sln: Added.
2769 * Spinneret/Spinneret/Resource.h: Added.
2770 * Spinneret/Spinneret/Spinneret.cpp: Added.
2776 * Spinneret/Spinneret/Spinneret.h: Added.
2777 * Spinneret/Spinneret/Spinneret.ico: Added.
2778 * Spinneret/Spinneret/Spinneret.rc: Added.
2779 * Spinneret/Spinneret/Spinneret.vcproj: Added.
2780 * Spinneret/Spinneret/WebView.cpp: Added.
2781 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2782 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2783 (WebKit::registerWebViewWithInstance):
2784 (WebKit::WebView::createWebView):
2785 (WebKit::WebView::WebView):
2786 (WebKit::WebView::~WebView):
2787 (WebKit::WebView::drawRect):
2788 (WebKit::WebView::windowHandle):
2790 * Spinneret/Spinneret/WebView.h: Added.
2791 * Spinneret/Spinneret/small.ico: Added.
2792 * Spinneret/Spinneret/stdafx.cpp: Added.
2793 * Spinneret/Spinneret/stdafx.h: Added.
2795 2006-02-28 Eric Seidel <eseidel@apple.com>
2799 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2800 (main): add ability to dump render tree and read from a local file.
2802 2006-02-27 Eric Seidel <eseidel@apple.com>
2806 * Scripts/install-win-extras: fix dll permissions & download zlib too.
2808 2006-02-27 Eric Seidel <eseidel@apple.com>
2812 Test new KConfig -> PlugInInfoStore change.
2813 http://bugs.webkit.org/show_bug.cgi?id=7498
2815 * DumpRenderTree/DumpRenderTree.m:
2816 (main): load test netscape plugin
2817 * Scripts/run-webkit-tests: style update
2819 2006-02-24 Eric Seidel <eseidel@apple.com>
2823 Make DumpRenderTree link against icu.
2825 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2827 2006-02-24 Eric Seidel <eseidel@apple.com>
2831 Make DumpRenderTree link against libxml, etc.
2833 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2835 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
2837 Reviewed and landed by Anders.
2839 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2840 getting called from the run loop, making the view render each test and thus slowing
2843 * DumpRenderTree/DumpRenderTree.m:
2844 (main): Set the offscreen window to not autodisplay.
2846 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2850 - Turn http tests back on by default.
2851 - Wait for Apache to actually start serving requests.
2852 - Get user id from a built-in variable rather than an external command;
2853 don't pass the group.
2855 * Scripts/run-webkit-tests:
2857 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
2859 Suggested by Mitz Pettel, reviewed by Darin.
2861 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2862 can run CGIs even if the permissions are 700 or 600.
2864 2006-02-23 Darin Adler <darin@apple.com>
2866 Collaborating with Alexey.
2868 - turn off http tests by default until we figure out how to get them
2869 to run even when permissions on CGI files are 700 instead of 755
2871 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2873 2006-02-23 Eric Seidel <eseidel@apple.com>
2875 Add *.user to ignore list.
2877 2006-02-23 Eric Seidel <eseidel@apple.com>
2879 Remove binary file which shouldn't have been commited (and add to ignore list).
2881 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2882 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2884 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2888 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2890 2006-02-22 Eric Seidel <eseidel@apple.com>
2892 Reviewed by Tim Hatcher.
2894 Fix install-win-extras to not try to re-install setx if installed.
2896 * Scripts/install-win-extras:
2898 2006-02-22 Eric Seidel <eseidel@apple.com>
2900 One more file possibly missing from previous commit?
2902 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2903 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2905 2006-02-22 Eric Seidel <eseidel@apple.com>
2907 Reviewed by justing.
2909 Files missing from previous commit.
2911 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2912 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2914 2006-02-22 Eric Seidel <eseidel@apple.com>
2916 Rubber-stamped by justing.
2918 Corrected path for DumpRenderTree.intermediate files
2920 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2922 2006-02-22 Eric Seidel <eseidel@apple.com>
2924 Reviewed by justing.
2926 Fixed build-dumprendertree to exit with correct error codes.
2928 * Scripts/build-dumprendertree:
2930 2006-02-22 Eric Seidel <eseidel@apple.com>
2932 Reviewed by justing.
2934 Update build scripts to generalize building on Win32, and allow
2935 building of DumpRenderTree on Win32 from build-dumprendertree.
2937 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2939 * Scripts/build-dumprendertree:
2940 * Scripts/build-webkit:
2941 * Scripts/webkitdirs.pm:
2943 2006-02-22 Eric Seidel <eseidel@apple.com>
2947 * DumpRenderTree/DumpRenderTree.vcproj: Added.
2948 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2949 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2950 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2951 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2952 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2954 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2955 * Scripts/build-webkit: make build-webkit cleanup after itself
2957 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
2961 - http://bugs.webkit.org/show_bug.cgi?id=7409
2962 Some minor fixes to http tests.
2964 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2966 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
2970 - http://bugs.webkit.org/show_bug.cgi?id=6197
2971 Would like to use locally installed Apache for testing.
2973 Added two run-webkit-tests options:
2974 --http (--nohttp) - whether to launch Apache (defaults to yes);
2975 --port - which port to listen on (defaults to 8000).
2977 Tests in LayoutTests/http are not run directly, and Apache is used instead.
2978 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2979 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2981 Also added support for .shtml and .text files. Text files give an empty
2982 *-expected.txt, but a correct image.
2984 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2986 * Scripts/run-webkit-tests:
2988 2006-02-21 Darin Adler <darin@apple.com>
2990 Suggested by Mark Rowe.
2992 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2993 reporting leak counts.
2995 2006-02-18 Maciej Stachowiak <mjs@apple.com>
2999 - Added install-win-extras script which installs some extra
3000 programs and libraries, and does Windows first-time setup.
3002 * Scripts/build-webkit: Add a newline between build results.
3003 * Scripts/install-win-extras: Added.
3005 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3009 - http://bugs.webkit.org/show_bug.cgi?id=7308
3010 DumpRenderTree should be able to load files via HTTP
3012 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
3013 Handle tests starting with "http://" as real URLs, not file system paths.
3015 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
3019 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
3020 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
3022 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
3024 2006-02-18 Darin Adler <darin@apple.com>
3026 * Scripts/commit-log-editor: Added.
3028 2006-02-17 Eric Seidel <eseidel@apple.com>
3032 Make Win32 have the same default "WebKitBuild" directory behavior.
3034 * Scripts/build-webkit:
3035 * Scripts/webkitdirs.pm:
3037 2006-02-17 Eric Seidel <eseidel@apple.com>
3041 * Scripts/build-webkit: make win32 actually report errors
3043 2006-02-17 Eric Seidel <eseidel@apple.com>
3047 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
3049 2006-02-17 Eric Seidel <eseidel@apple.com>
3053 * Scripts/run-webkit-tests: Ignore flash leaks
3055 2006-02-15 Justin Garcia <justin.garcia@apple.com>
3059 <http://bugs.webkit.org/show_bug.cgi?id=7148>
3060 Add drag and drop support to DumpRenderTree
3062 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
3063 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
3065 * DumpRenderTree/DumpRenderTree.m:
3067 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3068 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3069 (-[WaitUntilDoneDelegate webViewFocus:]):
3070 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3071 (+[LayoutTestController webScriptNameForSelector:]):
3072 (-[LayoutTestController setWindowIsKey:]):
3073 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3074 (-[EventSendingController init]):
3075 (-[EventSendingController mouseDown]):
3076 (-[EventSendingController mouseUp]):
3077 (-[EventSendingController mouseMoveToX:Y:]):
3079 (-[DumpRenderTreeWindow isKeyWindow]):
3080 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
3081 (-[DumpRenderTreeDraggingInfo dealloc]):
3082 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3083 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
3084 (-[DumpRenderTreeDraggingInfo draggingLocation]):
3085 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
3086 (-[DumpRenderTreeDraggingInfo draggedImage]):
3087 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
3088 (-[DumpRenderTreeDraggingInfo draggingSource]):
3089 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
3090 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
3091 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
3092 * DumpRenderTree/TextInputController.m:
3093 (-[TextInputController firstRectForCharactersFrom:length:]):
3094 (-[TextInputController characterIndexForPointX:Y:]):
3096 2006-02-15 Geoffrey Garen <ggaren@apple.com>
3100 * DumpRenderTree/DumpRenderTree.m:
3101 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3102 Added a dummy method for the sake of LayoutTests/plugins/
3103 undefined-property-crash.html. (It tests a crash due to fallback
3104 object use. WebCore won't create a fallback object if the method is
3107 2006-02-14 Eric Seidel <eseidel@apple.com>
3111 * Scripts/run-webkit-tests: added --results-directory (-o) option
3113 2006-02-09 Eric Seidel <eseidel@apple.com>
3115 Rubber-stamped by mjs.
3117 Renamed split-class to split-file-by-class.
3119 * Scripts/build-webkit: Updated copyright.
3120 * Scripts/split-class: Removed.
3121 * Scripts/split-file-by-class: Added.
3123 2006-02-08 Eric Seidel <eseidel@apple.com>
3125 Rubber-stamped by mjs.
3127 Adding new script for splitting multi-class files.
3128 Also adding supporting perl module with space removing heuristics.
3130 * Scripts/SpacingHeuristics.pm: Added.
3131 * Scripts/build-drawtest: updated copyright header
3132 * Scripts/split-class: Added.
3134 2006-02-08 Justin Garcia <justin.garcia@apple.com>
3136 Reviewed by thatcher
3138 Changes to test fix for:
3139 <http://bugs.webkit.org/show_bug.cgi?id=3982>
3140 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
3142 * DumpRenderTree/DumpRenderTree.m:
3143 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3144 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3145 (+[LayoutTestController webScriptNameForSelector:]):
3146 (-[LayoutTestController setWindowHasFocus:]):
3147 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
3149 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
3151 Reviewed by Timothy.
3153 Support automated testing of AppleScript "do JavaScript" command
3154 http://bugs.webkit.org/show_bug.cgi?id=7012
3156 * DumpRenderTree/AppleScriptController.h: Added.
3157 * DumpRenderTree/AppleScriptController.m: Added.
3158 * DumpRenderTree/DumpRenderTree.m:
3159 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3160 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3162 2006-02-06 Eric Seidel <eseidel@apple.com>
3166 Fix build-webkit for use on win32 (unblocks buildbot usage).
3167 http://bugs.webkit.org/show_bug.cgi?id=7122
3169 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
3170 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
3172 2006-02-06 Eric Seidel <eseidel@apple.com>
3174 Rubber-stamped by darin & mjs.
3176 Added new support directory for build slave scripts.
3177 Committing the first script, for use by the PLT's build slave.
3178 This script is used to kick of the PLT (Page Load Test) slave.
3180 * BuildSlaveSupport: Added.
3181 * BuildSlaveSupport/run-performance-tests: Added.
3183 2006-02-06 Eric Seidel <eseidel@apple.com>
3185 Rubber-stamped by darin.
3187 Adding setSourceDir for scripts stored in non-standard locations.
3189 * Scripts/webkitdirs.pm:
3191 2006-02-04 Darin Adler <darin@apple.com>
3193 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3194 Configuration files that say Development or Deployment in them.
3196 2006-02-04 Darin Adler <darin@apple.com>
3198 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3199 wrapper already in the directory.
3200 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3201 these haven't been working at all.
3202 * Scripts/svn-unapply: Ditto.
3204 2006-02-03 Timothy Hatcher <timothy@apple.com>
3208 Renamed configuration names to Debug, Release and Production.
3210 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3211 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3212 * Scripts/set-webkit-configuration:
3213 * Scripts/webkitdirs.pm:
3215 2006-02-02 Justin Garcia <justin.garcia@apple.com>
3217 Reviewed by thatcher
3219 Enabled spell checking for layout tests.
3221 * DumpRenderTree/DumpRenderTree.m:
3224 2006-01-29 Darin Adler <darin@apple.com>
3226 * Scripts/svn-apply: Added comments about things we should do to improve.
3227 * Scripts/svn-create-patch: Ditto.
3228 * Scripts/svn-unapply: Ditto.
3230 2006-01-28 Darin Adler <darin@apple.com>
3232 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3233 already there, even if the checksum is correct.
3235 2006-01-27 Eric Seidel <eseidel@apple.com>
3239 * Scripts/run-webkit-tests: make new tests use absolute urls
3241 2006-01-27 Eric Seidel <eseidel@apple.com>
3245 make run-webkit-tests output total leaks count
3247 * Scripts/run-webkit-tests:
3249 2006-01-27 Eric Seidel <eseidel@apple.com>
3253 run-webkit-test --leaks crashes (malloc logging runs out of memory)
3254 http://bugs.webkit.org/show_bug.cgi?id=6869
3256 * Scripts/run-webkit-tests: fix --leaks to not crash
3258 2006-01-26 Eric Seidel <eseidel@apple.com>
3262 run-webkit-tests should produce a self-contained results directory
3263 http://bugs.webkit.org/show_bug.cgi?id=6864
3265 * Scripts/run-webkit-tests: copy failing items to results dir.
3267 2006-01-23 Darin Adler <darin@apple.com>
3269 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
3270 need script to update localizable strings file in WebKit
3272 * Scripts/update-webkit-localizable-strings: Added.
3274 2006-01-23 Darin Adler <darin@apple.com>
3276 - added a couple of scripts -- more about these two soon
3278 * Scripts/extract-localizable-strings: Added.
3279 * Scripts/merge-changelog: Added.
3281 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
3285 Build fix. build-webkit dies with "invalid build action: (empty string)"
3287 * Scripts/build-webkit:
3288 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3290 2006-01-22 Eric Seidel <eseidel@apple.com>
3294 Fix --no-svg option to use XCode flags instead of gcc flags.
3296 * Scripts/build-webkit:
3298 2006-01-22 Eric Seidel <eseidel@apple.com>
3302 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3304 * Scripts/build-webkit:
3306 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
3308 Reviewed by eseidel.
3310 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
3311 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3313 * Scripts/build-drawtest: Changed bareword 'true' to 1.
3314 * Scripts/run-drawtest: Changed bareword 'true' to 1.
3316 2006-01-19 Darin Adler <darin@apple.com>
3318 * Scripts/report-include-statistics: Added a new script.
3320 2006-01-19 Timothy Hatcher <timothy@apple.com>
3322 * Scripts/build-webkit: include JavaScriptGlue in the build
3324 2006-01-19 Darin Adler <darin@apple.com>
3326 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3327 spaces in it by using the form of open that treats each argument as a string
3328 rather than backtick syntax for reading the output of the nm tool.
3330 2006-01-12 Maciej Stachowiak <mjs@apple.com>
3334 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3335 detect if there are any new tests
3337 * Scripts/prepare-ChangeLog:
3339 2006-01-12 Darin Adler <darin@apple.com>
3341 - removed some of the cvs-specific scripts -- not needed for this project any more
3343 * Scripts/cvs-abandon: Removed.
3344 * Scripts/cvs-apply: Removed.
3345 * Scripts/cvs-create-patch: Removed.
3346 * Scripts/cvs-unapply: Removed.
3348 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3350 Reviewed by eseidel. Committed by eseidel.
3352 - run-webkit-tests always launches Safari when tests fail
3353 http://bugs.webkit.org/show_bug.cgi?id=6456
3355 * Scripts/run-webkit-tests:
3356 Add a command-line flag to prevent Safari being launched to display failed
3357 tests. Always exit with non-zero status when tests have failed.
3359 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
3361 Reviewed by eseidel. Committed by eseidel.
3363 - build-webkit should exit with non-zero status when build fails
3364 http://bugs.webkit.org/show_bug.cgi?id=6459
3366 * Scripts/build-webkit:
3367 Use correct bits of subprocess exit code when passing back through
3368 as build-webkit's exit code.
3370 2006-01-10 Eric Seidel <eseidel@apple.com>
3372 Restored corrupted nibs from TOT CVS.
3374 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3375 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3376 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3377 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3378 * DrawTest/English.lproj/Inspector.nib: Replaced.
3379 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3380 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3381 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3382 * DrawTest/English.lproj/MainMenu.nib: Replaced.
3383 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3384 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3385 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3386 * DrawTest/English.lproj/TestViewer.nib: Replaced.
3387 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3388 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3389 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3391 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
3393 Reviewed by eseidel. Committed by eseidel.
3395 DrawTestView now subclasses WebView instead of DrawView.
3397 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3398 * DrawTest/DrawTestDocument.h:
3399 * DrawTest/DrawTestDocument.m:
3400 (-[DrawTestDocument dealloc]):
3401 (-[DrawTestDocument readFromFile:ofType:]):
3402 (-[DrawTestDocument windowControllerDidLoadNib:]):
3403 (-[DrawTestDocument dumpSVGToConsole:]):
3404 (-[DrawTestDocument openSourceForSelection:]):
3405 (-[DrawTestDocument dataRepresentationOfType:]):
3406 * DrawTest/DrawTestToolbarController.h:
3407 * DrawTest/DrawTestToolbarController.m:
3408 (-[DrawTestToolbarController initWithDrawView:]):
3409 (-[DrawTestToolbarController clickedToolbarItem:]):
3410 (-[DrawTestToolbarController validateToolbarItem:]):
3411 * DrawTest/DrawTestView.h:
3412 * DrawTest/DrawTestView.m:
3413 (-[DrawTestView initWithFrame:]):
3414 (-[DrawTestView setDocument:]):
3415 * DrawTest/SVGTest.h:
3416 * DrawTest/SVGTest.m:
3417 (+[SVGTest sharedDrawView]):
3418 (-[SVGTest generateCompositeIfNecessary]):
3419 * DrawTest/TestController.h:
3420 * DrawTest/TestController.m:
3421 (-[TestController awakeFromNib]):
3422 (-[TestController setSelectedTest:]):
3423 (-[TestController openTestViewerForSelection:]):
3424 (-[TestController toggleViewersScaleRule:]):
3425 * DrawTest/TestViewerSplitView.m:
3426 (-[TestViewerSplitView drawRect:]):
3428 2006-01-10 Anders Carlsson <andersca@mac.com>
3430 Reviewed by Timothy.
3432 * DumpRenderTree/DumpRenderTree.m:
3433 (main): Set the default language to "en", so language tests will work.
3435 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3439 - script to generate HTML wrappers for JS tests
3440 http://bugs.webkit.org/show_bug.cgi?id=6441
3442 * Scripts/make-js-test-wrappers: Added.
3444 2006-01-08 Maciej Stachowiak <mjs@apple.com>
3448 * Scripts/svn-create-patch: Fix to work when passed directory names.
3450 2006-01-08 Geoffrey Garen <ggaren@apple.com>
3454 - Added back/forward navigation support to DumpRenderTree. Hopefully we
3455 can start writing automated loader tests now. I have one in the works.
3457 * DumpRenderTree/DumpRenderTree.m:
3458 (main): Construct global navigationController on entry, destroy on exit.
3459 Set frame to nil on exit too, to match all the other global objects.
3460 (Probably academic, since the process is exiting, anyway.)
3461 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3462 navigationController, in case it wants to kick off a load.
3463 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3464 the navigationController to scripting.
3466 New class, should be straightforward:
3468 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3469 * DumpRenderTree/NavigationController.h: Added.
3470 * DumpRenderTree/NavigationController.m: Added.
3472 (+[NavigationController isSelectorExcludedFromWebScript:]):
3473 (+[NavigationController webScriptNameForSelector:]):
3474 (-[NavigationController setPendingScript:]):
3475 (-[NavigationController setPendingRequest:]):
3476 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3477 (-[NavigationController webView:didFinishLoadForFrame:]):
3478 (-[NavigationController dealloc]):
3480 2006-01-08 Timothy Hatcher <timothy@apple.com>
3482 Removed this script, no longer needs with the Subversion switch.
3484 * checkout: Removed.
3486 2006-01-08 Timothy Hatcher <timothy@apple.com>
3488 Removes some stray tabs.
3490 * Scripts/update-webkit:
3492 2005-01-07 Eric Seidel <eseidel@apple.com>
3496 build-webkit should pass on build arguments from command line
3497 http://bugs.webkit.org/show_bug.cgi?id=5854
3499 * Scripts/build-webkit:
3501 2006-01-07 Eric Seidel <eseidel@apple.com>
3503 Reviewed by mjs & xenon.
3505 * Scripts/update-webkit: support Internal updates as well
3507 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3509 Temporarily rolling out plugin support from DumpRenderTree because it
3510 caused lots of layout test regressions.
3512 * DumpRenderTree/DumpRenderTree.m:
3513 (main): Remove invisible window added to support plugins.
3515 2006-01-06 Geoffrey Garen <ggaren@apple.com>
3519 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
3520 Add plugin support to DumpRenderTree
3522 Also wrote first test plugin.
3524 * DumpRenderTree/DumpRenderTree.m:
3526 (1) Put the WebView in an invisible window, because PlugIns are
3527 optimized not to load if there's no parent window.
3528 (2) Tell WebKit to load any PlugIns in the directory from which we
3529 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
3530 and they'll load automagically during layout testing, but they won't be
3531 added to the user's system, hosing apps like Safari.
3533 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3534 test PlugIn to project.
3536 PlugIn added to project:
3538 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3539 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3541 (initializeIdentifiers):
3542 (pluginHasProperty):
3544 (pluginGetProperty):
3545 (pluginSetProperty):
3547 (pluginInvokeDefault):
3551 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3552 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3554 (NP_GetEntryPoints):
3560 (NPP_DestroyStream):
3570 2006-01-04 Timothy Hatcher <timothy@apple.com>
3574 Tweaked and tested by me.
3576 New scripts to work with Subversion when the switch happens.
3577 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3579 * Scripts/svn-apply: Added.
3580 * Scripts/svn-create-patch: Added.
3581 * Scripts/svn-unapply: Added.
3583 2005-12-30 Eric Seidel <eseidel@apple.com>
3587 Move WebView width/height logic into DumpRenderTree to support
3588 running the W3C SVG 1.1 tests along side other tests. The W3C
3589 SVG 1.1 tests require a 480x360 view.
3591 * DumpRenderTree/DumpRenderTree.m:
3592 (main): don't accept width/height
3593 (dump): override width/height for SVG/W3C
3594 * Scripts/run-webkit-tests: don't pass width/height
3596 2005-12-30 Eric Seidel <eseidel@apple.com>
3598 No review, only removing dead code.
3600 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3601 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3603 2005-12-30 Eric Seidel <eseidel@apple.com>
3607 DumpRenderTree should set a consistent color profile while running
3608 http://bugs.webkit.org/show_bug.cgi?id=6155
3610 Creates consistent colormatched renderings on every test machine
3611 using the only way possible with Tiger APIs: by setting the
3612 system color profile on the test machine for the duration of the
3613 tests. This will (unfortunately) cause colors to change while
3614 running DumpRenderTree. This can also cause "permanent" color
3615 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3616 This is far from ideal, but it's be best way we've found to deal
3617 with the issue for now.
3619 * DumpRenderTree/DumpRenderTree.m:
3620 (restoreColorSpace):
3621 (setDefaultColorProfileToRGB):
3624 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
3626 Reviewed by Darin Adler.
3628 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
3629 cvs-create-patch --include produces incorrect paths
3631 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3633 2005-12-19 Eric Seidel <eseidel@apple.com>
3637 * Scripts/run-webkit-tests: stop /etc/catalog warnings
3639 2005-12-19 Darin Adler <darin@apple.com>
3641 Reviewed by Eric Seidel.
3643 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
3644 WebKit needs to use a local pasteboard during testing
3646 * DumpRenderTree/DumpRenderTree.m:
3647 (main): Call poseAs to substitute our NSPasteboard class for the default one.
3648 Create a local pasteboard (really a global one with a unique name) and release
3649 it when exiting from the function so we don't leave it in the pasteboard server.
3650 (dumpRenderTree): Added an autorelease pool around one small bit of code that
3651 ddn't have one. Fixed a leak in an unlikely error case.
3652 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3653 of this method to return our local pasteboard.
3655 2005-12-15 Eric Seidel <eseidel@apple.com>
3657 Reviewed by Tim Hatcher.
3659 * Scripts/build-webkit: --svg is now default!
3661 2005-12-15 Eric Seidel <eseidel@apple.com>
3665 Don't run svg test automatically if +SVG is built (yet).
3667 * Scripts/run-webkit-tests:
3669 2005-12-15 Darin Adler <darin@apple.com>
3671 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3672 support is not compiled in. Report the 10 slowest tests if "--slowest" is
3673 passed on the command line.
3675 2005-12-06 John Sullivan <sullivan@apple.com>
3677 Reviewed by Darin Adler.
3679 * Scripts/prepare-ChangeLog:
3680 Remove special-case handling for nib files. This avoided trouble with cvs diff
3681 when we were using wrappers for nib files. Now that we aren't using wrappers,
3682 there's no reason to avoid adding the modified nib files to the file list that
3685 2005-12-05 Eric Seidel <eseidel@apple.com>
3689 Script updates for SVG files move (remove references to SVGSupport)
3691 * Scripts/build-webkit: remove SVGSupport
3692 * Scripts/run-webkit-tests: Resources -> resources for --svg
3693 * Scripts/update-webkit: remove SVGSupport
3695 2005-12-05 Eric Seidel <eseidel@apple.com>
3699 * checkout: remove --svg support, SVG is now checked out by default
3701 2005-11-29 Eric Seidel <eseidel@apple.com>
3705 Update scripts to run SVG tests automatically (w/o --svg) if
3706 WebCore is built with SVG support.
3708 * Scripts/build-drawtest: SVG support required
3709 * Scripts/build-dumpkcanvastree: Removed.
3710 * Scripts/run-drawtest: SVG support required to run
3711 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3712 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3714 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
3716 Reviewed by Darin. Committed by Maciej.
3718 - fixed "DumpRenderTree should test for Ahem before doing anything else"
3719 (http://bugs.webkit.org/show_bug.cgi?id=5838)
3721 * DumpRenderTree/DumpRenderTree.m:
3724 2005-11-28 Eric Seidel <eseidel@apple.com>
3726 Reviewed by sullivan and GGAREN.
3728 Minor additions to make error messages more clear from cvs-apply.
3730 * Scripts/cvs-apply: make errors more clear
3732 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3734 Reviewed and committed by Maciej.
3736 - fixed cvs-create-patch --include produces incorrect paths
3737 (http://bugs.webkit.org/show_bug.cgi?id=5846)
3739 * Scripts/cvs-create-patch: produce proper paths for new files.
3741 2005-11-21 Eric Seidel <eseidel@apple.com>
3745 Some simple fixes to the build/test scripts now that SVG uses the
3746 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
3747 or symlinks for KDOM.
3749 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3750 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3751 * Scripts/run-webkit-tests: now runs SVG tests using DRT
3752 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
3753 * checkout: no longer symlink kdom
3755 2005-11-10 Eric Seidel <eseidel@apple.com>
3759 * Scripts/build-webkit: Pass through options to xcodebuild
3761 2005-11-07 Darin Adler <darin@apple.com>
3763 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3765 2005-11-03 John Sullivan <sullivan@apple.com>
3769 * Scripts/run-safari:
3770 changed message to say "Starting Safari" instead of odd "Start Safari"
3771 * Scripts/run-webkit-tests:
3772 changed the way we pass the file parameter to use -NSOpen rather than relying on
3773 unlabeled arguments being treated as files. This was failing on some machines that
3774 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3776 2005-10-27 Geoffrey Garen <ggaren@apple.com>
3778 Patch by Alexey Proskuryakov.
3782 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
3783 TextInputController should support attributed strings
3785 * DumpRenderTree/TextInputController.m:
3786 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3787 (+[NSMutableAttributedString webScriptNameForSelector:]):
3788 (-[NSMutableAttributedString getLength]):
3789 (-[NSMutableAttributedString attributeNamesAtIndex:]):
3790 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3791 (-[NSMutableAttributedString addAttribute:value:]):
3792 (-[NSMutableAttributedString addAttribute:value:from:length:]):
3793 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3794 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3795 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3796 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3797 (+[TextInputController isSelectorExcludedFromWebScript:]):
3798 (+[TextInputController webScriptNameForSelector:]):
3799 (-[TextInputController insertText:]):
3800 (-[TextInputController attributedSubstringFrom:length:]):
3801 (-[TextInputController attributedStringWithString:]):
3803 2005-10-11 Eric Seidel <eseidel@apple.com>
3807 Checks for leaks in ImageDiff too.
3809 * Scripts/run-webkit-tests:
3811 2005-10-09 Darin Adler <darin@apple.com>
3813 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3814 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3815 * Scripts/cvs-unapply: Ditto.
3816 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3818 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
3820 Reviewed, rearranged and landed by Darin.
3822 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
3823 Need a way to automatically test for regressions in NSTextInput implementation
3825 * DumpRenderTree/DumpRenderTree.m:
3826 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3827 Create a text input controller and put it in a property of the window object.
3829 * DumpRenderTree/TextInputController.h: Added.
3830 * DumpRenderTree/TextInputController.m: Added.
3831 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3833 2005-10-06 Darin Adler <darin@apple.com>
3835 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3836 are controlled by cvs, or when changes cross multiple repositories.
3837 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3839 2005-10-03 Eric Seidel <eseidel@apple.com>
3843 Make mouseDown and mouseUp force layout before acting.
3844 This is used by a new test case for 4233558.
3846 * DumpRenderTree/DumpRenderTree.m:
3847 (-[EventSendingController mouseDown]): force layout
3848 (-[EventSendingController mouseUp]): force layout
3850 2005-09-30 Eric Seidel <eseidel@apple.com>
3854 Updated all the scripts for the move:
3855 WebCore/layout-tests -> LayoutTests
3857 * Scripts/check-dom-results:
3858 * Scripts/prepare-ChangeLog:
3859 * Scripts/run-webkit-tests:
3860 * Scripts/update-webkit: added --no-tests
3861 * checkout: added --no-tests
3863 2005-09-28 Darin Adler <darin@apple.com>
3865 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
3866 pixel test should run even if render trees differ
3868 * Scripts/run-webkit-tests: Don't check if the text dump matches.
3870 2005-09-27 Eric Seidel <eseidel@apple.com>
3872 No review needed, SVG build fix only.
3874 * DumpKCanvasTree/DumpKCanvasTree.m:
3875 Missed one in my previous checkin.
3876 http://bugs.webkit.org/show_bug.cgi?id=5141
3878 2005-09-26 Eric Seidel <eseidel@apple.com>
3880 No review needed, SVG build fix only.
3882 * DrawTest/DrawTestDocument.m:
3883 * DrawTest/DrawTestToolbarController.m:
3884 * DrawTest/DrawTestView.h:
3885 * DrawTest/DrawTestView.m:
3886 * DrawTest/SVGTest.m:
3887 * DrawTest/TestController.m:
3888 Updated for WebCore+SVG -> WebCore rename.
3889 http://bugs.webkit.org/show_bug.cgi?id=5141
3891 2005-09-26 Eric Seidel <eseidel@apple.com>
3895 * DumpRenderTree/DumpRenderTree.m:
3896 (dump): updated error message
3897 * Scripts/check-dom-results: now includes xhtml
3898 Tool updates for xhtml.
3899 http://bugs.webkit.org/show_bug.cgi?id=4907
3901 2005-09-22 Duncan Wilcox <duncan@mclink.it>
3906 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
3907 "Would like to simulate human interaction with webview"
3909 * DumpRenderTree/DumpRenderTree.m:
3910 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3911 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3912 (+[EventSendingController webScriptNameForSelector:]):
3913 (-[EventSendingController init]):
3914 (-[EventSendingController mouseDown]):
3915 (-[EventSendingController mouseUp]):
3916 (-[EventSendingController mouseMoveToX:Y:]):
3917 Add eventSender javascript object, that sends fake mouse events to the webview.
3919 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3920 link with Carbon.framework
3922 2005-09-22 Eric Seidel <eseidel@apple.com>
3926 Update tools for WebCore+SVG -> WebCore rename.
3927 Also fold several SVG specific tools into their original
3928 WebCore counterparts.
3929 http://bugs.webkit.org/show_bug.cgi?id=5003
3931 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3932 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3933 * Scripts/build-drawtest:
3934 * Scripts/build-dumpkcanvastree:
3935 * Scripts/build-webcore-svg: Removed.
3936 * Scripts/build-webkit: added --svg option
3937 * Scripts/run-drawtest:
3938 * Scripts/run-webkit-tests:
3939 * Scripts/webkitdirs.pm: various additions.
3940 * checkout: added --svg option
3941 * checkout-svg: Removed.
3943 2005-09-19 Eric Seidel <eseidel@apple.com>
3947 * Scripts/run-webkit-tests: added --guard-malloc option
3948 http://bugs.webkit.org/show_bug.cgi?id=4613
3950 2005-09-16 Justin Garcia <justin.garcia@apple.com>
3954 Removed a script that is only used by apple internal developers
3956 * Scripts/update-webkitsysteminterface: Removed.
3958 2005-09-16 Adele Peterson <adele@apple.com>
3962 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3964 2005-09-14 Darin Adler <darin@apple.com>
3966 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
3967 dumpAsText doesn't work with XHTML documents
3969 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3970 rather than of the body element. This works with typical XHTML documents. We can probably
3971 do something even better in the long run, but this fixes the immediate issue.
3975 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3976 run-safari instead of just using "open", which often runs another copy of Safari instead.
3978 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
3980 Reviewed, tweaked, and landed by Darin.
3982 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
3983 .Mac prefpane crashes when Safari using CVS WebKit is running
3985 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3986 * Scripts/run-webkit-app: Ditto.
3988 2005-09-11 Darin Adler <darin@apple.com>
3990 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3992 2005-09-11 Darin Adler <darin@apple.com>
3996 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3997 two ways: 1) puts all files in a directory before any files in a subdirectory, and
3998 2) sort file names with numeric digits in them in a logical way, so test-33 will come
4001 2005-09-08 Justin Garcia <justin.garcia@apple.com>
4005 * Scripts/update-webkitsysteminterface: Added.
4006 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
4008 2005-09-01 John Sullivan <sullivan@apple.com>
4010 * Scripts/run-webkit-tests:
4011 Excluded a known system leak to reduce noise; added comments about which leaks
4014 2005-09-01 Tim Omernick <tomernick@apple.com>
4016 Change made by Darin, reviewed by John and myself.
4018 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
4020 * Scripts/prepare-ChangeLog:
4022 2005-08-31 Maciej Stachowiak <mjs@apple.com>
4026 - set color variant and font settings to a consistent value.
4027 (http://bugs.webkit.org/show_bug.cgi?id=4769)
4029 * DumpRenderTree/DumpRenderTree.m:
4032 2005-08-30 Eric Seidel <eseidel@apple.com>
4036 * Scripts/build-svg2png: Removed.
4037 * svg2png/ImageDiff.h: Removed.
4038 * svg2png/ImageDiff.m: Removed.
4039 * svg2png/svg2png.m: Removed.
4040 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
4041 * svg2png/svg2png_Prefix.pch: Removed.
4042 svg2png is no longer needed.
4044 2005-08-30 Darin Adler <darin@apple.com>
4046 * Scripts/check-dom-results: Special case 100% to say something nice.
4047 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
4048 applying the patch (need a better name).
4049 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
4051 2005-08-30 Darin Adler <darin@apple.com>
4053 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
4055 2005-08-29 Maciej Stachowiak <mjs@apple.com>
4059 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
4060 (some pixel tests fail when AA settings are changed)
4062 * DumpRenderTree/DumpRenderTree.m:
4063 (main): set AA settings to the default values
4065 2005-08-29 Darin Adler <darin@apple.com>
4067 Reviewed by John Sullivan.
4069 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
4070 executable -- much slower but can help pinpoint leaks. Changed formatting of some
4073 2005-08-28 Maciej Stachowiak <mjs@apple.com>
4077 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
4078 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
4080 * DumpRenderTree/DumpRenderTree.m:
4081 (main): set scrollbar arrow setting to a consistent value
4083 2005-08-27 Jussi Hagman <juhagman@abo.fi>
4085 Reviewed and landed by Darin.
4087 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
4088 output of update-webkit is too verbose
4090 * Scripts/update-webkit:
4091 Added option --quiet (-q) to decrease the amount of output.
4093 2005-08-27 Darin Adler <darin@apple.com>
4095 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
4096 cvs-create-patch --include-unknowns should ignore hidden files
4098 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
4100 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
4102 Reviewed, tweaked, and landed by Darin.
4104 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
4105 update-webkit doesn't notice when you have SVGSupport and update properly
4107 * Scripts/update-webkit: Build SVGSupport directory if it's present.
4109 2005-08-25 Anders Carlsson <andersca@mac.com>
4111 Reviewed and landed by Darin.
4113 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
4114 layout test machinery can't handle tests with applets that have code attributes
4116 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
4118 2005-08-24 Darin Adler <darin@apple.com>
4122 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
4123 DumpRenderTree --pixel-tests crash
4124 - landed some other small changes I had sitting in my tree
4126 * DumpRenderTree/DumpRenderTree.m:
4127 (main): Don't bother saving and restoring the preferences. Not sure
4128 why this was ever done since the preferences are specific to DumpRenderTree.
4129 Clear delegates before releasing the WebView, because you can't count on the
4130 order of object deallocation.
4131 (dumpRenderTree): Fix code that releases a string before storing it in a
4134 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
4135 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
4137 2005-08-23 Eric Seidel <eseidel@apple.com>
4141 * Scripts/run-webkit-tests:
4142 Made --leaks option more readable by printing to a file.
4143 http://bugs.webkit.org/show_bug.cgi?id=4590
4145 2005-08-22 Eric Seidel <eseidel@apple.com>
4146 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
4150 * Scripts/run-webkit-tests: hides "expected actual diffs" links
4151 when they are not needed (for pixel-only failures)
4152 http://bugs.webkit.org/show_bug.cgi?id=4584
4154 2005-08-22 Eric Seidel <eseidel@apple.com>
4158 * Scripts/run-webkit-tests: Added the ability to display more than
4159 just two images as part of the image-diff "slideshow".
4160 Added display of "-w3c.png" baseline images for SVG.
4161 http://bugs.webkit.org/show_bug.cgi?id=4581
4163 2005-08-20 Eric Seidel <eseidel@apple.com>
4165 * Scripts/run-webkit-tests:
4166 "build" fix after committing incorrect version.
4168 2005-08-20 Eric Seidel <eseidel@apple.com>
4172 * DumpRenderTree/DumpRenderTree.m:
4173 (main): cleans up delegates
4174 (dumpRenderTree): closes CFString/CFURL leak
4175 * Scripts/run-webkit-tests:
4176 Adds --leaks option to run-webkit-tests
4177 http://bugs.webkit.org/show_bug.cgi?id=4542
4179 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
4183 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
4184 new files to be included in the patch even without "cvs add".
4186 2005-08-19 Darin Adler <darin@apple.com>
4188 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
4189 non-cvs-generated patches. Anders has been creating these, so it's bad that
4190 the script can't handle them.
4191 * Scripts/cvs-unapply: Ditto.
4193 2005-08-18 Darin Adler <darin@apple.com>
4195 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
4196 "." in them -- based on complaint by someone here at Apple.
4198 2005-08-18 Eric Seidel <eseidel@apple.com>
4202 * Scripts/run-webkit-tests:
4203 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
4205 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4207 - add file that I forgot in the last checkin
4209 * DumpRenderTree/ImageDiff.m: Added.
4211 (getImageFromStdin):
4213 (getDifferenceBitmap):
4214 (computePercentageDifferent):
4216 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4218 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
4219 somewhat by me, and also tweaked by me a little bit.
4221 - better support for pixel-dumping
4222 - use checksums of the images so the tests are fast
4223 - change output format to make the tests run faster
4224 - don't dump pixel results for tests that dump as text
4226 * DumpKCanvasTree/DumpKCanvasTree.m:
4229 (md5HashStringForBitmap):
4231 (constrainSizeToMaximum):
4232 (getBitmapImageRepForSVGDocument):
4233 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4234 * DumpRenderTree/DumpRenderTree.m:
4238 (md5HashStringForBitmap):
4239 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4240 * Scripts/run-webkit-tests:
4242 2005-08-17 Maciej Stachowiak <mjs@apple.com>
4246 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
4248 * DumpRenderTree/DumpRenderTree.m:
4251 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>