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