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