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