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