Remove the --64-bit argument from scripts in favor of them detecting when 64-bit...
[WebKit-https.git] / WebKitTools / ChangeLog
1 2009-03-13  Mark Rowe  <mrowe@apple.com>
2
3         Reviewed by Timothy Hatcher.
4
5         Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.
6
7         The scripts will automatically target 64-bit if the system and hardware support it.  This can be
8         overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
9         to make the override persistent.
10
11         * Scripts/build-webkit: Remove architecture-related code.
12         * Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
13         * Scripts/run-javascriptcore-tests: Remove architecture-related code.
14         * Scripts/run-safari: Ditto.
15         * Scripts/run-webkit-tests: Ditto.
16         * Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments.  The --32-bit argument will set the
17         architecture preference to the 32-bit architecture of the machine.  The --64-bit argument will remove any architecture
18         override that is in effect so that 64-bit support will be automatically detected.
19         * Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
20         auto-detection.
21
22 2009-03-13  Anders Carlsson  <andersca@apple.com>
23
24         Reviewed by Dan Bernstein.
25
26         <rdar://problem/6610666> Revise the Cocoa event model text API
27
28         Add a case statement for NPCocoaEventTextInput.
29         
30         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
31         (handleEventCocoa):
32
33 2009-03-12  Kevin Ollivier  <kevino@theolliviers.com>
34
35         wx build fix. Let DerivedSources.make know we want database APIs.
36
37         * wx/build-wxwebkit:
38
39 2009-03-12  David Kilzer  <ddkilzer@apple.com>
40
41         Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs
42
43         <https://bugs.webkit.org/show_bug.cgi?id=24378>
44
45         Reviewed by Adam Roben.
46
47         * Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed
48         and no file or directory names are specified on the command-line
49         then try to find unmerged ChangeLog files based on 'svn stat' or
50         'git diff'.  Added global $isGit and $isSVN variables so that
51         isGit() and isSVN() only have to be called once.
52         (findUnmergedChangeLogs): Added.
53
54 2009-03-11  David Kilzer  <ddkilzer@apple.com>
55
56         Clarify comments regarding order of FEATURE_DEFINES
57
58         Rubber-stamped by Mark Rowe.
59
60         * Scripts/build-webkit: Added warning about keeping
61         FEATURE_DEFINES in order and the consequences when they are not.
62
63 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
64
65         Reviewed by Holger Freyther.
66
67         Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
68         https://bugs.webkit.org/show_bug.cgi?id=24487
69
70         Also reset WebSettings to its default state for JavaScript
71         profiling, Developer Extras and Private Browsing before running
72         the test (can be after each test but we want to be consistent with
73         other ports in this regard)
74
75         * DumpRenderTree/gtk/DumpRenderTree.cpp:
76         (resetWebViewToConsistentStateBeforeTesting):
77         (runTest):
78         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
79         (LayoutTestController::setPrivateBrowsingEnabled):
80
81 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
82
83         Reviewed by Holger Freyther.
84
85         [GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore
86         https://bugs.webkit.org/show_bug.cgi?id=2260
87
88         Add plugin support only for X11 builds
89
90         * DumpRenderTree/gtk/DumpRenderTree.cpp:
91         (setDefaultsToConsistentStateValuesForTesting):
92         * GNUmakefile.am:
93
94 2009-03-08  Holger Hans Peter Freyther  <zecke@selfish.org>
95
96         Reviewed by Mark Rowe.
97
98         Implement setJavaScriptProfilingEnabled by enabling the Developer
99         Extras and the JavaScript profiling on the WebKitWebInspector. After
100         this change we pass the three enabled tests in fast/profiler.
101
102         * DumpRenderTree/gtk/DumpRenderTree.cpp:
103         (runTest): Reset setJavaScriptProfilingEnabled after each test run
104         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
105         (LayoutTestController::setJavaScriptProfilingEnabled):
106
107 2009-03-07  Jan Michael Alonzo  <jmalonzo@webkit.org>
108
109         Reviewed by Holger Freyther.
110
111         [Gtk] Enable http history tests
112         https://bugs.webkit.org/show_bug.cgi?id=24394
113
114         Get the index of the current item from the list of (history) items
115         to print before adding the back history items to the list. This
116         will make the 'curr' pointer point to the correct item in the
117         actual results, therefore, passing some of the http/tests/history
118         tests.
119
120         * DumpRenderTree/gtk/DumpRenderTree.cpp:
121         (dumpBackForwardListForWebView):
122
123 2009-03-06  Adam Treat  <adam.treat@torchmobile.com>
124
125         Reviewed by George Staikos.
126
127         When building QtWebKit in release mode make sure that QT_SHARED is defined
128         otherwise none of the public API will be exported.  This leads to missing
129         symbols and link errors if hidden-visibility is used.
130
131         * Scripts/webkitdirs.pm:
132
133 2009-03-06  Adam Roben  <aroben@apple.com>
134
135         Change the isCygwin check in update-webkit to isAppleWinWebKit
136
137         This matches a similar check in build-webkit, and is more correct.
138
139         Reviewed by Alexey Proskuryakov.
140
141         * Scripts/update-webkit: Only call update-webkit-auxiliary-libs if
142         isAppleWinWebKit is true.
143
144 2009-03-06  Adam Roben  <aroben@apple.com>
145
146         Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is
147         present but out of date
148
149         Reviewed by Alexey Proskuryakov.
150
151         * Scripts/update-webkit-support-libs: Changed to use
152         dieAndInstructToDownload when the zip file doesn't exist. Added an MD5
153         check to make sure the file is up-to-date. If it is out of date, print
154         an error message and quit.
155         (sub dieAndInstructToDownload): Added. Prints an error message and
156         quits with an error.
157
158 2009-03-03  Anders Carlsson  <andersca@apple.com>
159
160         Reviewed by John Sullivan.
161
162         https://bugs.webkit.org/show_bug.cgi?id=22884
163         <rdar://problem/6449783>
164         modified layout test crashes Safari
165
166         Add destroyNullStream test function to the test plug-in.
167         
168         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
169         (destroyNullStream):
170         (pluginInvoke):
171
172 2009-03-03  Brady Eidson  <beidson@apple.com>
173
174         Reviewed by Darin Adler
175
176         Support layout test covering <rdar://problem/6616664>
177
178         Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL
179
180         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
181         (-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the 
182           mainDocumentURL.
183         
184         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
185         (descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL.
186
187 2009-03-02  Sam Weinig  <sam@webkit.org>
188
189         Reviewed by Mark Rowe.
190
191         Enable Geolocation (except on Tiger and Leopard).
192
193         * Scripts/build-webkit:
194
195 2009-03-02  Kevin Ollivier  <kevino@theolliviers.com>
196
197         Build fixes for wxWidgets Mac trunk build.
198
199         * wx/build-wxwebkit:
200
201 2009-03-02  Timothy Hatcher  <timothy@apple.com>
202
203         Allow for multiline quoted text in JavaScript files when looking for function names.
204
205         https://bugs.webkit.org/show_bug.cgi?id=24296
206
207         Reviewed by David Kilzer.
208
209         * Scripts/prepare-ChangeLog:
210
211 2009-03-02  Adam Treat  <adam.treat@torchmobile.com>
212
213         Reviewed by Eric Seidel.
214
215         Add three new drt helper functions that enable all of the tests in
216         LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
217
218         * DumpRenderTree/qt/jsobjects.cpp:
219         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
220         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
221         (LayoutTestController::numberOfActiveAnimations):
222         * DumpRenderTree/qt/jsobjects.h:
223
224 2009-03-02  Adam Roben  <aroben@apple.com>
225
226         Windows build fix after r41349
227
228         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
229         (AccessibilityUIElement::getChildrenWithRange):
230
231 2009-03-01  Chris Fleizach  <cfleizach@apple.com>
232
233         Reviewed by Oliver Hunt.
234
235         Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
236
237         Change getChildAtIndex() to get a range of children instead of all the children.
238         This exercises code in WebCore that returns elements when asked for from a range.
239
240         * DumpRenderTree/AccessibilityUIElement.h:
241         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
242         (AccessibilityUIElement::getChildrenWithRange):
243         (AccessibilityUIElement::getChildAtIndex):
244         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
245         (AccessibilityUIElement::getChildrenWithRange):
246
247 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
248
249         Reviewed by Holger Freyther.
250
251          [Gtk] get the HTTP layout tests going
252          https://bugs.webkit.org/show_bug.cgi?id=24259
253
254         Determine the frame's response and decide whether to dump as text
255         or the render tree
256
257         * DumpRenderTree/gtk/DumpRenderTree.cpp:
258         (dump):
259
260 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
261
262         Reviewed by Holger Freyther.
263
264         [Gtk] get the HTTP layout tests going
265         https://bugs.webkit.org/show_bug.cgi?id=24259
266
267          Implement dumping of WebKitWebBackForwardList and its history
268          items.
269
270         * DumpRenderTree/gtk/DumpRenderTree.cpp:
271         (compareHistoryItems):
272         (dumpHistoryItem):
273         (dumpBackForwardListForWebView):
274         (dump):
275         (runTest):
276         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
277         (LayoutTestController::clearBackForwardList):
278         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
279         (BackForwardItem::invoke):
280
281 2009-02-28  Zan Dobersek  <zandobersek@gmail.com>
282
283          Reviewed by Holger Freyther.
284
285          Set the resolution for the default screen to 72.0.
286          This way, setting font sizes results in expected values.
287
288          * DumpRenderTree/gtk/DumpRenderTree.cpp:
289          (setDefaultsToConsistentStateValuesForTesting):
290
291 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
292
293         Reviewed by Holger Freyther.
294
295         Adds a WebKitMakeArguments environment variable to enable passing
296         of arguments such as '-j2' to make for the autotools build.
297
298         * Scripts/webkitdirs.pm:
299
300 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
301
302         Reviewed by Holger Freyther.
303
304         Add a GTK+-only option to enable GNOME Keyring when building.
305
306         * Scripts/build-webkit:
307
308 2009-02-28  Jan Michael Alonzo  <jmalonzo@webkit.org>
309
310         Reviewed by Holger Freyther.
311
312         [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
313         https://bugs.webkit.org/show_bug.cgi?id=24076
314
315         Refactor gtk lib detection and put it in builtDylibPathForName
316
317         * Scripts/webkitdirs.pm:
318
319 2009-02-28  Christian Dywan  <christian@twotoasts.de>
320
321         Rubber-stamped by Holger Freyther.
322
323         * GtkLauncher/main.c:
324         (activate_uri_entry_cb):
325         (main): Use the new webkit_web_view_load_uri to open URIs.
326
327 2009-02-27  Xan Lopez  <xan@gnome.org>
328
329         Rubber-stamped by Alexey Proskuryakov.
330
331         https://bugs.webkit.org/show_bug.cgi?id=24222
332         [GTK] Remove checks for old glib versions
333
334         libsoup, which is a hard dependency, needs at least glib 2.15.3,
335         so remove all glib checks for versions older than that.
336
337         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
338         (LayoutTestController::setWaitToDump):
339
340 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
341
342         Reviewed by Eric Seidel
343
344         Fix spew about a WebView being deallocated while key value observers are
345         still registered with it by making sure that we always stop observing
346         _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
347         
348         * DumpRenderTree/mac/DumpRenderTree.mm:
349         (dumpRenderTree):
350         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
351         (-[DumpRenderTreeWindow close]):
352
353 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
354
355         Reviewed by Alexey Proskuryakov.
356
357         Do not queue the calls to 'DumpRenderTree::dump()' as this can result
358         in more than one call as a test that calls 'notifyDone()' can then be
359         subsequently fully loaded and initiate a second dump.  Also make sure
360         to stop any existing page load that is happening before running the next
361         test.  Combined this serves to produce 217 more passing tests for the
362         Qt port or roughly 5% at this point.
363
364         * DumpRenderTree/qt/DumpRenderTree.cpp:
365         (WebCore::DumpRenderTree::DumpRenderTree):
366         (WebCore::DumpRenderTree::open):
367
368 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
369
370         Reviewed by Dan Bernstein
371
372         https://bugs.webkit.org/show_bug.cgi?id=23854
373
374         Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
375         property of the WebView, and use that to turn -autodisplay on and off.
376         This is necessary so that accelerated animations start correctly.
377         We can thus remove the -display hack in createBitmapContextFromWebView().
378
379         * DumpRenderTree/mac/DumpRenderTree.mm:
380         (createWebViewAndOffscreenWindow):
381         (dumpRenderTree):
382         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
383         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
384         (-[DumpRenderTreeWindow close]):
385         (-[DumpRenderTreeWindow webView]):
386         (-[DumpRenderTreeWindow startObservingWebView]):
387         (-[DumpRenderTreeWindow stopObservingWebView]):
388         (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
389         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
390         (createBitmapContextFromWebView):
391
392 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
393
394         Reviewed by Zack Rusin.
395
396         https://bugs.webkit.org/show_bug.cgi?id=24158
397         Implement the queue*() methods of the layoutTestController and begin
398         implementing the dump of the back/forward list.  This results in 2% more
399         tests passing as well as 23 currently skipped tests now passing.
400
401         * DumpRenderTree/qt/DumpRenderTree.cpp:
402         (WebCore::DumpRenderTree::dumpBackForwardList):
403         (WebCore::DumpRenderTree::dump):
404         * DumpRenderTree/qt/DumpRenderTree.h:
405         * DumpRenderTree/qt/DumpRenderTree.pro:
406         * DumpRenderTree/qt/jsobjects.cpp:
407         (findFrameNamed):
408         (LoadItem::invoke):
409         (ReloadItem::invoke):
410         (ScriptItem::invoke):
411         (BackForwardItem::invoke):
412         (LayoutTestController::reset):
413         (LayoutTestController::processWork):
414         (LayoutTestController::maybeDump):
415         (LayoutTestController::queueBackNavigation):
416         (LayoutTestController::queueForwardNavigation):
417         (LayoutTestController::queueLoad):
418         (LayoutTestController::queueReload):
419         (LayoutTestController::queueScript):
420         * DumpRenderTree/qt/jsobjects.h:
421         (LayoutTestController::shouldDumpBackForwardList):
422         (LayoutTestController::dumpBackForwardList):
423
424 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
425
426         Reviewed by Alexey Proskuryakov.
427
428         Don't print out that you are generating new results if you are not in fact
429         generating new results and disable generating new results by default for
430         the all ports other than the canonical Apple Mac port since this can litter
431         the source directory with hundreds of new results since other ports
432         are not as up to date.
433
434         * Scripts/run-webkit-tests:
435
436 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
437
438         Reviewed by Cameron Zwarich.
439
440         The Qt port does not support these yet nor does the nm check work with
441         QMake based build.
442
443         * Scripts/webkitdirs.pm:
444
445 2009-02-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
446
447         Reviewed by Alexey Proskuryakov.
448
449         [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
450         https://bugs.webkit.org/show_bug.cgi?id=24072
451
452         Allow toggling of 3D transforms and HTML5 channel messaging
453         support for the Autotools (Gtk) build.
454
455         Also add '--gtk' in the build-webkit help doc and fix autotools
456         option for web-workers support.
457
458         * Scripts/build-webkit:
459
460 2009-02-23  Xan Lopez  <xan@gnome.org>
461
462         Reviewed by Alexey Proskuryakov.
463
464         https://bugs.webkit.org/show_bug.cgi?id=22624
465         [SOUP][GTK] Need API to get SoupSession from WebKit.
466
467         Add soup flags now that dependency is explicit.
468
469         * GNUmakefile.am:
470
471 2009-02-22  Mark Rowe  <mrowe@apple.com>
472
473         Reviewed by Oliver Hunt.
474
475         Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
476
477         * DumpRenderTree/mac/DumpRenderTree.mm:
478         (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
479         than of an arbitrary existing method on the class.
480
481 2009-02-13  Eric Seidel  <eric@webkit.org>
482
483         Rubber-stamped by Alexey Proskuryakov.
484
485         Add a few ignores to make-js-test-wrappers.
486
487         * Scripts/make-js-test-wrappers:
488
489 2009-02-17  Holger Hans Peter Freyther  <zecke@selfish.org>
490
491         Reviewed by Alexey Proskuryakov.
492
493         Prepend file:// to the test result filename to make
494         GtkLauncher display the result page.
495
496         * Scripts/run-webkit-tests:
497
498 2009-02-16  Gustavo Noronha Silva  <gns@gnome.org>
499
500         Reviewed by Adam Roben
501
502         Actually use the installation prefix defined in WebKitInstallationPrefix,
503         in autotools builds.
504
505         * Scripts/webkitdirs.pm:
506
507 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
508
509         No review.
510
511         Remove debugging code which was committed by mistake.
512
513         * Scripts/run-webkit-tests:
514
515 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
516
517         Reviewed by Adam Roben
518
519         https://bugs.webkit.org/show_bug.cgi?id=23928
520
521         Add detection of accelerated compositing and 3d transforms,
522         and add various directories to $ignoredDirectories when these
523         features are off.
524
525         * Scripts/run-webkit-tests:
526         * Scripts/webkitdirs.pm:
527
528 2009-02-12  Adam Roben  <aroben@apple.com>
529
530         Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
531         contains non-existent tests is confusing and is given for disabled
532         tests
533
534         <https://bugs.webkit.org/show_bug.cgi?id=23922>
535
536         We now no longer warn about disabled tests. The warning now reads:
537
538         Skipped list contained '$item', but no file of that name could be
539         found
540
541         Reviewed by John Sullivan.
542
543         * Scripts/run-webkit-tests:
544         (top level): Pass the list name to processIgnoreTests so it can print
545         out a reasonable warning message.
546         (processIgnoreTests): Take a list name as a second parameter and use
547         it to display a better warning message. Also check for a "-disabled"
548         version of the test before warning about it not existing.
549
550 2009-02-11  Adam Roben  <aroben@apple.com>
551
552         Windows fix for Bug 22239: Implement missing animation & transition
553         APIs on LayoutTestController for non-mac platforms
554
555         <https://bugs.webkit.org/show_bug.cgi?id=22239>
556
557         Reviewed by Simon Fraser.
558
559         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
560         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
561         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
562         (LayoutTestController::numberOfActiveAnimations):
563         Implemented these by calling through to IWebFramePrivate.
564
565 2009-02-10  Chris Marrin  <cmarrin@apple.com>
566
567         Reviewed by Simon Fraser.
568
569         * Scripts/build-webkit:
570
571         https://bugs.webkit.org/show_bug.cgi?id=23883
572
573         Added support --3d-transforms. Defaults to off
574
575 2009-02-11  Adam Roben  <aroben@apple.com>
576
577         Fix crashes in http/tests/history/redirect-301.pl and friends on
578         Windows
579
580         Reviewed by Alexey Proskuryakov.
581
582         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
583         (LayoutTestController::webHistoryItemCount): Null-check the shared
584         WebHistory instance before dereferencing it.
585
586 2009-02-10  Adam Roben  <aroben@apple.com>
587
588         Fix Bug 23869: Pixel tests can't be run on Windows
589
590         <https://bugs.webkit.org/show_bug.cgi?id=23869>
591
592         This patch gets the pixel tests limping along on Windows again.
593
594         Reviewed by Dan Bernstein.
595
596         * DumpRenderTree/DumpRenderTree.sln: Changed to use the new
597         Debug_Internal configuration of ImageDiff in the Debug_Internal
598         configuration of this solution.
599
600         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
601         (printPNG): Changed to call fwrite in a loop, since this call was
602         failing due to the buffer being too large on Windows.
603         (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
604         #if PLATFORM(MAC)/#endif.
605
606         * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
607         configuration that matches the Debug configuration but also references
608         debug_internal.vsprops.
609
610         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
611         (createBitmapContextFromWebView): Renamed from
612         getBitmapContextFromWebView to match the name used in the
613         cross-platform code.
614
615 2009-02-10  Adam Roben  <aroben@apple.com>
616
617         Robustify DumpRenderTree/win a little
618
619         DumpRenderTree was previously not holding a ref to the WebViews it
620         created via window.open. It was getting away with this because
621         WebViews get reffed by being preference notification observers and by
622         registering for drag-n-drop messages. Now DRT does hold a ref, in case
623         this situation changes in the future.
624
625         Reviewed by Alexey Proskuryakov.
626
627         * DumpRenderTree/win/DumpRenderTree.cpp:
628         (dumpBackForwardListForAllWindows): Added a .get().
629         (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
630         * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
631         windowToWebViewMap() to hold a ref to the WebViews it contains.
632
633 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
634
635         Fix the #include file order, per review comments.
636
637         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
638
639 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
640
641         Reviewed by Dan Bernstein
642
643         https://bugs.webkit.org/show_bug.cgi?id=23362
644
645         If the WebHTMLView uses accelerated compositing, we need for force
646         the on-screen capture path and also force animations to start with -display
647         since the DRT window has autodisplay disabled.
648
649         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
650         (createBitmapContextFromWebView):
651
652 2009-02-03  miggilin  <mr.diggilin@gmail.com>
653
654         Reviewed by Darin Adler.
655
656         Change the way wxWidgets build gets arguments.
657         Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
658         argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
659         removed when --wx is checked for).
660
661         https://bugs.webkit.org/show_bug.cgi?id=23701
662
663         * Scripts/build-webkit:
664         * Scripts/webkitdirs.pm:
665
666 2009-01-30  Chris Fleizach  <cfleizach@apple.com>
667
668         Reviewed by Oliver Hunt.
669
670         Catch exceptions thrown by AppKit when accessing an attribute than an element
671         doesn't return.
672
673         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
674         (attributesOfElement):
675
676 2009-01-29  David Kilzer  <ddkilzer@apple.com>
677
678         Remove semi-colons from the end of ObjC method implementations
679
680         Rubber-stamped by Adam Roben.
681
682         $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
683
684         * DumpRenderTree/mac/FrameLoadDelegate.mm:
685         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
686         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
687         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
688         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
689         * DumpRenderTree/mac/UIDelegate.mm:
690         (-[UIDelegate webViewFrame:]):
691
692 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
693
694         Build fix for GTK.
695
696         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
697         (LayoutTestController::webHistoryItemCount):
698
699 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
700
701         Reviewed by Sam Weinig.
702
703         Added support for querying how many history items were created during a
704         layout test.
705
706         * DumpRenderTree/LayoutTestController.cpp:
707         (getWebHistoryItemCountCallback):
708         (LayoutTestController::staticValues):
709         * DumpRenderTree/LayoutTestController.h:
710         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
711         (LayoutTestController::webHistoryItemCount):
712         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
713         (LayoutTestController::webHistoryItemCount):
714
715 2009-01-26  Pierre-Olivier Latour  <pol@apple.com>
716
717         Tweaked again earlier fix, this time just to print a warning and not abort if
718         attempting to generate pixel results and Perian is installed.
719
720         https://bugs.webkit.org/show_bug.cgi?id=22615
721
722         * Scripts/run-webkit-tests:
723
724 2009-01-26  Christian Dywan  <christian@twotoasts.de>
725
726         Rubber stamped by Holger Freyther.
727
728         * GtkLauncher/main.c:
729         (main): Initialize threads, which is required for libSoup.
730
731 2009-01-23  David Kilzer  <ddkilzer@apple.com>
732
733         * Scripts/do-webcore-rename: Removed 10 header guard renames that
734         had already been fixed, and updated 4 renames whose original values
735         had changed.
736
737 2009-01-22  Anders Carlsson  <andersca@apple.com>
738
739         Fix Windows build.
740
741         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
742
743 2009-01-22  Anders Carlsson  <andersca@apple.com>
744
745         Reviewed by Sam Weinig.
746
747         Clean up the test plug-in code. We now always use the CG drawing model and the
748         Cocoa event model. It is however possible to revert to the old Carbon event model by
749         specifying forcecarbon=true in the embed/object tag.
750
751         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
752         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
753         (NPP_New):
754         (handleEventCarbon):
755         (handleEventCocoa):
756         (NPP_HandleEvent):
757
758 2009-01-21  Pierre-Olivier Latour  <pol@apple.com>
759
760         Tweaked earlier fix to only print a warning when Perian is installed,
761         and fail completely only if attempting to generate new pixel test results.
762
763         https://bugs.webkit.org/show_bug.cgi?id=23392
764
765         * Scripts/run-webkit-tests:
766
767 2009-01-20  Darin Adler  <darin@apple.com>
768
769         Reviewed by Alexey Proskuryakov.
770
771         Bug 23450: string leaks seen in DumpRenderTree accessibility test code
772         https://bugs.webkit.org/show_bug.cgi?id=23450
773
774         * DumpRenderTree/AccessibilityUIElement.cpp:
775         (isAttributeSettableCallback): Add the missing JSStringRelease call.
776         (attributeValueCallback): Ditto.
777
778 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
779
780         Reviewed by Darin Adler.
781
782         Print warning regarding display color profile change in run-webkit-tests instead of DRT.
783
784         https://bugs.webkit.org/show_bug.cgi?id=23392
785
786         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
787         (setupMainDisplayColorProfile):
788         * Scripts/run-webkit-tests:
789
790 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
791
792         Reviewed by Darin Adler.
793
794         Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
795         in order to avoid result differences in some media tests.
796
797         https://bugs.webkit.org/show_bug.cgi?id=22615
798
799         * Scripts/run-webkit-tests:
800         * Scripts/webkitdirs.pm:
801
802 2009-01-19  Sam Weinig  <sam@webkit.org>
803
804         * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
805
806 2009-01-16  Gabor Loki  <loki@inf.u-szeged.hu>
807
808         Reviewed by Darin Adler.
809
810         * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
811         parameters to make command in QMake projects.
812
813 2009-01-16  Chris Fleizach  <cfleizach@apple.com>
814
815         Reviewed by Beth Dakin.
816
817         Add AX methods to retrieve the parent of an element.
818
819         * DumpRenderTree/AccessibilityUIElement.cpp:
820         (parentElementCallback):
821         (AccessibilityUIElement::getJSClass):
822         * DumpRenderTree/AccessibilityUIElement.h:
823         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
824         (AccessibilityUIElement::parentElement):
825         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
826         (AccessibilityUIElement::parentElement):
827
828 2009-01-16  Anders Carlsson  <andersca@apple.com>
829
830         Reviewed by Adam Roben.
831
832         Set the count to the right number of elements.
833
834         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
835         (testEnumerate):
836
837 2009-01-14  David Kilzer  <ddkilzer@apple.com>
838
839         BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled()
840
841         Rubber-stamped by Alice Liu.
842
843         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
844         (LayoutTestController::setIconDatabaseEnabled): Use COM API
845         to get the shared WebIconDatabase.
846
847 2009-01-14  Jeremy Moskovich  <jeremy@chromium.org>
848
849         Reviewed by Eric Seidel.
850
851         <https://bugs.webkit.org/show_bug.cgi?id=16829>
852         Implement NPN_SetException()
853
854         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
855         (pluginInvoke):
856         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
857         (initializeIdentifiers):
858         (testHasMethod):
859         (testInvoke):
860
861 2009-01-13  Dmitry Titov  <dimich@chromium.org>
862
863         Reviewed by David Kilzer.
864
865         https://bugs.webkit.org/show_bug.cgi?id=23304
866         Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches.
867
868         * Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files.
869
870 2009-01-14  David Kilzer  <ddkilzer@apple.com>
871
872         BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK
873
874         * DumpRenderTree/gtk/DumpRenderTree.cpp:
875         (runTest): Added call to reset the icon database to match Mac
876         and Windows ports.
877         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
878         (LayoutTestController::setIconDatabaseEnabled): Implemented
879         stub method.
880
881 2009-01-14  David Kilzer  <ddkilzer@apple.com>
882
883         Bug 22795: favicons should be saved to webarchives
884
885         <https://bugs.webkit.org/show_bug.cgi?id=22795>
886
887         Reviewed by Darin Adler.
888
889         * DumpRenderTree/LayoutTestController.cpp:
890         (setIconDatabaseEnabledCallback): Added.
891         (setJavaScriptProfilingEnabledCallback): Realphabetized.
892         (LayoutTestController::staticFunctions): Added entry for calling
893         LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript.
894         * DumpRenderTree/LayoutTestController.h:
895         (setIconDatabaseEnabledCallback): Added declaration.
896         (setJavaScriptProfilingEnabledCallback): Realphabetized.
897
898         * DumpRenderTree/mac/DumpRenderTree.mm:
899         (runTest): Disable the icon database before each test.
900         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
901         (LayoutTestController::setIconDatabaseEnabled): Added.
902         (LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized.
903
904         * DumpRenderTree/win/DumpRenderTree.cpp:
905         (runTest): Disable the icon database before each test.
906         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
907         (LayoutTestController::setIconDatabaseEnabled): Added.
908
909 2009-01-14  Steve Falkenburg  <sfalken@apple.com>
910
911         Update copyright year in version resources.
912
913         Reviewed by Adam Roben.
914
915         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
916
917 2009-01-14  Dan Bernstein  <mitz@apple.com>
918
919         Reviewed by John Sullivan.
920
921         - update copyright
922
923         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist:
924         * WebKitLauncher/Info.plist:
925
926 2009-01-13  Anders Carlsson  <andersca@apple.com>
927
928         Reviewed by Sam Weinig.
929
930         Add NPRuntime test.
931
932         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
933         (testNPRuntime):
934         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
935         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
936         (NPP_New):
937         (NPP_GetValue):
938
939 2009-01-12  Mark Rowe  <mrowe@apple.com>
940
941         Use the modern spelling of WebKit.
942
943         * Scripts/find-extra-includes:
944         * Scripts/report-include-statistics:
945         * Scripts/run-webkit-app:
946         * Scripts/svn-unapply:
947         * Scripts/update-webkit:
948
949 2009-01-11  Darin Adler  <darin@apple.com>
950
951         * Scripts/make-js-test-wrappers: Updated so it won't overwrite tests in the svg/dom
952         directory that aren't using standard wrappers.
953
954 2009-01-11  Robert Blaut  <webkit@blaut.biz>
955
956         Reviewed by Eric Seidel.
957
958         <https://bugs.webkit.org/show_bug.cgi?id=23134>
959         Update bisect-builds for Safari 3.2 to prevent crashes
960
961         * Scripts/bisect-builds: Added Safari 3.2 and the corresponding minimal revision, r37348.
962
963 2009-01-08  Adam Treat  <adam.treat@torchmobile.com>
964
965         Reviewed by Simon Hausmann.
966
967         Explicitly set these so that the layout tests do not break.
968
969         * DumpRenderTree/qt/DumpRenderTree.cpp:
970         (WebCore::WebPage::WebPage):
971
972 2009-01-07  Glenn Wilson  <gwilson@chromium.org>
973
974         Reviewed by Eric Seidel.
975
976         Changed DumpRenderTree to re-enable Javascript in web preferences on every test.
977         This fixes the case when a user mistakenly disables Javascript, and all layout tests crash.
978
979         * DumpRenderTree/mac/DumpRenderTree.mm:
980         (testStringByEvaluatingJavaScriptFromString):
981         (setDefaultsToConsistentValuesForTesting):
982
983 2009-01-07  Holger Hans Peter Freyther  <zecke@selfish.org>
984
985         Reviewed by Maciej Stachowiak.
986
987         Implement numberOfActiveAnimations to fix the build
988
989         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
990         (LayoutTestController::numberOfActiveAnimations):
991
992 2009-01-07  Adam Treat  <adam.treat@torchmobile.com>
993
994         Reviewed by George Staikos.
995
996         Fix unused variable warnings
997
998         * DumpRenderTree/qt/DumpRenderTree.cpp:
999         (WebCore::WebPage::javaScriptAlert):
1000         (WebCore::WebPage::javaScriptConfirm):
1001         (WebCore::WebPage::javaScriptPrompt):
1002         * DumpRenderTree/qt/jsobjects.cpp:
1003         (LayoutTestController::maybeDump):
1004         * DumpRenderTree/qt/main.cpp:
1005         (get_backtrace):
1006         * DumpRenderTree/qt/testplugin.cpp:
1007         (TestPlugin::create):
1008
1009 2009-01-06  Pierre-Olivier Latour  <pol@apple.com>
1010
1011         Reviewed by Darin Adler.
1012
1013         Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations.
1014         This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore.
1015
1016         https://bugs.webkit.org/show_bug.cgi?id=23126
1017
1018         * DumpRenderTree/LayoutTestController.cpp:
1019         (numberOfActiveAnimationsCallback):
1020         (LayoutTestController::staticFunctions):
1021         * DumpRenderTree/LayoutTestController.h:
1022         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1023         (LayoutTestController::numberOfActiveAnimations):
1024         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1025         (LayoutTestController::numberOfActiveAnimations):
1026
1027 2009-01-04  David Kilzer  <ddkilzer@apple.com>
1028
1029         Don't install internal headers in WebKit framework
1030
1031         Reviewed by Darin Adler.
1032
1033         Since WebHTMLRepresentationInternal.h and WebTypesInternal.h are
1034         no longer installed in WebKit.framework/PrivateHeaders, use the
1035         special relationship of DumpRenderTree within the WebKit source
1036         tree to include the internal headers through relative paths.
1037         Created the concept of mac/InternalHeaders to hide the ugly
1038         paths.
1039
1040         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added
1041         mac/InternalHeaders to HEADER_SEARCH_PATHS.
1042         * DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Added.
1043         * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h: Added.
1044
1045 2009-01-02  Adam Treat  <treat@kde.org>
1046
1047         Reviewed by George Staikos.
1048
1049         Add support for fixedLayoutSize to the qt DRT
1050
1051         * DumpRenderTree/qt/jsobjects.cpp:
1052         (LayoutTestController::setFixedLayoutSize):
1053         (LayoutTestController::setUseFixedLayout):
1054         * DumpRenderTree/qt/jsobjects.h:
1055
1056 2009-01-03  David D. Kilzer  <ddkilzer@webkit.org>
1057
1058         Bug 23091: Some webarchive http tests intermittently fail due to Connection/Keep-Alive header differences
1059
1060         <https://bugs.webkit.org/show_bug.cgi?id=23091>
1061
1062         Reviewed by Darin Adler.
1063
1064         * DumpRenderTree/mac/DumpRenderTree.mm:
1065         (normalizeHTTPResponseHeaderFields): Remove Keep-Alive and
1066         Connection headers from webarchive results.
1067
1068 2008-12-31  Zan Dobersek  <zandobersek@gmail.com>
1069
1070         Reviewed by Holger Freyther.
1071
1072         https://bugs.webkit.org/show_bug.cgi?id=22812
1073
1074         Prevent TestNetscapePlugin from installing system-wide.
1075
1076         * GNUmakefile.am:
1077
1078 2008-12-31  Zan Dobersek  <zandobersek@gmail.com>
1079
1080         Reviewed by Holger Freyther.
1081
1082         https://bugs.webkit.org/show_bug.cgi?id=22842
1083
1084         Move WebKitWebView's size allocation into a proper place.
1085
1086         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1087         (dump):
1088         (runTest):
1089
1090 2008-12-24  Mark Rowe  <mrowe@apple.com>
1091
1092         Reviewed by Timothy Hatcher.
1093
1094         Move the guts of determineCurrentSVNRevision to VCSUtils as svnRevisionForDirectory,
1095         and make it work for git too.
1096
1097         * Scripts/VCSUtils.pm:
1098         * Scripts/webkitdirs.pm:
1099
1100 2008-12-22  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1101
1102         Reviewed by George Staikos.
1103
1104         Ignore http/tests/wml, if no WML support is present.
1105         Add http/tests/wml to list of HTTP tests, allowed to access local resources.
1106
1107         * Scripts/run-webkit-tests:
1108
1109 2008-12-19  David Levin  <levin@chromium.org>
1110
1111         Reviewed by Mark Rowe.
1112
1113         https://bugs.webkit.org/show_bug.cgi?id=22930
1114
1115         Make the git diff command used for preparing the change log avoid using any external diff tools.
1116
1117         * Scripts/prepare-ChangeLog:
1118
1119 2008-12-19  Gustavo Noronha Silva  <gns@gnome.org>
1120
1121         Reviewed by Holger Freyther.
1122
1123         https://bugs.webkit.org/show_bug.cgi?id=22686
1124
1125         Added files which were missing from the TestNetscapePlugin
1126         directory to the SOURCES variable, so that they will be
1127         distributed in a make dist.
1128
1129         * GNUMakefile.am:
1130
1131 2008-12-18  Cameron Zwarich  <zwarich@apple.com>
1132
1133         Reviewed by Geoff Garen.
1134
1135         Add tests for bug 21855: REGRESSION (r37323): Gmail complains about popup blocking when opening a link
1136         <https://bugs.webkit.org/show_bug.cgi?id=21855>
1137         <rdar://problem/6278244>
1138
1139         Add support for scheduling asynchronous clicks to DumpRenderTree, but
1140         only on the Mac.
1141
1142         * DumpRenderTree/mac/EventSendingController.h:
1143         * DumpRenderTree/mac/EventSendingController.mm:
1144         (+[EventSendingController isSelectorExcludedFromWebScript:]): Expose
1145         scheduleAsynchronousClick to JavaScript.
1146         (-[EventSendingController scheduleAsynchronousClick]): Add.
1147
1148 2008-12-15  Darin Adler  <darin@apple.com>
1149
1150         * Scripts/make-js-test-wrappers: Added another exception to avoid overwriting
1151         a custom-written test.
1152
1153 2008-12-15  Simon Hausmann  <hausmann@webkit.org>
1154
1155         Reviewed by Holger Freyther.
1156
1157         Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
1158
1159         * DumpRenderTree/qt/jsobjects.cpp:
1160         (LayoutTestController::setJavaScriptProfilingEnabled):
1161         * DumpRenderTree/qt/jsobjects.h:
1162
1163 2008-12-13  Zan Dobersek  <zandobersek@gmail.com>
1164
1165         Reviewed by Darin Adler.
1166
1167         https://bugs.webkit.org/show_bug.cgi?id=22039
1168
1169         Implement animation and transition pausing.
1170
1171         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1172         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1173         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1174
1175 2008-12-12  Brent Fulgham  <bfulgham@gmail.com>
1176
1177         Reviewed by Adam Roben.
1178
1179         https://bugs.webkit.org/show_bug.cgi?id=22809
1180
1181         Increase timeout in call to initWithURL so that people actually see
1182         new web pages when they type URLs rather than a blank screen.
1183
1184         * WinLauncher/WinLauncher.cpp:
1185         (loadURL):  Increase timeout in initWithURL from 0 to 60 seconds.
1186
1187 2008-12-12  Darin Adler  <darin@apple.com>
1188
1189         * Scripts/do-webcore-rename: Add a renaming idea.
1190
1191 2008-12-12  Holger Hans Peter Freyther  <zecke@selfish.org>
1192
1193         Reviewed by Simon Hausmann.
1194
1195         Update the WebKit.qrc and add a script to automatically generate the file.
1196
1197         With the way rcc and qmake work this can not be done at build time
1198         as the WebKit.qrc must sit inside the directory that contains the files
1199         and at build time we may not change the content of the source directory.
1200
1201         * Scripts/generate-qt-inspector-resource: Added.
1202
1203 2008-12-11  Cameron Zwarich  <zwarich@apple.com>
1204
1205         Rubber-stamped by Mark Rowe.
1206
1207         Roll out r39212 due to assertion failures during layout tests, multiple
1208         layout test failures, memory leaks, and obvious incorrectness.
1209
1210         * DumpRenderTree/LayoutTestController.cpp:
1211         (LayoutTestController::staticFunctions):
1212         * DumpRenderTree/LayoutTestController.h:
1213         * DumpRenderTree/mac/DumpRenderTree.mm:
1214         (resetWebViewToConsistentStateBeforeTesting):
1215         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1216         * DumpRenderTree/win/DumpRenderTree.cpp:
1217         (resetWebViewToConsistentStateBeforeTesting):
1218         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1219         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1220
1221 2008-12-10  Glenn Wilson  <gwilson@google.com>
1222
1223         Reviewed by Adam Roben.
1224
1225         Changed LayoutTestController and DumpRenderTree to allow for manual
1226         overriding of default preferences at test time.  Also added support for
1227         resetting the preferences after each test.
1228         https://bugs.webkit.org/show_bug.cgi?id=20534
1229
1230         * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
1231         * DumpRenderTree/LayoutTestController.h: Added signature for callback
1232         * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
1233         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
1234         * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
1235         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
1236
1237 2008-12-10  Brady Eidson  <beidson@apple.com>
1238
1239         Reviewed by Darin Adler.
1240
1241         Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
1242
1243         * DumpRenderTree/win/DumpRenderTree.cpp:
1244         * DumpRenderTree/win/DumpRenderTreeWin.h:
1245
1246         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1247         (LayoutTestController::setCustomPolicyDelegate):
1248
1249         * DumpRenderTree/win/PolicyDelegate.cpp:
1250         (PolicyDelegate::PolicyDelegate):
1251         (PolicyDelegate::decidePolicyForNavigationAction):
1252         * DumpRenderTree/win/PolicyDelegate.h:
1253         (PolicyDelegate::setPermissive):
1254
1255 2008-12-10  Brady Eidson  <beidson@apple.com>
1256
1257         Reviewed by Darin
1258
1259         Change the custom policy delegate to actually allow navigation for tests that need it.
1260         The new behavior is opt-in and doesn't require any changes in old tests.
1261
1262         * DumpRenderTree/LayoutTestController.cpp:
1263         (setCustomPolicyDelegateCallback):  Allow for a second boolean argument to set the permissive flag on the custom
1264           policy delegate, which will be false by default to maintain original behavior.
1265         * DumpRenderTree/LayoutTestController.h:
1266         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1267         (LayoutTestController::setCustomPolicyDelegate):
1268
1269         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1270         (LayoutTestController::setCustomPolicyDelegate):  Partially stubbed out for now.
1271         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1272         (LayoutTestController::setCustomPolicyDelegate):  Still stubbed out, but with new param.
1273
1274         * DumpRenderTree/mac/PolicyDelegate.h:
1275         * DumpRenderTree/mac/PolicyDelegate.mm:
1276         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):  If the permissive flag
1277           is set, allow the navigation.
1278         (-[PolicyDelegate setPermissive:]):  Change the behavior between "use" and "ignore" - allowing navigation or not.
1279
1280 2008-12-09  Mark Rowe  <mrowe@apple.com>
1281
1282         Rubber-stamped by Ada Chan.
1283
1284         Fix gdb-safari on Tiger.
1285
1286         gdb on Tiger does not take the -arch flag, so do not pass it.
1287
1288         * Scripts/gdb-safari:
1289
1290 2008-12-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1291
1292         Reviewed by Alexey Proskuryakov.
1293
1294         Ignore WML tests, if no WML support available.
1295
1296         * Scripts/run-webkit-tests:
1297
1298 2008-12-08  Geoffrey Garen  <ggaren@apple.com>
1299
1300         Reviewed by Oliver Hunt.
1301
1302         Added a shortcut for --jsDriver-args, which I use a lot.
1303
1304         * Scripts/run-javascriptcore-tests:
1305
1306 2008-12-08  Stephanie Lewis  <slewis@apple.com>
1307
1308         Fix Tiger build.
1309
1310         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1311
1312 2008-12-08  Darin Adler  <darin@apple.com>
1313
1314         Reviewed by John Sullivan.
1315
1316         - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
1317           REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
1318
1319         * DumpRenderTree/LayoutTestController.cpp:
1320         (isCommandEnabledCallback): Added.
1321         (LayoutTestController::staticFunctions): Added "isCommandEnabled".
1322         * DumpRenderTree/LayoutTestController.h: Ditto.
1323         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1324         (LayoutTestController::isCommandEnabled): Ditto.
1325         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1326         (-[CommandValidationTarget initWithAction:]): Added. Used to get the
1327         command validation system to tell us if a comment is enabled.
1328         (-[CommandValidationTarget action]): Ditto.
1329         (-[CommandValidationTarget tag]): Ditto.
1330         (LayoutTestController::isCommandEnabled): Ditto.
1331         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1332         (LayoutTestController::isCommandEnabled): Ditto.
1333
1334 2008-12-08  David Kilzer  <ddkilzer@apple.com>
1335
1336         Bug 22555: Sort "children" sections in Xcode project files
1337
1338         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1339
1340         Reviewed by Eric Seidel.
1341
1342         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
1343         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
1344         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
1345
1346 2008-12-08  David Kilzer  <ddkilzer@apple.com>
1347
1348         Bug 22555: Sort "children" sections in Xcode project files
1349
1350         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1351
1352         Reviewed by Timothy Hatcher.
1353
1354         * Scripts/sort-Xcode-project-file: By popular request, don't sort
1355         the mainGroup in the project (the list of items below the top-level
1356         project file).
1357
1358 2008-12-05  David Kilzer  <ddkilzer@apple.com>
1359
1360         Bug 22555: Sort "children" sections in Xcode project files
1361
1362         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1363
1364         Reviewed by Darin Adler.
1365
1366         Sort "children" sections alphabetically, moving groups (folders) to
1367         the top of each of the lists.  Files are assumed to have extensions,
1368         so %isFile is used to override this behavior.
1369
1370         * Scripts/sort-Xcode-project-file:
1371         (sortChildrenByFileName): Added.
1372         (sortFilesByFileName): Renamed from sortByFileName().
1373
1374 2008-12-05  Eric Seidel  <eric@webkit.org>
1375
1376         Reviewed by Geoff Garen.
1377
1378         https://bugs.webkit.org/show_bug.cgi?id=22683
1379         Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
1380         Add a new argumentsForConfiguration() function and clean up some old code to use it.
1381         Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
1382
1383         * Scripts/run-javascriptcore-tests:
1384         * Scripts/run-launcher:
1385         * Scripts/run-webkit-tests:
1386         * Scripts/webkitdirs.pm:
1387
1388 2008-12-03  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1389
1390         Reviewed by Cameron Zwarich.
1391
1392         Further preparations for WML layout tests.
1393         Ignore WMLTestCase.js, that's going to be in trunk soon.
1394
1395         * Scripts/make-js-test-wrappers:
1396
1397 2008-12-03  Eric Seidel  <eric@webkit.org>
1398
1399         Build fix for --gtk and --chromium, no review.
1400
1401         Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
1402         through to build-jsc.
1403
1404         * Scripts/build-jsc:
1405         * Scripts/webkitdirs.pm:
1406
1407 2008-12-03  Eric Seidel  <eric@webkit.org>
1408
1409         Build fix only, no review.
1410
1411         Remove support for build-webkit --svg-experimental.
1412         All of the "experimental" svg features have their own toggles anyway.
1413         I broke --svg-experimental in my last commit (which then broke clean builds)
1414         I can't find any use of --svg-experimental in our source tree, so removing it.
1415
1416         * Scripts/build-webkit:
1417
1418 2008-12-02  Eric Seidel  <eric@webkit.org>
1419
1420         Reviewed by David Hyatt (and Mark Rowe).
1421
1422         Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
1423         Move --coverage support out of run-javascriptcore-tests and into build-jsc
1424
1425         Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
1426         there from build-webkit (to allow future sharing with other build-* scripts)
1427
1428         Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
1429         picking through ARGV with a blacklist of what arguments weren't jsDriver args
1430         this makes run-javascriptcore-tests transparently support all arguments which
1431         webkitdirs.pm gives it support for.
1432
1433         Make run-javascriptcore-tests actually print what commands it's running before running them.
1434
1435         Add --help support to build-jsc and run-javascriptcore-tests!
1436
1437         Make code to support --svg-experimental defaults take up half as many lines.
1438
1439         * Scripts/build-jsc:
1440         * Scripts/build-webkit:
1441         * Scripts/run-javascriptcore-tests:
1442         * Scripts/webkitdirs.pm:
1443
1444 2008-12-03  Adam Roben  <aroben@apple.com>
1445
1446         Fix a leak in WinLauncher shutdown
1447
1448         Reviewed by Sam Weinig.
1449
1450         * WinLauncher/WinLauncher.cpp:
1451         (_tWinMain): Replaced a delete with a Release. We can't delete the
1452         WebView properly since we only have a pointer to one of its
1453         interfaces. We also shouldn't be deleting COM objects directly anyway,
1454         for a number of reasons.
1455
1456 2008-12-03  Adam Roben  <aroben@apple.com>
1457
1458         Fix a crash on exit in WinLauncher
1459
1460         Reviewed by Sam Weinig.
1461
1462         * WinLauncher/WinLauncher.cpp:
1463         (_tWinMain): Call shutDownWebKit before exiting.
1464
1465 2008-12-03  Adam Roben  <aroben@apple.com>
1466
1467         Add a Debug_Internal configuration to WinLauncher
1468
1469         This matches our other projects.
1470
1471         Reviewed by Sam Weinig.
1472
1473         * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
1474         configuration, which is identical to Debug except that it also
1475         references debug_internal.vsprops. Also removed some settings that we
1476         should be picking up from the .vsprops files.
1477
1478 2008-12-02  Eric Seidel  <eric@webkit.org>
1479
1480         Reviewed by David Kilzer.
1481
1482         Hack build-webkit --chromium to use Win32 python instead
1483         of using the default cygwin python.  Scons + CYGWIN tries
1484         to build with GCC by default, we force MSVC in our file
1485         but that just results in errors from Scons.  Until we can fix
1486         this latest round of errors, at least make build-webkit --chromium
1487         actually "work" under CYGWIN instead of forcing users to use
1488         a cmd shell directly.
1489
1490         This is working around a Scons bug:
1491         http://scons.tigris.org/issues/show_bug.cgi?id=2266
1492
1493         * Scripts/webkitdirs.pm:
1494
1495 2008-12-01  David Kilzer  <ddkilzer@apple.com>
1496
1497         Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
1498
1499         <https://bugs.webkit.org/show_bug.cgi?id=22466>
1500         <rdar://problem/6403593>
1501
1502         Reviewed by Brady Eidson.
1503
1504         * DumpRenderTree/mac/DumpRenderTree.mm:
1505         (normalizeHTTPResponseHeaderFields): Added.  Normalizes Date, Etag,
1506         Keep-Alive, Last-Modified and Server header fields to prevent false
1507         positive test failures.
1508         (convertWebResourceResponseToDictionary): Call
1509         normalizeHTTPResponseHeaderFields() to noramlize HTTP response
1510         header fields.
1511
1512 2008-12-01  David D. Kilzer  <ddkilzer@webkit.org>
1513
1514         Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
1515
1516         <https://bugs.webkit.org/show_bug.cgi?id=22559>
1517
1518         Reviewed by Adam Roben.
1519
1520         * Scripts/bisect-builds: Updated status message to report the
1521         maximum number of builds left to test after the current one.
1522         (max): Added.
1523
1524 2008-11-27  Alp Toker  <alp@nuanti.com>
1525
1526         Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
1527         API header breakage at build time.
1528
1529         * GNUmakefile.am:
1530
1531 2008-11-26  Eric Seidel  <eric@webkit.org>
1532
1533         Reviewed by Nikolas Zimmermann and Mark Rowe.
1534
1535         Add support for build-webkit --chromium
1536         https://bugs.webkit.org/show_bug.cgi?id=22515
1537         More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
1538
1539         * Scripts/build-dumprendertree:
1540         * Scripts/build-jsc:
1541         * Scripts/build-webkit:
1542         * Scripts/gdb-safari:
1543         * Scripts/run-webkit-tests:
1544         * Scripts/webkitdirs.pm:
1545
1546 2008-11-26  Eric Seidel  <eric@webkit.org>
1547
1548         Reviewed by Nikolas Zimmermann.
1549
1550         Add support for build-webkit --chromium (tested on mac)
1551         https://bugs.webkit.org/show_bug.cgi?id=22515
1552         Also simplified some code using checkArgv
1553
1554         * Scripts/build-webkit:
1555         * Scripts/webkitdirs.pm:
1556
1557 2008-11-26  Eric Seidel  <eric@webkit.org>
1558
1559         Reviewed by Nikolas Zimmermann.
1560
1561         More pre-work for adding a build-webkit --chromium which works on Mac and Windows
1562         https://bugs.webkit.org/show_bug.cgi?id=22515
1563         Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
1564         in preparation for having a chromium cygwin and chromium mac build
1565
1566         * Scripts/build-webkit:
1567         * Scripts/webkitdirs.pm:
1568
1569 2008-11-26  Eric Seidel  <eric@webkit.org>
1570
1571         Reviewed by Nikolas Zimmermann.
1572
1573         Pre-work for getting build-webkit --chromium to work
1574         https://bugs.webkit.org/show_bug.cgi?id=22515
1575         Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
1576
1577         * Scripts/build-dumprendertree:
1578         * Scripts/build-jsc:
1579         * Scripts/build-webkit:
1580         * Scripts/gdb-safari:
1581         * Scripts/run-javascriptcore-tests:
1582         * Scripts/run-webkit-tests:
1583         * Scripts/webkitdirs.pm:
1584
1585 2008-11-26  David Kilzer  <ddkilzer@apple.com>
1586
1587         Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
1588
1589         <https://bugs.webkit.org/show_bug.cgi?id=22488>
1590
1591         Reviewed by Brady Eidson.
1592
1593         * DumpRenderTree/mac/DumpRenderTree.mm:
1594         (convertWebResourceDataToString): If an IANA charset encoding string
1595         is provided, convert it to a CFStringEncoding value and then to an
1596         NSStringEncoding value, else fall back to NSUTF8StringEncoding.  We
1597         also nil-check dataAsString, so the worst-case scenario is that the
1598         data won't be decoded to a string (versus crashing DumpRenderTree).
1599
1600 2008-11-26  Jan Michael Alonzo  <jmalonzo@webkit.org>
1601
1602         Reviewed by Holger Freyther.
1603
1604         [Gtk] add/remove tests from Skipped and fix netscape plugin test
1605         https://bugs.webkit.org/show_bug.cgi?id=22484
1606
1607         Remove print'ing to stderr
1608
1609         * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
1610         (NP_Initialize):
1611         (NP_Shutdown):
1612
1613 2008-11-25  Steve Falkenburg  <sfalken@apple.com>
1614
1615         Windows build fix.
1616
1617         * DumpRenderTree/cg/PixelDumpSupportCG.h:
1618
1619 2008-11-25  Steve Falkenburg  <sfalken@apple.com>
1620
1621         Windows build fix.
1622
1623         * DumpRenderTree/cg/ImageDiffCG.cpp:
1624
1625 2008-11-24  Darin Fisher  <darin@chromium.org>
1626
1627         Fix bustage.
1628
1629         https://bugs.webkit.org/show_bug.cgi?id=15643
1630
1631         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1632         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1633
1634 2008-11-24  Glenn Wilson  <gwilson@chromium.org>
1635
1636         Reviewed by Alexey Proskuryakov.
1637
1638         http://bugs.webkit.org/show_bug.cgi?id=15643
1639
1640         Added support for changing the "trailing whitespace" work-around
1641         in LayoutTestController (so layout tests can verify this functionality)
1642
1643         * DumpRenderTree/LayoutTestController.cpp:
1644         (setSelectTrailingWhitespaceEnabledCallback):
1645         (LayoutTestController::staticFunctions):
1646         * DumpRenderTree/LayoutTestController.h:
1647         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1648         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1649         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1650         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1651
1652 2008-11-24  Simon Fraser  <simon.fraser@apple.com>
1653
1654         Reviewed by Darin Adler
1655
1656         https://bugs.webkit.org/show_bug.cgi?id=22433
1657
1658         Add script that attempts to detect virtual methods
1659         whose signatures differ only by constness (which can
1660         indicate a programming error).
1661
1662         * Scripts/detect-mismatched-virtual-const: Added.
1663
1664 2008-11-24  Zan Dobersek  <zandobersek@gmail.com>
1665
1666         Reviewed by Holger Freyther.
1667
1668         https://bugs.webkit.org/show_bug.cgi?id=22039
1669
1670         [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
1671         build.
1672
1673         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1674         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1675         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1676         (setDefaultsToConsistentStateValuesForTesting):
1677         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
1678         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
1679         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
1680         * GNUmakefile.am:
1681
1682 2008-11-24  Holger Hans Peter Freyther  <zecke@selfish.org>
1683
1684         Reviewed by Mark Rowe.
1685
1686         [Gtk+] Add configure option to enable Web Workers and enable it by default
1687
1688         Add --enable-workers to the buildsystem (used by build-webkit) add
1689         the to be build files to the GNUmakefile.am and change build-webkit
1690         to enable Web Workers by default.
1691
1692         * Scripts/build-webkit:
1693
1694 2008-11-24  Mark Rowe  <mrowe@apple.com>
1695
1696         Reviewed by Alexey Proskuryakov.
1697
1698         Let gdb-safari accept the --debug and --release options once more.
1699
1700         * Scripts/gdb-safari:
1701
1702 2008-11-23  Zan Dobersek  <zandobersek@gmail.com>
1703
1704         Reviewed by Holger Freyther. Landed by Jan Alonzo.
1705
1706         Get SVG tests tested on GTK port.
1707
1708         * Scripts/webkitdirs.pm:
1709
1710 2008-11-19  Greg Bolsinga  <bolsinga@apple.com>
1711
1712         Reviewed by Darin Adler.
1713
1714         https://bugs.webkit.org/show_bug.cgi?id=21810
1715         Remove use of static C++ objects that are destroyed at exit time (destructors)
1716
1717         All static C++ objects that create atexit calls are gone. Update script
1718         to indicate how to fix the problem should a new one appear.
1719
1720         * Scripts/check-for-exit-time-destructors:
1721
1722 2008-11-18  Alexey Proskuryakov  <ap@webkit.org>
1723
1724         Reviewed by Darin Adler.
1725
1726         https://bugs.webkit.org/show_bug.cgi?id=22337
1727         Enable workers by default
1728
1729         * Scripts/build-webkit: Changed the default to enabled.
1730
1731 2008-11-18  Alexey Proskuryakov  <ap@webkit.org>
1732
1733         Rubber-stamped by Darin Adler.
1734
1735         https://bugs.webkit.org/show_bug.cgi?id=22306
1736         Disable channel messaging support
1737
1738         * Scripts/build-webkit: Add an option to enable channel messaging.
1739
1740 2008-11-17  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1741
1742         Reviewed by George Staikos.
1743
1744         Add --(no-)wml build flags.
1745
1746         * Scripts/build-webkit:
1747         * Scripts/run-webkit-tests:
1748         * Scripts/webkitdirs.pm:
1749
1750 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
1751
1752         Not reviewed.
1753
1754         Try to fix gtk build.
1755
1756         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1757         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1758         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1759
1760 2008-11-17  Pierre-Olivier Latour  <pol@apple.com>
1761
1762         Reviewed by Maciej.
1763
1764         Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
1765         on Tiger.
1766
1767         https://bugs.webkit.org/show_bug.cgi?id=22271
1768
1769         * Scripts/run-webkit-tests:
1770
1771 2008-11-17  Pierre-Olivier Latour  <pol@apple.com>
1772
1773         Reviewed by Sam Weinig.
1774
1775         Added new JavaScript API on LayoutController to pause a running
1776         CSS transition or animation at a given time.
1777
1778         https://bugs.webkit.org/show_bug.cgi?id=21261
1779
1780         * DumpRenderTree/LayoutTestController.cpp:
1781         (pauseAnimationAtTimeOnElementWithIdCallback):
1782         (pauseTransitionAtTimeOnElementWithIdCallback):
1783         (LayoutTestController::staticFunctions):
1784         * DumpRenderTree/LayoutTestController.h:
1785         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1786         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1787         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1788         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1789         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1790         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1791
1792 2008-11-17  Gabor Loki  <loki@inf.u-szeged.hu>
1793
1794         Reviewed by Darin Adler.
1795
1796         <https://bugs.webkit.org/show_bug.cgi?id=22309>
1797         Pass the remaining options to build system on Qt-port
1798
1799         * Scripts/build-webkit:
1800         * Scripts/webkitdirs.pm:
1801
1802 2008-11-16  Greg Bolsinga  <bolsinga@apple.com>
1803
1804         Reviewed by Darin Adler.
1805
1806         https://bugs.webkit.org/show_bug.cgi?id=21810
1807         Remove use of static C++ objects that are destroyed at exit time (destructors)
1808
1809         Remove .o files from the exclude list that have had their exit-time destructors removed.
1810         Handle case when there is no current symbol.
1811
1812         * Scripts/check-for-exit-time-destructors:
1813
1814 2008-11-16  Sam Weinig  <sam@webkit.org>
1815
1816         * Scripts/do-webcore-rename: Remove now fixed renames.
1817
1818 2008-11-16  Darin Adler  <darin@apple.com>
1819
1820         * Scripts/do-webcore-rename: Plan some future renames.
1821
1822 2008-11-15  Darin Adler  <darin@apple.com>
1823
1824         Rubber stamped by Geoff Garen.
1825
1826         - do the long-planned StructureID -> Structure rename
1827
1828         * Scripts/check-for-global-initializers: Update name of StructureID.o.
1829         * Scripts/do-webcore-rename: Renaming script that I used.
1830
1831 2008-11-15  Greg Bolsinga  <bolsinga@apple.com>
1832
1833         Reviewed by Darin Adler.
1834
1835         https://bugs.webkit.org/show_bug.cgi?id=21810
1836         Remove use of static C++ objects that are destroyed at exit time (destructors)
1837
1838         Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
1839         exit-time destructor. Update code that was changed to fix this issue that ran
1840         into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
1841         in gcc build 5465). Also typdefs for template types needed to be added in some
1842         cases so the type could make it through the macro successfully.
1843
1844         Basically code of the form:
1845         static T m;
1846         becomes:
1847         DEFINE_STATIC_LOCAL(T, m, ());
1848
1849         Also any code of the form:
1850         static T& m = *new T;
1851         also becomes:
1852         DEFINE_STATIC_LOCAL(T, m, ());
1853
1854         Remove .o files from the exclude list that have had their exit-time destructors removed.
1855
1856         * Scripts/check-for-exit-time-destructors:
1857
1858 2008-11-14  Kevin Ollivier  <kevino@theolliviers.com>
1859
1860         wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
1861
1862         * wx/install-unix-extras:
1863
1864 2008-11-14  Alp Toker  <alp@nuanti.com>
1865
1866         GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
1867
1868         Fixes Debian bug #505723
1869         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
1870
1871         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1872
1873 2008-11-14  Krishna <krishnamurty.podipireddy@nokia.com>
1874
1875         Reviewed by Simon Hausmann.
1876
1877         Fix hanging DRT with Qt.
1878
1879         https://bugs.webkit.org/show_bug.cgi?id=22209
1880
1881         * DumpRenderTree/qt/DumpRenderTree.cpp:
1882         (WebCore::DumpRenderTree::dump):
1883         Send empty pixel test data 'block', which is now
1884         expected by run-layout-tests.
1885
1886 2008-11-12  Dmitry Titov  <dimich@chromium.org>
1887
1888         Reviewed by Alexey Proskuryakov.
1889
1890         https://bugs.webkit.org/show_bug.cgi?id=22216
1891
1892         * Scripts/build-webkit:
1893         Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
1894
1895 2008-11-06  David Kilzer  <ddkilzer@apple.com>
1896
1897         BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
1898
1899         Apparently older versions of gcc have issues with this patch.
1900         Backing out a second time until the issues are resolved.
1901
1902 2008-11-06  David Kilzer  <ddkilzer@apple.com>
1903
1904         BUILD WAS NOT BROKEN: Rolling r38189 back in.
1905
1906         Please perform a clean build if you see crashes.
1907
1908 2008-11-06  David Kilzer  <ddkilzer@apple.com>
1909
1910         BUILD FIX: Backed out r38189 since it apparently broke the world.
1911
1912 2008-11-06  Chris Fleizach  <cfleizach@apple.com>
1913
1914         Reviewed by Beth Dakin.
1915
1916         Add ability to query an attribute's settable status and the
1917         ability to retrieve a single attribute from an AXObject
1918
1919         * DumpRenderTree/AccessibilityUIElement.cpp:
1920         (isAttributeSettableCallback):
1921         (attributeValueCallback):
1922         (AccessibilityUIElement::getJSClass):
1923         * DumpRenderTree/AccessibilityUIElement.h:
1924         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1925         (+[NSString stringWithJSStringRef:]):
1926         (AccessibilityUIElement::attributeValue):
1927         (AccessibilityUIElement::isAttributeSettable):
1928         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1929         (AccessibilityUIElement::attributeValue):
1930         (AccessibilityUIElement::isAttributeSettable):
1931
1932 2008-11-06  Greg Bolsinga  <bolsinga@apple.com>
1933
1934         Reviewed by Darin Adler.
1935
1936         Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
1937         https://bugs.webkit.org/show_bug.cgi?id=21810
1938
1939         Remove .o files from the exclude list that have had their exit-time destructors removed.
1940
1941         * Scripts/check-for-exit-time-destructors:
1942
1943 2008-11-05  Alp Toker  <alp@nuanti.com>
1944
1945         GTK build script tweak.
1946
1947         Make the path relative since it will appear in all -I compiler flags.
1948         Long argument lists cause bizarre slowdowns in libtool and result
1949         in huge build logs.
1950
1951         * Scripts/webkitdirs.pm:
1952
1953 2008-11-05  Anders Carlsson  <andersca@apple.com>
1954
1955         Fix 64-bit build.
1956
1957         * DumpRenderTree/mac/DumpRenderTree.mm:
1958         (setDefaultsToConsistentValuesForTesting):
1959
1960 2008-11-04  Simon Fraser  <simon.fraser@apple.com>
1961
1962         Add AccessibilityObject.o to the exclude list for the
1963         check for global destructors.
1964
1965         * Scripts/check-for-exit-time-destructors:
1966
1967 2008-11-04  Darin Adler  <darin@apple.com>
1968
1969         * Scripts/check-for-exit-time-destructors: Fix failures seen on the
1970         bot, but for some reason not on my computer.
1971
1972 2008-11-03  Darin Adler  <darin@apple.com>
1973
1974         Reviewed by Tim Hatcher.
1975
1976         - https://bugs.webkit.org/show_bug.cgi?id=22061
1977           create script to check for exit-time destructors
1978
1979         * Scripts/check-for-exit-time-destructors: Added.
1980         Started as a copy of check-for-global-initializers.
1981
1982         * Scripts/check-for-global-initializers: Added code to make
1983         this script rerun any time it's modified, and also to properly
1984         run again after the first time it reports an error.
1985
1986 2008-11-03  Pierre-Olivier Latour  <pol@apple.com>
1987
1988         Reviewed by Dan Bernstein.
1989
1990         Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
1991
1992         https://bugs.webkit.org/show_bug.cgi?id=22054
1993
1994         * DumpRenderTree/mac/DumpRenderTree.mm:
1995         (setDefaultsToConsistentValuesForTesting):
1996
1997 2008-10-31  Cameron Zwarich  <zwarich@apple.com>
1998
1999         Not reviewed.
2000
2001         * Scripts/do-webcore-rename:
2002
2003         Add some renames to contemplate for the future.
2004
2005 2008-10-31  Darin Adler  <darin@apple.com>
2006
2007         Requested by Mark Rowe.
2008
2009         * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
2010
2011 2008-10-31  David Kilzer  <ddkilzer@apple.com>
2012
2013         Bug 21997: prepare-ChangeLog should filter out ChangeLog files
2014
2015         <https://bugs.webkit.org/show_bug.cgi?id=21997>
2016
2017         Reviewed by Darin Adler.
2018
2019         * Scripts/prepare-ChangeLog:
2020         (generateFileList): Don't add ChangeLog files to %{$functionLists}.
2021         This prevents them from showing up in the new ChangeLog entry.  They
2022         were already excluded from @{$changedFiles}.
2023
2024 2008-10-30  Mark Rowe  <mrowe@apple.com>
2025
2026         Reviewed by Jon Homeycutt.
2027
2028         Explicitly default to building for only the native architecture in debug and release builds.
2029
2030         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2031
2032 2008-10-30  Pierre-Olivier Latour  <pol@apple.com>
2033
2034         Reviewed by Dan Bernstein.
2035
2036         Fixed 64 bit build failure.
2037
2038         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2039         (setupMainDisplayColorProfile):
2040         (createBitmapContextFromWebView):
2041
2042 2008-10-28  Alp Toker  <alp@nuanti.com>
2043
2044         Fix GTK DRT following build breakage in r37928.
2045
2046         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2047         (dump):
2048         (runTest):
2049         (main):
2050
2051 2008-10-28  Alp Toker  <alp@nuanti.com>
2052
2053         Reviewed by Mark Rowe.
2054
2055         Fix recently introduced double-free crashes in GTK DRT.
2056
2057         LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
2058         were updated to call ->deref() but GTK DRT was still deleting
2059         gLayoutTestController manually. This patch updates GTK to match the
2060         other ports and resolves the memory allocation issues.
2061
2062         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2063         (runTest):
2064
2065 2008-10-28  Alp Toker  <alp@nuanti.com>
2066
2067         Reviewed by Mark Rowe.
2068
2069         Fix GTK DRT hang when running the tests.
2070
2071         Update output from the DRT tool to print an additional '#EOF' to match
2072         breaking changes that were made in r37434.
2073
2074         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2075         (dump):
2076
2077 2008-10-28  Adele Peterson  <adele@apple.com>
2078
2079         Reviewed by Sam Weinig.
2080
2081         Specify which Localizable.strings to update since we don't always want to update the file in the same
2082         directory where we're searching for the strings to localize.
2083
2084         * Scripts/extract-localizable-strings:
2085         * Scripts/update-webkit-localizable-strings:
2086
2087 2008-10-28  Timothy Hatcher  <timothy@apple.com>
2088
2089         Add support for enabling the profiler, so the profiling tests can continue
2090         work now that the profiler is not always enabled.
2091
2092         https://bugs.webkit.org/show_bug.cgi?id=21927
2093
2094         <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
2095         not slow down JavaScript all the time
2096
2097         Reviewed by Darin Adler and Kevin McCullough.
2098
2099         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
2100         * DumpRenderTree/LayoutTestController.cpp:
2101         (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
2102         (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
2103         * DumpRenderTree/LayoutTestController.h:
2104         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2105         (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
2106         * DumpRenderTree/mac/DumpRenderTree.mm:
2107         (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
2108         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2109         (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2110         * DumpRenderTree/win/DumpRenderTree.cpp:
2111         (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
2112         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2113         (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2114
2115 2008-10-28  Pierre-Olivier Latour  <pol@apple.com>
2116
2117         Reviewed by Dan Bernstein
2118
2119         Primary changes in DumpRenderTree:
2120         - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
2121         is different from regular font CG anti-aliasing) as font-smoothing settings
2122         depends on the display and can also be changed by the user
2123         - Use a new cleared buffer for each test instead of the reusing same one to
2124         avoid potential result corruption across tests
2125         - Can now receive the expected pixel hash as a suffix to the test path or
2126         url as "path'hash"
2127         - Make sure hash is computed in a endian-independent way
2128         - Improve the code that sets/restores the screen color profile
2129         - Make the code more cross-platformy with std::string goodness
2130         - Added an "on-screen" mode where the snapshot will take into account surfaces
2131         on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
2132         reading from the display framebuffer on 10.4. This mode is not active by
2133         default for performance reason, but must be explicitly activated from the test
2134         file using the new "testOnscreen()" JS API.
2135
2136         Primary changes in ImageDiff:
2137         - Provide a new comparison algorithm that is more tolerant to "acceptable"
2138         failures (i.e. very small differences in font rendering, which --threshold is
2139         not really good at handling)
2140         - Generate normalized intensity-only diff images
2141
2142         Primary changes in run-webkit-tests:
2143         - Take advantage of hashes for pixel tests which makes them much faster by
2144         minimizing image comparisons
2145         - Removed repaint options as these should be set from within test files using
2146         JS API
2147         - Replaced "threshold" option in  by "tolerance" expressed in percents
2148         - Added more logging when in "verbose" mode
2149
2150         https://bugs.webkit.org/show_bug.cgi?id=21322
2151         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2152         * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
2153         * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
2154         * DumpRenderTree/LayoutTestController.cpp:
2155         (LayoutTestController::LayoutTestController):
2156         (testOnscreenCallback):
2157         (LayoutTestController::staticFunctions):
2158         * DumpRenderTree/LayoutTestController.h:
2159         (LayoutTestController::testOnscreen):
2160         (LayoutTestController::setTestOnscreen):
2161         (LayoutTestController::testPathOrURL):
2162         (LayoutTestController::expectedPixelHash):
2163         * DumpRenderTree/PixelDumpSupport.h:
2164         * DumpRenderTree/cg/ImageDiffCG.cpp:
2165         (strtof):
2166         (releaseMallocBuffer):
2167         (createDifferenceImage):
2168         (imageHasAlpha):
2169         (main):
2170         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2171         (computeMD5HashStringForBitmapContext):
2172         (dumpWebViewAsPixelsAndCompareWithExpected):
2173         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2174         (BitmapContext::createByAdoptingBitmapAndContext):
2175         (BitmapContext::~BitmapContext):
2176         (BitmapContext::cgContext):
2177         (BitmapContext::BitmapContext):
2178         * DumpRenderTree/mac/DumpRenderTree.mm:
2179         (shouldIgnoreWebCoreNodeLeaks):
2180         (setDefaultsToConsistentValuesForTesting):
2181         (crashHandler):
2182         (initializeGlobalsFromCommandLineOptions):
2183         (prepareConsistentTestingEnvironment):
2184         (dumpRenderTree):
2185         (sizeWebViewForCurrentTest):
2186         (dump):
2187         (runTest):
2188         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2189         (restoreMainDisplayColorProfile):
2190         (setupMainDisplayColorProfile):
2191         (createBitmapContextFromWebView):
2192         * DumpRenderTree/win/DumpRenderTree.cpp:
2193         (dump):
2194         (runTest):
2195         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2196         (getBitmapContextFromWebView):
2197         * Scripts/run-webkit-tests:
2198
2199 2008-10-27  Kevin Ollivier  <kevino@theolliviers.com>
2200
2201         wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
2202
2203         * wx/build-wxwebkit:
2204
2205 2008-10-24  Anders Carlsson  <andersca@apple.com>
2206
2207         Try fixing the 64-bit build.
2208
2209         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2210         (testGetProperty):
2211
2212 2008-10-24  Anders Carlsson  <andersca@apple.com>
2213
2214         Reviewed by Sam Weinig.
2215
2216         <rdar://problem/5440917> Support NPN_Construct
2217
2218         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2219         (testCallback):
2220         Fix a memory leak.
2221
2222         (testConstruct):
2223         New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
2224
2225         (pluginInvoke):
2226         Handle testConstruct.
2227
2228         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2229         (testGetProperty):
2230         Add objectPointer property.
2231
2232         (testEnumerate):
2233         Only enumerate the two first properties.
2234
2235         (testConstruct):
2236         Add a simple construct implementation that just returns the test object.
2237
2238 2008-10-24  David Kilzer  <ddkilzer@apple.com>
2239
2240         Bug 21850: svn-apply and svn-unapply should preserve patch line endings
2241
2242         <https://bugs.webkit.org/show_bug.cgi?id=21850>
2243
2244         Reviewed by Adam Roben.
2245
2246         * Scripts/svn-apply: Save end-of-line characters when stripping them
2247         off each line of a patch so that they may be restored after
2248         processing the line.
2249         * Scripts/svn-unapply: Ditto.
2250
2251 2008-10-23  David Kilzer  <ddkilzer@apple.com>
2252
2253         Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
2254
2255         <https://bugs.webkit.org/show_bug.cgi?id=21832>
2256
2257         Reviewed by Sam Weinig.
2258
2259         * Scripts/bisect-builds: Use imported tempfile() from File::Temp
2260         instead of 'new File::Temp' to make the script work with Perl 5.10.
2261         * Scripts/sort-Xcode-project-file: Ditto.
2262
2263 2008-10-22  Brady Eidson  <beidson@apple.com>
2264
2265         Reviewed by Adam Roben
2266
2267         <rdar://6261773> - autocomplete="off" doesn't work on Windows
2268
2269         Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
2270
2271         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2272
2273 2008-10-22  Darin Adler  <darin@apple.com>
2274
2275         * Scripts/do-webcore-rename: More renaming plans.
2276
2277 2008-10-21  Steve Falkenburg  <sfalken@apple.com>
2278
2279         Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
2280
2281         * Scripts/extract-localizable-strings:
2282
2283 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2284
2285         Reviewed by Mark Rowe.
2286
2287         - default to 1000 tests per dump tool instance again, now that CTI no longer causes
2288         excess different stack logs.
2289
2290         (Also fix a small bug in my last change.)
2291
2292         * Scripts/run-webkit-tests:
2293
2294 2008-10-17  Stephanie Lewis  <slewis@apple.com>
2295
2296         Reviewed by Mark Rowe.
2297
2298         Fix layout tests that use prologues and epilogues.
2299
2300         * Scripts/run-webkit-tests:
2301
2302 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2303
2304         Reviewed by Mark Rowe.
2305
2306         - make sure MallocStackLogging is only on for tools we want to
2307         leak check, not other random stuff as well.
2308
2309         * Scripts/run-webkit-tests:
2310
2311 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2312
2313         Reviewed by Stephanie Lewis.
2314
2315         - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
2316
2317         This should reduce or eliminate crashes on the buildbot due to
2318         running out of memory while stack logging.
2319
2320         * Scripts/run-webkit-tests:
2321
2322 2008-10-16  Jan Michael Alonzo  <jmalonzo@webkit.org>
2323
2324         Gtk build fix. Not reviewed.
2325
2326         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2327         (LayoutTestController::setSmartInsertDeleteEnabled):
2328
2329 2008-10-15  Glenn Wilson  <gwilson@google.com>
2330
2331         Added new method to allow tests to disable smart editing in the course of a test.
2332         This is a possible solution to bug .20655
2333
2334         Reviewed by Tim Hatcher.
2335
2336         * DumpRenderTree/LayoutTestController.cpp:
2337         (setSmartInsertDeleteEnabledCallback): new method
2338         (LayoutTestController::staticFunctions): added new method to static list of callbacks
2339         * DumpRenderTree/LayoutTestController.h: added signature of new method
2340         * DumpRenderTree/mac/DumpRenderTree.mm:
2341         (resetWebViewToConsistentStateBeforeTesting): added state resetting
2342         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2343         (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2344         * DumpRenderTree/win/DumpRenderTree.cpp:
2345         (resetWebViewToConsistentStateBeforeTesting): added state resetting
2346         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2347         (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2348
2349 2008-10-14  Ada Chan  <adachan@apple.com>
2350
2351         Fix windows build.
2352
2353         Reviewed by Sam Weinig.
2354
2355         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2356         * DumpRenderTree/config.h:
2357         * DumpRenderTree/win/DumpRenderTreeWin.h:
2358         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2359         * DumpRenderTree/win/UIDelegate.cpp:
2360
2361 2008-10-13  Timothy Hatcher  <timothy@apple.com>
2362
2363         Make prepare-ChangeLog populate the changed functions for JavaScript files.
2364
2365         https://bugs.webkit.org/show_bug.cgi?id=21567
2366
2367         Reviewed by David Kilzer.
2368
2369         * Scripts/prepare-ChangeLog:
2370         (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
2371         files that end with ".js".
2372         (get_function_line_ranges_for_javascript): Find functions, anonymous functions
2373         and getters/setters.
2374
2375 2008-10-14  Alp Toker  <alp@nuanti.com>
2376
2377         Reviewed by Sam Weinig.
2378
2379         https://bugs.webkit.org/show_bug.cgi?id=16299
2380         Add a config.h file to DRT
2381
2382         Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
2383         an ad-hoc config header.
2384
2385         * DumpRenderTree/AccessibilityController.cpp:
2386         * DumpRenderTree/AccessibilityUIElement.cpp:
2387         * DumpRenderTree/AccessibilityUIElement.h:
2388         * DumpRenderTree/DumpRenderTree.h:
2389         * DumpRenderTree/GCController.cpp:
2390         * DumpRenderTree/LayoutTestController.cpp:
2391         * DumpRenderTree/WorkQueue.cpp:
2392         * DumpRenderTree/config.h: Added.
2393         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2394         * DumpRenderTree/gtk/GCControllerGtk.cpp:
2395         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2396         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2397         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
2398         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2399         * DumpRenderTree/win/DumpRenderTree.cpp:
2400         * DumpRenderTree/win/DumpRenderTreeWin.h:
2401         * DumpRenderTree/win/EditingDelegate.cpp:
2402         * DumpRenderTree/win/EventSender.cpp:
2403         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2404         * DumpRenderTree/win/GCControllerWin.cpp:
2405         * DumpRenderTree/win/MD5.cpp:
2406         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2407         * DumpRenderTree/win/PolicyDelegate.cpp:
2408         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2409         * DumpRenderTree/win/WorkQueueItemWin.cpp:
2410         * GNUmakefile.am:
2411
2412 2008-10-13  Chris Fleizach  <cfleizach@apple.com>
2413
2414         Reviewed by Beth Dakin.
2415
2416         Added a method to get the links in a webpage
2417
2418         * DumpRenderTree/AccessibilityUIElement.cpp:
2419         (attributesOfDocumentLinksCallback):
2420         (AccessibilityUIElement::getJSClass):
2421         * DumpRenderTree/AccessibilityUIElement.h:
2422         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2423         (AccessibilityUIElement::getDocumentLinks):
2424         (AccessibilityUIElement::attributesOfDocumentLinks):
2425         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2426         (AccessibilityUIElement::getDocumentLinks):
2427         (AccessibilityUIElement::attributesOfDocumentLinks):
2428
2429 2008-10-13  David Kilzer  <ddkilzer@apple.com>
2430
2431         Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
2432
2433         <https://bugs.webkit.org/show_bug.cgi?id=21457>
2434
2435         Reviewed by Adam.
2436
2437         * Scripts/resolve-ChangeLogs: Added optional parameter to
2438         -f|--fix-merged switch to run the script on a revision range.
2439         Updated command-line validation checks.
2440         (findChangeLog): Fixed long-standing bug that should have used
2441         $_[0] instead of $_.
2442         (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($).  Updated
2443         to work when called from git filter-branch.  It always restores a
2444         copy of the previous revision before reapplying the patch.
2445         (fixMergedChangeLogs): Added.  Calls itself through git filter-branch
2446         to re-merge ChangeLog files across a revision range.  Removes
2447         .git/refs/original directory on success.
2448         (parseFixMerged): Added.  Custom method to parse the -f|--fix-merged
2449         switch.
2450         (removeChangeLogArguments): Added.  Removes items from @ARGV when
2451         they are ChangeLog paths, and return a list of paths.  This makes it
2452         easier to validate the command-line.
2453         (resolveChangeLog): Added.  Extracted from main code block.  Runs
2454         the traditional single-file merge algorithm.
2455         (usageAndExit): Added.  Extracted from main code block.  Prints
2456         usage statement and exits with error status.
2457
2458 2008-10-12  Darin Adler  <darin@apple.com>
2459
2460         * Scripts/make-js-test-wrappers: Update exceptions list so the script
2461         won't overwrite files and mangle tests.
2462
2463 2008-10-11  Dan Bernstein  <mitz@apple.com>
2464
2465         Reviewed by Sam Weinig and Anders Carlsson.
2466
2467         - update Mac DumpRenderTree to use the new WebView SPI for forcing the
2468           complex text code path
2469         - add --complex-text support to Windows DumpRenderTree
2470
2471         * DumpRenderTree/mac/DumpRenderTree.mm:
2472         (dumpRenderTree):
2473         * DumpRenderTree/win/DumpRenderTree.cpp:
2474         (createWebViewAndOffscreenWindow):
2475         (main):
2476         * Scripts/run-webkit-tests:
2477
2478 2008-10-09  Eric Seidel  <eric@webkit.org>
2479
2480         Reviewed by Oliver Hunt.
2481
2482         https://bugs.webkit.org/show_bug.cgi?id=21498
2483
2484         * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
2485
2486 2008-10-09  Cameron Zwarich  <zwarich@apple.com>
2487
2488         Not reviewed.
2489
2490         Add StructureID.o to the exclusion list in the global initializers
2491         script to fix the Debug build.
2492
2493         * Scripts/check-for-global-initializers:
2494
2495 2008-10-08  Mark Rowe  <mrowe@apple.com>
2496
2497         Fix the Windows build after r37434.
2498
2499         * DumpRenderTree/win/DumpRenderTree.cpp:
2500         (dump): Update code to approximate valid C++ syntax.
2501
2502 2008-10-08  Timothy Hatcher  <timothy@apple.com>
2503
2504         Add SVGElementInstance to the list of exceptions that have
2505         global initializers in debug builds.
2506
2507         Rubber-stamped by Mark Rowe.
2508
2509         * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
2510
2511 2008-10-08  Simon Fraser  <simon.fraser@apple.com>
2512
2513         Reviewed by Dan Bernstein
2514
2515         Avoid disconnect between DRT and run-webkit-tests
2516         about whether to expect PNG dumps by having DRT always
2517         print two blocks terminated by #EOF, the second of which
2518         may be empty.
2519
2520         https://bugs.webkit.org/show_bug.cgi?id=21483
2521
2522         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2523         (printPNG):
2524         (dumpWebViewAsPixelsAndCompareWithExpected):
2525         * DumpRenderTree/mac/DumpRenderTree.mm:
2526         (dump):
2527         * DumpRenderTree/win/DumpRenderTree.cpp:
2528         (dump):
2529         * Scripts/run-webkit-tests:
2530
2531 2008-10-07  Adam Roben  <aroben@apple.com>
2532
2533         Make sure short functions get included in ChangeLog output for git
2534         repositories
2535
2536         Reviewed by Dave Kilzer.
2537
2538         * Scripts/prepare-ChangeLog:
2539         (sub diffCommand): Pass -U0 to git diff so that each contiguous change
2540         will get its own chunk without any surrounding context.
2541         (sub extractLineRange): Use the line numbers from the chunk header
2542         without modifying them now that they're accurate.
2543
2544 2008-10-04  Mark Rowe  <mrowe@apple.com>
2545
2546         Reviewed by Tim Hatcher.
2547
2548         Update check-for-weak-vtables to check only the final linked image for weak vtables.
2549         This gives more useful results than checking each object file independently.
2550
2551         * Scripts/check-for-weak-vtables:
2552
2553 2008-10-03  Pierre-Olivier Latour <pol@apple.com>
2554
2555         Reviewed by Darin Adler
2556
2557         Render images to RGBA8 bitmaps independently of platform endianness.
2558
2559         Create image difference bitmap in reference image colorspace instead of device colorspace
2560         (which depends on the main display profile), so that no color matching happens.
2561
2562         https://bugs.webkit.org/show_bug.cgi?id=21336
2563
2564         * DumpRenderTree/cg/ImageDiffCG.cpp:
2565         (createDifferenceBitmap):
2566         (computePercentageDifferent):
2567         (compareImages):
2568
2569 2008-10-02  Simon Fraser  <simon.fraser@apple.com>
2570
2571         Reviewed by Darin Adler
2572
2573         Fix hang when running with --pixel --reset, which occurs
2574         because DRT spews PNG data when the script does not expect it.
2575
2576         https://bugs.webkit.org/show_bug.cgi?id=21323
2577
2578         * Scripts/run-webkit-tests:
2579
2580 2008-09-30  Mark Rowe  <mrowe@apple.com>
2581
2582         Reviewed by Dan Bernstein.
2583
2584         Add a leak counter for CachedResources since we've had two recent leaks involving them.
2585
2586         * Scripts/check-for-global-initializers:
2587
2588 2008-09-30  Mark Rowe  <mrowe@apple.com>
2589
2590         Rubber-stamped by Dan Bernstein.
2591
2592         Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
2593
2594         JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
2595         being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
2596         We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
2597         any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
2598         torn down before we exit.
2599
2600         * DumpRenderTree/mac/DumpRenderTree.mm:
2601         (dumpRenderTree):
2602         (main):
2603
2604 2008-09-30  Simon Fraser  <simon.fraser@apple.com>
2605
2606         Reviewed by Dan Bernstein
2607
2608         Don't run pixel comparison for text-only tests.
2609         https://bugs.webkit.org/show_bug.cgi?id=21124
2610
2611         * DumpRenderTree/mac/DumpRenderTree.mm:
2612         (dump):
2613         * Scripts/run-webkit-tests:
2614
2615 2008-09-29  Thiago Macieira  <thiago.macieira@nokia.com>
2616
2617         Reviewed by Simon.
2618
2619         Changed copyright from Trolltech ASA to Nokia.
2620
2621         Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
2622
2623
2624         * DumpRenderTree/qt/DumpRenderTree.cpp:
2625         * DumpRenderTree/qt/jsobjects.cpp:
2626         * DumpRenderTree/qt/jsobjects.h:
2627         * DumpRenderTree/qt/main.cpp:
2628         * DumpRenderTree/qt/testplugin.cpp:
2629         * DumpRenderTree/qt/testplugin.h:
2630
2631 2008-09-28  David Kilzer  <ddkilzer@apple.com>
2632
2633         Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
2634
2635         <https://bugs.webkit.org/show_bug.cgi?id=21185>
2636
2637         Reviewed by Adam.
2638
2639         * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
2640         will attempt to reapply the last commit to a ChangeLog file such
2641         that the ChangeLog entry appears at the top of the file.
2642         (findChangeLog): Added prototype and moved method below the exit
2643         statement.
2644         (fixMergedChangeLog): Added.  Method to fix incorrectly merged
2645         ChangeLog entries.
2646
2647 2008-09-27  Anders Carlsson  <andersca@apple.com>
2648
2649         Reviewed by Sam Weinig.
2650
2651         https://bugs.webkit.org/show_bug.cgi?id=21178
2652         <rdar://problem/6248651>
2653
2654         Return the result value from getURL.
2655
2656         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2657         (getURL):
2658
2659 2008-09-26  Matt Lilek  <webkit@mattlilek.com>
2660
2661         Reviewed by Tim Hatcher.
2662
2663         Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
2664
2665         * Scripts/build-webkit:
2666
2667 2008-09-26  Alice Liu  <alice.liu@apple.com>
2668
2669         Remove usage of atlstr.h and CString for VCExpress compatibility
2670
2671         Reviewed by Stephanie Lewis.
2672
2673         * record-memory-win/main.cpp:
2674         (ProcessArgs):
2675         (UseImage):
2676         (QueryContinuously):
2677         (OneQuery):
2678         (OneQueryMP):
2679
2680 2008-09-26  Kevin Ollivier  <kevino@theolliviers.com>
2681
2682         wx build fix. Update the version of libpng.
2683
2684         * wx/install-unix-extras:
2685
2686 2008-09-24  Sam Weinig  <sam@webkit.org>
2687
2688         Reviewed by Darin Adler.
2689
2690         Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
2691         <rdar://problem/6243534>
2692         Crash below Function.apply when using a runtime array as the argument list
2693
2694         Add method to ObjCController to return a runtime array.
2695
2696         * DumpRenderTree/mac/ObjCController.m:
2697         (+[ObjCController isSelectorExcludedFromWebScript:]):
2698         (+[ObjCController webScriptNameForSelector:]):
2699         (-[ObjCController testArray]):
2700
2701 2008-09-24  Beth Dakin  <bdakin@apple.com>
2702
2703         Reviewed by Sam Weinig.
2704
2705         Speculative build fix.
2706
2707         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2708         (AccessibilityUIElement::supportsPressAction):
2709
2710 2008-09-23  Beth Dakin  <bdakin@apple.com>
2711
2712         Reviewed by Sam Weinig.
2713
2714         This patch extends DumpRenderTree's AccessibilityController to ask
2715         if the focused element supports the press action.
2716
2717         * DumpRenderTree/AccessibilityUIElement.cpp:
2718         (getSupportsPressActionCallback):
2719         (AccessibilityUIElement::getJSClass):
2720         * DumpRenderTree/AccessibilityUIElement.h:
2721         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2722         (AccessibilityUIElement::supportsPressAction):
2723
2724 2008-09-22  Alice Liu  <alice.liu@apple.com>
2725
2726         Adding a stand-alone Windows console application to record a process's memory usage
2727
2728         Reviewed by Steve Falkenburg.
2729
2730         * record-memory-win: Added.
2731         * record-memory-win/main.cpp: Added.
2732         * record-memory-win/record-memory-win.vcproj: Added.
2733
2734 2008-09-22  Chris Fleizach  <cfleizach@apple.com>
2735
2736         Reviewed by Darin Adler.
2737
2738         Support ability to get/set selected text ranges for text controls through AX.
2739
2740         * DumpRenderTree/AccessibilityUIElement.cpp:
2741         (setSelectedTextRangeCallback):
2742         (getSelectedTextRangeCallback):
2743         (AccessibilityUIElement::getJSClass):
2744         * DumpRenderTree/AccessibilityUIElement.h:
2745         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2746         (AccessibilityUIElement::attributesOfRowHeaders):
2747         (AccessibilityUIElement::attributesOfVisibleCells):
2748         (AccessibilityUIElement::rowIndexRange):
2749         (AccessibilityUIElement::columnIndexRange):
2750         (AccessibilityUIElement::cellForColumnAndRow):
2751         (AccessibilityUIElement::selectedTextRange):
2752         (AccessibilityUIElement::setSelectedTextRange):
2753         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2754         (AccessibilityUIElement::selectedTextRange):
2755         (AccessibilityUIElement::setSelectedTextRange):
2756
2757 2008-09-20  Darin Adler  <darin@apple.com>
2758
2759         * DumpRenderTree/mac/DumpRenderTree.mm:
2760         (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
2761
2762 2008-09-19  Alp Toker  <alp@nuanti.com>
2763
2764         Build fix for the 'gold' linker and recent binutils. New behaviour
2765         requires that we link to used libraries explicitly.
2766
2767         * GNUmakefile.am:
2768
2769 2008-09-19  Stephanie Lewis  <slewis@apple.com>
2770
2771         Reviewed by Oliver Hunt.
2772
2773         Implement a workaround for an incorrect mime-type on machines with
2774         Dashcode 2.0.1.  Dashcode is overriding the UTI type for .js files.
2775         See radar <rdar://problem/6234318>.
2776
2777         * DumpRenderTree/mac/DumpRenderTree.mm:
2778         (convertMIMEType):
2779
2780 2008-09-19  Chris Fleizach  <cfleizach@apple.com>
2781
2782         Fixed Windows bustage
2783
2784         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2785         (AccessibilityUIElement::titleUIElement):
2786
2787 2008-09-18  Chris Fleizach  <cfleizach@apple.com>
2788
2789         Reviewed by Darin Adler.
2790
2791         Expose titleUIElement call for DumpRenderTree
2792
2793         * ChangeLog:
2794         * DumpRenderTree/AccessibilityUIElement.cpp:
2795         (titleUIElementCallback):
2796         (AccessibilityUIElement::getJSClass):
2797         * DumpRenderTree/AccessibilityUIElement.h:
2798         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2799         (AccessibilityUIElement::titleUIElement):
2800
2801 2008-09-18  Darin Adler  <darin@apple.com>
2802
2803         * Scripts/do-webcore-rename: More renaming plans.
2804
2805 2008-09-18  Mark Rowe  <mrowe@apple.com>
2806
2807         Reviewed by Dan Bernstein.
2808
2809         Clear the main frame's name between tests to get more consistent test results
2810         when running the WebKit tests with --nthly.
2811
2812         * DumpRenderTree/mac/DumpRenderTree.mm:
2813         (resetWebViewToConsistentStateBeforeTesting):
2814         * DumpRenderTree/win/DumpRenderTree.cpp:
2815         (resetWebViewToConsistentStateBeforeTesting):
2816
2817 2008-09-18  Stephanie Lewis  <slewis@apple.com>
2818
2819         Really fix tiger jsc tests.
2820
2821         * Scripts/run-javascriptcore-tests:
2822
2823 2008-09-18  Stephanie Lewis  <slewis@apple.com>
2824
2825         Reviewed by Maciej Stachowiak.
2826
2827         Fix jsc tests on Tiger.  Make jsc tests smarter about when to use the arch flag.
2828
2829         * Scripts/run-javascriptcore-tests:
2830         * Scripts/webkitdirs.pm:
2831
2832 2008-09-18  Mark Rowe  <mrowe@apple.com>
2833
2834         Rubber-stamped by Sam Weinig.
2835
2836         Print warning to stdout rather than stderr when a test attempts to access a remote resource.
2837         This should make it more obvious when a test does this, as stderr output tends to be obscured
2838         by noise in the test results.
2839
2840         Also fixes some coding style issues in ResourceLoadDelegate.mm.
2841
2842         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2843         (-[NSError _drt_descriptionSuitableForTestResult]):
2844         (-[NSURL _drt_descriptionSuitableForTestResult]):
2845         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2846         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2847         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2848         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2849         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2850         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2851
2852 2008-09-18  Stephanie Lewis  <slewis@apple.com>
2853
2854         Reviewed by Mark Rowe and Maciej Stachowiak..
2855
2856         add a --64-bit option and specify which architecture to run on Mac.
2857
2858         * Scripts/run-javascriptcore-tests:
2859
2860 2008-09-17  Mark Rowe  <mrowe@apple.com>
2861
2862         Reviewed by Sam Weinig.
2863
2864         Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
2865
2866         The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
2867         attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
2868         LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
2869
2870         * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
2871         * DumpRenderTree/LayoutTestController.cpp:
2872         (LayoutTestController::LayoutTestController):
2873         (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
2874         (layoutTestControllerObjectFinalize): Deref the wrapped object.
2875         (LayoutTestController::makeWindowObject): Ref the wrapped object.
2876         * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
2877         * DumpRenderTree/mac/DumpRenderTree.mm:
2878         (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
2879         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
2880         * DumpRenderTree/win/DumpRenderTree.cpp:
2881         (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
2882
2883 2008-09-16  Sam Weinig  <sam@webkit.org>
2884
2885         Reviewed by Mark Rowe.
2886
2887         Add flag to disable running sample on tests that timeout.
2888
2889         * Scripts/run-webkit-tests:
2890
2891 2008-09-16  Adam Roben  <aroben@apple.com>
2892
2893         Windows build fix after r36511
2894
2895         Update for rename of layoutTestController to gLayoutTestController.
2896
2897         * DumpRenderTree/LayoutTestController.cpp:
2898         * DumpRenderTree/win/EditingDelegate.cpp:
2899         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2900         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2901         * DumpRenderTree/win/UIDelegate.cpp:
2902
2903 2008-09-16  Adam Roben  <aroben@apple.com>
2904
2905         Add a script to print out the dependency tree of a Visual Studio
2906         solution file
2907
2908         * Scripts/print-msvc-project-dependencies: Added.
2909
2910 2008-09-16  Mark Rowe  <mrowe@apple.com>
2911
2912         Fix the build.
2913
2914         * DumpRenderTree/LayoutTestController.cpp:
2915         (notifyDoneCallback): Call fprintf in a safer manner.
2916
2917 2008-09-16  Simon Fraser  <simon.fraser@apple.com>
2918
2919         Reviewed by Eric Seidel
2920
2921         Protect against tests that call layoutTestController.notifyDone()
2922         more than once, which would lead to memory corruption, by nulling
2923         out the LayoutTestController on the JSObjectRef on destruction. Also
2924         add a finalize callback on the class so that if the LTC outlives
2925         the JSObjectRef, the JSObjectRef backpointer on the LTC can be
2926         nulled out.
2927
2928         https://bugs.webkit.org/show_bug.cgi?id=20875
2929
2930         * DumpRenderTree/LayoutTestController.cpp:
2931         (LayoutTestController::LayoutTestController):
2932         (notifyDoneCallback):
2933         (layoutTestControllerObjectFinalize):
2934         (LayoutTestController::makeWindowObject):
2935         (LayoutTestController::getJSClass):
2936         * DumpRenderTree/LayoutTestController.h:
2937         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2938         (LayoutTestController::~LayoutTestController):
2939
2940 2008-09-16  Simon Fraser  <simon.fraser@apple.com>
2941
2942         Reviewed by Eric Seidel
2943
2944         Step 1 patch: rename global variable for clarity.
2945         https://bugs.webkit.org/show_bug.cgi?id=20875
2946
2947         * DumpRenderTree/DumpRenderTree.h:
2948         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2949         (dumpWebViewAsPixelsAndCompareWithExpected):
2950         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2951         (dumpFramesAsText):
2952         (dump):
2953         (runTest):
2954         (processWork):
2955         (webViewLoadFinished):
2956         (webViewWindowObjectCleared):
2957         * DumpRenderTree/mac/DumpRenderTree.mm:
2958         (allocateGlobalControllers):
2959         (dumpFrameScrollPosition):
2960         (dumpFramesAsText):
2961         (methodNameStringForFailedTest):
2962         (dump):
2963         (runTest):
2964         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2965         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2966         * DumpRenderTree/mac/EditingDelegate.mm:
2967         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2968         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2969         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2970         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2971         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2972         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2973         (-[EditingDelegate webViewDidBeginEditing:]):
2974         (-[EditingDelegate webViewDidChange:]):
2975         (-[EditingDelegate webViewDidEndEditing:]):
2976         (-[EditingDelegate webViewDidChangeTypingStyle:]):
2977         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2978         (-[FrameLoadDelegate processWork:]):
2979         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2980         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2981         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2982         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2983         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2984         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2985         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2986         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2987         * DumpRenderTree/mac/UIDelegate.mm:
2988         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2989         (-[UIDelegate webViewFocus:]):
2990         (-[UIDelegate webViewUnfocus:]):
2991         (-[UIDelegate webView:createWebViewWithRequest:]):
2992         (-[UIDelegate webViewClose:]):
2993         * DumpRenderTree/win/DumpRenderTree.cpp:
2994         (dumpFrameScrollPosition):
2995         (dumpFramesAsText):
2996         (dump):
2997         (runTest):
2998
2999 2008-09-15  Alice Liu  <alice.liu@apple.com>
3000
3001         A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
3002
3003         Reviewed by Stephanie Lewis.
3004
3005         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3006         Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
3007         but not Intel.  Add a check for nil before calling.
3008         (AccessibilityUIElement::rowIndexRange):
3009         (AccessibilityUIElement::columnIndexRange):
3010
3011 2008-09-14  Mark Rowe  <mrowe@apple.com>
3012
3013         Build fix.
3014
3015         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3016         (waitUntilDoneWatchdogFired):
3017         * DumpRenderTree/mac/ObjCPlugin.m:
3018
3019 2008-09-08  Dan Bernstein  <mitz@apple.com>
3020
3021         Reviewed by Mark Rowe.
3022
3023         - add an option to run-webkit-tests to always use the complex text code path
3024
3025         * DumpRenderTree/mac/DumpRenderTree.mm:
3026         (initializeGlobalsFromCommandLineOptions):
3027         (dumpRenderTree):
3028         * Scripts/run-webkit-tests:
3029
3030 2008-09-08  Steve Falkenburg  <sfalken@apple.com>
3031
3032         Another Windows nightly build fix.
3033
3034         Reviewed by Sam Weinig.
3035
3036         * FindSafari/FindSafari.cpp:
3037         (_tmain): Delete existing WebKitNightly directory in temp.
3038         * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
3039
3040 2008-09-07  Stephanie Lewis  <slewis@apple.com>
3041
3042         Reviewed by Mark Rowe.
3043
3044         Fix DRT build
3045
3046         * DumpRenderTree/DumpRenderTreePrefix.h:
3047         * DumpRenderTree/win/DumpRenderTree.vcproj:
3048
3049 2008-09-06  Steve Falkenburg  <sfalken@apple.com>
3050
3051         Fix Windows nightlies.
3052
3053         Copy WebKit.dll alongside application so registry-free COM can find it.
3054         Update embedded manifest to force use registry-free COM.
3055
3056         Reviewed by Dave Hyatt.
3057
3058         * FindSafari/FindSafari.cpp:
3059         (copyManifest):
3060         (replaceManifest):
3061         (_tmain):
3062         * FindSafari/FindSafari.rc: Added.
3063         * FindSafari/FindSafari.vcproj:
3064         * FindSafari/Safari.exe.manifest: Added.
3065         * FindSafari/resource.h: Added.
3066
3067 === End merge of squirrelfish-extreme ===
3068
3069 2008-08-31  Mark Rowe  <mrowe@apple.com>
3070
3071         Reviewed by Maciej Stachowiak.
3072
3073         Add a --profile flag to run-sunspider.
3074
3075         * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
3076         to build scripts as indicating that we should use the "Profiling" configuration.  At present
3077         this is only supported by JavaScriptCore, so using this argument to build any other project
3078         will likely result in unexpected behaviour.
3079
3080 2008-08-27  Mark Rowe  <mrowe@apple.com>
3081
3082         Reviewed by Oliver Hunt.
3083
3084         Fix run-webkit-tests to handle DRT exiting early.
3085
3086         * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
3087
3088 === Start merge of squirrelfish-extreme ===
3089
3090 2008-09-04  Mark Rowe  <mrowe@apple.com>
3091
3092         Reviewed by Eric Seidel.
3093
3094         Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
3095         Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
3096
3097         * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
3098
3099 2008-09-04  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
3100
3101         Reviewed by Oliver Hunt.
3102
3103         Bug 20616: Incorporate V8 benchmarks in testing
3104         <https://bugs.webkit.org/show_bug.cgi?id=20616>
3105
3106         Add support for the --v8 option to run-sunspider.
3107
3108         * Scripts/run-sunspider:
3109
3110 2008-09-04  Kevin Ollivier  <kevino@theolliviers.com>
3111
3112         wx buildbot fix. More robust handling of clean when makefiles are not built or
3113         are not completely made.
3114
3115         * wx/build-wxwebkit:
3116
3117 2008-09-03  Mark Rowe  <mrowe@apple.com>
3118
3119         More Mac build fixes.
3120
3121         Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
3122         Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
3123         default configuration specified in the .xcconfig files.
3124
3125         * Scripts/build-webkit:
3126
3127 2008-09-03  Mark Rowe  <mrowe@apple.com>
3128
3129         Mac build fix.  Ensure that dashboard support is enabled.
3130
3131         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3132
3133 2008-08-25  Steve Falkenburg  <sfalken@apple.com>
3134
3135         Build fix. Copy correct version of ICU.
3136
3137         * DumpRenderTree/win/DumpRenderTree.vcproj:
3138
3139 2008-08-25  Holger Hans Peter Freyther  <zecke@selfish.org>
3140
3141         Reviewed by Simon.
3142
3143         [run-webkit-tests] Use QtLauncher to show the results of the tests
3144         konqueror might not be installed, xdg-open might not be installed but the
3145         QtLauncher should be present.
3146
3147         * Scripts/run-webkit-tests:
3148
3149 2008-08-24  Jon Honeycutt  <jhoneycutt@apple.com>
3150
3151         Initial support for accessibility layout tests on Windows.
3152         https://bugs.webkit.org/show_bug.cgi?id=20497
3153
3154         Reviewed by Sam Weinig.
3155
3156         * DumpRenderTree/AccessibilityController.h: Fix typos.
3157         * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
3158         * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
3159         prevent oleacc.h, which includes windows.h, from including winsock.h.
3160         Fixed typos.
3161         * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
3162         (AccessibilityController::AccessibilityController):
3163         (AccessibilityController::~AccessibilityController):
3164         (AccessibilityController::focusedElement): Get the root element, and
3165         request its focused object.
3166         (AccessibilityController::rootElement): Query Windows for the
3167         accessible client object for the WebView's window.
3168         * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
3169         (AccessibilityUIElement::AccessibilityUIElement):
3170         (AccessibilityUIElement::~AccessibilityUIElement):
3171         (AccessibilityUIElement::getLinkedUIElements): Not implemented.
3172         (AccessibilityUIElement::getChildren): Get the child count, and append
3173         each child.
3174         (AccessibilityUIElement::getChildAtIndex): Get the child at the given
3175         index offset by 1. In MSAA, child 0 is the object itself.
3176         (AccessibilityUIElement::allAttributes): Not implemented.
3177         (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
3178         (AccessibilityUIElement::attributesOfChildren): Same.
3179         (AccessibilityUIElement::parameterizedAttributeNames): Same.
3180         (self): Return a VARIANT representing the "self" object. This is used
3181         when calling methods that require a child variant.
3182         (AccessibilityUIElement::role): Get the MSAA role, a long value, and
3183         convert it into a string with GetRoleText().
3184         (AccessibilityUIElement::title): Get the element's title, and convert
3185         it to a JS String.
3186         (AccessibilityUIElement::description): Same, for description.
3187         (AccessibilityUIElement::width):
3188         (AccessibilityUIElement::height):
3189         (AccessibilityUIElement::intValue): Get the object's value as a string,
3190         and convert the string to a double.
3191         (AccessibilityUIElement::minValue): Not implemented.
3192         (AccessibilityUIElement::maxValue): Same.
3193         (AccessibilityUIElement::insertionPointLineNumber): Same.
3194         (AccessibilityUIElement::attributesOfColumnHeaders): Same.
3195         (AccessibilityUIElement::attributesOfRowHeaders): Same.
3196         (AccessibilityUIElement::attributesOfColumns): Same.
3197         (AccessibilityUIElement::attributesOfRows): Same.
3198         (AccessibilityUIElement::attributesOfVisibleCells): Same.
3199         (AccessibilityUIElement::attributesOfHeader): Same.
3200         (AccessibilityUIElement::indexInTable): Same.
3201         (AccessibilityUIElement::rowIndexRange): Same.
3202         (AccessibilityUIElement::columnIndexRange): Same.
3203         (AccessibilityUIElement::lineForIndex): Same.
3204         (AccessibilityUIElement::boundsForRange): Same.
3205         (AccessibilityUIElement::cellForColumnAndRow): Same.
3206         * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
3207         project.  Link to oleacc.lib, the MSAA library.
3208         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3209         (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
3210         controller.
3211         (FrameLoadDelegate::didClearWindowObject): Create a new window object
3212         for the accessibility controller.
3213         * DumpRenderTree/win/FrameLoadDelegate.h:
3214
3215 2008-08-21  Simon Fraser  <simon.fraser@apple.com>
3216
3217         Reviewed by Mark Rowe
3218
3219         Make build-launcher-app work when run from a git repository.
3220         https://bugs.webkit.org/show_bug.cgi?id=20478
3221
3222         * BuildSlaveSupport/build-launcher-app:
3223
3224 2008-08-20  Maxime Britto  <britto@apple.com>
3225
3226         Reviewed by Ada Chan.
3227
3228          rdar://5259746
3229         Mouse events are sent to page while resizing window (affects Gmail)
3230
3231         * DumpRenderTree/win/UIDelegate.h:
3232         (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
3233
3234 2008-08-19  Chris Fleizach  <cfleizach@apple.com>
3235
3236         Reviewed by Beth Dakin.
3237
3238         Add snowleopard platform in layout tests
3239
3240         Added support for accessing the attributes of
3241         accessibility tables through the accessibility controller
3242         in DumpRenderTree
3243
3244         * DumpRenderTree/AccessibilityUIElement.cpp:
3245         (attributesOfColumnHeadersCallback):
3246         (attributesOfRowHeadersCallback):
3247         (attributesOfColumnsCallback):
3248         (attributesOfRowsCallback):
3249         (attributesOfVisibleCellsCallback):
3250         (attributesOfHeaderCallback):
3251         (indexInTableCallback):
3252         (rowIndexRangeCallback):
3253         (columnIndexRangeCallback):
3254         (childAtIndexCallback):
3255         (cellForColumnAndRowCallback):
3256         (AccessibilityUIElement::getJSClass):
3257         * DumpRenderTree/AccessibilityUIElement.h:
3258         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3259         (convertNSArrayToVector):
3260         (descriptionOfElements):
3261         (AccessibilityUIElement::getLinkedUIElements):
3262         (AccessibilityUIElement::getChildren):
3263         (AccessibilityUIElement::attributesOfLinkedUIElements):
3264         (AccessibilityUIElement::attributesOfChildren):
3265         (AccessibilityUIElement::attributesOfColumnHeaders):
3266         (AccessibilityUIElement::attributesOfRowHeaders):
3267         (AccessibilityUIElement::attributesOfColumns):
3268         (AccessibilityUIElement::attributesOfRows):
3269         (AccessibilityUIElement::attributesOfVisibleCells):
3270         (AccessibilityUIElement::attributesOfHeader):
3271         (AccessibilityUIElement::indexInTable):
3272         (AccessibilityUIElement::rowIndexRange):
3273         (AccessibilityUIElement::columnIndexRange):
3274         (AccessibilityUIElement::cellForColumnAndRow):
3275         * Scripts/run-webkit-tests:
3276
3277 2008-08-19  Alexey Proskuryakov  <ap@webkit.org>
3278
3279         Reviewed by Darin Adler.
3280
3281         Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
3282         is waiting for crash reporter to let it exit.
3283
3284         The fix does not work on Tiger, because the state of the process is indistinguishable from
3285         other waiting processes, at least not with this technique.
3286
3287         * Scripts/run-webkit-tests:
3288
3289 2008-08-18  Alp Toker  <alp@nuanti.com>
3290
3291         Reviewed by Holger Freyther.
3292
3293         https://bugs.webkit.org/show_bug.cgi?id=20350
3294         [GTK] Get DumpRenderTree working
3295
3296         Fixes and enhancements to DumpRenderTree. With these changes, the test
3297         suite can now complete a run producing text and render tree dumps.
3298
3299         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3300         (dumpFramesAsText):
3301         (dump):
3302         (runTest):
3303         (webViewLoadFinished):
3304         (webViewWindowObjectCleared):
3305         (webViewConsoleMessage):
3306         (webViewScriptAlert):
3307         (webViewScriptPrompt):
3308         (webViewScriptConfirm):
3309         (webViewTitleChanged):
3310         (main):
3311         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3312         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3313         (LayoutTestController::clearBackForwardList):
3314         (LayoutTestController::pathToLocalResource):
3315         (LayoutTestController::setAcceptsEditing):
3316         (LayoutTestController::setUserStyleSheetEnabled):
3317         (LayoutTestController::setUserStyleSheetLocation):
3318         (waitToDumpWatchdogFired):
3319         (LayoutTestController::windowCount):
3320         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
3321         (JSStringCopyUTF8CString):
3322         (ScriptItem::invoke):
3323
3324 2008-08-17  Geoffrey Garen  <ggaren@apple.com>
3325
3326         Reviewed by Cameron Zwarich.
3327
3328         Updated project files to XCode 3.1.
3329
3330         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3331         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3332
3333 2008-08-15  Mark Rowe  <mrowe@apple.com>
3334
3335         Rubber-stamped by Geoff Garen.
3336
3337         <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
3338
3339         * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
3340
3341 2008-08-13  Simon Hausmann  <hausmann@webkit.org>
3342
3343         Rubber-stamped by Holger.
3344
3345         Revert r31585 and disable http tests for the Qt build again unless
3346         explicitly enabled.
3347
3348         Running the http tests unfortunately currently still triggers
3349         failures in non-http tests due to side-effects. Disable them by default for
3350         now, for more reliable results.
3351
3352         * Scripts/run-webkit-tests:
3353
3354 2008-08-10  Jan Michael Alonzo  <jmalonzo@webkit.org>
3355
3356         Reviewed (and updated) by Alp Toker.
3357
3358         https://bugs.webkit.org/show_bug.cgi?id=16620
3359         [GTK] Autotools make dist and make check support
3360
3361         Get make dist working.
3362
3363         Note that not all possible configurations have been tested yet.
3364
3365         * GNUmakefile.am:
3366
3367 2008-08-10  Alp Toker  <alp@nuanti.com>
3368
3369         Remove leftover qmake/GTK+ build files.
3370
3371         * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
3372         * GtkLauncher/GtkLauncher.pro: Removed.
3373
3374 2008-08-06  Chris Fleizach  <cfleizach@apple.com>
3375
3376         Reviewed by Beth Dakin
3377
3378         AX functions shouldn't return position information because it changes
3379         based on the platform
3380
3381         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3382         (AccessibilityUIElement::boundsForRange):
3383
3384 2008-08-06  Eric Seidel  <eric@webkit.org>
3385
3386         Reviewed by darin.
3387
3388         Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
3389         <https://bugs.webkit.org/show_bug.cgi?id=20297>
3390         <rdar://problem/6093153>
3391
3392         I've made AccessibilityUIElement a stack object for now.  It could be
3393         made RefCounted, but I figured that might be overkill for the moment.
3394         Essentially it's just a RefPtr itself. :)
3395
3396         I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
3397         which was causing additional leaks. :)
3398
3399         I added toAXElement to remove a bunch of copy/paste code.
3400
3401         * DumpRenderTree/AccessibilityController.h:
3402         * DumpRenderTree/AccessibilityUIElement.cpp:
3403         (toAXElement):
3404         (allAttributesCallback):
3405         (attributesOfLinkedUIElementsCallback):
3406         (attributesOfChildrenCallback):
3407         (lineForIndexCallback):
3408         (boundsForRangeCallback):
3409         (childAtIndexCallback):
3410         (getRoleCallback):
3411         (getTitleCallback):
3412         (getDescriptionCallback):
3413         (getWidthCallback):
3414         (getHeightCallback):
3415         (getIntValueCallback):
3416         (getMinValueCallback):
3417         (getMaxValueCallback):
3418         (getInsertionPointLineNumberCallback):
3419         (finalize):
3420         * DumpRenderTree/AccessibilityUIElement.h:
3421         (AccessibilityUIElement::platformUIElement):
3422         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3423         (AccessibilityController::focusedElement):
3424         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3425         (AccessibilityUIElement::AccessibilityUIElement):
3426         (AccessibilityUIElement::getLinkedUIElements):
3427         (AccessibilityUIElement::getChildren):
3428         (AccessibilityUIElement::getChildAtIndex):
3429         (AccessibilityUIElement::attributesOfLinkedUIElements):
3430         (AccessibilityUIElement::attributesOfChildren):
3431
3432 2008-08-06  Eric Seidel  <eric@webkit.org>
3433
3434         Reviewed by Cameron Zwarich.
3435
3436         Speculative fix for an error I keep seeing in my Cygwin build
3437
3438         * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
3439
3440 2008-08-02  Kevin Ollivier  <kevino@theolliviers.com>
3441
3442         Forgot to commit licensing correction in last commit.
3443
3444         * wx/packaging/wxWebKitInstaller.iss.in:
3445
3446 2008-08-02  Kevin Ollivier  <kevino@theolliviers.com>
3447
3448         Reviewed by Eric Seidel.
3449
3450         Scripts for building a wxWebKit installer for wxPython on Win, eventually will
3451         be used for nightlies.
3452
3453         https://bugs.webkit.org/show_bug.cgi?id=20036
3454
3455         * wx/packaging: Added.
3456         * wx/packaging/build-win-installer.py: Added.
3457         * wx/packaging/wxWebKitInstaller.iss.in: Added.
3458
3459 2008-07-31  Adam Roben  <aroben@apple.com>
3460
3461         Follow-up to r35500
3462
3463         * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
3464         Release configuration, too.
3465
3466 2008-07-31  Stefan Landvogt <stefan.landvogt@gmail.com>
3467
3468         Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
3469         the box
3470
3471         <https://bugs.webkit.org/show_bug.cgi?id=20245>
3472
3473         Reviewed by Adam Roben.
3474
3475         * WinLauncher/WinLauncher.vcproj: adding the following properties to
3476         WinLauncher > Properties > Manifest Tool > Isolated COM
3477         Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
3478         Component File Name: WebKit$(WebKitDLLConfigSuffix)
3479         Doing the change on "All Configurations"
3480
3481 2008-07-31  Adam Roben  <aroben@apple.com>
3482
3483         Windows build bot fix
3484
3485         * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
3486         exist for people at Apple can't be found. Also updated the ICU version
3487         to 3.8.
3488
3489 2008-07-31  David Kilzer  <ddkilzer@apple.com>
3490
3491         Fix layout test results for webarchive/test-xml-stylesheet.xml
3492
3493         Reviewed by Darin Adler.
3494
3495         * DumpRenderTree/mac/DumpRenderTree.mm:
3496         (convertMIMEType): Work around the "text/xml" local file type
3497         regression in Leopard using the BUILDING_ON_LEOPARD macro.  Also
3498         stop mangling "application/x-javascript" into "text/javascript".
3499         (convertWebResourceDataToString): When checking whether to dump a
3500         resource as text, also check to see if the MIME type is in the
3501         -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
3502         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
3503         macro.
3504
3505 2008-07-31  Chris Fleizach  <cfleizach@apple.com>
3506
3507         Reviewed by Alice Liu
3508
3509         Add AX support to get the bounds for a range of text
3510         Add AX support to get the child of an element
3511         Add AX support to get all the parameterized attribute names of an element
3512
3513         * DumpRenderTree/AccessibilityUIElement.cpp:
3514         (parameterizedAttributeNamesCallback):
3515         (boundsForRangeCallback):
3516         (childAtIndexCallback):
3517         (AccessibilityUIElement::getJSClass):
3518         * DumpRenderTree/AccessibilityUIElement.h:
3519         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3520         (AccessibilityUIElement::getChildAtIndex):
3521         (AccessibilityUIElement::parameterizedAttributeNames):
3522         (AccessibilityUIElement::boundsForRange):
3523
3524 2008-07-31  Erik Bunce  <elbunce@thehive.com>
3525
3526         Reviewed by Simon.
3527
3528         Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
3529
3530         * Scripts/run-launcher:
3531
3532 2008-07-30  Jessica Kahn  <jess@apple.com>
3533
3534         Reviewed by Adam Roben.
3535
3536         Slightly stricter checking for previous change, suggested by Adam.
3537
3538         * Scripts/extract-localizable-strings:
3539
3540 2008-07-30  Jessica Kahn  <jess@apple.com>
3541
3542         Reviewed by Darin Adler.
3543
3544         Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
3545
3546         * Scripts/extract-localizable-strings:
3547
3548 2008-07-30  Anders Carlsson  <andersca@apple.com>
3549
3550         Reviewed by Adam.
3551
3552         Copy icu38* files instead of icu36* files.
3553
3554         * DumpRenderTree/win/DumpRenderTree.vcproj:
3555
3556 2008-07-25  Jan Michael Alonzo  <jmalonzo@webkit.org>
3557
3558         DRT/Gtk build fix for r35362
3559
3560         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3561         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
3562
3563 2008-07-25  Brady Eidson  <beidson@apple.com>
3564
3565         Reviewed by Sam
3566
3567         Add the ability to dump whether-or-not an element should have autocomplete enabled,
3568         from the perspective of the WebKit API
3569
3570         * DumpRenderTree/LayoutTestController.cpp:
3571         (elementDoesAutoCompleteForElementWithIdCallback):
3572         (LayoutTestController::staticFunctions):
3573
3574         * DumpRenderTree/LayoutTestController.h:
3575         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3576         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
3577         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3578         (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
3579
3580 2008-07-25  Chris Fleizach  <cfleizach@apple.com>
3581
3582         Reviewed by Beth Dakin
3583
3584         Add support for AXLineForIndex and AXInsertionPointIndex through the
3585         accessibility controller
3586
3587         * DumpRenderTree/AccessibilityUIElement.cpp:
3588         (lineForIndexCallback):
3589         (getInsertionPointLineNumberCallback):
3590         (AccessibilityUIElement::getJSClass):
3591         * DumpRenderTree/AccessibilityUIElement.h:
3592         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3593         (AccessibilityUIElement::insertionPointLineNumber):
3594         (AccessibilityUIElement::lineForIndex):
3595
3596 2008-07-25  Adam Roben  <aroben@apple.com>
3597
3598         Try to fix the Windows build bot
3599
3600         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
3601         that don't exist for people outside of Apple.
3602
3603 2008-07-18  Landry Breuil  <landry@openbsd.org>
3604
3605         Bug 19975: [OpenBSD] Patches to enable build of WebKit
3606
3607         <https://bugs.webkit.org/show_bug.cgi?id=19975>
3608
3609         Reviewed by David Kilzer.
3610
3611         * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
3612
3613 2008-07-16  Jon Honeycutt  <jhoneycutt@apple.com>
3614
3615         CygwinDownloader fails to install necessary packages
3616         https://bugs.webkit.org/show_bug.cgi?id=20075
3617
3618         Reviewed by Mark Rowe.
3619
3620         * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
3621         mirrors removed in r34116. Set MIME type to application/octet-stream.
3622
3623 2008-07-16  Jon Honeycutt  <jhoneycutt@apple.com>
3624
3625         CygwinDownloader's make-zip.sh script fails
3626         https://bugs.webkit.org/show_bug.cgi?id=20074
3627
3628         Reviewed by Mark Rowe.
3629
3630         * CygwinDownloader/cygwin-downloader.py:
3631
3632 2008-07-15  Sam Weinig  <sam@webkit.org>
3633
3634         Reviewed by Anders Carlsson.
3635
3636         Refactor accessibility testing code.
3637
3638         We now have:
3639         - AccessibilityController
3640           Controller which has access to the WebView and can provide the focused element, root element
3641           and in the future, elementAtPoint.
3642
3643         - AccessibilityUIElement
3644           Object which provides access to the data provided by the Accessibility APIs.
3645
3646         * DumpRenderTree/AccessibilityController.cpp:
3647         (getFocusedElementCallback):
3648         (getRootElementCallback):
3649         (AccessibilityController::getJSClass):
3650         * DumpRenderTree/AccessibilityController.h:
3651         * DumpRenderTree/AccessibilityUIElement.cpp: Added.
3652         (allAttributesCallback):
3653         (attributesOfLinkedUIElementsCallback):
3654         (attributesOfChildrenCallback):
3655         (getRoleCallback):
3656         (getTitleCallback):
3657         (getDescriptionCallback):
3658         (getWidthCallback):
3659         (getHeightCallback):
3660         (getIntValueCallback):
3661         (getMinValueCallback):
3662         (getMaxValueCallback):
3663         (finalize):
3664         (AccessibilityUIElement::makeJSAccessibilityUIElement):
3665         (Access