1 2007-10-22 Adam Roben <aroben@apple.com>
7 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
9 2007-10-22 Kevin McCullough <kmccullough@apple.com>
11 - Removed a leak that was fixed.
13 * Scripts/run-webkit-tests:
15 2007-10-19 Kevin McCullough <kmccullough@apple.com>
19 - Changed the Client so that the DebuggerDocument now own the
20 ServerConnection. This simplifies ownership and cleanup.
22 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
24 (DebuggerClient::initWithServerName):
25 (DebuggerClient::didFinishLoadForFrame):
26 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
28 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
29 until after we have a server which we are attached to.
32 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
35 2007-10-22 Simon Hausmann <hausmann@kde.org>
39 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
41 * Scripts/run-javascriptcore-tests:
43 2007-10-22 Simon Hausmann <hausmann@kde.org>
47 Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
49 * Scripts/build-drosera:
50 * Scripts/build-dumprendertree:
51 * Scripts/build-testkjs:
52 * Scripts/build-webkit:
53 * Scripts/run-javascriptcore-tests:
54 * Scripts/run-sunspider:
55 * Scripts/run-webkit-tests:
56 * Scripts/webkitdirs.pm:
58 2007-10-22 Andrew Wellington <proton@wiretapped.net>
60 Reviewed by Mark Rowe.
62 Fix for local database support after r26879
63 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
65 * Scripts/build-webkit:
67 2007-10-22 Holger Freyther <zecke@selfish.org>
69 Reviewed by Simon Hausmann <hausmann@kde.org>.
71 - Do not build testkjs as an application bundle. This is
72 needed for run-javascriptcore-tests on OSX.
73 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
74 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
75 as we do not have -rpath on OSX.
77 * DumpRenderTree/qt/DumpRenderTree.pro:
78 * Scripts/run-webkit-tests:
80 2007-10-22 Simon Hausmann <hausmann@kde.org>
84 Fix support for Signed-off-by detection in prepare-ChangeLog
85 --git-commit. The Signed-off-by tag does not appear in the header
86 but usually at the end.
88 * Scripts/prepare-ChangeLog:
90 2007-10-21 Mark Rowe <mrowe@apple.com>
94 Fix run-javascriptcore-tests for Gtk.
96 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
98 2007-10-20 Eric Seidel <eric@webkit.org>
102 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
104 2007-10-20 Eric Seidel <eric@webkit.org>
108 Add improved argument handling to run-sunspider, including
109 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
110 Also re-factor code into subroutines
112 * Scripts/build-dumprendertree: removed bogus comments
113 * Scripts/build-testkjs: Added.
114 * Scripts/run-javascriptcore-tests: use build-testkjs
115 * Scripts/run-sunspider: improved argument handling, abstraction
116 * Scripts/run-webkit-tests: improved abstraction
118 2007-10-20 Matt Lilek <webkit@mattlilek.com>
120 Not reviewed, Windows build fix.
122 * DumpRenderTree/win/EventSender.cpp:
125 2007-10-20 Darin Adler <darin@apple.com>
127 Reviewed by Tim Hatcher.
129 - http://bugs.webkit.org/show_bug.cgi?id=15544
130 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
131 not rely on Apple-specific key codes
133 * DumpRenderTree/mac/EventSendingController.mm:
134 (-[EventSendingController keyDown:withModifiers:]):
135 Added named key "rightArrow". Later we could have a whole table of these.
136 Also tweaked modifiers code a little.
138 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
140 2007-10-19 Darin Adler <darin@apple.com>
144 - http://bugs.webkit.org/show_bug.cgi?id=15566
145 possible fix for leak seen in DumpRenderTree
147 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
148 Delete the item if it's not put on the queue, since the caller has
149 no way of knowing that. Would be better to have the parameter type
150 be auto_ptr to express the fact that we take ownership.
154 * Drosera/mac/main.m: Add missing include.
156 2007-10-19 Kevin McCullough <kmccullough@apple.com>
160 - This change should be identical but for some reason was not working
163 * Scripts/prepare-ChangeLog:
165 2007-10-19 Kevin McCullough <kmccullough@apple.com>
167 Reviewed by Oliver and Tim.
169 - Made use of RetainPtr to avoid retain and release issues and moved the
170 log function to DebuggerDocumentPlatform, which seems to be a more
171 logical place for it to live.
172 - Also moved knownServers from the ServerConnection to
173 DebuggerApplication to match the Windows code and because it makes sense
174 that a connection knows its own server but not all of them.
176 * Drosera/mac/DebuggerClient.h: Moved the log function to
177 DebuggerDocumentPlatform.
178 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
179 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
180 call for the server name up from the ServerConnection class.
181 (-[DebuggerClient dealloc]):
182 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
183 for the server name up from the ServerConnection.
184 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
185 (DebuggerDocument::platformPause):
186 (DebuggerDocument::platformResume):
187 (DebuggerDocument::platformStepInto):
188 (DebuggerDocument::platformEvaluateScript):
189 (DebuggerDocument::getPlatformCurrentFunctionStack):
190 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
191 (DebuggerDocument::platformValueForScopeVariableNamed):
192 (DebuggerDocument::platformLog): Log directly from here. No need to call
194 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
195 way I see it, a ServerConnection should only know about its connection
196 and the group of all possible servers should be kept by the
198 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
199 currentServerName, it makes sense that the connection should know that
201 (-[ServerConnection currentServerName]):
203 2007-10-19 Kevin McCullough <kmccullough@apple.com>
207 - Integrated changes from mac drosera. Recently I've encapsulated
208 out the server connection object from the rest of Drosera because
209 it is very platform dependent right now and RPC is not implemented on
210 windows. This functionality, of communicating with the WebKit server
211 is the next area I will be focusing on in Windows.
213 - Other changes and cleanup were made to organize the code and add notes
214 on which parts still need work. Also some mac code is added and
215 commented out, to act as pseudocode for the logic of those parts.
217 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
219 * Drosera/config.h: Added whitespace.
220 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
221 these files got moved into Drosera.h/cpp
222 * Drosera/win/DebuggerApplication.h: Removed.
223 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
224 happened here to better match the logic flow of the same code on the
225 mac side and to use the new ServerConnection class.
226 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
227 (DebuggerClient::initWithServerName): Initializer that will set up the
228 class to use a ServerConnection object. This was necessary so I could
229 create a DebuggerClient without having to initilaize it at
231 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
232 will be the UIDelegate and FrameLoadDelegate.
233 (DebuggerClient::AddRef): For IUnknown.
234 (DebuggerClient::Release): For IUnknown.
235 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
236 this still needs to set the global context of the server, but
237 IWebFrame does not have an accessor for the global context yet.
238 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
239 this is a pass through for the same function in the document.
240 (DebuggerClient::didReceiveTitle): Unimplemented part of
241 FrameLoadDelegate this would change the title of the window.
242 (DebuggerClient::createWebViewWithRequest): Part of the
243 FrameLoadDelegate. This is about new windows via Window.open() and
244 how their delegates are set.
245 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
246 UIDelegate. Just a debug function for printing messages.
247 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
248 because the Client should be the UIDelegate and FrameLoadDelegate
249 to match the delegates on mac.
250 (DebuggerClient::webViewLoaded): Added accessor method.
251 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
252 forgotten to add this file before. This is where the platform
253 dependent versions of the Documents functions live. Most of these are
254 unimplemented because some piece of functionality does not exist on
256 (DebuggerDocument::platformPause):
257 (DebuggerDocument::platformResume):
258 (DebuggerDocument::platformStepInto):
259 (DebuggerDocument::platformEvaluateScript):
260 (DebuggerDocument::getPlatformCurrentFunctionStack):
261 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
262 (DebuggerDocument::platformValueForScopeVariableNamed):
263 (DebuggerDocument::platformLog):
264 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
265 responsibilities becaue they belong in the Client. Also I laid the
266 groundwork for attaching Drosera to a WebKit process
267 (attachWndProc): Now if a server is selected the Client becomes it's
269 (Drosera::Drosera): Added the construction of the Client and dictionary
271 (Drosera::initUI): This is no longer the delegates, the Client is.
272 (Drosera::webViewLoaded): Now asks the Client instead of holding local
274 (Drosera::applicationDidFinishLaunching): Placeholder for needed
275 notification registration when it's possible to implement.
276 (Drosera::serverLoaded): Ditto
277 (Drosera::serverUnloaded): Ditto
278 (Drosera::attach): Attach Drosera to the WebKit server.
279 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
282 (Drosera::knownServers):
283 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
284 and added the ServerConnection.
285 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
286 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
287 Most of the functions are completely unimlemented because they cannot
288 connect with the WebKit server, because one does not exist on Windows
290 (ServerConnection::initWithServerName):
291 (ServerConnection::~ServerConnection):
292 (ServerConnection::setGlobalContext):
293 (ServerConnection::pause):
294 (ServerConnection::resume):
295 (ServerConnection::stepInto):
296 (ServerConnection::switchToServerNamed):
297 (ServerConnection::applicationTerminating):
298 (ServerConnection::serverConnectionDidDie):
299 (ServerConnection::currentFrame):
300 * Drosera/win/ServerConnection.h: Added. Ditto.
301 (ServerConnection::ServerConnection):
303 2007-10-19 Alice Liu <alice.liu@apple.com>
307 Fix for these broken layout tests on Windows:
309 fast/forms/focus-selection-input.html
310 fast/forms/focus-selection-textarea.html
311 fast/forms/select-accesskey.html
313 * DumpRenderTree/win/EventSender.cpp:
315 correct the VK code for alt key.
317 2007-10-19 Eric Seidel <eric@webkit.org>
319 Reviewed by Mark Rowe.
321 Make the GtkLauncher code slightly more readable.
323 * GtkLauncher/main.cpp:
324 (setupMainMenu): Added.
325 (setupMainWindowUI): Added.
328 2007-10-19 Maciej Stachowiak <mjs@apple.com>
330 Rubber stamped by Adam.
332 - don't delay-load WebKit in DumpRenderTree.
334 * DumpRenderTree/win/DumpRenderTree.vcproj:
336 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
338 Reviewed by Adam Roben.
340 - fix <rdar://problem/5313523>
341 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
343 * DumpRenderTree/mac/DumpRenderTree.mm:
344 (dump): Changed to use _responseMIMEType.
346 2007-10-17 Adam Roben <aroben@apple.com>
348 Make it possible to have Windows-specific tests and results
350 When searching for tests to run and the Skipped file, we will only
351 look in platform/win and the cross-platform directory. When looking
352 for expected results, we will look in platform/win, then
353 platform/mac-leopard, then platform/mac, then finally the
354 cross-platform directory.
358 * Scripts/run-webkit-tests:
359 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
360 searching in the cross-platform directory.
361 (sub buildPlatformHierarchy): Removed some unneeded calls to
364 2007-10-17 Adam Roben <aroben@apple.com>
366 Add back the call to register WebKit that we had before WebKitInitializer existed
368 This is needed to ensure that the right WebKit is used when
369 instantiating COM objects.
373 * DumpRenderTree/win/debug_internal.vsprops: Define
374 DEBUG_WEBKIT_HAS_SUFFIX.
375 * DumpRenderTree/win/DumpRenderTree.cpp:
378 2007-10-17 Adam Roben <aroben@apple.com>
380 Import File::Basename in webkitdirs since we use it
384 * Scripts/webkitdirs.pm:
386 2007-10-17 Kevin McCullough <kmccullough@apple.com>
388 - Updated the tiger leaks list to make the internal bots green.
390 * Scripts/run-webkit-tests:
392 2007-10-17 Adam Roben <aroben@apple.com>
394 Build fix for VC++ Express
398 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
401 2007-10-16 Kevin McCullough <kmccullough@apple.com>
405 - Minor mac improvements based on observations I made while implementing the
408 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
409 then hand it to the Client who will retain it, it should just be the client who
410 creates and owns the server.
411 (-[DebuggerApplication attach:]):
412 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
413 * Drosera/mac/DebuggerClient.mm: Creates the server.
414 (-[DebuggerClient initWithServerName:]):
415 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
416 can instead forward declare what it needs.
418 2007-10-16 Darin Adler <darin@apple.com>
420 Reviewed by Geoff Garen.
422 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
423 want to turn failing tests into platform-specific test results. Also did a
424 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
425 would take the type of results into account only some of the time.
427 2007-10-16 Adam Roben <aroben@apple.com>
429 Add a new nightly launcher script for Windows
431 This new script is for versions of Safari that don't delay-load
432 WebKit. I had to make FindSafari be able to print out the nightly
433 launcher script on stdout because Windows shell scripts can't capture
434 the output from a command into an environment variable.
438 * FindSafari/FindSafari.cpp:
439 (_tmain): Added /printSafariLauncher option.
440 * Scripts/run-webkit-nightly.cmd: Added.
442 2007-10-16 Adam Roben <aroben@apple.com>
444 Replace WebKitInitializer with FindSafari
446 We now rely on setting the PATH environment variable to tell Windows
447 where to find WebKit and its dependencies (similar to
448 DYLD_FRAMEWORK_PATH on Mac).
450 This change also make DumpRenderTree no longer delay-load WebKit.
454 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
456 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
457 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
458 WebKitInitializer, don't delay-load WebKit.
459 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
460 * Scripts/run-webkit-tests: Ditto.
461 * Scripts/webkitdirs.pm:
462 (sub setPathForRunningWebKitApp): Added.
463 * WebKitInitializer/WebKitInitializer.cpp: Removed.
464 * WebKitInitializer/WebKitInitializer.h: Removed.
465 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
466 * WebKitInitializer/debug.vsprops: Removed.
467 * WebKitInitializer/debug_internal.vsprops: Removed.
468 * WebKitInitializer/release.vsprops: Removed.
470 2007-10-16 Adam Roben <aroben@apple.com>
472 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
474 http://bugs.webkit.org/show_bug.cgi?id=15532
476 FindSafari simply prints the location of an installed Safari.exe on
481 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
484 (getInstalledWebKitDirectory):
486 * FindSafari/FindSafari.vcproj: Added.
487 * Scripts/webkitdirs.pm:
488 (sub installedSafariPath): Added. Calls FindSafari on Windows.
490 2007-10-16 Adam Roben <aroben@apple.com>
492 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
494 Reviewed by Kevin McCullough.
496 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
497 when referring to WebKit.dll.
498 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
499 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
500 * DumpRenderTree/win/release.vsprops: Ditto.
501 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
502 never have a _debug suffix on WebKit.dll.
503 * WebKitInitializer/WebKitInitializer.cpp:
504 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
506 * WebKitInitializer/debug_internal.vsprops: Added
507 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
509 2007-10-16 Darin Adler <darin@apple.com>
513 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
514 Remove now-unneeded control/alt key hack; the tests have been updated.
516 2007-10-16 Kevin McCullough <kmccullough@apple.com>
518 - Updated leaks list because our internal bot upgraded it's version of leopard and
519 one of the leaks was fixed between that revision and the bot's previous version of
522 * Scripts/run-webkit-tests:
524 2007-10-15 Kevin McCullough <kmccullough@apple.com>
528 - I encapsulated out the server connecton functionality because it is a specific part
529 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
530 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
531 Windows. So the majority of this patch is moving preexisting functionality.
533 - Also I removed the prefix header and changed to use config.h because it is more
534 standard on how we use config.h in windows and it didn't make much sense to keep
535 the prefix header and the config.h
537 * Drosera/DebuggerDocument.cpp:
538 (DebuggerDocument::DebuggerDocument):
539 * Drosera/DebuggerDocument.h:
541 * Drosera/mac/DebuggerApplication.mm:
542 (-[DebuggerApplication attach:]):
543 * Drosera/mac/DebuggerClient.h:
544 * Drosera/mac/DebuggerClient.mm:
545 (-[DebuggerClient initWithServerConnection:]):
546 (-[DebuggerClient dealloc]):
547 (-[DebuggerClient windowDidLoad]):
548 (-[DebuggerClient windowWillClose:]):
549 (-[DebuggerClient webView:didFinishLoadForFrame:]):
550 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
551 * Drosera/mac/DebuggerDocumentPlatform.mm:
552 (DebuggerDocument::platformPause):
553 (DebuggerDocument::platformResume):
554 (DebuggerDocument::platformStepInto):
555 (DebuggerDocument::platformEvaluateScript):
556 (DebuggerDocument::getPlatformCurrentFunctionStack):
557 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
558 (DebuggerDocument::platformValueForScopeVariableNamed):
559 (DebuggerDocument::platformLog):
560 * Drosera/mac/Drosera.pch: Removed.
561 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
562 * Drosera/mac/ServerConnection.h: Added.
563 * Drosera/mac/ServerConnection.mm: Added.
564 (-[ServerConnection initWithServerName:]):
565 (-[ServerConnection dealloc]):
566 (-[ServerConnection setGlobalContext:]):
567 (-[ServerConnection pause]):
568 (-[ServerConnection resume]):
569 (-[ServerConnection stepInto]):
570 (-[ServerConnection switchToServerNamed:]):
571 (-[ServerConnection applicationTerminating:]):
572 (-[ServerConnection serverConnectionDidDie:]):
573 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
574 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
575 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
576 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
577 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
578 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
579 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
580 (-[ServerConnection currentFrame]):
581 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
582 (-[ServerConnection knownServers]):
584 2007-10-15 David Kilzer <ddkilzer@webkit.org>
588 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
589 Script to automatically search nightly builds for regressions (bisect-builds)
591 * Scripts/bisect-builds: Added.
593 2007-10-14 Maciej Stachowiak <mjs@apple.com>
597 - New JavaScript benchmark
598 http://bugs.webkit.org/show_bug.cgi?id=15515
600 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
601 current development or release build of JavaScriptCore.
603 2007-10-15 Mark Rowe <mrowe@apple.com>
607 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
609 * Scripts/webkitdirs.pm:
610 - Change checkArgv to remove the options from @ARGV to prevent
611 them from interfering with further option processing.
612 - Fix logic error in determineIsQt that would prevent it from bailing out early.
613 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
614 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
615 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
617 2007-10-15 Darin Adler <darin@apple.com>
621 - added logging of window.prompt and window.confirm
623 * DumpRenderTree/mac/UIDelegate.mm:
624 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
625 Implement the recommended delegate rather than the deprecated one.
626 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
628 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
631 * DumpRenderTree/win/UIDelegate.h:
632 * DumpRenderTree/win/UIDelegate.cpp:
633 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
634 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
635 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
636 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
638 2007-10-15 Alice Liu <alice.liu@apple.com>
640 Reviewed by Sam Weinig.
642 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
644 * DumpRenderTree/win/DumpRenderTree.cpp:
645 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
646 (main): allocate the global policy delegate for DRT's custom use
647 * DumpRenderTree/win/DumpRenderTree.vcproj:
648 Adding files to project
649 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
650 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
651 (LayoutTestController::setCustomPolicyDelegate):
652 set the webview's policy delegate to DRT's custom one if the test requests it.
653 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
654 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
655 (PolicyDelegate::PolicyDelegate):
656 (PolicyDelegate::QueryInterface):
657 (PolicyDelegate::AddRef):
658 (PolicyDelegate::Release):
659 (PolicyDelegate::decidePolicyForNavigationAction):
660 * DumpRenderTree/win/PolicyDelegate.h: Added.
661 (PolicyDelegate::decidePolicyForNewWindowAction):
662 (PolicyDelegate::decidePolicyForMIMEType):
663 (PolicyDelegate::unableToImplementPolicyWithError):
665 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
669 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
670 when querying for QMAKE_MKSPECS.
672 2007-10-14 Andrew Wellington <proton@wiretapped.net>
674 Reviewed by Adam Roben.
676 Fix run-webkit-tests is too greedy calculating platform hierarchy
677 http://bugs.webkit.org/show_bug.cgi?id=15465
679 Fix run-webkit-tests being too greedy in trying to split the platform name up
680 causing it to try and find tests in every directory above the first "-" in the
681 path to the LayoutTests
683 * Scripts/run-webkit-tests:
685 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
689 http://bugs.webkit.org/show_bug.cgi?id=15006
690 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
691 to reduce code duplication.
693 * Scripts/build-webkit:
694 * Scripts/webkitdirs.pm:
695 buildQMakeProject() renamed to buildQMakeQtProject().
696 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
697 unused $colorize has been removed.
699 === Start merge of feature-branch 2007-10-12 ===
701 2007-10-08 Eric Seidel <eric@webkit.org>
703 Reviewed by Mark Rowe.
705 * Scripts/build-webkit: add --help, remove unused --color
707 2007-10-07 Eric Seidel <eric@webkit.org>
711 * Drosera/mac/DebuggerDocumentPlatform.mm:
712 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
714 2007-10-03 Rob Buis <buis@kde.org>
718 Adapt to changed location of Ahem font.
720 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
722 2007-10-02 Eric Seidel <eric@webkit.org>
724 Reviewed by Adam Roben.
726 Make pixel tests more useful!
727 Finally fix the image diff 0.00% mystery problem
728 Highlight any image differences in the image diff.
729 Add a link from image diffs back to original test file.
731 * DumpRenderTree/mac/ImageDiff.m:
732 (compareImages): highlight any differences
733 (computePercentageDifferent): round to two decimal places
734 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
736 2007-10-02 Eric Seidel <eric@webkit.org>
738 Reviewed by Alexey Proskuryakov.
740 * Scripts/run-webkit-tests: print the % image difference on main results page
742 2007-10-02 Mark Rowe <mrowe@apple.com>
746 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
748 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
749 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
751 2007-10-01 Mark Rowe <mrowe@apple.com>
753 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
755 2007-09-25 Eric Seidel <eric@webkit.org>
757 Reviewed by Mark Rowe.
759 DerivedSources.make was finding "ENABLE_SVG" in the string
760 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
763 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
765 2007-09-25 Mark Rowe <mrowe@apple.com>
767 Rubber-stamped by Eric.
769 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
770 This makes it possible to automate nightly builds for the feature-branch.
772 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
774 Rubber stamped by Mark.
776 Enable svg experimental features as default here in feature-branch.
778 * Scripts/build-webkit:
780 2007-06-29 Antti Koivisto <antti@apple.com>
784 Add VIDEO flag for timed media features
786 * Scripts/build-webkit
788 === End merge of feature-branch 2007-10-12 ===
790 2007-10-11 Kevin McCullough <kmccullough@apple.com>
794 - Updated rational for the leaks list to be more clear.
796 * Scripts/run-webkit-tests:
798 2007-10-11 Kevin McCullough <kmccullough@apple.com>
802 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
803 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
805 * Scripts/run-webkit-tests:
807 2007-10-10 Simon Hausmann <hausmann@kde.org>
811 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
812 includes are needed for INT_MAX, std::auto_ptr and the like.
814 * DumpRenderTree/qt/main.cpp:
816 2007-10-09 Lars Knoll <lars@trolltech.com>
820 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
822 * DumpRenderTree/qt/jsobjects.cpp:
823 (LayoutTestController::encodeHostName):
824 (LayoutTestController::decodeHostName):
825 * DumpRenderTree/qt/jsobjects.h:
827 2007-10-09 Lars Knoll <lars@trolltech.com>
831 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.
833 * DumpRenderTree/qt/DumpRenderTree.cpp:
834 (WebCore::WebPage::createFrame):
835 (WebCore::DumpRenderTree::DumpRenderTree):
836 (WebCore::DumpRenderTree::titleChanged):
837 * DumpRenderTree/qt/DumpRenderTree.h:
838 * DumpRenderTree/qt/jsobjects.cpp:
839 (LayoutTestController::reset):
840 * DumpRenderTree/qt/jsobjects.h:
842 2007-10-09 Lars Knoll <lars@trolltech.com>
846 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
848 * DumpRenderTree/qt/DumpRenderTree.h:
849 * DumpRenderTree/qt/jsobjects.cpp:
850 (LayoutTestController::clearBackForwardList):
851 * DumpRenderTree/qt/jsobjects.h:
853 2007-10-09 Lars Knoll <lars@trolltech.com>
857 make --git-reviewer work again.
859 * Scripts/prepare-ChangeLog:
861 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
863 Rubber stamped by Eric.
865 Connect to the "hovering-over-link" signal emitted by WebKitPage and
866 show the current link inside the statusbar.
867 This shows how to make use of this signal and allows to easily test
868 http://bugs.webkit.org/show_bug.cgi?id=15299.
870 * GtkLauncher/main.cpp:
874 2007-10-05 Lars Knoll <lars@trolltech.com>
876 add proper error messages to the FrameLoaderClient.
877 Implement ChromeClientQt::closeWindowSoon and
878 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
879 Some fixes in DRT to make it work correctly with multiple windows.
883 * DumpRenderTree/qt/DumpRenderTree.cpp:
884 (WebCore::DumpRenderTree::DumpRenderTree):
885 (WebCore::DumpRenderTree::createWindow):
886 (WebCore::DumpRenderTree::windowCount):
887 * DumpRenderTree/qt/DumpRenderTree.h:
888 * DumpRenderTree/qt/jsobjects.cpp:
889 (LayoutTestController::maybeDump):
890 (LayoutTestController::windowCount):
891 * DumpRenderTree/qt/jsobjects.h:
893 2007-10-05 Lars Knoll <lars@trolltech.com>
895 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
896 Add support for layoutTextController.setCanOpenWindows() to DRT
897 fixing another 2 test cases in fast/dom/Window.
901 * DumpRenderTree/qt/DumpRenderTree.cpp:
902 (WebCore::WebPage::WebPage):
903 (WebCore::WebPage::createWindow):
904 (WebCore::DumpRenderTree::resetJSObjects):
905 (WebCore::DumpRenderTree::createWindow):
906 * DumpRenderTree/qt/DumpRenderTree.h:
907 * DumpRenderTree/qt/DumpRenderTree.pro:
908 * DumpRenderTree/qt/jsobjects.cpp:
909 (LayoutTestController::LayoutTestController):
910 (LayoutTestController::reset):
911 * DumpRenderTree/qt/jsobjects.h:
912 * DumpRenderTree/qt/main.cpp:
913 * DumpRenderTree/qt/testplugin.cpp: Added.
914 * DumpRenderTree/qt/testplugin.h: Added.
916 2007-10-04 Sam Weinig <sam@webkit.org>
918 Rubber stamped by Adam.
920 Remove empty directories.
922 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
923 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
925 2007-10-03 Darin Adler <darin@apple.com>
929 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
930 we find the internal libraries in the libraries directory. This
931 is helpful for Safari team engineers at Apple.
933 2007-10-03 Adam Roben <aroben@apple.com>
935 Update the location of AHEM___.TTF after r25968
939 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
941 2007-10-03 Alp Toker <alp@atoker.com>
945 http://bugs.webkit.org/show_bug.cgi?id=14726
946 [gtk] API design. Mapping the WebView delegates to signals.
948 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
950 * GtkLauncher/main.cpp:
954 (menuMainBackCallback):
955 (menuMainForwardCallback):
958 2007-10-03 Lars Knoll <lars@trolltech.com>
962 This fixes --strict mode in run-webkit-tests again after
963 the platform dependent test results have been moved.
965 * Scripts/run-webkit-tests:
967 2007-10-03 Lars Knoll <lars@trolltech.com>
971 remove the hack in run-webkit-tests that forced text only test
972 to be taken from the platform independent dir. It was only left
973 there from early days.
975 Remove platform dependent results for tests that are text only nowadays,
976 and add one platform dependent result for a text only test that requires it.
978 * Scripts/run-webkit-tests:
980 2007-10-03 Lars Knoll <lars@trolltech.com>
984 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
986 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
987 (WebCore::WebFrame::WebFrame):
988 (WebCore::WebPage::WebPage):
989 (WebCore::WebPage::createFrame):
990 (WebCore::WebPage::javaScriptAlert):
991 (WebCore::WebPage::javaScriptConsoleMessage):
992 (WebCore::DumpRenderTree::DumpRenderTree):
993 (WebCore::DumpRenderTree::~DumpRenderTree):
994 (WebCore::DumpRenderTree::open):
995 (WebCore::DumpRenderTree::readStdin):
996 (WebCore::DumpRenderTree::resetJSObjects):
997 (WebCore::DumpRenderTree::initJSObjects):
998 (WebCore::DumpRenderTree::dumpFramesAsText):
999 (WebCore::DumpRenderTree::dump):
1000 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1001 (WebCore::DumpRenderTree::layoutTestController):
1002 (WebCore::DumpRenderTree::eventSender):
1003 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1004 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1005 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1006 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1007 (HackWebFrame::mousePressEvent):
1008 (HackWebFrame::mouseReleaseEvent):
1009 (HackWebFrame::mouseMoveEvent):
1010 (HackWebFrame::HackWebFrame):
1011 (HackWebFrame::~HackWebFrame):
1012 (LayoutTestController::LayoutTestController):
1013 (LayoutTestController::reset):
1014 (LayoutTestController::maybeDump):
1015 (LayoutTestController::waitUntilDone):
1016 (LayoutTestController::notifyDone):
1017 (LayoutTestController::dumpEditingCallbacks):
1018 (LayoutTestController::queueReload):
1019 (LayoutTestController::provisionalLoad):
1020 (LayoutTestController::timerEvent):
1021 (EventSender::EventSender):
1022 (EventSender::mouseDown):
1023 (EventSender::mouseUp):
1024 (EventSender::mouseMoveTo):
1025 (EventSender::leapForward):
1026 (EventSender::keyDown):
1027 (EventSender::frameUnderMouse):
1028 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1029 (LayoutTestController::isLoading):
1030 (LayoutTestController::setLoading):
1031 (LayoutTestController::shouldDumpAsText):
1032 (LayoutTestController::shouldDumpChildrenAsText):
1033 (LayoutTestController::shouldWaitUntilDone):
1034 (LayoutTestController::dumpAsText):
1035 (LayoutTestController::dumpChildFramesAsText):
1036 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1040 * Scripts/run-webkit-tests:
1042 2007-10-03 Mark Rowe <mrowe@apple.com>
1044 Reviewed by Alp Toker.
1046 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1047 should take precedence over QTDIR when determining which port we are working with.
1049 * Scripts/webkitdirs.pm:
1051 2007-10-02 Adam Roben <aroben@apple.com>
1053 Add keychain to the list of default packages to install
1055 Rubberstamped by Sam.
1057 * CygwinDownloader/cygwin-downloader.py:
1058 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1060 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1064 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1065 Also makes WebCore regression test case logic work when using git.
1067 * Scripts/prepare-ChangeLog:
1068 (reviewerAndDescriptionForGitCommit): Added.
1070 2007-10-02 Lars Knoll <lars@trolltech.com>
1074 Add API to retrieve the frame name from QWebFrame.
1075 Implement support for DRT::dumpChildrenAsText.
1077 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1078 (WebCore::DumpRenderTree::dumpFramesAsText):
1079 (WebCore::DumpRenderTree::dump):
1080 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1081 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1082 (LayoutTestController::LayoutTestController):
1083 (LayoutTestController::reset):
1084 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1086 2007-10-02 Lars Knoll <lars@trolltech.com>
1090 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1092 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1093 (WebCore::DumpRenderTree::readStdin):
1095 2007-10-02 Mark Rowe <mrowe@apple.com>
1099 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1101 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1102 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1104 2007-10-02 Mark Rowe <mrowe@apple.com>
1106 Rubber-stamped by Maciej.
1108 Configuration changes from build.webkit.org. The major change is refactoring to work
1109 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1112 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1113 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1114 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1115 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1116 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1117 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1118 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1119 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1121 2007-10-02 Lars Knoll <lars@trolltech.com>
1125 Add support for eventSender.mouseMove to DRT.
1126 Fixes fast/css/hover-affects-child.html
1128 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1129 (EventSender::mouseMoveTo):
1131 2007-10-01 Mark Rowe <mrowe@apple.com>
1133 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1135 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1139 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1141 * Scripts/svn-apply:
1142 (gitdiff2svndiff): Ignore lines beginning with "new file".
1143 * Scripts/svn-unapply:
1144 (gitdiff2svndiff): Ditto.
1146 2007-09-30 George Staikos <staikos@kde.org>
1148 Qt build fix (Mac OS X specific)
1150 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1152 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1156 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1157 Remove Bakefiles from svn.
1159 * GtkLauncher/Bakefiles.bkgen: Removed.
1160 * GtkLauncher/ENV: Removed.
1161 * GtkLauncher/gdklauncher.bkl: Removed.
1162 * GtkLauncher/mk: Removed.
1163 * Scripts/regenerate-makefiles: Removed.
1165 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1169 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1171 * Scripts/run-webkit-tests:
1173 2007-09-26 Adam Roben <aroben@apple.com>
1175 Make not finding an installed WebKit non-fatal
1177 What really matters is that we are able to load WebKit and its
1178 dependencies, not whether we think we've found an installed WebKit.
1182 * WebKitInitializer/WebKitInitializer.cpp:
1183 (getWebViewCLSID): Use new LOG_WARNING macro.
1184 (getInstalledWebKitDirectory): Ditto.
1185 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1187 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1189 2007-09-26 Adam Roben <aroben@apple.com>
1191 Committed this file before saving it
1193 * WebKitInitializer/debug_internal.vsprops:
1195 2007-09-26 Adam Roben <aroben@apple.com>
1197 Load WebKit and its dependencies manually so they come from DllDirectory
1199 I had to change WebKitInitializer to use malloc/free instead of
1200 new/delete to avoid pulling in WebKit (and its dependencies) early
1201 through use of fastMalloc.
1205 * WebKitInitializer/WebKitInitializer.cpp:
1206 (getStringValue): Changed to use malloc/free.
1207 (getInstalledWebKitDirectory): Ditto.
1208 (initializeWebKit): Call SetDllDirectory first, then load all of
1209 WebKit's dependencies manually, finally followed by WebKit itself.
1210 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1211 configuration to match our other projects.
1212 * WebKitInitializer/debug_internal.vsprops: Added.
1214 2007-09-25 Adam Roben <aroben@apple.com>
1216 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1218 Rubberstamped by Sam.
1220 * WebKitInitializer/WebKitInitializer.vcproj:
1222 2007-09-25 Adam Roben <aroben@apple.com>
1224 Make DumpRenderTree delay-load its dependencies
1226 This lets WebKitInitializer re-route the dependencies to be loaded out
1227 of the Safari installation directory.
1229 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1230 same thing), since we can't import the kCFAllocatorDefault symbol when
1231 delay-loading CoreFoundation.dll.
1233 Rubberstamped by Sam.
1235 * DumpRenderTree/win/DumpRenderTree.cpp:
1237 (javaScriptThreads):
1238 * DumpRenderTree/win/DumpRenderTree.vcproj:
1239 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1240 (LayoutTestController::setWaitToDump):
1242 2007-09-25 Adam Roben <aroben@apple.com>
1244 Pull ole32.lib into WebKitInitializer
1246 Rubberstamped by Sam.
1248 * WebKitInitializer/WebKitInitializer.vcproj:
1250 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1254 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1255 LGPL'ed files contain incorrect FSF address
1259 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1263 Make svn-apply and svn-unapply work with git-diff formatted patches.
1265 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1266 (gitdiff2svndiff): Added.
1267 * Scripts/svn-unapply: Ditto.
1268 (gitdiff2svndiff): Added.
1270 2007-09-25 Adam Roben <aroben@apple.com>
1272 Pull advapi32.lib into WebKitInitializer
1274 This is needed to get the registry functions we use.
1276 Rubberstamped by Sam.
1278 * WebKitInitializer/WebKitInitializer.vcproj:
1280 2007-09-25 Adam Roben <aroben@apple.com>
1282 Add python and rsync to cygwin-downloader
1284 Our build slaves need this, and it can't hurt for everyone else to
1289 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1290 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1292 2007-09-25 Adam Roben <aroben@apple.com>
1294 Add WebKitInitializer and use it in DumpRenderTree
1296 WebKitInitializer is a static library that has one function,
1297 initializeWebKit(). This registers WebKit and sets up the DLL search
1298 path so that WebKit's dependencies that are installed with Safari can
1303 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1304 DumpRenderTree depend on it.
1305 * DumpRenderTree/win/DumpRenderTree.cpp:
1306 (initialize): Call initializeWebKit.
1307 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1308 WebKitInitializer.lib.
1309 * WebKitInitializer/WebKitInitializer.cpp: Added.
1312 (getInstalledWebKitDirectory):
1314 * WebKitInitializer/WebKitInitializer.h: Added.
1315 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1316 * WebKitInitializer/debug.vsprops: Added.
1317 * WebKitInitializer/release.vsprops: Added.
1319 2007-09-25 Adam Roben <aroben@apple.com>
1321 Make run-webkit-tests respect set-webkit-configuration
1325 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1326 set-webkit-configuration was last set to.
1328 2007-09-25 Mark Rowe <mrowe@apple.com>
1330 Rubber-stamped by Eric.
1332 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1333 This makes it possible to automate nightly builds for the feature-branch.
1335 2007-09-25 Adam Roben <aroben@apple.com>
1337 A couple of fixes/enhancements to update-webkit-*-libs
1339 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1340 to tell update-webkit-support-libraries where it should find the
1341 WebKitSupportLibrary.zip file you downloaded.
1343 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1348 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1349 to $auxiliaryLibsURL and removed an irrelevant comment.
1350 * Scripts/update-webkit-support-libs:
1352 2007-09-25 Adam Treat <treat@kde.org>
1354 Reviewed by Simon and Lars.
1356 Refactors and cleans up Qt DRT member variable names, member variable
1357 initialization, style fixes and general code cleanup.
1359 Adds queueReload slot to LayoutTestController that some tests require.
1361 Subclasses QWebFrame to make sure that all frames have an associated
1362 LayoutTestController JS window object.
1364 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1365 aren't dumped twice.
1369 Together, this patch fixes some 20+ layout tests in QtWebKit.
1371 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1372 (WebCore::WebFrame::WebFrame):
1373 (WebCore::WebPage::WebPage):
1374 (WebCore::WebPage::createFrame):
1375 (WebCore::DumpRenderTree::DumpRenderTree):
1376 (WebCore::DumpRenderTree::open):
1377 (WebCore::DumpRenderTree::readStdin):
1378 (WebCore::DumpRenderTree::initJSObjects):
1379 (WebCore::DumpRenderTree::dump):
1380 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1381 (WebCore::DumpRenderTree::layoutTestController):
1382 (WebCore::DumpRenderTree::eventSender):
1383 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1384 (LayoutTestController::LayoutTestController):
1385 (LayoutTestController::reset):
1386 (LayoutTestController::maybeDump):
1387 (LayoutTestController::waitUntilDone):
1388 (LayoutTestController::notifyDone):
1389 (LayoutTestController::queueReload):
1390 (LayoutTestController::provisionalLoad):
1391 (EventSender::EventSender):
1392 (EventSender::mouseDown):
1393 (EventSender::mouseUp):
1394 (EventSender::mouseMoveTo):
1395 (EventSender::frameUnderMouse):
1396 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1397 (LayoutTestController::isLoading):
1398 (LayoutTestController::setLoading):
1399 (LayoutTestController::dumpAsText):
1400 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1403 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1406 - Reverted an accidentally checked in file.
1408 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1410 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1413 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1415 * DumpRenderTree/win/DumpRenderTree.vcproj:
1416 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1418 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
1420 Rubber stamped by Adam.
1422 * GdkLauncher: Removed.
1423 * GdkLauncher/Bakefiles.bkgen: Removed.
1424 * GdkLauncher/ENV: Removed.
1425 * GdkLauncher/GdkLauncher.pro: Removed.
1426 * GdkLauncher/gdklauncher.bkl: Removed.
1427 * GdkLauncher/main.cpp: Removed.
1428 * GdkLauncher/mk: Removed.
1429 * GdkLauncher/simple.svg: Removed.
1430 * GdkLauncher/text.html: Removed.
1431 * GtkLauncher: Added.
1432 * GtkLauncher/GdkLauncher.pro: Removed.
1433 * GtkLauncher/GtkLauncher.pro: Added.
1434 * GtkLauncher/main.cpp:
1435 (updateWindowTitle):
1437 * Scripts/build-webkit:
1438 * Scripts/regenerate-makefiles:
1439 * Scripts/run-javascriptcore-tests:
1440 * Scripts/run-launcher:
1441 * Scripts/run-webkit-tests:
1442 * Scripts/webkitdirs.pm:
1444 2007-09-21 Timothy Hatcher <timothy@apple.com>
1448 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1450 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1451 This is tested by plugins/root-object-premature-delete-crash.html.
1453 * DumpRenderTree/mac/ObjCController.m:
1454 (-[ObjCController accessStoredWebScriptObject]):
1456 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1460 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1462 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1463 (FrameLoadDelegate::FrameLoadDelegate):
1465 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
1469 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1470 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1472 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1473 Now isQt() and isGdk() use global variables that are only set once.
1475 An array of all the parameters is now given to build-dumprender which includes
1476 the platform on linux.
1478 * Scripts/build-dumprendertree:
1479 * Scripts/run-webkit-tests:
1480 * Scripts/webkitdirs.pm:
1482 2007-09-19 Adam Roben <aroben@apple.com>
1484 Rubberstamped by Hyatt.
1486 * Spinneret: Removed.
1488 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
1490 Reviewed by David Kilzer.
1492 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1494 2007-09-18 Sam Weinig <sam@webkit.org>
1496 Add JSRetainPtr.h #include to fix some builds.
1498 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1500 2007-09-18 Mike Hommey <glandium@debian.org>
1504 * Scripts/prepare-ChangeLog:
1505 - Properly parse GECOS field.
1506 - Use git configuration for user name and email when appropriate.
1508 2007-09-17 Sam Weinig <sam@webkit.org>
1512 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1514 2007-09-17 Sam Weinig <sam@webkit.org>
1516 Reviewed by Adam Roben.
1518 Share more code between mac and windows DRT.
1519 - GCController is now shared.
1520 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1522 * DumpRenderTree/GCController.cpp:
1523 * DumpRenderTree/win/DumpRenderTree.cpp:
1524 * DumpRenderTree/win/DumpRenderTree.vcproj:
1525 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1526 (FrameLoadDelegate::FrameLoadDelegate):
1527 (FrameLoadDelegate::~FrameLoadDelegate):
1528 (FrameLoadDelegate::windowScriptObjectAvailable):
1529 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1530 * DumpRenderTree/win/GCController.cpp: Removed.
1531 * DumpRenderTree/win/GCController.h: Removed.
1532 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1533 (GCController::collect):
1534 (GCController::collectOnAlternateThread):
1535 (GCController::getJSObjectCount):
1536 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1537 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1539 2007-09-17 Sam Weinig <sam@webkit.org>
1541 Reviewed by Adam Roben.
1543 Begin sharing code between mac and windows DRT.
1544 - both now share LayoutTestController.h/cpp and implement platform dependant
1545 operations in LayoutTestControllerMac/Win.
1546 - DumpRenderTree.h is now shared.
1547 - WorkQueue and WorkQueueItem are also shared.
1549 * DumpRenderTree/DumpRenderTree.h:
1550 * DumpRenderTree/LayoutTestController.cpp:
1551 * DumpRenderTree/win/DumpRenderTree.cpp:
1553 (dumpFrameScrollPosition):
1557 * DumpRenderTree/win/DumpRenderTree.h: Removed.
1558 * DumpRenderTree/win/DumpRenderTree.vcproj:
1559 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1560 * DumpRenderTree/win/EditingDelegate.cpp:
1561 (EditingDelegate::shouldBeginEditingInDOMRange):
1562 (EditingDelegate::shouldEndEditingInDOMRange):
1563 (EditingDelegate::shouldInsertNode):
1564 (EditingDelegate::shouldInsertText):
1565 (EditingDelegate::shouldDeleteDOMRange):
1566 (EditingDelegate::shouldChangeSelectedDOMRange):
1567 (EditingDelegate::shouldApplyStyle):
1568 (EditingDelegate::shouldChangeTypingStyle):
1569 (EditingDelegate::doPlatformCommand):
1570 (EditingDelegate::webViewDidBeginEditing):
1571 (EditingDelegate::webViewDidChange):
1572 (EditingDelegate::webViewDidEndEditing):
1573 (EditingDelegate::webViewDidChangeTypingStyle):
1574 (EditingDelegate::webViewDidChangeSelection):
1575 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
1576 * DumpRenderTree/win/LayoutTestController.h: Removed.
1577 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
1578 (LayoutTestController::addDisallowedURL):
1579 (LayoutTestController::clearBackForwardList):
1580 (LayoutTestController::copyDecodedHostName):
1581 (LayoutTestController::copyEncodedHostName):
1582 (LayoutTestController::display):
1583 (LayoutTestController::keepWebHistory):
1584 (LayoutTestController::notifyDone):
1585 (LayoutTestController::queueBackNavigation):
1586 (LayoutTestController::queueForwardNavigation):
1587 (jsStringRefToWString):
1588 (LayoutTestController::queueLoad):
1589 (LayoutTestController::queueReload):
1590 (LayoutTestController::queueScript):
1591 (LayoutTestController::setAcceptsEditing):
1592 (LayoutTestController::setCustomPolicyDelegate):
1593 (LayoutTestController::setMainFrameIsFirstResponder):
1594 (LayoutTestController::setTabKeyCyclesThroughElements):
1595 (LayoutTestController::setUseDashboardCompatibilityMode):
1596 (LayoutTestController::setUserStyleSheetEnabled):
1597 (LayoutTestController::setUserStyleSheetLocation):
1598 (LayoutTestController::setWindowIsKey):
1599 (waitUntilDoneWatchdogFired):
1600 (LayoutTestController::setWaitToDump):
1601 (LayoutTestController::windowCount):
1602 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
1603 (FrameLoadDelegate::didReceiveTitle):
1604 (FrameLoadDelegate::processWork):
1605 (FrameLoadDelegate::locationChangeDone):
1606 (FrameLoadDelegate::windowScriptObjectAvailable):
1607 * DumpRenderTree/win/WorkQueue.cpp: Removed.
1608 * DumpRenderTree/win/WorkQueue.h: Removed.
1609 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
1610 * DumpRenderTree/win/WorkQueueItem.h: Removed.
1611 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
1612 (jsStringRefToWString):
1614 (ScriptItem::invoke):
1616 2007-09-17 Sam Weinig <sam@webkit.org>
1618 Reviewed by Adam Roben.
1620 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
1622 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
1623 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
1624 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
1625 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
1626 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
1627 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
1628 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
1629 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
1630 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
1631 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
1632 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
1633 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
1634 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
1635 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
1636 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
1637 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
1638 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
1639 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
1640 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
1641 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
1642 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
1643 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
1644 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
1645 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
1646 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
1647 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
1648 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
1649 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
1650 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
1651 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
1652 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
1653 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
1654 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
1655 * DumpRenderTree/win: Added.
1656 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
1657 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
1658 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
1659 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
1660 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
1661 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
1662 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
1663 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
1664 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
1665 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
1666 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
1667 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
1668 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
1669 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1670 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
1671 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
1672 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
1673 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
1674 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1675 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1676 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
1677 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1678 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
1679 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
1680 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
1681 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
1683 2007-09-15 Mark Rowe <mrowe@apple.com>
1685 Build fix for DumpRenderTree.
1687 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
1689 2007-09-14 Sam Weinig <sam@webkit.org>
1691 Rubber stamped by Adam Roben.
1693 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
1694 - The UIDelegate was put into a new file while the FrameLoadDelegate was
1695 kept in the WaitUntilDoneDelegate file for the time being.
1697 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1699 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1700 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
1701 (UIDelegate::QueryInterface):
1702 (UIDelegate::AddRef):
1703 (UIDelegate::Release):
1704 (UIDelegate::hasCustomMenuImplementation):
1705 (UIDelegate::setFrame):
1706 (UIDelegate::webViewFrame):
1707 (UIDelegate::runJavaScriptAlertPanelWithMessage):
1708 (UIDelegate::webViewAddMessageToConsole):
1709 (UIDelegate::doDragDrop):
1710 (UIDelegate::webViewGetDlgCode):
1711 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
1712 (UIDelegate::UIDelegate):
1713 (UIDelegate::createWebViewWithRequest):
1714 (UIDelegate::webViewShow):
1715 (UIDelegate::webViewClose):
1716 (UIDelegate::webViewFocus):
1717 (UIDelegate::webViewUnfocus):
1718 (UIDelegate::webViewFirstResponder):
1719 (UIDelegate::makeFirstResponder):
1720 (UIDelegate::setStatusText):
1721 (UIDelegate::webViewStatusText):
1722 (UIDelegate::webViewAreToolbarsVisible):
1723 (UIDelegate::setToolbarsVisible):
1724 (UIDelegate::webViewIsStatusBarVisible):
1725 (UIDelegate::setStatusBarVisible):
1726 (UIDelegate::webViewIsResizable):
1727 (UIDelegate::setResizable):
1728 (UIDelegate::setContentRect):
1729 (UIDelegate::webViewContentRect):
1730 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1731 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1732 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
1733 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
1734 (UIDelegate::mouseDidMoveOverElement):
1735 (UIDelegate::contextMenuItemsForElement):
1736 (UIDelegate::validateUserInterfaceItem):
1737 (UIDelegate::shouldPerformAction):
1738 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
1739 (UIDelegate::willPerformDragDestinationAction):
1740 (UIDelegate::dragSourceActionMaskForPoint):
1741 (UIDelegate::willPerformDragSourceAction):
1742 (UIDelegate::contextMenuItemSelected):
1743 (UIDelegate::trackCustomPopupMenu):
1744 (UIDelegate::measureCustomMenuItem):
1745 (UIDelegate::drawCustomMenuItem):
1746 (UIDelegate::addCustomMenuDrawingData):
1747 (UIDelegate::cleanUpCustomMenuDrawingData):
1748 (UIDelegate::canTakeFocus):
1749 (UIDelegate::takeFocus):
1750 (UIDelegate::registerUndoWithTarget):
1751 (UIDelegate::removeAllActionsWithTarget):
1752 (UIDelegate::setActionTitle):
1755 (UIDelegate::canUndo):
1756 (UIDelegate::canRedo):
1757 (UIDelegate::webViewResizerRect):
1758 (UIDelegate::webViewDrawResizer):
1759 (UIDelegate::webViewScrolled):
1760 (UIDelegate::webViewShouldInterruptJavaScript):
1761 (UIDelegate::webViewReceivedFocus):
1762 (UIDelegate::webViewLostFocus):
1763 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
1764 (FrameLoadDelegate::QueryInterface):
1765 (FrameLoadDelegate::AddRef):
1766 (FrameLoadDelegate::Release):
1767 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1768 (FrameLoadDelegate::didCommitLoadForFrame):
1769 (FrameLoadDelegate::didReceiveTitle):
1770 (FrameLoadDelegate::processWork):
1772 (FrameLoadDelegate::locationChangeDone):
1773 (FrameLoadDelegate::didFinishLoadForFrame):
1774 (FrameLoadDelegate::didFailLoadWithError):
1775 (FrameLoadDelegate::windowScriptObjectAvailable):
1776 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
1777 (FrameLoadDelegate::FrameLoadDelegate):
1779 2007-09-14 Sam Weinig <sam@webkit.org>
1781 Reviewed by Kevin McCullough.
1783 Move mac specific globals in to mac/DumpRenderTreeMac.h
1785 * DumpRenderTree/DumpRenderTree.h:
1786 * DumpRenderTree/DumpRenderTree.mm: Removed.
1787 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1788 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
1789 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
1791 2007-09-14 Brady Eidson <beidson@apple.com>
1793 Rubberstamped by Weinig
1795 You know, Sam, some of us use case-sensitve filesystems...
1797 * DumpRenderTree/DumpRenderTree.h:
1798 * DumpRenderTree/mac/UIDelegate.mm:
1800 2007-09-14 Sam Weinig <sam@webkit.org>
1802 Rubber stamped by Adam Roben.
1804 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
1805 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
1807 * DumpRenderTree/AppleScriptController.h: Removed.
1808 * DumpRenderTree/AppleScriptController.m: Removed.
1809 * DumpRenderTree/DumpRenderTree.h:
1810 * DumpRenderTree/DumpRenderTree.mm:
1811 (startJavaScriptThreads):
1812 (stopJavaScriptThreads):
1814 (setDefaultColorProfileToRGB):
1815 (makeLargeMallocFailSilently):
1816 (dumpFrameScrollPosition):
1820 (-[DumpRenderTreeWindow isKeyWindow]):
1821 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1822 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
1823 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
1824 * DumpRenderTree/EditingDelegate.h: Removed.
1825 * DumpRenderTree/EditingDelegate.m: Removed.
1826 * DumpRenderTree/EventSendingController.h: Removed.
1827 * DumpRenderTree/EventSendingController.m: Removed.
1828 * DumpRenderTree/FrameLoadDelegate.h: Removed.
1829 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
1830 * DumpRenderTree/GCController.mm: Removed.
1831 * DumpRenderTree/ImageDiff.m: Removed.
1832 * DumpRenderTree/LayoutTestController.cpp:
1833 (LayoutTestController::LayoutTestController):
1834 (dumpAsTextCallback):
1835 (dumpBackForwardListCallback):
1836 (dumpChildFramesAsTextCallback):
1837 (dumpChildFrameScrollPositionsCallback):
1838 (dumpDOMAsWebArchiveCallback):
1839 (dumpEditingCallbacksCallback):
1840 (dumpFrameLoadCallbacksCallback):
1841 (dumpResourceLoadCallbacksCallback):
1842 (dumpSelectionRectCallback):
1843 (dumpSourceAsWebArchiveCallback):
1844 (dumpTitleChangesCallback):
1845 (repaintSweepHorizontallyCallback):
1846 (setCallCloseOnWebViewsCallback):
1847 (setCanOpenWindowsCallback):
1848 (setCloseRemainingWindowsWhenCompleteCallback):
1849 (testRepaintCallback):
1850 (addFileToPasteboardOnDragCallback):
1851 (waitUntilDoneCallback):
1852 * DumpRenderTree/LayoutTestController.h:
1853 (LayoutTestController::dumpAsText):
1854 (LayoutTestController::setDumpAsText):
1855 (LayoutTestController::dumpBackForwardList):
1856 (LayoutTestController::setDumpBackForwardList):
1857 (LayoutTestController::dumpChildFrameScrollPositions):
1858 (LayoutTestController::setDumpChildFrameScrollPositions):
1859 (LayoutTestController::dumpChildFramesAsText):
1860 (LayoutTestController::setDumpChildFramesAsText):
1861 (LayoutTestController::dumpDOMAsWebArchive):
1862 (LayoutTestController::setDumpDOMAsWebArchive):
1863 (LayoutTestController::dumpSelectionRect):
1864 (LayoutTestController::setDumpSelectionRect):
1865 (LayoutTestController::dumpSourceAsWebArchive):
1866 (LayoutTestController::setDumpSourceAsWebArchive):
1867 (LayoutTestController::dumpTitleChanges):
1868 (LayoutTestController::setDumpTitleChanges):
1869 (LayoutTestController::dumpEditingCallbacks):
1870 (LayoutTestController::setDumpEditingCallbacks):
1871 (LayoutTestController::dumpResourceLoadCallbacks):
1872 (LayoutTestController::setDumpResourceLoadCallbacks):
1873 (LayoutTestController::dumpFrameLoadCallbacks):
1874 (LayoutTestController::setDumpFrameLoadCallbacks):
1875 (LayoutTestController::addFileToPasteboardOnDrag):
1876 (LayoutTestController::setAddFileToPasteboardOnDrag):
1877 (LayoutTestController::callCloseOnWebViews):
1878 (LayoutTestController::setCallCloseOnWebViews):
1879 (LayoutTestController::canOpenWindows):
1880 (LayoutTestController::setCanOpenWindows):
1881 (LayoutTestController::closeRemainingWindowsWhenComplete):
1882 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1883 (LayoutTestController::testRepaint):
1884 (LayoutTestController::setTestRepaint):
1885 (LayoutTestController::testRepaintSweepHorizontally):
1886 (LayoutTestController::setTestRepaintSweepHorizontally):
1887 (LayoutTestController::waitToDump):
1888 (LayoutTestController::windowIsKey):
1889 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
1890 * DumpRenderTree/NavigationController.h: Removed.
1891 * DumpRenderTree/NavigationController.m: Removed.
1892 * DumpRenderTree/ObjCController.h: Removed.
1893 * DumpRenderTree/ObjCController.m: Removed.
1894 * DumpRenderTree/ObjCPlugin.h: Removed.
1895 * DumpRenderTree/ObjCPlugin.m: Removed.
1896 * DumpRenderTree/ObjCPluginFunction.h: Removed.
1897 * DumpRenderTree/ObjCPluginFunction.m: Removed.
1898 * DumpRenderTree/PolicyDelegate.h: Removed.
1899 * DumpRenderTree/PolicyDelegate.m: Removed.
1900 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
1901 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
1902 * DumpRenderTree/TextInputController.h: Removed.
1903 * DumpRenderTree/TextInputController.m: Removed.
1904 * DumpRenderTree/UIDelegate.h: Removed.
1905 * DumpRenderTree/UIDelegate.mm: Removed.
1906 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
1907 * DumpRenderTree/mac: Added.
1908 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
1909 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
1910 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
1911 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
1912 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
1913 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
1914 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1915 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1916 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1917 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1918 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1919 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1920 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1921 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1922 (-[EditingDelegate webViewDidBeginEditing:]):
1923 (-[EditingDelegate webViewDidChange:]):
1924 (-[EditingDelegate webViewDidEndEditing:]):
1925 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1926 (-[EditingDelegate webViewDidChangeSelection:]):
1927 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
1928 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
1929 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
1930 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
1931 (-[FrameLoadDelegate init]):
1932 (-[FrameLoadDelegate dealloc]):
1933 (-[FrameLoadDelegate processWork:]):
1934 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1935 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1936 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1937 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1938 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1939 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1940 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1941 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1942 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1943 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1944 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1945 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1946 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1947 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1948 (-[FrameLoadDelegate webView:willCloseFrame:]):
1949 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1950 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1951 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
1952 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
1953 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
1954 (LayoutTestController::notifyDone):
1955 (LayoutTestController::setWindowIsKey):
1956 (LayoutTestController::setWaitToDump):
1957 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
1958 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
1959 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
1960 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
1961 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
1962 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
1963 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
1964 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
1965 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
1966 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
1967 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
1968 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
1969 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1970 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1971 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1972 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1973 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1974 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1975 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
1976 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
1977 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
1978 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
1979 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1980 (-[UIDelegate webViewFocus:]):
1981 (-[UIDelegate webView:createWebViewWithRequest:]):
1982 (-[UIDelegate webViewClose:]):
1983 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
1985 2007-09-14 Kevin McCullough <kmccullough@apple.com>
1989 - Changing Win version of Drosera work with recent changes.
1991 * Drosera/DebuggerDocument.cpp:
1992 * Drosera/DebuggerDocument.h:
1993 * Drosera/mac/DebuggerDocumentPlatform.mm:
1994 (NSStringCreateWithJSStringRef):
1995 (JSValueRefCreateWithNSString):
1996 * Drosera/win/DebuggerClient.cpp:
1997 (DebuggerClient::stepInto):
1998 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2000 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2004 - Moved isPaused into the JS for efficiency and simplicity.
2006 * Drosera/DebuggerDocument.cpp:
2007 (DebuggerDocument::DebuggerDocument):
2008 (DebuggerDocument::pauseCallback):
2009 (DebuggerDocument::resumeCallback):
2010 (DebuggerDocument::isPaused):
2011 (DebuggerDocument::staticFunctions):
2012 * Drosera/DebuggerDocument.h:
2013 * Drosera/console.js:
2014 * Drosera/debugger.js:
2015 * Drosera/mac/DebuggerClient.mm:
2016 (-[DebuggerClient validateUserInterfaceItem:]):
2018 2007-09-13 Sam Weinig <sam@webkit.org>
2020 Rubber stamped by Darin.
2022 Make DumpRenderTree more cross platform ready.
2023 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2024 - Use CF types instead of NS objects.
2027 * DumpRenderTree/DumpRenderTree.h:
2028 * DumpRenderTree/DumpRenderTree.mm:
2032 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2033 * DumpRenderTree/EditingDelegate.m:
2034 * DumpRenderTree/FrameLoadDelegate.h:
2035 * DumpRenderTree/FrameLoadDelegate.mm:
2036 (-[FrameLoadDelegate init]):
2037 (-[FrameLoadDelegate dealloc]):
2038 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2039 * DumpRenderTree/GCController.cpp: Added.
2040 (GCController::GCController):
2041 (GCController::~GCController):
2043 (collectOnAlternateThreadCallback):
2044 (getJSObjectCountCallback):
2045 (GCController::makeWindowObject):
2046 (GCController::getJSClass):
2047 (GCController::staticFunctions):
2048 * DumpRenderTree/GCController.h:
2049 * DumpRenderTree/GCController.mm:
2050 (GCController::collect):
2051 (GCController::collectOnAlternateThread):
2052 (GCController::getJSObjectCount):
2053 * DumpRenderTree/LayoutTestController.cpp:
2054 (LayoutTestController::makeWindowObject):
2055 (LayoutTestController::getJSClass):
2056 * DumpRenderTree/LayoutTestController.h:
2057 * DumpRenderTree/LayoutTestControllerMac.mm:
2058 (LayoutTestController::addDisallowedURL):
2059 (waitUntilDoneWatchdogFired):
2060 (LayoutTestController::waitUntilDone):
2061 * DumpRenderTree/ResourceLoadDelegate.m:
2062 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2064 2007-09-12 Sam Weinig <sam@webkit.org>
2066 Reviewed by Stephanie.
2068 Fix leaks in mac DumpRenderTree.
2070 * DumpRenderTree/FrameLoadDelegate.mm:
2071 (-[FrameLoadDelegate init]): Initalize in the correct order.
2072 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2073 * DumpRenderTree/LayoutTestController.cpp:
2074 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2075 (encodeHostNameCallback): ditto.
2076 * DumpRenderTree/LayoutTestController.h:
2077 * DumpRenderTree/LayoutTestControllerMac.mm:
2078 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2079 (LayoutTestController::copyEncodedHostName): ditto
2080 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2082 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2086 - 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.
2088 * Scripts/run-webkit-tests:
2090 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2094 - Simplified code paths and extracted out functions to increase encapsulation.
2096 * Drosera/DebuggerDocument.cpp:
2097 (DebuggerDocument::breakpointEditorHTMLCallback):
2098 (DebuggerDocument::isPausedCallback):
2099 (DebuggerDocument::pauseCallback):
2100 (DebuggerDocument::resumeCallback):
2101 (DebuggerDocument::stepIntoCallback):
2102 (DebuggerDocument::evaluateScriptCallback):
2103 (DebuggerDocument::currentFunctionStackCallback):
2104 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2105 (DebuggerDocument::valueForScopeVariableNamedCallback):
2106 (DebuggerDocument::logCallback):
2107 * Drosera/DebuggerDocument.h:
2108 (DebuggerDocument::getPaused):
2109 * Drosera/mac/DebuggerClient.mm:
2110 (-[DebuggerClient pause:]):
2111 (-[DebuggerClient resume:]):
2112 (-[DebuggerClient stepInto:]):
2113 (-[DebuggerClient stepOver:]):
2114 (-[DebuggerClient stepOut:]):
2115 (-[DebuggerClient showConsole:]):
2116 (-[DebuggerClient closeCurrentFile:]):
2117 (-[DebuggerClient validateUserInterfaceItem:]):
2118 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2119 (+[NSString stringOrNilFromWebScriptResult:]):
2120 (DebuggerDocument::platformPause):
2121 (DebuggerDocument::platformResume):
2122 (DebuggerDocument::platformStepInto):
2123 (DebuggerDocument::platformEvaluateScript):
2124 (DebuggerDocument::getPlatformCurrentFunctionStack):
2125 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2126 (DebuggerDocument::platformValueForScopeVariableNamed):
2127 (DebuggerDocument::platformLog):
2128 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2130 2007-09-12 Sam Weinig <sam@webkit.org>
2132 Build fix for Buildbot.
2134 * DumpRenderTree/DumpRenderTree.mm:
2137 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2141 - Updated the leaks list for leopard to help identify regressions.
2143 * Scripts/run-webkit-tests:
2145 2007-09-12 Sam Weinig <sam@webkit.org>
2147 Rubber stamped by Darin.
2149 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2151 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2152 * DumpRenderTree/DumpRenderTree.m: Removed.
2153 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2154 (stopJavaScriptThreads): Fix initialization.
2155 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2156 (dumpRenderTree): Ditto.
2158 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2160 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2161 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2162 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2163 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2164 (-[FrameLoadDelegate init]):
2165 (-[FrameLoadDelegate dealloc]):
2166 (-[FrameLoadDelegate processWork:]):
2167 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2168 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2169 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2171 * DumpRenderTree/LayoutTestController.cpp: Added.
2172 (LayoutTestController::LayoutTestController):
2173 (LayoutTestController::~LayoutTestController):
2174 (dumpAsTextCallback):
2175 (dumpBackForwardListCallback):
2176 (dumpChildFramesAsTextCallback):
2177 (dumpChildFrameScrollPositionsCallback):
2178 (dumpDOMAsWebArchiveCallback):
2179 (dumpEditingCallbacksCallback):
2180 (dumpFrameLoadCallbacksCallback):
2181 (dumpResourceLoadCallbacksCallback):
2182 (dumpSelectionRectCallback):
2183 (dumpSourceAsWebArchiveCallback):
2184 (dumpTitleChangesCallback):
2185 (repaintSweepHorizontallyCallback):
2186 (setCallCloseOnWebViewsCallback):
2187 (setCanOpenWindowsCallback):
2188 (setCloseRemainingWindowsWhenCompleteCallback):
2189 (testRepaintCallback):
2190 (addFileToPasteboardOnDragCallback):
2191 (addDisallowedURLCallback):
2192 (clearBackForwardListCallback):
2193 (decodeHostNameCallback):
2195 (encodeHostNameCallback):
2196 (keepWebHistoryCallback):
2197 (notifyDoneCallback):
2198 (queueBackNavigationCallback):
2199 (queueForwardNavigationCallback):
2200 (queueLoadCallback):
2201 (queueReloadCallback):
2202 (queueScriptCallback):
2203 (setAcceptsEditingCallback):
2204 (setCustomPolicyDelegateCallback):
2205 (setMainFrameIsFirstResponderCallback):
2206 (setTabKeyCyclesThroughElementsCallback):
2207 (setUseDashboardCompatibilityModeCallback):
2208 (setUserStyleSheetEnabledCallback):
2209 (setUserStyleSheetLocationCallback):
2210 (setWindowIsKeyCallback):
2211 (waitUntilDoneCallback):
2212 (windowCountCallback):
2213 (LayoutTestController::makeWindowObject):
2214 (LayoutTestController::getLayoutTestControllerJSClass):
2215 (LayoutTestController::staticFunctions):
2216 * DumpRenderTree/LayoutTestController.h: Replaced.
2217 * DumpRenderTree/LayoutTestController.m: Removed.
2218 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2219 (LayoutTestController::dumpAsText):
2220 (LayoutTestController::dumpBackForwardList):
2221 (LayoutTestController::dumpChildFramesAsText):
2222 (LayoutTestController::dumpChildFrameScrollPositions):
2223 (LayoutTestController::dumpDOMAsWebArchive):
2224 (LayoutTestController::dumpEditingCallbacks):
2225 (LayoutTestController::dumpFrameLoadCallbacks):
2226 (LayoutTestController::dumpResourceLoadCallbacks):
2227 (LayoutTestController::dumpSelectionRect):
2228 (LayoutTestController::dumpSourceAsWebArchive):
2229 (LayoutTestController::dumpTitleChanges):
2230 (LayoutTestController::repaintSweepHorizontally):
2231 (LayoutTestController::setCallCloseOnWebViews):
2232 (LayoutTestController::setCanOpenWindows):
2233 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2234 (LayoutTestController::testRepaint):
2235 (LayoutTestController::addFileToPasteboardOnDrag):
2236 (LayoutTestController::addDisallowedURL):
2237 (LayoutTestController::clearBackForwardList):
2238 (LayoutTestController::decodeHostName):
2239 (LayoutTestController::encodeHostName):
2240 (LayoutTestController::display):
2241 (LayoutTestController::keepWebHistory):
2242 (LayoutTestController::notifyDone):
2243 (LayoutTestController::queueBackNavigation):
2244 (LayoutTestController::queueForwardNavigation):
2245 (LayoutTestController::queueLoad):
2246 (LayoutTestController::queueReload):
2247 (LayoutTestController::queueScript):
2248 (LayoutTestController::setAcceptsEditing):
2249 (LayoutTestController::setCustomPolicyDelegate):
2250 (LayoutTestController::setMainFrameIsFirstResponder):
2251 (LayoutTestController::setTabKeyCyclesThroughElements):
2252 (LayoutTestController::setUseDashboardCompatibilityMode):
2253 (LayoutTestController::setUserStyleSheetEnabled):
2254 (LayoutTestController::setUserStyleSheetLocation):
2255 (LayoutTestController::setWindowIsKey):
2256 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2257 (LayoutTestController::waitUntilDone):
2258 (LayoutTestController::windowCount):
2259 Use the JSCore API to implement the LayoutTestController.
2261 * DumpRenderTree/ObjCController.h:
2262 * DumpRenderTree/ObjCController.m:
2263 (+[ObjCController isSelectorExcludedFromWebScript:]):
2264 (+[ObjCController webScriptNameForSelector:]):
2265 (-[ObjCController accessStoredWebScriptObject]):
2266 (-[ObjCController storeWebScriptObject:]):
2267 (-[ObjCController dealloc]):
2268 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2269 Move WebScriptObject tests to ObjCController.
2271 * DumpRenderTree/UIDelegate.m: Removed.
2272 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2274 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2275 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2276 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2277 (WorkQueueItem::~WorkQueueItem):
2278 (LoadItem::LoadItem):
2281 (ScriptItem::ScriptItem):
2282 (ScriptItem::script):
2283 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2285 (ReloadItem::invoke):
2286 (ScriptItem::invoke):
2287 (BackForwardItem::invoke):
2288 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2289 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2292 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2296 - Updated Win side to take advantage of the platform separating changes.
2298 * Drosera/DebuggerDocument.cpp:
2299 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2300 * Drosera/DebuggerDocument.h:
2301 * Drosera/win/DebuggerClient.cpp:
2302 (DebuggerClient::pause):
2303 (DebuggerClient::resume):
2304 (DebuggerClient::stepInto):
2305 (DebuggerDocument::platformPause):
2306 (DebuggerDocument::platformResume):
2307 (DebuggerDocument::platformStepInto):
2308 (DebuggerDocument::platformEvaluateScript):
2309 (DebuggerDocument::getPlatformCurrentFunctionStack):
2310 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2311 (DebuggerDocument::platformValueForScopeVariableNamed):
2312 (DebuggerDocument::platformLog):
2313 * Drosera/win/DebuggerClient.h:
2314 * Drosera/win/Drosera.cpp:
2316 (Drosera::windowScriptObjectAvailable):
2317 (Drosera::initWithServerName):
2318 (Drosera::switchToServerNamed):
2319 * Drosera/win/Drosera.h:
2320 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2322 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2326 - Just doing the moves in a separate patch so the changes are easier to see.
2328 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2329 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2330 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2331 * Drosera/win/DebuggerDocumentWin.h: Removed.
2332 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2334 2007-09-11 Sven Herzberg <sven@imendio.com>
2336 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2337 http://bugs.webkit.org/show_bug.cgi?id=15176
2339 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2340 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2341 other paths eg. from jhbuild)
2343 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2347 - Made an order-of-deletion mistake.
2349 * Drosera/DebuggerDocument.h:
2350 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2351 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2352 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2353 * Drosera/mac/DebuggerClient.mm:
2354 (DebuggerDocument::platformPause):
2355 (DebuggerDocument::platformResume):
2356 (DebuggerDocument::platformStepInto):
2357 (DebuggerDocument::platformEvaluateScript):
2358 (DebuggerDocument::getPlatformCurrentFunctionStack):
2359 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2360 (DebuggerDocument::platformValueForScopeVariableNamed):
2361 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2363 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2367 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2369 * Drosera/DebuggerDocument.cpp:
2370 (DebuggerDocument::DebuggerDocument):
2371 * Drosera/DebuggerDocument.h:
2372 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2373 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2374 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2375 * Drosera/mac/DebuggerApplication.mm:
2376 (-[DebuggerApplication attach:]):
2377 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2378 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2379 (DebuggerDocument::platformPause):
2380 (DebuggerDocument::platformResume):
2381 (DebuggerDocument::platformStepInto):
2382 (DebuggerDocument::platformEvaluateScript):
2383 (DebuggerDocument::getPlatformCurrentFunctionStack):
2384 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2385 (DebuggerDocument::platformValueForScopeVariableNamed):
2386 (DebuggerDocument::platformLog):
2387 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2388 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2389 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2391 2007-09-09 Sam Weinig <sam@webkit.org>
2393 Reviewed by Mark Rowe.
2395 Remove 'objC' prefix from methods now in the ObjCController.
2397 * DumpRenderTree/ObjCController.m:
2398 (+[ObjCController isSelectorExcludedFromWebScript:]):
2399 (+[ObjCController webScriptNameForSelector:]):
2400 (-[ObjCController classNameOf:]):
2401 (-[ObjCController objectOfClass:]):
2402 (-[ObjCController identityIsEqual::]):
2403 (-[ObjCController longLongRoundTrip:]):
2404 (-[ObjCController unsignedLongLongRoundTrip:]):
2406 2007-09-09 Sam Weinig <sam@webkit.org>
2410 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
2411 - Move LayoutTestController into its own file.
2412 - Move Objective-C only functions on LayoutTestController into a new controller called the
2415 * DumpRenderTree/DumpRenderTree.h:
2416 * DumpRenderTree/DumpRenderTree.m:
2418 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2419 * DumpRenderTree/FrameLoadDelegate.m:
2420 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2421 * DumpRenderTree/LayoutTestController.h: Added.
2422 * DumpRenderTree/LayoutTestController.m: Added.
2423 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2424 (+[LayoutTestController webScriptNameForSelector:]):
2425 (-[LayoutTestController clearBackForwardList]):
2426 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2427 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2428 (-[LayoutTestController setCustomPolicyDelegate:]):
2429 (-[LayoutTestController keepWebHistory]):
2430 (-[LayoutTestController setCallCloseOnWebViews:]):
2431 (-[LayoutTestController setCanOpenWindows]):
2432 (-[LayoutTestController waitUntilDone]):
2433 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2434 (-[LayoutTestController notifyDone]):
2435 (-[LayoutTestController dumpAsText]):
2436 (-[LayoutTestController addFileToPasteboardOnDrag]):
2437 (-[LayoutTestController addDisallowedURL:]):
2438 (-[LayoutTestController setUserStyleSheetLocation:]):
2439 (-[LayoutTestController setUserStyleSheetEnabled:]):
2440 (-[LayoutTestController dumpDOMAsWebArchive]):
2441 (-[LayoutTestController dumpSourceAsWebArchive]):
2442 (-[LayoutTestController dumpSelectionRect]):
2443 (-[LayoutTestController dumpTitleChanges]):
2444 (-[LayoutTestController dumpBackForwardList]):
2445 (-[LayoutTestController windowCount]):
2446 (-[LayoutTestController dumpChildFrameScrollPositions]):
2447 (-[LayoutTestController dumpChildFramesAsText]):
2448 (-[LayoutTestController dumpEditingCallbacks]):
2449 (-[LayoutTestController dumpResourceLoadCallbacks]):
2450 (-[LayoutTestController dumpFrameLoadCallbacks]):
2451 (-[LayoutTestController setWindowIsKey:]):
2452 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2453 (-[LayoutTestController display]):
2454 (-[LayoutTestController testRepaint]):
2455 (-[LayoutTestController repaintSweepHorizontally]):
2456 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2457 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2458 (-[LayoutTestController _doLoad:target:]):
2459 (-[LayoutTestController _doBackOrForwardNavigation:]):
2460 (-[LayoutTestController queueBackNavigation:]):
2461 (-[LayoutTestController queueForwardNavigation:]):
2462 (-[LayoutTestController queueReload]):
2463 (-[LayoutTestController queueScript:]):
2464 (-[LayoutTestController queueLoad:target:]):
2465 (-[LayoutTestController setAcceptsEditing:]):
2466 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2467 (-[LayoutTestController storeWebScriptObject:]):
2468 (-[LayoutTestController accessStoredWebScriptObject]):
2469 (-[LayoutTestController dealloc]):
2470 (-[LayoutTestController decodeHostName:]):
2471 (-[LayoutTestController encodeHostName:]):
2472 * DumpRenderTree/ObjCController.h: Added.
2473 * DumpRenderTree/ObjCController.m: Added.
2474 (+[ObjCController isSelectorExcludedFromWebScript:]):
2475 (+[ObjCController webScriptNameForSelector:]):
2476 (-[ObjCController objCClassNameOf:]):
2477 (-[ObjCController objCObjectOfClass:]):
2478 (-[ObjCController objCIdentityIsEqual::]):
2479 (-[ObjCController objCLongLongRoundTrip:]):
2480 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2481 (-[ObjCController testWrapperRoundTripping:]):
2483 2007-09-07 Sam Weinig <sam@webkit.org>
2487 Strip trailing and leading space/newline characters from skiplist file names.
2489 * Scripts/run-webkit-tests:
2491 2007-09-06 Kevin McCullough <kmccullough@apple.com>
2495 - Changed Drosera to take advantage of the JSRetainPtr changes.
2497 * Drosera/DebuggerDocument.cpp:
2498 (DebuggerDocument::breakpointEditorHTML):
2499 (DebuggerDocument::evaluateScript):
2500 (DebuggerDocument::valueForScopeVariableNamed):
2501 (DebuggerDocument::log):
2502 (DebuggerDocument::windowScriptObjectAvailable):
2503 (DebuggerDocument::toJSArray):
2504 (DebuggerDocument::callFunctionOnObject):
2505 (DebuggerDocument::logException):
2506 * Drosera/mac/DebuggerDocumentMac.mm:
2507 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2508 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2509 (DebuggerDocument::platformEvaluateScript):
2510 (DebuggerDocument::getPlatformCurrentFunctionStack):
2511 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2512 (DebuggerDocument::platformValueForScopeVariableNamed):
2514 2007-09-05 Kevin McCullough <kmccullough@apple.com>
2516 Reviewed by Adam, Sam, Darin.
2518 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
2520 * Drosera/Debugger.h: Added.
2521 * Drosera/DebuggerDocument.cpp:
2522 (DebuggerDocument::breakpointEditorHTMLCallback):
2523 (DebuggerDocument::isPausedCallback):
2524 (DebuggerDocument::pauseCallback):
2525 (DebuggerDocument::resumeCallback):
2526 (DebuggerDocument::stepIntoCallback):
2527 (DebuggerDocument::evaluateScriptCallback):
2528 (DebuggerDocument::currentFunctionStackCallback):
2529 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2530 (DebuggerDocument::valueForScopeVariableNamedCallback):
2531 (DebuggerDocument::logCallback):
2532 (DebuggerDocument::breakpointEditorHTML):
2533 (DebuggerDocument::isPaused):
2534 (DebuggerDocument::pause):
2535 (DebuggerDocument::resume):
2536 (DebuggerDocument::stepInto):
2537 (DebuggerDocument::evaluateScript):
2538 (DebuggerDocument::currentFunctionStack):
2539 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2540 (DebuggerDocument::valueForScopeVariableNamed):
2541 (DebuggerDocument::log):
2542 (DebuggerDocument::toolbarPause):
2543 (DebuggerDocument::toolbarResume):
2544 (DebuggerDocument::toolbarStepInto):
2545 (DebuggerDocument::toolbarStepOver):
2546 (DebuggerDocument::toolbarStepOut):
2547 (DebuggerDocument::toolbarShowConsole):
2548 (DebuggerDocument::toolbarCloseCurrentFile):
2549 (DebuggerDocument::updateFileSource):
2550 (DebuggerDocument::didParseScript):
2551 (DebuggerDocument::willExecuteStatement):
2552 (DebuggerDocument::didEnterCallFrame):
2553 (DebuggerDocument::willLeaveCallFrame):
2554 (DebuggerDocument::exceptionWasRaised):
2555 (DebuggerDocument::windowScriptObjectAvailable):
2556 (DebuggerDocument::toJSArray):
2557 (DebuggerDocument::callGlobalFunction):
2558 (DebuggerDocument::callFunctionOnObject):
2559 (DebuggerDocument::getDroseraJSClass):
2560 (DebuggerDocument::staticFunctions):
2561 (DebuggerDocument::logException):
2562 * Drosera/DebuggerDocument.h:
2563 (DebuggerDocument::DebuggerDocument):
2564 * Drosera/ForwardingHeaders: Added.
2565 * Drosera/ForwardingHeaders/wtf: Added.
2566 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2568 * Drosera/console.html:
2569 * Drosera/console.js:
2570 * Drosera/debugger.js:
2571 * Drosera/mac/DebuggerApplication.mm:
2572 (-[DebuggerApplication attach:]):
2573 * Drosera/mac/DebuggerDocumentMac.h:
2574 * Drosera/mac/DebuggerDocumentMac.mm:
2575 (+[NSString stringOrNilFromWebScriptResult:]):
2576 (+[DebuggerClientMac log:]):
2577 (-[DebuggerClientMac initWithServerName:]):
2578 (-[DebuggerClientMac dealloc]):
2579 (-[DebuggerClientMac pause]):
2580 (-[DebuggerClientMac resume]):
2581 (-[DebuggerClientMac pause:]):
2582 (-[DebuggerClientMac resume:]):
2583 (-[DebuggerClientMac stepInto:]):
2584 (-[DebuggerClientMac stepOver:]):
2585 (-[DebuggerClientMac stepOut:]):
2586 (-[DebuggerClientMac showConsole:]):
2587 (-[DebuggerClientMac closeCurrentFile:]):
2588 (-[DebuggerClientMac validateUserInterfaceItem:]):
2589 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
2590 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2591 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2592 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2593 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2594 (DebuggerDocument::platformPause):
2595 (DebuggerDocument::platformResume):
2596 (DebuggerDocument::platformStepInto):
2597 (DebuggerDocument::platformEvaluateScript):
2598 (DebuggerDocument::platformCurrentFunctionStack):
2599 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
2600 (DebuggerDocument::platformValueForScopeVariableNamed):
2601 (DebuggerDocument::platformLog):
2602 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2604 2007-09-06 Sam Weinig <sam@webkit.org>
2606 Reviewed by Adam Roben.
2608 Register the WebKit DLL on initialization of the DumpRenderTree.
2610 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2613 2007-09-05 Sam Weinig <sam@webkit.org>
2617 Fix many layout test failures caused by r25364.
2618 Set text size to standand size at the begining of each test matching the mac.
2620 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2623 2007-09-04 Sam Weinig <sam@webkit.org>
2627 Fix for <rdar://problem/5382277>
2628 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
2630 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
2631 (textZoomInCallback):
2632 (textZoomOutCallback):
2634 2007-08-29 David Kilzer <ddkilzer@apple.com>
2638 Added case-insensitivity to checks for adding regression tests.
2640 * Scripts/prepare-ChangeLog:
2643 2007-08-28 David Kilzer <ddkilzer@apple.com>
2647 Ignore files in /resources/ subdirectories when creating a list of added tests.
2649 * Scripts/prepare-ChangeLog:
2652 2007-08-27 Kevin McCullough <kmccullough@apple.com>
2656 - Removed Leopard leaks list since all of those radars were fixed.
2658 * Scripts/run-webkit-tests:
2660 2007-08-27 Adam Roben <aroben@apple.com>
2662 Rubberstamped by Mark.
2664 * Scripts/pdevenv: Pass arguments along to devenv.com.
2666 2007-08-26 David Kilzer <ddkilzer@webkit.org>
2668 Reviewed by Mark Rowe.
2670 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
2672 * Scripts/prepare-ChangeLog:
2673 (changeLogDate): Added.
2675 2007-08-24 Sam Weinig <sam@webkit.org>
2677 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2679 2007-08-24 Sam Weinig <sam@webkit.org>
2681 Rubber-stamped by Adam Roben.
2683 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2685 Rename COM DOM bindings to use Deprecated prefix.
2687 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2690 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
2693 (EditingDelegate::shouldBeginEditingInDOMRange):
2694 (EditingDelegate::shouldEndEditingInDOMRange):
2695 (EditingDelegate::shouldInsertNode):
2696 (EditingDelegate::shouldInsertText):
2697 (EditingDelegate::shouldDeleteDOMRange):
2698 (EditingDelegate::shouldChangeSelectedDOMRange):
2699 (EditingDelegate::shouldApplyStyle):
2700 (EditingDelegate::shouldChangeTypingStyle):
2701 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
2703 2007-08-24 Oliver Hunt <oliver@apple.com>
2707 WebDataSource::response can legitimately have a null response, so we
2708 must check that case.
2710 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2711 (queueLoadCallback):
2713 2007-08-23 Mitz Pettel <mitz@webkit.org>
2715 Reviewed by Darin and Adam.
2717 - DumpRenderTree changes to allow testing for
2718 http://bugs.webkit.org/show_bug.cgi?id=11756
2719 REGRESSION: link targeting a frame in another window does not work
2720 <rdar://problem/5286420>
2722 Use a frame group name for all WebViews created by DumpRenderTree to
2723 allow testing of cross-page frame lookup.
2725 * DumpRenderTree/DumpRenderTree.m:
2726 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
2727 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2728 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
2730 2007-08-23 David Kilzer <ddkilzer@webkit.org>
2734 Quote the $sslCertificate path in case it contains a space.
2736 * Scripts/run-webkit-httpd:
2737 * Scripts/run-webkit-tests:
2739 2007-08-22 Oliver Hunt <oliver@apple.com>
2741 Reviewed by John and Adam.
2743 WebDataSource::response can legitimately have a null response, so we
2744 must check that case.
2746 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2749 2007-08-21 Kevin McCullough <kmccullough@apple.com>
2753 - Changing the usage to be more clear.
2755 * Scripts/run-testkjs:
2757 2007-08-20 John Sullivan <sullivan@apple.com>
2759 Reviewed by Adam Roben
2761 * DumpRenderTree/DumpRenderTree.m:
2763 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
2764 in layout tests on Tiger and Leopard
2766 2007-08-20 Adam Roben <aroben@apple.com>
2768 Put LayoutTests after all other ChangeLogs in commit logs
2770 We use "~" to sort LayoutTests after all the other ChangeLogs because
2771 "~" is the last ASCII character (other than "DEL").
2775 * Scripts/commit-log-editor:
2777 2007-08-20 Adam Roben <aroben@apple.com>
2779 Detect that DRT crashed even if a crash dialog is running
2781 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
2782 process is still running at this point, so run-webkit-tests wouldn't
2783 detect that DRT had crashed. We now record the crash in our SIGPIPE
2784 handler so that we know if DRT crashed even if the crash dialog is up.
2788 * Scripts/run-webkit-tests:
2789 (sub catch_pipe): Set the crashed bit.
2790 (sub openDumpTool): Reset the crashed bit.
2791 (sub dumpToolDidCrash): Check the crashed bit.
2793 2007-08-20 Adam Roben <aroben@apple.com>
2795 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
2797 http://bugs.webkit.org/show_bug.cgi?id=15026
2799 Reviewed by David Kilzer and Darin Adler.
2801 * Scripts/prepare-ChangeLog:
2802 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
2803 (sub isAddedStatus): Ditto.
2804 (sub testListForChangeLog): Added.
2806 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
2810 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
2812 * Scripts/webkitdirs.pm:
2813 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
2815 2007-08-17 Darin Adler <darin@apple.com>
2817 Reviewed by Oliver Hunt.
2819 - don't look for Apple-style localizable strings in the GTK version of WebKit
2821 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
2822 name of subdirectories to skip.
2823 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
2826 2007-08-17 Anders Carlsson <andersca@apple.com>
2830 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2833 2007-08-17 Anders Carlsson <andersca@apple.com>
2835 Reviewed by Dave Hyatt.
2837 <rdar://problem/5379040>
2838 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
2840 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
2842 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2844 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2845 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2849 2007-08-16 Alice Liu <alice.liu@apple.com>
2853 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
2855 * DumpRenderTree/DumpRenderTree.m:
2857 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
2859 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
2861 2007-08-16 Kevin McCullough <kmccullough@apple.com>
2865 - 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.
2867 * Scripts/run-webkit-tests:
2869 2007-08-15 Timothy Hatcher <timothy@apple.com>
2871 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
2872 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
2874 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
2875 this prevents making "build" directories in each project folder.
2877 * Scripts/webkitdirs.pm:
2879 2007-08-14 Geoffrey Garen <ggaren@apple.com>
2881 Reviewed by Kevin Mccullough.
2883 Removed special case that didn't belong. (It would allow a global
2884 initializer to sneak into production builds, which would cause a
2885 system-wide performance regression on Mac OS X.)
2887 * Scripts/check-for-global-initializers:
2889 2007-08-14 Justin Garcia <justin.garcia@apple.com>
2893 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
2895 * DumpRenderTree/EditingDelegate.m:
2896 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
2897 only for elements with the class needsDeletionUI.
2899 2007-08-14 David Kilzer <ddkilzer@webkit.org>
2903 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
2904 svn-create-patch uses deprecated tail switch
2906 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
2908 2007-08-13 Sam Weinig <sam@webkit.org>
2910 Reviewed by Adam Roben.
2912 Use the cygwin specific Apache config file under cygwin.
2914 * Scripts/run-webkit-httpd:
2916 2007-08-12 Adam Roben <aroben@apple.com>
2918 Generate results for new tests in a more logical location
2920 New platform-specific tests always have their results generated right
2921 next to the test. New cross-platform tests will have their results
2922 generated a) in the cross-platform directory, if they are text-only,
2923 or b) in the least-specific platform directory, if they are render
2928 * Scripts/run-webkit-tests:
2930 2007-08-12 Adam Roben <aroben@apple.com>
2932 Print the actual directory where new results are generated.
2934 Before, we were printing an unpredictable, context-specific substring
2939 * Scripts/run-webkit-tests:
2941 2007-08-12 Adam Roben <aroben@apple.com>
2943 Factor some common code into a stripExtension() subroutine.
2947 * Scripts/run-webkit-tests: Also removed some debugging output.
2949 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
2951 Reviewed over and over and over by Adam Roben.
2953 Bug 14740: Hierarchical layout tests and platform organization
2954 http://bugs.webkit.org/show_bug.cgi?id=14740
2956 Add support for platform-specific layout tests and results.
2958 * Scripts/run-webkit-tests:
2960 2007-08-11 David Kilzer <ddkilzer@webkit.org>
2964 Refactored svn-create-path to use a hash-of-hashes data structure to keep
2965 track of changed files. In the top level hash, keys are paths to files and
2966 values are 'fileData' hashes with the following keys and values:
2968 - isBinary: boolean value (set to true for non-text files like images, etc.)
2969 - isTestFile: boolean value (set to true if file exists within a known test
2971 - modificationType: string equal to one of 'addition', 'additionWithHistory',
2972 'modification' or 'deletion'
2973 - path: string equal to the path to the file (this may seem redundant, but it
2974 is required to use the second-level 'fileData' hash independent of the
2976 - sourceFile: [optional] string equal to the path of the original file that was
2978 - sourceRevision: [optional] string equal to the revision of the original file
2979 that was copied or moved
2981 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
2982 that saves the return value in $result, then checks it before printing help.
2983 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
2984 and eliminated two for() loops.
2985 (binarycmp): Added. Used with sort() to order non-binary files before binary
2987 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
2988 (findMimeType): Added optional second argument that takes a revision number.
2989 (generateDiff): Updated to take one fileData argument instead of three ($file,
2990 $modificationType, $isBinary).
2991 (generateFileList): Updated to take one hash ref argument (%diffFiles)
2992 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
2993 %diffFiles using paths for keys and fileData hashes for values.
2994 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
2996 (pathcmp): Updated to take two fileData arguments instead of two strings.
2997 (testfilecmp): Added. Used with sort() to order non-test files before test
3000 2007-08-11 Darin Adler <darin@apple.com>
3002 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3004 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3006 Reviewed by David Kilzer.
3008 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3009 http://bugs.webkit.org/show_bug.cgi?id=14745
3011 * Scripts/run-launcher:
3012 Scrub the "--gdk" out of the command line args, if given, so that
3013 GdkLauncher doesn't try to interpret it as a URL.
3015 2007-08-03 Adam Roben <aroben@apple.com>
3017 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3021 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3023 2007-08-03 Sam Weinig <sam@webkit.org>
3027 Recursively dump all frames as text using new
3028 layoutTestController.dumpChildFramesAsText() function.
3030 * DumpRenderTree/DumpRenderTree.m:
3033 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3034 (-[LayoutTestController dumpChildFramesAsText]):
3036 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3040 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3041 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3042 (dumpChildFramesAsTextCallback):
3043 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3045 2007-08-02 Adam Roben <aroben@apple.com>
3047 Fix fast/dom/Window/alert-undefined.html
3051 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3052 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3053 Windows translate a null BSTR into "(null)"
3055 2007-08-02 Kevin McCullough <kmccullough@apple.com>
3059 - It would help if I actually called the right function.
3061 * Drosera/DebuggerDocument.cpp:
3062 (DebuggerDocument::showConsole):
3064 2007-08-02 Adam Roben <aroben@apple.com>
3066 Don't delete the stderr file right after creating it
3070 * Scripts/run-webkit-tests:
3072 2007-08-01 Adam Roben <aroben@apple.com>
3074 When DRT crashes, record stderr and restart DRT
3076 This prevents a DRT crash from causing the next few hundred tests to
3077 "fail" because DRT is no longer running.
3079 I also changed the terminology that run-webkit-tests uses in its
3080 output a bit, so that crashing tests are referred to as "crashes"
3081 instead of "failures".
3085 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3087 (sub openDumpTool): Use open3 so that we can access stderr.
3088 (sub dumpToolCrashed): Added.
3089 (sub printFailureMessageForTest): Added.
3090 (sub htmlForExpectedAndActualResults): Added.
3091 (sub deleteExpectedAndActualResults): Added.
3092 (sub recordActualResultsAndDiff): Added.
3094 2007-07-30 Darin Adler <darin@apple.com>
3096 Reviewed by Tim Hatcher.
3098 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3099 characters. This turned out not to be needed for the test case that motivated me to
3100 do it, but it's nice to have this for the future.
3102 2007-07-30 Simon Hausmann <hausmann@kde.org>
3106 Link QtLauncher into $$OUTPUT_DIR/bin
3108 * Scripts/run-launcher:
3110 2007-07-27 David Kilzer <ddkilzer@apple.com>
3112 Reviewed by Geoff and Darin.
3114 Use a subroutine for validating the --skipped switch.
3116 * Scripts/run-webkit-tests:
3118 2007-07-27 Darin Adler <darin@apple.com>
3122 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3124 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3128 Correct the path of GdkLauncher and make checkFrameworks work on OSX
3129 when building the Qt or Gtk+ port.
3131 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3132 * Scripts/run-launcher:
3133 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3135 2007-07-27 Simon Hausmann <hausmann@kde.org>
3137 Done with and reviewed by Lars and Zack.
3139 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.
3141 * Scripts/webkitdirs.pm:
3143 2007-07-27 Simon Hausmann <hausmann@kde.org>
3145 Done with and reviewed by Lars and Zack.
3147 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.
3149 * Scripts/webkitdirs.pm:
3151 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3153 Reviewed by Darin, Geoff, Sam.
3155 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3157 - 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.
3159 * DumpRenderTree/UIDelegate.h:
3160 * DumpRenderTree/UIDelegate.m:
3161 (-[UIDelegate webView:setFrame:]):
3162 (-[UIDelegate webViewFrame:]):
3164 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3168 - Lars wanted this check for Qt but it breaks platform specific layout tests.
3170 * Scripts/run-webkit-tests:
3172 2007-07-25 Kevin McCullough <kmccullough@apple.com>
3174 Reviewed by Tim, Darin, Oliver.
3176 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3177 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3180 * DumpRenderTree/DumpRenderTree.m:
3183 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3184 (+[LayoutTestController webScriptNameForSelector:]):
3185 (-[LayoutTestController setCustomPolicyDelegate:]):
3186 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3187 * DumpRenderTree/FrameLoadDelegate.h:
3188 * DumpRenderTree/PolicyDelegate.h: Added.
3189 * DumpRenderTree/PolicyDelegate.m: Added.
3190 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3191 * DumpRenderTree/ResourceLoadDelegate.h:
3193 2007-07-25 Adam Treat <treat@kde.org>
3197 Fix build for some reported systems.
3199 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3201 2007-07-23 Adam Treat <treat@kde.org>
3203 Reviewed by Nikolas.
3205 Fix qt DRT to suppress js popup alerts and log instead.
3207 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3208 (WebCore::WebPage::javaScriptAlert):
3210 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3214 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3215 honor --qmakearg for the Gdk/Gtk build as well.
3217 * GdkLauncher/main.cpp: Switch to the new API
3218 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
3220 2007-07-22 Darin Adler <darin@apple.com>
3222 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
3223 Fix a leak by releasing the array used here.
3225 2007-07-22 David Kilzer <ddkilzer@webkit.org>
3229 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
3230 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
3232 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
3233 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
3235 * Scripts/update-iexploder-cssproperties: Added.
3236 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
3237 Added new CSS3 property section and Moved box-sizing property to it.
3239 2007-07-22 Oliver Hunt <oliver@apple.com>
3243 http://bugs.webkit.org/show_bug.cgi?id=14710
3245 Add preliminary support for testing Input Method/WebKit behaviour and interaction
3246 in DRT. This provides the NSTextInput API which is most of what should be necessary
3247 to mimic the event sequences Input Methods trigger.
3249 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3250 * DumpRenderTree/TextInputController.h:
3251 * DumpRenderTree/TextInputController.m:
3252 (-[WebHTMLView interpretKeyEvents:]):
3253 (+[TextInputController isSelectorExcludedFromWebScript:]):
3254 (+[TextInputController webScriptNameForSelector:]):
3255 (-[TextInputController initWithWebView:]):
3256 (-[TextInputController dealloc]):
3257 (-[TextInputController textInput]):
3258 (-[TextInputController setInputMethodHandler:]):
3259 (-[TextInputController interpretKeyEvents:withSender:]):
3261 2007-07-20 Adam Roben <aroben@apple.com>
3263 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
3264 message not count as an existing log.
3266 2007-07-19 Geoffrey Garen <ggaren@apple.com>
3268 Reviewed by Darin Adler.
3270 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
3271 value behavior of stringByEvaluatingJavaScriptFromString
3273 * DumpRenderTree/DumpRenderTree.m:
3274 (testStringByEvaluatingJavaScriptFromString):
3275 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3277 2007-07-19 Adam Roben <aroben@apple.com>
3279 Make commit-log-editor work with git
3283 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
3284 commit message template. Also removed the unused $breakPoint variable.
3286 2007-07-19 Adam Roben <aroben@apple.com>
3288 Move generally-useful VCS code into a new VCSUtils.pm module
3290 This is in preparation for making commit-log-editor git-friendly.
3294 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
3295 * Scripts/prepare-ChangeLog: Use VCSUtils.
3297 2007-07-19 Lars Knoll <lars@trolltech.com>
3299 Fix a crash on exit when running DRT against a current
3304 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3307 2007-07-18 Adam Roben <aroben@apple.com>
3309 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
3313 * Scripts/run-webkit-httpd:
3314 * Scripts/run-webkit-tests:
3316 2007-07-18 Adam Roben <aroben@apple.com>
3318 More git friendliness for prepare-ChangeLog
3320 The overall change is to remove the use of git-status and replace it
3321 with git-diff --name-status (which we were already using in the
3324 This lets us respect directories specified on the command line when
3325 using git, just as we do for Subversion. It also speeds things up a
3326 bit, especially in the subdirectory case, as git-status is pretty slow.
3328 I also fixed some issues where we wouldn't detect copied files and
3329 would reverse the new filename and the original filename for renamed files.
3333 * Scripts/prepare-ChangeLog:
3334 (sub diffFromToString): Added.
3335 (sub diffCommand): Don't append the paths in the --git-commit case, as
3336 we should be operating on the entire commit.
3337 (sub statusCommand): Always use git-diff --name-status, and added an
3338 extra -C option to git-diff to make it find a few more copied files.
3339 (sub createPatchCommand): Collapsed the two git cases a bit, and added
3340 the extra -C option as above.
3341 (sub generateFileList): Remove the git-status codepath, and recognize
3342 file copies in the --name-status output.
3343 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3345 (sub isConflictStatus): Updated the git dictionary.
3346 (sub statusDescription): Updated the git dictionary.
3348 2007-07-18 Timothy Hatcher <timothy@apple.com>
3350 * Scripts/build-drosera: Update where we look for the Xcode project.
3352 2007-07-18 Adam Treat <treat@kde.org>
3356 Use the old wording for Safari.
3358 * Scripts/build-webkit:
3359 * Scripts/webkitdirs.pm:
3361 2007-07-18 Adam Treat <treat@kde.org>
3365 Add convenience script for launching test apps for Qt and Gdk ports.
3366 Change the build-webkit script accordingly.
3368 * Scripts/build-webkit:
3369 * Scripts/run-launcher: Added.
3370 * Scripts/webkitdirs.pm:
3372 2007-07-18 Timothy Hatcher <timothy@apple.com>
3376 Make the Page with the now required InspectorClient.
3378 * GdkLauncher/main.cpp:
3381 2007-07-18 Timothy Hatcher <timothy@apple.com>
3383 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3384 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3386 * Drosera/Makefile: Added.
3387 * Drosera/mac/Makefile:
3388 * DumpRenderTree/Makefile:
3390 * Makefile.Drosera: Removed.
3391 * Makefile.shared: Removed.
3393 2007-07-18 Timothy Hatcher <timothy@apple.com>
3395 The console log was 20px down from the top for no reason, move it up.
3397 * Drosera/console.css:
3399 2007-07-18 Timothy Hatcher <timothy@apple.com>
3401 Use contentDocument to get the source view's iframe document.
3402 Also adds a null/undefined check for localVariableNames.
3404 * Drosera/debugger.js:
3406 2007-07-18 Lars Knoll <lars@trolltech.com>
3408 We really don't want to compare non text only tests to the
3409 Mac results if we don't have a result for Qt, as this would
3410 give a failure and not a notification that the test is new.
3414 * Scripts/run-webkit-tests:
3416 2007-07-18 Lars Knoll <lars@trolltech.com>
3418 Reviewed by Zack & Simon
3420 Adjust to changed API in QWebFrame
3422 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3423 (WebCore::DumpRenderTree::DumpRenderTree):
3425 2007-07-18 Mark Rowe <mrowe@apple.com>
3427 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
3429 * BuildSlaveSupport/build-launcher-app:
3431 2007-07-17 Geoffrey Garen <ggaren@apple.com>
3433 Reviewed by Antti Koivisto.
3435 Added watchdog timer to waitUntilDone to prevent a run-away test from
3436 hanging the test harness.
3438 * DumpRenderTree/DumpRenderTree.m:
3440 (-[LayoutTestController waitUntilDone]):
3441 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3442 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3444 2007-07-17 Kevin McCullough <kmccullough@apple.com>
3448 - Implemented cross-platform code for functions calling into the JavaScript.
3450 * Drosera/DebuggerDocument.cpp:
3451 (DebuggerDocument::callAsFunction):
3452 (DebuggerDocument::pauseJS):
3453 (DebuggerDocument::resumeJS):
3454 (DebuggerDocument::stepIntoJS):
3455 (DebuggerDocument::stepOverJS):
3456 (DebuggerDocument::stepOutJS):
3457 (DebuggerDocument::showConsoleJS):
3458 (DebuggerDocument::closeCurrentFileJS):
3459 (DebuggerDocument::updateFileSource):
3460 (DebuggerDocument::didParseScript):
3461 (DebuggerDocument::willExecuteStatement):
3462 (DebuggerDocument::didEnterCallFrame):
3463 (DebuggerDocument::willLeaveCallFrame):
3464 (DebuggerDocument::exceptionWasRaised):
3465 * Drosera/DebuggerDocument.h:
3466 * Drosera/mac/DebuggerDocumentMac.mm:
3467 (-[DebuggerDocumentMac pause:]):
3468 (-[DebuggerDocumentMac resume:]):
3469 (-[DebuggerDocumentMac stepInto:]):
3470 (-[DebuggerDocumentMac stepOver:]):
3471 (-[DebuggerDocumentMac stepOut:]):
3472 (-[DebuggerDocumentMac showConsole:]):
3473 (-[DebuggerDocumentMac closeCurrentFile:]):
3474 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
3475 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3476 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3477 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3478 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3479 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3481 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3485 - Continued x-platform modifications.
3487 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
3488 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
3489 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
3490 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
3491 * Drosera/win/Drosera.cpp:
3492 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3493 * Drosera/win/stdafx.cpp: Removed.
3494 * Drosera/win/stdafx.h: Removed.
3496 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3500 - Modified files to use cross-platform code.
3502 * Drosera/DebuggerDocument.cpp: Added.
3503 (DebuggerDocument::breakpointEditorHTML):
3504 (DebuggerDocument::isPaused):
3505 (DebuggerDocument::pause):
3506 (DebuggerDocument::resume):
3507 (DebuggerDocument::stepInto):
3508 (DebuggerDocument::evaluateScript):
3509 (DebuggerDocument::currentFunctionStack):
3510 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3511 (DebuggerDocument::valueForScopeVariableNamed):
3512 * Drosera/DebuggerDocument.h: Added.
3513 (DebuggerDocument::DebuggerDocument):
3514 * Drosera/config.h: Added.
3515 * Drosera/mac/DebuggerApplication.mm:
3516 (-[DebuggerApplication attach:]):
3517 * Drosera/mac/DebuggerDocument.h: Removed.
3518 * Drosera/mac/DebuggerDocument.mm: Removed.
3519 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
3520 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
3521 (-[DebuggerDocumentMac initWithServerName:]):
3522 (-[DebuggerDocumentMac dealloc]):
3523 (-[DebuggerDocumentMac breakpointEditorHTML]):
3524 (-[DebuggerDocumentMac isPaused]):
3525 (-[DebuggerDocumentMac pause]):
3526 (-[DebuggerDocumentMac resume]):
3527 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3528 * Drosera/win/DebuggerApplication.cpp:
3529 * Drosera/win/DebuggerObjectCallbacks.cpp:
3530 (breakpointEditorHTMLCallback):
3531 (currentFunctionStackCallback):
3532 (evaluateScript_inCallFrame_Callback):
3534 (localScopeVariableNamesForCallFrame_Callback):
3538 (valueForScopeVariableNamed_inCallFrame_Callback):
3540 * Drosera/win/Drosera.cpp:
3541 * Drosera/win/DroseraPrefix.cpp: Added.
3542 * Drosera/win/DroseraPrefix.h: Added.
3544 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3546 Reviewed by Adam, Sam and Tim.
3548 - Moving files to prepare for cross-platform architecture.
3550 * Drosera/DebuggerApplication.h: Removed.
3551 * Drosera/DebuggerApplication.m: Removed.