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