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