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