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