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