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