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