1 2007-10-23 Kevin McCullough <kmccullough@apple.com>
5 - After talking with Steve I now see that the WebKit server must be
6 running for DCOM to create the distributed objects, which makes sense
7 and currently WebKit only allows one instance to be running at a time
8 which avoids accidentally connecting to the wrong server
9 - In light of this I have removed the code for the attach box and
10 NotificationServer and known server names, since they are all extranious
13 * Drosera/win/Drosera.cpp: Removed notification classes and known server
15 (_tWinMain): Uses init instead of initUI.
16 (droseraWndProc): No longer creats an attach dialog box.
17 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
18 it's not manditory to call init before doing COM stuff.
19 (Drosera::init): calls initUI and will call attach when the
21 (Drosera::initUI): Has changed very little.
22 (Drosera::attach): Changed the signature to reflect that we no longer
23 need the dictionary of known server names.
24 * Drosera/win/Drosera.h: Removed notification classes and known server
25 names. Also renamed and moved some functions.
26 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
27 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
28 headers to the resources folder.
29 * Drosera/win/resource.h: Removed the Attach box.
31 2007-10-22 Adam Roben <aroben@apple.com>
37 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
39 2007-10-22 Kevin McCullough <kmccullough@apple.com>
41 - Removed a leak that was fixed.
43 * Scripts/run-webkit-tests:
45 2007-10-19 Kevin McCullough <kmccullough@apple.com>
49 - Changed the Client so that the DebuggerDocument now own the
50 ServerConnection. This simplifies ownership and cleanup.
52 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
54 (DebuggerClient::initWithServerName):
55 (DebuggerClient::didFinishLoadForFrame):
56 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
58 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
59 until after we have a server which we are attached to.
62 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
65 2007-10-22 Simon Hausmann <hausmann@kde.org>
69 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
71 * Scripts/run-javascriptcore-tests:
73 2007-10-22 Simon Hausmann <hausmann@kde.org>
77 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.
79 * Scripts/build-drosera:
80 * Scripts/build-dumprendertree:
81 * Scripts/build-testkjs:
82 * Scripts/build-webkit:
83 * Scripts/run-javascriptcore-tests:
84 * Scripts/run-sunspider:
85 * Scripts/run-webkit-tests:
86 * Scripts/webkitdirs.pm:
88 2007-10-22 Andrew Wellington <proton@wiretapped.net>
90 Reviewed by Mark Rowe.
92 Fix for local database support after r26879
93 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
95 * Scripts/build-webkit:
97 2007-10-22 Holger Freyther <zecke@selfish.org>
99 Reviewed by Simon Hausmann <hausmann@kde.org>.
101 - Do not build testkjs as an application bundle. This is
102 needed for run-javascriptcore-tests on OSX.
103 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
104 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
105 as we do not have -rpath on OSX.
107 * DumpRenderTree/qt/DumpRenderTree.pro:
108 * Scripts/run-webkit-tests:
110 2007-10-22 Simon Hausmann <hausmann@kde.org>
114 Fix support for Signed-off-by detection in prepare-ChangeLog
115 --git-commit. The Signed-off-by tag does not appear in the header
116 but usually at the end.
118 * Scripts/prepare-ChangeLog:
120 2007-10-21 Mark Rowe <mrowe@apple.com>
124 Fix run-javascriptcore-tests for Gtk.
126 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
128 2007-10-20 Eric Seidel <eric@webkit.org>
132 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
134 2007-10-20 Eric Seidel <eric@webkit.org>
138 Add improved argument handling to run-sunspider, including
139 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
140 Also re-factor code into subroutines
142 * Scripts/build-dumprendertree: removed bogus comments
143 * Scripts/build-testkjs: Added.
144 * Scripts/run-javascriptcore-tests: use build-testkjs
145 * Scripts/run-sunspider: improved argument handling, abstraction
146 * Scripts/run-webkit-tests: improved abstraction
148 2007-10-20 Matt Lilek <webkit@mattlilek.com>
150 Not reviewed, Windows build fix.
152 * DumpRenderTree/win/EventSender.cpp:
155 2007-10-20 Darin Adler <darin@apple.com>
157 Reviewed by Tim Hatcher.
159 - http://bugs.webkit.org/show_bug.cgi?id=15544
160 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
161 not rely on Apple-specific key codes
163 * DumpRenderTree/mac/EventSendingController.mm:
164 (-[EventSendingController keyDown:withModifiers:]):
165 Added named key "rightArrow". Later we could have a whole table of these.
166 Also tweaked modifiers code a little.
168 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
170 2007-10-19 Darin Adler <darin@apple.com>
174 - http://bugs.webkit.org/show_bug.cgi?id=15566
175 possible fix for leak seen in DumpRenderTree
177 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
178 Delete the item if it's not put on the queue, since the caller has
179 no way of knowing that. Would be better to have the parameter type
180 be auto_ptr to express the fact that we take ownership.
184 * Drosera/mac/main.m: Add missing include.
186 2007-10-19 Kevin McCullough <kmccullough@apple.com>
190 - This change should be identical but for some reason was not working
193 * Scripts/prepare-ChangeLog:
195 2007-10-19 Kevin McCullough <kmccullough@apple.com>
197 Reviewed by Oliver and Tim.
199 - Made use of RetainPtr to avoid retain and release issues and moved the
200 log function to DebuggerDocumentPlatform, which seems to be a more
201 logical place for it to live.
202 - Also moved knownServers from the ServerConnection to
203 DebuggerApplication to match the Windows code and because it makes sense
204 that a connection knows its own server but not all of them.
206 * Drosera/mac/DebuggerClient.h: Moved the log function to
207 DebuggerDocumentPlatform.
208 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
209 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
210 call for the server name up from the ServerConnection class.
211 (-[DebuggerClient dealloc]):
212 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
213 for the server name up from the ServerConnection.
214 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
215 (DebuggerDocument::platformPause):
216 (DebuggerDocument::platformResume):
217 (DebuggerDocument::platformStepInto):
218 (DebuggerDocument::platformEvaluateScript):
219 (DebuggerDocument::getPlatformCurrentFunctionStack):
220 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
221 (DebuggerDocument::platformValueForScopeVariableNamed):
222 (DebuggerDocument::platformLog): Log directly from here. No need to call
224 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
225 way I see it, a ServerConnection should only know about its connection
226 and the group of all possible servers should be kept by the
228 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
229 currentServerName, it makes sense that the connection should know that
231 (-[ServerConnection currentServerName]):
233 2007-10-19 Kevin McCullough <kmccullough@apple.com>
237 - Integrated changes from mac drosera. Recently I've encapsulated
238 out the server connection object from the rest of Drosera because
239 it is very platform dependent right now and RPC is not implemented on
240 windows. This functionality, of communicating with the WebKit server
241 is the next area I will be focusing on in Windows.
243 - Other changes and cleanup were made to organize the code and add notes
244 on which parts still need work. Also some mac code is added and
245 commented out, to act as pseudocode for the logic of those parts.
247 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
249 * Drosera/config.h: Added whitespace.
250 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
251 these files got moved into Drosera.h/cpp
252 * Drosera/win/DebuggerApplication.h: Removed.
253 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
254 happened here to better match the logic flow of the same code on the
255 mac side and to use the new ServerConnection class.
256 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
257 (DebuggerClient::initWithServerName): Initializer that will set up the
258 class to use a ServerConnection object. This was necessary so I could
259 create a DebuggerClient without having to initilaize it at
261 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
262 will be the UIDelegate and FrameLoadDelegate.
263 (DebuggerClient::AddRef): For IUnknown.
264 (DebuggerClient::Release): For IUnknown.
265 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
266 this still needs to set the global context of the server, but
267 IWebFrame does not have an accessor for the global context yet.
268 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
269 this is a pass through for the same function in the document.
270 (DebuggerClient::didReceiveTitle): Unimplemented part of
271 FrameLoadDelegate this would change the title of the window.
272 (DebuggerClient::createWebViewWithRequest): Part of the
273 FrameLoadDelegate. This is about new windows via Window.open() and
274 how their delegates are set.
275 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
276 UIDelegate. Just a debug function for printing messages.
277 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
278 because the Client should be the UIDelegate and FrameLoadDelegate
279 to match the delegates on mac.
280 (DebuggerClient::webViewLoaded): Added accessor method.
281 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
282 forgotten to add this file before. This is where the platform
283 dependent versions of the Documents functions live. Most of these are
284 unimplemented because some piece of functionality does not exist on
286 (DebuggerDocument::platformPause):
287 (DebuggerDocument::platformResume):
288 (DebuggerDocument::platformStepInto):
289 (DebuggerDocument::platformEvaluateScript):
290 (DebuggerDocument::getPlatformCurrentFunctionStack):
291 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
292 (DebuggerDocument::platformValueForScopeVariableNamed):
293 (DebuggerDocument::platformLog):
294 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
295 responsibilities becaue they belong in the Client. Also I laid the
296 groundwork for attaching Drosera to a WebKit process
297 (attachWndProc): Now if a server is selected the Client becomes it's
299 (Drosera::Drosera): Added the construction of the Client and dictionary
301 (Drosera::initUI): This is no longer the delegates, the Client is.
302 (Drosera::webViewLoaded): Now asks the Client instead of holding local
304 (Drosera::applicationDidFinishLaunching): Placeholder for needed
305 notification registration when it's possible to implement.
306 (Drosera::serverLoaded): Ditto
307 (Drosera::serverUnloaded): Ditto
308 (Drosera::attach): Attach Drosera to the WebKit server.
309 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
312 (Drosera::knownServers):
313 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
314 and added the ServerConnection.
315 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
316 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
317 Most of the functions are completely unimlemented because they cannot
318 connect with the WebKit server, because one does not exist on Windows
320 (ServerConnection::initWithServerName):
321 (ServerConnection::~ServerConnection):
322 (ServerConnection::setGlobalContext):
323 (ServerConnection::pause):
324 (ServerConnection::resume):
325 (ServerConnection::stepInto):
326 (ServerConnection::switchToServerNamed):
327 (ServerConnection::applicationTerminating):
328 (ServerConnection::serverConnectionDidDie):
329 (ServerConnection::currentFrame):
330 * Drosera/win/ServerConnection.h: Added. Ditto.
331 (ServerConnection::ServerConnection):
333 2007-10-19 Alice Liu <alice.liu@apple.com>
337 Fix for these broken layout tests on Windows:
339 fast/forms/focus-selection-input.html
340 fast/forms/focus-selection-textarea.html
341 fast/forms/select-accesskey.html
343 * DumpRenderTree/win/EventSender.cpp:
345 correct the VK code for alt key.
347 2007-10-19 Eric Seidel <eric@webkit.org>
349 Reviewed by Mark Rowe.
351 Make the GtkLauncher code slightly more readable.
353 * GtkLauncher/main.cpp:
354 (setupMainMenu): Added.
355 (setupMainWindowUI): Added.
358 2007-10-19 Maciej Stachowiak <mjs@apple.com>
360 Rubber stamped by Adam.
362 - don't delay-load WebKit in DumpRenderTree.
364 * DumpRenderTree/win/DumpRenderTree.vcproj:
366 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
368 Reviewed by Adam Roben.
370 - fix <rdar://problem/5313523>
371 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
373 * DumpRenderTree/mac/DumpRenderTree.mm:
374 (dump): Changed to use _responseMIMEType.
376 2007-10-17 Adam Roben <aroben@apple.com>
378 Make it possible to have Windows-specific tests and results
380 When searching for tests to run and the Skipped file, we will only
381 look in platform/win and the cross-platform directory. When looking
382 for expected results, we will look in platform/win, then
383 platform/mac-leopard, then platform/mac, then finally the
384 cross-platform directory.
388 * Scripts/run-webkit-tests:
389 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
390 searching in the cross-platform directory.
391 (sub buildPlatformHierarchy): Removed some unneeded calls to
394 2007-10-17 Adam Roben <aroben@apple.com>
396 Add back the call to register WebKit that we had before WebKitInitializer existed
398 This is needed to ensure that the right WebKit is used when
399 instantiating COM objects.
403 * DumpRenderTree/win/debug_internal.vsprops: Define
404 DEBUG_WEBKIT_HAS_SUFFIX.
405 * DumpRenderTree/win/DumpRenderTree.cpp:
408 2007-10-17 Adam Roben <aroben@apple.com>
410 Import File::Basename in webkitdirs since we use it
414 * Scripts/webkitdirs.pm:
416 2007-10-17 Kevin McCullough <kmccullough@apple.com>
418 - Updated the tiger leaks list to make the internal bots green.
420 * Scripts/run-webkit-tests:
422 2007-10-17 Adam Roben <aroben@apple.com>
424 Build fix for VC++ Express
428 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
431 2007-10-16 Kevin McCullough <kmccullough@apple.com>
435 - Minor mac improvements based on observations I made while implementing the
438 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
439 then hand it to the Client who will retain it, it should just be the client who
440 creates and owns the server.
441 (-[DebuggerApplication attach:]):
442 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
443 * Drosera/mac/DebuggerClient.mm: Creates the server.
444 (-[DebuggerClient initWithServerName:]):
445 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
446 can instead forward declare what it needs.
448 2007-10-16 Darin Adler <darin@apple.com>
450 Reviewed by Geoff Garen.
452 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
453 want to turn failing tests into platform-specific test results. Also did a
454 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
455 would take the type of results into account only some of the time.
457 2007-10-16 Adam Roben <aroben@apple.com>
459 Add a new nightly launcher script for Windows
461 This new script is for versions of Safari that don't delay-load
462 WebKit. I had to make FindSafari be able to print out the nightly
463 launcher script on stdout because Windows shell scripts can't capture
464 the output from a command into an environment variable.
468 * FindSafari/FindSafari.cpp:
469 (_tmain): Added /printSafariLauncher option.
470 * Scripts/run-webkit-nightly.cmd: Added.
472 2007-10-16 Adam Roben <aroben@apple.com>
474 Replace WebKitInitializer with FindSafari
476 We now rely on setting the PATH environment variable to tell Windows
477 where to find WebKit and its dependencies (similar to
478 DYLD_FRAMEWORK_PATH on Mac).
480 This change also make DumpRenderTree no longer delay-load WebKit.
484 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
486 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
487 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
488 WebKitInitializer, don't delay-load WebKit.
489 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
490 * Scripts/run-webkit-tests: Ditto.
491 * Scripts/webkitdirs.pm:
492 (sub setPathForRunningWebKitApp): Added.
493 * WebKitInitializer/WebKitInitializer.cpp: Removed.
494 * WebKitInitializer/WebKitInitializer.h: Removed.
495 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
496 * WebKitInitializer/debug.vsprops: Removed.
497 * WebKitInitializer/debug_internal.vsprops: Removed.
498 * WebKitInitializer/release.vsprops: Removed.
500 2007-10-16 Adam Roben <aroben@apple.com>
502 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
504 http://bugs.webkit.org/show_bug.cgi?id=15532
506 FindSafari simply prints the location of an installed Safari.exe on
511 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
514 (getInstalledWebKitDirectory):
516 * FindSafari/FindSafari.vcproj: Added.
517 * Scripts/webkitdirs.pm:
518 (sub installedSafariPath): Added. Calls FindSafari on Windows.
520 2007-10-16 Adam Roben <aroben@apple.com>
522 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
524 Reviewed by Kevin McCullough.
526 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
527 when referring to WebKit.dll.
528 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
529 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
530 * DumpRenderTree/win/release.vsprops: Ditto.
531 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
532 never have a _debug suffix on WebKit.dll.
533 * WebKitInitializer/WebKitInitializer.cpp:
534 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
536 * WebKitInitializer/debug_internal.vsprops: Added
537 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
539 2007-10-16 Darin Adler <darin@apple.com>
543 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
544 Remove now-unneeded control/alt key hack; the tests have been updated.
546 2007-10-16 Kevin McCullough <kmccullough@apple.com>
548 - Updated leaks list because our internal bot upgraded it's version of leopard and
549 one of the leaks was fixed between that revision and the bot's previous version of
552 * Scripts/run-webkit-tests:
554 2007-10-15 Kevin McCullough <kmccullough@apple.com>
558 - I encapsulated out the server connecton functionality because it is a specific part
559 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
560 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
561 Windows. So the majority of this patch is moving preexisting functionality.
563 - Also I removed the prefix header and changed to use config.h because it is more
564 standard on how we use config.h in windows and it didn't make much sense to keep
565 the prefix header and the config.h
567 * Drosera/DebuggerDocument.cpp:
568 (DebuggerDocument::DebuggerDocument):
569 * Drosera/DebuggerDocument.h:
571 * Drosera/mac/DebuggerApplication.mm:
572 (-[DebuggerApplication attach:]):
573 * Drosera/mac/DebuggerClient.h:
574 * Drosera/mac/DebuggerClient.mm:
575 (-[DebuggerClient initWithServerConnection:]):
576 (-[DebuggerClient dealloc]):
577 (-[DebuggerClient windowDidLoad]):
578 (-[DebuggerClient windowWillClose:]):
579 (-[DebuggerClient webView:didFinishLoadForFrame:]):
580 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
581 * Drosera/mac/DebuggerDocumentPlatform.mm:
582 (DebuggerDocument::platformPause):
583 (DebuggerDocument::platformResume):
584 (DebuggerDocument::platformStepInto):
585 (DebuggerDocument::platformEvaluateScript):
586 (DebuggerDocument::getPlatformCurrentFunctionStack):
587 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
588 (DebuggerDocument::platformValueForScopeVariableNamed):
589 (DebuggerDocument::platformLog):
590 * Drosera/mac/Drosera.pch: Removed.
591 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
592 * Drosera/mac/ServerConnection.h: Added.
593 * Drosera/mac/ServerConnection.mm: Added.
594 (-[ServerConnection initWithServerName:]):
595 (-[ServerConnection dealloc]):
596 (-[ServerConnection setGlobalContext:]):
597 (-[ServerConnection pause]):
598 (-[ServerConnection resume]):
599 (-[ServerConnection stepInto]):
600 (-[ServerConnection switchToServerNamed:]):
601 (-[ServerConnection applicationTerminating:]):
602 (-[ServerConnection serverConnectionDidDie:]):
603 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
604 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
605 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
606 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
607 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
608 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
609 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
610 (-[ServerConnection currentFrame]):
611 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
612 (-[ServerConnection knownServers]):
614 2007-10-15 David Kilzer <ddkilzer@webkit.org>
618 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
619 Script to automatically search nightly builds for regressions (bisect-builds)
621 * Scripts/bisect-builds: Added.
623 2007-10-14 Maciej Stachowiak <mjs@apple.com>
627 - New JavaScript benchmark
628 http://bugs.webkit.org/show_bug.cgi?id=15515
630 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
631 current development or release build of JavaScriptCore.
633 2007-10-15 Mark Rowe <mrowe@apple.com>
637 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
639 * Scripts/webkitdirs.pm:
640 - Change checkArgv to remove the options from @ARGV to prevent
641 them from interfering with further option processing.
642 - Fix logic error in determineIsQt that would prevent it from bailing out early.
643 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
644 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
645 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
647 2007-10-15 Darin Adler <darin@apple.com>
651 - added logging of window.prompt and window.confirm
653 * DumpRenderTree/mac/UIDelegate.mm:
654 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
655 Implement the recommended delegate rather than the deprecated one.
656 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
658 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
661 * DumpRenderTree/win/UIDelegate.h:
662 * DumpRenderTree/win/UIDelegate.cpp:
663 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
664 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
665 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
666 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
668 2007-10-15 Alice Liu <alice.liu@apple.com>
670 Reviewed by Sam Weinig.
672 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
674 * DumpRenderTree/win/DumpRenderTree.cpp:
675 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
676 (main): allocate the global policy delegate for DRT's custom use
677 * DumpRenderTree/win/DumpRenderTree.vcproj:
678 Adding files to project
679 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
680 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
681 (LayoutTestController::setCustomPolicyDelegate):
682 set the webview's policy delegate to DRT's custom one if the test requests it.
683 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
684 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
685 (PolicyDelegate::PolicyDelegate):
686 (PolicyDelegate::QueryInterface):
687 (PolicyDelegate::AddRef):
688 (PolicyDelegate::Release):
689 (PolicyDelegate::decidePolicyForNavigationAction):
690 * DumpRenderTree/win/PolicyDelegate.h: Added.
691 (PolicyDelegate::decidePolicyForNewWindowAction):
692 (PolicyDelegate::decidePolicyForMIMEType):
693 (PolicyDelegate::unableToImplementPolicyWithError):
695 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
699 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
700 when querying for QMAKE_MKSPECS.
702 2007-10-14 Andrew Wellington <proton@wiretapped.net>
704 Reviewed by Adam Roben.
706 Fix run-webkit-tests is too greedy calculating platform hierarchy
707 http://bugs.webkit.org/show_bug.cgi?id=15465
709 Fix run-webkit-tests being too greedy in trying to split the platform name up
710 causing it to try and find tests in every directory above the first "-" in the
711 path to the LayoutTests
713 * Scripts/run-webkit-tests:
715 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
719 http://bugs.webkit.org/show_bug.cgi?id=15006
720 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
721 to reduce code duplication.
723 * Scripts/build-webkit:
724 * Scripts/webkitdirs.pm:
725 buildQMakeProject() renamed to buildQMakeQtProject().
726 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
727 unused $colorize has been removed.
729 === Start merge of feature-branch 2007-10-12 ===
731 2007-10-08 Eric Seidel <eric@webkit.org>
733 Reviewed by Mark Rowe.
735 * Scripts/build-webkit: add --help, remove unused --color
737 2007-10-07 Eric Seidel <eric@webkit.org>
741 * Drosera/mac/DebuggerDocumentPlatform.mm:
742 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
744 2007-10-03 Rob Buis <buis@kde.org>
748 Adapt to changed location of Ahem font.
750 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
752 2007-10-02 Eric Seidel <eric@webkit.org>
754 Reviewed by Adam Roben.
756 Make pixel tests more useful!
757 Finally fix the image diff 0.00% mystery problem
758 Highlight any image differences in the image diff.
759 Add a link from image diffs back to original test file.
761 * DumpRenderTree/mac/ImageDiff.m:
762 (compareImages): highlight any differences
763 (computePercentageDifferent): round to two decimal places
764 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
766 2007-10-02 Eric Seidel <eric@webkit.org>
768 Reviewed by Alexey Proskuryakov.
770 * Scripts/run-webkit-tests: print the % image difference on main results page
772 2007-10-02 Mark Rowe <mrowe@apple.com>
776 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
778 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
779 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
781 2007-10-01 Mark Rowe <mrowe@apple.com>
783 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
785 2007-09-25 Eric Seidel <eric@webkit.org>
787 Reviewed by Mark Rowe.
789 DerivedSources.make was finding "ENABLE_SVG" in the string
790 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
793 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
795 2007-09-25 Mark Rowe <mrowe@apple.com>
797 Rubber-stamped by Eric.
799 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
800 This makes it possible to automate nightly builds for the feature-branch.
802 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
804 Rubber stamped by Mark.
806 Enable svg experimental features as default here in feature-branch.
808 * Scripts/build-webkit:
810 2007-06-29 Antti Koivisto <antti@apple.com>
814 Add VIDEO flag for timed media features
816 * Scripts/build-webkit
818 === End merge of feature-branch 2007-10-12 ===
820 2007-10-11 Kevin McCullough <kmccullough@apple.com>
824 - Updated rational for the leaks list to be more clear.
826 * Scripts/run-webkit-tests:
828 2007-10-11 Kevin McCullough <kmccullough@apple.com>
832 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
833 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
835 * Scripts/run-webkit-tests:
837 2007-10-10 Simon Hausmann <hausmann@kde.org>
841 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
842 includes are needed for INT_MAX, std::auto_ptr and the like.
844 * DumpRenderTree/qt/main.cpp:
846 2007-10-09 Lars Knoll <lars@trolltech.com>
850 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
852 * DumpRenderTree/qt/jsobjects.cpp:
853 (LayoutTestController::encodeHostName):
854 (LayoutTestController::decodeHostName):
855 * DumpRenderTree/qt/jsobjects.h:
857 2007-10-09 Lars Knoll <lars@trolltech.com>
861 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.
863 * DumpRenderTree/qt/DumpRenderTree.cpp:
864 (WebCore::WebPage::createFrame):
865 (WebCore::DumpRenderTree::DumpRenderTree):
866 (WebCore::DumpRenderTree::titleChanged):
867 * DumpRenderTree/qt/DumpRenderTree.h:
868 * DumpRenderTree/qt/jsobjects.cpp:
869 (LayoutTestController::reset):
870 * DumpRenderTree/qt/jsobjects.h:
872 2007-10-09 Lars Knoll <lars@trolltech.com>
876 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
878 * DumpRenderTree/qt/DumpRenderTree.h:
879 * DumpRenderTree/qt/jsobjects.cpp:
880 (LayoutTestController::clearBackForwardList):
881 * DumpRenderTree/qt/jsobjects.h:
883 2007-10-09 Lars Knoll <lars@trolltech.com>
887 make --git-reviewer work again.
889 * Scripts/prepare-ChangeLog:
891 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
893 Rubber stamped by Eric.
895 Connect to the "hovering-over-link" signal emitted by WebKitPage and
896 show the current link inside the statusbar.
897 This shows how to make use of this signal and allows to easily test
898 http://bugs.webkit.org/show_bug.cgi?id=15299.
900 * GtkLauncher/main.cpp:
904 2007-10-05 Lars Knoll <lars@trolltech.com>
906 add proper error messages to the FrameLoaderClient.
907 Implement ChromeClientQt::closeWindowSoon and
908 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
909 Some fixes in DRT to make it work correctly with multiple windows.
913 * DumpRenderTree/qt/DumpRenderTree.cpp:
914 (WebCore::DumpRenderTree::DumpRenderTree):
915 (WebCore::DumpRenderTree::createWindow):
916 (WebCore::DumpRenderTree::windowCount):
917 * DumpRenderTree/qt/DumpRenderTree.h:
918 * DumpRenderTree/qt/jsobjects.cpp:
919 (LayoutTestController::maybeDump):
920 (LayoutTestController::windowCount):
921 * DumpRenderTree/qt/jsobjects.h:
923 2007-10-05 Lars Knoll <lars@trolltech.com>
925 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
926 Add support for layoutTextController.setCanOpenWindows() to DRT
927 fixing another 2 test cases in fast/dom/Window.
931 * DumpRenderTree/qt/DumpRenderTree.cpp:
932 (WebCore::WebPage::WebPage):
933 (WebCore::WebPage::createWindow):
934 (WebCore::DumpRenderTree::resetJSObjects):
935 (WebCore::DumpRenderTree::createWindow):
936 * DumpRenderTree/qt/DumpRenderTree.h:
937 * DumpRenderTree/qt/DumpRenderTree.pro:
938 * DumpRenderTree/qt/jsobjects.cpp:
939 (LayoutTestController::LayoutTestController):
940 (LayoutTestController::reset):
941 * DumpRenderTree/qt/jsobjects.h:
942 * DumpRenderTree/qt/main.cpp:
943 * DumpRenderTree/qt/testplugin.cpp: Added.
944 * DumpRenderTree/qt/testplugin.h: Added.
946 2007-10-04 Sam Weinig <sam@webkit.org>
948 Rubber stamped by Adam.
950 Remove empty directories.
952 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
953 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
955 2007-10-03 Darin Adler <darin@apple.com>
959 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
960 we find the internal libraries in the libraries directory. This
961 is helpful for Safari team engineers at Apple.
963 2007-10-03 Adam Roben <aroben@apple.com>
965 Update the location of AHEM___.TTF after r25968
969 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
971 2007-10-03 Alp Toker <alp@atoker.com>
975 http://bugs.webkit.org/show_bug.cgi?id=14726
976 [gtk] API design. Mapping the WebView delegates to signals.
978 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
980 * GtkLauncher/main.cpp:
984 (menuMainBackCallback):
985 (menuMainForwardCallback):
988 2007-10-03 Lars Knoll <lars@trolltech.com>
992 This fixes --strict mode in run-webkit-tests again after
993 the platform dependent test results have been moved.
995 * Scripts/run-webkit-tests:
997 2007-10-03 Lars Knoll <lars@trolltech.com>
1001 remove the hack in run-webkit-tests that forced text only test
1002 to be taken from the platform independent dir. It was only left
1003 there from early days.
1005 Remove platform dependent results for tests that are text only nowadays,
1006 and add one platform dependent result for a text only test that requires it.
1008 * Scripts/run-webkit-tests:
1010 2007-10-03 Lars Knoll <lars@trolltech.com>
1014 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1016 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1017 (WebCore::WebFrame::WebFrame):
1018 (WebCore::WebPage::WebPage):
1019 (WebCore::WebPage::createFrame):
1020 (WebCore::WebPage::javaScriptAlert):
1021 (WebCore::WebPage::javaScriptConsoleMessage):
1022 (WebCore::DumpRenderTree::DumpRenderTree):
1023 (WebCore::DumpRenderTree::~DumpRenderTree):
1024 (WebCore::DumpRenderTree::open):
1025 (WebCore::DumpRenderTree::readStdin):
1026 (WebCore::DumpRenderTree::resetJSObjects):
1027 (WebCore::DumpRenderTree::initJSObjects):
1028 (WebCore::DumpRenderTree::dumpFramesAsText):
1029 (WebCore::DumpRenderTree::dump):
1030 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1031 (WebCore::DumpRenderTree::layoutTestController):
1032 (WebCore::DumpRenderTree::eventSender):
1033 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1034 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1035 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1036 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1037 (HackWebFrame::mousePressEvent):
1038 (HackWebFrame::mouseReleaseEvent):
1039 (HackWebFrame::mouseMoveEvent):
1040 (HackWebFrame::HackWebFrame):
1041 (HackWebFrame::~HackWebFrame):
1042 (LayoutTestController::LayoutTestController):
1043 (LayoutTestController::reset):
1044 (LayoutTestController::maybeDump):
1045 (LayoutTestController::waitUntilDone):
1046 (LayoutTestController::notifyDone):
1047 (LayoutTestController::dumpEditingCallbacks):
1048 (LayoutTestController::queueReload):
1049 (LayoutTestController::provisionalLoad):
1050 (LayoutTestController::timerEvent):
1051 (EventSender::EventSender):
1052 (EventSender::mouseDown):
1053 (EventSender::mouseUp):
1054 (EventSender::mouseMoveTo):
1055 (EventSender::leapForward):
1056 (EventSender::keyDown):
1057 (EventSender::frameUnderMouse):
1058 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1059 (LayoutTestController::isLoading):
1060 (LayoutTestController::setLoading):
1061 (LayoutTestController::shouldDumpAsText):
1062 (LayoutTestController::shouldDumpChildrenAsText):
1063 (LayoutTestController::shouldWaitUntilDone):
1064 (LayoutTestController::dumpAsText):
1065 (LayoutTestController::dumpChildFramesAsText):
1066 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1070 * Scripts/run-webkit-tests:
1072 2007-10-03 Mark Rowe <mrowe@apple.com>
1074 Reviewed by Alp Toker.
1076 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1077 should take precedence over QTDIR when determining which port we are working with.
1079 * Scripts/webkitdirs.pm:
1081 2007-10-02 Adam Roben <aroben@apple.com>
1083 Add keychain to the list of default packages to install
1085 Rubberstamped by Sam.
1087 * CygwinDownloader/cygwin-downloader.py:
1088 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1090 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1094 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1095 Also makes WebCore regression test case logic work when using git.
1097 * Scripts/prepare-ChangeLog:
1098 (reviewerAndDescriptionForGitCommit): Added.
1100 2007-10-02 Lars Knoll <lars@trolltech.com>
1104 Add API to retrieve the frame name from QWebFrame.
1105 Implement support for DRT::dumpChildrenAsText.
1107 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1108 (WebCore::DumpRenderTree::dumpFramesAsText):
1109 (WebCore::DumpRenderTree::dump):
1110 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1111 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1112 (LayoutTestController::LayoutTestController):
1113 (LayoutTestController::reset):
1114 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1116 2007-10-02 Lars Knoll <lars@trolltech.com>
1120 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1122 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1123 (WebCore::DumpRenderTree::readStdin):
1125 2007-10-02 Mark Rowe <mrowe@apple.com>
1129 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1131 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1132 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1134 2007-10-02 Mark Rowe <mrowe@apple.com>
1136 Rubber-stamped by Maciej.
1138 Configuration changes from build.webkit.org. The major change is refactoring to work
1139 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1142 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1143 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1144 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1145 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1146 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1147 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1148 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1149 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1151 2007-10-02 Lars Knoll <lars@trolltech.com>
1155 Add support for eventSender.mouseMove to DRT.
1156 Fixes fast/css/hover-affects-child.html
1158 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1159 (EventSender::mouseMoveTo):
1161 2007-10-01 Mark Rowe <mrowe@apple.com>
1163 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1165 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1169 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1171 * Scripts/svn-apply:
1172 (gitdiff2svndiff): Ignore lines beginning with "new file".
1173 * Scripts/svn-unapply:
1174 (gitdiff2svndiff): Ditto.
1176 2007-09-30 George Staikos <staikos@kde.org>
1178 Qt build fix (Mac OS X specific)
1180 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1182 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1186 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1187 Remove Bakefiles from svn.
1189 * GtkLauncher/Bakefiles.bkgen: Removed.
1190 * GtkLauncher/ENV: Removed.
1191 * GtkLauncher/gdklauncher.bkl: Removed.
1192 * GtkLauncher/mk: Removed.
1193 * Scripts/regenerate-makefiles: Removed.
1195 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1199 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1201 * Scripts/run-webkit-tests:
1203 2007-09-26 Adam Roben <aroben@apple.com>
1205 Make not finding an installed WebKit non-fatal
1207 What really matters is that we are able to load WebKit and its
1208 dependencies, not whether we think we've found an installed WebKit.
1212 * WebKitInitializer/WebKitInitializer.cpp:
1213 (getWebViewCLSID): Use new LOG_WARNING macro.
1214 (getInstalledWebKitDirectory): Ditto.
1215 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1217 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1219 2007-09-26 Adam Roben <aroben@apple.com>
1221 Committed this file before saving it
1223 * WebKitInitializer/debug_internal.vsprops:
1225 2007-09-26 Adam Roben <aroben@apple.com>
1227 Load WebKit and its dependencies manually so they come from DllDirectory
1229 I had to change WebKitInitializer to use malloc/free instead of
1230 new/delete to avoid pulling in WebKit (and its dependencies) early
1231 through use of fastMalloc.
1235 * WebKitInitializer/WebKitInitializer.cpp:
1236 (getStringValue): Changed to use malloc/free.
1237 (getInstalledWebKitDirectory): Ditto.
1238 (initializeWebKit): Call SetDllDirectory first, then load all of
1239 WebKit's dependencies manually, finally followed by WebKit itself.
1240 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1241 configuration to match our other projects.
1242 * WebKitInitializer/debug_internal.vsprops: Added.
1244 2007-09-25 Adam Roben <aroben@apple.com>
1246 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1248 Rubberstamped by Sam.
1250 * WebKitInitializer/WebKitInitializer.vcproj:
1252 2007-09-25 Adam Roben <aroben@apple.com>
1254 Make DumpRenderTree delay-load its dependencies
1256 This lets WebKitInitializer re-route the dependencies to be loaded out
1257 of the Safari installation directory.
1259 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1260 same thing), since we can't import the kCFAllocatorDefault symbol when
1261 delay-loading CoreFoundation.dll.
1263 Rubberstamped by Sam.
1265 * DumpRenderTree/win/DumpRenderTree.cpp:
1267 (javaScriptThreads):
1268 * DumpRenderTree/win/DumpRenderTree.vcproj:
1269 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1270 (LayoutTestController::setWaitToDump):
1272 2007-09-25 Adam Roben <aroben@apple.com>
1274 Pull ole32.lib into WebKitInitializer
1276 Rubberstamped by Sam.
1278 * WebKitInitializer/WebKitInitializer.vcproj:
1280 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1284 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1285 LGPL'ed files contain incorrect FSF address
1289 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1293 Make svn-apply and svn-unapply work with git-diff formatted patches.
1295 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1296 (gitdiff2svndiff): Added.
1297 * Scripts/svn-unapply: Ditto.
1298 (gitdiff2svndiff): Added.
1300 2007-09-25 Adam Roben <aroben@apple.com>
1302 Pull advapi32.lib into WebKitInitializer
1304 This is needed to get the registry functions we use.
1306 Rubberstamped by Sam.
1308 * WebKitInitializer/WebKitInitializer.vcproj:
1310 2007-09-25 Adam Roben <aroben@apple.com>
1312 Add python and rsync to cygwin-downloader
1314 Our build slaves need this, and it can't hurt for everyone else to
1319 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1320 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1322 2007-09-25 Adam Roben <aroben@apple.com>
1324 Add WebKitInitializer and use it in DumpRenderTree
1326 WebKitInitializer is a static library that has one function,
1327 initializeWebKit(). This registers WebKit and sets up the DLL search
1328 path so that WebKit's dependencies that are installed with Safari can
1333 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1334 DumpRenderTree depend on it.
1335 * DumpRenderTree/win/DumpRenderTree.cpp:
1336 (initialize): Call initializeWebKit.
1337 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1338 WebKitInitializer.lib.
1339 * WebKitInitializer/WebKitInitializer.cpp: Added.
1342 (getInstalledWebKitDirectory):
1344 * WebKitInitializer/WebKitInitializer.h: Added.
1345 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1346 * WebKitInitializer/debug.vsprops: Added.
1347 * WebKitInitializer/release.vsprops: Added.
1349 2007-09-25 Adam Roben <aroben@apple.com>
1351 Make run-webkit-tests respect set-webkit-configuration
1355 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1356 set-webkit-configuration was last set to.
1358 2007-09-25 Mark Rowe <mrowe@apple.com>
1360 Rubber-stamped by Eric.
1362 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1363 This makes it possible to automate nightly builds for the feature-branch.
1365 2007-09-25 Adam Roben <aroben@apple.com>
1367 A couple of fixes/enhancements to update-webkit-*-libs
1369 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1370 to tell update-webkit-support-libraries where it should find the
1371 WebKitSupportLibrary.zip file you downloaded.
1373 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1378 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1379 to $auxiliaryLibsURL and removed an irrelevant comment.
1380 * Scripts/update-webkit-support-libs:
1382 2007-09-25 Adam Treat <treat@kde.org>
1384 Reviewed by Simon and Lars.
1386 Refactors and cleans up Qt DRT member variable names, member variable
1387 initialization, style fixes and general code cleanup.
1389 Adds queueReload slot to LayoutTestController that some tests require.
1391 Subclasses QWebFrame to make sure that all frames have an associated
1392 LayoutTestController JS window object.
1394 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1395 aren't dumped twice.
1399 Together, this patch fixes some 20+ layout tests in QtWebKit.
1401 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1402 (WebCore::WebFrame::WebFrame):
1403 (WebCore::WebPage::WebPage):
1404 (WebCore::WebPage::createFrame):
1405 (WebCore::DumpRenderTree::DumpRenderTree):
1406 (WebCore::DumpRenderTree::open):
1407 (WebCore::DumpRenderTree::readStdin):
1408 (WebCore::DumpRenderTree::initJSObjects):
1409 (WebCore::DumpRenderTree::dump):
1410 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1411 (WebCore::DumpRenderTree::layoutTestController):
1412 (WebCore::DumpRenderTree::eventSender):
1413 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1414 (LayoutTestController::LayoutTestController):
1415 (LayoutTestController::reset):
1416 (LayoutTestController::maybeDump):
1417 (LayoutTestController::waitUntilDone):
1418 (LayoutTestController::notifyDone):
1419 (LayoutTestController::queueReload):
1420 (LayoutTestController::provisionalLoad):
1421 (EventSender::EventSender):
1422 (EventSender::mouseDown):
1423 (EventSender::mouseUp):
1424 (EventSender::mouseMoveTo):
1425 (EventSender::frameUnderMouse):
1426 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1427 (LayoutTestController::isLoading):
1428 (LayoutTestController::setLoading):
1429 (LayoutTestController::dumpAsText):
1430 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1433 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1436 - Reverted an accidentally checked in file.
1438 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1440 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1443 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1445 * DumpRenderTree/win/DumpRenderTree.vcproj:
1446 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1448 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
1450 Rubber stamped by Adam.
1452 * GdkLauncher: Removed.
1453 * GdkLauncher/Bakefiles.bkgen: Removed.
1454 * GdkLauncher/ENV: Removed.
1455 * GdkLauncher/GdkLauncher.pro: Removed.
1456 * GdkLauncher/gdklauncher.bkl: Removed.
1457 * GdkLauncher/main.cpp: Removed.
1458 * GdkLauncher/mk: Removed.
1459 * GdkLauncher/simple.svg: Removed.
1460 * GdkLauncher/text.html: Removed.
1461 * GtkLauncher: Added.
1462 * GtkLauncher/GdkLauncher.pro: Removed.
1463 * GtkLauncher/GtkLauncher.pro: Added.
1464 * GtkLauncher/main.cpp:
1465 (updateWindowTitle):
1467 * Scripts/build-webkit:
1468 * Scripts/regenerate-makefiles:
1469 * Scripts/run-javascriptcore-tests:
1470 * Scripts/run-launcher:
1471 * Scripts/run-webkit-tests:
1472 * Scripts/webkitdirs.pm:
1474 2007-09-21 Timothy Hatcher <timothy@apple.com>
1478 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1480 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1481 This is tested by plugins/root-object-premature-delete-crash.html.
1483 * DumpRenderTree/mac/ObjCController.m:
1484 (-[ObjCController accessStoredWebScriptObject]):
1486 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1490 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1492 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1493 (FrameLoadDelegate::FrameLoadDelegate):
1495 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
1499 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1500 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1502 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1503 Now isQt() and isGdk() use global variables that are only set once.
1505 An array of all the parameters is now given to build-dumprender which includes
1506 the platform on linux.
1508 * Scripts/build-dumprendertree:
1509 * Scripts/run-webkit-tests:
1510 * Scripts/webkitdirs.pm:
1512 2007-09-19 Adam Roben <aroben@apple.com>
1514 Rubberstamped by Hyatt.
1516 * Spinneret: Removed.
1518 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
1520 Reviewed by David Kilzer.
1522 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1524 2007-09-18 Sam Weinig <sam@webkit.org>
1526 Add JSRetainPtr.h #include to fix some builds.
1528 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1530 2007-09-18 Mike Hommey <glandium@debian.org>
1534 * Scripts/prepare-ChangeLog:
1535 - Properly parse GECOS field.
1536 - Use git configuration for user name and email when appropriate.
1538 2007-09-17 Sam Weinig <sam@webkit.org>
1542 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1544 2007-09-17 Sam Weinig <sam@webkit.org>
1546 Reviewed by Adam Roben.
1548 Share more code between mac and windows DRT.
1549 - GCController is now shared.
1550 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1552 * DumpRenderTree/GCController.cpp:
1553 * DumpRenderTree/win/DumpRenderTree.cpp:
1554 * DumpRenderTree/win/DumpRenderTree.vcproj:
1555 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1556 (FrameLoadDelegate::FrameLoadDelegate):
1557 (FrameLoadDelegate::~FrameLoadDelegate):
1558 (FrameLoadDelegate::windowScriptObjectAvailable):
1559 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1560 * DumpRenderTree/win/GCController.cpp: Removed.
1561 * DumpRenderTree/win/GCController.h: Removed.
1562 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1563 (GCController::collect):
1564 (GCController::collectOnAlternateThread):
1565 (GCController::getJSObjectCount):
1566 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1567 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1569 2007-09-17 Sam Weinig <sam@webkit.org>
1571 Reviewed by Adam Roben.
1573 Begin sharing code between mac and windows DRT.
1574 - both now share LayoutTestController.h/cpp and implement platform dependant
1575 operations in LayoutTestControllerMac/Win.
1576 - DumpRenderTree.h is now shared.
1577 - WorkQueue and WorkQueueItem are also shared.
1579 * DumpRenderTree/DumpRenderTree.h:
1580 * DumpRenderTree/LayoutTestController.cpp:
1581 * DumpRenderTree/win/DumpRenderTree.cpp:
1583 (dumpFrameScrollPosition):
1587 * DumpRenderTree/win/DumpRenderTree.h: Removed.
1588 * DumpRenderTree/win/DumpRenderTree.vcproj:
1589 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1590 * DumpRenderTree/win/EditingDelegate.cpp:
1591 (EditingDelegate::shouldBeginEditingInDOMRange):
1592 (EditingDelegate::shouldEndEditingInDOMRange):
1593 (EditingDelegate::shouldInsertNode):
1594 (EditingDelegate::shouldInsertText):
1595 (EditingDelegate::shouldDeleteDOMRange):
1596 (EditingDelegate::shouldChangeSelectedDOMRange):
1597 (EditingDelegate::shouldApplyStyle):
1598 (EditingDelegate::shouldChangeTypingStyle):
1599 (EditingDelegate::doPlatformCommand):
1600 (EditingDelegate::webViewDidBeginEditing):
1601 (EditingDelegate::webViewDidChange):
1602 (EditingDelegate::webViewDidEndEditing):
1603 (EditingDelegate::webViewDidChangeTypingStyle):
1604 (EditingDelegate::webViewDidChangeSelection):
1605 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
1606 * DumpRenderTree/win/LayoutTestController.h: Removed.
1607 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
1608 (LayoutTestController::addDisallowedURL):
1609 (LayoutTestController::clearBackForwardList):
1610 (LayoutTestController::copyDecodedHostName):
1611 (LayoutTestController::copyEncodedHostName):
1612 (LayoutTestController::display):
1613 (LayoutTestController::keepWebHistory):
1614 (LayoutTestController::notifyDone):
1615 (LayoutTestController::queueBackNavigation):
1616 (LayoutTestController::queueForwardNavigation):
1617 (jsStringRefToWString):
1618 (LayoutTestController::queueLoad):
1619 (LayoutTestController::queueReload):
1620 (LayoutTestController::queueScript):
1621 (LayoutTestController::setAcceptsEditing):
1622 (LayoutTestController::setCustomPolicyDelegate):
1623 (LayoutTestController::setMainFrameIsFirstResponder):
1624 (LayoutTestController::setTabKeyCyclesThroughElements):
1625 (LayoutTestController::setUseDashboardCompatibilityMode):
1626 (LayoutTestController::setUserStyleSheetEnabled):
1627 (LayoutTestController::setUserStyleSheetLocation):
1628 (LayoutTestController::setWindowIsKey):
1629 (waitUntilDoneWatchdogFired):
1630 (LayoutTestController::setWaitToDump):
1631 (LayoutTestController::windowCount):
1632 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
1633 (FrameLoadDelegate::didReceiveTitle):
1634 (FrameLoadDelegate::processWork):
1635 (FrameLoadDelegate::locationChangeDone):
1636 (FrameLoadDelegate::windowScriptObjectAvailable):
1637 * DumpRenderTree/win/WorkQueue.cpp: Removed.
1638 * DumpRenderTree/win/WorkQueue.h: Removed.
1639 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
1640 * DumpRenderTree/win/WorkQueueItem.h: Removed.
1641 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
1642 (jsStringRefToWString):
1644 (ScriptItem::invoke):
1646 2007-09-17 Sam Weinig <sam@webkit.org>
1648 Reviewed by Adam Roben.
1650 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
1652 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
1653 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
1654 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
1655 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
1656 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
1657 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
1658 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
1659 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
1660 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
1661 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
1662 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
1663 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
1664 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
1665 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
1666 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
1667 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
1668 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
1669 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
1670 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
1671 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
1672 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
1673 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
1674 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
1675 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
1676 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
1677 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
1678 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
1679 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
1680 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
1681 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
1682 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
1683 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
1684 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
1685 * DumpRenderTree/win: Added.
1686 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
1687 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
1688 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
1689 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
1690 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
1691 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
1692 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
1693 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
1694 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
1695 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
1696 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
1697 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
1698 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
1699 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1700 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
1701 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
1702 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
1703 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
1704 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1705 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1706 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
1707 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1708 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
1709 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
1710 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
1711 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
1713 2007-09-15 Mark Rowe <mrowe@apple.com>
1715 Build fix for DumpRenderTree.
1717 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
1719 2007-09-14 Sam Weinig <sam@webkit.org>
1721 Rubber stamped by Adam Roben.
1723 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
1724 - The UIDelegate was put into a new file while the FrameLoadDelegate was
1725 kept in the WaitUntilDoneDelegate file for the time being.
1727 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1729 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1730 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
1731 (UIDelegate::QueryInterface):
1732 (UIDelegate::AddRef):
1733 (UIDelegate::Release):
1734 (UIDelegate::hasCustomMenuImplementation):
1735 (UIDelegate::setFrame):
1736 (UIDelegate::webViewFrame):
1737 (UIDelegate::runJavaScriptAlertPanelWithMessage):
1738 (UIDelegate::webViewAddMessageToConsole):
1739 (UIDelegate::doDragDrop):
1740 (UIDelegate::webViewGetDlgCode):
1741 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
1742 (UIDelegate::UIDelegate):
1743 (UIDelegate::createWebViewWithRequest):
1744 (UIDelegate::webViewShow):
1745 (UIDelegate::webViewClose):
1746 (UIDelegate::webViewFocus):
1747 (UIDelegate::webViewUnfocus):
1748 (UIDelegate::webViewFirstResponder):
1749 (UIDelegate::makeFirstResponder):
1750 (UIDelegate::setStatusText):
1751 (UIDelegate::webViewStatusText):
1752 (UIDelegate::webViewAreToolbarsVisible):
1753 (UIDelegate::setToolbarsVisible):
1754 (UIDelegate::webViewIsStatusBarVisible):
1755 (UIDelegate::setStatusBarVisible):
1756 (UIDelegate::webViewIsResizable):
1757 (UIDelegate::setResizable):
1758 (UIDelegate::setContentRect):
1759 (UIDelegate::webViewContentRect):
1760 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1761 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1762 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
1763 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
1764 (UIDelegate::mouseDidMoveOverElement):
1765 (UIDelegate::contextMenuItemsForElement):
1766 (UIDelegate::validateUserInterfaceItem):
1767 (UIDelegate::shouldPerformAction):
1768 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
1769 (UIDelegate::willPerformDragDestinationAction):
1770 (UIDelegate::dragSourceActionMaskForPoint):
1771 (UIDelegate::willPerformDragSourceAction):
1772 (UIDelegate::contextMenuItemSelected):
1773 (UIDelegate::trackCustomPopupMenu):
1774 (UIDelegate::measureCustomMenuItem):
1775 (UIDelegate::drawCustomMenuItem):
1776 (UIDelegate::addCustomMenuDrawingData):
1777 (UIDelegate::cleanUpCustomMenuDrawingData):
1778 (UIDelegate::canTakeFocus):
1779 (UIDelegate::takeFocus):
1780 (UIDelegate::registerUndoWithTarget):
1781 (UIDelegate::removeAllActionsWithTarget):
1782 (UIDelegate::setActionTitle):
1785 (UIDelegate::canUndo):
1786 (UIDelegate::canRedo):
1787 (UIDelegate::webViewResizerRect):
1788 (UIDelegate::webViewDrawResizer):
1789 (UIDelegate::webViewScrolled):
1790 (UIDelegate::webViewShouldInterruptJavaScript):
1791 (UIDelegate::webViewReceivedFocus):
1792 (UIDelegate::webViewLostFocus):
1793 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
1794 (FrameLoadDelegate::QueryInterface):
1795 (FrameLoadDelegate::AddRef):
1796 (FrameLoadDelegate::Release):
1797 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1798 (FrameLoadDelegate::didCommitLoadForFrame):
1799 (FrameLoadDelegate::didReceiveTitle):
1800 (FrameLoadDelegate::processWork):
1802 (FrameLoadDelegate::locationChangeDone):
1803 (FrameLoadDelegate::didFinishLoadForFrame):
1804 (FrameLoadDelegate::didFailLoadWithError):
1805 (FrameLoadDelegate::windowScriptObjectAvailable):
1806 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
1807 (FrameLoadDelegate::FrameLoadDelegate):
1809 2007-09-14 Sam Weinig <sam@webkit.org>
1811 Reviewed by Kevin McCullough.
1813 Move mac specific globals in to mac/DumpRenderTreeMac.h
1815 * DumpRenderTree/DumpRenderTree.h:
1816 * DumpRenderTree/DumpRenderTree.mm: Removed.
1817 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1818 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
1819 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
1821 2007-09-14 Brady Eidson <beidson@apple.com>
1823 Rubberstamped by Weinig
1825 You know, Sam, some of us use case-sensitve filesystems...
1827 * DumpRenderTree/DumpRenderTree.h:
1828 * DumpRenderTree/mac/UIDelegate.mm:
1830 2007-09-14 Sam Weinig <sam@webkit.org>
1832 Rubber stamped by Adam Roben.
1834 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
1835 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
1837 * DumpRenderTree/AppleScriptController.h: Removed.
1838 * DumpRenderTree/AppleScriptController.m: Removed.
1839 * DumpRenderTree/DumpRenderTree.h:
1840 * DumpRenderTree/DumpRenderTree.mm:
1841 (startJavaScriptThreads):
1842 (stopJavaScriptThreads):
1844 (setDefaultColorProfileToRGB):
1845 (makeLargeMallocFailSilently):
1846 (dumpFrameScrollPosition):
1850 (-[DumpRenderTreeWindow isKeyWindow]):
1851 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1852 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
1853 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
1854 * DumpRenderTree/EditingDelegate.h: Removed.
1855 * DumpRenderTree/EditingDelegate.m: Removed.
1856 * DumpRenderTree/EventSendingController.h: Removed.
1857 * DumpRenderTree/EventSendingController.m: Removed.
1858 * DumpRenderTree/FrameLoadDelegate.h: Removed.
1859 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
1860 * DumpRenderTree/GCController.mm: Removed.
1861 * DumpRenderTree/ImageDiff.m: Removed.
1862 * DumpRenderTree/LayoutTestController.cpp:
1863 (LayoutTestController::LayoutTestController):
1864 (dumpAsTextCallback):
1865 (dumpBackForwardListCallback):
1866 (dumpChildFramesAsTextCallback):
1867 (dumpChildFrameScrollPositionsCallback):
1868 (dumpDOMAsWebArchiveCallback):
1869 (dumpEditingCallbacksCallback):
1870 (dumpFrameLoadCallbacksCallback):
1871 (dumpResourceLoadCallbacksCallback):
1872 (dumpSelectionRectCallback):
1873 (dumpSourceAsWebArchiveCallback):
1874 (dumpTitleChangesCallback):
1875 (repaintSweepHorizontallyCallback):
1876 (setCallCloseOnWebViewsCallback):
1877 (setCanOpenWindowsCallback):
1878 (setCloseRemainingWindowsWhenCompleteCallback):
1879 (testRepaintCallback):
1880 (addFileToPasteboardOnDragCallback):
1881 (waitUntilDoneCallback):
1882 * DumpRenderTree/LayoutTestController.h:
1883 (LayoutTestController::dumpAsText):
1884 (LayoutTestController::setDumpAsText):
1885 (LayoutTestController::dumpBackForwardList):
1886 (LayoutTestController::setDumpBackForwardList):
1887 (LayoutTestController::dumpChildFrameScrollPositions):
1888 (LayoutTestController::setDumpChildFrameScrollPositions):
1889 (LayoutTestController::dumpChildFramesAsText):
1890 (LayoutTestController::setDumpChildFramesAsText):
1891 (LayoutTestController::dumpDOMAsWebArchive):
1892 (LayoutTestController::setDumpDOMAsWebArchive):
1893 (LayoutTestController::dumpSelectionRect):
1894 (LayoutTestController::setDumpSelectionRect):
1895 (LayoutTestController::dumpSourceAsWebArchive):
1896 (LayoutTestController::setDumpSourceAsWebArchive):
1897 (LayoutTestController::dumpTitleChanges):
1898 (LayoutTestController::setDumpTitleChanges):
1899 (LayoutTestController::dumpEditingCallbacks):
1900 (LayoutTestController::setDumpEditingCallbacks):
1901 (LayoutTestController::dumpResourceLoadCallbacks):
1902 (LayoutTestController::setDumpResourceLoadCallbacks):
1903 (LayoutTestController::dumpFrameLoadCallbacks):
1904 (LayoutTestController::setDumpFrameLoadCallbacks):
1905 (LayoutTestController::addFileToPasteboardOnDrag):
1906 (LayoutTestController::setAddFileToPasteboardOnDrag):
1907 (LayoutTestController::callCloseOnWebViews):
1908 (LayoutTestController::setCallCloseOnWebViews):
1909 (LayoutTestController::canOpenWindows):
1910 (LayoutTestController::setCanOpenWindows):
1911 (LayoutTestController::closeRemainingWindowsWhenComplete):
1912 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1913 (LayoutTestController::testRepaint):
1914 (LayoutTestController::setTestRepaint):
1915 (LayoutTestController::testRepaintSweepHorizontally):
1916 (LayoutTestController::setTestRepaintSweepHorizontally):
1917 (LayoutTestController::waitToDump):
1918 (LayoutTestController::windowIsKey):
1919 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
1920 * DumpRenderTree/NavigationController.h: Removed.
1921 * DumpRenderTree/NavigationController.m: Removed.
1922 * DumpRenderTree/ObjCController.h: Removed.
1923 * DumpRenderTree/ObjCController.m: Removed.
1924 * DumpRenderTree/ObjCPlugin.h: Removed.
1925 * DumpRenderTree/ObjCPlugin.m: Removed.
1926 * DumpRenderTree/ObjCPluginFunction.h: Removed.
1927 * DumpRenderTree/ObjCPluginFunction.m: Removed.
1928 * DumpRenderTree/PolicyDelegate.h: Removed.
1929 * DumpRenderTree/PolicyDelegate.m: Removed.
1930 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
1931 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
1932 * DumpRenderTree/TextInputController.h: Removed.
1933 * DumpRenderTree/TextInputController.m: Removed.
1934 * DumpRenderTree/UIDelegate.h: Removed.
1935 * DumpRenderTree/UIDelegate.mm: Removed.
1936 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
1937 * DumpRenderTree/mac: Added.
1938 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
1939 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
1940 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
1941 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
1942 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
1943 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
1944 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1945 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1946 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1947 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1948 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1949 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1950 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1951 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1952 (-[EditingDelegate webViewDidBeginEditing:]):
1953 (-[EditingDelegate webViewDidChange:]):
1954 (-[EditingDelegate webViewDidEndEditing:]):
1955 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1956 (-[EditingDelegate webViewDidChangeSelection:]):
1957 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
1958 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
1959 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
1960 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
1961 (-[FrameLoadDelegate init]):
1962 (-[FrameLoadDelegate dealloc]):
1963 (-[FrameLoadDelegate processWork:]):
1964 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1965 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1966 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1967 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1968 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1969 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1970 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1971 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1972 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1973 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1974 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1975 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1976 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1977 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1978 (-[FrameLoadDelegate webView:willCloseFrame:]):
1979 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1980 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1981 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
1982 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
1983 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
1984 (LayoutTestController::notifyDone):
1985 (LayoutTestController::setWindowIsKey):
1986 (LayoutTestController::setWaitToDump):
1987 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
1988 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
1989 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
1990 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
1991 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
1992 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
1993 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
1994 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
1995 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
1996 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
1997 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
1998 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
1999 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2000 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2001 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2002 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2003 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2004 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2005 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2006 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2007 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2008 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2009 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2010 (-[UIDelegate webViewFocus:]):
2011 (-[UIDelegate webView:createWebViewWithRequest:]):
2012 (-[UIDelegate webViewClose:]):
2013 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2015 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2019 - Changing Win version of Drosera work with recent changes.
2021 * Drosera/DebuggerDocument.cpp:
2022 * Drosera/DebuggerDocument.h:
2023 * Drosera/mac/DebuggerDocumentPlatform.mm:
2024 (NSStringCreateWithJSStringRef):
2025 (JSValueRefCreateWithNSString):
2026 * Drosera/win/DebuggerClient.cpp:
2027 (DebuggerClient::stepInto):
2028 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2030 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2034 - Moved isPaused into the JS for efficiency and simplicity.
2036 * Drosera/DebuggerDocument.cpp:
2037 (DebuggerDocument::DebuggerDocument):
2038 (DebuggerDocument::pauseCallback):
2039 (DebuggerDocument::resumeCallback):
2040 (DebuggerDocument::isPaused):
2041 (DebuggerDocument::staticFunctions):
2042 * Drosera/DebuggerDocument.h:
2043 * Drosera/console.js:
2044 * Drosera/debugger.js:
2045 * Drosera/mac/DebuggerClient.mm:
2046 (-[DebuggerClient validateUserInterfaceItem:]):
2048 2007-09-13 Sam Weinig <sam@webkit.org>
2050 Rubber stamped by Darin.
2052 Make DumpRenderTree more cross platform ready.
2053 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2054 - Use CF types instead of NS objects.
2057 * DumpRenderTree/DumpRenderTree.h:
2058 * DumpRenderTree/DumpRenderTree.mm:
2062 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2063 * DumpRenderTree/EditingDelegate.m:
2064 * DumpRenderTree/FrameLoadDelegate.h:
2065 * DumpRenderTree/FrameLoadDelegate.mm:
2066 (-[FrameLoadDelegate init]):
2067 (-[FrameLoadDelegate dealloc]):
2068 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2069 * DumpRenderTree/GCController.cpp: Added.
2070 (GCController::GCController):
2071 (GCController::~GCController):
2073 (collectOnAlternateThreadCallback):
2074 (getJSObjectCountCallback):
2075 (GCController::makeWindowObject):
2076 (GCController::getJSClass):
2077 (GCController::staticFunctions):
2078 * DumpRenderTree/GCController.h:
2079 * DumpRenderTree/GCController.mm:
2080 (GCController::collect):
2081 (GCController::collectOnAlternateThread):
2082 (GCController::getJSObjectCount):
2083 * DumpRenderTree/LayoutTestController.cpp:
2084 (LayoutTestController::makeWindowObject):
2085 (LayoutTestController::getJSClass):
2086 * DumpRenderTree/LayoutTestController.h:
2087 * DumpRenderTree/LayoutTestControllerMac.mm:
2088 (LayoutTestController::addDisallowedURL):
2089 (waitUntilDoneWatchdogFired):
2090 (LayoutTestController::waitUntilDone):
2091 * DumpRenderTree/ResourceLoadDelegate.m:
2092 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2094 2007-09-12 Sam Weinig <sam@webkit.org>
2096 Reviewed by Stephanie.
2098 Fix leaks in mac DumpRenderTree.
2100 * DumpRenderTree/FrameLoadDelegate.mm:
2101 (-[FrameLoadDelegate init]): Initalize in the correct order.
2102 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2103 * DumpRenderTree/LayoutTestController.cpp:
2104 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2105 (encodeHostNameCallback): ditto.
2106 * DumpRenderTree/LayoutTestController.h:
2107 * DumpRenderTree/LayoutTestControllerMac.mm:
2108 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2109 (LayoutTestController::copyEncodedHostName): ditto
2110 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2112 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2116 - 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.
2118 * Scripts/run-webkit-tests:
2120 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2124 - Simplified code paths and extracted out functions to increase encapsulation.
2126 * Drosera/DebuggerDocument.cpp:
2127 (DebuggerDocument::breakpointEditorHTMLCallback):
2128 (DebuggerDocument::isPausedCallback):
2129 (DebuggerDocument::pauseCallback):
2130 (DebuggerDocument::resumeCallback):
2131 (DebuggerDocument::stepIntoCallback):
2132 (DebuggerDocument::evaluateScriptCallback):
2133 (DebuggerDocument::currentFunctionStackCallback):
2134 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2135 (DebuggerDocument::valueForScopeVariableNamedCallback):
2136 (DebuggerDocument::logCallback):
2137 * Drosera/DebuggerDocument.h:
2138 (DebuggerDocument::getPaused):
2139 * Drosera/mac/DebuggerClient.mm:
2140 (-[DebuggerClient pause:]):
2141 (-[DebuggerClient resume:]):
2142 (-[DebuggerClient stepInto:]):
2143 (-[DebuggerClient stepOver:]):
2144 (-[DebuggerClient stepOut:]):
2145 (-[DebuggerClient showConsole:]):
2146 (-[DebuggerClient closeCurrentFile:]):
2147 (-[DebuggerClient validateUserInterfaceItem:]):
2148 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2149 (+[NSString stringOrNilFromWebScriptResult:]):
2150 (DebuggerDocument::platformPause):
2151 (DebuggerDocument::platformResume):
2152 (DebuggerDocument::platformStepInto):
2153 (DebuggerDocument::platformEvaluateScript):
2154 (DebuggerDocument::getPlatformCurrentFunctionStack):
2155 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2156 (DebuggerDocument::platformValueForScopeVariableNamed):
2157 (DebuggerDocument::platformLog):
2158 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2160 2007-09-12 Sam Weinig <sam@webkit.org>
2162 Build fix for Buildbot.
2164 * DumpRenderTree/DumpRenderTree.mm:
2167 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2171 - Updated the leaks list for leopard to help identify regressions.
2173 * Scripts/run-webkit-tests:
2175 2007-09-12 Sam Weinig <sam@webkit.org>
2177 Rubber stamped by Darin.
2179 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2181 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2182 * DumpRenderTree/DumpRenderTree.m: Removed.
2183 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2184 (stopJavaScriptThreads): Fix initialization.
2185 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2186 (dumpRenderTree): Ditto.
2188 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2190 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2191 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2192 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2193 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2194 (-[FrameLoadDelegate init]):
2195 (-[FrameLoadDelegate dealloc]):
2196 (-[FrameLoadDelegate processWork:]):
2197 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2198 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2199 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2201 * DumpRenderTree/LayoutTestController.cpp: Added.
2202 (LayoutTestController::LayoutTestController):
2203 (LayoutTestController::~LayoutTestController):
2204 (dumpAsTextCallback):
2205 (dumpBackForwardListCallback):
2206 (dumpChildFramesAsTextCallback):
2207 (dumpChildFrameScrollPositionsCallback):
2208 (dumpDOMAsWebArchiveCallback):
2209 (dumpEditingCallbacksCallback):
2210 (dumpFrameLoadCallbacksCallback):
2211 (dumpResourceLoadCallbacksCallback):
2212 (dumpSelectionRectCallback):
2213 (dumpSourceAsWebArchiveCallback):
2214 (dumpTitleChangesCallback):
2215 (repaintSweepHorizontallyCallback):
2216 (setCallCloseOnWebViewsCallback):
2217 (setCanOpenWindowsCallback):
2218 (setCloseRemainingWindowsWhenCompleteCallback):
2219 (testRepaintCallback):
2220 (addFileToPasteboardOnDragCallback):
2221 (addDisallowedURLCallback):
2222 (clearBackForwardListCallback):
2223 (decodeHostNameCallback):
2225 (encodeHostNameCallback):
2226 (keepWebHistoryCallback):
2227 (notifyDoneCallback):
2228 (queueBackNavigationCallback):
2229 (queueForwardNavigationCallback):
2230 (queueLoadCallback):
2231 (queueReloadCallback):
2232 (queueScriptCallback):
2233 (setAcceptsEditingCallback):
2234 (setCustomPolicyDelegateCallback):
2235 (setMainFrameIsFirstResponderCallback):
2236 (setTabKeyCyclesThroughElementsCallback):
2237 (setUseDashboardCompatibilityModeCallback):
2238 (setUserStyleSheetEnabledCallback):
2239 (setUserStyleSheetLocationCallback):
2240 (setWindowIsKeyCallback):
2241 (waitUntilDoneCallback):
2242 (windowCountCallback):
2243 (LayoutTestController::makeWindowObject):
2244 (LayoutTestController::getLayoutTestControllerJSClass):
2245 (LayoutTestController::staticFunctions):
2246 * DumpRenderTree/LayoutTestController.h: Replaced.
2247 * DumpRenderTree/LayoutTestController.m: Removed.
2248 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2249 (LayoutTestController::dumpAsText):
2250 (LayoutTestController::dumpBackForwardList):
2251 (LayoutTestController::dumpChildFramesAsText):
2252 (LayoutTestController::dumpChildFrameScrollPositions):
2253 (LayoutTestController::dumpDOMAsWebArchive):
2254 (LayoutTestController::dumpEditingCallbacks):
2255 (LayoutTestController::dumpFrameLoadCallbacks):
2256 (LayoutTestController::dumpResourceLoadCallbacks):
2257 (LayoutTestController::dumpSelectionRect):
2258 (LayoutTestController::dumpSourceAsWebArchive):
2259 (LayoutTestController::dumpTitleChanges):
2260 (LayoutTestController::repaintSweepHorizontally):
2261 (LayoutTestController::setCallCloseOnWebViews):
2262 (LayoutTestController::setCanOpenWindows):
2263 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2264 (LayoutTestController::testRepaint):
2265 (LayoutTestController::addFileToPasteboardOnDrag):
2266 (LayoutTestController::addDisallowedURL):
2267 (LayoutTestController::clearBackForwardList):
2268 (LayoutTestController::decodeHostName):
2269 (LayoutTestController::encodeHostName):
2270 (LayoutTestController::display):
2271 (LayoutTestController::keepWebHistory):
2272 (LayoutTestController::notifyDone):
2273 (LayoutTestController::queueBackNavigation):
2274 (LayoutTestController::queueForwardNavigation):
2275 (LayoutTestController::queueLoad):
2276 (LayoutTestController::queueReload):
2277 (LayoutTestController::queueScript):
2278 (LayoutTestController::setAcceptsEditing):
2279 (LayoutTestController::setCustomPolicyDelegate):
2280 (LayoutTestController::setMainFrameIsFirstResponder):
2281 (LayoutTestController::setTabKeyCyclesThroughElements):
2282 (LayoutTestController::setUseDashboardCompatibilityMode):
2283 (LayoutTestController::setUserStyleSheetEnabled):
2284 (LayoutTestController::setUserStyleSheetLocation):
2285 (LayoutTestController::setWindowIsKey):
2286 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2287 (LayoutTestController::waitUntilDone):
2288 (LayoutTestController::windowCount):
2289 Use the JSCore API to implement the LayoutTestController.
2291 * DumpRenderTree/ObjCController.h:
2292 * DumpRenderTree/ObjCController.m:
2293 (+[ObjCController isSelectorExcludedFromWebScript:]):
2294 (+[ObjCController webScriptNameForSelector:]):
2295 (-[ObjCController accessStoredWebScriptObject]):
2296 (-[ObjCController storeWebScriptObject:]):
2297 (-[ObjCController dealloc]):
2298 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2299 Move WebScriptObject tests to ObjCController.
2301 * DumpRenderTree/UIDelegate.m: Removed.
2302 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2304 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2305 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2306 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2307 (WorkQueueItem::~WorkQueueItem):
2308 (LoadItem::LoadItem):
2311 (ScriptItem::ScriptItem):
2312 (ScriptItem::script):
2313 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2315 (ReloadItem::invoke):
2316 (ScriptItem::invoke):
2317 (BackForwardItem::invoke):
2318 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2319 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2322 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2326 - Updated Win side to take advantage of the platform separating changes.
2328 * Drosera/DebuggerDocument.cpp:
2329 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2330 * Drosera/DebuggerDocument.h:
2331 * Drosera/win/DebuggerClient.cpp:
2332 (DebuggerClient::pause):
2333 (DebuggerClient::resume):
2334 (DebuggerClient::stepInto):
2335 (DebuggerDocument::platformPause):
2336 (DebuggerDocument::platformResume):
2337 (DebuggerDocument::platformStepInto):
2338 (DebuggerDocument::platformEvaluateScript):
2339 (DebuggerDocument::getPlatformCurrentFunctionStack):
2340 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2341 (DebuggerDocument::platformValueForScopeVariableNamed):
2342 (DebuggerDocument::platformLog):
2343 * Drosera/win/DebuggerClient.h:
2344 * Drosera/win/Drosera.cpp:
2346 (Drosera::windowScriptObjectAvailable):
2347 (Drosera::initWithServerName):
2348 (Drosera::switchToServerNamed):
2349 * Drosera/win/Drosera.h:
2350 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2352 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2356 - Just doing the moves in a separate patch so the changes are easier to see.
2358 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2359 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2360 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2361 * Drosera/win/DebuggerDocumentWin.h: Removed.
2362 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2364 2007-09-11 Sven Herzberg <sven@imendio.com>
2366 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2367 http://bugs.webkit.org/show_bug.cgi?id=15176
2369 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2370 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2371 other paths eg. from jhbuild)
2373 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2377 - Made an order-of-deletion mistake.
2379 * Drosera/DebuggerDocument.h:
2380 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2381 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2382 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2383 * Drosera/mac/DebuggerClient.mm:
2384 (DebuggerDocument::platformPause):
2385 (DebuggerDocument::platformResume):
2386 (DebuggerDocument::platformStepInto):
2387 (DebuggerDocument::platformEvaluateScript):
2388 (DebuggerDocument::getPlatformCurrentFunctionStack):
2389 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2390 (DebuggerDocument::platformValueForScopeVariableNamed):
2391 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2393 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2397 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2399 * Drosera/DebuggerDocument.cpp:
2400 (DebuggerDocument::DebuggerDocument):
2401 * Drosera/DebuggerDocument.h:
2402 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2403 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2404 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2405 * Drosera/mac/DebuggerApplication.mm:
2406 (-[DebuggerApplication attach:]):
2407 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2408 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2409 (DebuggerDocument::platformPause):
2410 (DebuggerDocument::platformResume):
2411 (DebuggerDocument::platformStepInto):
2412 (DebuggerDocument::platformEvaluateScript):
2413 (DebuggerDocument::getPlatformCurrentFunctionStack):
2414 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2415 (DebuggerDocument::platformValueForScopeVariableNamed):
2416 (DebuggerDocument::platformLog):
2417 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2418 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2419 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2421 2007-09-09 Sam Weinig <sam@webkit.org>
2423 Reviewed by Mark Rowe.
2425 Remove 'objC' prefix from methods now in the ObjCController.
2427 * DumpRenderTree/ObjCController.m:
2428 (+[ObjCController isSelectorExcludedFromWebScript:]):
2429 (+[ObjCController webScriptNameForSelector:]):
2430 (-[ObjCController classNameOf:]):
2431 (-[ObjCController objectOfClass:]):
2432 (-[ObjCController identityIsEqual::]):
2433 (-[ObjCController longLongRoundTrip:]):
2434 (-[ObjCController unsignedLongLongRoundTrip:]):
2436 2007-09-09 Sam Weinig <sam@webkit.org>
2440 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
2441 - Move LayoutTestController into its own file.
2442 - Move Objective-C only functions on LayoutTestController into a new controller called the
2445 * DumpRenderTree/DumpRenderTree.h:
2446 * DumpRenderTree/DumpRenderTree.m:
2448 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2449 * DumpRenderTree/FrameLoadDelegate.m:
2450 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2451 * DumpRenderTree/LayoutTestController.h: Added.
2452 * DumpRenderTree/LayoutTestController.m: Added.
2453 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2454 (+[LayoutTestController webScriptNameForSelector:]):
2455 (-[LayoutTestController clearBackForwardList]):
2456 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2457 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2458 (-[LayoutTestController setCustomPolicyDelegate:]):
2459 (-[LayoutTestController keepWebHistory]):
2460 (-[LayoutTestController setCallCloseOnWebViews:]):
2461 (-[LayoutTestController setCanOpenWindows]):
2462 (-[LayoutTestController waitUntilDone]):
2463 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2464 (-[LayoutTestController notifyDone]):
2465 (-[LayoutTestController dumpAsText]):
2466 (-[LayoutTestController addFileToPasteboardOnDrag]):
2467 (-[LayoutTestController addDisallowedURL:]):
2468 (-[LayoutTestController setUserStyleSheetLocation:]):
2469 (-[LayoutTestController setUserStyleSheetEnabled:]):
2470 (-[LayoutTestController dumpDOMAsWebArchive]):
2471 (-[LayoutTestController dumpSourceAsWebArchive]):
2472 (-[LayoutTestController dumpSelectionRect]):
2473 (-[LayoutTestController dumpTitleChanges]):
2474 (-[LayoutTestController dumpBackForwardList]):
2475 (-[LayoutTestController windowCount]):
2476 (-[LayoutTestController dumpChildFrameScrollPositions]):
2477 (-[LayoutTestController dumpChildFramesAsText]):
2478 (-[LayoutTestController dumpEditingCallbacks]):
2479 (-[LayoutTestController dumpResourceLoadCallbacks]):
2480 (-[LayoutTestController dumpFrameLoadCallbacks]):
2481 (-[LayoutTestController setWindowIsKey:]):
2482 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2483 (-[LayoutTestController display]):
2484 (-[LayoutTestController testRepaint]):
2485 (-[LayoutTestController repaintSweepHorizontally]):
2486 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2487 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2488 (-[LayoutTestController _doLoad:target:]):
2489 (-[LayoutTestController _doBackOrForwardNavigation:]):
2490 (-[LayoutTestController queueBackNavigation:]):
2491 (-[LayoutTestController queueForwardNavigation:]):
2492 (-[LayoutTestController queueReload]):
2493 (-[LayoutTestController queueScript:]):
2494 (-[LayoutTestController queueLoad:target:]):
2495 (-[LayoutTestController setAcceptsEditing:]):
2496 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2497 (-[LayoutTestController storeWebScriptObject:]):
2498 (-[LayoutTestController accessStoredWebScriptObject]):
2499 (-[LayoutTestController dealloc]):
2500 (-[LayoutTestController decodeHostName:]):
2501 (-[LayoutTestController encodeHostName:]):
2502 * DumpRenderTree/ObjCController.h: Added.
2503 * DumpRenderTree/ObjCController.m: Added.
2504 (+[ObjCController isSelectorExcludedFromWebScript:]):
2505 (+[ObjCController webScriptNameForSelector:]):
2506 (-[ObjCController objCClassNameOf:]):
2507 (-[ObjCController objCObjectOfClass:]):
2508 (-[ObjCController objCIdentityIsEqual::]):
2509 (-[ObjCController objCLongLongRoundTrip:]):
2510 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2511 (-[ObjCController testWrapperRoundTripping:]):
2513 2007-09-07 Sam Weinig <sam@webkit.org>
2517 Strip trailing and leading space/newline characters from skiplist file names.
2519 * Scripts/run-webkit-tests:
2521 2007-09-06 Kevin McCullough <kmccullough@apple.com>
2525 - Changed Drosera to take advantage of the JSRetainPtr changes.
2527 * Drosera/DebuggerDocument.cpp:
2528 (DebuggerDocument::breakpointEditorHTML):
2529 (DebuggerDocument::evaluateScript):
2530 (DebuggerDocument::valueForScopeVariableNamed):
2531 (DebuggerDocument::log):
2532 (DebuggerDocument::windowScriptObjectAvailable):
2533 (DebuggerDocument::toJSArray):
2534 (DebuggerDocument::callFunctionOnObject):
2535 (DebuggerDocument::logException):
2536 * Drosera/mac/DebuggerDocumentMac.mm:
2537 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2538 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2539 (DebuggerDocument::platformEvaluateScript):
2540 (DebuggerDocument::getPlatformCurrentFunctionStack):
2541 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2542 (DebuggerDocument::platformValueForScopeVariableNamed):
2544 2007-09-05 Kevin McCullough <kmccullough@apple.com>
2546 Reviewed by Adam, Sam, Darin.
2548 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
2550 * Drosera/Debugger.h: Added.
2551 * Drosera/DebuggerDocument.cpp:
2552 (DebuggerDocument::breakpointEditorHTMLCallback):
2553 (DebuggerDocument::isPausedCallback):
2554 (DebuggerDocument::pauseCallback):
2555 (DebuggerDocument::resumeCallback):
2556 (DebuggerDocument::stepIntoCallback):
2557 (DebuggerDocument::evaluateScriptCallback):
2558 (DebuggerDocument::currentFunctionStackCallback):
2559 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2560 (DebuggerDocument::valueForScopeVariableNamedCallback):
2561 (DebuggerDocument::logCallback):
2562 (DebuggerDocument::breakpointEditorHTML):
2563 (DebuggerDocument::isPaused):
2564 (DebuggerDocument::pause):
2565 (DebuggerDocument::resume):
2566 (DebuggerDocument::stepInto):
2567 (DebuggerDocument::evaluateScript):
2568 (DebuggerDocument::currentFunctionStack):
2569 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2570 (DebuggerDocument::valueForScopeVariableNamed):
2571 (DebuggerDocument::log):
2572 (DebuggerDocument::toolbarPause):
2573 (DebuggerDocument::toolbarResume):
2574 (DebuggerDocument::toolbarStepInto):
2575 (DebuggerDocument::toolbarStepOver):
2576 (DebuggerDocument::toolbarStepOut):
2577 (DebuggerDocument::toolbarShowConsole):
2578 (DebuggerDocument::toolbarCloseCurrentFile):
2579 (DebuggerDocument::updateFileSource):
2580 (DebuggerDocument::didParseScript):
2581 (DebuggerDocument::willExecuteStatement):
2582 (DebuggerDocument::didEnterCallFrame):
2583 (DebuggerDocument::willLeaveCallFrame):
2584 (DebuggerDocument::exceptionWasRaised):
2585 (DebuggerDocument::windowScriptObjectAvailable):
2586 (DebuggerDocument::toJSArray):
2587 (DebuggerDocument::callGlobalFunction):
2588 (DebuggerDocument::callFunctionOnObject):
2589 (DebuggerDocument::getDroseraJSClass):
2590 (DebuggerDocument::staticFunctions):
2591 (DebuggerDocument::logException):
2592 * Drosera/DebuggerDocument.h:
2593 (DebuggerDocument::DebuggerDocument):
2594 * Drosera/ForwardingHeaders: Added.
2595 * Drosera/ForwardingHeaders/wtf: Added.
2596 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2598 * Drosera/console.html:
2599 * Drosera/console.js:
2600 * Drosera/debugger.js:
2601 * Drosera/mac/DebuggerApplication.mm:
2602 (-[DebuggerApplication attach:]):
2603 * Drosera/mac/DebuggerDocumentMac.h:
2604 * Drosera/mac/DebuggerDocumentMac.mm:
2605 (+[NSString stringOrNilFromWebScriptResult:]):
2606 (+[DebuggerClientMac log:]):
2607 (-[DebuggerClientMac initWithServerName:]):
2608 (-[DebuggerClientMac dealloc]):
2609 (-[DebuggerClientMac pause]):
2610 (-[DebuggerClientMac resume]):
2611 (-[DebuggerClientMac pause:]):
2612 (-[DebuggerClientMac resume:]):
2613 (-[DebuggerClientMac stepInto:]):
2614 (-[DebuggerClientMac stepOver:]):
2615 (-[DebuggerClientMac stepOut:]):
2616 (-[DebuggerClientMac showConsole:]):
2617 (-[DebuggerClientMac closeCurrentFile:]):
2618 (-[DebuggerClientMac validateUserInterfaceItem:]):
2619 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
2620 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2621 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2622 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2623 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2624 (DebuggerDocument::platformPause):
2625 (DebuggerDocument::platformResume):
2626 (DebuggerDocument::platformStepInto):
2627 (DebuggerDocument::platformEvaluateScript):
2628 (DebuggerDocument::platformCurrentFunctionStack):
2629 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
2630 (DebuggerDocument::platformValueForScopeVariableNamed):
2631 (DebuggerDocument::platformLog):
2632 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2634 2007-09-06 Sam Weinig <sam@webkit.org>
2636 Reviewed by Adam Roben.
2638 Register the WebKit DLL on initialization of the DumpRenderTree.
2640 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2643 2007-09-05 Sam Weinig <sam@webkit.org>
2647 Fix many layout test failures caused by r25364.
2648 Set text size to standand size at the begining of each test matching the mac.
2650 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2653 2007-09-04 Sam Weinig <sam@webkit.org>
2657 Fix for <rdar://problem/5382277>
2658 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
2660 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
2661 (textZoomInCallback):
2662 (textZoomOutCallback):
2664 2007-08-29 David Kilzer <ddkilzer@apple.com>
2668 Added case-insensitivity to checks for adding regression tests.
2670 * Scripts/prepare-ChangeLog:
2673 2007-08-28 David Kilzer <ddkilzer@apple.com>
2677 Ignore files in /resources/ subdirectories when creating a list of added tests.
2679 * Scripts/prepare-ChangeLog:
2682 2007-08-27 Kevin McCullough <kmccullough@apple.com>
2686 - Removed Leopard leaks list since all of those radars were fixed.
2688 * Scripts/run-webkit-tests:
2690 2007-08-27 Adam Roben <aroben@apple.com>
2692 Rubberstamped by Mark.
2694 * Scripts/pdevenv: Pass arguments along to devenv.com.
2696 2007-08-26 David Kilzer <ddkilzer@webkit.org>
2698 Reviewed by Mark Rowe.
2700 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
2702 * Scripts/prepare-ChangeLog:
2703 (changeLogDate): Added.
2705 2007-08-24 Sam Weinig <sam@webkit.org>
2707 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2709 2007-08-24 Sam Weinig <sam@webkit.org>
2711 Rubber-stamped by Adam Roben.
2713 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2715 Rename COM DOM bindings to use Deprecated prefix.
2717 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2720 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
2723 (EditingDelegate::shouldBeginEditingInDOMRange):
2724 (EditingDelegate::shouldEndEditingInDOMRange):
2725 (EditingDelegate::shouldInsertNode):
2726 (EditingDelegate::shouldInsertText):
2727 (EditingDelegate::shouldDeleteDOMRange):
2728 (EditingDelegate::shouldChangeSelectedDOMRange):
2729 (EditingDelegate::shouldApplyStyle):
2730 (EditingDelegate::shouldChangeTypingStyle):
2731 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
2733 2007-08-24 Oliver Hunt <oliver@apple.com>
2737 WebDataSource::response can legitimately have a null response, so we
2738 must check that case.
2740 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2741 (queueLoadCallback):
2743 2007-08-23 Mitz Pettel <mitz@webkit.org>
2745 Reviewed by Darin and Adam.
2747 - DumpRenderTree changes to allow testing for
2748 http://bugs.webkit.org/show_bug.cgi?id=11756
2749 REGRESSION: link targeting a frame in another window does not work
2750 <rdar://problem/5286420>
2752 Use a frame group name for all WebViews created by DumpRenderTree to
2753 allow testing of cross-page frame lookup.
2755 * DumpRenderTree/DumpRenderTree.m:
2756 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
2757 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2758 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
2760 2007-08-23 David Kilzer <ddkilzer@webkit.org>
2764 Quote the $sslCertificate path in case it contains a space.
2766 * Scripts/run-webkit-httpd:
2767 * Scripts/run-webkit-tests:
2769 2007-08-22 Oliver Hunt <oliver@apple.com>
2771 Reviewed by John and Adam.
2773 WebDataSource::response can legitimately have a null response, so we
2774 must check that case.
2776 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2779 2007-08-21 Kevin McCullough <kmccullough@apple.com>
2783 - Changing the usage to be more clear.
2785 * Scripts/run-testkjs:
2787 2007-08-20 John Sullivan <sullivan@apple.com>
2789 Reviewed by Adam Roben
2791 * DumpRenderTree/DumpRenderTree.m:
2793 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
2794 in layout tests on Tiger and Leopard
2796 2007-08-20 Adam Roben <aroben@apple.com>
2798 Put LayoutTests after all other ChangeLogs in commit logs
2800 We use "~" to sort LayoutTests after all the other ChangeLogs because
2801 "~" is the last ASCII character (other than "DEL").
2805 * Scripts/commit-log-editor:
2807 2007-08-20 Adam Roben <aroben@apple.com>
2809 Detect that DRT crashed even if a crash dialog is running
2811 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
2812 process is still running at this point, so run-webkit-tests wouldn't
2813 detect that DRT had crashed. We now record the crash in our SIGPIPE
2814 handler so that we know if DRT crashed even if the crash dialog is up.
2818 * Scripts/run-webkit-tests:
2819 (sub catch_pipe): Set the crashed bit.
2820 (sub openDumpTool): Reset the crashed bit.
2821 (sub dumpToolDidCrash): Check the crashed bit.
2823 2007-08-20 Adam Roben <aroben@apple.com>
2825 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
2827 http://bugs.webkit.org/show_bug.cgi?id=15026
2829 Reviewed by David Kilzer and Darin Adler.
2831 * Scripts/prepare-ChangeLog:
2832 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
2833 (sub isAddedStatus): Ditto.
2834 (sub testListForChangeLog): Added.
2836 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
2840 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
2842 * Scripts/webkitdirs.pm:
2843 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
2845 2007-08-17 Darin Adler <darin@apple.com>
2847 Reviewed by Oliver Hunt.
2849 - don't look for Apple-style localizable strings in the GTK version of WebKit
2851 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
2852 name of subdirectories to skip.
2853 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
2856 2007-08-17 Anders Carlsson <andersca@apple.com>
2860 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2863 2007-08-17 Anders Carlsson <andersca@apple.com>
2865 Reviewed by Dave Hyatt.
2867 <rdar://problem/5379040>
2868 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
2870 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
2872 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2874 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2875 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2879 2007-08-16 Alice Liu <alice.liu@apple.com>
2883 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
2885 * DumpRenderTree/DumpRenderTree.m:
2887 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
2889 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
2891 2007-08-16 Kevin McCullough <kmccullough@apple.com>
2895 - 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.
2897 * Scripts/run-webkit-tests:
2899 2007-08-15 Timothy Hatcher <timothy@apple.com>
2901 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
2902 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
2904 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
2905 this prevents making "build" directories in each project folder.
2907 * Scripts/webkitdirs.pm:
2909 2007-08-14 Geoffrey Garen <ggaren@apple.com>
2911 Reviewed by Kevin Mccullough.
2913 Removed special case that didn't belong. (It would allow a global
2914 initializer to sneak into production builds, which would cause a
2915 system-wide performance regression on Mac OS X.)
2917 * Scripts/check-for-global-initializers:
2919 2007-08-14 Justin Garcia <justin.garcia@apple.com>
2923 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
2925 * DumpRenderTree/EditingDelegate.m:
2926 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
2927 only for elements with the class needsDeletionUI.
2929 2007-08-14 David Kilzer <ddkilzer@webkit.org>
2933 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
2934 svn-create-patch uses deprecated tail switch
2936 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
2938 2007-08-13 Sam Weinig <sam@webkit.org>
2940 Reviewed by Adam Roben.
2942 Use the cygwin specific Apache config file under cygwin.
2944 * Scripts/run-webkit-httpd:
2946 2007-08-12 Adam Roben <aroben@apple.com>
2948 Generate results for new tests in a more logical location
2950 New platform-specific tests always have their results generated right
2951 next to the test. New cross-platform tests will have their results
2952 generated a) in the cross-platform directory, if they are text-only,
2953 or b) in the least-specific platform directory, if they are render
2958 * Scripts/run-webkit-tests:
2960 2007-08-12 Adam Roben <aroben@apple.com>
2962 Print the actual directory where new results are generated.
2964 Before, we were printing an unpredictable, context-specific substring
2969 * Scripts/run-webkit-tests:
2971 2007-08-12 Adam Roben <aroben@apple.com>
2973 Factor some common code into a stripExtension() subroutine.
2977 * Scripts/run-webkit-tests: Also removed some debugging output.
2979 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
2981 Reviewed over and over and over by Adam Roben.
2983 Bug 14740: Hierarchical layout tests and platform organization
2984 http://bugs.webkit.org/show_bug.cgi?id=14740
2986 Add support for platform-specific layout tests and results.
2988 * Scripts/run-webkit-tests:
2990 2007-08-11 David Kilzer <ddkilzer@webkit.org>
2994 Refactored svn-create-path to use a hash-of-hashes data structure to keep
2995 track of changed files. In the top level hash, keys are paths to files and
2996 values are 'fileData' hashes with the following keys and values:
2998 - isBinary: boolean value (set to true for non-text files like images, etc.)
2999 - isTestFile: boolean value (set to true if file exists within a known test
3001 - modificationType: string equal to one of 'addition', 'additionWithHistory',
3002 'modification' or 'deletion'
3003 - path: string equal to the path to the file (this may seem redundant, but it
3004 is required to use the second-level 'fileData' hash independent of the
3006 - sourceFile: [optional] string equal to the path of the original file that was
3008 - sourceRevision: [optional] string equal to the revision of the original file
3009 that was copied or moved
3011 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3012 that saves the return value in $result, then checks it before printing help.
3013 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3014 and eliminated two for() loops.
3015 (binarycmp): Added. Used with sort() to order non-binary files before binary
3017 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
3018 (findMimeType): Added optional second argument that takes a revision number.
3019 (generateDiff): Updated to take one fileData argument instead of three ($file,
3020 $modificationType, $isBinary).
3021 (generateFileList): Updated to take one hash ref argument (%diffFiles)
3022 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
3023 %diffFiles using paths for keys and fileData hashes for values.
3024 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3026 (pathcmp): Updated to take two fileData arguments instead of two strings.
3027 (testfilecmp): Added. Used with sort() to order non-test files before test
3030 2007-08-11 Darin Adler <darin@apple.com>
3032 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3034 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3036 Reviewed by David Kilzer.
3038 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3039 http://bugs.webkit.org/show_bug.cgi?id=14745
3041 * Scripts/run-launcher:
3042 Scrub the "--gdk" out of the command line args, if given, so that
3043 GdkLauncher doesn't try to interpret it as a URL.
3045 2007-08-03 Adam Roben <aroben@apple.com>
3047 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3051 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3053 2007-08-03 Sam Weinig <sam@webkit.org>
3057 Recursively dump all frames as text using new
3058 layoutTestController.dumpChildFramesAsText() function.
3060 * DumpRenderTree/DumpRenderTree.m:
3063 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3064 (-[LayoutTestController dumpChildFramesAsText]):
3066 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3070 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3071 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3072 (dumpChildFramesAsTextCallback):
3073 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3075 2007-08-02 Adam Roben <aroben@apple.com>
3077 Fix fast/dom/Window/alert-undefined.html
3081 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3082 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3083 Windows translate a null BSTR into "(null)"
3085 2007-08-02 Kevin McCullough <kmccullough@apple.com>
3089 - It would help if I actually called the right function.
3091 * Drosera/DebuggerDocument.cpp:
3092 (DebuggerDocument::showConsole):
3094 2007-08-02 Adam Roben <aroben@apple.com>
3096 Don't delete the stderr file right after creating it
3100 * Scripts/run-webkit-tests:
3102 2007-08-01 Adam Roben <aroben@apple.com>
3104 When DRT crashes, record stderr and restart DRT
3106 This prevents a DRT crash from causing the next few hundred tests to
3107 "fail" because DRT is no longer running.
3109 I also changed the terminology that run-webkit-tests uses in its
3110 output a bit, so that crashing tests are referred to as "crashes"
3111 instead of "failures".
3115 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3117 (sub openDumpTool): Use open3 so that we can access stderr.
3118 (sub dumpToolCrashed): Added.
3119 (sub printFailureMessageForTest): Added.
3120 (sub htmlForExpectedAndActualResults): Added.
3121 (sub deleteExpectedAndActualResults): Added.
3122 (sub recordActualResultsAndDiff): Added.
3124 2007-07-30 Darin Adler <darin@apple.com>
3126 Reviewed by Tim Hatcher.
3128 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3129 characters. This turned out not to be needed for the test case that motivated me to
3130 do it, but it's nice to have this for the future.
3132 2007-07-30 Simon Hausmann <hausmann@kde.org>
3136 Link QtLauncher into $$OUTPUT_DIR/bin
3138 * Scripts/run-launcher:
3140 2007-07-27 David Kilzer <ddkilzer@apple.com>
3142 Reviewed by Geoff and Darin.
3144 Use a subroutine for validating the --skipped switch.
3146 * Scripts/run-webkit-tests:
3148 2007-07-27 Darin Adler <darin@apple.com>
3152 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3154 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3158 Correct the path of GdkLauncher and make checkFrameworks work on OSX
3159 when building the Qt or Gtk+ port.
3161 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3162 * Scripts/run-launcher:
3163 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3165 2007-07-27 Simon Hausmann <hausmann@kde.org>
3167 Done with and reviewed by Lars and Zack.
3169 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.
3171 * Scripts/webkitdirs.pm:
3173 2007-07-27 Simon Hausmann <hausmann@kde.org>
3175 Done with and reviewed by Lars and Zack.
3177 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.
3179 * Scripts/webkitdirs.pm:
3181 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3183 Reviewed by Darin, Geoff, Sam.
3185 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3187 - 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.
3189 * DumpRenderTree/UIDelegate.h:
3190 * DumpRenderTree/UIDelegate.m:
3191 (-[UIDelegate webView:setFrame:]):
3192 (-[UIDelegate webViewFrame:]):
3194 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3198 - Lars wanted this check for Qt but it breaks platform specific layout tests.
3200 * Scripts/run-webkit-tests:
3202 2007-07-25 Kevin McCullough <kmccullough@apple.com>
3204 Reviewed by Tim, Darin, Oliver.
3206 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3207 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3210 * DumpRenderTree/DumpRenderTree.m:
3213 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3214 (+[LayoutTestController webScriptNameForSelector:]):
3215 (-[LayoutTestController setCustomPolicyDelegate:]):
3216 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3217 * DumpRenderTree/FrameLoadDelegate.h:
3218 * DumpRenderTree/PolicyDelegate.h: Added.
3219 * DumpRenderTree/PolicyDelegate.m: Added.
3220 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3221 * DumpRenderTree/ResourceLoadDelegate.h:
3223 2007-07-25 Adam Treat <treat@kde.org>
3227 Fix build for some reported systems.
3229 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3231 2007-07-23 Adam Treat <treat@kde.org>
3233 Reviewed by Nikolas.
3235 Fix qt DRT to suppress js popup alerts and log instead.
3237 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3238 (WebCore::WebPage::javaScriptAlert):
3240 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3244 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3245 honor --qmakearg for the Gdk/Gtk build as well.
3247 * GdkLauncher/main.cpp: Switch to the new API
3248 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
3250 2007-07-22 Darin Adler <darin@apple.com>
3252 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
3253 Fix a leak by releasing the array used here.
3255 2007-07-22 David Kilzer <ddkilzer@webkit.org>
3259 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
3260 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
3262 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
3263 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
3265 * Scripts/update-iexploder-cssproperties: Added.
3266 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
3267 Added new CSS3 property section and Moved box-sizing property to it.
3269 2007-07-22 Oliver Hunt <oliver@apple.com>
3273 http://bugs.webkit.org/show_bug.cgi?id=14710
3275 Add preliminary support for testing Input Method/WebKit behaviour and interaction
3276 in DRT. This provides the NSTextInput API which is most of what should be necessary
3277 to mimic the event sequences Input Methods trigger.
3279 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3280 * DumpRenderTree/TextInputController.h:
3281 * DumpRenderTree/TextInputController.m:
3282 (-[WebHTMLView interpretKeyEvents:]):
3283 (+[TextInputController isSelectorExcludedFromWebScript:]):
3284 (+[TextInputController webScriptNameForSelector:]):
3285 (-[TextInputController initWithWebView:]):
3286 (-[TextInputController dealloc]):
3287 (-[TextInputController textInput]):
3288 (-[TextInputController setInputMethodHandler:]):
3289 (-[TextInputController interpretKeyEvents:withSender:]):
3291 2007-07-20 Adam Roben <aroben@apple.com>
3293 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
3294 message not count as an existing log.
3296 2007-07-19 Geoffrey Garen <ggaren@apple.com>
3298 Reviewed by Darin Adler.
3300 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
3301 value behavior of stringByEvaluatingJavaScriptFromString
3303 * DumpRenderTree/DumpRenderTree.m:
3304 (testStringByEvaluatingJavaScriptFromString):
3305 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3307 2007-07-19 Adam Roben <aroben@apple.com>
3309 Make commit-log-editor work with git
3313 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
3314 commit message template. Also removed the unused $breakPoint variable.
3316 2007-07-19 Adam Roben <aroben@apple.com>
3318 Move generally-useful VCS code into a new VCSUtils.pm module
3320 This is in preparation for making commit-log-editor git-friendly.
3324 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
3325 * Scripts/prepare-ChangeLog: Use VCSUtils.
3327 2007-07-19 Lars Knoll <lars@trolltech.com>
3329 Fix a crash on exit when running DRT against a current
3334 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3337 2007-07-18 Adam Roben <aroben@apple.com>
3339 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
3343 * Scripts/run-webkit-httpd:
3344 * Scripts/run-webkit-tests:
3346 2007-07-18 Adam Roben <aroben@apple.com>
3348 More git friendliness for prepare-ChangeLog
3350 The overall change is to remove the use of git-status and replace it
3351 with git-diff --name-status (which we were already using in the
3354 This lets us respect directories specified on the command line when
3355 using git, just as we do for Subversion. It also speeds things up a
3356 bit, especially in the subdirectory case, as git-status is pretty slow.
3358 I also fixed some issues where we wouldn't detect copied files and
3359 would reverse the new filename and the original filename for renamed files.
3363 * Scripts/prepare-ChangeLog:
3364 (sub diffFromToString): Added.
3365 (sub diffCommand): Don't append the paths in the --git-commit case, as
3366 we should be operating on the entire commit.
3367 (sub statusCommand): Always use git-diff --name-status, and added an
3368 extra -C option to git-diff to make it find a few more copied files.
3369 (sub createPatchCommand): Collapsed the two git cases a bit, and added
3370 the extra -C option as above.
3371 (sub generateFileList): Remove the git-status codepath, and recognize
3372 file copies in the --name-status output.
3373 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3375 (sub isConflictStatus): Updated the git dictionary.
3376 (sub statusDescription): Updated the git dictionary.
3378 2007-07-18 Timothy Hatcher <timothy@apple.com>
3380 * Scripts/build-drosera: Update where we look for the Xcode project.
3382 2007-07-18 Adam Treat <treat@kde.org>
3386 Use the old wording for Safari.
3388 * Scripts/build-webkit:
3389 * Scripts/webkitdirs.pm:
3391 2007-07-18 Adam Treat <treat@kde.org>
3395 Add convenience script for launching test apps for Qt and Gdk ports.
3396 Change the build-webkit script accordingly.
3398 * Scripts/build-webkit:
3399 * Scripts/run-launcher: Added.
3400 * Scripts/webkitdirs.pm:
3402 2007-07-18 Timothy Hatcher <timothy@apple.com>
3406 Make the Page with the now required InspectorClient.
3408 * GdkLauncher/main.cpp:
3411 2007-07-18 Timothy Hatcher <timothy@apple.com>
3413 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3414 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3416 * Drosera/Makefile: Added.
3417 * Drosera/mac/Makefile:
3418 * DumpRenderTree/Makefile:
3420 * Makefile.Drosera: Removed.
3421 * Makefile.shared: Removed.
3423 2007-07-18 Timothy Hatcher <timothy@apple.com>
3425 The console log was 20px down from the top for no reason, move it up.
3427 * Drosera/console.css:
3429 2007-07-18 Timothy Hatcher <timothy@apple.com>
3431 Use contentDocument to get the source view's iframe document.
3432 Also adds a null/undefined check for localVariableNames.
3434 * Drosera/debugger.js:
3436 2007-07-18 Lars Knoll <lars@trolltech.com>
3438 We really don't want to compare non text only tests to the
3439 Mac results if we don't have a result for Qt, as this would
3440 give a failure and not a notification that the test is new.
3444 * Scripts/run-webkit-tests:
3446 2007-07-18 Lars Knoll <lars@trolltech.com>
3448 Reviewed by Zack & Simon
3450 Adjust to changed API in QWebFrame
3452 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3453 (WebCore::DumpRenderTree::DumpRenderTree):
3455 2007-07-18 Mark Rowe <mrowe@apple.com>
3457 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
3459 * BuildSlaveSupport/build-launcher-app:
3461 2007-07-17 Geoffrey Garen <ggaren@apple.com>
3463 Reviewed by Antti Koivisto.
3465 Added watchdog timer to waitUntilDone to prevent a run-away test from
3466 hanging the test harness.
3468 * DumpRenderTree/DumpRenderTree.m:
3470 (-[LayoutTestController waitUntilDone]):
3471 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3472 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3474 2007-07-17 Kevin McCullough <kmccullough@apple.com>
3478 - Implemented cross-platform code for functions calling into the JavaScript.
3480 * Drosera/DebuggerDocument.cpp:
3481 (DebuggerDocument::callAsFunction):
3482 (DebuggerDocument::pauseJS):
3483 (DebuggerDocument::resumeJS):
3484 (DebuggerDocument::stepIntoJS):
3485 (DebuggerDocument::stepOverJS):
3486 (DebuggerDocument::stepOutJS):
3487 (DebuggerDocument::showConsoleJS):
3488 (DebuggerDocument::closeCurrentFileJS):
3489 (DebuggerDocument::updateFileSource):
3490 (DebuggerDocument::didParseScript):
3491 (DebuggerDocument::willExecuteStatement):
3492 (DebuggerDocument::didEnterCallFrame):
3493 (DebuggerDocument::willLeaveCallFrame):
3494 (DebuggerDocument::exceptionWasRaised):
3495 * Drosera/DebuggerDocument.h:
3496 * Drosera/mac/DebuggerDocumentMac.mm:
3497 (-[DebuggerDocumentMac pause:]):
3498 (-[DebuggerDocumentMac resume:]):
3499 (-[DebuggerDocumentMac stepInto:]):
3500 (-[DebuggerDocumentMac stepOver:]):
3501 (-[DebuggerDocumentMac stepOut:]):
3502 (-[DebuggerDocumentMac showConsole:]):
3503 (-[DebuggerDocumentMac closeCurrentFile:]):
3504 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
3505 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3506 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3507 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3508 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3509 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3511 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3515 - Continued x-platform modifications.
3517 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
3518 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
3519 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
3520 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
3521 * Drosera/win/Drosera.cpp:
3522 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3523 * Drosera/win/stdafx.cpp: Removed.
3524 * Drosera/win/stdafx.h: Removed.
3526 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3530 - Modified files to use cross-platform code.
3532 * Drosera/DebuggerDocument.cpp: Added.
3533 (DebuggerDocument::breakpointEditorHTML):
3534 (DebuggerDocument::isPaused):
3535 (DebuggerDocument::pause):
3536 (DebuggerDocument::resume):
3537 (DebuggerDocument::stepInto):
3538 (DebuggerDocument::evaluateScript):
3539 (DebuggerDocument::currentFunctionStack):
3540 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3541 (DebuggerDocument::valueForScopeVariableNamed):
3542 * Drosera/DebuggerDocument.h: Added.
3543 (DebuggerDocument::DebuggerDocument):
3544 * Drosera/config.h: Added.
3545 * Drosera/mac/DebuggerApplication.mm:
3546 (-[DebuggerApplication attach:]):
3547 * Drosera/mac/DebuggerDocument.h: Removed.
3548 * Drosera/mac/DebuggerDocument.mm: Removed.
3549 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
3550 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
3551 (-[DebuggerDocumentMac initWithServerName:]):
3552 (-[DebuggerDocumentMac dealloc]):
3553 (-[DebuggerDocumentMac breakpointEditorHTML]):
3554 (-[DebuggerDocumentMac isPaused]):
3555 (-[DebuggerDocumentMac pause]):
3556 (-[DebuggerDocumentMac resume]):
3557 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3558 * Drosera/win/DebuggerApplication.cpp:
3559 * Drosera/win/DebuggerObjectCallbacks.cpp:
3560 (breakpointEditorHTMLCallback):
3561 (currentFunctionStackCallback):
3562 (evaluateScript_inCallFrame_Callback):
3564 (localScopeVariableNamesForCallFrame_Callback):
3568 (valueForScopeVariableNamed_inCallFrame_Callback):
3570 * Drosera/win/Drosera.cpp:
3571 * Drosera/win/DroseraPrefix.cpp: Added.
3572 * Drosera/win/DroseraPrefix.h: Added.
3574 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3576 Reviewed by Adam, Sam and Tim.
3578 - Moving files to prepare for cross-platform architecture.
3580 * Drosera/DebuggerApplication.h: Removed.
3581 * Drosera/DebuggerApplication.m: Removed.
3582 * Drosera/DebuggerDocument.h: Removed.
3583 * Drosera/DebuggerDocument.m: Removed.
3584 * Drosera/Drosera.pch: Removed.
3585 * Drosera/Drosera.xcodeproj: Removed.
3586 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
3587 * Drosera/Info.plist: Removed.
3588 * Drosera/LauncherInfo.plist: Removed.
3589 * Drosera/Makefile: Removed.
3590 * Drosera/launcher.m: Removed.
3591 * Drosera/mac: Added.
3592 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
3593 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
3594 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
3595 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
3596 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
3597 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
3598 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3599 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
3600 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
3601 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
3602 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
3603 * Drosera/mac/main.m: Copied from Drosera/main.m.
3604 * Drosera/main.m: Removed.
3606 * Makefile.Drosera: Added.
3608 2007-07-15 Mark Rowe <mrowe@apple.com>
3610 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
3612 2007-07-13 Sam Weinig <sam@webkit.org>
3614 Reviewed by Geoff Garen.
3616 Add support for running SSL tests over HTTPS.
3618 * DumpRenderTree/DumpRenderTree.m:
3620 * DumpRenderTree/FrameLoadDelegate.m:
3621 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3622 * Scripts/run-webkit-httpd:
3623 * Scripts/run-webkit-tests:
3625 2007-07-13 David Kilzer <ddkilzer@apple.com>
3629 Added support for -h|--help argument and verify that all command line arguments parse
3632 * Scripts/run-webkit-httpd:
3634 2007-07-12 Mark Rowe <mrowe@apple.com>
3638 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
3640 * Scripts/run-webkit-tests:
3642 2007-07-12 Geoffrey Garen <ggaren@apple.com>
3644 Reviewed by Oliver Hunt.
3646 Made the leaks tests pass on Leopard.
3648 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
3649 * Scripts/run-leaks: Updated parser for slight change in text output.
3651 2007-07-11 David Kilzer <ddkilzer@apple.com>
3655 Update the iExploder list of CSS properties after box-sizing was renamed to
3656 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
3658 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
3659 -moz-box-sizing remain.
3661 2007-07-10 Darin Adler <darin@apple.com>
3663 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
3664 Foundation's multipart/mixed-replace support -- I already verified that
3665 the bug has been fixed.
3667 2007-07-10 Alice Liu <alice.liu@apple.com>
3669 rubber stamped by Maciej.
3671 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
3673 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3674 (initializePreferences):
3675 set editable link behavior to match Mac DRT.
3677 2007-07-10 Geoffrey Garen <ggaren@apple.com>
3679 Reviewed by Tim Hatcher.
3681 Ignore Page.o in debug builds because it now has a static PageCounter
3684 * Scripts/check-for-global-initializers:
3686 2007-07-09 Darin Adler <darin@apple.com>
3688 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
3690 2007-07-09 Alice Liu <alice.liu@apple.com>
3692 Reviewed by Adam Roben.
3694 setting DOM Paste Allowed Pref
3696 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3697 (initializePreferences):
3699 2007-07-05 Kevin McCullough <kmccullough@apple.com>
3701 Reviewed by Adam, Sam, and Ada.
3703 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
3705 * Drosera/Images/Drosera.ico: Added.
3706 * Drosera/Images/small.ico: Added.
3707 * Drosera/win: Added.
3708 * Drosera/win/BaseDelegate.h: Added.
3709 (BaseDelegate::QueryInterface):
3710 (BaseDelegate::didFinishLoadForFrame):
3711 (BaseDelegate::windowScriptObjectAvailable):
3712 (BaseDelegate::didStartProvisionalLoadForFrame):
3713 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
3714 (BaseDelegate::didFailProvisionalLoadWithError):
3715 (BaseDelegate::didCommitLoadForFrame):
3716 (BaseDelegate::didReceiveTitle):
3717 (BaseDelegate::didReceiveIcon):
3718 (BaseDelegate::didFailLoadWithError):
3719 (BaseDelegate::didChangeLocationWithinPageForFrame):
3720 (BaseDelegate::willPerformClientRedirectToURL):
3721 (BaseDelegate::didCancelClientRedirectForFrame):
3722 (BaseDelegate::willCloseFrame):
3723 (BaseDelegate::createWebViewWithRequest):
3724 (BaseDelegate::webViewShow):
3725 (BaseDelegate::webViewClose):
3726 (BaseDelegate::webViewFocus):
3727 (BaseDelegate::webViewUnfocus):
3728 (BaseDelegate::webViewFirstResponder):
3729 (BaseDelegate::makeFirstResponder):
3730 (BaseDelegate::setStatusText):
3731 (BaseDelegate::webViewStatusText):
3732 (BaseDelegate::webViewAreToolbarsVisible):
3733 (BaseDelegate::setToolbarsVisible):
3734 (BaseDelegate::webViewIsStatusBarVisible):
3735 (BaseDelegate::setStatusBarVisible):
3736 (BaseDelegate::webViewIsResizable):
3737 (BaseDelegate::setResizable):
3738 (BaseDelegate::setFrame):
3739 (BaseDelegate::webViewFrame):
3740 (BaseDelegate::setContentRect):
3741 (BaseDelegate::webViewContentRect):
3742 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
3743 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
3744 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
3745 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
3746 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
3747 (BaseDelegate::mouseDidMoveOverElement):
3748 (BaseDelegate::contextMenuItemsForElement):
3749 (BaseDelegate::validateUserInterfaceItem):
3750 (BaseDelegate::shouldPerformAction):
3751 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
3752 (BaseDelegate::willPerformDragDestinationAction):
3753 (BaseDelegate::dragSourceActionMaskForPoint):
3754 (BaseDelegate::willPerformDragSourceAction):
3755 (BaseDelegate::contextMenuItemSelected):
3756 (BaseDelegate::hasCustomMenuImplementation):
3757 (BaseDelegate::trackCustomPopupMenu):
3758 (BaseDelegate::measureCustomMenuItem):
3759 (BaseDelegate::drawCustomMenuItem):
3760 (BaseDelegate::addCustomMenuDrawingData):
3761 (BaseDelegate::cleanUpCustomMenuDrawingData):
3762 (BaseDelegate::canTakeFocus):
3763 (BaseDelegate::takeFocus):
3764 (BaseDelegate::registerUndoWithTarget):
3765 (BaseDelegate::removeAllActionsWithTarget):
3766 (BaseDelegate::setActionTitle):
3767 (BaseDelegate::undo):
3768 (BaseDelegate::redo):
3769 (BaseDelegate::canUndo):
3770 (BaseDelegate::canRedo):
3771 * Drosera/win/DebuggerApplication.cpp: Added.
3772 (DebuggerApplication::serverLoaded):
3773 (DebuggerApplication::serverUnloaded):
3774 (DebuggerApplication::attach):
3775 (DebuggerApplication::numberOfRowsInTableView):
3776 (DebuggerApplication::tableView):
3777 * Drosera/win/DebuggerApplication.h: Added.
3778 (DebuggerApplication::DebuggerApplication):
3779 (DebuggerApplication::knownServers):
3780 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
3781 (breakpointEditorHTMLCallback):
3782 (currentFunctionStackCallback):
3783 (doubleClickMillisecondsCallback):
3784 (evaluateScript_inCallFrame_Callback):
3786 (localScopeVariableNamesForCallFrame_Callback):
3790 (valueForScopeVariableNamed_inCallFrame_Callback):
3792 * Drosera/win/DebuggerObjectCallbacks.h: Added.
3793 * Drosera/win/Drosera.cpp: Added.
3795 (RegisterDroseraClass):
3801 (Drosera::QueryInterface):
3804 (Drosera::didFinishLoadForFrame):
3805 (getDroseraJSClass):
3806 (Drosera::windowScriptObjectAvailable):
3807 (Drosera::webViewClose):
3808 (Drosera::validateUserInterfaceItem):
3809 (Drosera::runJavaScriptAlertPanelWithMessage):
3811 * Drosera/win/Drosera.h: Added.
3812 (Drosera::webViewLoaded):
3813 * Drosera/win/Drosera.vcproj: Added.
3814 * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
3815 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
3816 * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
3817 * Drosera/win/Drosera.vcproj/release.vsprops: Added.
3818 * Drosera/win/HelperFunctions.h: Added.
3820 * Drosera/win/Info.plist: Added.
3821 * Drosera/win/resource.h: Added.
3822 * Drosera/win/stdafx.cpp: Added.
3823 * Drosera/win/stdafx.h: Added.
3825 2007-07-09 Adam Treat <adam@staikos.net>
3827 Reviewed by George Staikos.
3829 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
3832 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3833 (WebCore::DumpRenderTree::DumpRenderTree):
3835 2007-07-09 Anders Carlsson <andersca@apple.com>
3839 <rdar://problem/4954319>
3840 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
3841 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
3843 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
3844 return an error from NPP_NewStream.
3846 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3848 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3849 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3853 2007-07-08 Mark Rowe <mrowe@apple.com>
3855 Change name from WebKit/Qt to WebKit.
3857 * CodeCoverage/regenerate-coverage-display:
3859 2007-07-08 Rob Buis <buis@kde.org>
3863 http://bugs.webkit.org/show_bug.cgi?id=14209
3864 DRT should be able to deal with text zoom
3866 Allow increasing/decreasing text zoom using eventSender.
3868 * DumpRenderTree/DumpRenderTree.m:
3870 * DumpRenderTree/EventSendingController.m:
3871 (+[EventSendingController initialize]):
3872 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3873 (-[EventSendingController textZoomIn]):
3874 (-[EventSendingController textZoomOut]):
3876 2007-07-07 Mark Rowe <mrowe@apple.com>
3880 * DumpRenderTree/DumpRenderTree.m:
3881 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
3883 2007-07-06 Anders Carlsson <andersca@apple.com>
3885 Reviewed by David Kilzer.
3887 <rdar://problem/5313502>
3888 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
3890 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
3891 response's attributes. Also change the JavaScript MIME type to be "text/javascript".
3893 * DumpRenderTree/DumpRenderTree.m:
3895 (convertWebResourceDataToString):
3896 (convertWebResourceResponseToDictionary):
3897 (serializeWebArchiveToXML):
3899 2007-07-06 Timothy Hatcher <timothy@apple.com>
3903 Initialize the NSMutableAttributedString directly instead of creating
3904 a NSAttributedString first.
3906 * DumpRenderTree/TextInputController.m:
3907 (-[TextInputController attributedStringWithString:]):
3909 2007-07-06 Anders Carlsson <andersca@apple.com>
3911 Reviewed by David Kilzer.
3913 Replace "Apple Computer" with "Apple" in the DTD declaration.
3915 * DumpRenderTree/DumpRenderTree.m:
3916 (serializeWebArchiveToXML):
3918 2007-07-06 Adam Treat <adam@staikos.net>
3920 Reviewed by George Staikos.
3922 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
3924 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3925 (WebCore::DumpRenderTree::DumpRenderTree):
3927 2007-07-06 George Staikos <staikos@kde.org>
3931 Allow passing of additional arguments to qmake with --qmakearg=
3933 * Scripts/webkitdirs.pm:
3935 2007-07-05 George Staikos <staikos@kde.org>
3939 Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
3940 give a path to a specific qmake binary. Both are optional.
3942 * Scripts/webkitdirs.pm:
3944 2007-07-05 Adam Roben <aroben@apple.com>
3946 Warn about tests in the Skipped file that succeeded
3948 * Scripts/run-webkit-tests:
3950 2007-07-05 Adam Roben <aroben@apple.com>
3952 Removed unused install-win-extras script
3954 Rubberstamped by Mark.
3956 * Scripts/install-win-extras: Removed.
3958 2007-07-05 Adam Roben <aroben@apple.com>
3960 Show the test's extension in the results page
3962 * Scripts/run-webkit-tests:
3964 2007-07-05 Adam Roben <aroben@apple.com>
3966 Add more options for controlling the interpretation of the Skipped file
3970 * Scripts/run-webkit-tests:
3972 2007-07-04 Adam Roben <aroben@apple.com>
3974 Add --skipped-only option to run-webkit-tests
3976 When this option is specified, only those tests listed in the Skipped
3981 * Scripts/run-webkit-tests:
3983 2007-07-04 Adam Roben <aroben@apple.com>
3985 Clean up/alphabetize the run-webkit-tests help message
3987 * Scripts/run-webkit-tests:
3989 2007-07-04 Adam Roben <aroben@apple.com>
3991 Enable a Leopard-specific Skipped list.
3995 * Scripts/run-webkit-tests: Check for Leopard.
3996 * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
3998 2007-07-03 Adam Roben <aroben@apple.com>
4000 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
4002 Got rid of extract-webkit-localizable-strings because it was trying to
4003 do update-webkit-localizable-strings' job.
4005 Rubberstamped by Darin.
4007 * Scripts/extract-webkit-localizable-strings: Removed.
4008 * Scripts/update-webkit-localizable-strings: Renamed from
4009 extract-localizable-strings.
4011 2007-07-03 Adam Roben <aroben@apple.com>
4013 Modify scripts to keep Mac/Windows localized strings in sync
4015 extract-webkit-localizable-strings now handles extracting strings from
4016 both the Mac and Windows WebKit ports and updating their respective
4017 Localizable.strings files. extract-localizable-strings is now really a
4018 piece of plumbing rather than a top-level tool.
4020 Reviewed by Darin and Anders.
4022 * Scripts/extract-localizable-strings: Changed to handle multiple
4024 * Scripts/extract-webkit-localizable-strings: Added.
4026 2007-07-03 Adele Peterson <adele@apple.com>
4030 Extended DumpRenderTree to test encoding and decoding host names.
4032 * DumpRenderTree/DumpRenderTree.m:
4033 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
4034 (+[LayoutTestController webScriptNameForSelector:]): ditto.
4035 (-[LayoutTestController decodeHostName:]): Added.
4036 (-[LayoutTestController encodeHostName:]): Added.
4038 2007-07-03 Sam Weinig <sam@webkit.org>
4042 Eleventh round of fixes for implicit 64-32 bit conversion errors.
4043 <rdar://problem/5292262>
4045 Add functions to test long long and unsigned long long.
4047 * DumpRenderTree/DumpRenderTree.m:
4048 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
4049 (+[LayoutTestController webScriptNameForSelector:]):
4050 (-[LayoutTestController objCLongLongRoundTrip:]):
4051 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
4053 2007-07-01 Adam Roben <aroben@apple.com>
4055 Fix some paths to make http tests work again on Windows
4057 Rubberstamped by Sam.
4059 * Scripts/run-webkit-tests:
4061 2007-06-28 Stephanie <slewis@apple.com>
4065 Allow tests to use pre-built roots instead of building the tests.
4067 * Scripts/run-javascriptcore-tests: added --root option
4068 * Scripts/run-webkit-tests: added --root option
4069 * Scripts/webkitdirs.pm: added support for using a root
4071 2007-06-25 Adam Roben <aroben@apple.com>
4073 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
4074 http://bugs.webkit.org/show_bug.cgi?id=14405
4078 * Scripts/run-webkit-tests:
4080 2007-06-25 Adam Roben <aroben@apple.com>
4082 Enable running the regression tests on Windows.
4084 These changes were developed alongside the Windows WebKit port and
4085 have been well tested.
4087 Rubberstamped by Sam.
4089 * Scripts/run-webkit-tests:
4091 2007-06-25 Adam Roben <aroben@apple.com>
4093 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
4094 http://bugs.webkit.org/show_bug.cgi?id=14403
4096 Reviewed by Mark Rowe.
4098 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
4099 (sub createPatchCommand): Generate a correct diff in the $gitCommit
4102 2007-06-25 Adam Roben <aroben@apple.com>
4104 Land pdevenv and supporting scripts/programs
4106 pdevenv is a script that will open an instance of Visual Studio that
4107 can compile multiple files in parallel, similar to make -jN. It uses
4108 the following scripts/programs to accomplish this:
4110 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
4112 parallelcl: Actually performs the parallel compilation by forking
4113 multiple instances of the Microsoft-supplied cl.exe.
4115 MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
4116 Microsoft-supplied midl.exe. This avoids having to invoke perl for
4117 every invocation of midl.exe, which would be quite slow.
4119 Rubberstamped by Sam.
4121 * CLWrapper/CLWrapper.cpp: Added.
4123 * CLWrapper/CLWrapper.sln: Added.
4124 * CLWrapper/CLWrapper.vcproj: Added.
4125 * MIDLWrapper/MIDLWrapper.cpp: Added.
4127 * MIDLWrapper/MIDLWrapper.sln: Added.
4128 * MIDLWrapper/MIDLWrapper.vcproj: Added.
4129 * Scripts/parallelcl: Added.
4130 * Scripts/pdevenv: Added.
4131 * vcbin/cl.exe: Added.
4132 * vcbin/midl.exe: Added.
4134 2007-06-23 Adam Roben <aroben@apple.com>
4136 Land num-cpus for the Windows build.
4138 Reviewed by Mark Rowe.
4140 * Scripts/num-cpus: Added.
4142 2007-06-22 Simon Hausmann <hausmann@kde.org>
4144 Reviewed by Adam Roben.
4146 Added support for populating ChangeLog entries from given git commits
4147 using --git-commit=<commitish> and --git-reviewer=<name>.
4149 * Scripts/prepare-ChangeLog:
4151 2007-06-22 Timothy Hatcher <timothy@apple.com>
4155 <rdar://problem/5228168> Leopard regression test failures: fast/applescript
4157 There were some changes in Leopard that made our test output inconsistent with Tiger.
4159 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
4160 on Leopard, so output our own readable string for typeType descriptors.
4162 NSArray's description also changed on Leopard to output more whitespace, so
4163 make our own string representation for typeAEList descriptors. This requires
4164 a special case typeUnicodeText too, so the output is a quoted string.
4166 * DumpRenderTree/AppleScriptController.m:
4167 (convertAEDescToObject):
4169 2007-06-21 Anders Carlsson <andersca@apple.com>
4173 Don't dump didFirstLayout callbacks, they happen intermittently.
4175 * DumpRenderTree/FrameLoadDelegate.m:
4177 2007-06-21 Lars Knoll <lars@trolltech.com>
4181 look for the Qt library in the installed location
4183 * Scripts/webkitdirs.pm:
4185 2007-06-20 Geoffrey Garen <ggaren@apple.com>
4187 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
4189 Added tests for stringByEvaluatingJavaScriptFromString.
4191 * DumpRenderTree/DumpRenderTree.m:
4192 (testStringByEvaluatingJavaScriptFromString):
4195 2007-06-19 Andrew Wellington <proton@wiretapped.net>
4197 Reviewed by Mark Rowe.
4199 Support applications with spaces or special characters in their names
4201 * Scripts/run-webkit-app: