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