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