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