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