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