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