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