c7af9ae042867a36205698b573b17606b5c87c45
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-10-24  Lars Knoll  <lars@trolltech.com>
2
3         Reviewed by Simon.
4
5         make the man webpage believe it has focus, so the editing tests work correctly.
6
7         * DumpRenderTree/qt/DumpRenderTree.cpp:
8         (WebCore::DumpRenderTree::DumpRenderTree):
9
10 2007-10-24  Lars Knoll  <lars@trolltech.com>
11
12         Reviewed by Simon.
13
14         implement layoutTestController.dumpEditingCallbacks() correctly.
15
16         * DumpRenderTree/qt/DumpRenderTree.cpp:
17         (WebCore::DumpRenderTree::DumpRenderTree):
18         * DumpRenderTree/qt/jsobjects.cpp:
19         (LayoutTestController::reset):
20         (LayoutTestController::dumpEditingCallbacks):
21
22 2007-10-24  Lars Knoll  <lars@trolltech.com>
23
24         Reviewed by Simon.
25
26         Implement support for testing editing.
27
28         * DumpRenderTree/qt/DumpRenderTree.cpp:
29         (WebCore::DumpRenderTree::DumpRenderTree):
30
31 2007-10-23  Sam Weinig  <sam@webkit.org>
32
33         Check for null BSTR that can be passed to the UIDelegate methods
34         from javascript null and undefined.  Fixes a failing test case on
35         Windows (fast/dom/Window/alert-undefined.html)
36
37         Reviewed by Eric Seidel.
38
39         * DumpRenderTree/win/UIDelegate.cpp:
40         (UIDelegate::runJavaScriptAlertPanelWithMessage):
41         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
42         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
43         (UIDelegate::webViewAddMessageToConsole):
44
45 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
46
47         Reviewed by Darin.
48         
49         Don't print a massive pile of setenvs from tools that automatically build testkjs.
50
51         * Scripts/build-testkjs:
52
53 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
54
55         Reviewed by Darin.
56
57         - add wrapper that finds the right copy of testkjs
58         
59         * Scripts/sunspider-compare-results: Added.
60
61 2007-10-23  Kevin McCullough  <kmccullough@apple.com>
62
63         Reviewed by Sam.
64
65         - After talking with Steve I now see that the WebKit server must be
66         running for DCOM to create the distributed objects, which makes sense
67         and currently WebKit only allows one instance to be running at a time
68         which avoids accidentally connecting to the wrong server
69         - In light of this I have removed the code for the attach box and
70         NotificationServer and known server names, since they are all extranious
71         now.
72
73         * Drosera/win/Drosera.cpp: Removed notification classes and known server
74         names.
75         (_tWinMain): Uses init instead of initUI.
76         (droseraWndProc): No longer creats an attach dialog box.
77         (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
78         it's not manditory to call init before doing COM stuff.
79         (Drosera::init): calls initUI and will call attach when the
80         functionality exists. 
81         (Drosera::initUI): Has changed very little.
82         (Drosera::attach): Changed the signature to reflect that we no longer
83         need the dictionary of known server names.
84         * Drosera/win/Drosera.h: Removed notification classes and known server
85         names.  Also renamed and moved some functions.
86         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
87         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
88         headers to the resources folder. 
89         * Drosera/win/resource.h: Removed the Attach box.
90
91 2007-10-22  Adam Roben  <aroben@apple.com>
92
93         Windows build fix
94
95         Reviewed by NOBODY.
96
97         * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
98
99 2007-10-22  Kevin McCullough  <kmccullough@apple.com>
100
101         - Removed a leak that was fixed.
102
103         * Scripts/run-webkit-tests:
104
105 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
106
107         Reviewed by Darin.
108
109         - Changed the Client so that the DebuggerDocument now own the
110         ServerConnection.  This simplifies ownership and cleanup. 
111
112         * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
113         ServerConnection.
114         (DebuggerClient::initWithServerName):
115         (DebuggerClient::didFinishLoadForFrame):
116         * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the 
117         ServerConnection.
118         * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
119         until after we have a server which we are attached to.
120         (Drosera::initUI):
121         (Drosera::attach):
122         * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
123         out previously.
124
125 2007-10-22  Simon Hausmann  <hausmann@kde.org>
126
127         Reviewed by Nikolas.
128
129         When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
130
131         * Scripts/run-javascriptcore-tests:
132
133 2007-10-22  Simon Hausmann  <hausmann@kde.org>
134
135         Reviewed by Nikolas.
136
137         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.
138
139         * Scripts/build-drosera:
140         * Scripts/build-dumprendertree:
141         * Scripts/build-testkjs:
142         * Scripts/build-webkit:
143         * Scripts/run-javascriptcore-tests:
144         * Scripts/run-sunspider:
145         * Scripts/run-webkit-tests:
146         * Scripts/webkitdirs.pm:
147
148 2007-10-22  Andrew Wellington  <proton@wiretapped.net>
149
150         Reviewed by Mark Rowe.
151         
152         Fix for local database support after r26879
153         Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
154
155         * Scripts/build-webkit:
156
157 2007-10-22  Holger Freyther  <zecke@selfish.org>
158
159         Reviewed by Simon Hausmann <hausmann@kde.org>.
160
161         - Do not build testkjs as an application bundle. This is
162         needed for run-javascriptcore-tests on OSX.
163         - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
164         - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
165         as we do not have -rpath on OSX.
166
167         * DumpRenderTree/qt/DumpRenderTree.pro:
168         * Scripts/run-webkit-tests:
169
170 2007-10-22  Simon Hausmann  <hausmann@kde.org>
171
172         Reviewed by aroben.
173
174         Fix support for Signed-off-by detection in prepare-ChangeLog
175         --git-commit. The Signed-off-by tag does not appear in the header
176         but usually at the end.
177
178         * Scripts/prepare-ChangeLog:
179
180 2007-10-21  Mark Rowe  <mrowe@apple.com>
181
182         Reviewed by Eric.
183
184         Fix run-javascriptcore-tests for Gtk.
185
186         * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
187
188 2007-10-20  Eric Seidel  <eric@webkit.org>
189
190         Reviewed by aroben.
191
192         * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
193
194 2007-10-20  Eric Seidel  <eric@webkit.org>
195
196         Reviewed by darin.
197         
198         Add improved argument handling to run-sunspider, including
199         --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
200         Also re-factor code into subroutines
201
202         * Scripts/build-dumprendertree: removed bogus comments
203         * Scripts/build-testkjs: Added.
204         * Scripts/run-javascriptcore-tests: use build-testkjs
205         * Scripts/run-sunspider: improved argument handling, abstraction
206         * Scripts/run-webkit-tests: improved abstraction
207
208 2007-10-20  Matt Lilek  <webkit@mattlilek.com>
209
210         Not reviewed, Windows build fix.
211
212         * DumpRenderTree/win/EventSender.cpp:
213         (keyDownCallback):
214
215 2007-10-20  Darin Adler  <darin@apple.com>
216
217         Reviewed by Tim Hatcher.
218
219         - http://bugs.webkit.org/show_bug.cgi?id=15544
220           <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
221           not rely on Apple-specific key codes
222
223         * DumpRenderTree/mac/EventSendingController.mm:
224         (-[EventSendingController keyDown:withModifiers:]):
225         Added named key "rightArrow". Later we could have a whole table of these.
226         Also tweaked modifiers code a little.
227
228         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
229
230 2007-10-19  Darin Adler  <darin@apple.com>
231
232         Reviewed by Eric.
233
234         - http://bugs.webkit.org/show_bug.cgi?id=15566
235           possible fix for leak seen in DumpRenderTree
236
237         * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
238         Delete the item if it's not put on the queue, since the caller has
239         no way of knowing that. Would be better to have the parameter type
240         be auto_ptr to express the fact that we take ownership.
241
242         - unrelated change
243
244         * Drosera/mac/main.m: Add missing include.
245
246 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
247
248         Reviewed by Adam.
249
250         - This change should be identical but for some reason was not working
251         on my machine.
252
253         * Scripts/prepare-ChangeLog:
254
255 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
256
257         Reviewed by Oliver and Tim.
258
259         - Made use of RetainPtr to avoid retain and release issues and moved the
260         log function to DebuggerDocumentPlatform, which seems to be a more
261         logical place for it to live.
262         - Also moved knownServers from the ServerConnection to
263         DebuggerApplication to match the Windows code and because it makes sense
264         that a connection knows its own server but not all of them.
265
266         * Drosera/mac/DebuggerClient.h: Moved the log function to
267           DebuggerDocumentPlatform.
268         * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
269           Because it's owned by an own Ptr in DebuggerDocument.  Also moved the
270           call for the server name up from the ServerConnection class.
271         (-[DebuggerClient dealloc]):
272         (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
273           for the server name up from the ServerConnection.
274         * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
275         (DebuggerDocument::platformPause):
276         (DebuggerDocument::platformResume):
277         (DebuggerDocument::platformStepInto):
278         (DebuggerDocument::platformEvaluateScript):
279         (DebuggerDocument::getPlatformCurrentFunctionStack):
280         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
281         (DebuggerDocument::platformValueForScopeVariableNamed):
282         (DebuggerDocument::platformLog): Log directly from here. No need to call
283           DebuggerClient.
284         * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
285           way I see it, a ServerConnection should only know about its connection
286           and the group of all possible servers should be kept by the
287           application.
288         * Drosera/mac/ServerConnection.mm: Removed knownServer but added
289           currentServerName, it makes sense that the connection should know that
290           name.
291         (-[ServerConnection currentServerName]):
292
293 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
294
295         Reviewed by Adam.
296
297         - Integrated changes from mac drosera.  Recently I've encapsulated
298         out the server connection object from the rest of Drosera because
299         it is very platform dependent right now and RPC is not implemented on
300         windows.  This functionality, of communicating with the WebKit server
301         is the next area I will be focusing on in Windows.
302
303         - Other changes and cleanup were made to organize the code and add notes
304         on which parts still need work.  Also some mac code is added and
305         commented out, to act as pseudocode for the logic of those parts.
306
307         * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
308           pointer.
309         * Drosera/config.h: Added whitespace.
310         * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
311           these files got moved into Drosera.h/cpp
312         * Drosera/win/DebuggerApplication.h: Removed.
313         * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring 
314           happened here to better match the logic flow of the same code on the 
315           mac side and to use the new ServerConnection class.
316         (DebuggerClient::DebuggerClient): Constructor that takes a server name.
317         (DebuggerClient::initWithServerName): Initializer that will set up the
318           class to use a ServerConnection object.  This was necessary so I could
319           create a DebuggerClient without having to initilaize it at
320           construction.
321         (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
322           will be the UIDelegate and FrameLoadDelegate.
323         (DebuggerClient::AddRef): For IUnknown.
324         (DebuggerClient::Release): For IUnknown.
325         (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
326           this still needs to set the global context of the server, but
327           IWebFrame does not have an accessor for the global context yet. 
328         (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
329           this is a pass through for the same function in the document.
330         (DebuggerClient::didReceiveTitle): Unimplemented part of
331           FrameLoadDelegate this would change the title of the window.
332         (DebuggerClient::createWebViewWithRequest): Part of the
333           FrameLoadDelegate.  This is about new windows via Window.open() and
334           how their delegates are set.
335         (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
336           UIDelegate.  Just a debug function for printing messages.
337         * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
338           because the Client should be the UIDelegate and FrameLoadDelegate
339           to match the delegates on mac.
340         (DebuggerClient::webViewLoaded): Added accessor method.
341         * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
342           forgotten to add this file before.  This is where the platform
343           dependent versions of the Documents functions live. Most of these are
344           unimplemented because some piece of functionality does not exist on
345           Windows yet.
346         (DebuggerDocument::platformPause):
347         (DebuggerDocument::platformResume):
348         (DebuggerDocument::platformStepInto):
349         (DebuggerDocument::platformEvaluateScript):
350         (DebuggerDocument::getPlatformCurrentFunctionStack):
351         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
352         (DebuggerDocument::platformValueForScopeVariableNamed):
353         (DebuggerDocument::platformLog):
354         * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
355           responsibilities becaue they belong in the Client. Also I laid the
356           groundwork for attaching Drosera to a WebKit process
357         (attachWndProc): Now if a server is selected the Client becomes it's
358           delegate.
359         (Drosera::Drosera): Added the construction of the Client and dictionary
360           of server names. 
361         (Drosera::initUI): This is no longer the delegates, the Client is.
362         (Drosera::webViewLoaded): Now asks the Client instead of holding local
363           state. 
364         (Drosera::applicationDidFinishLaunching): Placeholder for needed
365           notification registration when it's possible to implement.
366         (Drosera::serverLoaded): Ditto
367         (Drosera::serverUnloaded): Ditto
368         (Drosera::attach): Attach Drosera to the WebKit server.
369         * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
370         (Drosera::getInst): 
371         (Drosera::setInst):
372         (Drosera::knownServers):
373         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
374           and added the ServerConnection.
375         * Drosera/win/DroseraPrefix.h: Added an ifndef check.
376         * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
377           Most of the functions are completely unimlemented because they cannot
378           connect with the WebKit server, because one does not exist on Windows
379           yet.
380         (ServerConnection::initWithServerName): 
381         (ServerConnection::~ServerConnection):
382         (ServerConnection::setGlobalContext):
383         (ServerConnection::pause):
384         (ServerConnection::resume):
385         (ServerConnection::stepInto):
386         (ServerConnection::switchToServerNamed):
387         (ServerConnection::applicationTerminating):
388         (ServerConnection::serverConnectionDidDie):
389         (ServerConnection::currentFrame):
390         * Drosera/win/ServerConnection.h: Added. Ditto.
391         (ServerConnection::ServerConnection):
392
393 2007-10-19  Alice Liu  <alice.liu@apple.com>
394
395         Reviewed by Darin.
396
397         Fix for these broken layout tests on Windows:
398         
399         fast/forms/focus-selection-input.html
400         fast/forms/focus-selection-textarea.html
401         fast/forms/select-accesskey.html
402         
403         * DumpRenderTree/win/EventSender.cpp:
404         (keyDownCallback):
405         correct the VK code for alt key.
406         
407 2007-10-19  Eric Seidel  <eric@webkit.org>
408
409         Reviewed by Mark Rowe.
410         
411         Make the GtkLauncher code slightly more readable.
412
413         * GtkLauncher/main.cpp:
414         (setupMainMenu): Added.
415         (setupMainWindowUI): Added.
416         (main):
417
418 2007-10-19  Maciej Stachowiak  <mjs@apple.com>
419
420         Rubber stamped by Adam.
421         
422         - don't delay-load WebKit in DumpRenderTree.
423
424         * DumpRenderTree/win/DumpRenderTree.vcproj:
425
426 2007-10-18  Dan Bernstein  <dan.bernstein@apple.com>
427
428         Reviewed by Adam Roben.
429
430         - fix <rdar://problem/5313523>
431         REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
432
433         * DumpRenderTree/mac/DumpRenderTree.mm:
434         (dump): Changed to use _responseMIMEType.
435
436 2007-10-17  Adam Roben  <aroben@apple.com>
437
438         Make it possible to have Windows-specific tests and results
439
440         When searching for tests to run and the Skipped file, we will only
441         look in platform/win and the cross-platform directory. When looking
442         for expected results, we will look in platform/win, then
443         platform/mac-leopard, then platform/mac, then finally the
444         cross-platform directory.
445
446         Reviewed by Sam.
447
448         * Scripts/run-webkit-tests:
449         (sub expectedDirectoryForTest): Search in mac-leopard and mac before
450         searching in the cross-platform directory.
451         (sub buildPlatformHierarchy): Removed some unneeded calls to
452         dirname/basename.
453
454 2007-10-17  Adam Roben  <aroben@apple.com>
455
456         Add back the call to register WebKit that we had before WebKitInitializer existed
457
458         This is needed to ensure that the right WebKit is used when
459         instantiating COM objects.
460
461         Reviewed by Oliver.
462
463         * DumpRenderTree/win/debug_internal.vsprops: Define
464         DEBUG_WEBKIT_HAS_SUFFIX.
465         * DumpRenderTree/win/DumpRenderTree.cpp:
466         (initialize):
467
468 2007-10-17  Adam Roben  <aroben@apple.com>
469
470         Import File::Basename in webkitdirs since we use it
471
472         Reviewed by NOBODY.
473
474         * Scripts/webkitdirs.pm:
475
476 2007-10-17  Kevin McCullough  <kmccullough@apple.com>
477
478         - Updated the tiger leaks list to make the internal bots green.
479
480         * Scripts/run-webkit-tests:
481
482 2007-10-17  Adam Roben  <aroben@apple.com>
483
484         Build fix for VC++ Express
485
486         Reviewed by NOBODY.
487
488         * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
489         and ole32.lib.
490
491 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
492
493         Reviewed by Sam.
494
495         - Minor mac improvements based on observations I made while implementing the
496         Windows code.
497
498         * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
499         then hand it to the Client who will retain it, it should just be the client who
500         creates and owns the server.
501         (-[DebuggerApplication attach:]):
502         * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
503         * Drosera/mac/DebuggerClient.mm: Creates the server.
504         (-[DebuggerClient initWithServerName:]):
505         * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
506         can instead forward declare what it needs.
507
508 2007-10-16  Darin Adler  <darin@apple.com>
509
510         Reviewed by Geoff Garen.
511
512         * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
513         want to turn failing tests into platform-specific test results. Also did a
514         number of tweaks, including fixing a potential bug where expectedDirectoryForTest
515         would take the type of results into account only some of the time.
516
517 2007-10-16  Adam Roben  <aroben@apple.com>
518
519         Add a new nightly launcher script for Windows
520
521         This new script is for versions of Safari that don't delay-load
522         WebKit. I had to make FindSafari be able to print out the nightly
523         launcher script on stdout because Windows shell scripts can't capture
524         the output from a command into an environment variable.
525
526         Reviewed by Steve.
527
528         * FindSafari/FindSafari.cpp:
529         (_tmain): Added /printSafariLauncher option.
530         * Scripts/run-webkit-nightly.cmd: Added.
531
532 2007-10-16  Adam Roben  <aroben@apple.com>
533
534         Replace WebKitInitializer with FindSafari
535
536         We now rely on setting the PATH environment variable to tell Windows
537         where to find WebKit and its dependencies (similar to
538         DYLD_FRAMEWORK_PATH on Mac).
539
540         This change also make DumpRenderTree no longer delay-load WebKit.
541
542         Reviewed by Sam.
543
544         * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
545         FindSafari.
546         * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
547         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
548         WebKitInitializer, don't delay-load WebKit.
549         * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
550         * Scripts/run-webkit-tests: Ditto.
551         * Scripts/webkitdirs.pm:
552         (sub setPathForRunningWebKitApp): Added.
553         * WebKitInitializer/WebKitInitializer.cpp: Removed.
554         * WebKitInitializer/WebKitInitializer.h: Removed.
555         * WebKitInitializer/WebKitInitializer.vcproj: Removed.
556         * WebKitInitializer/debug.vsprops: Removed.
557         * WebKitInitializer/debug_internal.vsprops: Removed.
558         * WebKitInitializer/release.vsprops: Removed.
559
560 2007-10-16  Adam Roben  <aroben@apple.com>
561
562         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
563
564         http://bugs.webkit.org/show_bug.cgi?id=15532
565
566         FindSafari simply prints the location of an installed Safari.exe on
567         stdout.
568
569         Reviewed by Darin.
570
571         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
572         (getStringValue):
573         (getWebViewCLSID):
574         (getInstalledWebKitDirectory):
575         (_tmain):
576         * FindSafari/FindSafari.vcproj: Added.
577         * Scripts/webkitdirs.pm:
578         (sub installedSafariPath): Added. Calls FindSafari on Windows.
579
580 2007-10-16  Adam Roben  <aroben@apple.com>
581
582         Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
583
584         Reviewed by Kevin McCullough.
585
586         * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
587         when referring to WebKit.dll.
588         * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
589         * DumpRenderTree/win/debug_internal.vsprops: Ditto.
590         * DumpRenderTree/win/release.vsprops: Ditto.
591         * Scripts/run-safari: Don't pass /debug to Safari anymore because we
592         never have a _debug suffix on WebKit.dll.
593         * WebKitInitializer/WebKitInitializer.cpp:
594         (initializeWebKit): Only use the _debug suffix for WebKit.dll when
595         specified.
596         * WebKitInitializer/debug_internal.vsprops: Added
597         DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
598
599 2007-10-16  Darin Adler  <darin@apple.com>
600
601         Reviewed by Adele.
602
603         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
604         Remove now-unneeded control/alt key hack; the tests have been updated.
605
606 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
607
608         - Updated leaks list because our internal bot upgraded it's version of leopard and 
609         one of the leaks was fixed between that revision and the bot's previous version of
610         leopard.
611
612         * Scripts/run-webkit-tests:
613
614 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
615
616         Reviewed by Tim.
617
618         - I encapsulated out the server connecton functionality because it is a specific part
619         of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
620         into WebCore and C++.  But if it is encapsulated out it can be easily replaced on
621         Windows.  So the majority of this patch is moving preexisting functionality.
622
623         - Also I removed the prefix header and changed to use config.h because it is more
624         standard on how we use config.h in windows and it didn't make much sense to keep
625         the prefix header and the config.h
626
627         * Drosera/DebuggerDocument.cpp:
628         (DebuggerDocument::DebuggerDocument):
629         * Drosera/DebuggerDocument.h:
630         * Drosera/config.h:
631         * Drosera/mac/DebuggerApplication.mm:
632         (-[DebuggerApplication attach:]):
633         * Drosera/mac/DebuggerClient.h:
634         * Drosera/mac/DebuggerClient.mm:
635         (-[DebuggerClient initWithServerConnection:]):
636         (-[DebuggerClient dealloc]):
637         (-[DebuggerClient windowDidLoad]):
638         (-[DebuggerClient windowWillClose:]):
639         (-[DebuggerClient webView:didFinishLoadForFrame:]):
640         (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
641         * Drosera/mac/DebuggerDocumentPlatform.mm:
642         (DebuggerDocument::platformPause):
643         (DebuggerDocument::platformResume):
644         (DebuggerDocument::platformStepInto):
645         (DebuggerDocument::platformEvaluateScript):
646         (DebuggerDocument::getPlatformCurrentFunctionStack):
647         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
648         (DebuggerDocument::platformValueForScopeVariableNamed):
649         (DebuggerDocument::platformLog):
650         * Drosera/mac/Drosera.pch: Removed.
651         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
652         * Drosera/mac/ServerConnection.h: Added.
653         * Drosera/mac/ServerConnection.mm: Added.
654         (-[ServerConnection initWithServerName:]):
655         (-[ServerConnection dealloc]):
656         (-[ServerConnection setGlobalContext:]):
657         (-[ServerConnection pause]):
658         (-[ServerConnection resume]):
659         (-[ServerConnection stepInto]):
660         (-[ServerConnection switchToServerNamed:]):
661         (-[ServerConnection applicationTerminating:]):
662         (-[ServerConnection serverConnectionDidDie:]):
663         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
664         (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
665         (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
666         (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
667         (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
668         (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
669         (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
670         (-[ServerConnection currentFrame]):
671         (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
672         (-[ServerConnection knownServers]):
673
674 2007-10-15  David Kilzer  <ddkilzer@webkit.org>
675
676         Reviewed by Eric.
677
678         - fix http://bugs.webkit.org/show_bug.cgi?id=15002
679           Script to automatically search nightly builds for regressions (bisect-builds)
680
681         * Scripts/bisect-builds: Added.
682
683 2007-10-14  Maciej Stachowiak  <mjs@apple.com>
684
685         Reviewed by Darin.
686
687         - New JavaScript benchmark
688         http://bugs.webkit.org/show_bug.cgi?id=15515
689
690         * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
691         current development or release build of JavaScriptCore.
692
693 2007-10-15  Mark Rowe  <mrowe@apple.com>
694
695         Reviewed by Sam.
696
697         Fix 'run-webkit-tests --qt' complaining about the --qt argument.
698
699         * Scripts/webkitdirs.pm:
700         - Change checkArgv to remove the options from @ARGV to prevent
701         them from interfering with further option processing.
702         - Fix logic error in determineIsQt that would prevent it from bailing out early.
703         - Change isOSX to mean OS X and not Qt or Gtk.  Most of our uses of isOSX assume that this is the meaning
704         already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
705         incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
706
707 2007-10-15  Darin Adler  <darin@apple.com>
708
709         Reviewed by Sam.
710
711         - added logging of window.prompt and window.confirm
712
713         * DumpRenderTree/mac/UIDelegate.mm:
714         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
715         Implement the recommended delegate rather than the deprecated one.
716         (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
717         Added.
718         (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
719         Added.
720
721         * DumpRenderTree/win/UIDelegate.h:
722         * DumpRenderTree/win/UIDelegate.cpp:
723         (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
724         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
725         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
726         (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
727
728 2007-10-15  Alice Liu  <alice.liu@apple.com>
729
730         Reviewed by Sam Weinig.
731
732         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
733
734         * DumpRenderTree/win/DumpRenderTree.cpp:
735         (runTest): Like on mac, before running each test, set the webview's policy delegate to null
736         (main): allocate the global policy delegate for DRT's custom use
737         * DumpRenderTree/win/DumpRenderTree.vcproj:
738         Adding files to project
739         * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
740         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
741         (LayoutTestController::setCustomPolicyDelegate):
742         set the webview's policy delegate to DRT's custom one if the test requests it.
743         * DumpRenderTree/win/PolicyDelegate.cpp: Added.
744         Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
745         (PolicyDelegate::PolicyDelegate):
746         (PolicyDelegate::QueryInterface):
747         (PolicyDelegate::AddRef):
748         (PolicyDelegate::Release):
749         (PolicyDelegate::decidePolicyForNavigationAction):
750         * DumpRenderTree/win/PolicyDelegate.h: Added.
751         (PolicyDelegate::decidePolicyForNewWindowAction):
752         (PolicyDelegate::decidePolicyForMIMEType):
753         (PolicyDelegate::unableToImplementPolicyWithError):
754
755 2007-10-14  Holger Hans Peter Freyther  <zecke@selfish.org>
756
757         Reviewed by Mark.
758
759         * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
760         when querying for QMAKE_MKSPECS.
761
762 2007-10-14  Andrew Wellington  <proton@wiretapped.net>
763
764         Reviewed by Adam Roben.
765         
766         Fix run-webkit-tests is too greedy calculating platform hierarchy
767         http://bugs.webkit.org/show_bug.cgi?id=15465
768         
769         Fix run-webkit-tests being too greedy in trying to split the platform name up
770         causing it to try and find tests in every directory above the first "-" in the
771         path to the LayoutTests
772
773         * Scripts/run-webkit-tests:
774
775 2007-10-14  Oleg Sukhodolsky <son.two@gmail.com>
776
777         Reviewed by Darin.
778
779         http://bugs.webkit.org/show_bug.cgi?id=15006
780         Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
781         to reduce code duplication.
782
783         * Scripts/build-webkit:
784         * Scripts/webkitdirs.pm:
785         buildQMakeProject() renamed to buildQMakeQtProject().
786         buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
787         unused $colorize has been removed.
788
789 === Start merge of feature-branch 2007-10-12 ===
790
791 2007-10-08  Eric Seidel  <eric@webkit.org>
792
793         Reviewed by Mark Rowe.
794
795         * Scripts/build-webkit: add --help, remove unused --color
796
797 2007-10-07  Eric Seidel  <eric@webkit.org>
798
799         Reviewed by darin.
800
801         * Drosera/mac/DebuggerDocumentPlatform.mm:
802         (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
803
804 2007-10-03  Rob Buis  <buis@kde.org>
805
806         Reviewed by Olliej.
807
808         Adapt to changed location of Ahem font.
809
810         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
811
812 2007-10-02  Eric Seidel  <eric@webkit.org>
813
814         Reviewed by Adam Roben.
815         
816         Make pixel tests more useful!
817         Finally fix the image diff 0.00% mystery problem
818         Highlight any image differences in the image diff.
819         Add a link from image diffs back to original test file.
820
821         * DumpRenderTree/mac/ImageDiff.m:
822         (compareImages): highlight any differences
823         (computePercentageDifferent): round to two decimal places
824         * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
825
826 2007-10-02  Eric Seidel  <eric@webkit.org>
827
828         Reviewed by Alexey Proskuryakov.
829
830         * Scripts/run-webkit-tests: print the % image difference on main results page
831
832 2007-10-02  Mark Rowe  <mrowe@apple.com>
833
834         Reviewed by Oliver.
835
836         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
837
838         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
839         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
840
841 2007-10-01  Mark Rowe  <mrowe@apple.com>
842
843         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
844
845 2007-09-25  Eric Seidel  <eric@webkit.org>
846
847         Reviewed by Mark Rowe.
848         
849         DerivedSources.make was finding "ENABLE_SVG" in the string
850         "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
851         quite correctly.
852
853         * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
854
855 2007-09-25  Mark Rowe  <mrowe@apple.com>
856
857         Rubber-stamped by Eric.
858
859         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
860         This makes it possible to automate nightly builds for the feature-branch.
861
862 2007-07-11  Nikolas Zimmermann  <zimmermann@kde.org>
863
864         Rubber stamped by Mark.
865
866         Enable svg experimental features as default here in feature-branch.
867
868         * Scripts/build-webkit:
869
870 2007-06-29  Antti Koivisto  <antti@apple.com>
871
872         Reviewed by Weinig.
873         
874         Add VIDEO flag for timed media features
875
876         * Scripts/build-webkit
877         
878 === End merge of feature-branch 2007-10-12 ===
879
880 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
881
882         Reviewed by Darin.
883
884         - Updated rational for the leaks list to be more clear.
885
886         * Scripts/run-webkit-tests:
887
888 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
889
890         Rubber Stamp by Sam.
891
892         Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
893         I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
894
895         * Scripts/run-webkit-tests:
896
897 2007-10-10  Simon Hausmann  <hausmann@kde.org>
898
899         Reviewed by Lars.
900
901         Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
902         includes are needed for INT_MAX, std::auto_ptr and the like.
903
904         * DumpRenderTree/qt/main.cpp:
905
906 2007-10-09  Lars Knoll  <lars@trolltech.com>
907
908         Reviewed by Simon.
909
910         implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
911
912         * DumpRenderTree/qt/jsobjects.cpp:
913         (LayoutTestController::encodeHostName):
914         (LayoutTestController::decodeHostName):
915         * DumpRenderTree/qt/jsobjects.h:
916
917 2007-10-09  Lars Knoll  <lars@trolltech.com>
918
919         Reviewed by Simon.
920
921         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.
922
923         * DumpRenderTree/qt/DumpRenderTree.cpp:
924         (WebCore::WebPage::createFrame):
925         (WebCore::DumpRenderTree::DumpRenderTree):
926         (WebCore::DumpRenderTree::titleChanged):
927         * DumpRenderTree/qt/DumpRenderTree.h:
928         * DumpRenderTree/qt/jsobjects.cpp:
929         (LayoutTestController::reset):
930         * DumpRenderTree/qt/jsobjects.h:
931
932 2007-10-09  Lars Knoll  <lars@trolltech.com>
933
934         Reviewed by Simon.
935
936         add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
937
938         * DumpRenderTree/qt/DumpRenderTree.h:
939         * DumpRenderTree/qt/jsobjects.cpp:
940         (LayoutTestController::clearBackForwardList):
941         * DumpRenderTree/qt/jsobjects.h:
942
943 2007-10-09  Lars Knoll  <lars@trolltech.com>
944
945         Reviewed by Simon.
946
947         make --git-reviewer work again.
948
949         * Scripts/prepare-ChangeLog:
950
951 2007-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
952
953         Rubber stamped by Eric.
954
955         Connect to the "hovering-over-link" signal emitted by WebKitPage and
956         show the current link inside the statusbar.
957         This shows how to make use of this signal and allows to easily test
958         http://bugs.webkit.org/show_bug.cgi?id=15299.
959
960         * GtkLauncher/main.cpp:
961         (hoveringOverLink):
962         (main):
963
964 2007-10-05  Lars Knoll  <lars@trolltech.com>
965
966         add proper error messages to the FrameLoaderClient.
967         Implement ChromeClientQt::closeWindowSoon and
968         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
969         Some fixes in DRT to make it work correctly with multiple windows.
970
971         Reviewed by Maciej.
972
973         * DumpRenderTree/qt/DumpRenderTree.cpp:
974         (WebCore::DumpRenderTree::DumpRenderTree):
975         (WebCore::DumpRenderTree::createWindow):
976         (WebCore::DumpRenderTree::windowCount):
977         * DumpRenderTree/qt/DumpRenderTree.h:
978         * DumpRenderTree/qt/jsobjects.cpp:
979         (LayoutTestController::maybeDump):
980         (LayoutTestController::windowCount):
981         * DumpRenderTree/qt/jsobjects.h:
982
983 2007-10-05  Lars Knoll  <lars@trolltech.com>
984
985         Add a dummy plugin to DRT  to fix fast/dom/Window/Plug-Ins.html.
986         Add support for layoutTextController.setCanOpenWindows() to DRT
987         fixing another 2 test cases in fast/dom/Window.
988
989         Reviewed by Maciej.
990
991         * DumpRenderTree/qt/DumpRenderTree.cpp:
992         (WebCore::WebPage::WebPage):
993         (WebCore::WebPage::createWindow):
994         (WebCore::DumpRenderTree::resetJSObjects):
995         (WebCore::DumpRenderTree::createWindow):
996         * DumpRenderTree/qt/DumpRenderTree.h:
997         * DumpRenderTree/qt/DumpRenderTree.pro:
998         * DumpRenderTree/qt/jsobjects.cpp:
999         (LayoutTestController::LayoutTestController):
1000         (LayoutTestController::reset):
1001         * DumpRenderTree/qt/jsobjects.h:
1002         * DumpRenderTree/qt/main.cpp:
1003         * DumpRenderTree/qt/testplugin.cpp: Added.
1004         * DumpRenderTree/qt/testplugin.h: Added.
1005
1006 2007-10-04  Sam Weinig  <sam@webkit.org>
1007
1008         Rubber stamped by Adam.
1009
1010         Remove empty directories.
1011
1012         * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1013         * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1014
1015 2007-10-03  Darin Adler  <darin@apple.com>
1016
1017         Reviewed by Adam.
1018
1019         * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1020         we find the internal libraries in the libraries directory. This
1021         is helpful for Safari team engineers at Apple.
1022
1023 2007-10-03  Adam Roben  <aroben@apple.com>
1024
1025         Update the location of AHEM___.TTF after r25968
1026
1027         Reviewed by Sam.
1028
1029         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1030
1031 2007-10-03  Alp Toker  <alp@atoker.com>
1032
1033         Reviewed by Adam.
1034
1035         http://bugs.webkit.org/show_bug.cgi?id=14726
1036         [gtk] API design. Mapping the WebView delegates to signals.
1037
1038         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1039
1040         * GtkLauncher/main.cpp:
1041         (goToURLBarText):
1042         (titleChanged):
1043         (progressChanged):
1044         (menuMainBackCallback):
1045         (menuMainForwardCallback):
1046         (main):
1047
1048 2007-10-03  Lars Knoll  <lars@trolltech.com>
1049
1050         Reviewed by Rob.
1051
1052         This fixes --strict mode in run-webkit-tests again after
1053         the platform dependent test results have been moved.
1054
1055         * Scripts/run-webkit-tests:
1056
1057 2007-10-03  Lars Knoll  <lars@trolltech.com>
1058
1059         Reviewed by bdash.
1060
1061         remove the hack in run-webkit-tests that forced text only test
1062         to be taken from the platform independent dir. It was only left
1063         there from early days.
1064         
1065         Remove platform dependent results for tests that are text only nowadays,
1066         and add one platform dependent result for a text only test that requires it.
1067
1068         * Scripts/run-webkit-tests:
1069
1070 2007-10-03  Lars Knoll  <lars@trolltech.com>
1071
1072         Reviewed by olliej.
1073
1074         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1075
1076         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1077         (WebCore::WebFrame::WebFrame):
1078         (WebCore::WebPage::WebPage):
1079         (WebCore::WebPage::createFrame):
1080         (WebCore::WebPage::javaScriptAlert):
1081         (WebCore::WebPage::javaScriptConsoleMessage):
1082         (WebCore::DumpRenderTree::DumpRenderTree):
1083         (WebCore::DumpRenderTree::~DumpRenderTree):
1084         (WebCore::DumpRenderTree::open):
1085         (WebCore::DumpRenderTree::readStdin):
1086         (WebCore::DumpRenderTree::resetJSObjects):
1087         (WebCore::DumpRenderTree::initJSObjects):
1088         (WebCore::DumpRenderTree::dumpFramesAsText):
1089         (WebCore::DumpRenderTree::dump):
1090         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1091         (WebCore::DumpRenderTree::layoutTestController):
1092         (WebCore::DumpRenderTree::eventSender):
1093         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1094         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1095         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1096         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1097         (HackWebFrame::mousePressEvent):
1098         (HackWebFrame::mouseReleaseEvent):
1099         (HackWebFrame::mouseMoveEvent):
1100         (HackWebFrame::HackWebFrame):
1101         (HackWebFrame::~HackWebFrame):
1102         (LayoutTestController::LayoutTestController):
1103         (LayoutTestController::reset):
1104         (LayoutTestController::maybeDump):
1105         (LayoutTestController::waitUntilDone):
1106         (LayoutTestController::notifyDone):
1107         (LayoutTestController::dumpEditingCallbacks):
1108         (LayoutTestController::queueReload):
1109         (LayoutTestController::provisionalLoad):
1110         (LayoutTestController::timerEvent):
1111         (EventSender::EventSender):
1112         (EventSender::mouseDown):
1113         (EventSender::mouseUp):
1114         (EventSender::mouseMoveTo):
1115         (EventSender::leapForward):
1116         (EventSender::keyDown):
1117         (EventSender::frameUnderMouse):
1118         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1119         (LayoutTestController::isLoading):
1120         (LayoutTestController::setLoading):
1121         (LayoutTestController::shouldDumpAsText):
1122         (LayoutTestController::shouldDumpChildrenAsText):
1123         (LayoutTestController::shouldWaitUntilDone):
1124         (LayoutTestController::dumpAsText):
1125         (LayoutTestController::dumpChildFramesAsText):
1126         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1127         (messageHandler):
1128         (crashHandler):
1129         (main):
1130         * Scripts/run-webkit-tests:
1131
1132 2007-10-03  Mark Rowe  <mrowe@apple.com>
1133
1134         Reviewed by Alp Toker.
1135
1136         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
1137         should take precedence over QTDIR when determining which port we are working with.
1138
1139         * Scripts/webkitdirs.pm: 
1140
1141 2007-10-02  Adam Roben  <aroben@apple.com>
1142
1143         Add keychain to the list of default packages to install
1144
1145         Rubberstamped by Sam.
1146
1147         * CygwinDownloader/cygwin-downloader.py:
1148         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1149
1150 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
1151
1152         Reviewed by Adam.
1153
1154         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1155         Also makes WebCore regression test case logic work when using git.
1156
1157         * Scripts/prepare-ChangeLog:
1158         (reviewerAndDescriptionForGitCommit): Added.
1159
1160 2007-10-02  Lars Knoll  <lars@trolltech.com>
1161
1162         Reviewed by bdash.
1163
1164         Add API to retrieve the frame name from QWebFrame.
1165         Implement support for DRT::dumpChildrenAsText.
1166
1167         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1168         (WebCore::DumpRenderTree::dumpFramesAsText):
1169         (WebCore::DumpRenderTree::dump):
1170         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1171         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1172         (LayoutTestController::LayoutTestController):
1173         (LayoutTestController::reset):
1174         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1175
1176 2007-10-02  Lars Knoll  <lars@trolltech.com>
1177
1178         Reviewed by bdash.
1179
1180         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1181
1182         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1183         (WebCore::DumpRenderTree::readStdin):
1184
1185 2007-10-02  Mark Rowe  <mrowe@apple.com>
1186
1187         Reviewed by Oliver.
1188
1189         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1190
1191         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1192         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1193
1194 2007-10-02  Mark Rowe  <mrowe@apple.com>
1195
1196         Rubber-stamped by Maciej.
1197
1198         Configuration changes from build.webkit.org.  The major change is refactoring to work
1199         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1200         last few weeks.
1201
1202         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1203         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1204         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1205         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1206         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1207         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1208         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1209         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1210
1211 2007-10-02  Lars Knoll  <lars@trolltech.com>
1212
1213         Reviewed by Maciej.
1214
1215         Add support for eventSender.mouseMove to DRT.
1216         Fixes fast/css/hover-affects-child.html
1217
1218         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1219         (EventSender::mouseMoveTo):
1220
1221 2007-10-01  Mark Rowe  <mrowe@apple.com>
1222
1223         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1224
1225 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
1226
1227         Reviewed by Hyatt.
1228
1229         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1230
1231         * Scripts/svn-apply:
1232         (gitdiff2svndiff): Ignore lines beginning with "new file".
1233         * Scripts/svn-unapply:
1234         (gitdiff2svndiff): Ditto.
1235
1236 2007-09-30  George Staikos  <staikos@kde.org>
1237
1238         Qt build fix (Mac OS X specific)
1239
1240         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1241
1242 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
1243
1244         Reviewed by Mark.
1245
1246         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1247         Remove Bakefiles from svn.
1248
1249         * GtkLauncher/Bakefiles.bkgen: Removed.
1250         * GtkLauncher/ENV: Removed.
1251         * GtkLauncher/gdklauncher.bkl: Removed.
1252         * GtkLauncher/mk: Removed.
1253         * Scripts/regenerate-makefiles: Removed.
1254
1255 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
1256
1257         Reviewed by John.
1258
1259         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1260
1261         * Scripts/run-webkit-tests:
1262
1263 2007-09-26  Adam Roben  <aroben@apple.com>
1264
1265         Make not finding an installed WebKit non-fatal
1266
1267         What really matters is that we are able to load WebKit and its
1268         dependencies, not whether we think we've found an installed WebKit.
1269
1270         Reviewed by Sam.
1271
1272         * WebKitInitializer/WebKitInitializer.cpp:
1273         (getWebViewCLSID): Use new LOG_WARNING macro.
1274         (getInstalledWebKitDirectory): Ditto.
1275         (initializeWebKit): Don't die if we didn't find an installed WebKit,
1276         and use new macros.
1277         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1278
1279 2007-09-26  Adam Roben  <aroben@apple.com>
1280
1281         Committed this file before saving it
1282
1283         * WebKitInitializer/debug_internal.vsprops:
1284
1285 2007-09-26  Adam Roben  <aroben@apple.com>
1286
1287         Load WebKit and its dependencies manually so they come from DllDirectory
1288
1289         I had to change WebKitInitializer to use malloc/free instead of
1290         new/delete to avoid pulling in WebKit (and its dependencies) early
1291         through use of fastMalloc.
1292
1293         Reviewed by Oliver.
1294
1295         * WebKitInitializer/WebKitInitializer.cpp:
1296         (getStringValue): Changed to use malloc/free.
1297         (getInstalledWebKitDirectory): Ditto.
1298         (initializeWebKit): Call SetDllDirectory first, then load all of
1299         WebKit's dependencies manually, finally followed by WebKit itself.
1300         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1301         configuration to match our other projects.
1302         * WebKitInitializer/debug_internal.vsprops: Added.
1303
1304 2007-09-25  Adam Roben  <aroben@apple.com>
1305
1306         Actually define DEBUG/NDEBUG so that we load WebKit correctly
1307
1308         Rubberstamped by Sam.
1309
1310         * WebKitInitializer/WebKitInitializer.vcproj:
1311
1312 2007-09-25  Adam Roben  <aroben@apple.com>
1313
1314         Make DumpRenderTree delay-load its dependencies
1315
1316         This lets WebKitInitializer re-route the dependencies to be loaded out
1317         of the Safari installation directory.
1318
1319         Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1320         same thing), since we can't import the kCFAllocatorDefault symbol when
1321         delay-loading CoreFoundation.dll.
1322
1323         Rubberstamped by Sam.
1324
1325         * DumpRenderTree/win/DumpRenderTree.cpp:
1326         (runTest):
1327         (javaScriptThreads):
1328         * DumpRenderTree/win/DumpRenderTree.vcproj:
1329         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1330         (LayoutTestController::setWaitToDump):
1331
1332 2007-09-25  Adam Roben  <aroben@apple.com>
1333
1334         Pull ole32.lib into WebKitInitializer
1335
1336         Rubberstamped by Sam.
1337
1338         * WebKitInitializer/WebKitInitializer.vcproj:
1339
1340 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
1341
1342         Reviewed by Adam.
1343
1344         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1345           LGPL'ed files contain incorrect FSF address
1346
1347         * Drosera/config.h:
1348
1349 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
1350
1351         Reviewed by Adam.
1352
1353         Make svn-apply and svn-unapply work with git-diff formatted patches.
1354
1355         * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1356         (gitdiff2svndiff): Added.
1357         * Scripts/svn-unapply: Ditto.
1358         (gitdiff2svndiff): Added.
1359
1360 2007-09-25  Adam Roben  <aroben@apple.com>
1361
1362         Pull advapi32.lib into WebKitInitializer
1363
1364         This is needed to get the registry functions we use.
1365
1366         Rubberstamped by Sam.
1367
1368         * WebKitInitializer/WebKitInitializer.vcproj:
1369
1370 2007-09-25  Adam Roben  <aroben@apple.com>
1371
1372         Add python and rsync to cygwin-downloader
1373
1374         Our build slaves need this, and it can't hurt for everyone else to
1375         have it, too.
1376
1377         Reviewed by Sam.
1378
1379         * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1380         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1381
1382 2007-09-25  Adam Roben  <aroben@apple.com>
1383
1384         Add WebKitInitializer and use it in DumpRenderTree
1385
1386         WebKitInitializer is a static library that has one function,
1387         initializeWebKit(). This registers WebKit and sets up the DLL search
1388         path so that WebKit's dependencies that are installed with Safari can
1389         be found.
1390
1391         Reviewed by Sam.
1392
1393         * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1394         DumpRenderTree depend on it.
1395         * DumpRenderTree/win/DumpRenderTree.cpp:
1396         (initialize): Call initializeWebKit.
1397         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1398         WebKitInitializer.lib.
1399         * WebKitInitializer/WebKitInitializer.cpp: Added.
1400         (getStringValue):
1401         (getWebViewCLSID):
1402         (getInstalledWebKitDirectory):
1403         (initializeWebKit):
1404         * WebKitInitializer/WebKitInitializer.h: Added.
1405         * WebKitInitializer/WebKitInitializer.vcproj: Added.
1406         * WebKitInitializer/debug.vsprops: Added.
1407         * WebKitInitializer/release.vsprops: Added.
1408
1409 2007-09-25  Adam Roben  <aroben@apple.com>
1410
1411         Make run-webkit-tests respect set-webkit-configuration
1412
1413         Reviewed by Sam.
1414
1415         * Scripts/run-webkit-tests: Initialize $configuration to whatever
1416         set-webkit-configuration was last set to.
1417
1418 2007-09-25  Mark Rowe  <mrowe@apple.com>
1419
1420         Rubber-stamped by Eric.
1421
1422         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1423         This makes it possible to automate nightly builds for the feature-branch.
1424
1425 2007-09-25  Adam Roben  <aroben@apple.com>
1426
1427         A couple of fixes/enhancements to update-webkit-*-libs
1428
1429         You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1430         to tell update-webkit-support-libraries where it should find the
1431         WebKitSupportLibrary.zip file you downloaded.
1432
1433         These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1434         Windows-style path.
1435
1436         Reviewed by Sam.
1437
1438         * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1439         to $auxiliaryLibsURL and removed an irrelevant comment.
1440         * Scripts/update-webkit-support-libs:
1441
1442 2007-09-25  Adam Treat  <treat@kde.org>
1443
1444         Reviewed by Simon and Lars.
1445
1446         Refactors and cleans up Qt DRT member variable names, member variable
1447         initialization, style fixes and general code cleanup.
1448
1449         Adds queueReload slot to LayoutTestController that some tests require.
1450
1451         Subclasses QWebFrame to make sure that all frames have an associated
1452         LayoutTestController JS window object.
1453
1454         Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1455         aren't dumped twice.
1456
1457         EOF fixes.
1458
1459         Together, this patch fixes some 20+ layout tests in QtWebKit.
1460
1461         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1462         (WebCore::WebFrame::WebFrame):
1463         (WebCore::WebPage::WebPage):
1464         (WebCore::WebPage::createFrame):
1465         (WebCore::DumpRenderTree::DumpRenderTree):
1466         (WebCore::DumpRenderTree::open):
1467         (WebCore::DumpRenderTree::readStdin):
1468         (WebCore::DumpRenderTree::initJSObjects):
1469         (WebCore::DumpRenderTree::dump):
1470         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1471         (WebCore::DumpRenderTree::layoutTestController):
1472         (WebCore::DumpRenderTree::eventSender):
1473         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1474         (LayoutTestController::LayoutTestController):
1475         (LayoutTestController::reset):
1476         (LayoutTestController::maybeDump):
1477         (LayoutTestController::waitUntilDone):
1478         (LayoutTestController::notifyDone):
1479         (LayoutTestController::queueReload):
1480         (LayoutTestController::provisionalLoad):
1481         (EventSender::EventSender):
1482         (EventSender::mouseDown):
1483         (EventSender::mouseUp):
1484         (EventSender::mouseMoveTo):
1485         (EventSender::frameUnderMouse):
1486         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1487         (LayoutTestController::isLoading):
1488         (LayoutTestController::setLoading):
1489         (LayoutTestController::dumpAsText):
1490         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1491         (main):
1492
1493 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
1494
1495
1496         - Reverted an accidentally checked in file.
1497
1498         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1499
1500 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
1501         Reviewed by Sam.
1502
1503         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1504
1505         * DumpRenderTree/win/DumpRenderTree.vcproj:
1506         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1507
1508 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
1509
1510         Rubber stamped by Adam.
1511
1512         * GdkLauncher: Removed.
1513         * GdkLauncher/Bakefiles.bkgen: Removed.
1514         * GdkLauncher/ENV: Removed.
1515         * GdkLauncher/GdkLauncher.pro: Removed.
1516         * GdkLauncher/gdklauncher.bkl: Removed.
1517         * GdkLauncher/main.cpp: Removed.
1518         * GdkLauncher/mk: Removed.
1519         * GdkLauncher/simple.svg: Removed.
1520         * GdkLauncher/text.html: Removed.
1521         * GtkLauncher: Added.
1522         * GtkLauncher/GdkLauncher.pro: Removed.
1523         * GtkLauncher/GtkLauncher.pro: Added.
1524         * GtkLauncher/main.cpp:
1525         (updateWindowTitle):
1526         (main):
1527         * Scripts/build-webkit:
1528         * Scripts/regenerate-makefiles:
1529         * Scripts/run-javascriptcore-tests:
1530         * Scripts/run-launcher:
1531         * Scripts/run-webkit-tests:
1532         * Scripts/webkitdirs.pm:
1533
1534 2007-09-21  Timothy Hatcher  <timothy@apple.com>
1535
1536         Reviewed by Darin.
1537
1538         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1539
1540         Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1541         This is tested by plugins/root-object-premature-delete-crash.html.
1542
1543         * DumpRenderTree/mac/ObjCController.m:
1544         (-[ObjCController accessStoredWebScriptObject]):
1545
1546 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
1547
1548         Reviewed by Oliver.
1549
1550         - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1551
1552         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1553         (FrameLoadDelegate::FrameLoadDelegate):
1554
1555 2007-09-20  Julien Chaffraix  <julien.chaffraix@gmail.com>
1556
1557         Reviewed by Adam.
1558
1559         Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1560         webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1561
1562         Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1563         Now isQt() and isGdk() use global variables that are only set once.
1564
1565         An array of all the parameters is now given to build-dumprender which includes
1566         the platform on linux.
1567
1568         * Scripts/build-dumprendertree:
1569         * Scripts/run-webkit-tests:
1570         * Scripts/webkitdirs.pm:
1571
1572 2007-09-19  Adam Roben  <aroben@apple.com>
1573
1574         Rubberstamped by Hyatt.
1575
1576         * Spinneret: Removed.
1577
1578 2007-09-19  Tuukka Hastrup  <Tuukka.Hastrup@iki.fi>
1579
1580         Reviewed by David Kilzer.
1581
1582         * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1583
1584 2007-09-18  Sam Weinig  <sam@webkit.org>
1585
1586         Add JSRetainPtr.h #include to fix some builds.
1587
1588         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1589
1590 2007-09-18  Mike Hommey  <glandium@debian.org>
1591
1592         Reviewed by Adam.
1593
1594         * Scripts/prepare-ChangeLog:
1595         - Properly parse GECOS field.
1596         - Use git configuration for user name and email when appropriate.
1597
1598 2007-09-17  Sam Weinig  <sam@webkit.org>
1599
1600         Build fix.
1601
1602         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1603
1604 2007-09-17  Sam Weinig  <sam@webkit.org>
1605
1606         Reviewed by Adam Roben.
1607
1608         Share more code between mac and windows DRT.
1609             - GCController is now shared.
1610             - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1611
1612         * DumpRenderTree/GCController.cpp:
1613         * DumpRenderTree/win/DumpRenderTree.cpp:
1614         * DumpRenderTree/win/DumpRenderTree.vcproj:
1615         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1616         (FrameLoadDelegate::FrameLoadDelegate):
1617         (FrameLoadDelegate::~FrameLoadDelegate):
1618         (FrameLoadDelegate::windowScriptObjectAvailable):
1619         * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1620         * DumpRenderTree/win/GCController.cpp: Removed.
1621         * DumpRenderTree/win/GCController.h: Removed.
1622         * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1623         (GCController::collect):
1624         (GCController::collectOnAlternateThread):
1625         (GCController::getJSObjectCount):
1626         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1627         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1628
1629 2007-09-17  Sam Weinig  <sam@webkit.org>
1630
1631         Reviewed by Adam Roben.
1632
1633         Begin sharing code between mac and windows DRT.
1634             - both now share LayoutTestController.h/cpp and implement platform dependant 
1635               operations in LayoutTestControllerMac/Win.
1636             - DumpRenderTree.h is now shared.
1637             - WorkQueue and WorkQueueItem are also shared.
1638
1639         * DumpRenderTree/DumpRenderTree.h:
1640         * DumpRenderTree/LayoutTestController.cpp:
1641         * DumpRenderTree/win/DumpRenderTree.cpp:
1642         (displayWebView):
1643         (dumpFrameScrollPosition):
1644         (dumpFramesAsText):
1645         (dump):
1646         (runTest):
1647         * DumpRenderTree/win/DumpRenderTree.h: Removed.
1648         * DumpRenderTree/win/DumpRenderTree.vcproj:
1649         * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1650         * DumpRenderTree/win/EditingDelegate.cpp:
1651         (EditingDelegate::shouldBeginEditingInDOMRange):
1652         (EditingDelegate::shouldEndEditingInDOMRange):
1653         (EditingDelegate::shouldInsertNode):
1654         (EditingDelegate::shouldInsertText):
1655         (EditingDelegate::shouldDeleteDOMRange):
1656         (EditingDelegate::shouldChangeSelectedDOMRange):
1657         (EditingDelegate::shouldApplyStyle):
1658         (EditingDelegate::shouldChangeTypingStyle):
1659         (EditingDelegate::doPlatformCommand):
1660         (EditingDelegate::webViewDidBeginEditing):
1661         (EditingDelegate::webViewDidChange):
1662         (EditingDelegate::webViewDidEndEditing):
1663         (EditingDelegate::webViewDidChangeTypingStyle):
1664         (EditingDelegate::webViewDidChangeSelection):
1665         * DumpRenderTree/win/LayoutTestController.cpp: Removed.
1666         * DumpRenderTree/win/LayoutTestController.h: Removed.
1667         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
1668         (LayoutTestController::addDisallowedURL):
1669         (LayoutTestController::clearBackForwardList):
1670         (LayoutTestController::copyDecodedHostName):
1671         (LayoutTestController::copyEncodedHostName):
1672         (LayoutTestController::display):
1673         (LayoutTestController::keepWebHistory):
1674         (LayoutTestController::notifyDone):
1675         (LayoutTestController::queueBackNavigation):
1676         (LayoutTestController::queueForwardNavigation):
1677         (jsStringRefToWString):
1678         (LayoutTestController::queueLoad):
1679         (LayoutTestController::queueReload):
1680         (LayoutTestController::queueScript):
1681         (LayoutTestController::setAcceptsEditing):
1682         (LayoutTestController::setCustomPolicyDelegate):
1683         (LayoutTestController::setMainFrameIsFirstResponder):
1684         (LayoutTestController::setTabKeyCyclesThroughElements):
1685         (LayoutTestController::setUseDashboardCompatibilityMode):
1686         (LayoutTestController::setUserStyleSheetEnabled):
1687         (LayoutTestController::setUserStyleSheetLocation):
1688         (LayoutTestController::setWindowIsKey):
1689         (waitUntilDoneWatchdogFired):
1690         (LayoutTestController::setWaitToDump):
1691         (LayoutTestController::windowCount):
1692         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
1693         (FrameLoadDelegate::didReceiveTitle):
1694         (FrameLoadDelegate::processWork):
1695         (FrameLoadDelegate::locationChangeDone):
1696         (FrameLoadDelegate::windowScriptObjectAvailable):
1697         * DumpRenderTree/win/WorkQueue.cpp: Removed.
1698         * DumpRenderTree/win/WorkQueue.h: Removed.
1699         * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
1700         * DumpRenderTree/win/WorkQueueItem.h: Removed.
1701         * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
1702         (jsStringRefToWString):
1703         (LoadItem::invoke):
1704         (ScriptItem::invoke):
1705
1706 2007-09-17  Sam Weinig  <sam@webkit.org>
1707
1708         Reviewed by Adam Roben.
1709
1710         - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
1711
1712         * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
1713         * DumpRenderTree/DumpRenderTree.vcproj: Removed.
1714         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
1715         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
1716         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
1717         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
1718         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
1719         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
1720         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
1721         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
1722         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
1723         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
1724         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
1725         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
1726         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
1727         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
1728         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
1729         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
1730         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
1731         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
1732         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
1733         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
1734         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
1735         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
1736         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
1737         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
1738         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
1739         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
1740         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
1741         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
1742         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
1743         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
1744         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
1745         * DumpRenderTree/win: Added.
1746         * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
1747         * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
1748         * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
1749         * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
1750         * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
1751         * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
1752         * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
1753         * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
1754         * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
1755         * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
1756         * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
1757         * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
1758         * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
1759         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1760         * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
1761         * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
1762         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
1763         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
1764         * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1765         * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1766         * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
1767         * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1768         * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
1769         * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
1770         * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
1771         * Scripts/run-webkit-tests: Update to point to the new location of the sln.
1772
1773 2007-09-15  Mark Rowe  <mrowe@apple.com>
1774
1775         Build fix for DumpRenderTree.
1776
1777         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
1778
1779 2007-09-14  Sam Weinig  <sam@webkit.org>
1780
1781         Rubber stamped by Adam Roben.
1782
1783         Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
1784           - The UIDelegate was put into a new file while the FrameLoadDelegate was
1785             kept in the WaitUntilDoneDelegate file for the time being.
1786
1787         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1788         (main):
1789         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1790         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
1791         (UIDelegate::QueryInterface):
1792         (UIDelegate::AddRef):
1793         (UIDelegate::Release):
1794         (UIDelegate::hasCustomMenuImplementation):
1795         (UIDelegate::setFrame):
1796         (UIDelegate::webViewFrame):
1797         (UIDelegate::runJavaScriptAlertPanelWithMessage):
1798         (UIDelegate::webViewAddMessageToConsole):
1799         (UIDelegate::doDragDrop):
1800         (UIDelegate::webViewGetDlgCode):
1801         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
1802         (UIDelegate::UIDelegate):
1803         (UIDelegate::createWebViewWithRequest):
1804         (UIDelegate::webViewShow):
1805         (UIDelegate::webViewClose):
1806         (UIDelegate::webViewFocus):
1807         (UIDelegate::webViewUnfocus):
1808         (UIDelegate::webViewFirstResponder):
1809         (UIDelegate::makeFirstResponder):
1810         (UIDelegate::setStatusText):
1811         (UIDelegate::webViewStatusText):
1812         (UIDelegate::webViewAreToolbarsVisible):
1813         (UIDelegate::setToolbarsVisible):
1814         (UIDelegate::webViewIsStatusBarVisible):
1815         (UIDelegate::setStatusBarVisible):
1816         (UIDelegate::webViewIsResizable):
1817         (UIDelegate::setResizable):
1818         (UIDelegate::setContentRect):
1819         (UIDelegate::webViewContentRect):
1820         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1821         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1822         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
1823         (UIDelegate::runOpenPanelForFileButtonWithResultListener):
1824         (UIDelegate::mouseDidMoveOverElement):
1825         (UIDelegate::contextMenuItemsForElement):
1826         (UIDelegate::validateUserInterfaceItem):
1827         (UIDelegate::shouldPerformAction):
1828         (UIDelegate::dragDestinationActionMaskForDraggingInfo):
1829         (UIDelegate::willPerformDragDestinationAction):
1830         (UIDelegate::dragSourceActionMaskForPoint):
1831         (UIDelegate::willPerformDragSourceAction):
1832         (UIDelegate::contextMenuItemSelected):
1833         (UIDelegate::trackCustomPopupMenu):
1834         (UIDelegate::measureCustomMenuItem):
1835         (UIDelegate::drawCustomMenuItem):
1836         (UIDelegate::addCustomMenuDrawingData):
1837         (UIDelegate::cleanUpCustomMenuDrawingData):
1838         (UIDelegate::canTakeFocus):
1839         (UIDelegate::takeFocus):
1840         (UIDelegate::registerUndoWithTarget):
1841         (UIDelegate::removeAllActionsWithTarget):
1842         (UIDelegate::setActionTitle):
1843         (UIDelegate::undo):
1844         (UIDelegate::redo):
1845         (UIDelegate::canUndo):
1846         (UIDelegate::canRedo):
1847         (UIDelegate::webViewResizerRect):
1848         (UIDelegate::webViewDrawResizer):
1849         (UIDelegate::webViewScrolled):
1850         (UIDelegate::webViewShouldInterruptJavaScript):
1851         (UIDelegate::webViewReceivedFocus):
1852         (UIDelegate::webViewLostFocus):
1853         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
1854         (FrameLoadDelegate::QueryInterface):
1855         (FrameLoadDelegate::AddRef):
1856         (FrameLoadDelegate::Release):
1857         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1858         (FrameLoadDelegate::didCommitLoadForFrame):
1859         (FrameLoadDelegate::didReceiveTitle):
1860         (FrameLoadDelegate::processWork):
1861         (processWorkTimer):
1862         (FrameLoadDelegate::locationChangeDone):
1863         (FrameLoadDelegate::didFinishLoadForFrame):
1864         (FrameLoadDelegate::didFailLoadWithError):
1865         (FrameLoadDelegate::windowScriptObjectAvailable):
1866         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
1867         (FrameLoadDelegate::FrameLoadDelegate):
1868
1869 2007-09-14  Sam Weinig  <sam@webkit.org>
1870
1871         Reviewed by Kevin McCullough.
1872
1873         Move mac specific globals in to mac/DumpRenderTreeMac.h
1874
1875         * DumpRenderTree/DumpRenderTree.h:
1876         * DumpRenderTree/DumpRenderTree.mm: Removed.
1877         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1878         * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
1879         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
1880
1881 2007-09-14  Brady Eidson  <beidson@apple.com>
1882
1883         Rubberstamped by Weinig
1884
1885         You know, Sam, some of us use case-sensitve filesystems...
1886
1887         * DumpRenderTree/DumpRenderTree.h:
1888         * DumpRenderTree/mac/UIDelegate.mm:
1889
1890 2007-09-14  Sam Weinig  <sam@webkit.org>
1891
1892         Rubber stamped by Adam Roben.
1893
1894         - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
1895         - Move mac specific DumpRenderTree files to DumpRenderTree/mac
1896
1897         * DumpRenderTree/AppleScriptController.h: Removed.
1898         * DumpRenderTree/AppleScriptController.m: Removed.
1899         * DumpRenderTree/DumpRenderTree.h:
1900         * DumpRenderTree/DumpRenderTree.mm:
1901         (startJavaScriptThreads):
1902         (stopJavaScriptThreads):
1903         (activateAhemFont):
1904         (setDefaultColorProfileToRGB):
1905         (makeLargeMallocFailSilently):
1906         (dumpFrameScrollPosition):
1907         (dumpFramesAsText):
1908         (dump):
1909         (runTest):
1910         (-[DumpRenderTreeWindow isKeyWindow]):
1911         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1912         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
1913         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
1914         * DumpRenderTree/EditingDelegate.h: Removed.
1915         * DumpRenderTree/EditingDelegate.m: Removed.
1916         * DumpRenderTree/EventSendingController.h: Removed.
1917         * DumpRenderTree/EventSendingController.m: Removed.
1918         * DumpRenderTree/FrameLoadDelegate.h: Removed.
1919         * DumpRenderTree/FrameLoadDelegate.mm: Removed.
1920         * DumpRenderTree/GCController.mm: Removed.
1921         * DumpRenderTree/ImageDiff.m: Removed.
1922         * DumpRenderTree/LayoutTestController.cpp:
1923         (LayoutTestController::LayoutTestController):
1924         (dumpAsTextCallback):
1925         (dumpBackForwardListCallback):
1926         (dumpChildFramesAsTextCallback):
1927         (dumpChildFrameScrollPositionsCallback):
1928         (dumpDOMAsWebArchiveCallback):
1929         (dumpEditingCallbacksCallback):
1930         (dumpFrameLoadCallbacksCallback):
1931         (dumpResourceLoadCallbacksCallback):
1932         (dumpSelectionRectCallback):
1933         (dumpSourceAsWebArchiveCallback):
1934         (dumpTitleChangesCallback):
1935         (repaintSweepHorizontallyCallback):
1936         (setCallCloseOnWebViewsCallback):
1937         (setCanOpenWindowsCallback):
1938         (setCloseRemainingWindowsWhenCompleteCallback):
1939         (testRepaintCallback):
1940         (addFileToPasteboardOnDragCallback):
1941         (waitUntilDoneCallback):
1942         * DumpRenderTree/LayoutTestController.h:
1943         (LayoutTestController::dumpAsText):
1944         (LayoutTestController::setDumpAsText):
1945         (LayoutTestController::dumpBackForwardList):
1946         (LayoutTestController::setDumpBackForwardList):
1947         (LayoutTestController::dumpChildFrameScrollPositions):
1948         (LayoutTestController::setDumpChildFrameScrollPositions):
1949         (LayoutTestController::dumpChildFramesAsText):
1950         (LayoutTestController::setDumpChildFramesAsText):
1951         (LayoutTestController::dumpDOMAsWebArchive):
1952         (LayoutTestController::setDumpDOMAsWebArchive):
1953         (LayoutTestController::dumpSelectionRect):
1954         (LayoutTestController::setDumpSelectionRect):
1955         (LayoutTestController::dumpSourceAsWebArchive):
1956         (LayoutTestController::setDumpSourceAsWebArchive):
1957         (LayoutTestController::dumpTitleChanges):
1958         (LayoutTestController::setDumpTitleChanges):
1959         (LayoutTestController::dumpEditingCallbacks):
1960         (LayoutTestController::setDumpEditingCallbacks):
1961         (LayoutTestController::dumpResourceLoadCallbacks):
1962         (LayoutTestController::setDumpResourceLoadCallbacks):
1963         (LayoutTestController::dumpFrameLoadCallbacks):
1964         (LayoutTestController::setDumpFrameLoadCallbacks):
1965         (LayoutTestController::addFileToPasteboardOnDrag):
1966         (LayoutTestController::setAddFileToPasteboardOnDrag):
1967         (LayoutTestController::callCloseOnWebViews):
1968         (LayoutTestController::setCallCloseOnWebViews):
1969         (LayoutTestController::canOpenWindows):
1970         (LayoutTestController::setCanOpenWindows):
1971         (LayoutTestController::closeRemainingWindowsWhenComplete):
1972         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1973         (LayoutTestController::testRepaint):
1974         (LayoutTestController::setTestRepaint):
1975         (LayoutTestController::testRepaintSweepHorizontally):
1976         (LayoutTestController::setTestRepaintSweepHorizontally):
1977         (LayoutTestController::waitToDump):
1978         (LayoutTestController::windowIsKey):
1979         * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
1980         * DumpRenderTree/NavigationController.h: Removed.
1981         * DumpRenderTree/NavigationController.m: Removed.
1982         * DumpRenderTree/ObjCController.h: Removed.
1983         * DumpRenderTree/ObjCController.m: Removed.
1984         * DumpRenderTree/ObjCPlugin.h: Removed.
1985         * DumpRenderTree/ObjCPlugin.m: Removed.
1986         * DumpRenderTree/ObjCPluginFunction.h: Removed.
1987         * DumpRenderTree/ObjCPluginFunction.m: Removed.
1988         * DumpRenderTree/PolicyDelegate.h: Removed.
1989         * DumpRenderTree/PolicyDelegate.m: Removed.
1990         * DumpRenderTree/ResourceLoadDelegate.h: Removed.
1991         * DumpRenderTree/ResourceLoadDelegate.m: Removed.
1992         * DumpRenderTree/TextInputController.h: Removed.
1993         * DumpRenderTree/TextInputController.m: Removed.
1994         * DumpRenderTree/UIDelegate.h: Removed.
1995         * DumpRenderTree/UIDelegate.mm: Removed.
1996         * DumpRenderTree/WorkQueueItemMac.mm: Removed.
1997         * DumpRenderTree/mac: Added.
1998         * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
1999         * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2000         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2001         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2002         * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2003         * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2004         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2005         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2006         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2007         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2008         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2009         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2010         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2011         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2012         (-[EditingDelegate webViewDidBeginEditing:]):
2013         (-[EditingDelegate webViewDidChange:]):
2014         (-[EditingDelegate webViewDidEndEditing:]):
2015         (-[EditingDelegate webViewDidChangeTypingStyle:]):
2016         (-[EditingDelegate webViewDidChangeSelection:]):
2017         * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2018         * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2019         * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2020         * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2021         (-[FrameLoadDelegate init]):
2022         (-[FrameLoadDelegate dealloc]):
2023         (-[FrameLoadDelegate processWork:]):
2024         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2025         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2026         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2027         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2028         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2029         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2030         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2031         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2032         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2033         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2034         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2035         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2036         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2037         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2038         (-[FrameLoadDelegate webView:willCloseFrame:]):
2039         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2040         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2041         * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2042         * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2043         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2044         (LayoutTestController::notifyDone):
2045         (LayoutTestController::setWindowIsKey):
2046         (LayoutTestController::setWaitToDump):
2047         * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2048         * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2049         * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2050         * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2051         * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2052         * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2053         * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2054         * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2055         * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2056         * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2057         * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2058         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2059         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2060         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2061         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2062         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2063         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2064         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2065         * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2066         * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2067         * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2068         * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2069         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2070         (-[UIDelegate webViewFocus:]):
2071         (-[UIDelegate webView:createWebViewWithRequest:]):
2072         (-[UIDelegate webViewClose:]):
2073         * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2074
2075 2007-09-14  Kevin McCullough  <kmccullough@apple.com>
2076
2077         Reviewed by Adam.
2078
2079         - Changing Win version of Drosera work with recent changes.
2080
2081         * Drosera/DebuggerDocument.cpp:
2082         * Drosera/DebuggerDocument.h:
2083         * Drosera/mac/DebuggerDocumentPlatform.mm:
2084         (NSStringCreateWithJSStringRef):
2085         (JSValueRefCreateWithNSString):
2086         * Drosera/win/DebuggerClient.cpp:
2087         (DebuggerClient::stepInto):
2088         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2089
2090 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
2091
2092         Reviewed by Tim.
2093
2094         - Moved isPaused into the JS for efficiency and simplicity.
2095
2096         * Drosera/DebuggerDocument.cpp:
2097         (DebuggerDocument::DebuggerDocument):
2098         (DebuggerDocument::pauseCallback):
2099         (DebuggerDocument::resumeCallback):
2100         (DebuggerDocument::isPaused):
2101         (DebuggerDocument::staticFunctions):
2102         * Drosera/DebuggerDocument.h:
2103         * Drosera/console.js:
2104         * Drosera/debugger.js:
2105         * Drosera/mac/DebuggerClient.mm:
2106         (-[DebuggerClient validateUserInterfaceItem:]):
2107
2108 2007-09-13  Sam Weinig  <sam@webkit.org>
2109
2110         Rubber stamped by Darin.
2111
2112         Make DumpRenderTree more cross platform ready.
2113         - Convert GCController to use the JSCore API instead of the WebScriptObject.
2114         - Use CF types instead of NS objects.
2115         - General cleanup.
2116
2117         * DumpRenderTree/DumpRenderTree.h:
2118         * DumpRenderTree/DumpRenderTree.mm:
2119         (dumpRenderTree):
2120         (dump):
2121         (runTest):
2122         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2123         * DumpRenderTree/EditingDelegate.m:
2124         * DumpRenderTree/FrameLoadDelegate.h:
2125         * DumpRenderTree/FrameLoadDelegate.mm:
2126         (-[FrameLoadDelegate init]):
2127         (-[FrameLoadDelegate dealloc]):
2128         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2129         * DumpRenderTree/GCController.cpp: Added.
2130         (GCController::GCController):
2131         (GCController::~GCController):
2132         (collectCallback):
2133         (collectOnAlternateThreadCallback):
2134         (getJSObjectCountCallback):
2135         (GCController::makeWindowObject):
2136         (GCController::getJSClass):
2137         (GCController::staticFunctions):
2138         * DumpRenderTree/GCController.h:
2139         * DumpRenderTree/GCController.mm:
2140         (GCController::collect):
2141         (GCController::collectOnAlternateThread):
2142         (GCController::getJSObjectCount):
2143         * DumpRenderTree/LayoutTestController.cpp:
2144         (LayoutTestController::makeWindowObject):
2145         (LayoutTestController::getJSClass):
2146         * DumpRenderTree/LayoutTestController.h:
2147         * DumpRenderTree/LayoutTestControllerMac.mm:
2148         (LayoutTestController::addDisallowedURL):
2149         (waitUntilDoneWatchdogFired):
2150         (LayoutTestController::waitUntilDone):
2151         * DumpRenderTree/ResourceLoadDelegate.m:
2152         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2153
2154 2007-09-12  Sam Weinig  <sam@webkit.org>
2155
2156         Reviewed by Stephanie.
2157
2158         Fix leaks in mac DumpRenderTree.
2159
2160         * DumpRenderTree/FrameLoadDelegate.mm:
2161         (-[FrameLoadDelegate init]): Initalize in the correct order.
2162         (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2163         * DumpRenderTree/LayoutTestController.cpp:
2164         (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2165         (encodeHostNameCallback): ditto.
2166         * DumpRenderTree/LayoutTestController.h:
2167         * DumpRenderTree/LayoutTestControllerMac.mm:
2168         (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2169         (LayoutTestController::copyEncodedHostName): ditto
2170         (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2171
2172 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
2173
2174         Reviewed by Geof.
2175
2176         - 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.
2177
2178         * Scripts/run-webkit-tests:
2179
2180 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
2181
2182         Reviewed by Darin.
2183
2184         - Simplified code paths and extracted out functions to increase encapsulation.
2185
2186         * Drosera/DebuggerDocument.cpp:
2187         (DebuggerDocument::breakpointEditorHTMLCallback):
2188         (DebuggerDocument::isPausedCallback):
2189         (DebuggerDocument::pauseCallback):
2190         (DebuggerDocument::resumeCallback):
2191         (DebuggerDocument::stepIntoCallback):
2192         (DebuggerDocument::evaluateScriptCallback):
2193         (DebuggerDocument::currentFunctionStackCallback):
2194         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2195         (DebuggerDocument::valueForScopeVariableNamedCallback):
2196         (DebuggerDocument::logCallback):
2197         * Drosera/DebuggerDocument.h:
2198         (DebuggerDocument::getPaused):
2199         * Drosera/mac/DebuggerClient.mm:
2200         (-[DebuggerClient pause:]):
2201         (-[DebuggerClient resume:]):
2202         (-[DebuggerClient stepInto:]):
2203         (-[DebuggerClient stepOver:]):
2204         (-[DebuggerClient stepOut:]):
2205         (-[DebuggerClient showConsole:]):
2206         (-[DebuggerClient closeCurrentFile:]):
2207         (-[DebuggerClient validateUserInterfaceItem:]):
2208         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2209         (+[NSString stringOrNilFromWebScriptResult:]):
2210         (DebuggerDocument::platformPause):
2211         (DebuggerDocument::platformResume):
2212         (DebuggerDocument::platformStepInto):
2213         (DebuggerDocument::platformEvaluateScript):
2214         (DebuggerDocument::getPlatformCurrentFunctionStack):
2215         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2216         (DebuggerDocument::platformValueForScopeVariableNamed):
2217         (DebuggerDocument::platformLog):
2218         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2219
2220 2007-09-12  Sam Weinig  <sam@webkit.org>
2221
2222         Build fix for Buildbot.
2223
2224         * DumpRenderTree/DumpRenderTree.mm:
2225         (dump):
2226
2227 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
2228
2229         Reviewed by Geoff.
2230
2231         - Updated the leaks list for leopard to help identify regressions.
2232
2233         * Scripts/run-webkit-tests:
2234
2235 2007-09-12  Sam Weinig  <sam@webkit.org>
2236
2237         Rubber stamped by Darin.
2238
2239         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2240
2241         * DumpRenderTree/DumpRenderTree.h: Re-order variables. 
2242         * DumpRenderTree/DumpRenderTree.m: Removed.
2243         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2244         (stopJavaScriptThreads): Fix initialization.
2245         (setDefaultColorProfileToRGB): Add explicit cast from void*.
2246         (dumpRenderTree): Ditto.
2247         (runTest):
2248         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2249
2250         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2251         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2252         * DumpRenderTree/FrameLoadDelegate.m: Removed.
2253         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2254         (-[FrameLoadDelegate init]):
2255         (-[FrameLoadDelegate dealloc]):
2256         (-[FrameLoadDelegate processWork:]):
2257         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2258         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2259         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2260         
2261         * DumpRenderTree/LayoutTestController.cpp: Added.
2262         (LayoutTestController::LayoutTestController):
2263         (LayoutTestController::~LayoutTestController):
2264         (dumpAsTextCallback):
2265         (dumpBackForwardListCallback):
2266         (dumpChildFramesAsTextCallback):
2267         (dumpChildFrameScrollPositionsCallback):
2268         (dumpDOMAsWebArchiveCallback):
2269         (dumpEditingCallbacksCallback):
2270         (dumpFrameLoadCallbacksCallback):
2271         (dumpResourceLoadCallbacksCallback):
2272         (dumpSelectionRectCallback):
2273         (dumpSourceAsWebArchiveCallback):
2274         (dumpTitleChangesCallback):
2275         (repaintSweepHorizontallyCallback):
2276         (setCallCloseOnWebViewsCallback):
2277         (setCanOpenWindowsCallback):
2278         (setCloseRemainingWindowsWhenCompleteCallback):
2279         (testRepaintCallback):
2280         (addFileToPasteboardOnDragCallback):
2281         (addDisallowedURLCallback):
2282         (clearBackForwardListCallback):
2283         (decodeHostNameCallback):
2284         (displayCallback):
2285         (encodeHostNameCallback):
2286         (keepWebHistoryCallback):
2287         (notifyDoneCallback):
2288         (queueBackNavigationCallback):
2289         (queueForwardNavigationCallback):
2290         (queueLoadCallback):
2291         (queueReloadCallback):
2292         (queueScriptCallback):
2293         (setAcceptsEditingCallback):
2294         (setCustomPolicyDelegateCallback):
2295         (setMainFrameIsFirstResponderCallback):
2296         (setTabKeyCyclesThroughElementsCallback):
2297         (setUseDashboardCompatibilityModeCallback):
2298         (setUserStyleSheetEnabledCallback):
2299         (setUserStyleSheetLocationCallback):
2300         (setWindowIsKeyCallback):
2301         (waitUntilDoneCallback):
2302         (windowCountCallback):
2303         (LayoutTestController::makeWindowObject):
2304         (LayoutTestController::getLayoutTestControllerJSClass):
2305         (LayoutTestController::staticFunctions):
2306         * DumpRenderTree/LayoutTestController.h: Replaced.
2307         * DumpRenderTree/LayoutTestController.m: Removed.
2308         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2309         (LayoutTestController::dumpAsText):
2310         (LayoutTestController::dumpBackForwardList):
2311         (LayoutTestController::dumpChildFramesAsText):
2312         (LayoutTestController::dumpChildFrameScrollPositions):
2313         (LayoutTestController::dumpDOMAsWebArchive):
2314         (LayoutTestController::dumpEditingCallbacks):
2315         (LayoutTestController::dumpFrameLoadCallbacks):
2316         (LayoutTestController::dumpResourceLoadCallbacks):
2317         (LayoutTestController::dumpSelectionRect):
2318         (LayoutTestController::dumpSourceAsWebArchive):
2319         (LayoutTestController::dumpTitleChanges):
2320         (LayoutTestController::repaintSweepHorizontally):
2321         (LayoutTestController::setCallCloseOnWebViews):
2322         (LayoutTestController::setCanOpenWindows):
2323         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2324         (LayoutTestController::testRepaint):
2325         (LayoutTestController::addFileToPasteboardOnDrag):
2326         (LayoutTestController::addDisallowedURL):
2327         (LayoutTestController::clearBackForwardList):
2328         (LayoutTestController::decodeHostName):
2329         (LayoutTestController::encodeHostName):
2330         (LayoutTestController::display):
2331         (LayoutTestController::keepWebHistory):
2332         (LayoutTestController::notifyDone):
2333         (LayoutTestController::queueBackNavigation):
2334         (LayoutTestController::queueForwardNavigation):
2335         (LayoutTestController::queueLoad):
2336         (LayoutTestController::queueReload):
2337         (LayoutTestController::queueScript):
2338         (LayoutTestController::setAcceptsEditing):
2339         (LayoutTestController::setCustomPolicyDelegate):
2340         (LayoutTestController::setMainFrameIsFirstResponder):
2341         (LayoutTestController::setTabKeyCyclesThroughElements):
2342         (LayoutTestController::setUseDashboardCompatibilityMode):
2343         (LayoutTestController::setUserStyleSheetEnabled):
2344         (LayoutTestController::setUserStyleSheetLocation):
2345         (LayoutTestController::setWindowIsKey):
2346         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2347         (LayoutTestController::waitUntilDone):
2348         (LayoutTestController::windowCount):
2349         Use the JSCore API to implement the LayoutTestController.
2350
2351         * DumpRenderTree/ObjCController.h:
2352         * DumpRenderTree/ObjCController.m:
2353         (+[ObjCController isSelectorExcludedFromWebScript:]):
2354         (+[ObjCController webScriptNameForSelector:]):
2355         (-[ObjCController accessStoredWebScriptObject]):
2356         (-[ObjCController storeWebScriptObject:]):
2357         (-[ObjCController dealloc]):
2358         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2359         Move WebScriptObject tests to ObjCController.
2360
2361         * DumpRenderTree/UIDelegate.m: Removed.
2362         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2363
2364         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2365         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2366         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2367         (WorkQueueItem::~WorkQueueItem):
2368         (LoadItem::LoadItem):
2369         (LoadItem::url):
2370         (LoadItem::target):
2371         (ScriptItem::ScriptItem):
2372         (ScriptItem::script):
2373         * DumpRenderTree/WorkQueueItemMac.mm: Added.
2374         (LoadItem::invoke):
2375         (ReloadItem::invoke):
2376         (ScriptItem::invoke):
2377         (BackForwardItem::invoke):
2378         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2379         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
2380         sharing code.
2381
2382 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
2383
2384         Reviewed by Maciej.
2385
2386         - Updated Win side to take advantage of the platform separating changes.
2387
2388         * Drosera/DebuggerDocument.cpp:
2389         (DebuggerDocument::localScopeVariableNamesForCallFrame):
2390         * Drosera/DebuggerDocument.h:
2391         * Drosera/win/DebuggerClient.cpp:
2392         (DebuggerClient::pause):
2393         (DebuggerClient::resume):
2394         (DebuggerClient::stepInto):
2395         (DebuggerDocument::platformPause):
2396         (DebuggerDocument::platformResume):
2397         (DebuggerDocument::platformStepInto):
2398         (DebuggerDocument::platformEvaluateScript):
2399         (DebuggerDocument::getPlatformCurrentFunctionStack):
2400         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2401         (DebuggerDocument::platformValueForScopeVariableNamed):
2402         (DebuggerDocument::platformLog):
2403         * Drosera/win/DebuggerClient.h:
2404         * Drosera/win/Drosera.cpp:
2405         (Drosera::Drosera):
2406         (Drosera::windowScriptObjectAvailable):
2407         (Drosera::initWithServerName):
2408         (Drosera::switchToServerNamed):
2409         * Drosera/win/Drosera.h:
2410         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2411
2412 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
2413
2414         Reviewed by Adam.
2415
2416         - Just doing the moves in a separate patch so the changes are easier to see.
2417
2418         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2419         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2420         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2421         * Drosera/win/DebuggerDocumentWin.h: Removed.
2422         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2423
2424 2007-09-11  Sven Herzberg  <sven@imendio.com>
2425
2426         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2427         http://bugs.webkit.org/show_bug.cgi?id=15176
2428
2429         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2430         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2431         other paths eg. from jhbuild)
2432
2433 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
2434
2435         Reviewed by Adam.
2436
2437         - Made an order-of-deletion mistake.
2438
2439         * Drosera/DebuggerDocument.h:
2440         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2441         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2442         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2443         * Drosera/mac/DebuggerClient.mm:
2444         (DebuggerDocument::platformPause):
2445         (DebuggerDocument::platformResume):
2446         (DebuggerDocument::platformStepInto):
2447         (DebuggerDocument::platformEvaluateScript):
2448         (DebuggerDocument::getPlatformCurrentFunctionStack):
2449         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2450         (DebuggerDocument::platformValueForScopeVariableNamed):
2451         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2452
2453 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
2454
2455         Reviewed by Darin.
2456
2457         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2458
2459         * Drosera/DebuggerDocument.cpp:
2460         (DebuggerDocument::DebuggerDocument):
2461         * Drosera/DebuggerDocument.h:
2462         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2463         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2464         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2465         * Drosera/mac/DebuggerApplication.mm:
2466         (-[DebuggerApplication attach:]):
2467         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2468         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2469         (DebuggerDocument::platformPause):
2470         (DebuggerDocument::platformResume):
2471         (DebuggerDocument::platformStepInto):
2472         (DebuggerDocument::platformEvaluateScript):
2473         (DebuggerDocument::getPlatformCurrentFunctionStack):
2474         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2475         (DebuggerDocument::platformValueForScopeVariableNamed):
2476         (DebuggerDocument::platformLog):
2477         * Drosera/mac/DebuggerDocumentMac.h: Removed.
2478         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2479         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2480
2481 2007-09-09  Sam Weinig  <sam@webkit.org>
2482
2483         Reviewed by Mark Rowe.
2484
2485         Remove 'objC' prefix from methods now in the ObjCController. 
2486
2487         * DumpRenderTree/ObjCController.m:
2488         (+[ObjCController isSelectorExcludedFromWebScript:]):
2489         (+[ObjCController webScriptNameForSelector:]):
2490         (-[ObjCController classNameOf:]):
2491         (-[ObjCController objectOfClass:]):
2492         (-[ObjCController identityIsEqual::]):
2493         (-[ObjCController longLongRoundTrip:]):
2494         (-[ObjCController unsignedLongLongRoundTrip:]):
2495
2496 2007-09-09  Sam Weinig  <sam@webkit.org>
2497
2498         Reviewed by Oliver.
2499
2500         Initial refactor of DumpRenderTree in preparation of making it more platform independent. 
2501         - Move LayoutTestController into its own file.
2502         - Move Objective-C only functions on LayoutTestController into a new controller called the
2503           ObjCController. 
2504
2505         * DumpRenderTree/DumpRenderTree.h:
2506         * DumpRenderTree/DumpRenderTree.m:
2507         (displayWebView):
2508         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2509         * DumpRenderTree/FrameLoadDelegate.m:
2510         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2511         * DumpRenderTree/LayoutTestController.h: Added.
2512         * DumpRenderTree/LayoutTestController.m: Added.
2513         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2514         (+[LayoutTestController webScriptNameForSelector:]):
2515         (-[LayoutTestController clearBackForwardList]):
2516         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2517         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2518         (-[LayoutTestController setCustomPolicyDelegate:]):
2519         (-[LayoutTestController keepWebHistory]):
2520         (-[LayoutTestController setCallCloseOnWebViews:]):
2521         (-[LayoutTestController setCanOpenWindows]):
2522         (-[LayoutTestController waitUntilDone]):
2523         (-[LayoutTestController waitUntilDoneWatchdogFired]):
2524         (-[LayoutTestController notifyDone]):
2525         (-[LayoutTestController dumpAsText]):
2526         (-[LayoutTestController addFileToPasteboardOnDrag]):
2527         (-[LayoutTestController addDisallowedURL:]):
2528         (-[LayoutTestController setUserStyleSheetLocation:]):
2529         (-[LayoutTestController setUserStyleSheetEnabled:]):
2530         (-[LayoutTestController dumpDOMAsWebArchive]):
2531         (-[LayoutTestController dumpSourceAsWebArchive]):
2532         (-[LayoutTestController dumpSelectionRect]):
2533         (-[LayoutTestController dumpTitleChanges]):
2534         (-[LayoutTestController dumpBackForwardList]):
2535         (-[LayoutTestController windowCount]):
2536         (-[LayoutTestController dumpChildFrameScrollPositions]):
2537         (-[LayoutTestController dumpChildFramesAsText]):
2538         (-[LayoutTestController dumpEditingCallbacks]):
2539         (-[LayoutTestController dumpResourceLoadCallbacks]):
2540         (-[LayoutTestController dumpFrameLoadCallbacks]):
2541         (-[LayoutTestController setWindowIsKey:]):
2542         (-[LayoutTestController setMainFrameIsFirstResponder:]):
2543         (-[LayoutTestController display]):
2544         (-[LayoutTestController testRepaint]):
2545         (-[LayoutTestController repaintSweepHorizontally]):
2546         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2547         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2548         (-[LayoutTestController _doLoad:target:]):
2549         (-[LayoutTestController _doBackOrForwardNavigation:]):
2550         (-[LayoutTestController queueBackNavigation:]):
2551         (-[LayoutTestController queueForwardNavigation:]):
2552         (-[LayoutTestController queueReload]):
2553         (-[LayoutTestController queueScript:]):
2554         (-[LayoutTestController queueLoad:target:]):
2555         (-[LayoutTestController setAcceptsEditing:]):
2556         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2557         (-[LayoutTestController storeWebScriptObject:]):
2558         (-[LayoutTestController accessStoredWebScriptObject]):
2559         (-[LayoutTestController dealloc]):
2560         (-[LayoutTestController decodeHostName:]):
2561         (-[LayoutTestController encodeHostName:]):
2562         * DumpRenderTree/ObjCController.h: Added.
2563         * DumpRenderTree/ObjCController.m: Added.
2564         (+[ObjCController isSelectorExcludedFromWebScript:]):
2565         (+[ObjCController webScriptNameForSelector:]):
2566         (-[ObjCController objCClassNameOf:]):
2567         (-[ObjCController objCObjectOfClass:]):
2568         (-[ObjCController objCIdentityIsEqual::]):
2569         (-[ObjCController objCLongLongRoundTrip:]):
2570         (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2571         (-[ObjCController testWrapperRoundTripping:]):
2572
2573 2007-09-07  Sam Weinig  <sam@webkit.org>
2574
2575         Reviewed by Alice.
2576
2577         Strip trailing and leading space/newline characters from skiplist file names.
2578
2579         * Scripts/run-webkit-tests:
2580
2581 2007-09-06  Kevin McCullough  <kmccullough@apple.com>
2582
2583         Reviewed by Maciej.
2584
2585         - Changed Drosera to take advantage of the JSRetainPtr changes.
2586
2587         * Drosera/DebuggerDocument.cpp:
2588         (DebuggerDocument::breakpointEditorHTML):
2589         (DebuggerDocument::evaluateScript):
2590         (DebuggerDocument::valueForScopeVariableNamed):
2591         (DebuggerDocument::log):
2592         (DebuggerDocument::windowScriptObjectAvailable):
2593         (DebuggerDocument::toJSArray):
2594         (DebuggerDocument::callFunctionOnObject):
2595         (DebuggerDocument::logException):
2596         * Drosera/mac/DebuggerDocumentMac.mm:
2597         (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2598         (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2599         (DebuggerDocument::platformEvaluateScript):
2600         (DebuggerDocument::getPlatformCurrentFunctionStack):
2601         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2602         (DebuggerDocument::platformValueForScopeVariableNamed):
2603
2604 2007-09-05  Kevin McCullough  <kmccullough@apple.com>
2605
2606         Reviewed by Adam, Sam, Darin.
2607
2608         - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
2609
2610         * Drosera/Debugger.h: Added.
2611         * Drosera/DebuggerDocument.cpp:
2612         (DebuggerDocument::breakpointEditorHTMLCallback):
2613         (DebuggerDocument::isPausedCallback):
2614         (DebuggerDocument::pauseCallback):
2615         (DebuggerDocument::resumeCallback):
2616         (DebuggerDocument::stepIntoCallback):
2617         (DebuggerDocument::evaluateScriptCallback):
2618         (DebuggerDocument::currentFunctionStackCallback):
2619         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2620         (DebuggerDocument::valueForScopeVariableNamedCallback):
2621         (DebuggerDocument::logCallback):
2622         (DebuggerDocument::breakpointEditorHTML):
2623         (DebuggerDocument::isPaused):
2624         (DebuggerDocument::pause):
2625         (DebuggerDocument::resume):
2626         (DebuggerDocument::stepInto):
2627         (DebuggerDocument::evaluateScript):
2628         (DebuggerDocument::currentFunctionStack):
2629         (DebuggerDocument::localScopeVariableNamesForCallFrame):
2630         (DebuggerDocument::valueForScopeVariableNamed):
2631         (DebuggerDocument::log):
2632         (DebuggerDocument::toolbarPause):
2633         (DebuggerDocument::toolbarResume):
2634         (DebuggerDocument::toolbarStepInto):
2635         (DebuggerDocument::toolbarStepOver):
2636         (DebuggerDocument::toolbarStepOut):
2637         (DebuggerDocument::toolbarShowConsole):
2638         (DebuggerDocument::toolbarCloseCurrentFile):
2639         (DebuggerDocument::updateFileSource):
2640         (DebuggerDocument::didParseScript):
2641         (DebuggerDocument::willExecuteStatement):
2642         (DebuggerDocument::didEnterCallFrame):
2643         (DebuggerDocument::willLeaveCallFrame):
2644         (DebuggerDocument::exceptionWasRaised):
2645         (DebuggerDocument::windowScriptObjectAvailable):
2646         (DebuggerDocument::toJSArray):
2647         (DebuggerDocument::callGlobalFunction):
2648         (DebuggerDocument::callFunctionOnObject):
2649         (DebuggerDocument::getDroseraJSClass):
2650         (DebuggerDocument::staticFunctions):
2651         (DebuggerDocument::logException):
2652         * Drosera/DebuggerDocument.h:
2653         (DebuggerDocument::DebuggerDocument):
2654         * Drosera/ForwardingHeaders: Added.
2655         * Drosera/ForwardingHeaders/wtf: Added.
2656         * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2657         * Drosera/config.h:
2658         * Drosera/console.html:
2659         * Drosera/console.js:
2660         * Drosera/debugger.js:
2661         * Drosera/mac/DebuggerApplication.mm:
2662         (-[DebuggerApplication attach:]):
2663         * Drosera/mac/DebuggerDocumentMac.h:
2664         * Drosera/mac/DebuggerDocumentMac.mm:
2665         (+[NSString stringOrNilFromWebScriptResult:]):
2666         (+[DebuggerClientMac log:]):
2667         (-[DebuggerClientMac initWithServerName:]):
2668         (-[DebuggerClientMac dealloc]):
2669         (-[DebuggerClientMac pause]):
2670         (-[DebuggerClientMac resume]):
2671         (-[DebuggerClientMac pause:]):
2672         (-[DebuggerClientMac resume:]):
2673         (-[DebuggerClientMac stepInto:]):
2674         (-[DebuggerClientMac stepOver:]):
2675         (-[DebuggerClientMac stepOut:]):
2676         (-[DebuggerClientMac showConsole:]):
2677         (-[DebuggerClientMac closeCurrentFile:]):
2678         (-[DebuggerClientMac validateUserInterfaceItem:]):
2679         (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
2680         (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2681         (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2682         (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2683         (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2684         (DebuggerDocument::platformPause):
2685         (DebuggerDocument::platformResume):
2686         (DebuggerDocument::platformStepInto):
2687         (DebuggerDocument::platformEvaluateScript):
2688         (DebuggerDocument::platformCurrentFunctionStack):
2689         (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
2690         (DebuggerDocument::platformValueForScopeVariableNamed):
2691         (DebuggerDocument::platformLog):
2692         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2693
2694 2007-09-06  Sam Weinig  <sam@webkit.org>
2695
2696         Reviewed by Adam Roben.
2697
2698         Register the WebKit DLL on initialization of the DumpRenderTree.
2699
2700         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2701         (initialize):
2702
2703 2007-09-05  Sam Weinig  <sam@webkit.org>
2704
2705         Reviewed by Oliver.
2706
2707         Fix many layout test failures caused by r25364.
2708         Set text size to standand size at the begining of each test matching the mac.
2709
2710         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2711         (runTest):
2712
2713 2007-09-04  Sam Weinig  <sam@webkit.org>
2714
2715         Reviewed by Adam.
2716
2717         Fix for <rdar://problem/5382277>
2718         Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
2719
2720         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
2721         (textZoomInCallback):
2722         (textZoomOutCallback):
2723
2724 2007-08-29  David Kilzer  <ddkilzer@apple.com>
2725
2726         Reviewed by Adam.
2727
2728         Added case-insensitivity to checks for adding regression tests.
2729
2730         * Scripts/prepare-ChangeLog:
2731         (generateFileList):
2732
2733 2007-08-28  David Kilzer  <ddkilzer@apple.com>
2734
2735         Reviewed by Maciej.
2736
2737         Ignore files in /resources/ subdirectories when creating a list of added tests.
2738
2739         * Scripts/prepare-ChangeLog:
2740         (generateFileList):
2741
2742 2007-08-27  Kevin McCullough  <kmccullough@apple.com>
2743
2744         Reviewed by John.
2745
2746         - Removed Leopard leaks list since all of those radars were fixed.
2747
2748         * Scripts/run-webkit-tests:
2749
2750 2007-08-27  Adam Roben  <aroben@apple.com>
2751
2752         Rubberstamped by Mark.
2753
2754         * Scripts/pdevenv: Pass arguments along to devenv.com.
2755
2756 2007-08-26  David Kilzer  <ddkilzer@webkit.org>
2757
2758         Reviewed by Mark Rowe.
2759
2760         Update prepare-ChangeLog to generate the datestamp in the correct timezone.
2761
2762         * Scripts/prepare-ChangeLog:
2763         (changeLogDate): Added.
2764
2765 2007-08-24  Sam Weinig  <sam@webkit.org>
2766
2767         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2768
2769 2007-08-24  Sam Weinig  <sam@webkit.org>
2770
2771         Rubber-stamped by Adam Roben.
2772
2773         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2774
2775         Rename COM DOM bindings to use Deprecated prefix.
2776
2777         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2778         (dumpFramesAsText):
2779         (dump):
2780         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
2781         (dumpPath):
2782         (dump):
2783         (EditingDelegate::shouldBeginEditingInDOMRange):
2784         (EditingDelegate::shouldEndEditingInDOMRange):
2785         (EditingDelegate::shouldInsertNode):
2786         (EditingDelegate::shouldInsertText):
2787         (EditingDelegate::shouldDeleteDOMRange):
2788         (EditingDelegate::shouldChangeSelectedDOMRange):
2789         (EditingDelegate::shouldApplyStyle):
2790         (EditingDelegate::shouldChangeTypingStyle):
2791         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
2792
2793 2007-08-24  Oliver Hunt  <oliver@apple.com>
2794
2795         Reviewed by John H.
2796
2797         WebDataSource::response can legitimately have a null response, so we
2798         must check that case.
2799
2800         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2801         (queueLoadCallback):
2802
2803 2007-08-23  Mitz Pettel  <mitz@webkit.org>
2804
2805         Reviewed by Darin and Adam.
2806
2807         - DumpRenderTree changes to allow testing for
2808           http://bugs.webkit.org/show_bug.cgi?id=11756
2809           REGRESSION: link targeting a frame in another window does not work
2810           <rdar://problem/5286420>
2811
2812         Use a frame group name for all WebViews created by DumpRenderTree to
2813         allow testing of cross-page frame lookup.
2814
2815         * DumpRenderTree/DumpRenderTree.m:
2816         (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
2817         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2818         (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
2819
2820 2007-08-23  David Kilzer  <ddkilzer@webkit.org>
2821
2822         Reviewed by Adam.
2823
2824         Quote the $sslCertificate path in case it contains a space.
2825
2826         * Scripts/run-webkit-httpd:
2827         * Scripts/run-webkit-tests:
2828
2829 2007-08-22  Oliver Hunt  <oliver@apple.com>
2830
2831         Reviewed by John and Adam.
2832         
2833         WebDataSource::response can legitimately have a null response, so we
2834         must check that case.
2835
2836         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2837         (dump):
2838
2839 2007-08-21  Kevin McCullough  <kmccullough@apple.com>
2840
2841         Reviewed by Geof.
2842
2843         - Changing the usage to be more clear.
2844
2845         * Scripts/run-testkjs:
2846
2847 2007-08-20  John Sullivan  <sullivan@apple.com>
2848
2849         Reviewed by Adam Roben
2850
2851         * DumpRenderTree/DumpRenderTree.m:
2852         (runTest):
2853         call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
2854         in layout tests on Tiger and Leopard
2855
2856 2007-08-20  Adam Roben  <aroben@apple.com>
2857
2858         Put LayoutTests after all other ChangeLogs in commit logs
2859
2860         We use "~" to sort LayoutTests after all the other ChangeLogs because
2861         "~" is the last ASCII character (other than "DEL").
2862
2863         Reviewed by Sam.
2864
2865         * Scripts/commit-log-editor:
2866
2867 2007-08-20  Adam Roben  <aroben@apple.com>
2868
2869         Detect that DRT crashed even if a crash dialog is running
2870
2871         On Windows, when DRT crashes a crash dialog commonly appears. The DRT
2872         process is still running at this point, so run-webkit-tests wouldn't
2873         detect that DRT had crashed. We now record the crash in our SIGPIPE
2874         handler so that we know if DRT crashed even if the crash dialog is up.
2875
2876         Reviewed by Sam.
2877
2878         * Scripts/run-webkit-tests:
2879         (sub catch_pipe): Set the crashed bit.
2880         (sub openDumpTool): Reset the crashed bit.
2881         (sub dumpToolDidCrash): Check the crashed bit.
2882
2883 2007-08-20  Adam Roben  <aroben@apple.com>
2884
2885         Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
2886
2887         http://bugs.webkit.org/show_bug.cgi?id=15026
2888
2889         Reviewed by David Kilzer and Darin Adler.
2890
2891         * Scripts/prepare-ChangeLog:
2892         (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
2893         (sub isAddedStatus): Ditto.
2894         (sub testListForChangeLog): Added.
2895
2896 2007-08-19  Oleg Sukhodolsky  <son.two@gmail.com>
2897
2898         Reviewed by Mark.
2899
2900         -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
2901
2902         * Scripts/webkitdirs.pm:
2903         qt and gtk ports now explicitly pass debug (or release) mode to qmake.
2904
2905 2007-08-17  Darin Adler  <darin@apple.com>
2906
2907         Reviewed by Oliver Hunt.
2908
2909         - don't look for Apple-style localizable strings in the GTK version of WebKit
2910
2911         * Scripts/extract-localizable-strings: Add a feature where you can pass in the
2912         name of subdirectories to skip.
2913         * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
2914         to skip.
2915
2916 2007-08-17  Anders Carlsson  <andersca@apple.com>
2917
2918         Build fix.
2919         
2920         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2921         (NPP_SetWindow):
2922
2923 2007-08-17  Anders Carlsson  <andersca@apple.com>
2924
2925         Reviewed by Dave Hyatt.
2926
2927         <rdar://problem/5379040>
2928         REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
2929
2930         Add a way for the plug-in to dump the width and height when it gets its  NPP_SetWindow call.
2931         
2932         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2933         (pluginAllocate):
2934         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2935         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2936         (NPP_New):
2937         (NPP_SetWindow):
2938
2939 2007-08-16  Alice Liu  <alice.liu@apple.com>
2940
2941         Reviewed by Maciej.
2942
2943         Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
2944
2945         * DumpRenderTree/DumpRenderTree.m:
2946         (createWebView):
2947         Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
2948         (dumpRenderTree):
2949         Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow. 
2950
2951 2007-08-16  Kevin McCullough  <kmccullough@apple.com>
2952
2953         Reviewed by Adam.
2954
2955         - 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.
2956
2957         * Scripts/run-webkit-tests:
2958
2959 2007-08-15  Timothy Hatcher  <timothy@apple.com>
2960
2961         Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
2962         The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
2963
2964         Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
2965         this prevents making "build" directories in each project folder.
2966
2967         * Scripts/webkitdirs.pm:
2968
2969 2007-08-14  Geoffrey Garen  <ggaren@apple.com>
2970
2971         Reviewed by Kevin Mccullough.
2972         
2973         Removed special case that didn't belong. (It would allow a global 
2974         initializer to sneak into production builds, which would cause a 
2975         system-wide performance regression on Mac OS X.)
2976
2977         * Scripts/check-for-global-initializers:
2978
2979 2007-08-14  Justin Garcia  <justin.garcia@apple.com>
2980
2981         Reviewed by Tim.
2982         
2983         <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
2984
2985         * DumpRenderTree/EditingDelegate.m:
2986         (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
2987         only for elements with the class needsDeletionUI.
2988
2989 2007-08-14  David Kilzer  <ddkilzer@webkit.org>
2990
2991         Reviewed by Darin.
2992
2993         - fix http://bugs.webkit.org/show_bug.cgi?id=14965
2994           svn-create-patch uses deprecated tail switch
2995
2996         * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
2997
2998 2007-08-13  Sam Weinig  <sam@webkit.org>
2999
3000         Reviewed by Adam Roben.
3001
3002         Use the cygwin specific Apache config file under cygwin.
3003
3004         * Scripts/run-webkit-httpd:
3005
3006 2007-08-12  Adam Roben  <aroben@apple.com>
3007
3008         Generate results for new tests in a more logical location
3009
3010         New platform-specific tests always have their results generated right
3011         next to the test. New cross-platform tests will have their results
3012         generated a) in the cross-platform directory, if they are text-only,
3013         or b) in the least-specific platform directory, if they are render
3014         tree dumps.
3015
3016         Reviewed by Lars.
3017
3018         * Scripts/run-webkit-tests:
3019
3020 2007-08-12  Adam Roben  <aroben@apple.com>
3021
3022         Print the actual directory where new results are generated.
3023
3024         Before, we were printing an unpredictable, context-specific substring
3025         of the directory.
3026
3027         Reviewed by Lars.
3028
3029         * Scripts/run-webkit-tests:
3030
3031 2007-08-12  Adam Roben  <aroben@apple.com>
3032
3033         Factor some common code into a stripExtension() subroutine.
3034
3035         Reviewed by Lars.
3036
3037         * Scripts/run-webkit-tests: Also removed some debugging output.
3038
3039 2007-08-11  Matt Lilek  <pewtermoose@gmail.com>
3040
3041         Reviewed over and over and over by Adam Roben.
3042
3043         Bug 14740: Hierarchical layout tests and platform organization
3044         http://bugs.webkit.org/show_bug.cgi?id=14740
3045
3046         Add support for platform-specific layout tests and results.
3047
3048         * Scripts/run-webkit-tests:
3049
3050 2007-08-11  David Kilzer  <ddkilzer@webkit.org>
3051
3052         Reviewed by Adam.
3053
3054         Refactored svn-create-path to use a hash-of-hashes data structure to keep
3055         track of changed files.  In the top level hash, keys are paths to files and
3056         values are 'fileData' hashes with the following keys and values:
3057
3058         - isBinary: boolean value (set to true for non-text files like images, etc.)
3059         - isTestFile: boolean value (set to true if file exists within a known test
3060           directory)
3061         - modificationType: string equal to one of 'addition', 'additionWithHistory',
3062           'modification' or 'deletion'
3063         - path: string equal to the path to the file (this may seem redundant, but it
3064           is required to use the second-level 'fileData' hash independent of the
3065           top-level hash)
3066         - sourceFile: [optional] string equal to the path of the original file that was
3067           copied or moved
3068         - sourceRevision: [optional] string equal to the revision of the original file
3069           that was copied or moved
3070
3071         * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3072         that saves the return value in $result, then checks it before printing help.
3073         Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3074         and eliminated two for() loops.
3075         (binarycmp): Added.  Used with sort() to order non-binary files before binary
3076         files.
3077         (findBaseUrl): Added.  Extracted from findSourceFileAndRevision().
3078         (findMimeType): Added optional second argument that takes a revision number.
3079         (generateDiff): Updated to take one fileData argument instead of three ($file,
3080         $modificationType, $isBinary).
3081         (generateFileList): Updated to take one hash ref argument (%diffFiles)
3082         instead of three (%sourceFiles, %testFiles, %binaryFiles).  Populates
3083         %diffFiles using paths for keys and fileData hashes for values.
3084         (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3085         argument.
3086         (pathcmp): Updated to take two fileData arguments instead of two strings.
3087         (testfilecmp): Added.  Used with sort() to order non-test files before test
3088         files.
3089
3090 2007-08-11  Darin Adler  <darin@apple.com>
3091
3092         * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3093
3094 2007-08-06  Nigel Tao  <nigeltao@gnome.org>
3095
3096         Reviewed by David Kilzer.
3097
3098         Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3099         http://bugs.webkit.org/show_bug.cgi?id=14745
3100
3101         * Scripts/run-launcher:
3102         Scrub the "--gdk" out of the command line args, if given, so that
3103         GdkLauncher doesn't try to interpret it as a URL.
3104
3105 2007-08-03  Adam Roben  <aroben@apple.com>
3106
3107         Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3108
3109         Reviewed by Sam.
3110
3111         * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3112
3113 2007-08-03  Sam Weinig  <sam@webkit.org>
3114
3115         Reviewed by Darin.
3116
3117         Recursively dump all frames as text using new
3118         layoutTestController.dumpChildFramesAsText() function.
3119
3120         * DumpRenderTree/DumpRenderTree.m:
3121         (dumpFramesAsText):
3122         (dump):
3123         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3124         (-[LayoutTestController dumpChildFramesAsText]):
3125         (runTest):
3126         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3127         (dumpFramesAsText):
3128         (dump):
3129         (runTest):
3130         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3131         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3132         (dumpChildFramesAsTextCallback):
3133         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3134
3135 2007-08-02  Adam Roben  <aroben@apple.com>
3136
3137         Fix fast/dom/Window/alert-undefined.html
3138
3139         Reviewed by Sam.
3140
3141         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3142         (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3143         Windows translate a null BSTR into "(null)"
3144
3145 2007-08-02  Kevin McCullough  <kmccullough@apple.com>
3146
3147         Reviewed by Tim. 
3148
3149         - It would help if I actually called the right function.
3150
3151         * Drosera/DebuggerDocument.cpp:
3152         (DebuggerDocument::showConsole):
3153
3154 2007-08-02  Adam Roben  <aroben@apple.com>
3155
3156         Don't delete the stderr file right after creating it
3157
3158         Reviewed by NOBODY.
3159
3160         * Scripts/run-webkit-tests:
3161
3162 2007-08-01  Adam Roben  <aroben@apple.com>
3163
3164         When DRT crashes, record stderr and restart DRT
3165
3166         This prevents a DRT crash from causing the next few hundred tests to
3167         "fail" because DRT is no longer running. 
3168
3169         I also changed the terminology that run-webkit-tests uses in its
3170         output a bit, so that crashing tests are referred to as "crashes"
3171         instead of "failures".
3172
3173         Reviewed by Mark.
3174
3175         * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3176         failure.
3177         (sub openDumpTool): Use open3 so that we can access stderr.
3178         (sub dumpToolCrashed): Added.
3179         (sub printFailureMessageForTest): Added.
3180         (sub htmlForExpectedAndActualResults): Added.
3181         (sub deleteExpectedAndActualResults): Added.
3182         (sub recordActualResultsAndDiff): Added.
3183
3184 2007-07-30  Darin Adler  <darin@apple.com>
3185
3186         Reviewed by Tim Hatcher.
3187
3188         * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3189         characters. This turned out not to be needed for the test case that motivated me to
3190         do it, but it's nice to have this for the future.
3191
3192 2007-07-30  Simon Hausmann  <hausmann@kde.org>
3193
3194         Reviewed by Lars.
3195
3196         Link QtLauncher into $$OUTPUT_DIR/bin
3197
3198         * Scripts/run-launcher:
3199
3200 2007-07-27  David Kilzer  <ddkilzer@apple.com>
3201
3202         Reviewed by Geoff and Darin.
3203
3204         Use a subroutine for validating the --skipped switch.
3205
3206         * Scripts/run-webkit-tests:
3207
3208 2007-07-27  Darin Adler  <darin@apple.com>
3209
3210         Reviewed by Sam.
3211
3212         * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3213
3214 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
3215
3216         Reviewed by Mark.
3217
3218         Correct the path of GdkLauncher and make checkFrameworks work on OSX
3219         when building the Qt or Gtk+ port.
3220
3221         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3222         * Scripts/run-launcher:
3223         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3224
3225 2007-07-27  Simon Hausmann  <hausmann@kde.org>
3226
3227         Done with and reviewed by Lars and Zack.
3228
3229         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.
3230
3231         * Scripts/webkitdirs.pm:
3232
3233 2007-07-27  Simon Hausmann  <hausmann@kde.org>
3234
3235         Done with and reviewed by Lars and Zack.
3236
3237         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.
3238
3239         * Scripts/webkitdirs.pm:
3240
3241 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
3242
3243         Reviewed by Darin, Geoff, Sam.
3244
3245         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3246
3247         - 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.
3248
3249         * DumpRenderTree/UIDelegate.h:
3250         * DumpRenderTree/UIDelegate.m:
3251         (-[UIDelegate webView:setFrame:]):
3252         (-[UIDelegate webViewFrame:]):
3253
3254 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
3255
3256         Reviewed by Adam.
3257
3258         - Lars wanted this check for Qt but it breaks platform specific layout tests.
3259
3260         * Scripts/run-webkit-tests:
3261
3262 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
3263
3264         Reviewed by Tim, Darin, Oliver.
3265
3266         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3267         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3268
3269         * ChangeLog:
3270         * DumpRenderTree/DumpRenderTree.m:
3271         (createWebView):
3272         (dumpRenderTree):
3273         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3274         (+[LayoutTestController webScriptNameForSelector:]):
3275         (-[LayoutTestController setCustomPolicyDelegate:]):
3276         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3277         * DumpRenderTree/FrameLoadDelegate.h:
3278         * DumpRenderTree/PolicyDelegate.h: Added.
3279         * DumpRenderTree/PolicyDelegate.m: Added.
3280         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3281         * DumpRenderTree/ResourceLoadDelegate.h:
3282
3283 2007-07-25  Adam Treat  <treat@kde.org>
3284
3285         Reviewed by Niko.
3286
3287         Fix build for some reported systems.
3288
3289         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3290
3291 2007-07-23  Adam Treat  <treat@kde.org>
3292
3293         Reviewed by Nikolas.
3294
3295         Fix qt DRT to suppress js popup alerts and log instead.
3296
3297         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3298         (WebCore::WebPage::javaScriptAlert):
3299
3300 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
3301
3302         Reviewed by Adam.
3303
3304         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3305         honor --qmakearg for the Gdk/Gtk build as well.
3306
3307         * GdkLauncher/main.cpp: Switch to the new API
3308         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
3309
3310 2007-07-22  Darin Adler  <darin@apple.com>
3311
3312         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
3313         Fix a leak by releasing the array used here.
3314
3315 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
3316
3317         Reviewed by Darin.
3318
3319         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
3320           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
3321
3322         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
3323         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
3324
3325         * Scripts/update-iexploder-cssproperties: Added.
3326         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
3327         Added new CSS3 property section and Moved box-sizing property to it.
3328
3329 2007-07-22  Oliver Hunt  <oliver@apple.com>
3330
3331         Reviewed by Darin.
3332
3333         http://bugs.webkit.org/show_bug.cgi?id=14710
3334
3335         Add preliminary support for testing Input Method/WebKit behaviour and interaction 
3336         in DRT.  This provides the NSTextInput API which is most of what should be necessary
3337         to mimic the event sequences Input Methods trigger.
3338
3339         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3340         * DumpRenderTree/TextInputController.h:
3341         * DumpRenderTree/TextInputController.m:
3342         (-[WebHTMLView interpretKeyEvents:]):
3343         (+[TextInputController isSelectorExcludedFromWebScript:]):
3344         (+[TextInputController webScriptNameForSelector:]):
3345         (-[TextInputController initWithWebView:]):
3346         (-[TextInputController dealloc]):
3347         (-[TextInputController textInput]):
3348         (-[TextInputController setInputMethodHandler:]):
3349         (-[TextInputController interpretKeyEvents:withSender:]):
3350
3351 2007-07-20  Adam Roben  <aroben@apple.com>
3352
3353         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
3354         message not count as an existing log.
3355
3356 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
3357
3358         Reviewed by Darin Adler.
3359         
3360         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return 
3361         value behavior of stringByEvaluatingJavaScriptFromString
3362
3363         * DumpRenderTree/DumpRenderTree.m:
3364         (testStringByEvaluatingJavaScriptFromString):
3365         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3366
3367 2007-07-19  Adam Roben  <aroben@apple.com>
3368
3369         Make commit-log-editor work with git
3370
3371         Reviewed by Sam.
3372
3373         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
3374         commit message template. Also removed the unused $breakPoint variable.
3375
3376 2007-07-19  Adam Roben  <aroben@apple.com>
3377
3378         Move generally-useful VCS code into a new VCSUtils.pm module
3379
3380         This is in preparation for making commit-log-editor git-friendly.
3381
3382         Reviewed by Sam.
3383
3384         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
3385         * Scripts/prepare-ChangeLog: Use VCSUtils.
3386
3387 2007-07-19  Lars Knoll <lars@trolltech.com>
3388
3389         Fix a crash on exit when running DRT against a current
3390         Qt 4.4 snapshot.
3391
3392         Reviewed by Zack
3393
3394         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3395         (main):
3396
3397 2007-07-18  Adam Roben  <aroben@apple.com>
3398
3399         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
3400
3401         Reviewed by Mark.
3402
3403         * Scripts/run-webkit-httpd:
3404         * Scripts/run-webkit-tests:
3405
3406 2007-07-18  Adam Roben  <aroben@apple.com>
3407
3408         More git friendliness for prepare-ChangeLog
3409
3410         The overall change is to remove the use of git-status and replace it
3411         with git-diff --name-status (which we were already using in the
3412         --git-commit case).
3413
3414         This lets us respect directories specified on the command line when
3415         using git, just as we do for Subversion. It also speeds things up a
3416         bit, especially in the subdirectory case, as git-status is pretty slow.
3417
3418         I also fixed some issues where we wouldn't detect copied files and
3419         would reverse the new filename and the original filename for renamed files.
3420
3421         Reviewed by Mark.
3422
3423         * Scripts/prepare-ChangeLog:
3424         (sub diffFromToString): Added.
3425         (sub diffCommand): Don't append the paths in the --git-commit case, as
3426         we should be operating on the entire commit.
3427         (sub statusCommand): Always use git-diff --name-status, and added an
3428         extra -C option to git-diff to make it find a few more copied files.
3429         (sub createPatchCommand): Collapsed the two git cases a bit, and added
3430         the extra -C option as above.
3431         (sub generateFileList): Remove the git-status codepath, and recognize
3432         file copies in the --name-status output.
3433         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3434         dictionary.
3435         (sub isConflictStatus): Updated the git dictionary.
3436         (sub statusDescription): Updated the git dictionary.
3437
3438 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3439
3440         * Scripts/build-drosera: Update where we look for the Xcode project.
3441
3442 2007-07-18  Adam Treat <treat@kde.org>
3443
3444         Reviewed by bdash.
3445
3446         Use the old wording for Safari.
3447
3448         * Scripts/build-webkit:
3449         * Scripts/webkitdirs.pm:
3450
3451 2007-07-18  Adam Treat <treat@kde.org>
3452
3453         Reviewed by bdash.
3454
3455         Add convenience script for launching test apps for Qt and Gdk ports.
3456         Change the build-webkit script accordingly.
3457
3458         * Scripts/build-webkit:
3459         * Scripts/run-launcher: Added.
3460         * Scripts/webkitdirs.pm:
3461
3462 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3463
3464         Reviewed by Adam.
3465
3466         Make the Page with the now required InspectorClient.
3467
3468         * GdkLauncher/main.cpp:
3469         (main):
3470
3471 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3472
3473         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3474         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3475
3476         * Drosera/Makefile: Added.
3477         * Drosera/mac/Makefile:
3478         * DumpRenderTree/Makefile:
3479         * Makefile:
3480         * Makefile.Drosera: Removed.
3481         * Makefile.shared: Removed.
3482
3483 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3484
3485         The console log was 20px down from the top for no reason, move it up.
3486
3487         * Drosera/console.css:
3488
3489 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3490
3491         Use contentDocument to get the source view's iframe document.
3492         Also adds a null/undefined check for localVariableNames.
3493
3494         * Drosera/debugger.js:
3495
3496 2007-07-18  Lars Knoll <lars@trolltech.com>
3497
3498         We really don't want to compare non text only tests to the 
3499         Mac results if we don't have a result for Qt, as this would
3500         give a failure and not a notification that the test is new.
3501
3502         Reviewed by Zack
3503
3504         * Scripts/run-webkit-tests:
3505
3506 2007-07-18  Lars Knoll <lars@trolltech.com>
3507
3508         Reviewed by Zack & Simon
3509
3510         Adjust to changed API in QWebFrame
3511
3512         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3513         (WebCore::DumpRenderTree::DumpRenderTree):
3514
3515 2007-07-18  Mark Rowe  <mrowe@apple.com>
3516
3517         Update path to the Drosera Xcode project now that it has moved into a subdirectory.
3518
3519         * BuildSlaveSupport/build-launcher-app:
3520
3521 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
3522
3523         Reviewed by Antti Koivisto.
3524         
3525         Added watchdog timer to waitUntilDone to prevent a run-away test from
3526         hanging the test harness.
3527
3528         * DumpRenderTree/DumpRenderTree.m:
3529         (dump):
3530         (-[LayoutTestController waitUntilDone]):
3531         (-[LayoutTestController waitUntilDoneWatchdogFired]):
3532         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3533
3534 2007-07-17  Kevin McCullough  <kmccullough@apple.com>
3535
3536         Reviewed by Adam.
3537
3538         - Implemented cross-platform code for functions calling into the JavaScript.
3539
3540         * Drosera/DebuggerDocument.cpp:
3541         (DebuggerDocument::callAsFunction):
3542         (DebuggerDocument::pauseJS):
3543         (DebuggerDocument::resumeJS):
3544         (DebuggerDocument::stepIntoJS):
3545         (DebuggerDocument::stepOverJS):
3546         (DebuggerDocument::stepOutJS):
3547         (DebuggerDocument::showConsoleJS):
3548         (DebuggerDocument::closeCurrentFileJS):
3549         (DebuggerDocument::updateFileSource):
3550         (DebuggerDocument::didParseScript):
3551         (DebuggerDocument::willExecuteStatement):
3552         (DebuggerDocument::didEnterCallFrame):
3553         (DebuggerDocument::willLeaveCallFrame):
3554         (DebuggerDocument::exceptionWasRaised):
3555         * Drosera/DebuggerDocument.h:
3556         * Drosera/mac/DebuggerDocumentMac.mm:
3557         (-[DebuggerDocumentMac pause:]):
3558         (-[DebuggerDocumentMac resume:]):
3559         (-[DebuggerDocumentMac stepInto:]):
3560         (-[DebuggerDocumentMac stepOver:]):
3561         (-[DebuggerDocumentMac stepOut:]):
3562         (-[DebuggerDocumentMac showConsole:]):
3563         (-[DebuggerDocumentMac closeCurrentFile:]):
3564         (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
3565         (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3566         (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3567         (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3568         (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3569         (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3570
3571 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
3572
3573         Reviewed by Darin.
3574
3575         - Continued x-platform modifications.
3576
3577         * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
3578         * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
3579         * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
3580         * Drosera/win/DebuggerObjectCallbacks.h: Removed.
3581         * Drosera/win/Drosera.cpp:
3582         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3583         * Drosera/win/stdafx.cpp: Removed.
3584         * Drosera/win/stdafx.h: Removed.
3585
3586 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
3587
3588         Reviewed by Sam.
3589
3590         - Modified files to use cross-platform code.
3591
3592         * Drosera/DebuggerDocument.cpp: Added.
3593         (DebuggerDocument::breakpointEditorHTML):
3594         (DebuggerDocument::isPaused):
3595         (DebuggerDocument::pause):
3596         (DebuggerDocument::resume):
3597         (DebuggerDocument::stepInto):
3598         (DebuggerDocument::evaluateScript):
3599         (DebuggerDocument::currentFunctionStack):
3600         (DebuggerDocument::localScopeVariableNamesForCallFrame):
3601         (DebuggerDocument::valueForScopeVariableNamed):
3602         * Drosera/DebuggerDocument.h: Added.
3603         (DebuggerDocument::DebuggerDocument):
3604         * Drosera/config.h: Added.
3605         * Drosera/mac/DebuggerApplication.mm:
3606         (-[DebuggerApplication attach:]):
3607         * Drosera/mac/DebuggerDocument.h: Removed.
3608         * Drosera/mac/DebuggerDocument.mm: Removed.
3609         * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
3610         * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
3611         (-[DebuggerDocumentMac initWithServerName:]):
3612         (-[DebuggerDocumentMac dealloc]):
3613         (-[DebuggerDocumentMac breakpointEditorHTML]):
3614         (-[DebuggerDocumentMac isPaused]):
3615         (-[DebuggerDocumentMac pause]):
3616         (-[DebuggerDocumentMac resume]):
3617         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3618         * Drosera/win/DebuggerApplication.cpp:
3619         * Drosera/win/DebuggerObjectCallbacks.cpp:
3620         (breakpointEditorHTMLCallback):
3621         (currentFunctionStackCallback):
3622         (evaluateScript_inCallFrame_Callback):
3623         (isPausedCallback):
3624         (localScopeVariableNamesForCallFrame_Callback):
3625         (pauseCallback):
3626         (resumeCallback):
3627         (stepIntoCallback):
3628         (valueForScopeVariableNamed_inCallFrame_Callback):
3629         (staticFunctions):
3630         * Drosera/win/Drosera.cpp:
3631         * Drosera/win/DroseraPrefix.cpp: Added.
3632         * Drosera/win/DroseraPrefix.h: Added.
3633
3634 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
3635
3636         Reviewed by Adam, Sam and Tim.
3637
3638         - Moving files to prepare for cross-platform architecture.
3639
3640         * Drosera/DebuggerApplication.h: Removed.
3641         * Drosera/DebuggerApplication.m: Removed.
3642         * Drosera/DebuggerDocument.h: Removed.
3643         * Drosera/DebuggerDocument.m: Removed.
3644         * Drosera/Drosera.pch: Removed.
3645         * Drosera/Drosera.xcodeproj: Removed.
3646         * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
3647         * Drosera/Info.plist: Removed.
3648         * Drosera/LauncherInfo.plist: Removed.
3649         * Drosera/Makefile: Removed.
3650         * Drosera/launcher.m: Removed.
3651         * Drosera/mac: Added.
3652         * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
3653         * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
3654         * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
3655         * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
3656         * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
3657         * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
3658         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3659         * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
3660         * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
3661         * Drosera/mac/Makefile: Copied from Drosera/Makefile.
3662         * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
3663         * Drosera/mac/main.m: Copied from Drosera/main.m.
3664         * Drosera/main.m: Removed.
3665         * Makefile:
3666         * Makefile.Drosera: Added.
3667
3668 2007-07-15  Mark Rowe  <mrowe@apple.com>
3669
3670         * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
3671
3672 2007-07-13  Sam Weinig  <sam@webkit.org>
3673
3674         Reviewed by Geoff Garen.
3675
3676         Add support for running SSL tests over HTTPS.
3677
3678         * DumpRenderTree/DumpRenderTree.m:
3679         (runTest):
3680         * DumpRenderTree/FrameLoadDelegate.m:
3681         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3682         * Scripts/run-webkit-httpd:
3683         * Scripts/run-webkit-tests:
3684
3685 2007-07-13  David Kilzer  <ddkilzer@apple.com>
3686
3687         Reviewed by Darin.
3688
3689         Added support for -h|--help argument and verify that all command line arguments parse
3690         correctly.
3691
3692         * Scripts/run-webkit-httpd:
3693
3694 2007-07-12  Mark Rowe  <mrowe@apple.com>
3695
3696         Reviewed by Ada.
3697
3698         Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
3699
3700         * Scripts/run-webkit-tests:
3701
3702 2007-07-12  Geoffrey Garen  <ggaren@apple.com>
3703
3704         Reviewed by Oliver Hunt.
3705         
3706         Made the leaks tests pass on Leopard.
3707
3708         * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
3709         * Scripts/run-leaks: Updated parser for slight change in text output.
3710
3711 2007-07-11  David Kilzer  <ddkilzer@apple.com>
3712
3713         Reviewed by Maciej.
3714
3715         Update the iExploder list of CSS properties after box-sizing was renamed to
3716         -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
3717
3718         * iExploder/htdocs/cssproperties.in:  Added -webkit-box-sizing.  Both box-sizing and
3719         -moz-box-sizing remain.
3720
3721 2007-07-10  Darin Adler  <darin@apple.com>
3722
3723         * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
3724         Foundation's multipart/mixed-replace support -- I already verified that
3725         the bug has been fixed.
3726
3727 2007-07-10  Alice Liu  <alice.liu@apple.com>
3728
3729         rubber stamped by Maciej.
3730
3731         fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
3732
3733         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3734         (initializePreferences):
3735         set editable link behavior to match Mac DRT. 
3736
3737 2007-07-10  Geoffrey Garen  <ggaren@apple.com>
3738
3739         Reviewed by Tim Hatcher.
3740
3741         Ignore Page.o in debug builds because it now has a static PageCounter
3742         object.
3743
3744         * Scripts/check-for-global-initializers:
3745
3746 2007-07-09  Darin Adler  <darin@apple.com>
3747
3748         * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
3749
3750 2007-07-09  Alice Liu  <alice.liu@apple.com>
3751
3752         Reviewed by Adam Roben.
3753
3754         setting DOM Paste Allowed Pref 
3755
3756         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3757         (initializePreferences):
3758
3759 2007-07-05  Kevin McCullough  <kmccullough@apple.com>
3760
3761         Reviewed by Adam, Sam, and Ada.
3762
3763         - Inital checkin of Drosera for Win.  This isn't pretty and doesn't connect to Safari but debug builds and runs.
3764
3765         * Drosera/Images/Drosera.ico: Added.
3766         * Drosera/Images/small.ico: Added.
3767         * Drosera/win: Added.
3768         * Drosera/win/BaseDelegate.h: Added.
3769         (BaseDelegate::QueryInterface):
3770         (BaseDelegate::didFinishLoadForFrame):
3771         (BaseDelegate::windowScriptObjectAvailable):
3772         (BaseDelegate::didStartProvisionalLoadForFrame):
3773         (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
3774         (BaseDelegate::didFailProvisionalLoadWithError):
3775         (BaseDelegate::didCommitLoadForFrame):
3776         (BaseDelegate::didReceiveTitle):
3777         (BaseDelegate::didReceiveIcon):
3778         (BaseDelegate::didFailLoadWithError):
3779         (BaseDelegate::didChangeLocationWithinPageForFrame):
3780         (BaseDelegate::willPerformClientRedirectToURL):
3781         (BaseDelegate::didCancelClientRedirectForFrame):
3782         (BaseDelegate::willCloseFrame):
3783         (BaseDelegate::createWebViewWithRequest):
3784         (BaseDelegate::webViewShow):
3785         (BaseDelegate::webViewClose):
3786         (BaseDelegate::webViewFocus):
3787         (BaseDelegate::webViewUnfocus):
3788         (BaseDelegate::webViewFirstResponder):
3789         (BaseDelegate::makeFirstResponder):
3790         (BaseDelegate::setStatusText):
3791         (BaseDelegate::webViewStatusText):
3792         (BaseDelegate::webViewAreToolbarsVisible):
3793         (BaseDelegate::setToolbarsVisible):
3794         (BaseDelegate::webViewIsStatusBarVisible):
3795         (BaseDelegate::setStatusBarVisible):
3796         (BaseDelegate::webViewIsResizable):
3797         (BaseDelegate::setResizable):
3798         (BaseDelegate::setFrame):
3799         (BaseDelegate::webViewFrame):
3800         (BaseDelegate::setContentRect):
3801         (BaseDelegate::webViewContentRect):
3802         (BaseDelegate::runJavaScriptAlertPanelWithMessage):
3803         (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
3804         (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
3805         (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
3806         (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
3807         (BaseDelegate::mouseDidMoveOverElement):
3808         (BaseDelegate::contextMenuItemsForElement):
3809         (BaseDelegate::validateUserInterfaceItem):
3810         (BaseDelegate::shouldPerformAction):
3811         (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
3812         (BaseDelegate::willPerformDragDestinationAction):
3813         (BaseDelegate::dragSourceActionMaskForPoint):
3814         (BaseDelegate::willPerformDragSourceAction):
3815         (BaseDelegate::contextMenuItemSelected):
3816         (BaseDelegate::hasCustomMenuImplementation):
3817         (BaseDelegate::trackCustomPopupMenu):
3818         (BaseDelegate::measureCustomMenuItem):
3819         (BaseDelegate::drawCustomMenuItem):
3820         (BaseDelegate::addCustomMenuDrawingData):
3821         (BaseDelegate::cleanUpCustomMenuDrawingData):
3822         (BaseDelegate::canTakeFocus):
3823         (BaseDelegate::takeFocus):
3824         (BaseDelegate::registerUndoWithTarget):
3825         (BaseDelegate::removeAllActionsWithTarget):
3826         (BaseDelegate::setActionTitle):
3827         (BaseDelegate::undo):
3828         (BaseDelegate::redo):
3829         (BaseDelegate::canUndo):
3830         (BaseDelegate::canRedo):
3831         * Drosera/win/DebuggerApplication.cpp: Added.
3832         (DebuggerApplication::serverLoaded):
3833         (DebuggerApplication::serverUnloaded):
3834         (DebuggerApplication::attach):
3835         (DebuggerApplication::numberOfRowsInTableView):
3836         (DebuggerApplication::tableView):
3837         * Drosera/win/DebuggerApplication.h: Added.
3838         (DebuggerApplication::DebuggerApplication):
3839         (DebuggerApplication::knownServers):
3840         * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
3841         (breakpointEditorHTMLCallback):
3842         (currentFunctionStackCallback):
3843         (doubleClickMillisecondsCallback):
3844         (evaluateScript_inCallFrame_Callback):
3845         (isPausedCallback):
3846         (localScopeVariableNamesForCallFrame_Callback):
3847         (pauseCallback):
3848         (resumeCallback):
3849         (stepIntoCallback):
3850         (valueForScopeVariableNamed_inCallFrame_Callback):
3851         (staticFunctions):
3852         * Drosera/win/DebuggerObjectCallbacks.h: Added.
3853         * Drosera/win/Drosera.cpp: Added.
3854         (_tWinMain):
3855         (RegisterDroseraClass):
3856         (DroseraWndProc):
3857         (About):
3858         (Attach):
3859         (Drosera::Drosera):
3860         (Drosera::initUI):
3861         (Drosera::QueryInterface):
3862         (Drosera::AddRef):
3863         (Drosera::Release):
3864         (Drosera::didFinishLoadForFrame):
3865         (getDroseraJSClass):
3866         (Drosera::windowScriptObjectAvailable):
3867         (Drosera::webViewClose):
3868         (Drosera::validateUserInterfaceItem):
3869         (Drosera::runJavaScriptAlertPanelWithMessage):
3870         (Drosera::onSize):
3871         * Drosera/win/Drosera.h: Added.
3872         (Drosera::webViewLoaded):
3873         * Drosera/win/Drosera.vcproj: Added.
3874         * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
3875         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
3876         * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
3877         * Drosera/win/Drosera.vcproj/release.vsprops: Added.
3878         * Drosera/win/HelperFunctions.h: Added.
3879         (CFStringToBSTR):
3880         * Drosera/win/Info.plist: Added.
3881         * Drosera/win/resource.h: Added.
3882         * Drosera/win/stdafx.cpp: Added.
3883         * Drosera/win/stdafx.h: Added.
3884
3885 2007-07-09  Adam Treat  <adam@staikos.net>
3886
3887         Reviewed by George Staikos.
3888
3889         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
3890         traces of widgets.
3891
3892         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3893         (WebCore::DumpRenderTree::DumpRenderTree):
3894
3895 2007-07-09  Anders Carlsson  <andersca@apple.com>
3896
3897         Reviewed by Oliver.
3898
3899         <rdar://problem/4954319> 
3900         Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at 
3901         com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
3902         
3903         If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream", 
3904         return an error from NPP_NewStream.
3905         
3906         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3907         (pluginAllocate):
3908         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3909         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3910         (NPP_New):
3911         (NPP_NewStream):
3912
3913 2007-07-08  Mark Rowe  <mrowe@apple.com>
3914
3915         Change name from WebKit/Qt to WebKit.
3916
3917         * CodeCoverage/regenerate-coverage-display:
3918
3919 2007-07-08  Rob Buis  <buis@kde.org>
3920
3921         Reviewed by Mitz.
3922
3923         http://bugs.webkit.org/show_bug.cgi?id=14209
3924         DRT should be able to deal with text zoom
3925
3926         Allow increasing/decreasing text zoom using eventSender.
3927
3928         * DumpRenderTree/DumpRenderTree.m:
3929         (runTest):
3930         * DumpRenderTree/EventSendingController.m:
3931         (+[EventSendingController initialize]):
3932         (+[EventSendingController isSelectorExcludedFromWebScript:]):
3933         (-[EventSendingController textZoomIn]):
3934         (-[EventSendingController textZoomOut]):
3935
3936 2007-07-07  Mark Rowe  <mrowe@apple.com>
3937
3938         Reviewed by Oliver.
3939
3940         * DumpRenderTree/DumpRenderTree.m:
3941         (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
3942
3943 2007-07-06  Anders Carlsson  <andersca@apple.com>
3944
3945         Reviewed by David Kilzer.
3946
3947         <rdar://problem/5313502>
3948         Many webarchive tests fail due to different NSURLResponse serialization on Leopard
3949
3950         Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
3951         response's attributes. Also change the JavaScript MIME type to be "text/javascript".
3952         
3953         * DumpRenderTree/DumpRenderTree.m:
3954         (convertMIMEType):
3955         (convertWebResourceDataToString):
3956         (convertWebResourceResponseToDictionary):
3957         (serializeWebArchiveToXML):
3958
3959 2007-07-06  Timothy Hatcher  <timothy@apple.com>
3960
3961         Reviewed by Oliver.
3962
3963         Initialize the NSMutableAttributedString directly instead of creating
3964         a NSAttributedString first.
3965
3966         * DumpRenderTree/TextInputController.m:
3967         (-[TextInputController attributedStringWithString:]):
3968
3969 2007-07-06  Anders Carlsson  <andersca@apple.com>
3970
3971         Reviewed by David Kilzer.
3972
3973         Replace "Apple Computer" with "Apple" in the DTD declaration.
3974
3975         * DumpRenderTree/DumpRenderTree.m:
3976         (serializeWebArchiveToXML):
3977
3978 2007-07-06  Adam Treat  <adam@staikos.net>
3979
3980         Reviewed by George Staikos.
3981
3982         Adjust for conversion of QWebFrame to a QFrame from a scroll area.
3983
3984         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3985         (WebCore::DumpRenderTree::DumpRenderTree):
3986
3987 2007-07-06  George Staikos  <staikos@kde.org>
3988
3989         Reviewed by Anders.
3990
3991         Allow passing of additional arguments to qmake with --qmakearg=
3992
3993         * Scripts/webkitdirs.pm:
3994
3995 2007-07-05  George Staikos  <staikos@kde.org>
3996
3997         Reviewed by Maciej.
3998
3999         Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
4000         give a path to a specific qmake binary.  Both are optional.
4001
4002         * Scripts/webkitdirs.pm:
4003
4004 2007-07-05  Adam Roben  <aroben@apple.com>
4005
4006         Warn about tests in the Skipped file that succeeded
4007
4008         * Scripts/run-webkit-tests:
4009
4010 2007-07-05  Adam Roben  <aroben@apple.com>
4011
4012         Removed unused install-win-extras script
4013
4014         Rubberstamped by Mark.
4015
4016         * Scripts/install-win-extras: Removed.
4017
4018 2007-07-05  Adam Roben  <aroben@apple.com>
4019
4020         Show the test's extension in the results page
4021
4022         * Scripts/run-webkit-tests:
4023
4024 2007-07-05  Adam Roben  <aroben@apple.com>
4025
4026         Add more options for controlling the interpretation of the Skipped file
4027
4028         Reviewed by Mark.
4029
4030         * Scripts/run-webkit-tests:
4031
4032 2007-07-04  Adam Roben  <aroben@apple.com>
4033
4034         Add --skipped-only option to run-webkit-tests
4035
4036         When this option is specified, only those tests listed in the Skipped
4037         file are run.
4038
4039         Reviewed by Mark.
4040
4041         * Scripts/run-webkit-tests:
4042
4043 2007-07-04  Adam Roben  <aroben@apple.com>
4044
4045         Clean up/alphabetize the run-webkit-tests help message
4046
4047         * Scripts/run-webkit-tests:
4048
4049 2007-07-04  Adam Roben  <aroben@apple.com>
4050
4051         Enable a Leopard-specific Skipped list.
4052
4053         Reviewed by Mark.
4054
4055         * Scripts/run-webkit-tests: Check for Leopard.
4056         * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
4057
4058 2007-07-03  Adam Roben  <aroben@apple.com>
4059
4060         Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
4061
4062         Got rid of extract-webkit-localizable-strings because it was trying to
4063         do update-webkit-localizable-strings' job.
4064
4065         Rubberstamped by Darin.
4066
4067         * Scripts/extract-webkit-localizable-strings: Removed.
4068         * Scripts/update-webkit-localizable-strings: Renamed from
4069         extract-localizable-strings.
4070
4071 2007-07-03  Adam Roben  <aroben@apple.com>
4072
4073         Modify scripts to keep Mac/Windows localized strings in sync
4074
4075         extract-webkit-localizable-strings now handles extracting strings from
4076         both the Mac and Windows WebKit ports and updating their respective
4077         Localizable.strings files. extract-localizable-strings is now really a
4078         piece of plumbing rather than a top-level tool.
4079
4080         Reviewed by Darin and Anders.
4081
4082         * Scripts/extract-localizable-strings: Changed to handle multiple
4083         directories.
4084         * Scripts/extract-webkit-localizable-strings: Added.
4085
4086 2007-07-03  Adele Peterson  <adele@apple.com>
4087
4088         Reviewed by Darin.
4089
4090         Extended DumpRenderTree to test encoding and decoding host names.
4091
4092         * DumpRenderTree/DumpRenderTree.m:
4093         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
4094         (+[LayoutTestController webScriptNameForSelector:]): ditto.
4095         (-[LayoutTestController decodeHostName:]): Added.
4096         (-[LayoutTestController encodeHostName:]): Added.
4097
4098 2007-07-03  Sam Weinig  <sam@webkit.org>
4099
4100         Reviewed by Darin.
4101
4102         Eleventh round of fixes for implicit 64-32 bit conversion errors.
4103         <rdar://problem/5292262>
4104
4105         Add functions to test long long and unsigned long long.
4106
4107         * DumpRenderTree/DumpRenderTree.m:
4108         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
4109         (+[LayoutTestController webScriptNameForSelector:]):
4110         (-[LayoutTestController objCLongLongRoundTrip:]):
4111         (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
4112
4113 2007-07-01  Adam Roben  <aroben@apple.com>
4114
4115         Fix some paths to make http tests work again on Windows
4116
4117         Rubberstamped by Sam.
4118
4119         * Scripts/run-webkit-tests:
4120
4121 2007-06-28  Stephanie  <slewis@apple.com>
4122
4123         Reviewed by Adam,
4124
4125         Allow tests to use pre-built roots instead of building the tests.
4126
4127         * Scripts/run-javascriptcore-tests: added --root option
4128         * Scripts/run-webkit-tests: added --root option
4129         * Scripts/webkitdirs.pm: added support for using a root
4130
4131 2007-06-25  Adam Roben  <aroben@apple.com>
4132
4133         Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
4134         http://bugs.webkit.org/show_bug.cgi?id=14405
4135
4136         Reviewed by Anders.
4137
4138         * Scripts/run-webkit-tests:
4139
4140 2007-06-25  Adam Roben  <aroben@apple.com>
4141
4142         Enable running the regression tests on Windows.
4143
4144         These changes were developed alongside the Windows WebKit port and
4145         have been well tested.
4146
4147         Rubberstamped by Sam.
4148
4149         * Scripts/run-webkit-tests:
4150
4151 2007-06-25  Adam Roben  <aroben@apple.com>
4152
4153         Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
4154         http://bugs.webkit.org/show_bug.cgi?id=14403
4155
4156         Reviewed by Mark Rowe.
4157
4158         * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
4159         (sub createPatchCommand): Generate a correct diff in the $gitCommit
4160         case.
4161
4162 2007-06-25  Adam Roben  <aroben@apple.com>
4163
4164         Land pdevenv and supporting scripts/programs
4165
4166         pdevenv is a script that will open an instance of Visual Studio that
4167         can compile multiple files in parallel, similar to make -jN. It uses
4168         the following scripts/programs to accomplish this:
4169
4170         CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
4171
4172         parallelcl: Actually performs the parallel compilation by forking
4173         multiple instances of the Microsoft-supplied cl.exe.
4174
4175         MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
4176         Microsoft-supplied midl.exe. This avoids having to invoke perl for
4177         every invocation of midl.exe, which would be quite slow.
4178
4179         Rubberstamped by Sam.
4180
4181         * CLWrapper/CLWrapper.cpp: Added.
4182         (wmain):
4183         * CLWrapper/CLWrapper.sln: Added.
4184         * CLWrapper/CLWrapper.vcproj: Added.
4185         * MIDLWrapper/MIDLWrapper.cpp: Added.
4186         (wmain):
4187         * MIDLWrapper/MIDLWrapper.sln: Added.
4188         * MIDLWrapper/MIDLWrapper.vcproj: Added.
4189         * Scripts/parallelcl: Added.
4190         * Scripts/pdevenv: Added.
4191         * vcbin/cl.exe: Added.
4192         * vcbin/midl.exe: Added.
4193
4194 2007-06-23  Adam Roben  <aroben@apple.com>
4195
4196         Land num-cpus for the Windows build.
4197
4198         Reviewed by Mark Rowe.
4199
4200         * Scripts/num-cpus: Added.
4201
4202 2007-06-22  Simon Hausmann  <hausmann@kde.org>
4203
4204         Reviewed&