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