2009-11-27 Daniel Bates <dbates@webkit.org>
[webkit:qtwebkit.git] / WebKitTools / ChangeLog-2009-06-16
1 2009-06-15  Mark Rowe  <mrowe@apple.com>
2
3         Reviewed by Oliver Hunt.
4
5         Add a script to automate the rolling over of ChangeLog files when they grow too large.
6
7         * Scripts/roll-over-ChangeLogs: Added.
8
9 2009-06-15  Simon Fraser  <simon.fraser@apple.com>
10
11         Reviewed by Mark Rowe.
12         
13         <rdar://problem/6974857>
14         
15         Build with ENABLE_3D_RENDERING turned on by default on SnowLeopard.
16
17         * Scripts/build-webkit:
18
19 2009-06-12  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
20
21         Reviewed by Mark Rowe.
22         Reviewed by Simon Hausmann.
23
24         Refactor handling of options in the build-webkit script
25         
26         Options are now defined in one place, and then reused when creating
27         the usage help text, the arguments to GetOptions(), and when passing
28         the options on to the underlying port-dependent build systems.
29         
30         This allows the Qt port to read the defaults for the options from the
31         pro file (dynamically), and to pass the options on to qmake at build.
32
33         * Scripts/build-webkit:
34         * Scripts/webkitdirs.pm:
35
36 2009-06-15  Mark Rowe  <mrowe@apple.com>
37
38         Reviewed by Cameron Zwarich.
39
40         Fix <https://bugs.webkit.org/show_bug.cgi?id=26312>.
41         Bug 26312: Multiple copies of Safari opened with WebKit nightly and Safari 3.2.3
42
43         Skip the trampoline detection for versions of Safari < 4.0 as they don't play these
44         tricks, and having WebKitNightlyEnabler assume that we were in the trampoline was
45         preventing our LaunchServices trickery from being run.  This led to fresh copies of
46         WebKit.app being launched when a URL or file was opened from an external application
47         rather than the existing instance being reused.
48
49         * WebKitLauncher/WebKitNightlyEnabler.m:
50         (insideSafari4OnTigerTrampoline):
51         (enableWebKitNightlyBehaviour):
52
53 2009-06-13  Sam Weinig  <sam@webkit.org>
54
55         Rubber-stamped by Mark "Snowy" Rowe.
56
57         Update iExploder/htdocs/cssproperties.in by running update-iexploder-cssproperties.
58
59         * iExploder/htdocs/cssproperties.in:
60
61 2009-06-13  John Abd-El-Malek  <jam@chromium.org>
62
63         Reviewed by Eric Seidel.  Landed by Adam Barth.
64
65         Removed dead file.
66         https://bugs.webkit.org/show_bug.cgi?id=26308
67
68         * DumpRenderTree/win/TestNetscapePlugin/main.c: Removed.
69
70 2009-06-12  Jan Michael Alonzo  <jmalonzo@webkit.org>
71
72         Reviewed by Gustavo Noronha.
73
74         [Gtk] use strlen instead of g_utf8_strlen so we can enable more tests.
75
76         * DumpRenderTree/gtk/DumpRenderTree.cpp:
77         (dumpHistoryItem):
78
79 2009-06-12  Gustavo Noronha Silva  <gns@gnome.org>
80
81         Reviewed by Jan Alonzo.
82
83         https://bugs.webkit.org/show_bug.cgi?id=25599
84         [GTK] Enable more tests
85
86         Implement dumping of status callback.
87
88         * DumpRenderTree/gtk/DumpRenderTree.cpp:
89         (webViewStatusBarTextChanged):
90         (main):
91
92 2009-06-11  John Abd-El-Malek  <jam@chromium.org>
93
94         Reviewed by Steve Falkenburg.
95
96         https://bugs.webkit.org/show_bug.cgi?id=26306
97
98         Revert 42565 as it leads to DumpRenderTree crashing on startup because
99         Windows can't find CFURLCacheCopySharedURLCache in CoreNetwork.dll.
100
101         * DumpRenderTree/win/DumpRenderTree.cpp:
102
103 2009-06-10  Holger Hans Peter Freyther  <zecke@selfish.org>
104
105         Reviewed by Jan Alonzo.
106
107         [gtk] Change DumpRenderTree to use a GtkScrolledWindow instead of GtkFixed
108
109         Change the code to use GtkScrolledWindow and resize the GtkScrolledWindow
110         to pass more tests. Make sure the content is bigger than a thumbnail.
111
112         * DumpRenderTree/gtk/DumpRenderTree.cpp:
113         (runTest):
114         (main):
115
116 2009-06-10  Jan Michael Alonzo  <jmalonzo@webkit.org>
117
118         Reviewed by Gustavo Noronha.
119
120         Clear the frame name before we run each tests so we don't get
121         "someFloaString" or "3" in the target frame name.
122
123         * DumpRenderTree/gtk/DumpRenderTree.cpp:
124         (resetWebViewToConsistentStateBeforeTesting):
125
126 2009-06-10  Dan Bernstein  <mitz@apple.com>
127
128         Reviewed by Adele Peterson.
129
130         - add a LayoutTestController method for temporarily changing the WebKit
131           cache model
132
133         * DumpRenderTree/LayoutTestController.cpp:
134         (setCacheModelCallback): Added. Calls
135         LayoutTestController::setCacheModel() with the first argument as an
136         integer.
137         (LayoutTestController::staticFunctions): Added setCacheModel.
138         * DumpRenderTree/LayoutTestController.h:
139         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
140         (LayoutTestController::setCacheModel):
141         * DumpRenderTree/mac/DumpRenderTree.mm:
142         (setDefaultsToConsistentValuesForTesting): Reset the cache model to
143         WebCacheModelDocumentBrowser.
144         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
145         (LayoutTestController::setCacheModel): Added. Calls -[WebPreferences
146         setCacheModel:].
147         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
148         (LayoutTestController::setCacheModel):
149         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
150         (LayoutTestController::setCacheModel):
151
152 2009-06-09  Mark Rowe  <mrowe@apple.com>
153
154         Reviewed by Sam Weinig.
155
156         Have sunspider-compare-results use the system version of the jsc
157         command line binary as there's no good reason to rebuild from source
158         to simply compare results.
159
160         * Scripts/sunspider-compare-results:
161
162 2009-06-09  Simon Hausmann  <simon.hausmann@nokia.com>
163
164         Reviewed by Ariya Hidayat.
165
166         Removed setUseFixedLayout and renamed setFixedLayoutSize to
167         setFixedContentsSize.
168
169         * DumpRenderTree/qt/jsobjects.cpp:
170         (LayoutTestController::setFixedContentsSize):
171         * DumpRenderTree/qt/jsobjects.h:
172
173 2009-06-09  Simon Hausmann  <simon.hausmann@nokia.com>
174
175         Fix the Qt build, add missing function declaration.
176
177         * DumpRenderTree/qt/jsobjects.h:
178
179 2009-06-09  Mark Rowe  <mrowe@apple.com>
180
181         Reviewed by Dan Bernstein.
182
183         Fix <https://bugs.webkit.org/show_bug.cgi?id=24642>.
184         Bug 24642: REGRESSION: Nightly builds sometimes erroneously display a message about failing to launch successfully
185
186         Safari 4 on Tiger plays some shenanigans during launch that can confuse the nightly launcher application
187         in to running its initialization code too soon.
188
189         * WebKitLauncher/WebKitNightlyEnabler.m:
190         (insideSafariOnTigerTrampoline): Detect these shenanigans.
191         (enableWebKitNightlyBehaviour): Delay initialization when needed.
192
193 2009-06-08  Brady Eidson  <beidson@apple.com>
194
195         Reviewed by Antti Koivisto
196
197         Add dispatchPendingLoadRequests() to test fix for <rdar://problem/6727495>
198
199         * DumpRenderTree/LayoutTestController.cpp:
200         (dispatchPendingLoadRequestsCallback):
201         (LayoutTestController::staticFunctions):
202         * DumpRenderTree/LayoutTestController.h:
203
204         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
205         (LayoutTestController::dispatchPendingLoadRequests): Implement using [WebView _dispatchPendingLoadRequests] SPI
206
207         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
208         (LayoutTestController::dispatchPendingLoadRequests): Need implementations.
209         * DumpRenderTree/qt/jsobjects.cpp:
210         (LayoutTestController::dispatchPendingLoadRequests): Ditto.
211         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
212         (LayoutTestController::dispatchPendingLoadRequests): Ditto.
213         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
214         (LayoutTestController::dispatchPendingLoadRequests): Ditto.
215
216 2009-06-07  Mark Rowe  <mrowe@apple.com>
217
218         Rubber-stamped by Cameron Zwarich.
219
220         Delete the AccessibilityController that we allocated in -init.
221
222         * DumpRenderTree/mac/FrameLoadDelegate.mm:
223         (-[FrameLoadDelegate dealloc]):
224
225 2009-06-06  Mark Rowe  <mrowe@apple.com>
226
227         Reviewed by Dan Bernstein.
228
229         Factor out the code to check whether a library contains a given symbol in to a helper function.
230
231         * Scripts/webkitdirs.pm:
232
233 2009-06-06  Mark Rowe  <mrowe@apple.com>
234
235         Reviewed by Sam Weinig.
236
237         Detect when XHTML MP and WCSS are disabled and skip their associated regression tests.
238
239         * Scripts/run-webkit-tests:
240         * Scripts/webkitdirs.pm:
241
242 2009-06-06  Mark Rowe  <mrowe@apple.com>
243
244         Reviewed by Brady Eidson.
245
246         <rdar://problem/6778101> Four SSL-related test failures
247
248         With newer versions of CFNetwork we receive a NSURLErrorServerCertificateUntrusted error
249         code rather than the more specific NSURLErrorServerCertificateHasUnknownRoot that DumpRenderTree
250         was looking for.  Update DumpRenderTree to accommodate the different error code.
251
252         * DumpRenderTree/mac/FrameLoadDelegate.mm:
253         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
254
255 2009-06-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
256
257         Rubber-stamped by Simon Hausmann.
258
259         [Qt] Fix Perl warning when calling chdir with an empty/undefined path
260         
261         This happened when the included makespec was in the same directory as
262         the parent makespec, so the relative path between the two was empty.
263
264         * Scripts/webkitdirs.pm:
265
266 2009-06-04  Darin Adler  <darin@apple.com>
267
268         Reviewed by Tim Hatcher.
269
270         Fix crashes due to unbalanced start/stop observer calls.
271
272         * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added observingWebView.
273         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
274         (-[DumpRenderTreeWindow startObservingWebView]): Call stopObservingWebView
275         in case we're already observing some other WebView. Set observingWebView.
276         (-[DumpRenderTreeWindow stopObservingWebView]): Do nothing if
277         observingWebView is already NO. Clear observingWebView.
278
279 2009-06-03  David Hyatt  <hyatt@apple.com>
280
281         Reviewed by Sam Weinig.
282
283         * DumpRenderTree/mac/FrameLoadDelegate.mm:
284         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
285         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
286         (LayoutTestController::setMainFrameIsFirstResponder):
287         Remove explicit calls to _updateFocusedActiveState when the view is made first responder.
288         Focused state already properly updates when views become first responders, so these calls
289         are unnecessary.
290
291         (LayoutTestController::setWindowIsKey):
292         Explicitly call _updateActiveState when our window becomes key, since we're just faking it
293         and the notification won't be sent.
294
295 2009-06-02  Jessie Berlin  <jberlin@apple.com>
296
297         Reviewed by Mark Rowe.
298         
299         Add "replace" behavior so that it shows the addition part of the
300         replacement of the file first, and then shows the changes.
301         
302         Future: Add in showing the removal part of the replacement.
303
304         * Scripts/svn-create-patch:
305
306 2009-06-02  Brent Fulgham  <bfulgham@webkit.org>
307
308         Reviewed by Adam Roben.
309
310         Update WinLauncher for WebKitCreateInstance.
311         https://bugs.webkit.org/show_bug.cgi?id=26136
312
313         * WinLauncher/WinLauncher.cpp: Revise implementation to
314           use WebKitCreateInstance (rather than CoCreateInstance).
315         * WinLauncher/WinLauncher.h: Modify include path for
316           WebKit.h to match DumpRenderTree style.
317         * WinLauncher/WinLauncher.vcproj: Remove unnecessary
318           WebKit.tlb and EmbeddedIDL flags from build.
319
320 2009-06-02  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
321
322         Rubber-stamped by Adam Roben.
323
324         [Qt] Fix Perl warning about uninitialized value (passedConfiguration())
325
326         * Scripts/webkitdirs.pm:
327
328 2009-06-02  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
329
330         Rubber-stamped by Simon Hausmann.
331
332         Use File::Spec->tmpdir instead of hardcoded paths for tempfile() dir
333         
334         This fixes the Windows-build if the user does not have a /tmp directory.
335
336         * Scripts/bisect-builds:
337
338 2009-06-01  Yongjun Zhang  <yongjun.zhang@nokia.com>>
339
340         Reviewed by Holger Freyther.  Landed by Adam Barth.
341
342         <https://bugs.webkit.org/show_bug.cgi?id=26070>
343
344         [Qt] EventSender.keyDown doesn't support Arrow Up and Down keys.
345         Add Down and Up key support.
346         
347         * DumpRenderTree/qt/jsobjects.cpp:
348         (EventSender::keyDown):
349
350 2009-06-01  Mark Rowe  <mrowe@apple.com>
351
352         Reviewed by Sam Weinig.
353
354         svn-create-patch displays confusing "Broken pipe" errors from Subversion
355         when files have been renamed in local working copy.  This was happening
356         because we invoke 'svn info' to determine the URL that the file was copied
357         from, but we were closing the pipe to the subprocess before SVN had finished
358         writing its output.
359
360         * Scripts/prepare-ChangeLog: Consume all 'svn info' output before closing the file handle.
361         * Scripts/svn-create-patch: Ditto.
362
363 2009-05-31  Sam Weinig  <sam@webkit.org>
364
365         Reviewed by Dan Bernstein.
366
367         - implement LayoutTestController::clearAllDatabases() on
368           Windows.
369
370         Needed for storage/transaction-error-callback.html.
371
372         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
373         (LayoutTestController::clearAllDatabases):
374
375 2009-05-28  Dirk Schulze  <krit@webkit.org>
376
377         Reviewed by Nikolas Zimmermann.
378
379         Added new build flag --filters. More details in WebCore/ChangeLog.
380
381         * Scripts/build-webkit:
382
383 2009-05-28  Olivier DOLE  <odole@pleyo.com>
384
385         Reviewed by Maciej.
386
387         Add options to sunspider-compare-results to know which test suite to
388         compare (see bug #15941).
389
390         * Scripts/sunspider-compare-results:
391
392 2009-05-27  Mark Rowe  <mrowe@apple.com>
393
394         Rubber-stamped by Dan Bernstein.
395
396         Update build-webkit to handle a new version of WebKitSystemInterface.
397
398         * Scripts/build-webkit:
399
400 2009-05-27  Fridrich Strba  <fridrich.strba@bluewin.ch>
401
402         Reviewed by Maciej Stachowiak.
403
404         When building with MinGW, don't use the __declspec(dl{import,export})
405         decorations and rely on the linker to use its nifty auto-import feature.
406         It is extremely hard to get the decorations right with MinGW in general
407         and impossible in WebKit, where the resulting shared library is linking
408         together some static libraries.
409
410         * DumpRenderTree/config.h:
411
412 2009-05-23  Mark Rowe  <mrowe@apple.com>
413
414         Reviewed by Oliver Hunt.
415
416         Land the updated version of WebKitLauncher that the nightly builds have been using.
417
418         Changes include:
419         1) Support for self-updating via Sparkle.
420         2) Now respects the "Open using Rosetta" preference.
421         3) Passes environment variables through to the spawned Safari process.
422         4) Logs a list of extensions that are detected to the system console.
423         5) Disables extensions that are known to cause crashes too early in the
424            launch process to be detected by the extension-detection code.
425
426         * WebKitLauncher/Configurations/Base.xcconfig: Added.
427         * WebKitLauncher/Configurations/WebKitLauncher.xcconfig: Added.
428         * WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig: Added.
429         * WebKitLauncher/Info.plist:
430         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
431         * WebKitLauncher/WebKitNightlyEnabler.h: Added.
432         * WebKitLauncher/WebKitNightlyEnabler.m:
433         (myBundleDidLoad):
434         (myApplicationWillFinishLaunching):
435         (poseAsWebKitApp):
436         (webKitLauncherBundle):
437         (enableWebKitNightlyBehaviour):
438         * WebKitLauncher/WebKitNightlyEnablerSparkle.h: Added.
439         * WebKitLauncher/WebKitNightlyEnablerSparkle.m: Added.
440         (initializeSparkle):
441         (updatePermissionPromptDescription):
442         (skipSignatureVerificationInDownloadDidFinish):
443         (updateAlertPanel):
444         (updateAlertInitForAlertPanel):
445         (-[NSAlert webKitHandleButtonPress:]):
446         (setMethodImplementation):
447         * WebKitLauncher/main.m:
448         (displayErrorAndQuit):
449         (getLastVersionShown):
450         (saveLastVersionShown):
451         (getPathForStartPage):
452         (getCurrentVersion):
453         (getShowStartPageVersion):
454         (startPageDisabled):
455         (addStartPageToArgumentsIfNeeded):
456         (preferredArchitecture):
457         (myExecve):
458         (locateSafariBundle):
459         (currentMacOSXVersion):
460         (checkFrameworkPath):
461         (main):
462
463 2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>
464
465         Reviewed by Gustavo Noronha and Xan Lopez.
466
467         [Gtk] Enable database and localStorage support
468         https://bugs.webkit.org/show_bug.cgi?id=25629
469
470         Enable database and localStorage for running the storage/ tests.
471
472         * DumpRenderTree/gtk/DumpRenderTree.cpp:
473         (resetWebViewToConsistentStateBeforeTesting):
474
475 2009-05-23  David Kilzer  <ddkilzer@apple.com>
476
477         Part 1 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
478
479         <https://bugs.webkit.org/show_bug.cgi?id=25495>
480
481         Reviewed by Oliver Hunt.
482
483         * DumpRenderTree/ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
484         * DumpRenderTree/ForwardingHeaders/wtf/PassOwnPtr.h: Added.
485
486 2009-05-23  David Kilzer  <ddkilzer@apple.com>
487
488         resolve-ChangeLogs: Add missing newline to status message
489
490         * Scripts/resolve-ChangeLogs: Added newline to status message
491         that is printed when the -c|--continue switch is used but there
492         are unmerged files remaining in the git working directory.
493
494 2009-05-23  Eric Seidel  <eric@webkit.org>
495
496         Reviewed by Mark Rowe.
497
498         Add an error message to a die statement in run-webkit-tests
499         I hit this die when two users tried to run-webkit-tests at the same time. :(
500
501         * Scripts/run-webkit-tests:
502
503 2009-05-22  Andre Pedralho  <andre.pedralho@openbossa.org>
504
505         Reviewed by Simon Hausmann.
506
507         Fixed --makeargs usage in Qt build.
508
509         * Scripts/build-webkit:
510
511 2009-05-22  Zoltan Horvath  <horvath.zoltan.6@stud.u-szeged.hu>
512
513         Reviewed by Simon Hausmann.
514
515         Correcting error message on missing WEBKIT_TESTFONTS
516         environment varible in Qt-port.
517
518         * DumpRenderTree/qt/main.cpp:
519         (main):
520
521 2009-05-21  Eric Seidel  <eric@webkit.org>
522
523         Rubber-stamped by Antti Koivisto.
524
525         Make it possible to write js-only http tests by exposing a /js-test-resources alias.
526         https://bugs.webkit.org/show_bug.cgi?id=25915
527
528         Second attempt at landing, now using -c instead of -C to make sure
529         that mod_alias is loaded on Apache 1.x instances before using Alias.
530
531         * Scripts/run-webkit-httpd:
532         * Scripts/run-webkit-tests:
533
534 2009-05-21  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
535
536         Reviewed by Xan Lopez.
537
538         Default to running HTTP tests for GTK+.
539
540         * Scripts/run-webkit-tests:
541
542 2009-05-21  Darin Adler  <darin@apple.com>
543
544         Rolled the httpd changes out, since many machines (including the bots)
545         have an older version of Apache that does not support the Alias command.
546         Or maybe it's something else, but the bots are failing.
547
548         * Scripts/run-webkit-httpd: Rolled back.
549         * Scripts/run-webkit-tests: Ditto.
550
551 2009-05-21  Eric Seidel  <eric@webkit.org>
552
553         Reviewed by Geoffrey Garen.
554
555         Make it possible to write js-only http tests by exposing a /js-test-resources alias.
556         https://bugs.webkit.org/show_bug.cgi?id=25915
557
558         * Scripts/run-webkit-httpd:
559         * Scripts/run-webkit-tests:
560
561 2009-05-21  Andre Pedralho  <andre.pedralho@openbossa.org>
562
563         Reviewed by Gustavo Noronha.
564
565         Added --makeargs flag to the build script.
566
567         * Scripts/build-webkit:
568         * Scripts/webkitdirs.pm:
569
570 2009-05-14  Holger Hans Peter Freyther  <zecke@selfish.org>
571
572         Reviewed by Anders Carlsson.
573
574         https://bugs.webkit.org/show_bug.cgi?id=24510 where
575
576         Add testHasProperty and testHasMethod to the existing functions
577         of the PluginObject to be able to test the browser hasproperty
578         and hasmethod implementation. Invoke them from pluginInvoke.
579
580         Change the defines to an enum to avoid manually updating
581         NUM_METHOD_IDENTIFIERS and assigning numbers.
582
583         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
584         (testHasProperty): test hasproperty
585         (testHasMethod): test hasmethod
586         (pluginInvoke): invoke the two
587
588 2009-05-20  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
589
590         Reviewed by George Staikos.
591
592         BUG 25843: [Qt] Remove qt-port build flag
593         <https://bugs.webkit.org/show_bug.cgi?id=25843>
594
595         * DumpRenderTree/qt/DumpRenderTree.pro:
596         * Scripts/webkitdirs.pm:
597
598 2009-05-18  Eric Seidel  <eric@webkit.org>
599
600         Reviewed by Oliver Hunt.
601
602         Remove layoutTestController.addFileToPasteboardOnDrag and add eventSender.beginDragWithFiles
603         https://bugs.webkit.org/show_bug.cgi?id=25852
604
605         This allows us to now test multi-file file drags in DumpRenderTree per:
606         https://bugs.webkit.org/show_bug.cgi?id=25862
607
608         I removed the existing tests using addFileToPasteboardOnDrag()
609         and replaced them with a new test (editing/pasteboard/file-input-files-access)
610         which covers several more drag-drop cases.
611
612         I added a DumpRenderTreeFileDraggingSource class to avoid
613         the hack of if (!draggingSource) in [DumpRenderTreeDraggingInfo draggingSourceOperationMask]
614
615         New Test: editing/pasteboard/file-input-files-access.html
616
617         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
618         * DumpRenderTree/DumpRenderTreeFileDraggingSource.h: Added.
619         * DumpRenderTree/DumpRenderTreeFileDraggingSource.m: Added.
620         (-[DumpRenderTreeFileDraggingSource draggingSourceOperationMaskForLocal:]):
621         * DumpRenderTree/LayoutTestController.cpp:
622         (LayoutTestController::LayoutTestController):
623         (LayoutTestController::staticValues): removed addFileToPasteboardOnDrag support
624         (LayoutTestController::staticFunctions): removed addFileToPasteboardOnDrag support
625         * DumpRenderTree/LayoutTestController.h:
626         * DumpRenderTree/mac/DumpRenderTree.mm:
627         (runTest): ASSERT that draggingInfo has been cleared
628         * DumpRenderTree/mac/EventSendingController.mm:
629         (+[EventSendingController isSelectorExcludedFromWebScript:]): Sorted selectors.
630         (+[EventSendingController webScriptNameForSelector:]): Sorted selectors.
631         (-[EventSendingController beginDragWithFiles:]):
632         (-[EventSendingController mouseMoveToX:Y:]):
633         (-[EventSendingController keyDown:withModifiers:]):
634         (-[EventSendingController fireKeyboardEventsToElement:]): removed spurious { }
635         * DumpRenderTree/mac/UIDelegate.mm:
636         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): removed addFileToPasteboardOnDrag support
637
638 2009-05-19  Kevin Ollivier  <kevino@theolliviers.com>
639
640         wxMSW build fixes for DRT.
641
642         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
643         (runTest):
644         * DumpRenderTree/wx/WorkQueueItemWx.cpp:
645         (LoadItem::invoke):
646         (ReloadItem::invoke):
647         (ScriptItem::invoke):
648         (BackForwardItem::invoke):
649
650 2009-05-18  Julien Chaffraix  <jchaffraix@webkit.org>
651
652         Bug 24569: Add some cookies tests
653
654         <https://bugs.webkit.org/show_bug.cgi?id=24569>
655
656         Patch by David Kilzer.
657
658         * Scripts/make-js-test-wrappers: Added regex to skip
659         cookies-test-(post|pre).js files.
660
661 2009-05-18  Kevin Ollivier  <kevino@theolliviers.com>
662
663         wx build fix. Use python-config to get Python linking info on Unix OSes. 
664
665         * wx/build-wxwebkit:
666
667 2009-05-18  Kevin Ollivier  <kevino@theolliviers.com>
668
669         wx build fix, initialize variable that doesn't get set on Windows.
670
671         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
672         (MyApp::OnInit):
673
674 2009-05-18  Jan Michael Alonzo  <jmalonzo@webkit.org>
675
676         Reviewed by Xan Lopez.
677
678         [Gtk] Various autotools build refactoring and fixes
679         https://bugs.webkit.org/show_bug.cgi?id=25286
680
681         Add -no-install and -no-fast-install to programs and tests that we
682         don't install. Also remove -O2 since this is already handled at
683         configure time.
684
685         * GNUmakefile.am:
686
687 2009-05-18  Julie Parent  <jparent@google.com>
688
689         Reviewed by Oliver Hunt.
690
691         https://bugs.webkit.org/show_bug.cgi?id=25846
692         Make eventSender dispatch a drag over event.
693
694         * DumpRenderTree/mac/UIDelegate.mm:
695         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
696
697 2009-05-18  Julie Parent  <jparent@google.com>
698
699         Reviewed by Eric Seidel.
700
701         https://bugs.webkit.org/show_bug.cgi?id=25716
702
703         * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
704
705 2009-05-18  Julie Parent  <jparent@google.com>
706
707         Reviewed by Eric Seidel.
708
709         https://bugs.webkit.org/show_bug.cgi?id=25716
710
711         * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
712
713 2009-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
714
715         Reviewed by Jan Michael Alonzo.
716
717         https://bugs.webkit.org/show_bug.cgi?id=25787
718
719         Merge r41819 into Gtk. Do not use printf but send messages
720         through the log command.
721
722         * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
723         (log):
724         (webkit_test_plugin_new_instance):
725         (webkit_test_plugin_destroy_instance):
726         (webkit_test_plugin_set_window):
727         (webkit_test_plugin_handle_event):
728
729 2009-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
730
731         Reviewed by Jan Michael Alonzo.
732
733         https://bugs.webkit.org/show_bug.cgi?id=25787
734
735         Forward port r39877 from main.c of OSX to TestNetscapePlugin
736         of Gtk.
737
738         * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
739         (webkit_test_plugin_new_instance):
740
741 2009-05-15  Kevin Ollivier  <kevino@theolliviers.com>
742
743         wx build fix. Don't parse args using getopt since it isn't available on Windows.
744
745         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
746         (MyApp::OnInit):
747
748 2009-05-15  Jan Michael Alonzo  <jmalonzo@webkit.org>
749
750         Reviewed by Holger Freyther.
751
752         [GTK] Implement layoutTestController.waitForPolicyDelegate
753         https://bugs.webkit.org/show_bug.cgi?id=25036
754
755         Connect to 'navigation-policy-decision-requested' and handle
756         waitForPolicy in the callback.
757
758         * DumpRenderTree/gtk/DumpRenderTree.cpp:
759         (invalidateAnyPreviousWaitToDumpWatchdog):
760         (webViewNavigationPolicyDecisionRequested):
761         (main):
762         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
763         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
764         (LayoutTestController::notifyDone):
765         (LayoutTestController::waitForPolicyDelegate):
766
767 2009-05-14  David Levin  <levin@chromium.org>
768
769         Reviewed by Eric Seidel.
770
771         https://bugs.webkit.org/show_bug.cgi?id=24704
772
773         Make paths where data is saved be scoped to the ~ directory,
774         so that one can run independent instances by setting CFFIXED_USER_HOME.
775
776         * DumpRenderTree/mac/DumpRenderTree.mm:
777         (libraryPath):
778         (setDefaultsToConsistentValuesForTesting):
779         (dumpFrameAsPDF):
780
781 2009-05-13  David Kilzer  <ddkilzer@apple.com>
782
783         Fix resolve-ChangeLogs when used with Subversion
784
785         Reviewed by Darin Adler.
786
787         Fixes the following issue when run on a Subversion repository:
788
789             $ ./WebKitTools/Scripts/resolve-ChangeLogs
790             ERROR: --continue may only be used with a git repository
791
792         * Scripts/resolve-ChangeLogs: Check for the boolean value of
793         $gitRebaseContinue, not whether it's defined, when validating
794         command-line switches.
795
796 2009-05-12  David Kilzer  <ddkilzer@apple.com>
797
798         Bug 21418: resolve-ChangeLogs should have a --continue option which does git rebase --continue
799
800         <https://bugs.webkit.org/show_bug.cgi?id=21418>
801
802         Reviewed by Darin Adler.
803
804         * Scripts/resolve-ChangeLogs: Added -c|--continue switch that
805         runs "git rebase --continue" before exiting the script.
806         (hasGitUnmergedFiles): Added.  Returns true if there are
807         unmerged files in the git repository.
808
809 2009-05-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
810
811         Reviewed by Holger Freyther.
812
813         [Qt] Make sure that public APIs are properly exported on all Qt platforms
814         https://bugs.webkit.org/show_bug.cgi?id=25601
815
816         * Scripts/webkitdirs.pm: Remove QT_SHARED define from Qt builds, define QT_MAKEDLL in WebCore.pro instead
817
818 2009-05-07  Kevin Ollivier  <kevino@theolliviers.com>
819
820         wx build fixes for Python extension and DRT.
821
822         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
823         (MyApp::OnInit):
824         * wx/build-wxwebkit:
825
826 2009-05-07  Steve Falkenburg  <sfalken@apple.com>
827
828         Remove manifest fixup from r42729 to fix clean builds.
829
830         * DumpRenderTree/win/DumpRenderTree.vcproj:
831
832 2009-05-06  Kevin Ollivier  <kevino@theolliviers.com>
833
834         wx build fix, fixes for wx trunk builds.
835
836         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
837         (MyApp::OnInit):
838         * wx/build-wxwebkit:
839
840 2009-05-06  Steve Falkenburg  <sfalken@apple.com>
841
842         Explicitly set WebKitPaintNativeControls to false to allow Windows results to match Mac.
843
844         Reviewed by Adam Roben.
845
846         * DumpRenderTree/win/DumpRenderTree.cpp:
847         (resetWebViewToConsistentStateBeforeTesting):
848
849 2009-05-06  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
850
851         Reviewed by Simon Hausmann.
852
853         Build QtWebKit as a framework on Mac
854
855         This implies both debug and release build by default, unless
856         one of the --debug or --release config options are passed to
857         the build-webkit script.
858
859         Frameworks can be disabled by passing CONFIG+=webkit_no_framework
860         to the build-webkit script.
861
862         To be able to build both debug and release targets in parallel
863         we have to use separate output directories for the generated
864         sources, which is not optimal, but required to avoid race conditions.
865
866         An optimization would be to only require this spit-up on Mac.
867
868         * Scripts/webkitdirs.pm:
869
870 2009-05-05  Darin Adler  <darin@apple.com>
871
872         Try to fix Mac build.
873
874         * DumpRenderTree/AccessibilityUIElement.cpp: (elementAtPointCallback): Initialize x and y.
875
876 2009-05-05  Maclolm MacLeod  <mmacleod@webmail.co.za>
877
878         Reviewed by Kevin Ollivier.
879
880         Have wxWebkit make use of gcc(4 and greater) hidden visibility feature
881         
882         https://bugs.webkit.org/show_bug.cgi?id=24345
883
884         * wx/build-wxwebkit:
885
886 2009-05-05  Chris Fleizach  <cfleizach@apple.com>
887
888         Reviewed by Beth Dakin.
889
890         Bug 25574: AXImageMap children links don't respond properly to accessibilityHitTest:
891         https://bugs.webkit.org/show_bug.cgi?id=25574
892
893         * DumpRenderTree/AccessibilityUIElement.cpp:
894         (elementAtPointCallback):
895         (getXCallback):
896         (getYCallback):
897         (AccessibilityUIElement::getJSClass):
898         * DumpRenderTree/AccessibilityUIElement.h:
899         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
900         (descriptionOfValue):
901         (AccessibilityUIElement::elementAtPoint):
902         (AccessibilityUIElement::role):
903         (AccessibilityUIElement::title):
904         (AccessibilityUIElement::description):
905         (AccessibilityUIElement::x):
906         (AccessibilityUIElement::y):
907         (AccessibilityUIElement::width):
908         (AccessibilityUIElement::height):
909         (AccessibilityUIElement::intValue):
910         (AccessibilityUIElement::minValue):
911         (AccessibilityUIElement::maxValue):
912         (AccessibilityUIElement::insertionPointLineNumber):
913         (AccessibilityUIElement::supportsPressAction):
914         (AccessibilityUIElement::lineForIndex):
915         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
916         (AccessibilityUIElement::elementAtPoint):
917         (AccessibilityUIElement::x):
918         (AccessibilityUIElement::y):
919
920 2009-05-06  Christian Dywan  <christian@twotoasts.de>
921
922         Reviewed by Gustavo Noronha.
923
924         http://bugs.webkit.org/show_bug.cgi?id=17066
925         [GTK] Improve frameloader signals
926
927         Update GtkLauncher to use the new load-status and progress properties
928         instead of the previous loading signals.
929
930         * GtkLauncher/main.c:
931         (update_title):
932         (notify_load_status_cb):
933         (notify_progress_cb):
934         (create_browser):
935         (create_window):
936
937 2009-05-05  Adam Roben  <aroben@apple.com>
938
939         Don't use pdevenv when building with VC++ Express
940
941         Fixes Bug 25308: REGRESSION (r42182): Build fails after following
942         build instructions on webkit.org fail when using VC++ Express
943         <https://bugs.webkit.org/show_bug.cgi?id=25308>
944
945         Reviewed by Eric Seidel.
946
947         * Scripts/webkitdirs.pm:
948         (setupCygwinEnv): When Visual Studio is installed, set $vcBuildPath to
949         point to pdevenv. When VC++ Express is installed, set $vcBuildPath to
950         point to VC++ Express, as before.
951         (buildVisualStudioProject): Use $vcBuildPath to build instead of
952         hard-coding pdevenv.
953
954 2009-05-05  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
955
956         Rubber-stamped by Simon Hausmann.
957
958         Mention --qt as an option in the build-webkit help
959
960         * Scripts/build-webkit:
961
962 2009-05-04  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
963
964         Reviewed by Alexey Proskuryakov.
965
966         Enable spell-checking in DumpRenderTree.
967
968         * DumpRenderTree/gtk/DumpRenderTree.cpp:
969         (resetWebViewToConsistentStateBeforeTesting):
970
971 2009-05-04  Kevin Ollivier  <kevino@theolliviers.com>
972
973         Reviewed by Eric Seidel.
974         
975         Initial DRT implementation for wx.
976
977         * DumpRenderTree/DumpRenderTree.h:
978         * DumpRenderTree/wx: Added.
979         * DumpRenderTree/wx/DumpRenderTree.bkl: Added.
980         * DumpRenderTree/wx/DumpRenderTreeWx.cpp: Added.
981         (LayoutWebViewEventHandler::LayoutWebViewEventHandler):
982         (LayoutWebViewEventHandler::bindEvents):
983         (LayoutWebViewEventHandler::OnLoadEvent):
984         (LayoutWebViewEventHandler::OnAlertEvent):
985         (LayoutWebViewEventHandler::OnConfirmEvent):
986         (LayoutWebViewEventHandler::OnPromptEvent):
987         (LayoutWebViewEventHandler::OnConsoleMessageEvent):
988         (LayoutWebViewEventHandler::OnReceivedTitleEvent):
989         (LayoutWebViewEventHandler::OnWindowObjectClearedEvent):
990         (notifyDoneFired):
991         (dumpFramesAsText):
992         (dump):
993         (runTest):
994         (MyApp::OnInit):
995         * DumpRenderTree/wx/DumpRenderTreeWx.h: Added.
996         * DumpRenderTree/wx/GCControllerWx.cpp: Added.
997         (GCController::collect):
998         (GCController::collectOnAlternateThread):
999         (GCController::getJSObjectCount):
1000         * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added.
1001         (LayoutTestController::~LayoutTestController):
1002         (LayoutTestController::addDisallowedURL):
1003         (LayoutTestController::clearBackForwardList):
1004         (LayoutTestController::copyDecodedHostName):
1005         (LayoutTestController::copyEncodedHostName):
1006         (LayoutTestController::display):
1007         (LayoutTestController::keepWebHistory):
1008         (LayoutTestController::notifyDone):
1009         (LayoutTestController::pathToLocalResource):
1010         (LayoutTestController::queueLoad):
1011         (LayoutTestController::setAcceptsEditing):
1012         (LayoutTestController::setCustomPolicyDelegate):
1013         (LayoutTestController::setMainFrameIsFirstResponder):
1014         (LayoutTestController::setTabKeyCyclesThroughElements):
1015         (LayoutTestController::setUseDashboardCompatibilityMode):
1016         (LayoutTestController::setUserStyleSheetEnabled):
1017         (LayoutTestController::setUserStyleSheetLocation):
1018         (LayoutTestController::setWindowIsKey):
1019         (LayoutTestController::setSmartInsertDeleteEnabled):
1020         (LayoutTestController::setJavaScriptProfilingEnabled):
1021         (LayoutTestController::setWaitToDump):
1022         (LayoutTestController::windowCount):
1023         (LayoutTestController::setPrivateBrowsingEnabled):
1024         (LayoutTestController::setAuthorAndUserStylesEnabled):
1025         (LayoutTestController::setPopupBlockingEnabled):
1026         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
1027         (LayoutTestController::execCommand):
1028         (LayoutTestController::setPersistentUserStyleSheetLocation):
1029         (LayoutTestController::clearPersistentUserStyleSheet):
1030         (LayoutTestController::clearAllDatabases):
1031         (LayoutTestController::setDatabaseQuota):
1032         (LayoutTestController::numberOfActiveAnimations):
1033         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1034         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1035         (LayoutTestController::setIconDatabaseEnabled):
1036         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1037         (LayoutTestController::isCommandEnabled):
1038         (LayoutTestController::webHistoryItemCount):
1039         (LayoutTestController::waitForPolicyDelegate):
1040         * DumpRenderTree/wx/WorkQueueItemWx.cpp: Added.
1041         (LoadItem::invoke):
1042         (ReloadItem::invoke):
1043         (ScriptItem::invoke):
1044         (BackForwardItem::invoke):
1045         * Scripts/build-dumprendertree:
1046         * Scripts/run-webkit-tests:
1047         * Scripts/webkitdirs.pm:
1048         * wx/build-wxwebkit:
1049
1050 2009-05-03  Sam Weinig  <sam@webkit.org>
1051
1052         Reviewed by Geoffrey Garen.
1053
1054         Don't pass an exception parameter if we don't care about the value.
1055
1056         * DumpRenderTree/win/EventSender.cpp:
1057         (keyDownCallback):
1058
1059 2009-05-02  Darin Adler  <darin@apple.com>
1060
1061         Reviewed by Sam Weinig.
1062
1063         Another cut at getting tests passing on Windows again.
1064
1065         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1066         (FrameLoadDelegate::didStartProvisionalLoadForFrame): Tweak formatting.
1067         (FrameLoadDelegate::didFailProvisionalLoadWithError): Ditto.
1068         (FrameLoadDelegate::didCommitLoadForFrame): Ditto.
1069         (FrameLoadDelegate::didFinishLoadForFrame): Ditto.
1070         (FrameLoadDelegate::didFailLoadWithError): Added missing logging.
1071
1072 2009-05-02  Darin Adler  <darin@apple.com>
1073
1074         Reviewed by Sam Weinig.
1075
1076         Try to get tests passing on Windows again.
1077
1078         * DumpRenderTree/win/DumpRenderTree.cpp:
1079         (shouldLogFrameLoadDelegates): Allow either "/" or "\" as a path
1080         separator. Also require separator before as well as after path name.
1081
1082 2009-04-30  Kevin Ollivier  <kevino@theolliviers.com>
1083
1084         wx build fix, define ENABLE_JAVASCRIPT_DEBUGGER.
1085
1086         * wx/build-wxwebkit:
1087
1088 2009-04-30  Dimitri Glazkov  <dglazkov@chromium.org>
1089
1090         Reviewed by Timothy Hatcher.
1091
1092         https://bugs.webkit.org/show_bug.cgi?id=25470
1093         Extend the cover of ENABLE_JAVASCRIPT_DEBUGGER to profiler.
1094
1095         * Scripts/build-webkit: Added ENABLE_JAVASCRIPT_DEBUGGER define.
1096
1097 2009-04-29  Mark Rowe  <mrowe@apple.com>
1098
1099         Update build.webkit.org configuration for the addition of the new GTK buildbot.
1100
1101         * BuildSlaveSupport/build.webkit.org-config/config.json:
1102
1103 2009-04-29  Mark Rowe  <mrowe@apple.com>
1104
1105         Ignore the --use-remote-links-to-tests option for GTK as it leads to
1106         perl errors being spewed at the end of run-webkit-tests.
1107
1108         * Scripts/run-webkit-tests:
1109
1110 2009-04-29  Mark Rowe  <mrowe@apple.com>
1111
1112         Implement test-result-archive for GTK.
1113
1114         * BuildSlaveSupport/test-result-archive:
1115
1116 2009-04-28  Pierre d'Herbemont  <pdherbemont@apple.com>
1117
1118         Reviewed by David Kilzer.
1119
1120         https://bugs.webkit.org/show_bug.cgi?id=25462
1121
1122         Make sure "--pixel --add-platform-exceptions" produces platform
1123         specific pixel test results.
1124
1125         * Scripts/run-webkit-tests: Support "--pixel
1126         --add-platform-exceptions"
1127
1128 2009-04-28  Steve Falkenburg  <sfalken@apple.com>
1129
1130         Fix link warnings building TestNetscapePlugin on Windows due to mismatched
1131         DLL name vs. LIBRARY directive name.
1132         
1133         Reviewed by Jon Honeycutt.
1134
1135         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def:
1136         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1137         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added.
1138
1139 2009-04-28  Steve Falkenburg  <sfalken@apple.com>
1140
1141         Fix warnings about PRODUCTION and ARCHIVE_BUILD on Windows builds
1142         of ImageDiff and DumpRenderTree.
1143         
1144         Rubber stamped by Adam Roben.
1145
1146         * DumpRenderTree/win/DumpRenderTree.vcproj:
1147         * DumpRenderTree/win/ImageDiff.vcproj:
1148
1149 2009-04-28  Chris Fleizach  <cfleizach@apple.com>
1150
1151         Reviewed by Darin Adler.
1152
1153         Add ability to get the children count of an AX element.
1154
1155         * DumpRenderTree/AccessibilityUIElement.cpp:
1156         (getChildrenCountCallback):
1157         (AccessibilityUIElement::getJSClass):
1158         * DumpRenderTree/AccessibilityUIElement.h:
1159         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1160         (AccessibilityUIElement::childrenCount):
1161         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1162         (AccessibilityUIElement::childrenCount):
1163
1164 2009-04-27  Jan Michael Alonzo  <jmalonzo@webkit.org>
1165
1166         Reviewed by Gustavo Noronha.
1167
1168         [GTK] Make layout tests / jsc tests usable without build-webkit
1169         https://bugs.webkit.org/show_bug.cgi?id=21784
1170
1171         This requires WEBKITOUTPUTDIR to be set to the build directory.
1172         Set the location of the product dir to the location pointed to by
1173         WEBKITOUTPUTDIR.
1174
1175         * Scripts/webkitdirs.pm:
1176
1177 2009-04-27  Gustavo Noronha Silva  <gns@gnome.org>
1178
1179         Reviewed by Adam Roben.
1180
1181         Use libsoup's facilities to resolve relative URLs, instead, since
1182         it is a more robust method.
1183
1184         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1185         (LayoutTestController::queueLoad):
1186
1187 2009-04-26  Gustavo Noronha Silva  <gns@gnome.org>
1188
1189         Reviewed by Xan Lopez.
1190
1191         Resolve relative URLs when queueing loads. This fixes
1192         post-goback-same-url.html timing out.
1193
1194         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1195         (LayoutTestController::queueLoad):
1196
1197 2009-04-24  Kevin Ollivier  <kevino@theolliviers.com>
1198
1199         wx build fix. Switching JSCore from a static lib to a dynamic lib
1200         to match the Apple build and fix symbol exports.
1201
1202         * wx/build-wxwebkit:
1203
1204 2009-04-24  Eric Seidel  <eric@webkit.org>
1205
1206         Reviewed by Adam Roben.
1207
1208         Add PrettyPatch support to run-webkit-tests
1209
1210         * Scripts/run-webkit-tests:
1211
1212 2009-04-24  Steve Falkenburg  <sfalken@apple.com>
1213
1214         Fix nightly for Windows x64 users.
1215         Installed browser location is written to a slightly different registry key in that case.
1216         
1217         * FindSafari/FindSafari.cpp:
1218         (getInstalledWebKitDirectory):
1219
1220 2009-04-23  Mark Rowe  <mrowe@apple.com>
1221
1222         Fix the Windows DRT build.
1223
1224         * DumpRenderTree/win/PolicyDelegate.h:
1225
1226 2009-04-23  Brady Eidson  <beidson@apple.com>
1227
1228         Fix Windows DRT build.
1229
1230         * DumpRenderTree/win/PolicyDelegate.cpp:
1231         (PolicyDelegate::unableToImplementPolicyWithError):
1232
1233 2009-04-22  Brady Eidson  <beidson@apple.com>
1234
1235         Reviewed by Maciej Stachowiak
1236
1237         Add additional support for test:
1238         <rdar://problem/5689748> - Cannot redirect to protocols handled by external applications.
1239
1240         * DumpRenderTree/mac/PolicyDelegate.mm:
1241         (-[PolicyDelegate webView:unableToImplementPolicyWithError:frame:]): Dump formatted information when
1242           a policy cannot be implemented.
1243
1244         * DumpRenderTree/win/PolicyDelegate.cpp:
1245         (PolicyDelegate::unableToImplementPolicyWithError): Ditto.
1246         * DumpRenderTree/win/PolicyDelegate.h:
1247
1248 2009-04-22  Sam Weinig  <sam@webkit.org>
1249
1250         Rubber-stamped by Darin Adler.
1251
1252         Fix for <rdar://problem/6816957>
1253         Turn off Geolocation by default
1254
1255         * Scripts/build-webkit:
1256
1257 2009-04-21  Dan Bernstein  <mitz@apple.com>
1258
1259         Reviewed by Jon Honeycutt.
1260
1261         - dump the node in the element dictionary in the action information
1262           passed to the policy delegate
1263
1264         * DumpRenderTree/mac/PolicyDelegate.mm:
1265         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1266         * DumpRenderTree/win/PolicyDelegate.cpp:
1267         (dumpPath):
1268         (PolicyDelegate::decidePolicyForNavigationAction):
1269
1270 2009-04-21  Adam Roben  <aroben@apple.com>
1271
1272         Windows build fix after r42726
1273
1274         * DumpRenderTree/win/DumpRenderTree.cpp: Touched to force a rebuild.
1275         * DumpRenderTree/win/DumpRenderTree.vcproj: Delete any pre-r42726
1276         manifest files during the pre-build event.
1277
1278 2009-04-21  Steve Falkenburg  <sfalken@apple.com>
1279
1280         Use new WebKitCreateInstance API instead of CoCreateInstance
1281         or COMPtr's createInstance to instantiate WebKit COM objects.
1282
1283         Reviewed by Adam Roben.
1284
1285         * DumpRenderTree/win/DumpRenderTree.cpp:
1286         (initialize):
1287         (runTest):
1288         (createWebViewAndOffscreenWindow):
1289         (main):
1290         * DumpRenderTree/win/DumpRenderTree.vcproj:
1291         * DumpRenderTree/win/GCControllerWin.cpp:
1292         (GCController::collect):
1293         (GCController::collectOnAlternateThread):
1294         (GCController::getJSObjectCount):
1295         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1296         (LayoutTestController::keepWebHistory):
1297         (LayoutTestController::webHistoryItemCount):
1298         (LayoutTestController::setIconDatabaseEnabled):
1299         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1300         (LoadItem::invoke):
1301
1302 2009-04-20  Timothy Hatcher  <timothy@apple.com>
1303
1304         Stop using the fullDocumentTeardownEnabled WebPreference methods.
1305         Just set the WebKitEnableFullDocumentTeardownPreferenceKey default.
1306
1307         Reviewed by Darin Adler.
1308
1309         * DumpRenderTree/mac/DumpRenderTree.mm:
1310         (setDefaultsToConsistentValuesForTesting):
1311         (resetWebViewToConsistentStateBeforeTesting):
1312
1313 2009-04-21  Geoffrey Garen  <ggaren@apple.com>
1314
1315         Rubber-stamped by Adam Roben.
1316         
1317         Disabled one more Mozilla JS test because it fails intermittently on Windows.
1318         (See https://bugs.webkit.org/show_bug.cgi?id=25160.)
1319
1320         * Scripts/run-javascriptcore-tests:
1321
1322 2009-04-21  Adam Roben  <aroben@apple.com>
1323
1324         Fix running run-safari and run-webkit-tests from the paths recommended
1325         on webkit.org
1326
1327         Reviewed by Steve Falkenburg and Sam Weinig.
1328
1329         * Scripts/run-webkit-nightly.cmd: Moved quotes from variable
1330         definitions to variable uses. Otherwise cmd.exe can get confused about
1331         the quoting.
1332         * Scripts/run-webkit-tests: Changed to use an absolute path to
1333         execAppWithEnv so that run-webkit-tests will work when run from
1334         outside the source tree.
1335
1336 2009-04-21  Adam Roben  <aroben@apple.com>
1337
1338         Rename JavaScriptCore_debug.dll to JavaScriptCore.dll in the Debug
1339         configuration
1340
1341         This matches the naming scheme for WebKit.dll, and will be necessary
1342         once Safari links against JavaScriptCore.dll. This change also causes
1343         run-safari not to fail (because the launcher printed by FindSafari was
1344         always looking for JavaScriptCore.dll, never
1345         JavaScriptCore_debug.dll).
1346
1347         Part of Bug 25305: can't run safari or drt on windows
1348         <https://bugs.webkit.org/show_bug.cgi?id=25305>
1349
1350         Reviewed by Steve Falkenburg and Sam Weinig.
1351
1352         * DumpRenderTree/win/DumpRenderTree.vcproj: Use
1353         $(WebKitDLLConfigSuffix) for naming JavaScriptCore.{dll,lib}.
1354
1355 2009-04-21  Steve Falkenburg  <sfalken@apple.com>
1356
1357         Update FindSafari for JavaScriptCore DLL changes.
1358         Also removed code previously needed to support running nightlies against Safari 3 on Windows.
1359         
1360         Reviewed by Mark Rowe.
1361
1362         * FindSafari/FindSafari.cpp:
1363         (getStringValue):
1364         (getInstalledWebKitDirectory):
1365         (_tmain):
1366
1367 2009-04-20  Darin Adler  <darin@apple.com>
1368
1369         Reviewed by Sam Weinig.
1370
1371         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added PlainTextController.h
1372         and PlainTextController.mm.
1373
1374         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1375         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): Added PlainTextController
1376         as "window.plainText".
1377
1378         * DumpRenderTree/mac/PlainTextController.h: Added.
1379         * DumpRenderTree/mac/PlainTextController.mm: Added.
1380
1381 2009-04-20  Steve Falkenburg  <sfalken@apple.com>
1382
1383         Separate JavaScriptCore.dll from WebKit.dll.
1384         Slight performance improvement or no change on benchmarks.
1385         
1386         Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
1387         and simplifies standalone JavaScriptCore builds.
1388
1389         Reviewed by Oliver Hunt.
1390
1391         * DumpRenderTree/config.h: Specify JS, WebKit exported data as __declspec(dllimport)
1392         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against JavaScriptCore.dll
1393
1394 2009-04-20  Sam Weinig  <sam@webkit.org>
1395
1396         Rubber-stamped by Tim Hatcher.
1397
1398         Add licenses for xcconfig files.
1399
1400         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1401         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1402         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1403         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
1404         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
1405
1406 2009-04-19  David Kilzer  <ddkilzer@apple.com>
1407
1408         Make FEATURE_DEFINES completely dynamic
1409
1410         Reviewed by Darin Adler.
1411
1412         Make FEATURE_DEFINES depend on individual ENABLE_FEATURE_NAME
1413         variables for each feature, making it possible to remove all
1414         knowledge of FEATURE_DEFINES from build-webkit.
1415
1416         * Scripts/build-webkit: Define individual ENABLE_FEATURE_NAME
1417         variables instead of the whole FEATURE_DEFINES string when
1418         building with Xcode.  Miscellaneous clean up:
1419         - Reordered/sorted command-line switch variables.
1420         - Reordered/sorted command-line switches in $usage.
1421         - Reordered/sorted command-line switches in GetOptions().
1422         - Defined $svgSupport to true if any --svg-feature switch is
1423           set in order to match "Implies SVG Support" claim.
1424         - Build JavaScriptGlue after JavaScriptCore again!
1425         - Fixed --[no-]geolocation for GTK+ port and sorted GTK+
1426           command-line switches.
1427         - Added "exit 0" statement at the end of the script.
1428
1429 2009-04-17  David Kilzer  <ddkilzer@apple.com>
1430
1431         Simplify FEATURE_DEFINES definition
1432
1433         Reviewed by Darin Adler.
1434
1435         This moves FEATURE_DEFINES and its related ENABLE_FEATURE_NAME
1436         variables to their own FeatureDefines.xcconfig file.  It also
1437         extracts a new ENABLE_GEOLOCATION variable so that
1438         FEATURE_DEFINES only needs to be defined once.
1439
1440         * Scripts/build-webkit: Realphabetized code related to enabling
1441         Geolation features for WebKit.  Also set ENABLE_GEOLOCATION
1442         variable for xcodebuild.
1443
1444 2009-04-16  Darin Fisher  <darin@chromium.org>
1445
1446         Reviewed by Darin Adler.
1447
1448         https://bugs.webkit.org/show_bug.cgi?id=25223
1449         REGRESSION: Back button after form submission to the same URL fails to navigate.
1450
1451         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1452         (-[FrameLoadDelegate processWork:]): Need to defer processing the work
1453         queue if a navigation started between locationChangeDone and our
1454         delayed processWork call.  This can happen when using queueLoadingScript
1455         to load script that simulates a click on a link or submit button since
1456         those clicks happen asynchronously.
1457         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1458         (FrameLoadDelegate::processWork): Same as above.
1459
1460 2009-04-16  Geoffrey Garen  <ggaren@apple.com>
1461
1462         Build fix: updated check-for-global-initializers to account for code motion.
1463
1464         * Scripts/check-for-global-initializers:
1465
1466 2009-04-16  Zan Dobersek  <zandobersek@gmail.com>
1467
1468         Reviewed by Adam Roben.
1469
1470         Compare test's response mime type and dump test as text properly.
1471
1472         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1473         (dump):
1474
1475
1476 2009-04-16  Adam Roben  <aroben@apple.com>
1477
1478         Skip yet another JavaScriptCore test that sometimes fails on Windows
1479
1480         See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1481         not Mac)
1482         <https://bugs.webkit.org/show_bug.cgi?id=25160>
1483
1484         * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-6.js.
1485
1486 2009-04-15  Steve Falkenburg  <sfalken@apple.com>
1487
1488         Redo last build fix in a more straightforward way.
1489
1490         * DumpRenderTree/win/DumpRenderTree.cpp:
1491         (sharedCFURLCache):
1492
1493 2009-04-15  Steve Falkenburg  <sfalken@apple.com>
1494
1495         Fix Windows build of DumpRenderTree.
1496
1497         * DumpRenderTree/win/DumpRenderTree.cpp:
1498         (sharedCFURLCache):
1499         (main):
1500
1501 2009-04-15  Adam Roben  <aroben@apple.com>
1502
1503         Skip yet another JavaScriptCore test that sometimes fails on Windows
1504
1505         See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1506         not Mac)
1507         <https://bugs.webkit.org/show_bug.cgi?id=25160>
1508
1509         * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-2.js (who
1510         didn't see it coming?).
1511
1512 2009-04-14  Adam Roben  <aroben@apple.com>
1513
1514         Skip another JavaScriptCore test that sometimes fails on Windows
1515
1516         See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1517         not Mac)
1518         <https://bugs.webkit.org/show_bug.cgi?id=25160>
1519
1520         Rubber-stamped by Geoff Garen.
1521
1522         * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-3.js.
1523
1524 2009-04-14  Kevin Ollivier  <kevino@theolliviers.com>
1525
1526         wx build fix. Move the DerivedSources.make calls into build-wxwebkit so that
1527         the FEATURE_DEFINES are parsed properly.
1528
1529         * wx/build-wxwebkit:
1530
1531 2009-04-14  Adam Roben  <aroben@apple.com>
1532
1533         Small run-javascriptcore-tests cleanup
1534
1535         Reviewed by Cameron Zwarich.
1536
1537         * Scripts/run-javascriptcore-tests: Move the list of tests to skip
1538         into its own variable, annotated with the bugs that are filed about
1539         the various failures.
1540
1541 2009-04-14  Adam Roben  <aroben@apple.com>
1542
1543         Skip another sometimes-failing ecma/Date test on Windows
1544
1545         These failing tests are covered by Bug 25160: Various ecma/Date tests
1546         sometimes fail on Windows (but not Mac)
1547         <https://bugs.webkit.org/show_bug.cgi?id=25160>
1548
1549         Reviewed by Cameron Zwarich.
1550
1551         * Scripts/run-javascriptcore-tests: Added ecma/Date/15.9.2.1.js to the
1552         list of tests to skip.
1553
1554 2009-04-14  Jan Michael Alonzo  <jmalonzo@webkit.org>
1555
1556         Reviewed by Holger Freyther.
1557
1558         [Gtk] disable soup auth dialog when running DRT
1559         https://bugs.webkit.org/show_bug.cgi?id=24598
1560
1561         Disable soup's auth dialog when running the tests.
1562
1563         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1564         (setDefaultsToConsistentStateValuesForTesting):
1565         * GNUmakefile.am:
1566
1567 2009-04-13  Darin Adler  <darin@apple.com>
1568
1569         Reviewed by Mark Rowe.
1570
1571         * Scripts/check-for-exit-time-destructors: Add ERROR: and WARNING: prefixes to
1572         make these scripts work better with the build window in new versions of Xcode.
1573         * Scripts/check-for-global-initializers: Ditto.
1574         * Scripts/check-for-weak-vtables: Ditto.
1575
1576 2009-04-13  Geoffrey Garen  <ggaren@apple.com>
1577
1578         Reviewed by Sam Weinig.
1579
1580         Disabled another JavaScriptCore test because it fails on Windows but
1581         not Mac, so it makes the bots red.
1582
1583         * Scripts/run-javascriptcore-tests:
1584
1585 2009-04-13  Geoffrey Garen  <ggaren@apple.com>
1586
1587         Reviewed by Sam Weinig.
1588
1589         Disabled two JavaScriptCore tests because they fail on Window or Mac but
1590         not both, so they make the bots red.
1591
1592         * Scripts/run-javascriptcore-tests:
1593
1594 2009-04-13  Darin Adler  <darin@apple.com>
1595
1596         * Scripts/make-js-test-wrappers: Added another exception.
1597
1598 2009-04-10  Adam Roben  <aroben@apple.com>
1599
1600         Add our new test font to the list that DRT knows about
1601
1602         Reviewed by Dan Bernstein.
1603
1604         * DumpRenderTree/win/DumpRenderTree.cpp:
1605         (initialize): Added WebKit Layout Tests 2.ttf.
1606
1607 2009-04-09  Jan Michael Alonzo  <jmalonzo@webkit.org>
1608
1609         Unreviewed Gtk build fix for undefined reference: g_thread_init.
1610         Add GLIB_LIBS to DRT and GtkLauncher build config.
1611
1612         * GNUmakefile.am:
1613
1614 2009-04-09  David Kilzer  <ddkilzer@apple.com>
1615
1616         Reinstating <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings
1617
1618         Rolled r42345 back in.  The build failure was caused by an
1619         internal script which had not been updated the same way that
1620         build-webkit was updated.
1621
1622         * Scripts/build-webkit:
1623
1624 2009-04-09  David Levin  <levin@chromium.org>
1625
1626         Reviewed by David Kilzer.
1627
1628         https://bugs.webkit.org/show_bug.cgi?id=25101
1629
1630         Launch DumpRenderTree and the image diff tool in a way that will work from perl threads.
1631         This is a workaround due to a perl limitation. When perl does open* calls on a thread, it ignores
1632         the environment of the current thread and simply uses the environment of the main thread instead.
1633
1634         * Scripts/execAppWithEnv: Added.
1635         * Scripts/run-webkit-tests:
1636
1637 2009-04-09  Alexey Proskuryakov  <ap@webkit.org>
1638
1639         Reverting <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings.
1640         It broke Mac build, and I don't know how to fix it.
1641
1642         * Scripts/build-webkit:
1643
1644 2009-04-08  David Kilzer  <ddkilzer@apple.com>
1645
1646         <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings
1647
1648         Reviewed by Darin Adler and Maciej Stachowiak.
1649
1650         Introduce the ENABLE_SVG_DOM_OBJC_BINDINGS feature define so
1651         that SVG DOM Objective-C bindings may be optionally disabled.
1652
1653         * Scripts/build-webkit: Added --[no-]svg-dom-objc-bindings
1654         command-line argument.  Set special ENABLE_SVG_DOM_OBJC_BINDINGS
1655         Xcode variable required by WebCore.xcconfig.
1656
1657 2009-04-07  Adam Roben  <aroben@apple.com>
1658
1659         Print the number of files being compiled when using pdevenv
1660
1661         * Scripts/parallelcl:
1662
1663 2009-04-07  Mark Rowe  <mrowe@apple.com>
1664
1665         Land the current build.webkit.org configuration for safekeeping.
1666
1667         * BuildSlaveSupport/build.webkit.org-config/README: Added.
1668         * BuildSlaveSupport/build.webkit.org-config/Makefile:
1669         * BuildSlaveSupport/build.webkit.org-config/buildbot.tac:
1670         * BuildSlaveSupport/build.webkit.org-config/config.json: Added.
1671         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1672         * BuildSlaveSupport/build.webkit.org-config/public_html/buildbot.css: Renamed from BuildSlaveSupport/build.webkit.org-config/buildbot.css.
1673         * BuildSlaveSupport/build.webkit.org-config/public_html/index.html: Added.
1674         * BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt: Added.
1675         * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Removed.
1676         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Removed.
1677         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Removed.
1678         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Removed.
1679         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Removed.
1680         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Removed.
1681         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Removed.
1682         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Removed.
1683
1684 2009-04-07  Mark Rowe  <mrowe@apple.com>
1685
1686         Ignore the mysterious exception that Cygwin's Python is throwing when attempting
1687         to remove the layout-test-results directory.
1688
1689         * BuildSlaveSupport/test-result-archive:
1690
1691 2009-04-07  Mark Rowe  <mrowe@apple.com>
1692
1693         Change the working directory before removing the test result directory
1694         in the hopes of making the Windows build slaves happier.
1695
1696         * BuildSlaveSupport/test-result-archive:
1697
1698 2009-04-07  Mark Rowe  <mrowe@apple.com>
1699
1700         Reviewed by Adam Roben.
1701
1702         Make the links to tests in the uploaded results.html files on build.webkit.org point to the test files.
1703
1704         * Scripts/VCSUtils.pm: Add a function that will return the location of a file relative to the root of the working copy.
1705         * Scripts/run-webkit-tests: Convert the path in to a remote URL if the path is below the layout tests directory.
1706
1707 2009-04-07  Mark Rowe  <mrowe@apple.com>
1708
1709         Remove the layout-test-results directory after we have archived it so that
1710         log files and results are reset between runs of the tests.
1711
1712         * BuildSlaveSupport/test-result-archive:
1713
1714 2009-04-07  Mark Rowe  <mrowe@apple.com>
1715
1716         Helper script for uploading layout test results for display on build.webkit.org.
1717
1718         * BuildSlaveSupport/test-result-archive: Copied from WebKitTools/BuildSlaveSupport/built-product-archive.
1719
1720 2009-04-11  Brian Weinstein  <bweinstein@gmail.com>
1721
1722         Reviewed by Darin Adler.
1723
1724         https://bugs.webkit.org/show_bug.cgi?id=24908
1725
1726         Allows timeout to be set in run-webkit-tests as a command line argument.
1727
1728         * Scripts/run-webkit-tests:
1729
1730 2009-04-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1731
1732         Rubber-stamped by Tor Arne Vestbø.
1733
1734         Add /Programs to the productDir for GTK+, instead of adding
1735         /JavaScriptCore, when running jsc.
1736
1737         * Scripts/run-sunspider:
1738
1739 2009-04-04  Kevin Ollivier  <kevino@theolliviers.com>
1740
1741         Build fixes for wxMac/Tiger and PPC builds.
1742
1743         * wx/build-wxwebkit:
1744
1745 2009-04-04  Kevin Ollivier  <kevino@theolliviers.com>
1746
1747         wx build fix. Update the version of ICU dlls.
1748
1749         * wx/build-wxwebkit:
1750
1751 2009-04-03  Stephanie Lewis  <slewis@apple.com>
1752
1753         Reviewed by Mark Rowe.
1754
1755         Fix running DumpRenderTree with a root.
1756
1757         * Scripts/run-webkit-tests:
1758
1759 2009-04-02  Adam Roben  <aroben@apple.com>
1760
1761         Build fix for Windows machines that don't have WebKitTools/Scipts in
1762         their PATH
1763
1764         * Scripts/pdevenv: Add WebKitTools/Scripts to PATH when launching
1765         Visual Studio/VC++ Express.
1766
1767 2009-04-02  Adam Roben  <aroben@apple.com>
1768
1769         Use pdevenv when building .vcproj files via our scripts
1770
1771         Reviewed by Mark Rowe.
1772
1773         * Scripts/webkitdirs.pm:
1774         (sub buildVisualStudioProject): Use pdevenv instead of invoking Visual
1775         Studio/VC++ Express directly.
1776
1777 2009-04-01  Mark Rowe  <mrowe@apple.com>
1778
1779         Windows support for built-product-archive.
1780
1781         * BuildSlaveSupport/built-product-archive:
1782
1783 2009-03-31  Adam Roben  <aroben@apple.com>
1784
1785         Make resolve-ChangeLogs -f work when the working tree has spaces in
1786         its path
1787
1788         Reviewed by Mark Rowe and David Kilzer.
1789
1790         * Scripts/resolve-ChangeLogs:
1791         (sub fixMergedChangeLogs): Quote the path to resolve-ChangeLogs in
1792         case it contains spaces.
1793
1794 2009-03-31  Alexey Proskuryakov  <ap@webkit.org>
1795
1796         Reviewed by Darin Adler.
1797
1798         https://bugs.webkit.org/show_bug.cgi?id=24777
1799         WebKit tools are broken on Tiger
1800
1801         * Scripts/webkitdirs.pm: Don't use arch command with options on Tiger.
1802
1803 2009-03-31  Darin Adler  <darin@apple.com>
1804
1805         * Scripts/add-include: Added.
1806
1807 2009-03-31  Mark Rowe  <mrowe@apple.com>
1808
1809         Fix use of incorrect constant.
1810
1811         * BuildSlaveSupport/built-product-archive:
1812
1813 2009-03-30  Mark Rowe  <mrowe@apple.com>
1814
1815         Rubber-stamped by Stephanie Lewis.
1816
1817         Add a script in support of the new build.webkit.org configuration.
1818
1819         * BuildSlaveSupport/built-product-archive: Added.
1820
1821 2009-03-30  Darin Adler  <darin@apple.com>
1822
1823         Reviewed by Sam Weinig.
1824
1825         Make policy-delegate logging work even for local files by processing the URLs as we
1826         do for other delegates.
1827
1828         * DumpRenderTree/mac/PolicyDelegate.mm:
1829         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1830         Use _drt_descriptionSuitableForTestResult on the URL.
1831
1832         * DumpRenderTree/win/PolicyDelegate.cpp:
1833         (PolicyDelegate::decidePolicyForNavigationAction): Use urlSuitableForTestResult on the URL.
1834
1835 2009-03-30  Adam Roben  <aroben@apple.com>
1836
1837         Windows build fix
1838
1839         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1840         (LayoutTestController::waitForPolicyDelegate): Added this empty stub.
1841
1842         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1843         (LoadItem::invoke):
1844         (ScriptItem::invoke):
1845         Changed to use data members instead of removed member functions.
1846
1847 2009-03-30  Jan Michael Alonzo  <jmalonzo@webkit.org>
1848
1849         Gtk DRT build fix per changeset
1850         http://trac.webkit.org/changeset/42082. Not reviewed.
1851
1852         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1853         (LoadItem::invoke):
1854         (ScriptItem::invoke):
1855
1856 2009-03-29  Darin Adler  <darin@apple.com>
1857
1858         * DumpRenderTree/qt/jsobjects.cpp: Rolled out changes to this file. Maybe this will fix
1859         Qt building of DumpRenderTree.
1860
1861 2009-03-29  Darin Adler  <darin@apple.com>
1862
1863         Reviewed by Cameron Zwarich.
1864
1865         Bug 24922: change WorkQueue-based navigation tests to not depend on synchronous form submission
1866         https://bugs.webkit.org/show_bug.cgi?id=24922
1867
1868         Don't rely on delegate methods to guess whether a queued step starts a load or not, because
1869         script-triggered loads can't be detected that way. Instead have the steps themselves indicate
1870         whether or not a load was triggered.
1871
1872         * DumpRenderTree/LayoutTestController.cpp:
1873         (queueLoadingScriptCallback): Added. Version for scripts that perform loads.
1874         (queueNonLoadingScriptCallback): Added. Version for scripts that do not perform loads.
1875         (LayoutTestController::staticFunctions): Replaced queueScript with queueLoadingScript and
1876         queueNonLoadingScript.
1877         (LayoutTestController::queueBackNavigation): Moved here since it's platform-independent now.
1878         (LayoutTestController::queueForwardNavigation): Ditto.
1879         (LayoutTestController::queueLoadingScript): Replacement for queueScript. Here since it's
1880         platform-independent.
1881         (LayoutTestController::queueNonLoadingScript): Ditto.
1882         (LayoutTestController::queueReload): Moved here since it's platform-independent now.
1883         * DumpRenderTree/LayoutTestController.h: Ditto.
1884
1885         * DumpRenderTree/WorkQueue.cpp:
1886         (WorkQueue::processWork): Added. Shared by the different platform's work queue implementations.
1887         * DumpRenderTree/WorkQueue.h: Ditto.
1888
1889         * DumpRenderTree/WorkQueueItem.h: Changed the invoke function to return true if the item
1890         started a load. Removed unused getter functions. Made invoke functions private.
1891         Added LoadingScriptItem and NonLoadingScriptItem, making ScriptItem an abstract base.
1892
1893         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1894         (processWork): Use the new WorkQueue::processWork function to implement the new rule.
1895         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Removed queue functions that are now
1896         platform-independent and in LayoutTestController.cpp.
1897         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1898         (LoadItem::invoke): Return true.
1899         (ReloadItem::invoke): Ditto.
1900         (ScriptItem::invoke): Ditto.
1901         (BackForwardItem::invoke): Ditto.
1902
1903         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1904         (-[FrameLoadDelegate processWork:]): Use the new WorkQueue::processWork function to implement
1905         the new rule.
1906         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Removed queue functions that are now
1907         platform-independent and in LayoutTestController.cpp.
1908         * DumpRenderTree/mac/WorkQueueItemMac.mm:
1909         (LoadItem::invoke): Return true.
1910         (ReloadItem::invoke): Ditto.
1911         (ScriptItem::invoke): Ditto.
1912         (BackForwardItem::invoke): Ditto.
1913
1914         * DumpRenderTree/qt/jsobjects.cpp:
1915         (LayoutTestController::processWork): Use the new WorkQueue::processWork function to implement
1916         the new rule. Removed queue functions that are now platform-independent and in
1917         LayoutTestController.cpp.
1918
1919         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1920         (FrameLoadDelegate::processWork): Use the new WorkQueue::processWork function to implement
1921         the new rule.
1922         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Removed queue functions that are now
1923         platform-independent and in LayoutTestController.cpp.
1924         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1925         (LoadItem::invoke): Return false when we fail, true when we succeed.
1926         (ReloadItem::invoke): Ditto.
1927         (ScriptItem::invoke): Ditto.
1928         (BackForwardItem::invoke): Ditto.
1929
1930 2009-03-28  Kevin Ollivier  <kevino@theolliviers.com>
1931
1932         Reviewed by Eric Seidel.
1933         
1934         Always use wxGraphicsContext on Mac to ensure path, matrix, etc. support.
1935
1936         * wx/build-wxwebkit:
1937
1938 2009-03-27  Darin Adler  <darin@apple.com>
1939
1940         Reviewed by Sam Weinig.
1941
1942         * Scripts/extract-localizable-strings: Fixed version check for perl 5.10 compatibility.
1943
1944 2009-03-27  Darin Adler  <darin@apple.com>
1945
1946         Reviewed by Sam Weinig.
1947
1948         Added waitForPolicyDelegate, a more-reliable way to make our mailto form submission
1949         tests work.
1950
1951         * DumpRenderTree/AccessibilityController.cpp:
1952         (getFocusedElementCallback): Use static_cast instead of reinterpret_cast because there's
1953         no reason to use reinterpret_cast just to get from void* to a specific type.
1954         (getRootElementCallback): Ditto.
1955         * DumpRenderTree/AccessibilityUIElement.cpp:
1956         (toAXElement): Ditto.
1957         * DumpRenderTree/GCController.cpp:
1958         (collectCallback): Ditto.
1959         (collectOnAlternateThreadCallback): Ditto.
1960         (getJSObjectCountCallback): Ditto.
1961         * DumpRenderTree/LayoutTestController.cpp:
1962         (many functions):  Ditto.
1963         (waitForPolicyDelegateCallback): Added.
1964         (LayoutTestController::staticFunctions): Sorted functions by name.
1965         Added waitForPolicyDelegate.
1966
1967         * DumpRenderTree/LayoutTestController.h: Sorted functions by name.
1968         Added waitForPolicyDelegate.
1969
1970         * DumpRenderTree/mac/DumpRenderTree.mm:
1971         (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
1972         policy delegate.
1973         (runTest): Added an additional call to resetWebViewToConsistentStateBeforeTesting just
1974         before loading an empty page. This prevents extra policy delegate calls from being logged.
1975
1976         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1977         (LayoutTestController::waitForPolicyDelegate): Added. Puts us into wait mode, and then
1978         tells the policy delegate to notify when done, then points the web view at the policy delegate.
1979
1980         * DumpRenderTree/mac/PolicyDelegate.h: Added setControllerToNotifyDone: method.
1981
1982         * DumpRenderTree/mac/PolicyDelegate.mm:
1983         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1984         Added code to do notifyDone if controllerToNotifyDone is set.
1985         (-[PolicyDelegate setControllerToNotifyDone:]): Added.
1986
1987         * DumpRenderTree/win/DumpRenderTree.cpp:
1988         (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
1989         policy delegate. Also moved the call to resetUndoManager in here.
1990         (runTest): Removed the call to resetUndoManager (see above). Added an additional call to
1991         resetWebViewToConsistentStateBeforeTesting to match the Mac code.
1992
1993         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1994         (LayoutTestController::setCustomPolicyDelegate): 0, not NULL.
1995
1996         * DumpRenderTree/win/PolicyDelegate.cpp:
1997         (PolicyDelegate::PolicyDelegate): Initialize m_controllerToNotifyDone to 0.
1998         (PolicyDelegate::decidePolicyForNavigationAction): Added code to do notifyDone if
1999         m_controllerToNotifyDone is set.
2000
2001         * DumpRenderTree/win/PolicyDelegate.h: Added setControllerToNotifyDone and
2002         m_controllerToNotifyDone.
2003
2004 2009-03-27  Sam Weinig  <sam@webkit.org>
2005
2006         Reviewed by Gavin Barraclough.
2007
2008         Fix for https://bugs.webkit.org/show_bug.cgi?id=24765
2009         prepare-ChangeLog and svn-create-patch doesn't work with svn 1.6
2010
2011         * Scripts/prepare-ChangeLog:
2012         * Scripts/svn-create-patch:
2013
2014 2009-03-26  Darin Adler  <darin@apple.com>
2015
2016         Reviewed by Geoff Garen.
2017
2018         * Scripts/do-webcore-rename:Update for rename of JSUnprotectedEventListener to
2019         JSEventListener.
2020
2021 2009-03-26  Darin Adler  <darin@apple.com>
2022
2023         Reviewed by Geoff Garen.
2024
2025         * Scripts/do-webcore-rename: Update for rename of JSEventListener to
2026         JSProtectedEventListener. This includes all the related renames, but
2027         not that one because that one renames the file.
2028
2029 2009-03-26  Adam Roben  <aroben@apple.com>
2030
2031         Reduce run-webkit-tests's time out limit to 15 seconds (or 2.5 minutes
2032         under GuardMalloc)
2033
2034         The previous limit was 60 seconds (or 10 minutes under GuardMalloc).
2035         There's no evidence that we need the limit to be this long, and having
2036         it be so long just makes timed-out tests take forever to complete.
2037         DRT's watchdog timer is 10 seconds, so still has time to fire before
2038         run-webkit-tests will cut it off.
2039
2040         Reviewed by Simon Fraser.
2041
2042         * Scripts/run-webkit-tests:
2043         (sub readFromDumpToolWithTimer): Reduced the limit to 15 seconds (or
2044         2.5 mintues under GuardMalloc).
2045
2046 2009-03-26  Adam Roben  <aroben@apple.com>
2047
2048         Make DRT's watchdog timer actually work on Windows
2049
2050         We were previously trying to use a CFRunLoopTimer for the watchdog
2051         timer on Windows. This doesn't work because we don't use a CFRunLoop
2052         on the main thread on Windows.
2053
2054         This patch changes the watchdog timer on Windows be a normal Windows
2055         timer.
2056
2057         Reviewed by Simon Fraser.
2058
2059         * DumpRenderTree/DumpRenderTree.h: Moved declaration of
2060         waitToDumpWatchdog from here...
2061         * DumpRenderTree/mac/DumpRenderTreeMac.h: ...to here.
2062
2063         * DumpRenderTree/win/DumpRenderTree.cpp:
2064         (invalidateAnyPreviousWaitToDumpWatchdog): Added. This function
2065         cancels an existing watchdog timer.
2066         (dump): Call invalidateAnyPreviousWaitToDumpWatchdog. This will
2067         prevent watchdogs from previous tests firing during subsequent ones.
2068         This matches Mac's behavior.
2069
2070         * DumpRenderTree/win/DumpRenderTreeWin.h: Added a declaration of
2071         waitToDumpWatchdog.
2072
2073         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2074         (waitUntilDoneWatchdogFired): Converted this to be a Windows
2075         TIMERPROC.
2076         (LayoutTestController::setWaitToDump): Changed to use SetTimer instead
2077         of CFRunLoopAddTimer.
2078
2079 2009-03-25  Mark Rowe  <mrowe@apple.com>
2080
2081         Rubber-stamped by Steve Falkenburg.
2082
2083         Update test result search path for Windows now that it has updated versions of ICU, libxml2, and friends.
2084
2085         * Scripts/run-webkit-tests:
2086
2087 2009-03-24  Mark Rowe  <mrowe@apple.com>
2088
2089         Fix the Tiger build some more.
2090
2091         * DumpRenderTree/mac/TextInputController.m:
2092
2093 2009-03-24  Mark Rowe  <mrowe@apple.com>
2094
2095         Fix the Tiger build.
2096
2097         * DumpRenderTree/mac/TextInputController.m:
2098
2099 2009-03-24  Mark Rowe  <mrowe@apple.com>
2100
2101         Reviewed by Jon "The Most Boring Man in the World" Honeycutt.
2102
2103         Explicitly map NSNotFound to -1 so that the result of-characterIndexForPointX:Y: does
2104         not differ between 32- and 64-bit.
2105
2106         * DumpRenderTree/mac/TextInputController.m:
2107         (-[TextInputController characterIndexForPointX:Y:]):
2108
2109 2009-03-24  Mark Rowe  <mrowe@apple.com>
2110
2111         Reviewed by Sam Weinig.
2112
2113         Use a different platform search path for tests and skip lists, so that Tiger doesn't end up
2114         using the Leopard skip list.  Tests and skip lists are now looked for in the directory for
2115         the current OS and the generic "mac" directory.  Tests and skip lists for newer OS versions are
2116         ignored.
2117
2118         * Scripts/run-webkit-tests:
2119
2120 2009-03-23  Stephanie  <slewis@apple.com>
2121
2122         Fix root build.
2123
2124         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2125
2126 2009-03-23  Stephanie Lewis  <slewis@apple.com>
2127
2128         Reviewed by Mark Rowe.
2129
2130         Add production configuration for creating roots of WebKitTools.
2131
2132         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2133
2134 2009-03-23  Oliver Hunt  <oliver@apple.com>
2135
2136         Reviewed by Geoff Garen.
2137
2138         Make testapi run as part of the standard JavaScriptCore tests.
2139
2140         We only run testapi on the mac as currently windows webkit doesn't
2141         place all the necessary files for testapi, and we also test the
2142         JSC/CF APIs as well.
2143
2144         * Scripts/run-javascriptcore-tests:
2145
2146 2009-03-21  Oliver Hunt  <oliver@apple.com>
2147
2148         Reviewed by Mark Rowe.
2149
2150         Make build-jsc build testapi and minidom in addition to jsc itself.
2151
2152         * Scripts/build-jsc:
2153
2154 2009-03-20  Anders Carlsson  <andersca@apple.com>
2155
2156         Reviewed by Darin Adler.
2157
2158         Only release the result NPVariant if the call to NPN_Invoke was successful.
2159         
2160         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2161         (testNPRuntime):
2162
2163 2009-03-19  Gustavo Noronha Silva  <gns@gnome.org>
2164
2165         Reviewed by Mark Rowe.
2166
2167         Make determinePassedArchitecture always consume the --32-bit
2168         option, also in non-AppleMacWebkit platforms. Solution pointed out
2169         by Mark Rowe.
2170
2171         * Scripts/webkitdirs.pm:
2172
2173 2009-03-19  Mark Rowe  <mrowe@apple.com>
2174
2175         Reviewed by Oliver Hunt.
2176
2177         Work around <rdar://problem/6698023> by activating fonts from disk.
2178
2179         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources
2180         in the built products directory.
2181         * DumpRenderTree/mac/DumpRenderTree.mm:
2182         (activateFonts): Activate the fonts from disk.
2183
2184 2009-03-18  Mark Rowe  <mrowe@apple.com>
2185
2186         Reviewed by Dan Bernstein.
2187
2188         <rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results
2189
2190         Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear
2191         in test results even when the plug-in's stdout differs from DumpRenderTree's stdout.
2192
2193         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2194         (log): Invoke console.log via the NPAPI.
2195         (NPP_Destroy): Call log instead of printf.
2196         (NPP_SetWindow): Ditto.
2197         (handleEventCarbon): Ditto.
2198         (handleEventCocoa): Ditto.
2199         (NPP_HandleEvent): Pass the instance in to the event handler.
2200
2201 2009-03-17  Mark Rowe  <mrowe@apple.com>
2202
2203         Reviewed by Oliver Hunt.
2204
2205         Use the normal search rules for tests inside the platform directory.
2206
2207         This allows tests inside the platform directory to have different results
2208         on different versions of Mac OS X.
2209
2210         * Scripts/run-webkit-tests:
2211
2212 2009-03-17  David Kilzer  <ddkilzer@apple.com>
2213
2214         resolve-ChangeLogs should not die on unmerged non-ChangeLog files
2215
2216         Reviewed by Adam Roben.
2217
2218         Fixes the following bug in resolve-ChangeLogs:
2219
2220             Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132.
2221             Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164.
2222
2223         * Scripts/resolve-ChangeLogs:
2224         (findUnmergedChangeLogs): Check the result of findChangeLog() to
2225         make sure we don't add undef values to the list of files being
2226         returned.
2227
2228 2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
2229
2230         Reviewed by Simon Fraser.
2231
2232         Fix the usage of the $architecture variable for non-Apple-Mac
2233         ports.
2234
2235         * Scripts/webkitdirs.pm:
2236
2237 2009-03-17  David Kilzer  <ddkilzer@apple.com>
2238
2239         Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
2240
2241         <https://bugs.webkit.org/show_bug.cgi?id=24645>
2242
2243         Reviewed by Mark Rowe.
2244
2245         * Scripts/bisect-builds:
2246         (makeNightlyList): Added checks for Safari 4 Public Beta on
2247         Tiger and Leopard.
2248
2249 2009-03-17  Simon Fraser  <simon.fraser@apple.com>
2250
2251         Reviewed by Darin Adler
2252
2253         https://bugs.webkit.org/show_bug.cgi?id=24396
2254
2255         Change the terminology from '3D transforms' to '3D rendering'.
2256
2257         * Scripts/build-webkit:
2258         * Scripts/run-webkit-tests:
2259         * Scripts/webkitdirs.pm:
2260
2261 2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
2262
2263         Reviewed by Mark Rowe.
2264
2265         Enable HTML5 media elements support by default also for the GTK+
2266         port.
2267
2268         * Scripts/build-webkit:
2269
2270 2009-03-17  Kevin Ollivier  <kevino@theolliviers.com>
2271
2272         Reviewed by Mark Rowe.
2273         
2274         Tweak the BUILDING_ON_* defines so that they work with the default values set by
2275         AvailabilityMacros.h.
2276         
2277         https://bugs.webkit.org/show_bug.cgi?id=24630
2278
2279         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2280
2281 2009-03-17  Oliver Hunt  <oliver@apple.com>
2282
2283         Reviewed by Alexey Proskuryakov.
2284
2285         Make coverage testing more reliable by ensuring --coverage does not
2286         clobber configuration settings, and by removing the unnecessary 
2287         dependency on matplotlib.
2288
2289         * CodeCoverage/regenerate-coverage-display:
2290         * Scripts/webkitdirs.pm:
2291
2292 2009-03-16  Anders Carlsson  <andersca@apple.com>
2293
2294         Reviewed by Darin Adler and John Sullivan.
2295
2296         When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated.
2297         Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables.
2298         
2299         Instead, just zero out the member variable in invalidate.
2300         
2301         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2302         (pluginInvalidate):
2303         (pluginDeallocate):
2304
2305 2009-03-16  Eric Seidel  <eric@webkit.org>
2306
2307         Reviewed by Sam Weinig.
2308         
2309         REGRESSION: undo-iframe-location-change.html is failing on the buildbots
2310         https://bugs.webkit.org/show_bug.cgi?id=24626
2311         
2312         Added a call to [[webview undoManager] removeAllActions]
2313         to make sure anything left on the undo stack after one test
2314         will not affect any later test.
2315
2316         * DumpRenderTree/mac/DumpRenderTree.mm:
2317         (resetWebViewToConsistentStateBeforeTesting):
2318
2319 2009-03-14  Mark Rowe  <mrowe@apple.com>
2320
2321         Reviewed by Dan Bernstein.
2322
2323         Change the layout test result search policy for Mac OS X to fit better with the idea of
2324         newer OS versions improving on previous OS versions.
2325
2326         The results for the latest version of Mac OS X are placed in the "mac" directory.  The
2327         results for older versions of Mac OS X are structured as a series of overlays.  When
2328         running on Leopard, the results in "mac-leopard" are searched before those in "mac".
2329         When running on Tiger, the results in "mac-tiger" are searched before those in
2330         "mac-leopard" and "mac".
2331
2332         * Scripts/run-webkit-tests:
2333
2334 2009-03-13  Mark Rowe  <mrowe@apple.com>
2335
2336         Rubber-stamped by Dan Bernstein.
2337
2338         Take advantage of the ability of recent versions of Xcode to easily switch the active
2339         architecture.
2340
2341         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2342
2343 2009-03-13  Mark Rowe  <mrowe@apple.com>
2344
2345         Reviewed by Timothy Hatcher.
2346
2347         Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.
2348
2349         The scripts will automatically target 64-bit if the system and hardware support it.  This can be
2350         overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
2351         to make the override persistent.
2352
2353         * Scripts/build-webkit: Remove architecture-related code.
2354         * Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
2355         * Scripts/run-javascriptcore-tests: Remove architecture-related code.
2356         * Scripts/run-safari: Ditto.
2357         * Scripts/run-webkit-tests: Ditto.
2358         * Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments.  The --32-bit argument will set the
2359         architecture preference to the 32-bit architecture of the machine.  The --64-bit argument will remove any architecture
2360         override that is in effect so that 64-bit support will be automatically detected.
2361         * Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
2362         auto-detection.
2363
2364 2009-03-13  Anders Carlsson  <andersca@apple.com>
2365
2366         Reviewed by Dan Bernstein.
2367
2368         <rdar://problem/6610666> Revise the Cocoa event model text API
2369
2370         Add a case statement for NPCocoaEventTextInput.
2371         
2372         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2373         (handleEventCocoa):
2374
2375 2009-03-12  Kevin Ollivier  <kevino@theolliviers.com>
2376
2377         wx build fix. Let DerivedSources.make know we want database APIs.
2378
2379         * wx/build-wxwebkit:
2380
2381 2009-03-12  David Kilzer  <ddkilzer@apple.com>
2382
2383         Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs
2384
2385         <https://bugs.webkit.org/show_bug.cgi?id=24378>
2386
2387         Reviewed by Adam Roben.
2388
2389         * Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed
2390         and no file or directory names are specified on the command-line
2391         then try to find unmerged ChangeLog files based on 'svn stat' or
2392         'git diff'.  Added global $isGit and $isSVN variables so that
2393         isGit() and isSVN() only have to be called once.
2394         (findUnmergedChangeLogs): Added.
2395
2396 2009-03-11  David Kilzer  <ddkilzer@apple.com>
2397
2398         Clarify comments regarding order of FEATURE_DEFINES
2399
2400         Rubber-stamped by Mark Rowe.
2401
2402         * Scripts/build-webkit: Added warning about keeping
2403         FEATURE_DEFINES in order and the consequences when they are not.
2404
2405 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
2406
2407         Reviewed by Holger Freyther.
2408
2409         Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
2410         https://bugs.webkit.org/show_bug.cgi?id=24487
2411
2412         Also reset WebSettings to its default state for JavaScript
2413         profiling, Developer Extras and Private Browsing before running
2414         the test (can be after each test but we want to be consistent with
2415         other ports in this regard)
2416
2417         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2418         (resetWebViewToConsistentStateBeforeTesting):
2419         (runTest):
2420         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2421         (LayoutTestController::setPrivateBrowsingEnabled):
2422
2423 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
2424
2425         Reviewed by Holger Freyther.
2426
2427         [GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore
2428         https://bugs.webkit.org/show_bug.cgi?id=2260
2429
2430         Add plugin support only for X11 builds
2431
2432         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2433         (setDefaultsToConsistentStateValuesForTesting):
2434         * GNUmakefile.am:
2435
2436 2009-03-08  Holger Hans Peter Freyther  <zecke@selfish.org>
2437
2438         Reviewed by Mark Rowe.
2439
2440         Implement setJavaScriptProfilingEnabled by enabling the Developer
2441         Extras and the JavaScript profiling on the WebKitWebInspector. After
2442         this change we pass the three enabled tests in fast/profiler.
2443
2444         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2445         (runTest): Reset setJavaScriptProfilingEnabled after each test run
2446         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2447         (LayoutTestController::setJavaScriptProfilingEnabled):
2448
2449 2009-03-07  Jan Michael Alonzo  <jmalonzo@webkit.org>
2450
2451         Reviewed by Holger Freyther.
2452
2453         [Gtk] Enable http history tests
2454         https://bugs.webkit.org/show_bug.cgi?id=24394
2455
2456         Get the index of the current item from the list of (history) items
2457         to print before adding the back history items to the list. This
2458         will make the 'curr' pointer point to the correct item in the
2459         actual results, therefore, passing some of the http/tests/history
2460         tests.
2461
2462         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2463         (dumpBackForwardListForWebView):
2464
2465 2009-03-06  Adam Treat  <adam.treat@torchmobile.com>
2466
2467         Reviewed by George Staikos.
2468
2469         When building QtWebKit in release mode make sure that QT_SHARED is defined
2470         otherwise none of the public API will be exported.  This leads to missing
2471         symbols and link errors if hidden-visibility is used.
2472
2473         * Scripts/webkitdirs.pm:
2474
2475 2009-03-06  Adam Roben  <aroben@apple.com>
2476
2477         Change the isCygwin check in update-webkit to isAppleWinWebKit
2478
2479         This matches a similar check in build-webkit, and is more correct.
2480
2481         Reviewed by Alexey Proskuryakov.
2482
2483         * Scripts/update-webkit: Only call update-webkit-auxiliary-libs if
2484         isAppleWinWebKit is true.
2485
2486 2009-03-06  Adam Roben  <aroben@apple.com>
2487
2488         Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is
2489         present but out of date
2490
2491         Reviewed by Alexey Proskuryakov.
2492
2493         * Scripts/update-webkit-support-libs: Changed to use
2494         dieAndInstructToDownload when the zip file doesn't exist. Added an MD5
2495         check to make sure the file is up-to-date. If it is out of date, print
2496         an error message and quit.
2497         (sub dieAndInstructToDownload): Added. Prints an error message and
2498         quits with an error.
2499
2500 2009-03-03  Anders Carlsson  <andersca@apple.com>
2501
2502         Reviewed by John Sullivan.
2503
2504         https://bugs.webkit.org/show_bug.cgi?id=22884
2505         <rdar://problem/6449783>
2506         modified layout test crashes Safari
2507
2508         Add destroyNullStream test function to the test plug-in.
2509         
2510         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2511         (destroyNullStream):
2512         (pluginInvoke):
2513
2514 2009-03-03  Brady Eidson  <beidson@apple.com>
2515
2516         Reviewed by Darin Adler
2517
2518         Support layout test covering <rdar://problem/6616664>
2519
2520         Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL
2521
2522         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2523         (-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the 
2524           mainDocumentURL.
2525         
2526         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2527         (descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL.
2528
2529 2009-03-02  Sam Weinig  <sam@webkit.org>
2530
2531         Reviewed by Mark Rowe.
2532
2533         Enable Geolocation (except on Tiger and Leopard).
2534
2535         * Scripts/build-webkit:
2536
2537 2009-03-02  Kevin Ollivier  <kevino@theolliviers.com>
2538
2539         Build fixes for wxWidgets Mac trunk build.
2540
2541         * wx/build-wxwebkit:
2542
2543 2009-03-02  Timothy Hatcher  <timothy@apple.com>
2544
2545         Allow for multiline quoted text in JavaScript files when looking for function names.
2546
2547         https://bugs.webkit.org/show_bug.cgi?id=24296
2548
2549         Reviewed by David Kilzer.
2550
2551         * Scripts/prepare-ChangeLog:
2552
2553 2009-03-02  Adam Treat  <adam.treat@torchmobile.com>
2554
2555         Reviewed by Eric Seidel.
2556
2557         Add three new drt helper functions that enable all of the tests in
2558         LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
2559
2560         * DumpRenderTree/qt/jsobjects.cpp:
2561         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2562         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2563         (LayoutTestController::numberOfActiveAnimations):
2564         * DumpRenderTree/qt/jsobjects.h:
2565
2566 2009-03-02  Adam Roben  <aroben@apple.com>
2567
2568         Windows build fix after r41349
2569
2570         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2571         (AccessibilityUIElement::getChildrenWithRange):
2572
2573 2009-03-01  Chris Fleizach  <cfleizach@apple.com>
2574
2575         Reviewed by Oliver Hunt.
2576
2577         Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
2578
2579         Change getChildAtIndex() to get a range of children instead of all the children.
2580         This exercises code in WebCore that returns elements when asked for from a range.
2581
2582         * DumpRenderTree/AccessibilityUIElement.h:
2583         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2584         (AccessibilityUIElement::getChildrenWithRange):
2585         (AccessibilityUIElement::getChildAtIndex):
2586         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2587         (AccessibilityUIElement::getChildrenWithRange):
2588
2589 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
2590
2591         Reviewed by Holger Freyther.
2592
2593          [Gtk] get the HTTP layout tests going
2594          https://bugs.webkit.org/show_bug.cgi?id=24259
2595
2596         Determine the frame's response and decide whether to dump as text
2597         or the render tree
2598
2599         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2600         (dump):
2601
2602 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
2603
2604         Reviewed by Holger Freyther.
2605
2606         [Gtk] get the HTTP layout tests going
2607         https://bugs.webkit.org/show_bug.cgi?id=24259
2608
2609          Implement dumping of WebKitWebBackForwardList and its history
2610          items.
2611
2612         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2613         (compareHistoryItems):
2614         (dumpHistoryItem):
2615         (dumpBackForwardListForWebView):
2616         (dump):
2617         (runTest):
2618         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2619         (LayoutTestController::clearBackForwardList):
2620         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2621         (BackForwardItem::invoke):
2622
2623 2009-02-28  Zan Dobersek  <zandobersek@gmail.com>
2624
2625          Reviewed by Holger Freyther.
2626
2627          Set the resolution for the default screen to 72.0.
2628          This way, setting font sizes results in expected values.
2629
2630          * DumpRenderTree/gtk/DumpRenderTree.cpp:
2631          (setDefaultsToConsistentStateValuesForTesting):
2632
2633 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
2634
2635         Reviewed by Holger Freyther.
2636
2637         Adds a WebKitMakeArguments environment variable to enable passing
2638         of arguments such as '-j2' to make for the autotools build.
2639
2640         * Scripts/webkitdirs.pm:
2641
2642 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
2643
2644         Reviewed by Holger Freyther.
2645
2646         Add a GTK+-only option to enable GNOME Keyring when building.
2647
2648         * Scripts/build-webkit:
2649
2650 2009-02-28  Jan Michael Alonzo  <jmalonzo@webkit.org>
2651
2652         Reviewed by Holger Freyther.
2653
2654         [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
2655         https://bugs.webkit.org/show_bug.cgi?id=24076
2656
2657         Refactor gtk lib detection and put it in builtDylibPathForName
2658
2659         * Scripts/webkitdirs.pm:
2660
2661 2009-02-28  Christian Dywan  <christian@twotoasts.de>
2662
2663         Rubber-stamped by Holger Freyther.
2664
2665         * GtkLauncher/main.c:
2666         (activate_uri_entry_cb):
2667         (main): Use the new webkit_web_view_load_uri to open URIs.
2668
2669 2009-02-27  Xan Lopez  <xan@gnome.org>
2670
2671         Rubber-stamped by Alexey Proskuryakov.
2672
2673         https://bugs.webkit.org/show_bug.cgi?id=24222
2674         [GTK] Remove checks for old glib versions
2675
2676         libsoup, which is a hard dependency, needs at least glib 2.15.3,
2677         so remove all glib checks for versions older than that.
2678
2679         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2680         (LayoutTestController::setWaitToDump):
2681
2682 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
2683
2684         Reviewed by Eric Seidel
2685
2686         Fix spew about a WebView being deallocated while key value observers are
2687         still registered with it by making sure that we always stop observing
2688         _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
2689         
2690         * DumpRenderTree/mac/DumpRenderTree.mm:
2691         (dumpRenderTree):
2692         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2693         (-[DumpRenderTreeWindow close]):
2694
2695 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
2696
2697         Reviewed by Alexey Proskuryakov.
2698
2699         Do not queue the calls to 'DumpRenderTree::dump()' as this can result
2700         in more than one call as a test that calls 'notifyDone()' can then be
2701         subsequently fully loaded and initiate a second dump.  Also make sure
2702         to stop any existing page load that is happening before running the next
2703         test.  Combined this serves to produce 217 more passing tests for the
2704         Qt port or roughly 5% at this point.
2705
2706         * DumpRenderTree/qt/DumpRenderTree.cpp:
2707         (WebCore::DumpRenderTree::DumpRenderTree):
2708         (WebCore::DumpRenderTree::open):
2709
2710 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
2711
2712         Reviewed by Dan Bernstein
2713
2714         https://bugs.webkit.org/show_bug.cgi?id=23854
2715
2716         Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
2717         property of the WebView, and use that to turn -autodisplay on and off.
2718         This is necessary so that accelerated animations start correctly.
2719         We can thus remove the -display hack in createBitmapContextFromWebView().
2720
2721         * DumpRenderTree/mac/DumpRenderTree.mm:
2722         (createWebViewAndOffscreenWindow):
2723         (dumpRenderTree):
2724         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2725         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2726         (-[DumpRenderTreeWindow close]):
2727         (-[DumpRenderTreeWindow webView]):
2728         (-[DumpRenderTreeWindow startObservingWebView]):
2729         (-[DumpRenderTreeWindow stopObservingWebView]):
2730         (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
2731         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2732         (createBitmapContextFromWebView):
2733
2734 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
2735
2736         Reviewed by Zack Rusin.
2737
2738         https://bugs.webkit.org/show_bug.cgi?id=24158
2739         Implement the queue*() methods of the layoutTestController and begin
2740         implementing the dump of the back/forward list.  This results in 2% more
2741         tests passing as well as 23 currently skipped tests now passing.
2742
2743         * DumpRenderTree/qt/DumpRenderTree.cpp:
2744         (WebCore::DumpRenderTree::dumpBackForwardList):
2745         (WebCore::DumpRenderTree::dump):
2746         * DumpRenderTree/qt/DumpRenderTree.h:
2747         * DumpRenderTree/qt/DumpRenderTree.pro:
2748         * DumpRenderTree/qt/jsobjects.cpp:
2749         (findFrameNamed):
2750         (LoadItem::invoke):
2751         (ReloadItem::invoke):
2752         (ScriptItem::invoke):
2753         (BackForwardItem::invoke):
2754         (LayoutTestController::reset):
2755         (LayoutTestController::processWork):
2756         (LayoutTestController::maybeDump):
2757         (LayoutTestController::queueBackNavigation):
2758         (LayoutTestController::queueForwardNavigation):
2759         (LayoutTestController::queueLoad):
2760         (LayoutTestController::queueReload):
2761         (LayoutTestController::queueScript):
2762         * DumpRenderTree/qt/jsobjects.h:
2763         (LayoutTestController::shouldDumpBackForwardList):
2764         (LayoutTestController::dumpBackForwardList):
2765
2766 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
2767
2768         Reviewed by Alexey Proskuryakov.
2769
2770         Don't print out that you are generating new results if you are not in fact
2771         generating new results and disable generating new results by default for
2772         the all ports other than the canonical Apple Mac port since this can litter
2773         the source directory with hundreds of new results since other ports
2774         are not as up to date.
2775
2776         * Scripts/run-webkit-tests:
2777
2778 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
2779
2780         Reviewed by Cameron Zwarich.
2781
2782         The Qt port does not support these yet nor does the nm check work with
2783         QMake based build.
2784
2785         * Scripts/webkitdirs.pm:
2786
2787 2009-02-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
2788
2789         Reviewed by Alexey Proskuryakov.
2790
2791         [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
2792         https://bugs.webkit.org/show_bug.cgi?id=24072
2793
2794         Allow toggling of 3D transforms and HTML5 channel messaging
2795         support for the Autotools (Gtk) build.
2796
2797         Also add '--gtk' in the build-webkit help doc and fix autotools
2798         option for web-workers support.
2799
2800         * Scripts/build-webkit:
2801
2802 2009-02-23  Xan Lopez  <xan@gnome.org>
2803
2804         Reviewed by Alexey Proskuryakov.
2805
2806         https://bugs.webkit.org/show_bug.cgi?id=22624
2807         [SOUP][GTK] Need API to get SoupSession from WebKit.
2808
2809         Add soup flags now that dependency is explicit.
2810
2811         * GNUmakefile.am:
2812
2813 2009-02-22  Mark Rowe  <mrowe@apple.com>
2814
2815         Reviewed by Oliver Hunt.
2816
2817         Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
2818
2819         * DumpRenderTree/mac/DumpRenderTree.mm:
2820         (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
2821         than of an arbitrary existing method on the class.
2822
2823 2009-02-13  Eric Seidel  <eric@webkit.org>
2824
2825         Rubber-stamped by Alexey Proskuryakov.
2826
2827         Add a few ignores to make-js-test-wrappers.
2828
2829         * Scripts/make-js-test-wrappers:
2830
2831 2009-02-17  Holger Hans Peter Freyther  <zecke@selfish.org>
2832
2833         Reviewed by Alexey Proskuryakov.
2834
2835         Prepend file:// to the test result filename to make
2836         GtkLauncher display the result page.
2837
2838         * Scripts/run-webkit-tests:
2839
2840 2009-02-16  Gustavo Noronha Silva  <gns@gnome.org>
2841
2842         Reviewed by Adam Roben
2843
2844         Actually use the installation prefix defined in WebKitInstallationPrefix,
2845         in autotools builds.
2846
2847         * Scripts/webkitdirs.pm:
2848
2849 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
2850
2851         No review.
2852
2853         Remove debugging code which was committed by mistake.
2854
2855         * Scripts/run-webkit-tests:
2856
2857 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
2858
2859         Reviewed by Adam Roben
2860
2861         https://bugs.webkit.org/show_bug.cgi?id=23928
2862
2863         Add detection of accelerated compositing and 3d transforms,
2864         and add various directories to $ignoredDirectories when these
2865         features are off.
2866
2867         * Scripts/run-webkit-tests:
2868         * Scripts/webkitdirs.pm:
2869
2870 2009-02-12  Adam Roben  <aroben@apple.com>
2871
2872         Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
2873         contains non-existent tests is confusing and is given for disabled
2874         tests
2875
2876         <https://bugs.webkit.org/show_bug.cgi?id=23922>
2877
2878         We now no longer warn about disabled tests. The warning now reads:
2879
2880         Skipped list contained '$item', but no file of that name could be
2881         found
2882
2883         Reviewed by John Sullivan.
2884
2885         * Scripts/run-webkit-tests:
2886         (top level): Pass the list name to processIgnoreTests so it can print
2887         out a reasonable warning message.
2888         (processIgnoreTests): Take a list name as a second parameter and use
2889         it to display a better warning message. Also check for a "-disabled"
2890         version of the test before warning about it not existing.
2891
2892 2009-02-11  Adam Roben  <aroben@apple.com>
2893
2894         Windows fix for Bug 22239: Implement missing animation & transition
2895         APIs on LayoutTestController for non-mac platforms
2896
2897         <https://bugs.webkit.org/show_bug.cgi?id=22239>
2898
2899         Reviewed by Simon Fraser.
2900
2901         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2902         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2903         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2904         (LayoutTestController::numberOfActiveAnimations):
2905         Implemented these by calling through to IWebFramePrivate.
2906
2907 2009-02-10  Chris Marrin  <cmarrin@apple.com>
2908
2909         Reviewed by Simon Fraser.
2910
2911         * Scripts/build-webkit:
2912
2913         https://bugs.webkit.org/show_bug.cgi?id=23883
2914
2915         Added support --3d-transforms. Defaults to off
2916
2917 2009-02-11  Adam Roben  <aroben@apple.com>
2918
2919         Fix crashes in http/tests/history/redirect-301.pl and friends on
2920         Windows
2921
2922         Reviewed by Alexey Proskuryakov.
2923
2924         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2925         (LayoutTestController::webHistoryItemCount): Null-check the shared
2926         WebHistory instance before dereferencing it.
2927
2928 2009-02-10  Adam Roben  <aroben@apple.com>
2929
2930         Fix Bug 23869: Pixel tests can't be run on Windows
2931
2932         <https://bugs.webkit.org/show_bug.cgi?id=23869>
2933
2934         This patch gets the pixel tests limping along on Windows again.
2935
2936         Reviewed by Dan Bernstein.
2937
2938         * DumpRenderTree/DumpRenderTree.sln: Changed to use the new
2939         Debug_Internal configuration of ImageDiff in the Debug_Internal
2940         configuration of this solution.
2941
2942         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2943         (printPNG): Changed to call fwrite in a loop, since this call was
2944         failing due to the buffer being too large on Windows.
2945         (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
2946         #if PLATFORM(MAC)/#endif.
2947
2948         * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
2949         configuration that matches the Debug configuration but also references
2950         debug_internal.vsprops.
2951
2952         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2953         (createBitmapContextFromWebView): Renamed from
2954         getBitmapContextFromWebView to match the name used in the
2955         cross-platform code.
2956
2957 2009-02-10  Adam Roben  <aroben@apple.com>
2958
2959         Robustify DumpRenderTree/win a little
2960
2961         DumpRenderTree was previously not holding a ref to the WebViews it
2962         created via window.open. It was getting away with this because
2963         WebViews get reffed by being preference notification observers and by
2964         registering for drag-n-drop messages. Now DRT does hold a ref, in case
2965         this situation changes in the future.
2966
2967         Reviewed by Alexey Proskuryakov.
2968
2969         * DumpRenderTree/win/DumpRenderTree.cpp:
2970         (dumpBackForwardListForAllWindows): Added a .get().
2971         (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
2972         * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
2973         windowToWebViewMap() to hold a ref to the WebViews it contains.
2974
2975 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
2976
2977         Fix the #include file order, per review comments.
2978
2979         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2980
2981 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
2982
2983         Reviewed by Dan Bernstein
2984
2985         https://bugs.webkit.org/show_bug.cgi?id=23362
2986
2987         If the WebHTMLView uses accelerated compositing, we need for force
2988         the on-screen capture path and also force animations to start with -display
2989         since the DRT window has autodisplay disabled.
2990
2991         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2992         (createBitmapContextFromWebView):
2993
2994 2009-02-03  miggilin  <mr.diggilin@gmail.com>
2995
2996         Reviewed by Darin Adler.
2997
2998         Change the way wxWidgets build gets arguments.
2999         Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
3000         argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
3001         removed when --wx is checked for).
3002
3003         https://bugs.webkit.org/show_bug.cgi?id=23701
3004
3005         * Scripts/build-webkit:
3006         * Scripts/webkitdirs.pm:
3007
3008 2009-01-30  Chris Fleizach  <cfleizach@apple.com>
3009
3010         Reviewed by Oliver Hunt.
3011
3012         Catch exceptions thrown by AppKit when accessing an attribute than an element
3013         doesn't return.
3014
3015         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3016         (attributesOfElement):
3017
3018 2009-01-29  David Kilzer  <ddkilzer@apple.com>
3019
3020         Remove semi-colons from the end of ObjC method implementations
3021
3022         Rubber-stamped by Adam Roben.
3023
3024         $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
3025
3026         * DumpRenderTree/mac/FrameLoadDelegate.mm:
3027         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3028         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3029         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3030         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3031         * DumpRenderTree/mac/UIDelegate.mm:
3032         (-[UIDelegate webViewFrame:]):
3033
3034 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
3035
3036         Build fix for GTK.
3037
3038         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3039         (LayoutTestController::webHistoryItemCount):
3040
3041 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
3042
3043         Reviewed by Sam Weinig.
3044
3045         Added support for querying how many history items were created during a
3046         layout test.
3047
3048         * DumpRenderTree/LayoutTestController.cpp:
3049         (getWebHistoryItemCountCallback):
3050         (LayoutTestController::staticValues):
3051         * DumpRenderTree/LayoutTestController.h:
3052         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3053         (LayoutTestController::webHistoryItemCount):
3054         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3055         (LayoutTestController::webHistoryItemCount):
3056
3057 2009-01-26  Pierre-Olivier Latour  <pol@apple.com>
3058
3059         Tweaked again earlier fix, this time just to print a warning and not abort if
3060         attempting to generate pixel results and Perian is installed.
3061
3062         https://bugs.webkit.org/show_bug.cgi?id=22615
3063
3064         * Scripts/run-webkit-tests:
3065
3066 2009-01-26  Christian Dywan  <christian@twotoasts.de>
3067
3068         Rubber stamped by Holger Freyther.
3069
3070         * GtkLauncher/main.c:
3071         (main): Initialize threads, which is required for libSoup.
3072
3073 2009-01-23  David Kilzer  <ddkilzer@apple.com>
3074
3075         * Scripts/do-webcore-rename: Removed 10 header guard renames that
3076         had already been fixed, and updated 4 renames whose original values
3077         had changed.
3078
3079 2009-01-22  Anders Carlsson  <andersca@apple.com>
3080
3081         Fix Windows build.
3082
3083         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3084
3085 2009-01-22  Anders Carlsson  <andersca@apple.com>
3086
3087         Reviewed by Sam Weinig.
3088
3089         Clean up the test plug-in code. We now always use the CG drawing model and the
3090         Cocoa event model. It is however possible to revert to the old Carbon event model by
3091         specifying forcecarbon=true in the embed/object tag.
3092
3093         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3094         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3095         (NPP_New):
3096         (handleEventCarbon):
3097         (handleEventCocoa):
3098         (NPP_HandleEvent):
3099
3100 2009-01-21  Pierre-Olivier Latour  <pol@apple.com>
3101
3102         Tweaked earlier fix to only print a warning when Perian is installed,
3103         and fail completely only if attempting to generate new pixel test results.
3104
3105         https://bugs.webkit.org/show_bug.cgi?id=23392
3106
3107         * Scripts/run-webkit-tests:
3108
3109 2009-01-20  Darin Adler  <darin@apple.com>
3110
3111         Reviewed by Alexey Proskuryakov.
3112
3113         Bug 23450: string leaks seen in DumpRenderTree accessibility test code
3114         https://bugs.webkit.org/show_bug.cgi?id=23450
3115
3116         * DumpRenderTree/AccessibilityUIElement.cpp:
3117         (isAttributeSettableCallback): Add the missing JSStringRelease call.
3118         (attributeValueCallback): Ditto.
3119
3120 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
3121
3122         Reviewed by Darin Adler.
3123
3124         Print warning regarding display color profile change in run-webkit-tests instead of DRT.
3125
3126         https://bugs.webkit.org/show_bug.cgi?id=23392
3127
3128         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3129         (setupMainDisplayColorProfile):
3130         * Scripts/run-webkit-tests:
3131
3132 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
3133
3134         Reviewed by Darin Adler.
3135
3136         Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
3137         in order to avoid result differences in some media tests.
3138
3139         https://bugs.webkit.org/show_bug.cgi?id=22615
3140
3141         * Scripts/run-webkit-tests:
3142         * Scripts/webkitdirs.pm:
3143
3144 2009-01-19  Sam Weinig  <sam@webkit.org>
3145
3146         * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
3147
3148 2009-01-16  Gabor Loki  <loki@inf.u-szeged.hu>
3149
3150         Reviewed by Darin Adler.
3151
3152         * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
3153         parameters to make command in QMake projects.
3154
3155 2009-01-16  Chris Fleizach  <cfleizach@apple.com>
3156
3157         Reviewed by Beth Dakin.
3158
3159         Add AX methods to retrieve the parent of an element.
3160
3161         * DumpRenderTree/AccessibilityUIElement.cpp:
3162         (parentElementCallback):
3163         (AccessibilityUIElement::getJSClass):
3164         * DumpRenderTree/AccessibilityUIElement.h:
3165         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3166         (AccessibilityUIElement::parentElement):
3167         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3168         (AccessibilityUIElement::parentElement):
3169
3170 2009-01-16  Anders Carlsson  <andersca@apple.com>
3171
3172         Reviewed by Adam Roben.
3173