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