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