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