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