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