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