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