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