1 2007-10-20 Eric Seidel <eric@webkit.org>
5 Add improved argument handling to run-sunspider, including
6 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
7 Also re-factor code into subroutines
9 * Scripts/build-dumprendertree: removed bogus comments
10 * Scripts/build-testkjs: Added.
11 * Scripts/run-javascriptcore-tests: use build-testkjs
12 * Scripts/run-sunspider: improved argument handling, abstraction
13 * Scripts/run-webkit-tests: improved abstraction
15 2007-10-20 Matt Lilek <webkit@mattlilek.com>
17 Not reviewed, Windows build fix.
19 * DumpRenderTree/win/EventSender.cpp:
22 2007-10-20 Darin Adler <darin@apple.com>
24 Reviewed by Tim Hatcher.
26 - http://bugs.webkit.org/show_bug.cgi?id=15544
27 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
28 not rely on Apple-specific key codes
30 * DumpRenderTree/mac/EventSendingController.mm:
31 (-[EventSendingController keyDown:withModifiers:]):
32 Added named key "rightArrow". Later we could have a whole table of these.
33 Also tweaked modifiers code a little.
35 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
37 2007-10-19 Darin Adler <darin@apple.com>
41 - http://bugs.webkit.org/show_bug.cgi?id=15566
42 possible fix for leak seen in DumpRenderTree
44 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
45 Delete the item if it's not put on the queue, since the caller has
46 no way of knowing that. Would be better to have the parameter type
47 be auto_ptr to express the fact that we take ownership.
51 * Drosera/mac/main.m: Add missing include.
53 2007-10-19 Kevin McCullough <kmccullough@apple.com>
57 - This change should be identical but for some reason was not working
60 * Scripts/prepare-ChangeLog:
62 2007-10-19 Kevin McCullough <kmccullough@apple.com>
64 Reviewed by Oliver and Tim.
66 - Made use of RetainPtr to avoid retain and release issues and moved the
67 log function to DebuggerDocumentPlatform, which seems to be a more
68 logical place for it to live.
69 - Also moved knownServers from the ServerConnection to
70 DebuggerApplication to match the Windows code and because it makes sense
71 that a connection knows its own server but not all of them.
73 * Drosera/mac/DebuggerClient.h: Moved the log function to
74 DebuggerDocumentPlatform.
75 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
76 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
77 call for the server name up from the ServerConnection class.
78 (-[DebuggerClient dealloc]):
79 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
80 for the server name up from the ServerConnection.
81 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
82 (DebuggerDocument::platformPause):
83 (DebuggerDocument::platformResume):
84 (DebuggerDocument::platformStepInto):
85 (DebuggerDocument::platformEvaluateScript):
86 (DebuggerDocument::getPlatformCurrentFunctionStack):
87 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
88 (DebuggerDocument::platformValueForScopeVariableNamed):
89 (DebuggerDocument::platformLog): Log directly from here. No need to call
91 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
92 way I see it, a ServerConnection should only know about its connection
93 and the group of all possible servers should be kept by the
95 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
96 currentServerName, it makes sense that the connection should know that
98 (-[ServerConnection currentServerName]):
100 2007-10-19 Kevin McCullough <kmccullough@apple.com>
104 - Integrated changes from mac drosera. Recently I've encapsulated
105 out the server connection object from the rest of Drosera because
106 it is very platform dependent right now and RPC is not implemented on
107 windows. This functionality, of communicating with the WebKit server
108 is the next area I will be focusing on in Windows.
110 - Other changes and cleanup were made to organize the code and add notes
111 on which parts still need work. Also some mac code is added and
112 commented out, to act as pseudocode for the logic of those parts.
114 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
116 * Drosera/config.h: Added whitespace.
117 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
118 these files got moved into Drosera.h/cpp
119 * Drosera/win/DebuggerApplication.h: Removed.
120 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
121 happened here to better match the logic flow of the same code on the
122 mac side and to use the new ServerConnection class.
123 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
124 (DebuggerClient::initWithServerName): Initializer that will set up the
125 class to use a ServerConnection object. This was necessary so I could
126 create a DebuggerClient without having to initilaize it at
128 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
129 will be the UIDelegate and FrameLoadDelegate.
130 (DebuggerClient::AddRef): For IUnknown.
131 (DebuggerClient::Release): For IUnknown.
132 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
133 this still needs to set the global context of the server, but
134 IWebFrame does not have an accessor for the global context yet.
135 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
136 this is a pass through for the same function in the document.
137 (DebuggerClient::didReceiveTitle): Unimplemented part of
138 FrameLoadDelegate this would change the title of the window.
139 (DebuggerClient::createWebViewWithRequest): Part of the
140 FrameLoadDelegate. This is about new windows via Window.open() and
141 how their delegates are set.
142 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
143 UIDelegate. Just a debug function for printing messages.
144 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
145 because the Client should be the UIDelegate and FrameLoadDelegate
146 to match the delegates on mac.
147 (DebuggerClient::webViewLoaded): Added accessor method.
148 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
149 forgotten to add this file before. This is where the platform
150 dependent versions of the Documents functions live. Most of these are
151 unimplemented because some piece of functionality does not exist on
153 (DebuggerDocument::platformPause):
154 (DebuggerDocument::platformResume):
155 (DebuggerDocument::platformStepInto):
156 (DebuggerDocument::platformEvaluateScript):
157 (DebuggerDocument::getPlatformCurrentFunctionStack):
158 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
159 (DebuggerDocument::platformValueForScopeVariableNamed):
160 (DebuggerDocument::platformLog):
161 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
162 responsibilities becaue they belong in the Client. Also I laid the
163 groundwork for attaching Drosera to a WebKit process
164 (attachWndProc): Now if a server is selected the Client becomes it's
166 (Drosera::Drosera): Added the construction of the Client and dictionary
168 (Drosera::initUI): This is no longer the delegates, the Client is.
169 (Drosera::webViewLoaded): Now asks the Client instead of holding local
171 (Drosera::applicationDidFinishLaunching): Placeholder for needed
172 notification registration when it's possible to implement.
173 (Drosera::serverLoaded): Ditto
174 (Drosera::serverUnloaded): Ditto
175 (Drosera::attach): Attach Drosera to the WebKit server.
176 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
179 (Drosera::knownServers):
180 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
181 and added the ServerConnection.
182 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
183 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
184 Most of the functions are completely unimlemented because they cannot
185 connect with the WebKit server, because one does not exist on Windows
187 (ServerConnection::initWithServerName):
188 (ServerConnection::~ServerConnection):
189 (ServerConnection::setGlobalContext):
190 (ServerConnection::pause):
191 (ServerConnection::resume):
192 (ServerConnection::stepInto):
193 (ServerConnection::switchToServerNamed):
194 (ServerConnection::applicationTerminating):
195 (ServerConnection::serverConnectionDidDie):
196 (ServerConnection::currentFrame):
197 * Drosera/win/ServerConnection.h: Added. Ditto.
198 (ServerConnection::ServerConnection):
200 2007-10-19 Alice Liu <alice.liu@apple.com>
204 Fix for these broken layout tests on Windows:
206 fast/forms/focus-selection-input.html
207 fast/forms/focus-selection-textarea.html
208 fast/forms/select-accesskey.html
210 * DumpRenderTree/win/EventSender.cpp:
212 correct the VK code for alt key.
214 2007-10-19 Eric Seidel <eric@webkit.org>
216 Reviewed by Mark Rowe.
218 Make the GtkLauncher code slightly more readable.
220 * GtkLauncher/main.cpp:
221 (setupMainMenu): Added.
222 (setupMainWindowUI): Added.
225 2007-10-19 Maciej Stachowiak <mjs@apple.com>
227 Rubber stamped by Adam.
229 - don't delay-load WebKit in DumpRenderTree.
231 * DumpRenderTree/win/DumpRenderTree.vcproj:
233 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
235 Reviewed by Adam Roben.
237 - fix <rdar://problem/5313523>
238 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
240 * DumpRenderTree/mac/DumpRenderTree.mm:
241 (dump): Changed to use _responseMIMEType.
243 2007-10-17 Adam Roben <aroben@apple.com>
245 Make it possible to have Windows-specific tests and results
247 When searching for tests to run and the Skipped file, we will only
248 look in platform/win and the cross-platform directory. When looking
249 for expected results, we will look in platform/win, then
250 platform/mac-leopard, then platform/mac, then finally the
251 cross-platform directory.
255 * Scripts/run-webkit-tests:
256 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
257 searching in the cross-platform directory.
258 (sub buildPlatformHierarchy): Removed some unneeded calls to
261 2007-10-17 Adam Roben <aroben@apple.com>
263 Add back the call to register WebKit that we had before WebKitInitializer existed
265 This is needed to ensure that the right WebKit is used when
266 instantiating COM objects.
270 * DumpRenderTree/win/debug_internal.vsprops: Define
271 DEBUG_WEBKIT_HAS_SUFFIX.
272 * DumpRenderTree/win/DumpRenderTree.cpp:
275 2007-10-17 Adam Roben <aroben@apple.com>
277 Import File::Basename in webkitdirs since we use it
281 * Scripts/webkitdirs.pm:
283 2007-10-17 Kevin McCullough <kmccullough@apple.com>
285 - Updated the tiger leaks list to make the internal bots green.
287 * Scripts/run-webkit-tests:
289 2007-10-17 Adam Roben <aroben@apple.com>
291 Build fix for VC++ Express
295 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
298 2007-10-16 Kevin McCullough <kmccullough@apple.com>
302 - Minor mac improvements based on observations I made while implementing the
305 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
306 then hand it to the Client who will retain it, it should just be the client who
307 creates and owns the server.
308 (-[DebuggerApplication attach:]):
309 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
310 * Drosera/mac/DebuggerClient.mm: Creates the server.
311 (-[DebuggerClient initWithServerName:]):
312 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
313 can instead forward declare what it needs.
315 2007-10-16 Darin Adler <darin@apple.com>
317 Reviewed by Geoff Garen.
319 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
320 want to turn failing tests into platform-specific test results. Also did a
321 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
322 would take the type of results into account only some of the time.
324 2007-10-16 Adam Roben <aroben@apple.com>
326 Add a new nightly launcher script for Windows
328 This new script is for versions of Safari that don't delay-load
329 WebKit. I had to make FindSafari be able to print out the nightly
330 launcher script on stdout because Windows shell scripts can't capture
331 the output from a command into an environment variable.
335 * FindSafari/FindSafari.cpp:
336 (_tmain): Added /printSafariLauncher option.
337 * Scripts/run-webkit-nightly.cmd: Added.
339 2007-10-16 Adam Roben <aroben@apple.com>
341 Replace WebKitInitializer with FindSafari
343 We now rely on setting the PATH environment variable to tell Windows
344 where to find WebKit and its dependencies (similar to
345 DYLD_FRAMEWORK_PATH on Mac).
347 This change also make DumpRenderTree no longer delay-load WebKit.
351 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
353 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
354 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
355 WebKitInitializer, don't delay-load WebKit.
356 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
357 * Scripts/run-webkit-tests: Ditto.
358 * Scripts/webkitdirs.pm:
359 (sub setPathForRunningWebKitApp): Added.
360 * WebKitInitializer/WebKitInitializer.cpp: Removed.
361 * WebKitInitializer/WebKitInitializer.h: Removed.
362 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
363 * WebKitInitializer/debug.vsprops: Removed.
364 * WebKitInitializer/debug_internal.vsprops: Removed.
365 * WebKitInitializer/release.vsprops: Removed.
367 2007-10-16 Adam Roben <aroben@apple.com>
369 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
371 http://bugs.webkit.org/show_bug.cgi?id=15532
373 FindSafari simply prints the location of an installed Safari.exe on
378 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
381 (getInstalledWebKitDirectory):
383 * FindSafari/FindSafari.vcproj: Added.
384 * Scripts/webkitdirs.pm:
385 (sub installedSafariPath): Added. Calls FindSafari on Windows.
387 2007-10-16 Adam Roben <aroben@apple.com>
389 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
391 Reviewed by Kevin McCullough.
393 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
394 when referring to WebKit.dll.
395 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
396 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
397 * DumpRenderTree/win/release.vsprops: Ditto.
398 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
399 never have a _debug suffix on WebKit.dll.
400 * WebKitInitializer/WebKitInitializer.cpp:
401 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
403 * WebKitInitializer/debug_internal.vsprops: Added
404 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
406 2007-10-16 Darin Adler <darin@apple.com>
410 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
411 Remove now-unneeded control/alt key hack; the tests have been updated.
413 2007-10-16 Kevin McCullough <kmccullough@apple.com>
415 - Updated leaks list because our internal bot upgraded it's version of leopard and
416 one of the leaks was fixed between that revision and the bot's previous version of
419 * Scripts/run-webkit-tests:
421 2007-10-15 Kevin McCullough <kmccullough@apple.com>
425 - I encapsulated out the server connecton functionality because it is a specific part
426 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
427 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
428 Windows. So the majority of this patch is moving preexisting functionality.
430 - Also I removed the prefix header and changed to use config.h because it is more
431 standard on how we use config.h in windows and it didn't make much sense to keep
432 the prefix header and the config.h
434 * Drosera/DebuggerDocument.cpp:
435 (DebuggerDocument::DebuggerDocument):
436 * Drosera/DebuggerDocument.h:
438 * Drosera/mac/DebuggerApplication.mm:
439 (-[DebuggerApplication attach:]):
440 * Drosera/mac/DebuggerClient.h:
441 * Drosera/mac/DebuggerClient.mm:
442 (-[DebuggerClient initWithServerConnection:]):
443 (-[DebuggerClient dealloc]):
444 (-[DebuggerClient windowDidLoad]):
445 (-[DebuggerClient windowWillClose:]):
446 (-[DebuggerClient webView:didFinishLoadForFrame:]):
447 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
448 * Drosera/mac/DebuggerDocumentPlatform.mm:
449 (DebuggerDocument::platformPause):
450 (DebuggerDocument::platformResume):
451 (DebuggerDocument::platformStepInto):
452 (DebuggerDocument::platformEvaluateScript):
453 (DebuggerDocument::getPlatformCurrentFunctionStack):
454 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
455 (DebuggerDocument::platformValueForScopeVariableNamed):
456 (DebuggerDocument::platformLog):
457 * Drosera/mac/Drosera.pch: Removed.
458 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
459 * Drosera/mac/ServerConnection.h: Added.
460 * Drosera/mac/ServerConnection.mm: Added.
461 (-[ServerConnection initWithServerName:]):
462 (-[ServerConnection dealloc]):
463 (-[ServerConnection setGlobalContext:]):
464 (-[ServerConnection pause]):
465 (-[ServerConnection resume]):
466 (-[ServerConnection stepInto]):
467 (-[ServerConnection switchToServerNamed:]):
468 (-[ServerConnection applicationTerminating:]):
469 (-[ServerConnection serverConnectionDidDie:]):
470 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
471 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
472 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
473 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
474 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
475 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
476 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
477 (-[ServerConnection currentFrame]):
478 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
479 (-[ServerConnection knownServers]):
481 2007-10-15 David Kilzer <ddkilzer@webkit.org>
485 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
486 Script to automatically search nightly builds for regressions (bisect-builds)
488 * Scripts/bisect-builds: Added.
490 2007-10-14 Maciej Stachowiak <mjs@apple.com>
494 - New JavaScript benchmark
495 http://bugs.webkit.org/show_bug.cgi?id=15515
497 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
498 current development or release build of JavaScriptCore.
500 2007-10-15 Mark Rowe <mrowe@apple.com>
504 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
506 * Scripts/webkitdirs.pm:
507 - Change checkArgv to remove the options from @ARGV to prevent
508 them from interfering with further option processing.
509 - Fix logic error in determineIsQt that would prevent it from bailing out early.
510 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
511 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
512 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
514 2007-10-15 Darin Adler <darin@apple.com>
518 - added logging of window.prompt and window.confirm
520 * DumpRenderTree/mac/UIDelegate.mm:
521 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
522 Implement the recommended delegate rather than the deprecated one.
523 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
525 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
528 * DumpRenderTree/win/UIDelegate.h:
529 * DumpRenderTree/win/UIDelegate.cpp:
530 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
531 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
532 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
533 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
535 2007-10-15 Alice Liu <alice.liu@apple.com>
537 Reviewed by Sam Weinig.
539 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
541 * DumpRenderTree/win/DumpRenderTree.cpp:
542 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
543 (main): allocate the global policy delegate for DRT's custom use
544 * DumpRenderTree/win/DumpRenderTree.vcproj:
545 Adding files to project
546 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
547 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
548 (LayoutTestController::setCustomPolicyDelegate):
549 set the webview's policy delegate to DRT's custom one if the test requests it.
550 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
551 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
552 (PolicyDelegate::PolicyDelegate):
553 (PolicyDelegate::QueryInterface):
554 (PolicyDelegate::AddRef):
555 (PolicyDelegate::Release):
556 (PolicyDelegate::decidePolicyForNavigationAction):
557 * DumpRenderTree/win/PolicyDelegate.h: Added.
558 (PolicyDelegate::decidePolicyForNewWindowAction):
559 (PolicyDelegate::decidePolicyForMIMEType):
560 (PolicyDelegate::unableToImplementPolicyWithError):
562 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
566 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
567 when querying for QMAKE_MKSPECS.
569 2007-10-14 Andrew Wellington <proton@wiretapped.net>
571 Reviewed by Adam Roben.
573 Fix run-webkit-tests is too greedy calculating platform hierarchy
574 http://bugs.webkit.org/show_bug.cgi?id=15465
576 Fix run-webkit-tests being too greedy in trying to split the platform name up
577 causing it to try and find tests in every directory above the first "-" in the
578 path to the LayoutTests
580 * Scripts/run-webkit-tests:
582 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
586 http://bugs.webkit.org/show_bug.cgi?id=15006
587 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
588 to reduce code duplication.
590 * Scripts/build-webkit:
591 * Scripts/webkitdirs.pm:
592 buildQMakeProject() renamed to buildQMakeQtProject().
593 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
594 unused $colorize has been removed.
596 === Start merge of feature-branch 2007-10-12 ===
598 2007-10-08 Eric Seidel <eric@webkit.org>
600 Reviewed by Mark Rowe.
602 * Scripts/build-webkit: add --help, remove unused --color
604 2007-10-07 Eric Seidel <eric@webkit.org>
608 * Drosera/mac/DebuggerDocumentPlatform.mm:
609 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
611 2007-10-03 Rob Buis <buis@kde.org>
615 Adapt to changed location of Ahem font.
617 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
619 2007-10-02 Eric Seidel <eric@webkit.org>
621 Reviewed by Adam Roben.
623 Make pixel tests more useful!
624 Finally fix the image diff 0.00% mystery problem
625 Highlight any image differences in the image diff.
626 Add a link from image diffs back to original test file.
628 * DumpRenderTree/mac/ImageDiff.m:
629 (compareImages): highlight any differences
630 (computePercentageDifferent): round to two decimal places
631 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
633 2007-10-02 Eric Seidel <eric@webkit.org>
635 Reviewed by Alexey Proskuryakov.
637 * Scripts/run-webkit-tests: print the % image difference on main results page
639 2007-10-02 Mark Rowe <mrowe@apple.com>
643 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
645 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
646 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
648 2007-10-01 Mark Rowe <mrowe@apple.com>
650 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
652 2007-09-25 Eric Seidel <eric@webkit.org>
654 Reviewed by Mark Rowe.
656 DerivedSources.make was finding "ENABLE_SVG" in the string
657 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
660 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
662 2007-09-25 Mark Rowe <mrowe@apple.com>
664 Rubber-stamped by Eric.
666 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
667 This makes it possible to automate nightly builds for the feature-branch.
669 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
671 Rubber stamped by Mark.
673 Enable svg experimental features as default here in feature-branch.
675 * Scripts/build-webkit:
677 2007-06-29 Antti Koivisto <antti@apple.com>
681 Add VIDEO flag for timed media features
683 * Scripts/build-webkit
685 === End merge of feature-branch 2007-10-12 ===
687 2007-10-11 Kevin McCullough <kmccullough@apple.com>
691 - Updated rational for the leaks list to be more clear.
693 * Scripts/run-webkit-tests:
695 2007-10-11 Kevin McCullough <kmccullough@apple.com>
699 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
700 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
702 * Scripts/run-webkit-tests:
704 2007-10-10 Simon Hausmann <hausmann@kde.org>
708 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
709 includes are needed for INT_MAX, std::auto_ptr and the like.
711 * DumpRenderTree/qt/main.cpp:
713 2007-10-09 Lars Knoll <lars@trolltech.com>
717 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
719 * DumpRenderTree/qt/jsobjects.cpp:
720 (LayoutTestController::encodeHostName):
721 (LayoutTestController::decodeHostName):
722 * DumpRenderTree/qt/jsobjects.h:
724 2007-10-09 Lars Knoll <lars@trolltech.com>
728 Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
730 * DumpRenderTree/qt/DumpRenderTree.cpp:
731 (WebCore::WebPage::createFrame):
732 (WebCore::DumpRenderTree::DumpRenderTree):
733 (WebCore::DumpRenderTree::titleChanged):
734 * DumpRenderTree/qt/DumpRenderTree.h:
735 * DumpRenderTree/qt/jsobjects.cpp:
736 (LayoutTestController::reset):
737 * DumpRenderTree/qt/jsobjects.h:
739 2007-10-09 Lars Knoll <lars@trolltech.com>
743 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
745 * DumpRenderTree/qt/DumpRenderTree.h:
746 * DumpRenderTree/qt/jsobjects.cpp:
747 (LayoutTestController::clearBackForwardList):
748 * DumpRenderTree/qt/jsobjects.h:
750 2007-10-09 Lars Knoll <lars@trolltech.com>
754 make --git-reviewer work again.
756 * Scripts/prepare-ChangeLog:
758 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
760 Rubber stamped by Eric.
762 Connect to the "hovering-over-link" signal emitted by WebKitPage and
763 show the current link inside the statusbar.
764 This shows how to make use of this signal and allows to easily test
765 http://bugs.webkit.org/show_bug.cgi?id=15299.
767 * GtkLauncher/main.cpp:
771 2007-10-05 Lars Knoll <lars@trolltech.com>
773 add proper error messages to the FrameLoaderClient.
774 Implement ChromeClientQt::closeWindowSoon and
775 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
776 Some fixes in DRT to make it work correctly with multiple windows.
780 * DumpRenderTree/qt/DumpRenderTree.cpp:
781 (WebCore::DumpRenderTree::DumpRenderTree):
782 (WebCore::DumpRenderTree::createWindow):
783 (WebCore::DumpRenderTree::windowCount):
784 * DumpRenderTree/qt/DumpRenderTree.h:
785 * DumpRenderTree/qt/jsobjects.cpp:
786 (LayoutTestController::maybeDump):
787 (LayoutTestController::windowCount):
788 * DumpRenderTree/qt/jsobjects.h:
790 2007-10-05 Lars Knoll <lars@trolltech.com>
792 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
793 Add support for layoutTextController.setCanOpenWindows() to DRT
794 fixing another 2 test cases in fast/dom/Window.
798 * DumpRenderTree/qt/DumpRenderTree.cpp:
799 (WebCore::WebPage::WebPage):
800 (WebCore::WebPage::createWindow):
801 (WebCore::DumpRenderTree::resetJSObjects):
802 (WebCore::DumpRenderTree::createWindow):
803 * DumpRenderTree/qt/DumpRenderTree.h:
804 * DumpRenderTree/qt/DumpRenderTree.pro:
805 * DumpRenderTree/qt/jsobjects.cpp:
806 (LayoutTestController::LayoutTestController):
807 (LayoutTestController::reset):
808 * DumpRenderTree/qt/jsobjects.h:
809 * DumpRenderTree/qt/main.cpp:
810 * DumpRenderTree/qt/testplugin.cpp: Added.
811 * DumpRenderTree/qt/testplugin.h: Added.
813 2007-10-04 Sam Weinig <sam@webkit.org>
815 Rubber stamped by Adam.
817 Remove empty directories.
819 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
820 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
822 2007-10-03 Darin Adler <darin@apple.com>
826 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
827 we find the internal libraries in the libraries directory. This
828 is helpful for Safari team engineers at Apple.
830 2007-10-03 Adam Roben <aroben@apple.com>
832 Update the location of AHEM___.TTF after r25968
836 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
838 2007-10-03 Alp Toker <alp@atoker.com>
842 http://bugs.webkit.org/show_bug.cgi?id=14726
843 [gtk] API design. Mapping the WebView delegates to signals.
845 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
847 * GtkLauncher/main.cpp:
851 (menuMainBackCallback):
852 (menuMainForwardCallback):
855 2007-10-03 Lars Knoll <lars@trolltech.com>
859 This fixes --strict mode in run-webkit-tests again after
860 the platform dependent test results have been moved.
862 * Scripts/run-webkit-tests:
864 2007-10-03 Lars Knoll <lars@trolltech.com>
868 remove the hack in run-webkit-tests that forced text only test
869 to be taken from the platform independent dir. It was only left
870 there from early days.
872 Remove platform dependent results for tests that are text only nowadays,
873 and add one platform dependent result for a text only test that requires it.
875 * Scripts/run-webkit-tests:
877 2007-10-03 Lars Knoll <lars@trolltech.com>
881 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
883 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
884 (WebCore::WebFrame::WebFrame):
885 (WebCore::WebPage::WebPage):
886 (WebCore::WebPage::createFrame):
887 (WebCore::WebPage::javaScriptAlert):
888 (WebCore::WebPage::javaScriptConsoleMessage):
889 (WebCore::DumpRenderTree::DumpRenderTree):
890 (WebCore::DumpRenderTree::~DumpRenderTree):
891 (WebCore::DumpRenderTree::open):
892 (WebCore::DumpRenderTree::readStdin):
893 (WebCore::DumpRenderTree::resetJSObjects):
894 (WebCore::DumpRenderTree::initJSObjects):
895 (WebCore::DumpRenderTree::dumpFramesAsText):
896 (WebCore::DumpRenderTree::dump):
897 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
898 (WebCore::DumpRenderTree::layoutTestController):
899 (WebCore::DumpRenderTree::eventSender):
900 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
901 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
902 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
903 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
904 (HackWebFrame::mousePressEvent):
905 (HackWebFrame::mouseReleaseEvent):
906 (HackWebFrame::mouseMoveEvent):
907 (HackWebFrame::HackWebFrame):
908 (HackWebFrame::~HackWebFrame):
909 (LayoutTestController::LayoutTestController):
910 (LayoutTestController::reset):
911 (LayoutTestController::maybeDump):
912 (LayoutTestController::waitUntilDone):
913 (LayoutTestController::notifyDone):
914 (LayoutTestController::dumpEditingCallbacks):
915 (LayoutTestController::queueReload):
916 (LayoutTestController::provisionalLoad):
917 (LayoutTestController::timerEvent):
918 (EventSender::EventSender):
919 (EventSender::mouseDown):
920 (EventSender::mouseUp):
921 (EventSender::mouseMoveTo):
922 (EventSender::leapForward):
923 (EventSender::keyDown):
924 (EventSender::frameUnderMouse):
925 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
926 (LayoutTestController::isLoading):
927 (LayoutTestController::setLoading):
928 (LayoutTestController::shouldDumpAsText):
929 (LayoutTestController::shouldDumpChildrenAsText):
930 (LayoutTestController::shouldWaitUntilDone):
931 (LayoutTestController::dumpAsText):
932 (LayoutTestController::dumpChildFramesAsText):
933 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
937 * Scripts/run-webkit-tests:
939 2007-10-03 Mark Rowe <mrowe@apple.com>
941 Reviewed by Alp Toker.
943 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
944 should take precedence over QTDIR when determining which port we are working with.
946 * Scripts/webkitdirs.pm:
948 2007-10-02 Adam Roben <aroben@apple.com>
950 Add keychain to the list of default packages to install
952 Rubberstamped by Sam.
954 * CygwinDownloader/cygwin-downloader.py:
955 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
957 2007-10-02 David Kilzer <ddkilzer@webkit.org>
961 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
962 Also makes WebCore regression test case logic work when using git.
964 * Scripts/prepare-ChangeLog:
965 (reviewerAndDescriptionForGitCommit): Added.
967 2007-10-02 Lars Knoll <lars@trolltech.com>
971 Add API to retrieve the frame name from QWebFrame.
972 Implement support for DRT::dumpChildrenAsText.
974 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
975 (WebCore::DumpRenderTree::dumpFramesAsText):
976 (WebCore::DumpRenderTree::dump):
977 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
978 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
979 (LayoutTestController::LayoutTestController):
980 (LayoutTestController::reset):
981 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
983 2007-10-02 Lars Knoll <lars@trolltech.com>
987 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
989 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
990 (WebCore::DumpRenderTree::readStdin):
992 2007-10-02 Mark Rowe <mrowe@apple.com>
996 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
998 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
999 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1001 2007-10-02 Mark Rowe <mrowe@apple.com>
1003 Rubber-stamped by Maciej.
1005 Configuration changes from build.webkit.org. The major change is refactoring to work
1006 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1009 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1010 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1011 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1012 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1013 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1014 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1015 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1016 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1018 2007-10-02 Lars Knoll <lars@trolltech.com>
1022 Add support for eventSender.mouseMove to DRT.
1023 Fixes fast/css/hover-affects-child.html
1025 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1026 (EventSender::mouseMoveTo):
1028 2007-10-01 Mark Rowe <mrowe@apple.com>
1030 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1032 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1036 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1038 * Scripts/svn-apply:
1039 (gitdiff2svndiff): Ignore lines beginning with "new file".
1040 * Scripts/svn-unapply:
1041 (gitdiff2svndiff): Ditto.
1043 2007-09-30 George Staikos <staikos@kde.org>
1045 Qt build fix (Mac OS X specific)
1047 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1049 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1053 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1054 Remove Bakefiles from svn.
1056 * GtkLauncher/Bakefiles.bkgen: Removed.
1057 * GtkLauncher/ENV: Removed.
1058 * GtkLauncher/gdklauncher.bkl: Removed.
1059 * GtkLauncher/mk: Removed.
1060 * Scripts/regenerate-makefiles: Removed.
1062 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1066 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1068 * Scripts/run-webkit-tests:
1070 2007-09-26 Adam Roben <aroben@apple.com>
1072 Make not finding an installed WebKit non-fatal
1074 What really matters is that we are able to load WebKit and its
1075 dependencies, not whether we think we've found an installed WebKit.
1079 * WebKitInitializer/WebKitInitializer.cpp:
1080 (getWebViewCLSID): Use new LOG_WARNING macro.
1081 (getInstalledWebKitDirectory): Ditto.
1082 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1084 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1086 2007-09-26 Adam Roben <aroben@apple.com>
1088 Committed this file before saving it
1090 * WebKitInitializer/debug_internal.vsprops:
1092 2007-09-26 Adam Roben <aroben@apple.com>
1094 Load WebKit and its dependencies manually so they come from DllDirectory
1096 I had to change WebKitInitializer to use malloc/free instead of
1097 new/delete to avoid pulling in WebKit (and its dependencies) early
1098 through use of fastMalloc.
1102 * WebKitInitializer/WebKitInitializer.cpp:
1103 (getStringValue): Changed to use malloc/free.
1104 (getInstalledWebKitDirectory): Ditto.
1105 (initializeWebKit): Call SetDllDirectory first, then load all of
1106 WebKit's dependencies manually, finally followed by WebKit itself.
1107 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1108 configuration to match our other projects.
1109 * WebKitInitializer/debug_internal.vsprops: Added.
1111 2007-09-25 Adam Roben <aroben@apple.com>
1113 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1115 Rubberstamped by Sam.
1117 * WebKitInitializer/WebKitInitializer.vcproj:
1119 2007-09-25 Adam Roben <aroben@apple.com>
1121 Make DumpRenderTree delay-load its dependencies
1123 This lets WebKitInitializer re-route the dependencies to be loaded out
1124 of the Safari installation directory.
1126 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1127 same thing), since we can't import the kCFAllocatorDefault symbol when
1128 delay-loading CoreFoundation.dll.
1130 Rubberstamped by Sam.
1132 * DumpRenderTree/win/DumpRenderTree.cpp:
1134 (javaScriptThreads):
1135 * DumpRenderTree/win/DumpRenderTree.vcproj:
1136 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1137 (LayoutTestController::setWaitToDump):
1139 2007-09-25 Adam Roben <aroben@apple.com>
1141 Pull ole32.lib into WebKitInitializer
1143 Rubberstamped by Sam.
1145 * WebKitInitializer/WebKitInitializer.vcproj:
1147 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1151 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1152 LGPL'ed files contain incorrect FSF address
1156 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1160 Make svn-apply and svn-unapply work with git-diff formatted patches.
1162 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1163 (gitdiff2svndiff): Added.
1164 * Scripts/svn-unapply: Ditto.
1165 (gitdiff2svndiff): Added.
1167 2007-09-25 Adam Roben <aroben@apple.com>
1169 Pull advapi32.lib into WebKitInitializer
1171 This is needed to get the registry functions we use.
1173 Rubberstamped by Sam.
1175 * WebKitInitializer/WebKitInitializer.vcproj:
1177 2007-09-25 Adam Roben <aroben@apple.com>
1179 Add python and rsync to cygwin-downloader
1181 Our build slaves need this, and it can't hurt for everyone else to
1186 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1187 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1189 2007-09-25 Adam Roben <aroben@apple.com>
1191 Add WebKitInitializer and use it in DumpRenderTree
1193 WebKitInitializer is a static library that has one function,
1194 initializeWebKit(). This registers WebKit and sets up the DLL search
1195 path so that WebKit's dependencies that are installed with Safari can
1200 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1201 DumpRenderTree depend on it.
1202 * DumpRenderTree/win/DumpRenderTree.cpp:
1203 (initialize): Call initializeWebKit.
1204 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1205 WebKitInitializer.lib.
1206 * WebKitInitializer/WebKitInitializer.cpp: Added.
1209 (getInstalledWebKitDirectory):
1211 * WebKitInitializer/WebKitInitializer.h: Added.
1212 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1213 * WebKitInitializer/debug.vsprops: Added.
1214 * WebKitInitializer/release.vsprops: Added.
1216 2007-09-25 Adam Roben <aroben@apple.com>
1218 Make run-webkit-tests respect set-webkit-configuration
1222 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1223 set-webkit-configuration was last set to.
1225 2007-09-25 Mark Rowe <mrowe@apple.com>
1227 Rubber-stamped by Eric.
1229 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1230 This makes it possible to automate nightly builds for the feature-branch.
1232 2007-09-25 Adam Roben <aroben@apple.com>
1234 A couple of fixes/enhancements to update-webkit-*-libs
1236 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1237 to tell update-webkit-support-libraries where it should find the
1238 WebKitSupportLibrary.zip file you downloaded.
1240 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1245 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1246 to $auxiliaryLibsURL and removed an irrelevant comment.
1247 * Scripts/update-webkit-support-libs:
1249 2007-09-25 Adam Treat <treat@kde.org>
1251 Reviewed by Simon and Lars.
1253 Refactors and cleans up Qt DRT member variable names, member variable
1254 initialization, style fixes and general code cleanup.
1256 Adds queueReload slot to LayoutTestController that some tests require.
1258 Subclasses QWebFrame to make sure that all frames have an associated
1259 LayoutTestController JS window object.
1261 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1262 aren't dumped twice.
1266 Together, this patch fixes some 20+ layout tests in QtWebKit.
1268 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1269 (WebCore::WebFrame::WebFrame):
1270 (WebCore::WebPage::WebPage):
1271 (WebCore::WebPage::createFrame):
1272 (WebCore::DumpRenderTree::DumpRenderTree):
1273 (WebCore::DumpRenderTree::open):
1274 (WebCore::DumpRenderTree::readStdin):
1275 (WebCore::DumpRenderTree::initJSObjects):
1276 (WebCore::DumpRenderTree::dump):
1277 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1278 (WebCore::DumpRenderTree::layoutTestController):
1279 (WebCore::DumpRenderTree::eventSender):
1280 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1281 (LayoutTestController::LayoutTestController):
1282 (LayoutTestController::reset):
1283 (LayoutTestController::maybeDump):
1284 (LayoutTestController::waitUntilDone):
1285 (LayoutTestController::notifyDone):
1286 (LayoutTestController::queueReload):
1287 (LayoutTestController::provisionalLoad):
1288 (EventSender::EventSender):
1289 (EventSender::mouseDown):
1290 (EventSender::mouseUp):
1291 (EventSender::mouseMoveTo):
1292 (EventSender::frameUnderMouse):
1293 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1294 (LayoutTestController::isLoading):
1295 (LayoutTestController::setLoading):
1296 (LayoutTestController::dumpAsText):
1297 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1300 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1303 - Reverted an accidentally checked in file.
1305 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1307 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1310 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1312 * DumpRenderTree/win/DumpRenderTree.vcproj:
1313 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1315 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
1317 Rubber stamped by Adam.
1319 * GdkLauncher: Removed.
1320 * GdkLauncher/Bakefiles.bkgen: Removed.
1321 * GdkLauncher/ENV: Removed.
1322 * GdkLauncher/GdkLauncher.pro: Removed.
1323 * GdkLauncher/gdklauncher.bkl: Removed.
1324 * GdkLauncher/main.cpp: Removed.
1325 * GdkLauncher/mk: Removed.
1326 * GdkLauncher/simple.svg: Removed.
1327 * GdkLauncher/text.html: Removed.
1328 * GtkLauncher: Added.
1329 * GtkLauncher/GdkLauncher.pro: Removed.
1330 * GtkLauncher/GtkLauncher.pro: Added.
1331 * GtkLauncher/main.cpp:
1332 (updateWindowTitle):
1334 * Scripts/build-webkit:
1335 * Scripts/regenerate-makefiles:
1336 * Scripts/run-javascriptcore-tests:
1337 * Scripts/run-launcher:
1338 * Scripts/run-webkit-tests:
1339 * Scripts/webkitdirs.pm:
1341 2007-09-21 Timothy Hatcher <timothy@apple.com>
1345 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1347 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1348 This is tested by plugins/root-object-premature-delete-crash.html.
1350 * DumpRenderTree/mac/ObjCController.m:
1351 (-[ObjCController accessStoredWebScriptObject]):
1353 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1357 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1359 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1360 (FrameLoadDelegate::FrameLoadDelegate):
1362 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
1366 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1367 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1369 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1370 Now isQt() and isGdk() use global variables that are only set once.
1372 An array of all the parameters is now given to build-dumprender which includes
1373 the platform on linux.
1375 * Scripts/build-dumprendertree:
1376 * Scripts/run-webkit-tests:
1377 * Scripts/webkitdirs.pm:
1379 2007-09-19 Adam Roben <aroben@apple.com>
1381 Rubberstamped by Hyatt.
1383 * Spinneret: Removed.
1385 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
1387 Reviewed by David Kilzer.
1389 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1391 2007-09-18 Sam Weinig <sam@webkit.org>
1393 Add JSRetainPtr.h #include to fix some builds.
1395 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1397 2007-09-18 Mike Hommey <glandium@debian.org>
1401 * Scripts/prepare-ChangeLog:
1402 - Properly parse GECOS field.
1403 - Use git configuration for user name and email when appropriate.
1405 2007-09-17 Sam Weinig <sam@webkit.org>
1409 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1411 2007-09-17 Sam Weinig <sam@webkit.org>
1413 Reviewed by Adam Roben.
1415 Share more code between mac and windows DRT.
1416 - GCController is now shared.
1417 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1419 * DumpRenderTree/GCController.cpp:
1420 * DumpRenderTree/win/DumpRenderTree.cpp:
1421 * DumpRenderTree/win/DumpRenderTree.vcproj:
1422 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1423 (FrameLoadDelegate::FrameLoadDelegate):
1424 (FrameLoadDelegate::~FrameLoadDelegate):
1425 (FrameLoadDelegate::windowScriptObjectAvailable):
1426 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1427 * DumpRenderTree/win/GCController.cpp: Removed.
1428 * DumpRenderTree/win/GCController.h: Removed.
1429 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1430 (GCController::collect):
1431 (GCController::collectOnAlternateThread):
1432 (GCController::getJSObjectCount):
1433 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1434 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1436 2007-09-17 Sam Weinig <sam@webkit.org>
1438 Reviewed by Adam Roben.
1440 Begin sharing code between mac and windows DRT.
1441 - both now share LayoutTestController.h/cpp and implement platform dependant
1442 operations in LayoutTestControllerMac/Win.
1443 - DumpRenderTree.h is now shared.
1444 - WorkQueue and WorkQueueItem are also shared.
1446 * DumpRenderTree/DumpRenderTree.h:
1447 * DumpRenderTree/LayoutTestController.cpp:
1448 * DumpRenderTree/win/DumpRenderTree.cpp:
1450 (dumpFrameScrollPosition):
1454 * DumpRenderTree/win/DumpRenderTree.h: Removed.
1455 * DumpRenderTree/win/DumpRenderTree.vcproj:
1456 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1457 * DumpRenderTree/win/EditingDelegate.cpp:
1458 (EditingDelegate::shouldBeginEditingInDOMRange):
1459 (EditingDelegate::shouldEndEditingInDOMRange):
1460 (EditingDelegate::shouldInsertNode):
1461 (EditingDelegate::shouldInsertText):
1462 (EditingDelegate::shouldDeleteDOMRange):
1463 (EditingDelegate::shouldChangeSelectedDOMRange):
1464 (EditingDelegate::shouldApplyStyle):
1465 (EditingDelegate::shouldChangeTypingStyle):
1466 (EditingDelegate::doPlatformCommand):
1467 (EditingDelegate::webViewDidBeginEditing):
1468 (EditingDelegate::webViewDidChange):
1469 (EditingDelegate::webViewDidEndEditing):
1470 (EditingDelegate::webViewDidChangeTypingStyle):
1471 (EditingDelegate::webViewDidChangeSelection):
1472 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
1473 * DumpRenderTree/win/LayoutTestController.h: Removed.
1474 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
1475 (LayoutTestController::addDisallowedURL):
1476 (LayoutTestController::clearBackForwardList):
1477 (LayoutTestController::copyDecodedHostName):
1478 (LayoutTestController::copyEncodedHostName):
1479 (LayoutTestController::display):
1480 (LayoutTestController::keepWebHistory):
1481 (LayoutTestController::notifyDone):
1482 (LayoutTestController::queueBackNavigation):
1483 (LayoutTestController::queueForwardNavigation):
1484 (jsStringRefToWString):
1485 (LayoutTestController::queueLoad):
1486 (LayoutTestController::queueReload):
1487 (LayoutTestController::queueScript):
1488 (LayoutTestController::setAcceptsEditing):
1489 (LayoutTestController::setCustomPolicyDelegate):
1490 (LayoutTestController::setMainFrameIsFirstResponder):
1491 (LayoutTestController::setTabKeyCyclesThroughElements):
1492 (LayoutTestController::setUseDashboardCompatibilityMode):
1493 (LayoutTestController::setUserStyleSheetEnabled):
1494 (LayoutTestController::setUserStyleSheetLocation):
1495 (LayoutTestController::setWindowIsKey):
1496 (waitUntilDoneWatchdogFired):
1497 (LayoutTestController::setWaitToDump):
1498 (LayoutTestController::windowCount):
1499 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
1500 (FrameLoadDelegate::didReceiveTitle):
1501 (FrameLoadDelegate::processWork):
1502 (FrameLoadDelegate::locationChangeDone):
1503 (FrameLoadDelegate::windowScriptObjectAvailable):
1504 * DumpRenderTree/win/WorkQueue.cpp: Removed.
1505 * DumpRenderTree/win/WorkQueue.h: Removed.
1506 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
1507 * DumpRenderTree/win/WorkQueueItem.h: Removed.
1508 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
1509 (jsStringRefToWString):
1511 (ScriptItem::invoke):
1513 2007-09-17 Sam Weinig <sam@webkit.org>
1515 Reviewed by Adam Roben.
1517 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
1519 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
1520 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
1521 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
1522 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
1523 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
1524 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
1525 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
1526 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
1527 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
1528 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
1529 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
1530 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
1531 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
1532 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
1533 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
1534 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
1535 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
1536 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
1537 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
1538 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
1539 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
1540 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
1541 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
1542 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
1543 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
1544 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
1545 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
1546 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
1547 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
1548 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
1549 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
1550 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
1551 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
1552 * DumpRenderTree/win: Added.
1553 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
1554 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
1555 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
1556 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
1557 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
1558 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
1559 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
1560 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
1561 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
1562 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
1563 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
1564 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
1565 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
1566 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1567 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
1568 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
1569 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
1570 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
1571 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1572 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1573 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
1574 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1575 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
1576 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
1577 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
1578 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
1580 2007-09-15 Mark Rowe <mrowe@apple.com>
1582 Build fix for DumpRenderTree.
1584 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
1586 2007-09-14 Sam Weinig <sam@webkit.org>
1588 Rubber stamped by Adam Roben.
1590 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
1591 - The UIDelegate was put into a new file while the FrameLoadDelegate was
1592 kept in the WaitUntilDoneDelegate file for the time being.
1594 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1596 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1597 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
1598 (UIDelegate::QueryInterface):
1599 (UIDelegate::AddRef):
1600 (UIDelegate::Release):
1601 (UIDelegate::hasCustomMenuImplementation):
1602 (UIDelegate::setFrame):
1603 (UIDelegate::webViewFrame):
1604 (UIDelegate::runJavaScriptAlertPanelWithMessage):
1605 (UIDelegate::webViewAddMessageToConsole):
1606 (UIDelegate::doDragDrop):
1607 (UIDelegate::webViewGetDlgCode):
1608 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
1609 (UIDelegate::UIDelegate):
1610 (UIDelegate::createWebViewWithRequest):
1611 (UIDelegate::webViewShow):
1612 (UIDelegate::webViewClose):
1613 (UIDelegate::webViewFocus):
1614 (UIDelegate::webViewUnfocus):
1615 (UIDelegate::webViewFirstResponder):
1616 (UIDelegate::makeFirstResponder):
1617 (UIDelegate::setStatusText):
1618 (UIDelegate::webViewStatusText):
1619 (UIDelegate::webViewAreToolbarsVisible):
1620 (UIDelegate::setToolbarsVisible):
1621 (UIDelegate::webViewIsStatusBarVisible):
1622 (UIDelegate::setStatusBarVisible):
1623 (UIDelegate::webViewIsResizable):
1624 (UIDelegate::setResizable):
1625 (UIDelegate::setContentRect):
1626 (UIDelegate::webViewContentRect):
1627 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1628 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1629 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
1630 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
1631 (UIDelegate::mouseDidMoveOverElement):
1632 (UIDelegate::contextMenuItemsForElement):
1633 (UIDelegate::validateUserInterfaceItem):
1634 (UIDelegate::shouldPerformAction):
1635 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
1636 (UIDelegate::willPerformDragDestinationAction):
1637 (UIDelegate::dragSourceActionMaskForPoint):
1638 (UIDelegate::willPerformDragSourceAction):
1639 (UIDelegate::contextMenuItemSelected):
1640 (UIDelegate::trackCustomPopupMenu):
1641 (UIDelegate::measureCustomMenuItem):
1642 (UIDelegate::drawCustomMenuItem):
1643 (UIDelegate::addCustomMenuDrawingData):
1644 (UIDelegate::cleanUpCustomMenuDrawingData):
1645 (UIDelegate::canTakeFocus):
1646 (UIDelegate::takeFocus):
1647 (UIDelegate::registerUndoWithTarget):
1648 (UIDelegate::removeAllActionsWithTarget):
1649 (UIDelegate::setActionTitle):
1652 (UIDelegate::canUndo):
1653 (UIDelegate::canRedo):
1654 (UIDelegate::webViewResizerRect):
1655 (UIDelegate::webViewDrawResizer):
1656 (UIDelegate::webViewScrolled):
1657 (UIDelegate::webViewShouldInterruptJavaScript):
1658 (UIDelegate::webViewReceivedFocus):
1659 (UIDelegate::webViewLostFocus):
1660 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
1661 (FrameLoadDelegate::QueryInterface):
1662 (FrameLoadDelegate::AddRef):
1663 (FrameLoadDelegate::Release):
1664 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1665 (FrameLoadDelegate::didCommitLoadForFrame):
1666 (FrameLoadDelegate::didReceiveTitle):
1667 (FrameLoadDelegate::processWork):
1669 (FrameLoadDelegate::locationChangeDone):
1670 (FrameLoadDelegate::didFinishLoadForFrame):
1671 (FrameLoadDelegate::didFailLoadWithError):
1672 (FrameLoadDelegate::windowScriptObjectAvailable):
1673 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
1674 (FrameLoadDelegate::FrameLoadDelegate):
1676 2007-09-14 Sam Weinig <sam@webkit.org>
1678 Reviewed by Kevin McCullough.
1680 Move mac specific globals in to mac/DumpRenderTreeMac.h
1682 * DumpRenderTree/DumpRenderTree.h:
1683 * DumpRenderTree/DumpRenderTree.mm: Removed.
1684 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1685 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
1686 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
1688 2007-09-14 Brady Eidson <beidson@apple.com>
1690 Rubberstamped by Weinig
1692 You know, Sam, some of us use case-sensitve filesystems...
1694 * DumpRenderTree/DumpRenderTree.h:
1695 * DumpRenderTree/mac/UIDelegate.mm:
1697 2007-09-14 Sam Weinig <sam@webkit.org>
1699 Rubber stamped by Adam Roben.
1701 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
1702 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
1704 * DumpRenderTree/AppleScriptController.h: Removed.
1705 * DumpRenderTree/AppleScriptController.m: Removed.
1706 * DumpRenderTree/DumpRenderTree.h:
1707 * DumpRenderTree/DumpRenderTree.mm:
1708 (startJavaScriptThreads):
1709 (stopJavaScriptThreads):
1711 (setDefaultColorProfileToRGB):
1712 (makeLargeMallocFailSilently):
1713 (dumpFrameScrollPosition):
1717 (-[DumpRenderTreeWindow isKeyWindow]):
1718 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1719 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
1720 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
1721 * DumpRenderTree/EditingDelegate.h: Removed.
1722 * DumpRenderTree/EditingDelegate.m: Removed.
1723 * DumpRenderTree/EventSendingController.h: Removed.
1724 * DumpRenderTree/EventSendingController.m: Removed.
1725 * DumpRenderTree/FrameLoadDelegate.h: Removed.
1726 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
1727 * DumpRenderTree/GCController.mm: Removed.
1728 * DumpRenderTree/ImageDiff.m: Removed.
1729 * DumpRenderTree/LayoutTestController.cpp:
1730 (LayoutTestController::LayoutTestController):
1731 (dumpAsTextCallback):
1732 (dumpBackForwardListCallback):
1733 (dumpChildFramesAsTextCallback):
1734 (dumpChildFrameScrollPositionsCallback):
1735 (dumpDOMAsWebArchiveCallback):
1736 (dumpEditingCallbacksCallback):
1737 (dumpFrameLoadCallbacksCallback):
1738 (dumpResourceLoadCallbacksCallback):
1739 (dumpSelectionRectCallback):
1740 (dumpSourceAsWebArchiveCallback):
1741 (dumpTitleChangesCallback):
1742 (repaintSweepHorizontallyCallback):
1743 (setCallCloseOnWebViewsCallback):
1744 (setCanOpenWindowsCallback):
1745 (setCloseRemainingWindowsWhenCompleteCallback):
1746 (testRepaintCallback):
1747 (addFileToPasteboardOnDragCallback):
1748 (waitUntilDoneCallback):
1749 * DumpRenderTree/LayoutTestController.h:
1750 (LayoutTestController::dumpAsText):
1751 (LayoutTestController::setDumpAsText):
1752 (LayoutTestController::dumpBackForwardList):
1753 (LayoutTestController::setDumpBackForwardList):
1754 (LayoutTestController::dumpChildFrameScrollPositions):
1755 (LayoutTestController::setDumpChildFrameScrollPositions):
1756 (LayoutTestController::dumpChildFramesAsText):
1757 (LayoutTestController::setDumpChildFramesAsText):
1758 (LayoutTestController::dumpDOMAsWebArchive):
1759 (LayoutTestController::setDumpDOMAsWebArchive):
1760 (LayoutTestController::dumpSelectionRect):
1761 (LayoutTestController::setDumpSelectionRect):
1762 (LayoutTestController::dumpSourceAsWebArchive):
1763 (LayoutTestController::setDumpSourceAsWebArchive):
1764 (LayoutTestController::dumpTitleChanges):
1765 (LayoutTestController::setDumpTitleChanges):
1766 (LayoutTestController::dumpEditingCallbacks):
1767 (LayoutTestController::setDumpEditingCallbacks):
1768 (LayoutTestController::dumpResourceLoadCallbacks):
1769 (LayoutTestController::setDumpResourceLoadCallbacks):
1770 (LayoutTestController::dumpFrameLoadCallbacks):
1771 (LayoutTestController::setDumpFrameLoadCallbacks):
1772 (LayoutTestController::addFileToPasteboardOnDrag):
1773 (LayoutTestController::setAddFileToPasteboardOnDrag):
1774 (LayoutTestController::callCloseOnWebViews):
1775 (LayoutTestController::setCallCloseOnWebViews):
1776 (LayoutTestController::canOpenWindows):
1777 (LayoutTestController::setCanOpenWindows):
1778 (LayoutTestController::closeRemainingWindowsWhenComplete):
1779 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1780 (LayoutTestController::testRepaint):
1781 (LayoutTestController::setTestRepaint):
1782 (LayoutTestController::testRepaintSweepHorizontally):
1783 (LayoutTestController::setTestRepaintSweepHorizontally):
1784 (LayoutTestController::waitToDump):
1785 (LayoutTestController::windowIsKey):
1786 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
1787 * DumpRenderTree/NavigationController.h: Removed.
1788 * DumpRenderTree/NavigationController.m: Removed.
1789 * DumpRenderTree/ObjCController.h: Removed.
1790 * DumpRenderTree/ObjCController.m: Removed.
1791 * DumpRenderTree/ObjCPlugin.h: Removed.
1792 * DumpRenderTree/ObjCPlugin.m: Removed.
1793 * DumpRenderTree/ObjCPluginFunction.h: Removed.
1794 * DumpRenderTree/ObjCPluginFunction.m: Removed.
1795 * DumpRenderTree/PolicyDelegate.h: Removed.
1796 * DumpRenderTree/PolicyDelegate.m: Removed.
1797 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
1798 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
1799 * DumpRenderTree/TextInputController.h: Removed.
1800 * DumpRenderTree/TextInputController.m: Removed.
1801 * DumpRenderTree/UIDelegate.h: Removed.
1802 * DumpRenderTree/UIDelegate.mm: Removed.
1803 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
1804 * DumpRenderTree/mac: Added.
1805 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
1806 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
1807 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
1808 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
1809 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
1810 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
1811 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1812 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1813 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1814 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1815 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1816 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1817 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1818 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1819 (-[EditingDelegate webViewDidBeginEditing:]):
1820 (-[EditingDelegate webViewDidChange:]):
1821 (-[EditingDelegate webViewDidEndEditing:]):
1822 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1823 (-[EditingDelegate webViewDidChangeSelection:]):
1824 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
1825 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
1826 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
1827 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
1828 (-[FrameLoadDelegate init]):
1829 (-[FrameLoadDelegate dealloc]):
1830 (-[FrameLoadDelegate processWork:]):
1831 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1832 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1833 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1834 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1835 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1836 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1837 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1838 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1839 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1840 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1841 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1842 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1843 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1844 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1845 (-[FrameLoadDelegate webView:willCloseFrame:]):
1846 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1847 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1848 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
1849 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
1850 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
1851 (LayoutTestController::notifyDone):
1852 (LayoutTestController::setWindowIsKey):
1853 (LayoutTestController::setWaitToDump):
1854 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
1855 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
1856 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
1857 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
1858 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
1859 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
1860 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
1861 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
1862 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
1863 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
1864 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
1865 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
1866 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1867 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1868 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1869 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1870 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1871 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1872 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
1873 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
1874 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
1875 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
1876 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1877 (-[UIDelegate webViewFocus:]):
1878 (-[UIDelegate webView:createWebViewWithRequest:]):
1879 (-[UIDelegate webViewClose:]):
1880 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
1882 2007-09-14 Kevin McCullough <kmccullough@apple.com>
1886 - Changing Win version of Drosera work with recent changes.
1888 * Drosera/DebuggerDocument.cpp:
1889 * Drosera/DebuggerDocument.h:
1890 * Drosera/mac/DebuggerDocumentPlatform.mm:
1891 (NSStringCreateWithJSStringRef):
1892 (JSValueRefCreateWithNSString):
1893 * Drosera/win/DebuggerClient.cpp:
1894 (DebuggerClient::stepInto):
1895 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1897 2007-09-13 Kevin McCullough <kmccullough@apple.com>
1901 - Moved isPaused into the JS for efficiency and simplicity.
1903 * Drosera/DebuggerDocument.cpp:
1904 (DebuggerDocument::DebuggerDocument):
1905 (DebuggerDocument::pauseCallback):
1906 (DebuggerDocument::resumeCallback):
1907 (DebuggerDocument::isPaused):
1908 (DebuggerDocument::staticFunctions):
1909 * Drosera/DebuggerDocument.h:
1910 * Drosera/console.js:
1911 * Drosera/debugger.js:
1912 * Drosera/mac/DebuggerClient.mm:
1913 (-[DebuggerClient validateUserInterfaceItem:]):
1915 2007-09-13 Sam Weinig <sam@webkit.org>
1917 Rubber stamped by Darin.
1919 Make DumpRenderTree more cross platform ready.
1920 - Convert GCController to use the JSCore API instead of the WebScriptObject.
1921 - Use CF types instead of NS objects.
1924 * DumpRenderTree/DumpRenderTree.h:
1925 * DumpRenderTree/DumpRenderTree.mm:
1929 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1930 * DumpRenderTree/EditingDelegate.m:
1931 * DumpRenderTree/FrameLoadDelegate.h:
1932 * DumpRenderTree/FrameLoadDelegate.mm:
1933 (-[FrameLoadDelegate init]):
1934 (-[FrameLoadDelegate dealloc]):
1935 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1936 * DumpRenderTree/GCController.cpp: Added.
1937 (GCController::GCController):
1938 (GCController::~GCController):
1940 (collectOnAlternateThreadCallback):
1941 (getJSObjectCountCallback):
1942 (GCController::makeWindowObject):
1943 (GCController::getJSClass):
1944 (GCController::staticFunctions):
1945 * DumpRenderTree/GCController.h:
1946 * DumpRenderTree/GCController.mm:
1947 (GCController::collect):
1948 (GCController::collectOnAlternateThread):
1949 (GCController::getJSObjectCount):
1950 * DumpRenderTree/LayoutTestController.cpp:
1951 (LayoutTestController::makeWindowObject):
1952 (LayoutTestController::getJSClass):
1953 * DumpRenderTree/LayoutTestController.h:
1954 * DumpRenderTree/LayoutTestControllerMac.mm:
1955 (LayoutTestController::addDisallowedURL):
1956 (waitUntilDoneWatchdogFired):
1957 (LayoutTestController::waitUntilDone):
1958 * DumpRenderTree/ResourceLoadDelegate.m:
1959 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1961 2007-09-12 Sam Weinig <sam@webkit.org>
1963 Reviewed by Stephanie.
1965 Fix leaks in mac DumpRenderTree.
1967 * DumpRenderTree/FrameLoadDelegate.mm:
1968 (-[FrameLoadDelegate init]): Initalize in the correct order.
1969 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
1970 * DumpRenderTree/LayoutTestController.cpp:
1971 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
1972 (encodeHostNameCallback): ditto.
1973 * DumpRenderTree/LayoutTestController.h:
1974 * DumpRenderTree/LayoutTestControllerMac.mm:
1975 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
1976 (LayoutTestController::copyEncodedHostName): ditto
1977 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
1979 2007-09-12 Kevin McCullough <kmccullough@apple.com>
1983 - Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on. This will allow us to get the bot green, but later we should remove it.
1985 * Scripts/run-webkit-tests:
1987 2007-09-12 Kevin McCullough <kmccullough@apple.com>
1991 - Simplified code paths and extracted out functions to increase encapsulation.
1993 * Drosera/DebuggerDocument.cpp:
1994 (DebuggerDocument::breakpointEditorHTMLCallback):
1995 (DebuggerDocument::isPausedCallback):
1996 (DebuggerDocument::pauseCallback):
1997 (DebuggerDocument::resumeCallback):
1998 (DebuggerDocument::stepIntoCallback):
1999 (DebuggerDocument::evaluateScriptCallback):
2000 (DebuggerDocument::currentFunctionStackCallback):
2001 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2002 (DebuggerDocument::valueForScopeVariableNamedCallback):
2003 (DebuggerDocument::logCallback):
2004 * Drosera/DebuggerDocument.h:
2005 (DebuggerDocument::getPaused):
2006 * Drosera/mac/DebuggerClient.mm:
2007 (-[DebuggerClient pause:]):
2008 (-[DebuggerClient resume:]):
2009 (-[DebuggerClient stepInto:]):
2010 (-[DebuggerClient stepOver:]):
2011 (-[DebuggerClient stepOut:]):
2012 (-[DebuggerClient showConsole:]):
2013 (-[DebuggerClient closeCurrentFile:]):
2014 (-[DebuggerClient validateUserInterfaceItem:]):
2015 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2016 (+[NSString stringOrNilFromWebScriptResult:]):
2017 (DebuggerDocument::platformPause):
2018 (DebuggerDocument::platformResume):
2019 (DebuggerDocument::platformStepInto):
2020 (DebuggerDocument::platformEvaluateScript):
2021 (DebuggerDocument::getPlatformCurrentFunctionStack):
2022 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2023 (DebuggerDocument::platformValueForScopeVariableNamed):
2024 (DebuggerDocument::platformLog):
2025 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2027 2007-09-12 Sam Weinig <sam@webkit.org>
2029 Build fix for Buildbot.
2031 * DumpRenderTree/DumpRenderTree.mm:
2034 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2038 - Updated the leaks list for leopard to help identify regressions.
2040 * Scripts/run-webkit-tests:
2042 2007-09-12 Sam Weinig <sam@webkit.org>
2044 Rubber stamped by Darin.
2046 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2048 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2049 * DumpRenderTree/DumpRenderTree.m: Removed.
2050 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2051 (stopJavaScriptThreads): Fix initialization.
2052 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2053 (dumpRenderTree): Ditto.
2055 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2057 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2058 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2059 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2060 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2061 (-[FrameLoadDelegate init]):
2062 (-[FrameLoadDelegate dealloc]):
2063 (-[FrameLoadDelegate processWork:]):
2064 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2065 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2066 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2068 * DumpRenderTree/LayoutTestController.cpp: Added.
2069 (LayoutTestController::LayoutTestController):
2070 (LayoutTestController::~LayoutTestController):
2071 (dumpAsTextCallback):
2072 (dumpBackForwardListCallback):
2073 (dumpChildFramesAsTextCallback):
2074 (dumpChildFrameScrollPositionsCallback):
2075 (dumpDOMAsWebArchiveCallback):
2076 (dumpEditingCallbacksCallback):
2077 (dumpFrameLoadCallbacksCallback):
2078 (dumpResourceLoadCallbacksCallback):
2079 (dumpSelectionRectCallback):
2080 (dumpSourceAsWebArchiveCallback):
2081 (dumpTitleChangesCallback):
2082 (repaintSweepHorizontallyCallback):
2083 (setCallCloseOnWebViewsCallback):
2084 (setCanOpenWindowsCallback):
2085 (setCloseRemainingWindowsWhenCompleteCallback):
2086 (testRepaintCallback):
2087 (addFileToPasteboardOnDragCallback):
2088 (addDisallowedURLCallback):
2089 (clearBackForwardListCallback):
2090 (decodeHostNameCallback):
2092 (encodeHostNameCallback):
2093 (keepWebHistoryCallback):
2094 (notifyDoneCallback):
2095 (queueBackNavigationCallback):
2096 (queueForwardNavigationCallback):
2097 (queueLoadCallback):
2098 (queueReloadCallback):
2099 (queueScriptCallback):
2100 (setAcceptsEditingCallback):
2101 (setCustomPolicyDelegateCallback):
2102 (setMainFrameIsFirstResponderCallback):
2103 (setTabKeyCyclesThroughElementsCallback):
2104 (setUseDashboardCompatibilityModeCallback):
2105 (setUserStyleSheetEnabledCallback):
2106 (setUserStyleSheetLocationCallback):
2107 (setWindowIsKeyCallback):
2108 (waitUntilDoneCallback):
2109 (windowCountCallback):
2110 (LayoutTestController::makeWindowObject):
2111 (LayoutTestController::getLayoutTestControllerJSClass):
2112 (LayoutTestController::staticFunctions):
2113 * DumpRenderTree/LayoutTestController.h: Replaced.
2114 * DumpRenderTree/LayoutTestController.m: Removed.
2115 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2116 (LayoutTestController::dumpAsText):
2117 (LayoutTestController::dumpBackForwardList):
2118 (LayoutTestController::dumpChildFramesAsText):
2119 (LayoutTestController::dumpChildFrameScrollPositions):
2120 (LayoutTestController::dumpDOMAsWebArchive):
2121 (LayoutTestController::dumpEditingCallbacks):
2122 (LayoutTestController::dumpFrameLoadCallbacks):
2123 (LayoutTestController::dumpResourceLoadCallbacks):
2124 (LayoutTestController::dumpSelectionRect):
2125 (LayoutTestController::dumpSourceAsWebArchive):
2126 (LayoutTestController::dumpTitleChanges):
2127 (LayoutTestController::repaintSweepHorizontally):
2128 (LayoutTestController::setCallCloseOnWebViews):
2129 (LayoutTestController::setCanOpenWindows):
2130 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2131 (LayoutTestController::testRepaint):
2132 (LayoutTestController::addFileToPasteboardOnDrag):
2133 (LayoutTestController::addDisallowedURL):
2134 (LayoutTestController::clearBackForwardList):
2135 (LayoutTestController::decodeHostName):
2136 (LayoutTestController::encodeHostName):
2137 (LayoutTestController::display):
2138 (LayoutTestController::keepWebHistory):
2139 (LayoutTestController::notifyDone):
2140 (LayoutTestController::queueBackNavigation):
2141 (LayoutTestController::queueForwardNavigation):
2142 (LayoutTestController::queueLoad):
2143 (LayoutTestController::queueReload):
2144 (LayoutTestController::queueScript):
2145 (LayoutTestController::setAcceptsEditing):
2146 (LayoutTestController::setCustomPolicyDelegate):
2147 (LayoutTestController::setMainFrameIsFirstResponder):
2148 (LayoutTestController::setTabKeyCyclesThroughElements):
2149 (LayoutTestController::setUseDashboardCompatibilityMode):
2150 (LayoutTestController::setUserStyleSheetEnabled):
2151 (LayoutTestController::setUserStyleSheetLocation):
2152 (LayoutTestController::setWindowIsKey):
2153 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2154 (LayoutTestController::waitUntilDone):
2155 (LayoutTestController::windowCount):
2156 Use the JSCore API to implement the LayoutTestController.
2158 * DumpRenderTree/ObjCController.h:
2159 * DumpRenderTree/ObjCController.m:
2160 (+[ObjCController isSelectorExcludedFromWebScript:]):
2161 (+[ObjCController webScriptNameForSelector:]):
2162 (-[ObjCController accessStoredWebScriptObject]):
2163 (-[ObjCController storeWebScriptObject:]):
2164 (-[ObjCController dealloc]):
2165 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2166 Move WebScriptObject tests to ObjCController.
2168 * DumpRenderTree/UIDelegate.m: Removed.
2169 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2171 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2172 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2173 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2174 (WorkQueueItem::~WorkQueueItem):
2175 (LoadItem::LoadItem):
2178 (ScriptItem::ScriptItem):
2179 (ScriptItem::script):
2180 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2182 (ReloadItem::invoke):
2183 (ScriptItem::invoke):
2184 (BackForwardItem::invoke):
2185 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2186 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2189 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2193 - Updated Win side to take advantage of the platform separating changes.
2195 * Drosera/DebuggerDocument.cpp:
2196 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2197 * Drosera/DebuggerDocument.h:
2198 * Drosera/win/DebuggerClient.cpp:
2199 (DebuggerClient::pause):
2200 (DebuggerClient::resume):
2201 (DebuggerClient::stepInto):
2202 (DebuggerDocument::platformPause):
2203 (DebuggerDocument::platformResume):
2204 (DebuggerDocument::platformStepInto):
2205 (DebuggerDocument::platformEvaluateScript):
2206 (DebuggerDocument::getPlatformCurrentFunctionStack):
2207 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2208 (DebuggerDocument::platformValueForScopeVariableNamed):
2209 (DebuggerDocument::platformLog):
2210 * Drosera/win/DebuggerClient.h:
2211 * Drosera/win/Drosera.cpp:
2213 (Drosera::windowScriptObjectAvailable):
2214 (Drosera::initWithServerName):
2215 (Drosera::switchToServerNamed):
2216 * Drosera/win/Drosera.h:
2217 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2219 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2223 - Just doing the moves in a separate patch so the changes are easier to see.
2225 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2226 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2227 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2228 * Drosera/win/DebuggerDocumentWin.h: Removed.
2229 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2231 2007-09-11 Sven Herzberg <sven@imendio.com>
2233 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2234 http://bugs.webkit.org/show_bug.cgi?id=15176
2236 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2237 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2238 other paths eg. from jhbuild)
2240 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2244 - Made an order-of-deletion mistake.
2246 * Drosera/DebuggerDocument.h:
2247 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2248 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2249 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2250 * Drosera/mac/DebuggerClient.mm:
2251 (DebuggerDocument::platformPause):
2252 (DebuggerDocument::platformResume):
2253 (DebuggerDocument::platformStepInto):
2254 (DebuggerDocument::platformEvaluateScript):
2255 (DebuggerDocument::getPlatformCurrentFunctionStack):
2256 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2257 (DebuggerDocument::platformValueForScopeVariableNamed):
2258 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2260 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2264 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2266 * Drosera/DebuggerDocument.cpp:
2267 (DebuggerDocument::DebuggerDocument):
2268 * Drosera/DebuggerDocument.h:
2269 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2270 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2271 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2272 * Drosera/mac/DebuggerApplication.mm:
2273 (-[DebuggerApplication attach:]):
2274 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2275 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2276 (DebuggerDocument::platformPause):
2277 (DebuggerDocument::platformResume):
2278 (DebuggerDocument::platformStepInto):
2279 (DebuggerDocument::platformEvaluateScript):
2280 (DebuggerDocument::getPlatformCurrentFunctionStack):
2281 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2282 (DebuggerDocument::platformValueForScopeVariableNamed):
2283 (DebuggerDocument::platformLog):
2284 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2285 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2286 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2288 2007-09-09 Sam Weinig <sam@webkit.org>
2290 Reviewed by Mark Rowe.
2292 Remove 'objC' prefix from methods now in the ObjCController.
2294 * DumpRenderTree/ObjCController.m:
2295 (+[ObjCController isSelectorExcludedFromWebScript:]):
2296 (+[ObjCController webScriptNameForSelector:]):
2297 (-[ObjCController classNameOf:]):
2298 (-[ObjCController objectOfClass:]):
2299 (-[ObjCController identityIsEqual::]):
2300 (-[ObjCController longLongRoundTrip:]):
2301 (-[ObjCController unsignedLongLongRoundTrip:]):
2303 2007-09-09 Sam Weinig <sam@webkit.org>
2307 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
2308 - Move LayoutTestController into its own file.
2309 - Move Objective-C only functions on LayoutTestController into a new controller called the
2312 * DumpRenderTree/DumpRenderTree.h:
2313 * DumpRenderTree/DumpRenderTree.m:
2315 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2316 * DumpRenderTree/FrameLoadDelegate.m:
2317 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2318 * DumpRenderTree/LayoutTestController.h: Added.
2319 * DumpRenderTree/LayoutTestController.m: Added.
2320 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2321 (+[LayoutTestController webScriptNameForSelector:]):
2322 (-[LayoutTestController clearBackForwardList]):
2323 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2324 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2325 (-[LayoutTestController setCustomPolicyDelegate:]):
2326 (-[LayoutTestController keepWebHistory]):
2327 (-[LayoutTestController setCallCloseOnWebViews:]):
2328 (-[LayoutTestController setCanOpenWindows]):
2329 (-[LayoutTestController waitUntilDone]):
2330 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2331 (-[LayoutTestController notifyDone]):
2332 (-[LayoutTestController dumpAsText]):
2333 (-[LayoutTestController addFileToPasteboardOnDrag]):
2334 (-[LayoutTestController addDisallowedURL:]):
2335 (-[LayoutTestController setUserStyleSheetLocation:]):
2336 (-[LayoutTestController setUserStyleSheetEnabled:]):
2337 (-[LayoutTestController dumpDOMAsWebArchive]):
2338 (-[LayoutTestController dumpSourceAsWebArchive]):
2339 (-[LayoutTestController dumpSelectionRect]):
2340 (-[LayoutTestController dumpTitleChanges]):
2341 (-[LayoutTestController dumpBackForwardList]):
2342 (-[LayoutTestController windowCount]):
2343 (-[LayoutTestController dumpChildFrameScrollPositions]):
2344 (-[LayoutTestController dumpChildFramesAsText]):
2345 (-[LayoutTestController dumpEditingCallbacks]):
2346 (-[LayoutTestController dumpResourceLoadCallbacks]):
2347 (-[LayoutTestController dumpFrameLoadCallbacks]):
2348 (-[LayoutTestController setWindowIsKey:]):
2349 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2350 (-[LayoutTestController display]):
2351 (-[LayoutTestController testRepaint]):
2352 (-[LayoutTestController repaintSweepHorizontally]):
2353 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2354 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2355 (-[LayoutTestController _doLoad:target:]):
2356 (-[LayoutTestController _doBackOrForwardNavigation:]):
2357 (-[LayoutTestController queueBackNavigation:]):
2358 (-[LayoutTestController queueForwardNavigation:]):
2359 (-[LayoutTestController queueReload]):
2360 (-[LayoutTestController queueScript:]):
2361 (-[LayoutTestController queueLoad:target:]):
2362 (-[LayoutTestController setAcceptsEditing:]):
2363 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2364 (-[LayoutTestController storeWebScriptObject:]):
2365 (-[LayoutTestController accessStoredWebScriptObject]):
2366 (-[LayoutTestController dealloc]):
2367 (-[LayoutTestController decodeHostName:]):
2368 (-[LayoutTestController encodeHostName:]):
2369 * DumpRenderTree/ObjCController.h: Added.
2370 * DumpRenderTree/ObjCController.m: Added.
2371 (+[ObjCController isSelectorExcludedFromWebScript:]):
2372 (+[ObjCController webScriptNameForSelector:]):
2373 (-[ObjCController objCClassNameOf:]):
2374 (-[ObjCController objCObjectOfClass:]):
2375 (-[ObjCController objCIdentityIsEqual::]):
2376 (-[ObjCController objCLongLongRoundTrip:]):
2377 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2378 (-[ObjCController testWrapperRoundTripping:]):
2380 2007-09-07 Sam Weinig <sam@webkit.org>
2384 Strip trailing and leading space/newline characters from skiplist file names.
2386 * Scripts/run-webkit-tests:
2388 2007-09-06 Kevin McCullough <kmccullough@apple.com>
2392 - Changed Drosera to take advantage of the JSRetainPtr changes.
2394 * Drosera/DebuggerDocument.cpp:
2395 (DebuggerDocument::breakpointEditorHTML):
2396 (DebuggerDocument::evaluateScript):
2397 (DebuggerDocument::valueForScopeVariableNamed):
2398 (DebuggerDocument::log):
2399 (DebuggerDocument::windowScriptObjectAvailable):
2400 (DebuggerDocument::toJSArray):
2401 (DebuggerDocument::callFunctionOnObject):
2402 (DebuggerDocument::logException):
2403 * Drosera/mac/DebuggerDocumentMac.mm:
2404 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2405 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2406 (DebuggerDocument::platformEvaluateScript):
2407 (DebuggerDocument::getPlatformCurrentFunctionStack):
2408 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2409 (DebuggerDocument::platformValueForScopeVariableNamed):
2411 2007-09-05 Kevin McCullough <kmccullough@apple.com>
2413 Reviewed by Adam, Sam, Darin.
2415 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
2417 * Drosera/Debugger.h: Added.
2418 * Drosera/DebuggerDocument.cpp:
2419 (DebuggerDocument::breakpointEditorHTMLCallback):
2420 (DebuggerDocument::isPausedCallback):
2421 (DebuggerDocument::pauseCallback):
2422 (DebuggerDocument::resumeCallback):
2423 (DebuggerDocument::stepIntoCallback):
2424 (DebuggerDocument::evaluateScriptCallback):
2425 (DebuggerDocument::currentFunctionStackCallback):
2426 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2427 (DebuggerDocument::valueForScopeVariableNamedCallback):
2428 (DebuggerDocument::logCallback):
2429 (DebuggerDocument::breakpointEditorHTML):
2430 (DebuggerDocument::isPaused):
2431 (DebuggerDocument::pause):
2432 (DebuggerDocument::resume):
2433 (DebuggerDocument::stepInto):
2434 (DebuggerDocument::evaluateScript):
2435 (DebuggerDocument::currentFunctionStack):
2436 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2437 (DebuggerDocument::valueForScopeVariableNamed):
2438 (DebuggerDocument::log):
2439 (DebuggerDocument::toolbarPause):
2440 (DebuggerDocument::toolbarResume):
2441 (DebuggerDocument::toolbarStepInto):
2442 (DebuggerDocument::toolbarStepOver):
2443 (DebuggerDocument::toolbarStepOut):
2444 (DebuggerDocument::toolbarShowConsole):
2445 (DebuggerDocument::toolbarCloseCurrentFile):
2446 (DebuggerDocument::updateFileSource):
2447 (DebuggerDocument::didParseScript):
2448 (DebuggerDocument::willExecuteStatement):
2449 (DebuggerDocument::didEnterCallFrame):
2450 (DebuggerDocument::willLeaveCallFrame):
2451 (DebuggerDocument::exceptionWasRaised):
2452 (DebuggerDocument::windowScriptObjectAvailable):
2453 (DebuggerDocument::toJSArray):
2454 (DebuggerDocument::callGlobalFunction):
2455 (DebuggerDocument::callFunctionOnObject):
2456 (DebuggerDocument::getDroseraJSClass):
2457 (DebuggerDocument::staticFunctions):
2458 (DebuggerDocument::logException):
2459 * Drosera/DebuggerDocument.h:
2460 (DebuggerDocument::DebuggerDocument):
2461 * Drosera/ForwardingHeaders: Added.
2462 * Drosera/ForwardingHeaders/wtf: Added.
2463 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2465 * Drosera/console.html:
2466 * Drosera/console.js:
2467 * Drosera/debugger.js:
2468 * Drosera/mac/DebuggerApplication.mm:
2469 (-[DebuggerApplication attach:]):
2470 * Drosera/mac/DebuggerDocumentMac.h:
2471 * Drosera/mac/DebuggerDocumentMac.mm:
2472 (+[NSString stringOrNilFromWebScriptResult:]):
2473 (+[DebuggerClientMac log:]):
2474 (-[DebuggerClientMac initWithServerName:]):
2475 (-[DebuggerClientMac dealloc]):
2476 (-[DebuggerClientMac pause]):
2477 (-[DebuggerClientMac resume]):
2478 (-[DebuggerClientMac pause:]):
2479 (-[DebuggerClientMac resume:]):
2480 (-[DebuggerClientMac stepInto:]):
2481 (-[DebuggerClientMac stepOver:]):
2482 (-[DebuggerClientMac stepOut:]):
2483 (-[DebuggerClientMac showConsole:]):
2484 (-[DebuggerClientMac closeCurrentFile:]):
2485 (-[DebuggerClientMac validateUserInterfaceItem:]):
2486 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
2487 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2488 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2489 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2490 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2491 (DebuggerDocument::platformPause):
2492 (DebuggerDocument::platformResume):
2493 (DebuggerDocument::platformStepInto):
2494 (DebuggerDocument::platformEvaluateScript):
2495 (DebuggerDocument::platformCurrentFunctionStack):
2496 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
2497 (DebuggerDocument::platformValueForScopeVariableNamed):
2498 (DebuggerDocument::platformLog):
2499 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2501 2007-09-06 Sam Weinig <sam@webkit.org>
2503 Reviewed by Adam Roben.
2505 Register the WebKit DLL on initialization of the DumpRenderTree.
2507 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2510 2007-09-05 Sam Weinig <sam@webkit.org>
2514 Fix many layout test failures caused by r25364.
2515 Set text size to standand size at the begining of each test matching the mac.
2517 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2520 2007-09-04 Sam Weinig <sam@webkit.org>
2524 Fix for <rdar://problem/5382277>
2525 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
2527 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
2528 (textZoomInCallback):
2529 (textZoomOutCallback):
2531 2007-08-29 David Kilzer <ddkilzer@apple.com>
2535 Added case-insensitivity to checks for adding regression tests.
2537 * Scripts/prepare-ChangeLog:
2540 2007-08-28 David Kilzer <ddkilzer@apple.com>
2544 Ignore files in /resources/ subdirectories when creating a list of added tests.
2546 * Scripts/prepare-ChangeLog:
2549 2007-08-27 Kevin McCullough <kmccullough@apple.com>
2553 - Removed Leopard leaks list since all of those radars were fixed.
2555 * Scripts/run-webkit-tests:
2557 2007-08-27 Adam Roben <aroben@apple.com>
2559 Rubberstamped by Mark.
2561 * Scripts/pdevenv: Pass arguments along to devenv.com.
2563 2007-08-26 David Kilzer <ddkilzer@webkit.org>
2565 Reviewed by Mark Rowe.
2567 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
2569 * Scripts/prepare-ChangeLog:
2570 (changeLogDate): Added.
2572 2007-08-24 Sam Weinig <sam@webkit.org>
2574 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2576 2007-08-24 Sam Weinig <sam@webkit.org>
2578 Rubber-stamped by Adam Roben.
2580 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2582 Rename COM DOM bindings to use Deprecated prefix.
2584 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2587 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
2590 (EditingDelegate::shouldBeginEditingInDOMRange):
2591 (EditingDelegate::shouldEndEditingInDOMRange):
2592 (EditingDelegate::shouldInsertNode):
2593 (EditingDelegate::shouldInsertText):
2594 (EditingDelegate::shouldDeleteDOMRange):
2595 (EditingDelegate::shouldChangeSelectedDOMRange):
2596 (EditingDelegate::shouldApplyStyle):
2597 (EditingDelegate::shouldChangeTypingStyle):
2598 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
2600 2007-08-24 Oliver Hunt <oliver@apple.com>
2604 WebDataSource::response can legitimately have a null response, so we
2605 must check that case.
2607 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2608 (queueLoadCallback):
2610 2007-08-23 Mitz Pettel <mitz@webkit.org>
2612 Reviewed by Darin and Adam.
2614 - DumpRenderTree changes to allow testing for
2615 http://bugs.webkit.org/show_bug.cgi?id=11756
2616 REGRESSION: link targeting a frame in another window does not work
2617 <rdar://problem/5286420>
2619 Use a frame group name for all WebViews created by DumpRenderTree to
2620 allow testing of cross-page frame lookup.
2622 * DumpRenderTree/DumpRenderTree.m:
2623 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
2624 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2625 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
2627 2007-08-23 David Kilzer <ddkilzer@webkit.org>
2631 Quote the $sslCertificate path in case it contains a space.
2633 * Scripts/run-webkit-httpd:
2634 * Scripts/run-webkit-tests:
2636 2007-08-22 Oliver Hunt <oliver@apple.com>
2638 Reviewed by John and Adam.
2640 WebDataSource::response can legitimately have a null response, so we
2641 must check that case.
2643 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2646 2007-08-21 Kevin McCullough <kmccullough@apple.com>
2650 - Changing the usage to be more clear.
2652 * Scripts/run-testkjs:
2654 2007-08-20 John Sullivan <sullivan@apple.com>
2656 Reviewed by Adam Roben
2658 * DumpRenderTree/DumpRenderTree.m:
2660 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
2661 in layout tests on Tiger and Leopard
2663 2007-08-20 Adam Roben <aroben@apple.com>
2665 Put LayoutTests after all other ChangeLogs in commit logs
2667 We use "~" to sort LayoutTests after all the other ChangeLogs because
2668 "~" is the last ASCII character (other than "DEL").
2672 * Scripts/commit-log-editor:
2674 2007-08-20 Adam Roben <aroben@apple.com>
2676 Detect that DRT crashed even if a crash dialog is running
2678 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
2679 process is still running at this point, so run-webkit-tests wouldn't
2680 detect that DRT had crashed. We now record the crash in our SIGPIPE
2681 handler so that we know if DRT crashed even if the crash dialog is up.
2685 * Scripts/run-webkit-tests:
2686 (sub catch_pipe): Set the crashed bit.
2687 (sub openDumpTool): Reset the crashed bit.
2688 (sub dumpToolDidCrash): Check the crashed bit.
2690 2007-08-20 Adam Roben <aroben@apple.com>
2692 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
2694 http://bugs.webkit.org/show_bug.cgi?id=15026
2696 Reviewed by David Kilzer and Darin Adler.
2698 * Scripts/prepare-ChangeLog:
2699 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
2700 (sub isAddedStatus): Ditto.
2701 (sub testListForChangeLog): Added.
2703 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
2707 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
2709 * Scripts/webkitdirs.pm:
2710 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
2712 2007-08-17 Darin Adler <darin@apple.com>
2714 Reviewed by Oliver Hunt.
2716 - don't look for Apple-style localizable strings in the GTK version of WebKit
2718 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
2719 name of subdirectories to skip.
2720 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
2723 2007-08-17 Anders Carlsson <andersca@apple.com>
2727 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2730 2007-08-17 Anders Carlsson <andersca@apple.com>
2732 Reviewed by Dave Hyatt.
2734 <rdar://problem/5379040>
2735 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
2737 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
2739 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2741 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2742 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2746 2007-08-16 Alice Liu <alice.liu@apple.com>
2750 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
2752 * DumpRenderTree/DumpRenderTree.m:
2754 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
2756 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
2758 2007-08-16 Kevin McCullough <kmccullough@apple.com>
2762 - Added tests for regressions in other components. In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
2764 * Scripts/run-webkit-tests:
2766 2007-08-15 Timothy Hatcher <timothy@apple.com>
2768 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
2769 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
2771 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
2772 this prevents making "build" directories in each project folder.
2774 * Scripts/webkitdirs.pm:
2776 2007-08-14 Geoffrey Garen <ggaren@apple.com>
2778 Reviewed by Kevin Mccullough.
2780 Removed special case that didn't belong. (It would allow a global
2781 initializer to sneak into production builds, which would cause a
2782 system-wide performance regression on Mac OS X.)
2784 * Scripts/check-for-global-initializers:
2786 2007-08-14 Justin Garcia <justin.garcia@apple.com>
2790 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
2792 * DumpRenderTree/EditingDelegate.m:
2793 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
2794 only for elements with the class needsDeletionUI.
2796 2007-08-14 David Kilzer <ddkilzer@webkit.org>
2800 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
2801 svn-create-patch uses deprecated tail switch
2803 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
2805 2007-08-13 Sam Weinig <sam@webkit.org>
2807 Reviewed by Adam Roben.
2809 Use the cygwin specific Apache config file under cygwin.
2811 * Scripts/run-webkit-httpd:
2813 2007-08-12 Adam Roben <aroben@apple.com>
2815 Generate results for new tests in a more logical location
2817 New platform-specific tests always have their results generated right
2818 next to the test. New cross-platform tests will have their results
2819 generated a) in the cross-platform directory, if they are text-only,
2820 or b) in the least-specific platform directory, if they are render
2825 * Scripts/run-webkit-tests:
2827 2007-08-12 Adam Roben <aroben@apple.com>
2829 Print the actual directory where new results are generated.
2831 Before, we were printing an unpredictable, context-specific substring
2836 * Scripts/run-webkit-tests:
2838 2007-08-12 Adam Roben <aroben@apple.com>
2840 Factor some common code into a stripExtension() subroutine.
2844 * Scripts/run-webkit-tests: Also removed some debugging output.
2846 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
2848 Reviewed over and over and over by Adam Roben.
2850 Bug 14740: Hierarchical layout tests and platform organization
2851 http://bugs.webkit.org/show_bug.cgi?id=14740
2853 Add support for platform-specific layout tests and results.
2855 * Scripts/run-webkit-tests:
2857 2007-08-11 David Kilzer <ddkilzer@webkit.org>
2861 Refactored svn-create-path to use a hash-of-hashes data structure to keep
2862 track of changed files. In the top level hash, keys are paths to files and
2863 values are 'fileData' hashes with the following keys and values:
2865 - isBinary: boolean value (set to true for non-text files like images, etc.)
2866 - isTestFile: boolean value (set to true if file exists within a known test
2868 - modificationType: string equal to one of 'addition', 'additionWithHistory',
2869 'modification' or 'deletion'
2870 - path: string equal to the path to the file (this may seem redundant, but it
2871 is required to use the second-level 'fileData' hash independent of the
2873 - sourceFile: [optional] string equal to the path of the original file that was
2875 - sourceRevision: [optional] string equal to the revision of the original file
2876 that was copied or moved
2878 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
2879 that saves the return value in $result, then checks it before printing help.
2880 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
2881 and eliminated two for() loops.
2882 (binarycmp): Added. Used with sort() to order non-binary files before binary
2884 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
2885 (findMimeType): Added optional second argument that takes a revision number.
2886 (generateDiff): Updated to take one fileData argument instead of three ($file,
2887 $modificationType, $isBinary).
2888 (generateFileList): Updated to take one hash ref argument (%diffFiles)
2889 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
2890 %diffFiles using paths for keys and fileData hashes for values.
2891 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
2893 (pathcmp): Updated to take two fileData arguments instead of two strings.
2894 (testfilecmp): Added. Used with sort() to order non-test files before test
2897 2007-08-11 Darin Adler <darin@apple.com>
2899 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
2901 2007-08-06 Nigel Tao <nigeltao@gnome.org>
2903 Reviewed by David Kilzer.
2905 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
2906 http://bugs.webkit.org/show_bug.cgi?id=14745
2908 * Scripts/run-launcher:
2909 Scrub the "--gdk" out of the command line args, if given, so that
2910 GdkLauncher doesn't try to interpret it as a URL.
2912 2007-08-03 Adam Roben <aroben@apple.com>
2914 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
2918 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
2920 2007-08-03 Sam Weinig <sam@webkit.org>
2924 Recursively dump all frames as text using new
2925 layoutTestController.dumpChildFramesAsText() function.
2927 * DumpRenderTree/DumpRenderTree.m:
2930 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2931 (-[LayoutTestController dumpChildFramesAsText]):
2933 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2937 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
2938 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2939 (dumpChildFramesAsTextCallback):
2940 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2942 2007-08-02 Adam Roben <aroben@apple.com>
2944 Fix fast/dom/Window/alert-undefined.html
2948 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2949 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
2950 Windows translate a null BSTR into "(null)"
2952 2007-08-02 Kevin McCullough <kmccullough@apple.com>
2956 - It would help if I actually called the right function.
2958 * Drosera/DebuggerDocument.cpp:
2959 (DebuggerDocument::showConsole):
2961 2007-08-02 Adam Roben <aroben@apple.com>
2963 Don't delete the stderr file right after creating it
2967 * Scripts/run-webkit-tests:
2969 2007-08-01 Adam Roben <aroben@apple.com>
2971 When DRT crashes, record stderr and restart DRT
2973 This prevents a DRT crash from causing the next few hundred tests to
2974 "fail" because DRT is no longer running.
2976 I also changed the terminology that run-webkit-tests uses in its
2977 output a bit, so that crashing tests are referred to as "crashes"
2978 instead of "failures".
2982 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
2984 (sub openDumpTool): Use open3 so that we can access stderr.
2985 (sub dumpToolCrashed): Added.
2986 (sub printFailureMessageForTest): Added.
2987 (sub htmlForExpectedAndActualResults): Added.
2988 (sub deleteExpectedAndActualResults): Added.
2989 (sub recordActualResultsAndDiff): Added.
2991 2007-07-30 Darin Adler <darin@apple.com>
2993 Reviewed by Tim Hatcher.
2995 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
2996 characters. This turned out not to be needed for the test case that motivated me to
2997 do it, but it's nice to have this for the future.
2999 2007-07-30 Simon Hausmann <hausmann@kde.org>
3003 Link QtLauncher into $$OUTPUT_DIR/bin
3005 * Scripts/run-launcher:
3007 2007-07-27 David Kilzer <ddkilzer@apple.com>
3009 Reviewed by Geoff and Darin.
3011 Use a subroutine for validating the --skipped switch.
3013 * Scripts/run-webkit-tests:
3015 2007-07-27 Darin Adler <darin@apple.com>
3019 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3021 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3025 Correct the path of GdkLauncher and make checkFrameworks work on OSX
3026 when building the Qt or Gtk+ port.
3028 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3029 * Scripts/run-launcher:
3030 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3032 2007-07-27 Simon Hausmann <hausmann@kde.org>
3034 Done with and reviewed by Lars and Zack.
3036 Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
3038 * Scripts/webkitdirs.pm:
3040 2007-07-27 Simon Hausmann <hausmann@kde.org>
3042 Done with and reviewed by Lars and Zack.
3044 For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
3046 * Scripts/webkitdirs.pm:
3048 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3050 Reviewed by Darin, Geoff, Sam.
3052 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3054 - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
3056 * DumpRenderTree/UIDelegate.h:
3057 * DumpRenderTree/UIDelegate.m:
3058 (-[UIDelegate webView:setFrame:]):
3059 (-[UIDelegate webViewFrame:]):
3061 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3065 - Lars wanted this check for Qt but it breaks platform specific layout tests.
3067 * Scripts/run-webkit-tests:
3069 2007-07-25 Kevin McCullough <kmccullough@apple.com>
3071 Reviewed by Tim, Darin, Oliver.
3073 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3074 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3077 * DumpRenderTree/DumpRenderTree.m:
3080 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3081 (+[LayoutTestController webScriptNameForSelector:]):
3082 (-[LayoutTestController setCustomPolicyDelegate:]):
3083 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3084 * DumpRenderTree/FrameLoadDelegate.h:
3085 * DumpRenderTree/PolicyDelegate.h: Added.
3086 * DumpRenderTree/PolicyDelegate.m: Added.
3087 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3088 * DumpRenderTree/ResourceLoadDelegate.h:
3090 2007-07-25 Adam Treat <treat@kde.org>
3094 Fix build for some reported systems.
3096 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3098 2007-07-23 Adam Treat <treat@kde.org>
3100 Reviewed by Nikolas.
3102 Fix qt DRT to suppress js popup alerts and log instead.
3104 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3105 (WebCore::WebPage::javaScriptAlert):
3107 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3111 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3112 honor --qmakearg for the Gdk/Gtk build as well.
3114 * GdkLauncher/main.cpp: Switch to the new API
3115 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
3117 2007-07-22 Darin Adler <darin@apple.com>
3119 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
3120 Fix a leak by releasing the array used here.
3122 2007-07-22 David Kilzer <ddkilzer@webkit.org>
3126 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
3127 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
3129 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
3130 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
3132 * Scripts/update-iexploder-cssproperties: Added.
3133 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
3134 Added new CSS3 property section and Moved box-sizing property to it.
3136 2007-07-22 Oliver Hunt <oliver@apple.com>
3140 http://bugs.webkit.org/show_bug.cgi?id=14710
3142 Add preliminary support for testing Input Method/WebKit behaviour and interaction
3143 in DRT. This provides the NSTextInput API which is most of what should be necessary
3144 to mimic the event sequences Input Methods trigger.
3146 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3147 * DumpRenderTree/TextInputController.h:
3148 * DumpRenderTree/TextInputController.m:
3149 (-[WebHTMLView interpretKeyEvents:]):
3150 (+[TextInputController isSelectorExcludedFromWebScript:]):
3151 (+[TextInputController webScriptNameForSelector:]):
3152 (-[TextInputController initWithWebView:]):
3153 (-[TextInputController dealloc]):
3154 (-[TextInputController textInput]):
3155 (-[TextInputController setInputMethodHandler:]):
3156 (-[TextInputController interpretKeyEvents:withSender:]):
3158 2007-07-20 Adam Roben <aroben@apple.com>
3160 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
3161 message not count as an existing log.
3163 2007-07-19 Geoffrey Garen <ggaren@apple.com>
3165 Reviewed by Darin Adler.
3167 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
3168 value behavior of stringByEvaluatingJavaScriptFromString
3170 * DumpRenderTree/DumpRenderTree.m:
3171 (testStringByEvaluatingJavaScriptFromString):
3172 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3174 2007-07-19 Adam Roben <aroben@apple.com>
3176 Make commit-log-editor work with git
3180 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
3181 commit message template. Also removed the unused $breakPoint variable.
3183 2007-07-19 Adam Roben <aroben@apple.com>
3185 Move generally-useful VCS code into a new VCSUtils.pm module
3187 This is in preparation for making commit-log-editor git-friendly.
3191 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
3192 * Scripts/prepare-ChangeLog: Use VCSUtils.
3194 2007-07-19 Lars Knoll <lars@trolltech.com>
3196 Fix a crash on exit when running DRT against a current
3201 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3204 2007-07-18 Adam Roben <aroben@apple.com>
3206 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
3210 * Scripts/run-webkit-httpd:
3211 * Scripts/run-webkit-tests:
3213 2007-07-18 Adam Roben <aroben@apple.com>
3215 More git friendliness for prepare-ChangeLog
3217 The overall change is to remove the use of git-status and replace it
3218 with git-diff --name-status (which we were already using in the
3221 This lets us respect directories specified on the command line when
3222 using git, just as we do for Subversion. It also speeds things up a
3223 bit, especially in the subdirectory case, as git-status is pretty slow.
3225 I also fixed some issues where we wouldn't detect copied files and
3226 would reverse the new filename and the original filename for renamed files.
3230 * Scripts/prepare-ChangeLog:
3231 (sub diffFromToString): Added.
3232 (sub diffCommand): Don't append the paths in the --git-commit case, as
3233 we should be operating on the entire commit.
3234 (sub statusCommand): Always use git-diff --name-status, and added an
3235 extra -C option to git-diff to make it find a few more copied files.
3236 (sub createPatchCommand): Collapsed the two git cases a bit, and added
3237 the extra -C option as above.
3238 (sub generateFileList): Remove the git-status codepath, and recognize
3239 file copies in the --name-status output.
3240 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3242 (sub isConflictStatus): Updated the git dictionary.
3243 (sub statusDescription): Updated the git dictionary.
3245 2007-07-18 Timothy Hatcher <timothy@apple.com>
3247 * Scripts/build-drosera: Update where we look for the Xcode project.
3249 2007-07-18 Adam Treat <treat@kde.org>
3253 Use the old wording for Safari.
3255 * Scripts/build-webkit:
3256 * Scripts/webkitdirs.pm:
3258 2007-07-18 Adam Treat <treat@kde.org>
3262 Add convenience script for launching test apps for Qt and Gdk ports.
3263 Change the build-webkit script accordingly.
3265 * Scripts/build-webkit:
3266 * Scripts/run-launcher: Added.
3267 * Scripts/webkitdirs.pm:
3269 2007-07-18 Timothy Hatcher <timothy@apple.com>
3273 Make the Page with the now required InspectorClient.
3275 * GdkLauncher/main.cpp:
3278 2007-07-18 Timothy Hatcher <timothy@apple.com>
3280 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3281 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3283 * Drosera/Makefile: Added.
3284 * Drosera/mac/Makefile:
3285 * DumpRenderTree/Makefile:
3287 * Makefile.Drosera: Removed.
3288 * Makefile.shared: Removed.
3290 2007-07-18 Timothy Hatcher <timothy@apple.com>
3292 The console log was 20px down from the top for no reason, move it up.
3294 * Drosera/console.css:
3296 2007-07-18 Timothy Hatcher <timothy@apple.com>
3298 Use contentDocument to get the source view's iframe document.
3299 Also adds a null/undefined check for localVariableNames.
3301 * Drosera/debugger.js:
3303 2007-07-18 Lars Knoll <lars@trolltech.com>
3305 We really don't want to compare non text only tests to the
3306 Mac results if we don't have a result for Qt, as this would
3307 give a failure and not a notification that the test is new.
3311 * Scripts/run-webkit-tests:
3313 2007-07-18 Lars Knoll <lars@trolltech.com>
3315 Reviewed by Zack & Simon
3317 Adjust to changed API in QWebFrame
3319 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3320 (WebCore::DumpRenderTree::DumpRenderTree):
3322 2007-07-18 Mark Rowe <mrowe@apple.com>
3324 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
3326 * BuildSlaveSupport/build-launcher-app:
3328 2007-07-17 Geoffrey Garen <ggaren@apple.com>
3330 Reviewed by Antti Koivisto.
3332 Added watchdog timer to waitUntilDone to prevent a run-away test from
3333 hanging the test harness.
3335 * DumpRenderTree/DumpRenderTree.m:
3337 (-[LayoutTestController waitUntilDone]):
3338 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3339 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3341 2007-07-17 Kevin McCullough <kmccullough@apple.com>
3345 - Implemented cross-platform code for functions calling into the JavaScript.
3347 * Drosera/DebuggerDocument.cpp:
3348 (DebuggerDocument::callAsFunction):
3349 (DebuggerDocument::pauseJS):
3350 (DebuggerDocument::resumeJS):
3351 (DebuggerDocument::stepIntoJS):
3352 (DebuggerDocument::stepOverJS):
3353 (DebuggerDocument::stepOutJS):
3354 (DebuggerDocument::showConsoleJS):
3355 (DebuggerDocument::closeCurrentFileJS):
3356 (DebuggerDocument::updateFileSource):
3357 (DebuggerDocument::didParseScript):
3358 (DebuggerDocument::willExecuteStatement):
3359 (DebuggerDocument::didEnterCallFrame):
3360 (DebuggerDocument::willLeaveCallFrame):
3361 (DebuggerDocument::exceptionWasRaised):
3362 * Drosera/DebuggerDocument.h:
3363 * Drosera/mac/DebuggerDocumentMac.mm:
3364 (-[DebuggerDocumentMac pause:]):
3365 (-[DebuggerDocumentMac resume:]):
3366 (-[DebuggerDocumentMac stepInto:]):
3367 (-[DebuggerDocumentMac stepOver:]):
3368 (-[DebuggerDocumentMac stepOut:]):
3369 (-[DebuggerDocumentMac showConsole:]):
3370 (-[DebuggerDocumentMac closeCurrentFile:]):
3371 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
3372 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3373 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3374 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3375 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3376 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3378 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3382 - Continued x-platform modifications.
3384 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
3385 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
3386 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
3387 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
3388 * Drosera/win/Drosera.cpp:
3389 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3390 * Drosera/win/stdafx.cpp: Removed.
3391 * Drosera/win/stdafx.h: Removed.
3393 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3397 - Modified files to use cross-platform code.
3399 * Drosera/DebuggerDocument.cpp: Added.
3400 (DebuggerDocument::breakpointEditorHTML):
3401 (DebuggerDocument::isPaused):
3402 (DebuggerDocument::pause):
3403 (DebuggerDocument::resume):
3404 (DebuggerDocument::stepInto):
3405 (DebuggerDocument::evaluateScript):
3406 (DebuggerDocument::currentFunctionStack):
3407 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3408 (DebuggerDocument::valueForScopeVariableNamed):
3409 * Drosera/DebuggerDocument.h: Added.
3410 (DebuggerDocument::DebuggerDocument):
3411 * Drosera/config.h: Added.
3412 * Drosera/mac/DebuggerApplication.mm:
3413 (-[DebuggerApplication attach:]):
3414 * Drosera/mac/DebuggerDocument.h: Removed.
3415 * Drosera/mac/DebuggerDocument.mm: Removed.
3416 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
3417 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
3418 (-[DebuggerDocumentMac initWithServerName:]):
3419 (-[DebuggerDocumentMac dealloc]):
3420 (-[DebuggerDocumentMac breakpointEditorHTML]):
3421 (-[DebuggerDocumentMac isPaused]):
3422 (-[DebuggerDocumentMac pause]):
3423 (-[DebuggerDocumentMac resume]):
3424 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3425 * Drosera/win/DebuggerApplication.cpp:
3426 * Drosera/win/DebuggerObjectCallbacks.cpp:
3427 (breakpointEditorHTMLCallback):
3428 (currentFunctionStackCallback):
3429 (evaluateScript_inCallFrame_Callback):
3431 (localScopeVariableNamesForCallFrame_Callback):
3435 (valueForScopeVariableNamed_inCallFrame_Callback):
3437 * Drosera/win/Drosera.cpp:
3438 * Drosera/win/DroseraPrefix.cpp: Added.
3439 * Drosera/win/DroseraPrefix.h: Added.
3441 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3443 Reviewed by Adam, Sam and Tim.
3445 - Moving files to prepare for cross-platform architecture.
3447 * Drosera/DebuggerApplication.h: Removed.
3448 * Drosera/DebuggerApplication.m: Removed.
3449 * Drosera/DebuggerDocument.h: Removed.
3450 * Drosera/DebuggerDocument.m: Removed.
3451 * Drosera/Drosera.pch: Removed.
3452 * Drosera/Drosera.xcodeproj: Removed.
3453 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
3454 * Drosera/Info.plist: Removed.
3455 * Drosera/LauncherInfo.plist: Removed.
3456 * Drosera/Makefile: Removed.
3457 * Drosera/launcher.m: Removed.
3458 * Drosera/mac: Added.
3459 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
3460 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
3461 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
3462 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
3463 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
3464 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
3465 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3466 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
3467 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
3468 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
3469 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
3470 * Drosera/mac/main.m: Copied from Drosera/main.m.
3471 * Drosera/main.m: Removed.
3473 * Makefile.Drosera: Added.
3475 2007-07-15 Mark Rowe <mrowe@apple.com>
3477 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
3479 2007-07-13 Sam Weinig <sam@webkit.org>
3481 Reviewed by Geoff Garen.
3483 Add support for running SSL tests over HTTPS.
3485 * DumpRenderTree/DumpRenderTree.m:
3487 * DumpRenderTree/FrameLoadDelegate.m:
3488 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3489 * Scripts/run-webkit-httpd:
3490 * Scripts/run-webkit-tests:
3492 2007-07-13 David Kilzer <ddkilzer@apple.com>
3496 Added support for -h|--help argument and verify that all command line arguments parse
3499 * Scripts/run-webkit-httpd:
3501 2007-07-12 Mark Rowe <mrowe@apple.com>
3505 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
3507 * Scripts/run-webkit-tests:
3509 2007-07-12 Geoffrey Garen <ggaren@apple.com>
3511 Reviewed by Oliver Hunt.
3513 Made the leaks tests pass on Leopard.
3515 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
3516 * Scripts/run-leaks: Updated parser for slight change in text output.
3518 2007-07-11 David Kilzer <ddkilzer@apple.com>
3522 Update the iExploder list of CSS properties after box-sizing was renamed to
3523 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
3525 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
3526 -moz-box-sizing remain.
3528 2007-07-10 Darin Adler <darin@apple.com>
3530 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
3531 Foundation's multipart/mixed-replace support -- I already verified that
3532 the bug has been fixed.
3534 2007-07-10 Alice Liu <alice.liu@apple.com>
3536 rubber stamped by Maciej.
3538 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
3540 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3541 (initializePreferences):
3542 set editable link behavior to match Mac DRT.
3544 2007-07-10 Geoffrey Garen <ggaren@apple.com>
3546 Reviewed by Tim Hatcher.
3548 Ignore Page.o in debug builds because it now has a static PageCounter