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