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