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