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