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