1 2007-10-23 Maciej Stachowiak <mjs@apple.com>
5 - add wrapper that finds the right copy of testkjs
7 * Scripts/sunspider-compare-results: Added.
9 2007-10-23 Kevin McCullough <kmccullough@apple.com>
13 - After talking with Steve I now see that the WebKit server must be
14 running for DCOM to create the distributed objects, which makes sense
15 and currently WebKit only allows one instance to be running at a time
16 which avoids accidentally connecting to the wrong server
17 - In light of this I have removed the code for the attach box and
18 NotificationServer and known server names, since they are all extranious
21 * Drosera/win/Drosera.cpp: Removed notification classes and known server
23 (_tWinMain): Uses init instead of initUI.
24 (droseraWndProc): No longer creats an attach dialog box.
25 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
26 it's not manditory to call init before doing COM stuff.
27 (Drosera::init): calls initUI and will call attach when the
29 (Drosera::initUI): Has changed very little.
30 (Drosera::attach): Changed the signature to reflect that we no longer
31 need the dictionary of known server names.
32 * Drosera/win/Drosera.h: Removed notification classes and known server
33 names. Also renamed and moved some functions.
34 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
35 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
36 headers to the resources folder.
37 * Drosera/win/resource.h: Removed the Attach box.
39 2007-10-22 Adam Roben <aroben@apple.com>
45 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
47 2007-10-22 Kevin McCullough <kmccullough@apple.com>
49 - Removed a leak that was fixed.
51 * Scripts/run-webkit-tests:
53 2007-10-19 Kevin McCullough <kmccullough@apple.com>
57 - Changed the Client so that the DebuggerDocument now own the
58 ServerConnection. This simplifies ownership and cleanup.
60 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
62 (DebuggerClient::initWithServerName):
63 (DebuggerClient::didFinishLoadForFrame):
64 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
66 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
67 until after we have a server which we are attached to.
70 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
73 2007-10-22 Simon Hausmann <hausmann@kde.org>
77 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
79 * Scripts/run-javascriptcore-tests:
81 2007-10-22 Simon Hausmann <hausmann@kde.org>
85 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.
87 * Scripts/build-drosera:
88 * Scripts/build-dumprendertree:
89 * Scripts/build-testkjs:
90 * Scripts/build-webkit:
91 * Scripts/run-javascriptcore-tests:
92 * Scripts/run-sunspider:
93 * Scripts/run-webkit-tests:
94 * Scripts/webkitdirs.pm:
96 2007-10-22 Andrew Wellington <proton@wiretapped.net>
98 Reviewed by Mark Rowe.
100 Fix for local database support after r26879
101 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
103 * Scripts/build-webkit:
105 2007-10-22 Holger Freyther <zecke@selfish.org>
107 Reviewed by Simon Hausmann <hausmann@kde.org>.
109 - Do not build testkjs as an application bundle. This is
110 needed for run-javascriptcore-tests on OSX.
111 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
112 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
113 as we do not have -rpath on OSX.
115 * DumpRenderTree/qt/DumpRenderTree.pro:
116 * Scripts/run-webkit-tests:
118 2007-10-22 Simon Hausmann <hausmann@kde.org>
122 Fix support for Signed-off-by detection in prepare-ChangeLog
123 --git-commit. The Signed-off-by tag does not appear in the header
124 but usually at the end.
126 * Scripts/prepare-ChangeLog:
128 2007-10-21 Mark Rowe <mrowe@apple.com>
132 Fix run-javascriptcore-tests for Gtk.
134 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
136 2007-10-20 Eric Seidel <eric@webkit.org>
140 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
142 2007-10-20 Eric Seidel <eric@webkit.org>
146 Add improved argument handling to run-sunspider, including
147 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
148 Also re-factor code into subroutines
150 * Scripts/build-dumprendertree: removed bogus comments
151 * Scripts/build-testkjs: Added.
152 * Scripts/run-javascriptcore-tests: use build-testkjs
153 * Scripts/run-sunspider: improved argument handling, abstraction
154 * Scripts/run-webkit-tests: improved abstraction
156 2007-10-20 Matt Lilek <webkit@mattlilek.com>
158 Not reviewed, Windows build fix.
160 * DumpRenderTree/win/EventSender.cpp:
163 2007-10-20 Darin Adler <darin@apple.com>
165 Reviewed by Tim Hatcher.
167 - http://bugs.webkit.org/show_bug.cgi?id=15544
168 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
169 not rely on Apple-specific key codes
171 * DumpRenderTree/mac/EventSendingController.mm:
172 (-[EventSendingController keyDown:withModifiers:]):
173 Added named key "rightArrow". Later we could have a whole table of these.
174 Also tweaked modifiers code a little.
176 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
178 2007-10-19 Darin Adler <darin@apple.com>
182 - http://bugs.webkit.org/show_bug.cgi?id=15566
183 possible fix for leak seen in DumpRenderTree
185 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
186 Delete the item if it's not put on the queue, since the caller has
187 no way of knowing that. Would be better to have the parameter type
188 be auto_ptr to express the fact that we take ownership.
192 * Drosera/mac/main.m: Add missing include.
194 2007-10-19 Kevin McCullough <kmccullough@apple.com>
198 - This change should be identical but for some reason was not working
201 * Scripts/prepare-ChangeLog:
203 2007-10-19 Kevin McCullough <kmccullough@apple.com>
205 Reviewed by Oliver and Tim.
207 - Made use of RetainPtr to avoid retain and release issues and moved the
208 log function to DebuggerDocumentPlatform, which seems to be a more
209 logical place for it to live.
210 - Also moved knownServers from the ServerConnection to
211 DebuggerApplication to match the Windows code and because it makes sense
212 that a connection knows its own server but not all of them.
214 * Drosera/mac/DebuggerClient.h: Moved the log function to
215 DebuggerDocumentPlatform.
216 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
217 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
218 call for the server name up from the ServerConnection class.
219 (-[DebuggerClient dealloc]):
220 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
221 for the server name up from the ServerConnection.
222 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
223 (DebuggerDocument::platformPause):
224 (DebuggerDocument::platformResume):
225 (DebuggerDocument::platformStepInto):
226 (DebuggerDocument::platformEvaluateScript):
227 (DebuggerDocument::getPlatformCurrentFunctionStack):
228 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
229 (DebuggerDocument::platformValueForScopeVariableNamed):
230 (DebuggerDocument::platformLog): Log directly from here. No need to call
232 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
233 way I see it, a ServerConnection should only know about its connection
234 and the group of all possible servers should be kept by the
236 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
237 currentServerName, it makes sense that the connection should know that
239 (-[ServerConnection currentServerName]):
241 2007-10-19 Kevin McCullough <kmccullough@apple.com>
245 - Integrated changes from mac drosera. Recently I've encapsulated
246 out the server connection object from the rest of Drosera because
247 it is very platform dependent right now and RPC is not implemented on
248 windows. This functionality, of communicating with the WebKit server
249 is the next area I will be focusing on in Windows.
251 - Other changes and cleanup were made to organize the code and add notes
252 on which parts still need work. Also some mac code is added and
253 commented out, to act as pseudocode for the logic of those parts.
255 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
257 * Drosera/config.h: Added whitespace.
258 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
259 these files got moved into Drosera.h/cpp
260 * Drosera/win/DebuggerApplication.h: Removed.
261 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
262 happened here to better match the logic flow of the same code on the
263 mac side and to use the new ServerConnection class.
264 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
265 (DebuggerClient::initWithServerName): Initializer that will set up the
266 class to use a ServerConnection object. This was necessary so I could
267 create a DebuggerClient without having to initilaize it at
269 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
270 will be the UIDelegate and FrameLoadDelegate.
271 (DebuggerClient::AddRef): For IUnknown.
272 (DebuggerClient::Release): For IUnknown.
273 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
274 this still needs to set the global context of the server, but
275 IWebFrame does not have an accessor for the global context yet.
276 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
277 this is a pass through for the same function in the document.
278 (DebuggerClient::didReceiveTitle): Unimplemented part of
279 FrameLoadDelegate this would change the title of the window.
280 (DebuggerClient::createWebViewWithRequest): Part of the
281 FrameLoadDelegate. This is about new windows via Window.open() and
282 how their delegates are set.
283 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
284 UIDelegate. Just a debug function for printing messages.
285 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
286 because the Client should be the UIDelegate and FrameLoadDelegate
287 to match the delegates on mac.
288 (DebuggerClient::webViewLoaded): Added accessor method.
289 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
290 forgotten to add this file before. This is where the platform
291 dependent versions of the Documents functions live. Most of these are
292 unimplemented because some piece of functionality does not exist on
294 (DebuggerDocument::platformPause):
295 (DebuggerDocument::platformResume):
296 (DebuggerDocument::platformStepInto):
297 (DebuggerDocument::platformEvaluateScript):
298 (DebuggerDocument::getPlatformCurrentFunctionStack):
299 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
300 (DebuggerDocument::platformValueForScopeVariableNamed):
301 (DebuggerDocument::platformLog):
302 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
303 responsibilities becaue they belong in the Client. Also I laid the
304 groundwork for attaching Drosera to a WebKit process
305 (attachWndProc): Now if a server is selected the Client becomes it's
307 (Drosera::Drosera): Added the construction of the Client and dictionary
309 (Drosera::initUI): This is no longer the delegates, the Client is.
310 (Drosera::webViewLoaded): Now asks the Client instead of holding local
312 (Drosera::applicationDidFinishLaunching): Placeholder for needed
313 notification registration when it's possible to implement.
314 (Drosera::serverLoaded): Ditto
315 (Drosera::serverUnloaded): Ditto
316 (Drosera::attach): Attach Drosera to the WebKit server.
317 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
320 (Drosera::knownServers):
321 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
322 and added the ServerConnection.
323 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
324 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
325 Most of the functions are completely unimlemented because they cannot
326 connect with the WebKit server, because one does not exist on Windows
328 (ServerConnection::initWithServerName):
329 (ServerConnection::~ServerConnection):
330 (ServerConnection::setGlobalContext):
331 (ServerConnection::pause):
332 (ServerConnection::resume):
333 (ServerConnection::stepInto):
334 (ServerConnection::switchToServerNamed):
335 (ServerConnection::applicationTerminating):
336 (ServerConnection::serverConnectionDidDie):
337 (ServerConnection::currentFrame):
338 * Drosera/win/ServerConnection.h: Added. Ditto.
339 (ServerConnection::ServerConnection):
341 2007-10-19 Alice Liu <alice.liu@apple.com>
345 Fix for these broken layout tests on Windows:
347 fast/forms/focus-selection-input.html
348 fast/forms/focus-selection-textarea.html
349 fast/forms/select-accesskey.html
351 * DumpRenderTree/win/EventSender.cpp:
353 correct the VK code for alt key.
355 2007-10-19 Eric Seidel <eric@webkit.org>
357 Reviewed by Mark Rowe.
359 Make the GtkLauncher code slightly more readable.
361 * GtkLauncher/main.cpp:
362 (setupMainMenu): Added.
363 (setupMainWindowUI): Added.
366 2007-10-19 Maciej Stachowiak <mjs@apple.com>
368 Rubber stamped by Adam.
370 - don't delay-load WebKit in DumpRenderTree.
372 * DumpRenderTree/win/DumpRenderTree.vcproj:
374 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
376 Reviewed by Adam Roben.
378 - fix <rdar://problem/5313523>
379 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
381 * DumpRenderTree/mac/DumpRenderTree.mm:
382 (dump): Changed to use _responseMIMEType.
384 2007-10-17 Adam Roben <aroben@apple.com>
386 Make it possible to have Windows-specific tests and results
388 When searching for tests to run and the Skipped file, we will only
389 look in platform/win and the cross-platform directory. When looking
390 for expected results, we will look in platform/win, then
391 platform/mac-leopard, then platform/mac, then finally the
392 cross-platform directory.
396 * Scripts/run-webkit-tests:
397 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
398 searching in the cross-platform directory.
399 (sub buildPlatformHierarchy): Removed some unneeded calls to
402 2007-10-17 Adam Roben <aroben@apple.com>
404 Add back the call to register WebKit that we had before WebKitInitializer existed
406 This is needed to ensure that the right WebKit is used when
407 instantiating COM objects.
411 * DumpRenderTree/win/debug_internal.vsprops: Define
412 DEBUG_WEBKIT_HAS_SUFFIX.
413 * DumpRenderTree/win/DumpRenderTree.cpp:
416 2007-10-17 Adam Roben <aroben@apple.com>
418 Import File::Basename in webkitdirs since we use it
422 * Scripts/webkitdirs.pm:
424 2007-10-17 Kevin McCullough <kmccullough@apple.com>
426 - Updated the tiger leaks list to make the internal bots green.
428 * Scripts/run-webkit-tests:
430 2007-10-17 Adam Roben <aroben@apple.com>
432 Build fix for VC++ Express
436 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
439 2007-10-16 Kevin McCullough <kmccullough@apple.com>
443 - Minor mac improvements based on observations I made while implementing the
446 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
447 then hand it to the Client who will retain it, it should just be the client who
448 creates and owns the server.
449 (-[DebuggerApplication attach:]):
450 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
451 * Drosera/mac/DebuggerClient.mm: Creates the server.
452 (-[DebuggerClient initWithServerName:]):
453 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
454 can instead forward declare what it needs.
456 2007-10-16 Darin Adler <darin@apple.com>
458 Reviewed by Geoff Garen.
460 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
461 want to turn failing tests into platform-specific test results. Also did a
462 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
463 would take the type of results into account only some of the time.
465 2007-10-16 Adam Roben <aroben@apple.com>
467 Add a new nightly launcher script for Windows
469 This new script is for versions of Safari that don't delay-load
470 WebKit. I had to make FindSafari be able to print out the nightly
471 launcher script on stdout because Windows shell scripts can't capture
472 the output from a command into an environment variable.
476 * FindSafari/FindSafari.cpp:
477 (_tmain): Added /printSafariLauncher option.
478 * Scripts/run-webkit-nightly.cmd: Added.
480 2007-10-16 Adam Roben <aroben@apple.com>
482 Replace WebKitInitializer with FindSafari
484 We now rely on setting the PATH environment variable to tell Windows
485 where to find WebKit and its dependencies (similar to
486 DYLD_FRAMEWORK_PATH on Mac).
488 This change also make DumpRenderTree no longer delay-load WebKit.
492 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
494 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
495 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
496 WebKitInitializer, don't delay-load WebKit.
497 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
498 * Scripts/run-webkit-tests: Ditto.
499 * Scripts/webkitdirs.pm:
500 (sub setPathForRunningWebKitApp): Added.
501 * WebKitInitializer/WebKitInitializer.cpp: Removed.
502 * WebKitInitializer/WebKitInitializer.h: Removed.
503 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
504 * WebKitInitializer/debug.vsprops: Removed.
505 * WebKitInitializer/debug_internal.vsprops: Removed.
506 * WebKitInitializer/release.vsprops: Removed.
508 2007-10-16 Adam Roben <aroben@apple.com>
510 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
512 http://bugs.webkit.org/show_bug.cgi?id=15532
514 FindSafari simply prints the location of an installed Safari.exe on
519 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
522 (getInstalledWebKitDirectory):
524 * FindSafari/FindSafari.vcproj: Added.
525 * Scripts/webkitdirs.pm:
526 (sub installedSafariPath): Added. Calls FindSafari on Windows.
528 2007-10-16 Adam Roben <aroben@apple.com>
530 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
532 Reviewed by Kevin McCullough.
534 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
535 when referring to WebKit.dll.
536 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
537 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
538 * DumpRenderTree/win/release.vsprops: Ditto.
539 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
540 never have a _debug suffix on WebKit.dll.
541 * WebKitInitializer/WebKitInitializer.cpp:
542 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
544 * WebKitInitializer/debug_internal.vsprops: Added
545 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
547 2007-10-16 Darin Adler <darin@apple.com>
551 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
552 Remove now-unneeded control/alt key hack; the tests have been updated.
554 2007-10-16 Kevin McCullough <kmccullough@apple.com>
556 - Updated leaks list because our internal bot upgraded it's version of leopard and
557 one of the leaks was fixed between that revision and the bot's previous version of
560 * Scripts/run-webkit-tests:
562 2007-10-15 Kevin McCullough <kmccullough@apple.com>
566 - I encapsulated out the server connecton functionality because it is a specific part
567 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
568 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
569 Windows. So the majority of this patch is moving preexisting functionality.
571 - Also I removed the prefix header and changed to use config.h because it is more
572 standard on how we use config.h in windows and it didn't make much sense to keep
573 the prefix header and the config.h
575 * Drosera/DebuggerDocument.cpp:
576 (DebuggerDocument::DebuggerDocument):
577 * Drosera/DebuggerDocument.h:
579 * Drosera/mac/DebuggerApplication.mm:
580 (-[DebuggerApplication attach:]):
581 * Drosera/mac/DebuggerClient.h:
582 * Drosera/mac/DebuggerClient.mm:
583 (-[DebuggerClient initWithServerConnection:]):
584 (-[DebuggerClient dealloc]):
585 (-[DebuggerClient windowDidLoad]):
586 (-[DebuggerClient windowWillClose:]):
587 (-[DebuggerClient webView:didFinishLoadForFrame:]):
588 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
589 * Drosera/mac/DebuggerDocumentPlatform.mm:
590 (DebuggerDocument::platformPause):
591 (DebuggerDocument::platformResume):
592 (DebuggerDocument::platformStepInto):
593 (DebuggerDocument::platformEvaluateScript):
594 (DebuggerDocument::getPlatformCurrentFunctionStack):
595 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
596 (DebuggerDocument::platformValueForScopeVariableNamed):
597 (DebuggerDocument::platformLog):
598 * Drosera/mac/Drosera.pch: Removed.
599 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
600 * Drosera/mac/ServerConnection.h: Added.
601 * Drosera/mac/ServerConnection.mm: Added.
602 (-[ServerConnection initWithServerName:]):
603 (-[ServerConnection dealloc]):
604 (-[ServerConnection setGlobalContext:]):
605 (-[ServerConnection pause]):
606 (-[ServerConnection resume]):
607 (-[ServerConnection stepInto]):
608 (-[ServerConnection switchToServerNamed:]):
609 (-[ServerConnection applicationTerminating:]):
610 (-[ServerConnection serverConnectionDidDie:]):
611 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
612 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
613 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
614 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
615 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
616 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
617 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
618 (-[ServerConnection currentFrame]):
619 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
620 (-[ServerConnection knownServers]):
622 2007-10-15 David Kilzer <ddkilzer@webkit.org>
626 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
627 Script to automatically search nightly builds for regressions (bisect-builds)
629 * Scripts/bisect-builds: Added.
631 2007-10-14 Maciej Stachowiak <mjs@apple.com>
635 - New JavaScript benchmark
636 http://bugs.webkit.org/show_bug.cgi?id=15515
638 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
639 current development or release build of JavaScriptCore.
641 2007-10-15 Mark Rowe <mrowe@apple.com>
645 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
647 * Scripts/webkitdirs.pm:
648 - Change checkArgv to remove the options from @ARGV to prevent
649 them from interfering with further option processing.
650 - Fix logic error in determineIsQt that would prevent it from bailing out early.
651 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
652 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
653 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
655 2007-10-15 Darin Adler <darin@apple.com>
659 - added logging of window.prompt and window.confirm
661 * DumpRenderTree/mac/UIDelegate.mm:
662 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
663 Implement the recommended delegate rather than the deprecated one.
664 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
666 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
669 * DumpRenderTree/win/UIDelegate.h:
670 * DumpRenderTree/win/UIDelegate.cpp:
671 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
672 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
673 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
674 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
676 2007-10-15 Alice Liu <alice.liu@apple.com>
678 Reviewed by Sam Weinig.
680 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
682 * DumpRenderTree/win/DumpRenderTree.cpp:
683 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
684 (main): allocate the global policy delegate for DRT's custom use
685 * DumpRenderTree/win/DumpRenderTree.vcproj:
686 Adding files to project
687 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
688 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
689 (LayoutTestController::setCustomPolicyDelegate):
690 set the webview's policy delegate to DRT's custom one if the test requests it.
691 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
692 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
693 (PolicyDelegate::PolicyDelegate):
694 (PolicyDelegate::QueryInterface):
695 (PolicyDelegate::AddRef):
696 (PolicyDelegate::Release):
697 (PolicyDelegate::decidePolicyForNavigationAction):
698 * DumpRenderTree/win/PolicyDelegate.h: Added.
699 (PolicyDelegate::decidePolicyForNewWindowAction):
700 (PolicyDelegate::decidePolicyForMIMEType):
701 (PolicyDelegate::unableToImplementPolicyWithError):
703 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
707 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
708 when querying for QMAKE_MKSPECS.
710 2007-10-14 Andrew Wellington <proton@wiretapped.net>
712 Reviewed by Adam Roben.
714 Fix run-webkit-tests is too greedy calculating platform hierarchy
715 http://bugs.webkit.org/show_bug.cgi?id=15465
717 Fix run-webkit-tests being too greedy in trying to split the platform name up
718 causing it to try and find tests in every directory above the first "-" in the
719 path to the LayoutTests
721 * Scripts/run-webkit-tests:
723 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
727 http://bugs.webkit.org/show_bug.cgi?id=15006
728 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
729 to reduce code duplication.
731 * Scripts/build-webkit:
732 * Scripts/webkitdirs.pm:
733 buildQMakeProject() renamed to buildQMakeQtProject().
734 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
735 unused $colorize has been removed.
737 === Start merge of feature-branch 2007-10-12 ===
739 2007-10-08 Eric Seidel <eric@webkit.org>
741 Reviewed by Mark Rowe.
743 * Scripts/build-webkit: add --help, remove unused --color
745 2007-10-07 Eric Seidel <eric@webkit.org>
749 * Drosera/mac/DebuggerDocumentPlatform.mm:
750 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
752 2007-10-03 Rob Buis <buis@kde.org>
756 Adapt to changed location of Ahem font.
758 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
760 2007-10-02 Eric Seidel <eric@webkit.org>
762 Reviewed by Adam Roben.
764 Make pixel tests more useful!
765 Finally fix the image diff 0.00% mystery problem
766 Highlight any image differences in the image diff.
767 Add a link from image diffs back to original test file.
769 * DumpRenderTree/mac/ImageDiff.m:
770 (compareImages): highlight any differences
771 (computePercentageDifferent): round to two decimal places
772 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
774 2007-10-02 Eric Seidel <eric@webkit.org>
776 Reviewed by Alexey Proskuryakov.
778 * Scripts/run-webkit-tests: print the % image difference on main results page
780 2007-10-02 Mark Rowe <mrowe@apple.com>
784 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
786 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
787 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
789 2007-10-01 Mark Rowe <mrowe@apple.com>
791 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
793 2007-09-25 Eric Seidel <eric@webkit.org>
795 Reviewed by Mark Rowe.
797 DerivedSources.make was finding "ENABLE_SVG" in the string
798 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
801 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
803 2007-09-25 Mark Rowe <mrowe@apple.com>
805 Rubber-stamped by Eric.
807 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
808 This makes it possible to automate nightly builds for the feature-branch.
810 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
812 Rubber stamped by Mark.
814 Enable svg experimental features as default here in feature-branch.
816 * Scripts/build-webkit:
818 2007-06-29 Antti Koivisto <antti@apple.com>
822 Add VIDEO flag for timed media features
824 * Scripts/build-webkit
826 === End merge of feature-branch 2007-10-12 ===
828 2007-10-11 Kevin McCullough <kmccullough@apple.com>
832 - Updated rational for the leaks list to be more clear.
834 * Scripts/run-webkit-tests:
836 2007-10-11 Kevin McCullough <kmccullough@apple.com>
840 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
841 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
843 * Scripts/run-webkit-tests:
845 2007-10-10 Simon Hausmann <hausmann@kde.org>
849 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
850 includes are needed for INT_MAX, std::auto_ptr and the like.
852 * DumpRenderTree/qt/main.cpp:
854 2007-10-09 Lars Knoll <lars@trolltech.com>
858 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
860 * DumpRenderTree/qt/jsobjects.cpp:
861 (LayoutTestController::encodeHostName):
862 (LayoutTestController::decodeHostName):
863 * DumpRenderTree/qt/jsobjects.h:
865 2007-10-09 Lars Knoll <lars@trolltech.com>
869 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.
871 * DumpRenderTree/qt/DumpRenderTree.cpp:
872 (WebCore::WebPage::createFrame):
873 (WebCore::DumpRenderTree::DumpRenderTree):
874 (WebCore::DumpRenderTree::titleChanged):
875 * DumpRenderTree/qt/DumpRenderTree.h:
876 * DumpRenderTree/qt/jsobjects.cpp:
877 (LayoutTestController::reset):
878 * DumpRenderTree/qt/jsobjects.h:
880 2007-10-09 Lars Knoll <lars@trolltech.com>
884 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
886 * DumpRenderTree/qt/DumpRenderTree.h:
887 * DumpRenderTree/qt/jsobjects.cpp:
888 (LayoutTestController::clearBackForwardList):
889 * DumpRenderTree/qt/jsobjects.h:
891 2007-10-09 Lars Knoll <lars@trolltech.com>
895 make --git-reviewer work again.
897 * Scripts/prepare-ChangeLog:
899 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
901 Rubber stamped by Eric.
903 Connect to the "hovering-over-link" signal emitted by WebKitPage and
904 show the current link inside the statusbar.
905 This shows how to make use of this signal and allows to easily test
906 http://bugs.webkit.org/show_bug.cgi?id=15299.
908 * GtkLauncher/main.cpp:
912 2007-10-05 Lars Knoll <lars@trolltech.com>
914 add proper error messages to the FrameLoaderClient.
915 Implement ChromeClientQt::closeWindowSoon and
916 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
917 Some fixes in DRT to make it work correctly with multiple windows.
921 * DumpRenderTree/qt/DumpRenderTree.cpp:
922 (WebCore::DumpRenderTree::DumpRenderTree):
923 (WebCore::DumpRenderTree::createWindow):
924 (WebCore::DumpRenderTree::windowCount):
925 * DumpRenderTree/qt/DumpRenderTree.h:
926 * DumpRenderTree/qt/jsobjects.cpp:
927 (LayoutTestController::maybeDump):
928 (LayoutTestController::windowCount):
929 * DumpRenderTree/qt/jsobjects.h:
931 2007-10-05 Lars Knoll <lars@trolltech.com>
933 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
934 Add support for layoutTextController.setCanOpenWindows() to DRT
935 fixing another 2 test cases in fast/dom/Window.
939 * DumpRenderTree/qt/DumpRenderTree.cpp:
940 (WebCore::WebPage::WebPage):
941 (WebCore::WebPage::createWindow):
942 (WebCore::DumpRenderTree::resetJSObjects):
943 (WebCore::DumpRenderTree::createWindow):
944 * DumpRenderTree/qt/DumpRenderTree.h:
945 * DumpRenderTree/qt/DumpRenderTree.pro:
946 * DumpRenderTree/qt/jsobjects.cpp:
947 (LayoutTestController::LayoutTestController):
948 (LayoutTestController::reset):
949 * DumpRenderTree/qt/jsobjects.h:
950 * DumpRenderTree/qt/main.cpp:
951 * DumpRenderTree/qt/testplugin.cpp: Added.
952 * DumpRenderTree/qt/testplugin.h: Added.
954 2007-10-04 Sam Weinig <sam@webkit.org>
956 Rubber stamped by Adam.
958 Remove empty directories.
960 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
961 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
963 2007-10-03 Darin Adler <darin@apple.com>
967 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
968 we find the internal libraries in the libraries directory. This
969 is helpful for Safari team engineers at Apple.
971 2007-10-03 Adam Roben <aroben@apple.com>
973 Update the location of AHEM___.TTF after r25968
977 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
979 2007-10-03 Alp Toker <alp@atoker.com>
983 http://bugs.webkit.org/show_bug.cgi?id=14726
984 [gtk] API design. Mapping the WebView delegates to signals.
986 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
988 * GtkLauncher/main.cpp:
992 (menuMainBackCallback):
993 (menuMainForwardCallback):
996 2007-10-03 Lars Knoll <lars@trolltech.com>
1000 This fixes --strict mode in run-webkit-tests again after
1001 the platform dependent test results have been moved.
1003 * Scripts/run-webkit-tests:
1005 2007-10-03 Lars Knoll <lars@trolltech.com>
1009 remove the hack in run-webkit-tests that forced text only test
1010 to be taken from the platform independent dir. It was only left
1011 there from early days.
1013 Remove platform dependent results for tests that are text only nowadays,
1014 and add one platform dependent result for a text only test that requires it.
1016 * Scripts/run-webkit-tests:
1018 2007-10-03 Lars Knoll <lars@trolltech.com>
1022 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1024 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1025 (WebCore::WebFrame::WebFrame):
1026 (WebCore::WebPage::WebPage):
1027 (WebCore::WebPage::createFrame):
1028 (WebCore::WebPage::javaScriptAlert):
1029 (WebCore::WebPage::javaScriptConsoleMessage):
1030 (WebCore::DumpRenderTree::DumpRenderTree):
1031 (WebCore::DumpRenderTree::~DumpRenderTree):
1032 (WebCore::DumpRenderTree::open):
1033 (WebCore::DumpRenderTree::readStdin):
1034 (WebCore::DumpRenderTree::resetJSObjects):
1035 (WebCore::DumpRenderTree::initJSObjects):
1036 (WebCore::DumpRenderTree::dumpFramesAsText):
1037 (WebCore::DumpRenderTree::dump):
1038 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1039 (WebCore::DumpRenderTree::layoutTestController):
1040 (WebCore::DumpRenderTree::eventSender):
1041 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1042 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1043 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1044 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1045 (HackWebFrame::mousePressEvent):
1046 (HackWebFrame::mouseReleaseEvent):
1047 (HackWebFrame::mouseMoveEvent):
1048 (HackWebFrame::HackWebFrame):
1049 (HackWebFrame::~HackWebFrame):
1050 (LayoutTestController::LayoutTestController):
1051 (LayoutTestController::reset):
1052 (LayoutTestController::maybeDump):
1053 (LayoutTestController::waitUntilDone):
1054 (LayoutTestController::notifyDone):
1055 (LayoutTestController::dumpEditingCallbacks):
1056 (LayoutTestController::queueReload):
1057 (LayoutTestController::provisionalLoad):
1058 (LayoutTestController::timerEvent):
1059 (EventSender::EventSender):
1060 (EventSender::mouseDown):
1061 (EventSender::mouseUp):
1062 (EventSender::mouseMoveTo):
1063 (EventSender::leapForward):
1064 (EventSender::keyDown):
1065 (EventSender::frameUnderMouse):
1066 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1067 (LayoutTestController::isLoading):
1068 (LayoutTestController::setLoading):
1069 (LayoutTestController::shouldDumpAsText):
1070 (LayoutTestController::shouldDumpChildrenAsText):
1071 (LayoutTestController::shouldWaitUntilDone):
1072 (LayoutTestController::dumpAsText):
1073 (LayoutTestController::dumpChildFramesAsText):
1074 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1078 * Scripts/run-webkit-tests:
1080 2007-10-03 Mark Rowe <mrowe@apple.com>
1082 Reviewed by Alp Toker.
1084 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1085 should take precedence over QTDIR when determining which port we are working with.
1087 * Scripts/webkitdirs.pm:
1089 2007-10-02 Adam Roben <aroben@apple.com>
1091 Add keychain to the list of default packages to install
1093 Rubberstamped by Sam.
1095 * CygwinDownloader/cygwin-downloader.py:
1096 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1098 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1102 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1103 Also makes WebCore regression test case logic work when using git.
1105 * Scripts/prepare-ChangeLog:
1106 (reviewerAndDescriptionForGitCommit): Added.
1108 2007-10-02 Lars Knoll <lars@trolltech.com>
1112 Add API to retrieve the frame name from QWebFrame.
1113 Implement support for DRT::dumpChildrenAsText.
1115 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1116 (WebCore::DumpRenderTree::dumpFramesAsText):
1117 (WebCore::DumpRenderTree::dump):
1118 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1119 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1120 (LayoutTestController::LayoutTestController):
1121 (LayoutTestController::reset):
1122 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1124 2007-10-02 Lars Knoll <lars@trolltech.com>
1128 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1130 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1131 (WebCore::DumpRenderTree::readStdin):
1133 2007-10-02 Mark Rowe <mrowe@apple.com>
1137 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1139 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1140 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1142 2007-10-02 Mark Rowe <mrowe@apple.com>
1144 Rubber-stamped by Maciej.
1146 Configuration changes from build.webkit.org. The major change is refactoring to work
1147 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1150 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1151 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1152 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1153 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1154 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1155 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1156 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1157 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1159 2007-10-02 Lars Knoll <lars@trolltech.com>
1163 Add support for eventSender.mouseMove to DRT.
1164 Fixes fast/css/hover-affects-child.html
1166 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1167 (EventSender::mouseMoveTo):
1169 2007-10-01 Mark Rowe <mrowe@apple.com>
1171 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1173 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1177 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1179 * Scripts/svn-apply:
1180 (gitdiff2svndiff): Ignore lines beginning with "new file".
1181 * Scripts/svn-unapply:
1182 (gitdiff2svndiff): Ditto.
1184 2007-09-30 George Staikos <staikos@kde.org>
1186 Qt build fix (Mac OS X specific)
1188 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1190 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1194 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1195 Remove Bakefiles from svn.
1197 * GtkLauncher/Bakefiles.bkgen: Removed.
1198 * GtkLauncher/ENV: Removed.
1199 * GtkLauncher/gdklauncher.bkl: Removed.
1200 * GtkLauncher/mk: Removed.
1201 * Scripts/regenerate-makefiles: Removed.
1203 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1207 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1209 * Scripts/run-webkit-tests:
1211 2007-09-26 Adam Roben <aroben@apple.com>
1213 Make not finding an installed WebKit non-fatal
1215 What really matters is that we are able to load WebKit and its
1216 dependencies, not whether we think we've found an installed WebKit.
1220 * WebKitInitializer/WebKitInitializer.cpp:
1221 (getWebViewCLSID): Use new LOG_WARNING macro.
1222 (getInstalledWebKitDirectory): Ditto.
1223 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1225 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1227 2007-09-26 Adam Roben <aroben@apple.com>
1229 Committed this file before saving it
1231 * WebKitInitializer/debug_internal.vsprops:
1233 2007-09-26 Adam Roben <aroben@apple.com>
1235 Load WebKit and its dependencies manually so they come from DllDirectory
1237 I had to change WebKitInitializer to use malloc/free instead of
1238 new/delete to avoid pulling in WebKit (and its dependencies) early
1239 through use of fastMalloc.
1243 * WebKitInitializer/WebKitInitializer.cpp:
1244 (getStringValue): Changed to use malloc/free.
1245 (getInstalledWebKitDirectory): Ditto.
1246 (initializeWebKit): Call SetDllDirectory first, then load all of
1247 WebKit's dependencies manually, finally followed by WebKit itself.
1248 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1249 configuration to match our other projects.
1250 * WebKitInitializer/debug_internal.vsprops: Added.
1252 2007-09-25 Adam Roben <aroben@apple.com>
1254 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1256 Rubberstamped by Sam.
1258 * WebKitInitializer/WebKitInitializer.vcproj:
1260 2007-09-25 Adam Roben <aroben@apple.com>
1262 Make DumpRenderTree delay-load its dependencies
1264 This lets WebKitInitializer re-route the dependencies to be loaded out
1265 of the Safari installation directory.
1267 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1268 same thing), since we can't import the kCFAllocatorDefault symbol when
1269 delay-loading CoreFoundation.dll.
1271 Rubberstamped by Sam.
1273 * DumpRenderTree/win/DumpRenderTree.cpp:
1275 (javaScriptThreads):
1276 * DumpRenderTree/win/DumpRenderTree.vcproj:
1277 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1278 (LayoutTestController::setWaitToDump):
1280 2007-09-25 Adam Roben <aroben@apple.com>
1282 Pull ole32.lib into WebKitInitializer
1284 Rubberstamped by Sam.
1286 * WebKitInitializer/WebKitInitializer.vcproj:
1288 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1292 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1293 LGPL'ed files contain incorrect FSF address
1297 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1301 Make svn-apply and svn-unapply work with git-diff formatted patches.
1303 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1304 (gitdiff2svndiff): Added.
1305 * Scripts/svn-unapply: Ditto.
1306 (gitdiff2svndiff): Added.
1308 2007-09-25 Adam Roben <aroben@apple.com>
1310 Pull advapi32.lib into WebKitInitializer
1312 This is needed to get the registry functions we use.
1314 Rubberstamped by Sam.
1316 * WebKitInitializer/WebKitInitializer.vcproj:
1318 2007-09-25 Adam Roben <aroben@apple.com>
1320 Add python and rsync to cygwin-downloader
1322 Our build slaves need this, and it can't hurt for everyone else to
1327 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1328 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1330 2007-09-25 Adam Roben <aroben@apple.com>
1332 Add WebKitInitializer and use it in DumpRenderTree
1334 WebKitInitializer is a static library that has one function,
1335 initializeWebKit(). This registers WebKit and sets up the DLL search
1336 path so that WebKit's dependencies that are installed with Safari can
1341 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1342 DumpRenderTree depend on it.
1343 * DumpRenderTree/win/DumpRenderTree.cpp:
1344 (initialize): Call initializeWebKit.
1345 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1346 WebKitInitializer.lib.
1347 * WebKitInitializer/WebKitInitializer.cpp: Added.
1350 (getInstalledWebKitDirectory):
1352 * WebKitInitializer/WebKitInitializer.h: Added.
1353 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1354 * WebKitInitializer/debug.vsprops: Added.
1355 * WebKitInitializer/release.vsprops: Added.
1357 2007-09-25 Adam Roben <aroben@apple.com>
1359 Make run-webkit-tests respect set-webkit-configuration
1363 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1364 set-webkit-configuration was last set to.
1366 2007-09-25 Mark Rowe <mrowe@apple.com>
1368 Rubber-stamped by Eric.
1370 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1371 This makes it possible to automate nightly builds for the feature-branch.
1373 2007-09-25 Adam Roben <aroben@apple.com>
1375 A couple of fixes/enhancements to update-webkit-*-libs
1377 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1378 to tell update-webkit-support-libraries where it should find the
1379 WebKitSupportLibrary.zip file you downloaded.
1381 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1386 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1387 to $auxiliaryLibsURL and removed an irrelevant comment.
1388 * Scripts/update-webkit-support-libs:
1390 2007-09-25 Adam Treat <treat@kde.org>
1392 Reviewed by Simon and Lars.
1394 Refactors and cleans up Qt DRT member variable names, member variable
1395 initialization, style fixes and general code cleanup.
1397 Adds queueReload slot to LayoutTestController that some tests require.
1399 Subclasses QWebFrame to make sure that all frames have an associated
1400 LayoutTestController JS window object.
1402 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1403 aren't dumped twice.
1407 Together, this patch fixes some 20+ layout tests in QtWebKit.
1409 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1410 (WebCore::WebFrame::WebFrame):
1411 (WebCore::WebPage::WebPage):
1412 (WebCore::WebPage::createFrame):
1413 (WebCore::DumpRenderTree::DumpRenderTree):
1414 (WebCore::DumpRenderTree::open):
1415 (WebCore::DumpRenderTree::readStdin):
1416 (WebCore::DumpRenderTree::initJSObjects):
1417 (WebCore::DumpRenderTree::dump):
1418 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1419 (WebCore::DumpRenderTree::layoutTestController):
1420 (WebCore::DumpRenderTree::eventSender):
1421 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1422 (LayoutTestController::LayoutTestController):
1423 (LayoutTestController::reset):
1424 (LayoutTestController::maybeDump):
1425 (LayoutTestController::waitUntilDone):
1426 (LayoutTestController::notifyDone):
1427 (LayoutTestController::queueReload):
1428 (LayoutTestController::provisionalLoad):
1429 (EventSender::EventSender):
1430 (EventSender::mouseDown):
1431 (EventSender::mouseUp):
1432 (EventSender::mouseMoveTo):
1433 (EventSender::frameUnderMouse):
1434 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1435 (LayoutTestController::isLoading):
1436 (LayoutTestController::setLoading):
1437 (LayoutTestController::dumpAsText):
1438 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1441 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1444 - Reverted an accidentally checked in file.
1446 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1448 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1451 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1453 * DumpRenderTree/win/DumpRenderTree.vcproj:
1454 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1456 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
1458 Rubber stamped by Adam.
1460 * GdkLauncher: Removed.
1461 * GdkLauncher/Bakefiles.bkgen: Removed.
1462 * GdkLauncher/ENV: Removed.
1463 * GdkLauncher/GdkLauncher.pro: Removed.
1464 * GdkLauncher/gdklauncher.bkl: Removed.
1465 * GdkLauncher/main.cpp: Removed.
1466 * GdkLauncher/mk: Removed.
1467 * GdkLauncher/simple.svg: Removed.
1468 * GdkLauncher/text.html: Removed.
1469 * GtkLauncher: Added.
1470 * GtkLauncher/GdkLauncher.pro: Removed.
1471 * GtkLauncher/GtkLauncher.pro: Added.
1472 * GtkLauncher/main.cpp:
1473 (updateWindowTitle):
1475 * Scripts/build-webkit:
1476 * Scripts/regenerate-makefiles:
1477 * Scripts/run-javascriptcore-tests:
1478 * Scripts/run-launcher:
1479 * Scripts/run-webkit-tests:
1480 * Scripts/webkitdirs.pm:
1482 2007-09-21 Timothy Hatcher <timothy@apple.com>
1486 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1488 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1489 This is tested by plugins/root-object-premature-delete-crash.html.
1491 * DumpRenderTree/mac/ObjCController.m:
1492 (-[ObjCController accessStoredWebScriptObject]):
1494 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1498 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1500 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1501 (FrameLoadDelegate::FrameLoadDelegate):
1503 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
1507 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1508 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1510 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1511 Now isQt() and isGdk() use global variables that are only set once.
1513 An array of all the parameters is now given to build-dumprender which includes
1514 the platform on linux.
1516 * Scripts/build-dumprendertree:
1517 * Scripts/run-webkit-tests:
1518 * Scripts/webkitdirs.pm:
1520 2007-09-19 Adam Roben <aroben@apple.com>
1522 Rubberstamped by Hyatt.
1524 * Spinneret: Removed.
1526 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
1528 Reviewed by David Kilzer.
1530 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1532 2007-09-18 Sam Weinig <sam@webkit.org>
1534 Add JSRetainPtr.h #include to fix some builds.
1536 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1538 2007-09-18 Mike Hommey <glandium@debian.org>
1542 * Scripts/prepare-ChangeLog:
1543 - Properly parse GECOS field.
1544 - Use git configuration for user name and email when appropriate.
1546 2007-09-17 Sam Weinig <sam@webkit.org>
1550 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1552 2007-09-17 Sam Weinig <sam@webkit.org>
1554 Reviewed by Adam Roben.
1556 Share more code between mac and windows DRT.
1557 - GCController is now shared.
1558 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1560 * DumpRenderTree/GCController.cpp:
1561 * DumpRenderTree/win/DumpRenderTree.cpp:
1562 * DumpRenderTree/win/DumpRenderTree.vcproj:
1563 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1564 (FrameLoadDelegate::FrameLoadDelegate):
1565 (FrameLoadDelegate::~FrameLoadDelegate):
1566 (FrameLoadDelegate::windowScriptObjectAvailable):
1567 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1568 * DumpRenderTree/win/GCController.cpp: Removed.
1569 * DumpRenderTree/win/GCController.h: Removed.
1570 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1571 (GCController::collect):
1572 (GCController::collectOnAlternateThread):
1573 (GCController::getJSObjectCount):
1574 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1575 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1577 2007-09-17 Sam Weinig <sam@webkit.org>
1579 Reviewed by Adam Roben.
1581 Begin sharing code between mac and windows DRT.
1582 - both now share LayoutTestController.h/cpp and implement platform dependant
1583 operations in LayoutTestControllerMac/Win.
1584 - DumpRenderTree.h is now shared.
1585 - WorkQueue and WorkQueueItem are also shared.
1587 * DumpRenderTree/DumpRenderTree.h:
1588 * DumpRenderTree/LayoutTestController.cpp:
1589 * DumpRenderTree/win/DumpRenderTree.cpp:
1591 (dumpFrameScrollPosition):
1595 * DumpRenderTree/win/DumpRenderTree.h: Removed.
1596 * DumpRenderTree/win/DumpRenderTree.vcproj:
1597 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1598 * DumpRenderTree/win/EditingDelegate.cpp:
1599 (EditingDelegate::shouldBeginEditingInDOMRange):
1600 (EditingDelegate::shouldEndEditingInDOMRange):
1601 (EditingDelegate::shouldInsertNode):
1602 (EditingDelegate::shouldInsertText):
1603 (EditingDelegate::shouldDeleteDOMRange):
1604 (EditingDelegate::shouldChangeSelectedDOMRange):
1605 (EditingDelegate::shouldApplyStyle):
1606 (EditingDelegate::shouldChangeTypingStyle):
1607 (EditingDelegate::doPlatformCommand):
1608 (EditingDelegate::webViewDidBeginEditing):
1609 (EditingDelegate::webViewDidChange):
1610 (EditingDelegate::webViewDidEndEditing):
1611 (EditingDelegate::webViewDidChangeTypingStyle):
1612 (EditingDelegate::webViewDidChangeSelection):
1613 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
1614 * DumpRenderTree/win/LayoutTestController.h: Removed.
1615 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
1616 (LayoutTestController::addDisallowedURL):
1617 (LayoutTestController::clearBackForwardList):
1618 (LayoutTestController::copyDecodedHostName):
1619 (LayoutTestController::copyEncodedHostName):
1620 (LayoutTestController::display):
1621 (LayoutTestController::keepWebHistory):
1622 (LayoutTestController::notifyDone):
1623 (LayoutTestController::queueBackNavigation):
1624 (LayoutTestController::queueForwardNavigation):
1625 (jsStringRefToWString):
1626 (LayoutTestController::queueLoad):
1627 (LayoutTestController::queueReload):
1628 (LayoutTestController::queueScript):
1629 (LayoutTestController::setAcceptsEditing):
1630 (LayoutTestController::setCustomPolicyDelegate):
1631 (LayoutTestController::setMainFrameIsFirstResponder):
1632 (LayoutTestController::setTabKeyCyclesThroughElements):
1633 (LayoutTestController::setUseDashboardCompatibilityMode):
1634 (LayoutTestController::setUserStyleSheetEnabled):
1635 (LayoutTestController::setUserStyleSheetLocation):
1636 (LayoutTestController::setWindowIsKey):
1637 (waitUntilDoneWatchdogFired):
1638 (LayoutTestController::setWaitToDump):
1639 (LayoutTestController::windowCount):
1640 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
1641 (FrameLoadDelegate::didReceiveTitle):
1642 (FrameLoadDelegate::processWork):
1643 (FrameLoadDelegate::locationChangeDone):
1644 (FrameLoadDelegate::windowScriptObjectAvailable):
1645 * DumpRenderTree/win/WorkQueue.cpp: Removed.
1646 * DumpRenderTree/win/WorkQueue.h: Removed.
1647 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
1648 * DumpRenderTree/win/WorkQueueItem.h: Removed.
1649 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
1650 (jsStringRefToWString):
1652 (ScriptItem::invoke):
1654 2007-09-17 Sam Weinig <sam@webkit.org>
1656 Reviewed by Adam Roben.
1658 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
1660 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
1661 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
1662 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
1663 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
1664 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
1665 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
1666 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
1667 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
1668 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
1669 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
1670 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
1671 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
1672 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
1673 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
1674 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
1675 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
1676 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
1677 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
1678 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
1679 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
1680 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
1681 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
1682 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
1683 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
1684 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
1685 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
1686 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
1687 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
1688 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
1689 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
1690 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
1691 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
1692 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
1693 * DumpRenderTree/win: Added.
1694 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
1695 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
1696 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
1697 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
1698 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
1699 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
1700 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
1701 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
1702 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
1703 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
1704 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
1705 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
1706 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
1707 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1708 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
1709 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
1710 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
1711 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
1712 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1713 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1714 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
1715 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1716 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
1717 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
1718 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
1719 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
1721 2007-09-15 Mark Rowe <mrowe@apple.com>
1723 Build fix for DumpRenderTree.
1725 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
1727 2007-09-14 Sam Weinig <sam@webkit.org>
1729 Rubber stamped by Adam Roben.
1731 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
1732 - The UIDelegate was put into a new file while the FrameLoadDelegate was
1733 kept in the WaitUntilDoneDelegate file for the time being.
1735 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1737 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1738 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
1739 (UIDelegate::QueryInterface):
1740 (UIDelegate::AddRef):
1741 (UIDelegate::Release):
1742 (UIDelegate::hasCustomMenuImplementation):
1743 (UIDelegate::setFrame):
1744 (UIDelegate::webViewFrame):
1745 (UIDelegate::runJavaScriptAlertPanelWithMessage):
1746 (UIDelegate::webViewAddMessageToConsole):
1747 (UIDelegate::doDragDrop):
1748 (UIDelegate::webViewGetDlgCode):
1749 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
1750 (UIDelegate::UIDelegate):
1751 (UIDelegate::createWebViewWithRequest):
1752 (UIDelegate::webViewShow):
1753 (UIDelegate::webViewClose):
1754 (UIDelegate::webViewFocus):
1755 (UIDelegate::webViewUnfocus):
1756 (UIDelegate::webViewFirstResponder):
1757 (UIDelegate::makeFirstResponder):
1758 (UIDelegate::setStatusText):
1759 (UIDelegate::webViewStatusText):
1760 (UIDelegate::webViewAreToolbarsVisible):
1761 (UIDelegate::setToolbarsVisible):
1762 (UIDelegate::webViewIsStatusBarVisible):
1763 (UIDelegate::setStatusBarVisible):
1764 (UIDelegate::webViewIsResizable):
1765 (UIDelegate::setResizable):
1766 (UIDelegate::setContentRect):
1767 (UIDelegate::webViewContentRect):
1768 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1769 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1770 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
1771 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
1772 (UIDelegate::mouseDidMoveOverElement):
1773 (UIDelegate::contextMenuItemsForElement):
1774 (UIDelegate::validateUserInterfaceItem):
1775 (UIDelegate::shouldPerformAction):
1776 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
1777 (UIDelegate::willPerformDragDestinationAction):
1778 (UIDelegate::dragSourceActionMaskForPoint):
1779 (UIDelegate::willPerformDragSourceAction):
1780 (UIDelegate::contextMenuItemSelected):
1781 (UIDelegate::trackCustomPopupMenu):
1782 (UIDelegate::measureCustomMenuItem):
1783 (UIDelegate::drawCustomMenuItem):
1784 (UIDelegate::addCustomMenuDrawingData):
1785 (UIDelegate::cleanUpCustomMenuDrawingData):
1786 (UIDelegate::canTakeFocus):
1787 (UIDelegate::takeFocus):
1788 (UIDelegate::registerUndoWithTarget):
1789 (UIDelegate::removeAllActionsWithTarget):
1790 (UIDelegate::setActionTitle):
1793 (UIDelegate::canUndo):
1794 (UIDelegate::canRedo):
1795 (UIDelegate::webViewResizerRect):
1796 (UIDelegate::webViewDrawResizer):
1797 (UIDelegate::webViewScrolled):
1798 (UIDelegate::webViewShouldInterruptJavaScript):
1799 (UIDelegate::webViewReceivedFocus):
1800 (UIDelegate::webViewLostFocus):
1801 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
1802 (FrameLoadDelegate::QueryInterface):
1803 (FrameLoadDelegate::AddRef):
1804 (FrameLoadDelegate::Release):
1805 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1806 (FrameLoadDelegate::didCommitLoadForFrame):
1807 (FrameLoadDelegate::didReceiveTitle):
1808 (FrameLoadDelegate::processWork):
1810 (FrameLoadDelegate::locationChangeDone):
1811 (FrameLoadDelegate::didFinishLoadForFrame):
1812 (FrameLoadDelegate::didFailLoadWithError):
1813 (FrameLoadDelegate::windowScriptObjectAvailable):
1814 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
1815 (FrameLoadDelegate::FrameLoadDelegate):
1817 2007-09-14 Sam Weinig <sam@webkit.org>
1819 Reviewed by Kevin McCullough.
1821 Move mac specific globals in to mac/DumpRenderTreeMac.h
1823 * DumpRenderTree/DumpRenderTree.h:
1824 * DumpRenderTree/DumpRenderTree.mm: Removed.
1825 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1826 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
1827 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
1829 2007-09-14 Brady Eidson <beidson@apple.com>
1831 Rubberstamped by Weinig
1833 You know, Sam, some of us use case-sensitve filesystems...
1835 * DumpRenderTree/DumpRenderTree.h:
1836 * DumpRenderTree/mac/UIDelegate.mm:
1838 2007-09-14 Sam Weinig <sam@webkit.org>
1840 Rubber stamped by Adam Roben.
1842 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
1843 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
1845 * DumpRenderTree/AppleScriptController.h: Removed.
1846 * DumpRenderTree/AppleScriptController.m: Removed.
1847 * DumpRenderTree/DumpRenderTree.h:
1848 * DumpRenderTree/DumpRenderTree.mm:
1849 (startJavaScriptThreads):
1850 (stopJavaScriptThreads):
1852 (setDefaultColorProfileToRGB):
1853 (makeLargeMallocFailSilently):
1854 (dumpFrameScrollPosition):
1858 (-[DumpRenderTreeWindow isKeyWindow]):
1859 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1860 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
1861 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
1862 * DumpRenderTree/EditingDelegate.h: Removed.
1863 * DumpRenderTree/EditingDelegate.m: Removed.
1864 * DumpRenderTree/EventSendingController.h: Removed.
1865 * DumpRenderTree/EventSendingController.m: Removed.
1866 * DumpRenderTree/FrameLoadDelegate.h: Removed.
1867 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
1868 * DumpRenderTree/GCController.mm: Removed.
1869 * DumpRenderTree/ImageDiff.m: Removed.
1870 * DumpRenderTree/LayoutTestController.cpp:
1871 (LayoutTestController::LayoutTestController):
1872 (dumpAsTextCallback):
1873 (dumpBackForwardListCallback):
1874 (dumpChildFramesAsTextCallback):
1875 (dumpChildFrameScrollPositionsCallback):
1876 (dumpDOMAsWebArchiveCallback):
1877 (dumpEditingCallbacksCallback):
1878 (dumpFrameLoadCallbacksCallback):
1879 (dumpResourceLoadCallbacksCallback):
1880 (dumpSelectionRectCallback):
1881 (dumpSourceAsWebArchiveCallback):
1882 (dumpTitleChangesCallback):
1883 (repaintSweepHorizontallyCallback):
1884 (setCallCloseOnWebViewsCallback):
1885 (setCanOpenWindowsCallback):
1886 (setCloseRemainingWindowsWhenCompleteCallback):
1887 (testRepaintCallback):
1888 (addFileToPasteboardOnDragCallback):
1889 (waitUntilDoneCallback):
1890 * DumpRenderTree/LayoutTestController.h:
1891 (LayoutTestController::dumpAsText):
1892 (LayoutTestController::setDumpAsText):
1893 (LayoutTestController::dumpBackForwardList):
1894 (LayoutTestController::setDumpBackForwardList):
1895 (LayoutTestController::dumpChildFrameScrollPositions):
1896 (LayoutTestController::setDumpChildFrameScrollPositions):
1897 (LayoutTestController::dumpChildFramesAsText):
1898 (LayoutTestController::setDumpChildFramesAsText):
1899 (LayoutTestController::dumpDOMAsWebArchive):
1900 (LayoutTestController::setDumpDOMAsWebArchive):
1901 (LayoutTestController::dumpSelectionRect):
1902 (LayoutTestController::setDumpSelectionRect):
1903 (LayoutTestController::dumpSourceAsWebArchive):
1904 (LayoutTestController::setDumpSourceAsWebArchive):
1905 (LayoutTestController::dumpTitleChanges):
1906 (LayoutTestController::setDumpTitleChanges):
1907 (LayoutTestController::dumpEditingCallbacks):
1908 (LayoutTestController::setDumpEditingCallbacks):
1909 (LayoutTestController::dumpResourceLoadCallbacks):
1910 (LayoutTestController::setDumpResourceLoadCallbacks):
1911 (LayoutTestController::dumpFrameLoadCallbacks):
1912 (LayoutTestController::setDumpFrameLoadCallbacks):
1913 (LayoutTestController::addFileToPasteboardOnDrag):
1914 (LayoutTestController::setAddFileToPasteboardOnDrag):
1915 (LayoutTestController::callCloseOnWebViews):
1916 (LayoutTestController::setCallCloseOnWebViews):
1917 (LayoutTestController::canOpenWindows):
1918 (LayoutTestController::setCanOpenWindows):
1919 (LayoutTestController::closeRemainingWindowsWhenComplete):
1920 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1921 (LayoutTestController::testRepaint):
1922 (LayoutTestController::setTestRepaint):
1923 (LayoutTestController::testRepaintSweepHorizontally):
1924 (LayoutTestController::setTestRepaintSweepHorizontally):
1925 (LayoutTestController::waitToDump):
1926 (LayoutTestController::windowIsKey):
1927 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
1928 * DumpRenderTree/NavigationController.h: Removed.
1929 * DumpRenderTree/NavigationController.m: Removed.
1930 * DumpRenderTree/ObjCController.h: Removed.
1931 * DumpRenderTree/ObjCController.m: Removed.
1932 * DumpRenderTree/ObjCPlugin.h: Removed.
1933 * DumpRenderTree/ObjCPlugin.m: Removed.
1934 * DumpRenderTree/ObjCPluginFunction.h: Removed.
1935 * DumpRenderTree/ObjCPluginFunction.m: Removed.
1936 * DumpRenderTree/PolicyDelegate.h: Removed.
1937 * DumpRenderTree/PolicyDelegate.m: Removed.
1938 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
1939 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
1940 * DumpRenderTree/TextInputController.h: Removed.
1941 * DumpRenderTree/TextInputController.m: Removed.
1942 * DumpRenderTree/UIDelegate.h: Removed.
1943 * DumpRenderTree/UIDelegate.mm: Removed.
1944 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
1945 * DumpRenderTree/mac: Added.
1946 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
1947 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
1948 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
1949 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
1950 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
1951 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
1952 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1953 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1954 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1955 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1956 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1957 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1958 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1959 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1960 (-[EditingDelegate webViewDidBeginEditing:]):
1961 (-[EditingDelegate webViewDidChange:]):
1962 (-[EditingDelegate webViewDidEndEditing:]):
1963 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1964 (-[EditingDelegate webViewDidChangeSelection:]):
1965 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
1966 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
1967 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
1968 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
1969 (-[FrameLoadDelegate init]):
1970 (-[FrameLoadDelegate dealloc]):
1971 (-[FrameLoadDelegate processWork:]):
1972 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1973 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1974 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1975 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1976 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1977 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1978 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1979 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1980 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1981 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1982 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1983 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1984 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1985 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1986 (-[FrameLoadDelegate webView:willCloseFrame:]):
1987 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1988 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1989 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
1990 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
1991 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
1992 (LayoutTestController::notifyDone):
1993 (LayoutTestController::setWindowIsKey):
1994 (LayoutTestController::setWaitToDump):
1995 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
1996 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
1997 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
1998 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
1999 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2000 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2001 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2002 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2003 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2004 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2005 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2006 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2007 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2008 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2009 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2010 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2011 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2012 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2013 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2014 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2015 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2016 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2017 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2018 (-[UIDelegate webViewFocus:]):
2019 (-[UIDelegate webView:createWebViewWithRequest:]):
2020 (-[UIDelegate webViewClose:]):
2021 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2023 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2027 - Changing Win version of Drosera work with recent changes.
2029 * Drosera/DebuggerDocument.cpp:
2030 * Drosera/DebuggerDocument.h:
2031 * Drosera/mac/DebuggerDocumentPlatform.mm:
2032 (NSStringCreateWithJSStringRef):
2033 (JSValueRefCreateWithNSString):
2034 * Drosera/win/DebuggerClient.cpp:
2035 (DebuggerClient::stepInto):
2036 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2038 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2042 - Moved isPaused into the JS for efficiency and simplicity.
2044 * Drosera/DebuggerDocument.cpp:
2045 (DebuggerDocument::DebuggerDocument):
2046 (DebuggerDocument::pauseCallback):
2047 (DebuggerDocument::resumeCallback):
2048 (DebuggerDocument::isPaused):
2049 (DebuggerDocument::staticFunctions):
2050 * Drosera/DebuggerDocument.h:
2051 * Drosera/console.js:
2052 * Drosera/debugger.js:
2053 * Drosera/mac/DebuggerClient.mm:
2054 (-[DebuggerClient validateUserInterfaceItem:]):
2056 2007-09-13 Sam Weinig <sam@webkit.org>
2058 Rubber stamped by Darin.
2060 Make DumpRenderTree more cross platform ready.
2061 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2062 - Use CF types instead of NS objects.
2065 * DumpRenderTree/DumpRenderTree.h:
2066 * DumpRenderTree/DumpRenderTree.mm:
2070 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2071 * DumpRenderTree/EditingDelegate.m:
2072 * DumpRenderTree/FrameLoadDelegate.h:
2073 * DumpRenderTree/FrameLoadDelegate.mm:
2074 (-[FrameLoadDelegate init]):
2075 (-[FrameLoadDelegate dealloc]):
2076 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2077 * DumpRenderTree/GCController.cpp: Added.
2078 (GCController::GCController):
2079 (GCController::~GCController):
2081 (collectOnAlternateThreadCallback):
2082 (getJSObjectCountCallback):
2083 (GCController::makeWindowObject):
2084 (GCController::getJSClass):
2085 (GCController::staticFunctions):
2086 * DumpRenderTree/GCController.h:
2087 * DumpRenderTree/GCController.mm:
2088 (GCController::collect):
2089 (GCController::collectOnAlternateThread):
2090 (GCController::getJSObjectCount):
2091 * DumpRenderTree/LayoutTestController.cpp:
2092 (LayoutTestController::makeWindowObject):
2093 (LayoutTestController::getJSClass):
2094 * DumpRenderTree/LayoutTestController.h:
2095 * DumpRenderTree/LayoutTestControllerMac.mm:
2096 (LayoutTestController::addDisallowedURL):
2097 (waitUntilDoneWatchdogFired):
2098 (LayoutTestController::waitUntilDone):
2099 * DumpRenderTree/ResourceLoadDelegate.m:
2100 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2102 2007-09-12 Sam Weinig <sam@webkit.org>
2104 Reviewed by Stephanie.
2106 Fix leaks in mac DumpRenderTree.
2108 * DumpRenderTree/FrameLoadDelegate.mm:
2109 (-[FrameLoadDelegate init]): Initalize in the correct order.
2110 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2111 * DumpRenderTree/LayoutTestController.cpp:
2112 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2113 (encodeHostNameCallback): ditto.
2114 * DumpRenderTree/LayoutTestController.h:
2115 * DumpRenderTree/LayoutTestControllerMac.mm:
2116 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2117 (LayoutTestController::copyEncodedHostName): ditto
2118 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2120 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2124 - 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.
2126 * Scripts/run-webkit-tests:
2128 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2132 - Simplified code paths and extracted out functions to increase encapsulation.
2134 * Drosera/DebuggerDocument.cpp:
2135 (DebuggerDocument::breakpointEditorHTMLCallback):
2136 (DebuggerDocument::isPausedCallback):
2137 (DebuggerDocument::pauseCallback):
2138 (DebuggerDocument::resumeCallback):
2139 (DebuggerDocument::stepIntoCallback):
2140 (DebuggerDocument::evaluateScriptCallback):
2141 (DebuggerDocument::currentFunctionStackCallback):
2142 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2143 (DebuggerDocument::valueForScopeVariableNamedCallback):
2144 (DebuggerDocument::logCallback):
2145 * Drosera/DebuggerDocument.h:
2146 (DebuggerDocument::getPaused):
2147 * Drosera/mac/DebuggerClient.mm:
2148 (-[DebuggerClient pause:]):
2149 (-[DebuggerClient resume:]):
2150 (-[DebuggerClient stepInto:]):
2151 (-[DebuggerClient stepOver:]):
2152 (-[DebuggerClient stepOut:]):
2153 (-[DebuggerClient showConsole:]):
2154 (-[DebuggerClient closeCurrentFile:]):
2155 (-[DebuggerClient validateUserInterfaceItem:]):
2156 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2157 (+[NSString stringOrNilFromWebScriptResult:]):
2158 (DebuggerDocument::platformPause):
2159 (DebuggerDocument::platformResume):
2160 (DebuggerDocument::platformStepInto):
2161 (DebuggerDocument::platformEvaluateScript):
2162 (DebuggerDocument::getPlatformCurrentFunctionStack):
2163 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2164 (DebuggerDocument::platformValueForScopeVariableNamed):
2165 (DebuggerDocument::platformLog):
2166 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2168 2007-09-12 Sam Weinig <sam@webkit.org>
2170 Build fix for Buildbot.
2172 * DumpRenderTree/DumpRenderTree.mm:
2175 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2179 - Updated the leaks list for leopard to help identify regressions.
2181 * Scripts/run-webkit-tests:
2183 2007-09-12 Sam Weinig <sam@webkit.org>
2185 Rubber stamped by Darin.
2187 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2189 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2190 * DumpRenderTree/DumpRenderTree.m: Removed.
2191 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2192 (stopJavaScriptThreads): Fix initialization.
2193 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2194 (dumpRenderTree): Ditto.
2196 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2198 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2199 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2200 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2201 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2202 (-[FrameLoadDelegate init]):
2203 (-[FrameLoadDelegate dealloc]):
2204 (-[FrameLoadDelegate processWork:]):
2205 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2206 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2207 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2209 * DumpRenderTree/LayoutTestController.cpp: Added.
2210 (LayoutTestController::LayoutTestController):
2211 (LayoutTestController::~LayoutTestController):
2212 (dumpAsTextCallback):
2213 (dumpBackForwardListCallback):
2214 (dumpChildFramesAsTextCallback):
2215 (dumpChildFrameScrollPositionsCallback):
2216 (dumpDOMAsWebArchiveCallback):
2217 (dumpEditingCallbacksCallback):
2218 (dumpFrameLoadCallbacksCallback):
2219 (dumpResourceLoadCallbacksCallback):
2220 (dumpSelectionRectCallback):
2221 (dumpSourceAsWebArchiveCallback):
2222 (dumpTitleChangesCallback):
2223 (repaintSweepHorizontallyCallback):
2224 (setCallCloseOnWebViewsCallback):
2225 (setCanOpenWindowsCallback):
2226 (setCloseRemainingWindowsWhenCompleteCallback):
2227 (testRepaintCallback):
2228 (addFileToPasteboardOnDragCallback):
2229 (addDisallowedURLCallback):
2230 (clearBackForwardListCallback):
2231 (decodeHostNameCallback):
2233 (encodeHostNameCallback):
2234 (keepWebHistoryCallback):
2235 (notifyDoneCallback):
2236 (queueBackNavigationCallback):
2237 (queueForwardNavigationCallback):
2238 (queueLoadCallback):
2239 (queueReloadCallback):
2240 (queueScriptCallback):
2241 (setAcceptsEditingCallback):
2242 (setCustomPolicyDelegateCallback):
2243 (setMainFrameIsFirstResponderCallback):
2244 (setTabKeyCyclesThroughElementsCallback):
2245 (setUseDashboardCompatibilityModeCallback):
2246 (setUserStyleSheetEnabledCallback):
2247 (setUserStyleSheetLocationCallback):
2248 (setWindowIsKeyCallback):
2249 (waitUntilDoneCallback):
2250 (windowCountCallback):
2251 (LayoutTestController::makeWindowObject):
2252 (LayoutTestController::getLayoutTestControllerJSClass):
2253 (LayoutTestController::staticFunctions):
2254 * DumpRenderTree/LayoutTestController.h: Replaced.
2255 * DumpRenderTree/LayoutTestController.m: Removed.
2256 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2257 (LayoutTestController::dumpAsText):
2258 (LayoutTestController::dumpBackForwardList):
2259 (LayoutTestController::dumpChildFramesAsText):
2260 (LayoutTestController::dumpChildFrameScrollPositions):
2261 (LayoutTestController::dumpDOMAsWebArchive):
2262 (LayoutTestController::dumpEditingCallbacks):
2263 (LayoutTestController::dumpFrameLoadCallbacks):
2264 (LayoutTestController::dumpResourceLoadCallbacks):
2265 (LayoutTestController::dumpSelectionRect):
2266 (LayoutTestController::dumpSourceAsWebArchive):
2267 (LayoutTestController::dumpTitleChanges):
2268 (LayoutTestController::repaintSweepHorizontally):
2269 (LayoutTestController::setCallCloseOnWebViews):
2270 (LayoutTestController::setCanOpenWindows):
2271 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2272 (LayoutTestController::testRepaint):
2273 (LayoutTestController::addFileToPasteboardOnDrag):
2274 (LayoutTestController::addDisallowedURL):
2275 (LayoutTestController::clearBackForwardList):
2276 (LayoutTestController::decodeHostName):
2277 (LayoutTestController::encodeHostName):
2278 (LayoutTestController::display):
2279 (LayoutTestController::keepWebHistory):
2280 (LayoutTestController::notifyDone):
2281 (LayoutTestController::queueBackNavigation):
2282 (LayoutTestController::queueForwardNavigation):
2283 (LayoutTestController::queueLoad):
2284 (LayoutTestController::queueReload):
2285 (LayoutTestController::queueScript):
2286 (LayoutTestController::setAcceptsEditing):
2287 (LayoutTestController::setCustomPolicyDelegate):
2288 (LayoutTestController::setMainFrameIsFirstResponder):
2289 (LayoutTestController::setTabKeyCyclesThroughElements):
2290 (LayoutTestController::setUseDashboardCompatibilityMode):
2291 (LayoutTestController::setUserStyleSheetEnabled):
2292 (LayoutTestController::setUserStyleSheetLocation):
2293 (LayoutTestController::setWindowIsKey):
2294 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2295 (LayoutTestController::waitUntilDone):
2296 (LayoutTestController::windowCount):
2297 Use the JSCore API to implement the LayoutTestController.
2299 * DumpRenderTree/ObjCController.h:
2300 * DumpRenderTree/ObjCController.m:
2301 (+[ObjCController isSelectorExcludedFromWebScript:]):
2302 (+[ObjCController webScriptNameForSelector:]):
2303 (-[ObjCController accessStoredWebScriptObject]):
2304 (-[ObjCController storeWebScriptObject:]):
2305 (-[ObjCController dealloc]):
2306 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2307 Move WebScriptObject tests to ObjCController.
2309 * DumpRenderTree/UIDelegate.m: Removed.
2310 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2312 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2313 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2314 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2315 (WorkQueueItem::~WorkQueueItem):
2316 (LoadItem::LoadItem):
2319 (ScriptItem::ScriptItem):
2320 (ScriptItem::script):
2321 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2323 (ReloadItem::invoke):
2324 (ScriptItem::invoke):
2325 (BackForwardItem::invoke):
2326 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2327 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2330 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2334 - Updated Win side to take advantage of the platform separating changes.
2336 * Drosera/DebuggerDocument.cpp:
2337 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2338 * Drosera/DebuggerDocument.h:
2339 * Drosera/win/DebuggerClient.cpp:
2340 (DebuggerClient::pause):
2341 (DebuggerClient::resume):
2342 (DebuggerClient::stepInto):
2343 (DebuggerDocument::platformPause):
2344 (DebuggerDocument::platformResume):
2345 (DebuggerDocument::platformStepInto):
2346 (DebuggerDocument::platformEvaluateScript):
2347 (DebuggerDocument::getPlatformCurrentFunctionStack):
2348 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2349 (DebuggerDocument::platformValueForScopeVariableNamed):
2350 (DebuggerDocument::platformLog):
2351 * Drosera/win/DebuggerClient.h:
2352 * Drosera/win/Drosera.cpp:
2354 (Drosera::windowScriptObjectAvailable):
2355 (Drosera::initWithServerName):
2356 (Drosera::switchToServerNamed):
2357 * Drosera/win/Drosera.h:
2358 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2360 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2364 - Just doing the moves in a separate patch so the changes are easier to see.
2366 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2367 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2368 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2369 * Drosera/win/DebuggerDocumentWin.h: Removed.
2370 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2372 2007-09-11 Sven Herzberg <sven@imendio.com>
2374 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2375 http://bugs.webkit.org/show_bug.cgi?id=15176
2377 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2378 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2379 other paths eg. from jhbuild)
2381 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2385 - Made an order-of-deletion mistake.
2387 * Drosera/DebuggerDocument.h:
2388 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2389 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2390 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2391 * Drosera/mac/DebuggerClient.mm:
2392 (DebuggerDocument::platformPause):
2393 (DebuggerDocument::platformResume):
2394 (DebuggerDocument::platformStepInto):
2395 (DebuggerDocument::platformEvaluateScript):
2396 (DebuggerDocument::getPlatformCurrentFunctionStack):
2397 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2398 (DebuggerDocument::platformValueForScopeVariableNamed):
2399 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2401 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2405 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2407 * Drosera/DebuggerDocument.cpp:
2408 (DebuggerDocument::DebuggerDocument):
2409 * Drosera/DebuggerDocument.h:
2410 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2411 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2412 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2413 * Drosera/mac/DebuggerApplication.mm:
2414 (-[DebuggerApplication attach:]):
2415 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2416 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2417 (DebuggerDocument::platformPause):
2418 (DebuggerDocument::platformResume):
2419 (DebuggerDocument::platformStepInto):
2420 (DebuggerDocument::platformEvaluateScript):
2421 (DebuggerDocument::getPlatformCurrentFunctionStack):
2422 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2423 (DebuggerDocument::platformValueForScopeVariableNamed):
2424 (DebuggerDocument::platformLog):
2425 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2426 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2427 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2429 2007-09-09 Sam Weinig <sam@webkit.org>
2431 Reviewed by Mark Rowe.
2433 Remove 'objC' prefix from methods now in the ObjCController.
2435 * DumpRenderTree/ObjCController.m:
2436 (+[ObjCController isSelectorExcludedFromWebScript:]):
2437 (+[ObjCController webScriptNameForSelector:]):
2438 (-[ObjCController classNameOf:]):
2439 (-[ObjCController objectOfClass:]):
2440 (-[ObjCController identityIsEqual::]):
2441 (-[ObjCController longLongRoundTrip:]):
2442 (-[ObjCController unsignedLongLongRoundTrip:]):
2444 2007-09-09 Sam Weinig <sam@webkit.org>
2448 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
2449 - Move LayoutTestController into its own file.
2450 - Move Objective-C only functions on LayoutTestController into a new controller called the
2453 * DumpRenderTree/DumpRenderTree.h:
2454 * DumpRenderTree/DumpRenderTree.m:
2456 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2457 * DumpRenderTree/FrameLoadDelegate.m:
2458 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2459 * DumpRenderTree/LayoutTestController.h: Added.
2460 * DumpRenderTree/LayoutTestController.m: Added.
2461 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2462 (+[LayoutTestController webScriptNameForSelector:]):
2463 (-[LayoutTestController clearBackForwardList]):
2464 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2465 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2466 (-[LayoutTestController setCustomPolicyDelegate:]):
2467 (-[LayoutTestController keepWebHistory]):
2468 (-[LayoutTestController setCallCloseOnWebViews:]):
2469 (-[LayoutTestController setCanOpenWindows]):
2470 (-[LayoutTestController waitUntilDone]):
2471 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2472 (-[LayoutTestController notifyDone]):
2473 (-[LayoutTestController dumpAsText]):
2474 (-[LayoutTestController addFileToPasteboardOnDrag]):
2475 (-[LayoutTestController addDisallowedURL:]):
2476 (-[LayoutTestController setUserStyleSheetLocation:]):
2477 (-[LayoutTestController setUserStyleSheetEnabled:]):
2478 (-[LayoutTestController dumpDOMAsWebArchive]):
2479 (-[LayoutTestController dumpSourceAsWebArchive]):
2480 (-[LayoutTestController dumpSelectionRect]):
2481 (-[LayoutTestController dumpTitleChanges]):
2482 (-[LayoutTestController dumpBackForwardList]):
2483 (-[LayoutTestController windowCount]):
2484 (-[LayoutTestController dumpChildFrameScrollPositions]):
2485 (-[LayoutTestController dumpChildFramesAsText]):
2486 (-[LayoutTestController dumpEditingCallbacks]):
2487 (-[LayoutTestController dumpResourceLoadCallbacks]):
2488 (-[LayoutTestController dumpFrameLoadCallbacks]):
2489 (-[LayoutTestController setWindowIsKey:]):
2490 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2491 (-[LayoutTestController display]):
2492 (-[LayoutTestController testRepaint]):
2493 (-[LayoutTestController repaintSweepHorizontally]):
2494 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2495 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2496 (-[LayoutTestController _doLoad:target:]):
2497 (-[LayoutTestController _doBackOrForwardNavigation:]):
2498 (-[LayoutTestController queueBackNavigation:]):
2499 (-[LayoutTestController queueForwardNavigation:]):
2500 (-[LayoutTestController queueReload]):
2501 (-[LayoutTestController queueScript:]):
2502 (-[LayoutTestController queueLoad:target:]):
2503 (-[LayoutTestController setAcceptsEditing:]):
2504 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2505 (-[LayoutTestController storeWebScriptObject:]):
2506 (-[LayoutTestController accessStoredWebScriptObject]):
2507 (-[LayoutTestController dealloc]):
2508 (-[LayoutTestController decodeHostName:]):
2509 (-[LayoutTestController encodeHostName:]):
2510 * DumpRenderTree/ObjCController.h: Added.
2511 * DumpRenderTree/ObjCController.m: Added.
2512 (+[ObjCController isSelectorExcludedFromWebScript:]):
2513 (+[ObjCController webScriptNameForSelector:]):
2514 (-[ObjCController objCClassNameOf:]):
2515 (-[ObjCController objCObjectOfClass:]):
2516 (-[ObjCController objCIdentityIsEqual::]):
2517 (-[ObjCController objCLongLongRoundTrip:]):
2518 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2519 (-[ObjCController testWrapperRoundTripping:]):
2521 2007-09-07 Sam Weinig <sam@webkit.org>
2525 Strip trailing and leading space/newline characters from skiplist file names.
2527 * Scripts/run-webkit-tests:
2529 2007-09-06 Kevin McCullough <kmccullough@apple.com>
2533 - Changed Drosera to take advantage of the JSRetainPtr changes.
2535 * Drosera/DebuggerDocument.cpp:
2536 (DebuggerDocument::breakpointEditorHTML):
2537 (DebuggerDocument::evaluateScript):
2538 (DebuggerDocument::valueForScopeVariableNamed):
2539 (DebuggerDocument::log):
2540 (DebuggerDocument::windowScriptObjectAvailable):
2541 (DebuggerDocument::toJSArray):
2542 (DebuggerDocument::callFunctionOnObject):
2543 (DebuggerDocument::logException):
2544 * Drosera/mac/DebuggerDocumentMac.mm:
2545 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2546 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2547 (DebuggerDocument::platformEvaluateScript):
2548 (DebuggerDocument::getPlatformCurrentFunctionStack):
2549 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2550 (DebuggerDocument::platformValueForScopeVariableNamed):
2552 2007-09-05 Kevin McCullough <kmccullough@apple.com>
2554 Reviewed by Adam, Sam, Darin.
2556 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
2558 * Drosera/Debugger.h: Added.
2559 * Drosera/DebuggerDocument.cpp:
2560 (DebuggerDocument::breakpointEditorHTMLCallback):
2561 (DebuggerDocument::isPausedCallback):
2562 (DebuggerDocument::pauseCallback):
2563 (DebuggerDocument::resumeCallback):
2564 (DebuggerDocument::stepIntoCallback):
2565 (DebuggerDocument::evaluateScriptCallback):
2566 (DebuggerDocument::currentFunctionStackCallback):
2567 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2568 (DebuggerDocument::valueForScopeVariableNamedCallback):
2569 (DebuggerDocument::logCallback):
2570 (DebuggerDocument::breakpointEditorHTML):
2571 (DebuggerDocument::isPaused):
2572 (DebuggerDocument::pause):
2573 (DebuggerDocument::resume):
2574 (DebuggerDocument::stepInto):
2575 (DebuggerDocument::evaluateScript):
2576 (DebuggerDocument::currentFunctionStack):
2577 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2578 (DebuggerDocument::valueForScopeVariableNamed):
2579 (DebuggerDocument::log):
2580 (DebuggerDocument::toolbarPause):
2581 (DebuggerDocument::toolbarResume):
2582 (DebuggerDocument::toolbarStepInto):
2583 (DebuggerDocument::toolbarStepOver):
2584 (DebuggerDocument::toolbarStepOut):
2585 (DebuggerDocument::toolbarShowConsole):
2586 (DebuggerDocument::toolbarCloseCurrentFile):
2587 (DebuggerDocument::updateFileSource):
2588 (DebuggerDocument::didParseScript):
2589 (DebuggerDocument::willExecuteStatement):
2590 (DebuggerDocument::didEnterCallFrame):
2591 (DebuggerDocument::willLeaveCallFrame):
2592 (DebuggerDocument::exceptionWasRaised):
2593 (DebuggerDocument::windowScriptObjectAvailable):
2594 (DebuggerDocument::toJSArray):
2595 (DebuggerDocument::callGlobalFunction):
2596 (DebuggerDocument::callFunctionOnObject):
2597 (DebuggerDocument::getDroseraJSClass):
2598 (DebuggerDocument::staticFunctions):
2599 (DebuggerDocument::logException):
2600 * Drosera/DebuggerDocument.h:
2601 (DebuggerDocument::DebuggerDocument):
2602 * Drosera/ForwardingHeaders: Added.
2603 * Drosera/ForwardingHeaders/wtf: Added.
2604 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2606 * Drosera/console.html:
2607 * Drosera/console.js:
2608 * Drosera/debugger.js:
2609 * Drosera/mac/DebuggerApplication.mm:
2610 (-[DebuggerApplication attach:]):
2611 * Drosera/mac/DebuggerDocumentMac.h:
2612 * Drosera/mac/DebuggerDocumentMac.mm:
2613 (+[NSString stringOrNilFromWebScriptResult:]):
2614 (+[DebuggerClientMac log:]):
2615 (-[DebuggerClientMac initWithServerName:]):
2616 (-[DebuggerClientMac dealloc]):
2617 (-[DebuggerClientMac pause]):
2618 (-[DebuggerClientMac resume]):
2619 (-[DebuggerClientMac pause:]):
2620 (-[DebuggerClientMac resume:]):
2621 (-[DebuggerClientMac stepInto:]):
2622 (-[DebuggerClientMac stepOver:]):
2623 (-[DebuggerClientMac stepOut:]):
2624 (-[DebuggerClientMac showConsole:]):
2625 (-[DebuggerClientMac closeCurrentFile:]):
2626 (-[DebuggerClientMac validateUserInterfaceItem:]):
2627 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
2628 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2629 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2630 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2631 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2632 (DebuggerDocument::platformPause):
2633 (DebuggerDocument::platformResume):
2634 (DebuggerDocument::platformStepInto):
2635 (DebuggerDocument::platformEvaluateScript):
2636 (DebuggerDocument::platformCurrentFunctionStack):
2637 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
2638 (DebuggerDocument::platformValueForScopeVariableNamed):
2639 (DebuggerDocument::platformLog):
2640 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2642 2007-09-06 Sam Weinig <sam@webkit.org>
2644 Reviewed by Adam Roben.
2646 Register the WebKit DLL on initialization of the DumpRenderTree.
2648 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2651 2007-09-05 Sam Weinig <sam@webkit.org>
2655 Fix many layout test failures caused by r25364.
2656 Set text size to standand size at the begining of each test matching the mac.
2658 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2661 2007-09-04 Sam Weinig <sam@webkit.org>
2665 Fix for <rdar://problem/5382277>
2666 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
2668 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
2669 (textZoomInCallback):
2670 (textZoomOutCallback):
2672 2007-08-29 David Kilzer <ddkilzer@apple.com>
2676 Added case-insensitivity to checks for adding regression tests.
2678 * Scripts/prepare-ChangeLog:
2681 2007-08-28 David Kilzer <ddkilzer@apple.com>
2685 Ignore files in /resources/ subdirectories when creating a list of added tests.
2687 * Scripts/prepare-ChangeLog:
2690 2007-08-27 Kevin McCullough <kmccullough@apple.com>
2694 - Removed Leopard leaks list since all of those radars were fixed.
2696 * Scripts/run-webkit-tests:
2698 2007-08-27 Adam Roben <aroben@apple.com>
2700 Rubberstamped by Mark.
2702 * Scripts/pdevenv: Pass arguments along to devenv.com.
2704 2007-08-26 David Kilzer <ddkilzer@webkit.org>
2706 Reviewed by Mark Rowe.
2708 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
2710 * Scripts/prepare-ChangeLog:
2711 (changeLogDate): Added.
2713 2007-08-24 Sam Weinig <sam@webkit.org>
2715 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2717 2007-08-24 Sam Weinig <sam@webkit.org>
2719 Rubber-stamped by Adam Roben.
2721 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2723 Rename COM DOM bindings to use Deprecated prefix.
2725 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2728 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
2731 (EditingDelegate::shouldBeginEditingInDOMRange):
2732 (EditingDelegate::shouldEndEditingInDOMRange):
2733 (EditingDelegate::shouldInsertNode):
2734 (EditingDelegate::shouldInsertText):
2735 (EditingDelegate::shouldDeleteDOMRange):
2736 (EditingDelegate::shouldChangeSelectedDOMRange):
2737 (EditingDelegate::shouldApplyStyle):
2738 (EditingDelegate::shouldChangeTypingStyle):
2739 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
2741 2007-08-24 Oliver Hunt <oliver@apple.com>
2745 WebDataSource::response can legitimately have a null response, so we
2746 must check that case.
2748 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2749 (queueLoadCallback):
2751 2007-08-23 Mitz Pettel <mitz@webkit.org>
2753 Reviewed by Darin and Adam.
2755 - DumpRenderTree changes to allow testing for
2756 http://bugs.webkit.org/show_bug.cgi?id=11756
2757 REGRESSION: link targeting a frame in another window does not work
2758 <rdar://problem/5286420>
2760 Use a frame group name for all WebViews created by DumpRenderTree to
2761 allow testing of cross-page frame lookup.
2763 * DumpRenderTree/DumpRenderTree.m:
2764 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
2765 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2766 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
2768 2007-08-23 David Kilzer <ddkilzer@webkit.org>
2772 Quote the $sslCertificate path in case it contains a space.
2774 * Scripts/run-webkit-httpd:
2775 * Scripts/run-webkit-tests:
2777 2007-08-22 Oliver Hunt <oliver@apple.com>
2779 Reviewed by John and Adam.
2781 WebDataSource::response can legitimately have a null response, so we
2782 must check that case.
2784 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2787 2007-08-21 Kevin McCullough <kmccullough@apple.com>
2791 - Changing the usage to be more clear.
2793 * Scripts/run-testkjs:
2795 2007-08-20 John Sullivan <sullivan@apple.com>
2797 Reviewed by Adam Roben
2799 * DumpRenderTree/DumpRenderTree.m:
2801 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
2802 in layout tests on Tiger and Leopard
2804 2007-08-20 Adam Roben <aroben@apple.com>
2806 Put LayoutTests after all other ChangeLogs in commit logs
2808 We use "~" to sort LayoutTests after all the other ChangeLogs because
2809 "~" is the last ASCII character (other than "DEL").
2813 * Scripts/commit-log-editor:
2815 2007-08-20 Adam Roben <aroben@apple.com>
2817 Detect that DRT crashed even if a crash dialog is running
2819 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
2820 process is still running at this point, so run-webkit-tests wouldn't
2821 detect that DRT had crashed. We now record the crash in our SIGPIPE
2822 handler so that we know if DRT crashed even if the crash dialog is up.
2826 * Scripts/run-webkit-tests:
2827 (sub catch_pipe): Set the crashed bit.
2828 (sub openDumpTool): Reset the crashed bit.
2829 (sub dumpToolDidCrash): Check the crashed bit.
2831 2007-08-20 Adam Roben <aroben@apple.com>
2833 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
2835 http://bugs.webkit.org/show_bug.cgi?id=15026
2837 Reviewed by David Kilzer and Darin Adler.
2839 * Scripts/prepare-ChangeLog:
2840 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
2841 (sub isAddedStatus): Ditto.
2842 (sub testListForChangeLog): Added.
2844 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
2848 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
2850 * Scripts/webkitdirs.pm:
2851 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
2853 2007-08-17 Darin Adler <darin@apple.com>
2855 Reviewed by Oliver Hunt.
2857 - don't look for Apple-style localizable strings in the GTK version of WebKit
2859 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
2860 name of subdirectories to skip.
2861 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
2864 2007-08-17 Anders Carlsson <andersca@apple.com>
2868 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2871 2007-08-17 Anders Carlsson <andersca@apple.com>
2873 Reviewed by Dave Hyatt.
2875 <rdar://problem/5379040>
2876 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
2878 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
2880 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2882 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2883 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2887 2007-08-16 Alice Liu <alice.liu@apple.com>
2891 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
2893 * DumpRenderTree/DumpRenderTree.m:
2895 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
2897 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
2899 2007-08-16 Kevin McCullough <kmccullough@apple.com>
2903 - 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.
2905 * Scripts/run-webkit-tests:
2907 2007-08-15 Timothy Hatcher <timothy@apple.com>
2909 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
2910 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
2912 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
2913 this prevents making "build" directories in each project folder.
2915 * Scripts/webkitdirs.pm:
2917 2007-08-14 Geoffrey Garen <ggaren@apple.com>
2919 Reviewed by Kevin Mccullough.
2921 Removed special case that didn't belong. (It would allow a global
2922 initializer to sneak into production builds, which would cause a
2923 system-wide performance regression on Mac OS X.)
2925 * Scripts/check-for-global-initializers:
2927 2007-08-14 Justin Garcia <justin.garcia@apple.com>
2931 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
2933 * DumpRenderTree/EditingDelegate.m:
2934 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
2935 only for elements with the class needsDeletionUI.
2937 2007-08-14 David Kilzer <ddkilzer@webkit.org>
2941 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
2942 svn-create-patch uses deprecated tail switch
2944 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
2946 2007-08-13 Sam Weinig <sam@webkit.org>
2948 Reviewed by Adam Roben.
2950 Use the cygwin specific Apache config file under cygwin.
2952 * Scripts/run-webkit-httpd:
2954 2007-08-12 Adam Roben <aroben@apple.com>
2956 Generate results for new tests in a more logical location
2958 New platform-specific tests always have their results generated right
2959 next to the test. New cross-platform tests will have their results
2960 generated a) in the cross-platform directory, if they are text-only,
2961 or b) in the least-specific platform directory, if they are render
2966 * Scripts/run-webkit-tests:
2968 2007-08-12 Adam Roben <aroben@apple.com>
2970 Print the actual directory where new results are generated.
2972 Before, we were printing an unpredictable, context-specific substring
2977 * Scripts/run-webkit-tests:
2979 2007-08-12 Adam Roben <aroben@apple.com>
2981 Factor some common code into a stripExtension() subroutine.
2985 * Scripts/run-webkit-tests: Also removed some debugging output.
2987 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
2989 Reviewed over and over and over by Adam Roben.
2991 Bug 14740: Hierarchical layout tests and platform organization
2992 http://bugs.webkit.org/show_bug.cgi?id=14740
2994 Add support for platform-specific layout tests and results.
2996 * Scripts/run-webkit-tests:
2998 2007-08-11 David Kilzer <ddkilzer@webkit.org>
3002 Refactored svn-create-path to use a hash-of-hashes data structure to keep
3003 track of changed files. In the top level hash, keys are paths to files and
3004 values are 'fileData' hashes with the following keys and values:
3006 - isBinary: boolean value (set to true for non-text files like images, etc.)
3007 - isTestFile: boolean value (set to true if file exists within a known test
3009 - modificationType: string equal to one of 'addition', 'additionWithHistory',
3010 'modification' or 'deletion'
3011 - path: string equal to the path to the file (this may seem redundant, but it
3012 is required to use the second-level 'fileData' hash independent of the
3014 - sourceFile: [optional] string equal to the path of the original file that was
3016 - sourceRevision: [optional] string equal to the revision of the original file
3017 that was copied or moved
3019 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3020 that saves the return value in $result, then checks it before printing help.
3021 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3022 and eliminated two for() loops.
3023 (binarycmp): Added. Used with sort() to order non-binary files before binary
3025 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
3026 (findMimeType): Added optional second argument that takes a revision number.
3027 (generateDiff): Updated to take one fileData argument instead of three ($file,
3028 $modificationType, $isBinary).
3029 (generateFileList): Updated to take one hash ref argument (%diffFiles)
3030 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
3031 %diffFiles using paths for keys and fileData hashes for values.
3032 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3034 (pathcmp): Updated to take two fileData arguments instead of two strings.
3035 (testfilecmp): Added. Used with sort() to order non-test files before test
3038 2007-08-11 Darin Adler <darin@apple.com>
3040 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3042 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3044 Reviewed by David Kilzer.
3046 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3047 http://bugs.webkit.org/show_bug.cgi?id=14745
3049 * Scripts/run-launcher:
3050 Scrub the "--gdk" out of the command line args, if given, so that
3051 GdkLauncher doesn't try to interpret it as a URL.
3053 2007-08-03 Adam Roben <aroben@apple.com>
3055 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3059 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3061 2007-08-03 Sam Weinig <sam@webkit.org>
3065 Recursively dump all frames as text using new
3066 layoutTestController.dumpChildFramesAsText() function.
3068 * DumpRenderTree/DumpRenderTree.m:
3071 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3072 (-[LayoutTestController dumpChildFramesAsText]):
3074 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3078 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3079 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3080 (dumpChildFramesAsTextCallback):
3081 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3083 2007-08-02 Adam Roben <aroben@apple.com>
3085 Fix fast/dom/Window/alert-undefined.html
3089 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3090 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3091 Windows translate a null BSTR into "(null)"
3093 2007-08-02 Kevin McCullough <kmccullough@apple.com>
3097 - It would help if I actually called the right function.
3099 * Drosera/DebuggerDocument.cpp:
3100 (DebuggerDocument::showConsole):
3102 2007-08-02 Adam Roben <aroben@apple.com>
3104 Don't delete the stderr file right after creating it
3108 * Scripts/run-webkit-tests:
3110 2007-08-01 Adam Roben <aroben@apple.com>
3112 When DRT crashes, record stderr and restart DRT
3114 This prevents a DRT crash from causing the next few hundred tests to
3115 "fail" because DRT is no longer running.
3117 I also changed the terminology that run-webkit-tests uses in its
3118 output a bit, so that crashing tests are referred to as "crashes"
3119 instead of "failures".
3123 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3125 (sub openDumpTool): Use open3 so that we can access stderr.
3126 (sub dumpToolCrashed): Added.
3127 (sub printFailureMessageForTest): Added.
3128 (sub htmlForExpectedAndActualResults): Added.
3129 (sub deleteExpectedAndActualResults): Added.
3130 (sub recordActualResultsAndDiff): Added.
3132 2007-07-30 Darin Adler <darin@apple.com>
3134 Reviewed by Tim Hatcher.
3136 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3137 characters. This turned out not to be needed for the test case that motivated me to
3138 do it, but it's nice to have this for the future.
3140 2007-07-30 Simon Hausmann <hausmann@kde.org>
3144 Link QtLauncher into $$OUTPUT_DIR/bin
3146 * Scripts/run-launcher:
3148 2007-07-27 David Kilzer <ddkilzer@apple.com>
3150 Reviewed by Geoff and Darin.
3152 Use a subroutine for validating the --skipped switch.
3154 * Scripts/run-webkit-tests:
3156 2007-07-27 Darin Adler <darin@apple.com>
3160 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3162 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3166 Correct the path of GdkLauncher and make checkFrameworks work on OSX
3167 when building the Qt or Gtk+ port.
3169 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3170 * Scripts/run-launcher:
3171 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3173 2007-07-27 Simon Hausmann <hausmann@kde.org>
3175 Done with and reviewed by Lars and Zack.
3177 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.
3179 * Scripts/webkitdirs.pm:
3181 2007-07-27 Simon Hausmann <hausmann@kde.org>
3183 Done with and reviewed by Lars and Zack.
3185 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.
3187 * Scripts/webkitdirs.pm:
3189 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3191 Reviewed by Darin, Geoff, Sam.
3193 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3195 - 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.
3197 * DumpRenderTree/UIDelegate.h:
3198 * DumpRenderTree/UIDelegate.m:
3199 (-[UIDelegate webView:setFrame:]):
3200 (-[UIDelegate webViewFrame:]):
3202 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3206 - Lars wanted this check for Qt but it breaks platform specific layout tests.
3208 * Scripts/run-webkit-tests:
3210 2007-07-25 Kevin McCullough <kmccullough@apple.com>
3212 Reviewed by Tim, Darin, Oliver.
3214 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3215 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3218 * DumpRenderTree/DumpRenderTree.m:
3221 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3222 (+[LayoutTestController webScriptNameForSelector:]):
3223 (-[LayoutTestController setCustomPolicyDelegate:]):
3224 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3225 * DumpRenderTree/FrameLoadDelegate.h:
3226 * DumpRenderTree/PolicyDelegate.h: Added.
3227 * DumpRenderTree/PolicyDelegate.m: Added.
3228 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3229 * DumpRenderTree/ResourceLoadDelegate.h:
3231 2007-07-25 Adam Treat <treat@kde.org>
3235 Fix build for some reported systems.
3237 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3239 2007-07-23 Adam Treat <treat@kde.org>
3241 Reviewed by Nikolas.
3243 Fix qt DRT to suppress js popup alerts and log instead.
3245 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3246 (WebCore::WebPage::javaScriptAlert):
3248 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3252 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3253 honor --qmakearg for the Gdk/Gtk build as well.
3255 * GdkLauncher/main.cpp: Switch to the new API
3256 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
3258 2007-07-22 Darin Adler <darin@apple.com>
3260 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
3261 Fix a leak by releasing the array used here.
3263 2007-07-22 David Kilzer <ddkilzer@webkit.org>
3267 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
3268 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
3270 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
3271 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
3273 * Scripts/update-iexploder-cssproperties: Added.
3274 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
3275 Added new CSS3 property section and Moved box-sizing property to it.
3277 2007-07-22 Oliver Hunt <oliver@apple.com>
3281 http://bugs.webkit.org/show_bug.cgi?id=14710
3283 Add preliminary support for testing Input Method/WebKit behaviour and interaction
3284 in DRT. This provides the NSTextInput API which is most of what should be necessary
3285 to mimic the event sequences Input Methods trigger.
3287 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3288 * DumpRenderTree/TextInputController.h:
3289 * DumpRenderTree/TextInputController.m:
3290 (-[WebHTMLView interpretKeyEvents:]):
3291 (+[TextInputController isSelectorExcludedFromWebScript:]):
3292 (+[TextInputController webScriptNameForSelector:]):
3293 (-[TextInputController initWithWebView:]):
3294 (-[TextInputController dealloc]):
3295 (-[TextInputController textInput]):
3296 (-[TextInputController setInputMethodHandler:]):
3297 (-[TextInputController interpretKeyEvents:withSender:]):
3299 2007-07-20 Adam Roben <aroben@apple.com>
3301 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
3302 message not count as an existing log.
3304 2007-07-19 Geoffrey Garen <ggaren@apple.com>
3306 Reviewed by Darin Adler.
3308 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
3309 value behavior of stringByEvaluatingJavaScriptFromString
3311 * DumpRenderTree/DumpRenderTree.m:
3312 (testStringByEvaluatingJavaScriptFromString):
3313 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3315 2007-07-19 Adam Roben <aroben@apple.com>
3317 Make commit-log-editor work with git
3321 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
3322 commit message template. Also removed the unused $breakPoint variable.
3324 2007-07-19 Adam Roben <aroben@apple.com>
3326 Move generally-useful VCS code into a new VCSUtils.pm module
3328 This is in preparation for making commit-log-editor git-friendly.
3332 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
3333 * Scripts/prepare-ChangeLog: Use VCSUtils.
3335 2007-07-19 Lars Knoll <lars@trolltech.com>
3337 Fix a crash on exit when running DRT against a current
3342 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3345 2007-07-18 Adam Roben <aroben@apple.com>
3347 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
3351 * Scripts/run-webkit-httpd:
3352 * Scripts/run-webkit-tests:
3354 2007-07-18 Adam Roben <aroben@apple.com>
3356 More git friendliness for prepare-ChangeLog
3358 The overall change is to remove the use of git-status and replace it
3359 with git-diff --name-status (which we were already using in the
3362 This lets us respect directories specified on the command line when
3363 using git, just as we do for Subversion. It also speeds things up a
3364 bit, especially in the subdirectory case, as git-status is pretty slow.
3366 I also fixed some issues where we wouldn't detect copied files and
3367 would reverse the new filename and the original filename for renamed files.
3371 * Scripts/prepare-ChangeLog:
3372 (sub diffFromToString): Added.
3373 (sub diffCommand): Don't append the paths in the --git-commit case, as
3374 we should be operating on the entire commit.
3375 (sub statusCommand): Always use git-diff --name-status, and added an
3376 extra -C option to git-diff to make it find a few more copied files.
3377 (sub createPatchCommand): Collapsed the two git cases a bit, and added
3378 the extra -C option as above.
3379 (sub generateFileList): Remove the git-status codepath, and recognize
3380 file copies in the --name-status output.
3381 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3383 (sub isConflictStatus): Updated the git dictionary.
3384 (sub statusDescription): Updated the git dictionary.
3386 2007-07-18 Timothy Hatcher <timothy@apple.com>
3388 * Scripts/build-drosera: Update where we look for the Xcode project.
3390 2007-07-18 Adam Treat <treat@kde.org>
3394 Use the old wording for Safari.
3396 * Scripts/build-webkit:
3397 * Scripts/webkitdirs.pm:
3399 2007-07-18 Adam Treat <treat@kde.org>
3403 Add convenience script for launching test apps for Qt and Gdk ports.
3404 Change the build-webkit script accordingly.
3406 * Scripts/build-webkit:
3407 * Scripts/run-launcher: Added.
3408 * Scripts/webkitdirs.pm:
3410 2007-07-18 Timothy Hatcher <timothy@apple.com>
3414 Make the Page with the now required InspectorClient.
3416 * GdkLauncher/main.cpp:
3419 2007-07-18 Timothy Hatcher <timothy@apple.com>
3421 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3422 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3424 * Drosera/Makefile: Added.
3425 * Drosera/mac/Makefile:
3426 * DumpRenderTree/Makefile:
3428 * Makefile.Drosera: Removed.
3429 * Makefile.shared: Removed.
3431 2007-07-18 Timothy Hatcher <timothy@apple.com>
3433 The console log was 20px down from the top for no reason, move it up.
3435 * Drosera/console.css:
3437 2007-07-18 Timothy Hatcher <timothy@apple.com>
3439 Use contentDocument to get the source view's iframe document.
3440 Also adds a null/undefined check for localVariableNames.
3442 * Drosera/debugger.js:
3444 2007-07-18 Lars Knoll <lars@trolltech.com>
3446 We really don't want to compare non text only tests to the
3447 Mac results if we don't have a result for Qt, as this would
3448 give a failure and not a notification that the test is new.
3452 * Scripts/run-webkit-tests:
3454 2007-07-18 Lars Knoll <lars@trolltech.com>
3456 Reviewed by Zack & Simon
3458 Adjust to changed API in QWebFrame
3460 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3461 (WebCore::DumpRenderTree::DumpRenderTree):
3463 2007-07-18 Mark Rowe <mrowe@apple.com>
3465 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
3467 * BuildSlaveSupport/build-launcher-app:
3469 2007-07-17 Geoffrey Garen <ggaren@apple.com>
3471 Reviewed by Antti Koivisto.
3473 Added watchdog timer to waitUntilDone to prevent a run-away test from
3474 hanging the test harness.
3476 * DumpRenderTree/DumpRenderTree.m:
3478 (-[LayoutTestController waitUntilDone]):
3479 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3480 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3482 2007-07-17 Kevin McCullough <kmccullough@apple.com>
3486 - Implemented cross-platform code for functions calling into the JavaScript.
3488 * Drosera/DebuggerDocument.cpp:
3489 (DebuggerDocument::callAsFunction):
3490 (DebuggerDocument::pauseJS):
3491 (DebuggerDocument::resumeJS):
3492 (DebuggerDocument::stepIntoJS):
3493 (DebuggerDocument::stepOverJS):
3494 (DebuggerDocument::stepOutJS):
3495 (DebuggerDocument::showConsoleJS):
3496 (DebuggerDocument::closeCurrentFileJS):
3497 (DebuggerDocument::updateFileSource):
3498 (DebuggerDocument::didParseScript):
3499 (DebuggerDocument::willExecuteStatement):
3500 (DebuggerDocument::didEnterCallFrame):
3501 (DebuggerDocument::willLeaveCallFrame):
3502 (DebuggerDocument::exceptionWasRaised):
3503 * Drosera/DebuggerDocument.h:
3504 * Drosera/mac/DebuggerDocumentMac.mm:
3505 (-[DebuggerDocumentMac pause:]):
3506 (-[DebuggerDocumentMac resume:]):
3507 (-[DebuggerDocumentMac stepInto:]):
3508 (-[DebuggerDocumentMac stepOver:]):
3509 (-[DebuggerDocumentMac stepOut:]):
3510 (-[DebuggerDocumentMac showConsole:]):
3511 (-[DebuggerDocumentMac closeCurrentFile:]):
3512 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
3513 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3514 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3515 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3516 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3517 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3519 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3523 - Continued x-platform modifications.
3525 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
3526 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
3527 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
3528 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
3529 * Drosera/win/Drosera.cpp:
3530 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3531 * Drosera/win/stdafx.cpp: Removed.
3532 * Drosera/win/stdafx.h: Removed.
3534 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3538 - Modified files to use cross-platform code.
3540 * Drosera/DebuggerDocument.cpp: Added.
3541 (DebuggerDocument::breakpointEditorHTML):
3542 (DebuggerDocument::isPaused):
3543 (DebuggerDocument::pause):
3544 (DebuggerDocument::resume):
3545 (DebuggerDocument::stepInto):
3546 (DebuggerDocument::evaluateScript):
3547 (DebuggerDocument::currentFunctionStack):
3548 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3549 (DebuggerDocument::valueForScopeVariableNamed):