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