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