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