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