1 2008-12-12 Darin Adler <darin@apple.com>
3 * Scripts/do-webcore-rename: Add a renaming idea.
5 2008-12-12 Holger Hans Peter Freyther <zecke@selfish.org>
7 Reviewed by Simon Hausmann.
9 Update the WebKit.qrc and add a script to automatically generate the file.
11 With the way rcc and qmake work this can not be done at build time
12 as the WebKit.qrc must sit inside the directory that contains the files
13 and at build time we may not change the content of the source directory.
15 * Scripts/generate-qt-inspector-resource: Added.
17 2008-12-11 Cameron Zwarich <zwarich@apple.com>
19 Rubber-stamped by Mark Rowe.
21 Roll out r39212 due to assertion failures during layout tests, multiple
22 layout test failures, memory leaks, and obvious incorrectness.
24 * DumpRenderTree/LayoutTestController.cpp:
25 (LayoutTestController::staticFunctions):
26 * DumpRenderTree/LayoutTestController.h:
27 * DumpRenderTree/mac/DumpRenderTree.mm:
28 (resetWebViewToConsistentStateBeforeTesting):
29 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
30 * DumpRenderTree/win/DumpRenderTree.cpp:
31 (resetWebViewToConsistentStateBeforeTesting):
32 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
33 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
35 2008-12-10 Glenn Wilson <gwilson@google.com>
37 Reviewed by Adam Roben.
39 Changed LayoutTestController and DumpRenderTree to allow for manual
40 overriding of default preferences at test time. Also added support for
41 resetting the preferences after each test.
42 https://bugs.webkit.org/show_bug.cgi?id=20534
44 * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
45 * DumpRenderTree/LayoutTestController.h: Added signature for callback
46 * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
47 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
48 * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
49 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
51 2008-12-10 Brady Eidson <beidson@apple.com>
53 Reviewed by Darin Adler.
55 Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
57 * DumpRenderTree/win/DumpRenderTree.cpp:
58 * DumpRenderTree/win/DumpRenderTreeWin.h:
60 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
61 (LayoutTestController::setCustomPolicyDelegate):
63 * DumpRenderTree/win/PolicyDelegate.cpp:
64 (PolicyDelegate::PolicyDelegate):
65 (PolicyDelegate::decidePolicyForNavigationAction):
66 * DumpRenderTree/win/PolicyDelegate.h:
67 (PolicyDelegate::setPermissive):
69 2008-12-10 Brady Eidson <beidson@apple.com>
73 Change the custom policy delegate to actually allow navigation for tests that need it.
74 The new behavior is opt-in and doesn't require any changes in old tests.
76 * DumpRenderTree/LayoutTestController.cpp:
77 (setCustomPolicyDelegateCallback): Allow for a second boolean argument to set the permissive flag on the custom
78 policy delegate, which will be false by default to maintain original behavior.
79 * DumpRenderTree/LayoutTestController.h:
80 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
81 (LayoutTestController::setCustomPolicyDelegate):
83 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
84 (LayoutTestController::setCustomPolicyDelegate): Partially stubbed out for now.
85 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
86 (LayoutTestController::setCustomPolicyDelegate): Still stubbed out, but with new param.
88 * DumpRenderTree/mac/PolicyDelegate.h:
89 * DumpRenderTree/mac/PolicyDelegate.mm:
90 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): If the permissive flag
91 is set, allow the navigation.
92 (-[PolicyDelegate setPermissive:]): Change the behavior between "use" and "ignore" - allowing navigation or not.
94 2008-12-09 Mark Rowe <mrowe@apple.com>
96 Rubber-stamped by Ada Chan.
98 Fix gdb-safari on Tiger.
100 gdb on Tiger does not take the -arch flag, so do not pass it.
102 * Scripts/gdb-safari:
104 2008-12-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
106 Reviewed by Alexey Proskuryakov.
108 Ignore WML tests, if no WML support available.
110 * Scripts/run-webkit-tests:
112 2008-12-08 Geoffrey Garen <ggaren@apple.com>
114 Reviewed by Oliver Hunt.
116 Added a shortcut for --jsDriver-args, which I use a lot.
118 * Scripts/run-javascriptcore-tests:
120 2008-12-08 Stephanie Lewis <slewis@apple.com>
124 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
126 2008-12-08 Darin Adler <darin@apple.com>
128 Reviewed by John Sullivan.
130 - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
131 REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
133 * DumpRenderTree/LayoutTestController.cpp:
134 (isCommandEnabledCallback): Added.
135 (LayoutTestController::staticFunctions): Added "isCommandEnabled".
136 * DumpRenderTree/LayoutTestController.h: Ditto.
137 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
138 (LayoutTestController::isCommandEnabled): Ditto.
139 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
140 (-[CommandValidationTarget initWithAction:]): Added. Used to get the
141 command validation system to tell us if a comment is enabled.
142 (-[CommandValidationTarget action]): Ditto.
143 (-[CommandValidationTarget tag]): Ditto.
144 (LayoutTestController::isCommandEnabled): Ditto.
145 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
146 (LayoutTestController::isCommandEnabled): Ditto.
148 2008-12-08 David Kilzer <ddkilzer@apple.com>
150 Bug 22555: Sort "children" sections in Xcode project files
152 <https://bugs.webkit.org/show_bug.cgi?id=22555>
154 Reviewed by Eric Seidel.
156 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
157 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
158 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
160 2008-12-08 David Kilzer <ddkilzer@apple.com>
162 Bug 22555: Sort "children" sections in Xcode project files
164 <https://bugs.webkit.org/show_bug.cgi?id=22555>
166 Reviewed by Timothy Hatcher.
168 * Scripts/sort-Xcode-project-file: By popular request, don't sort
169 the mainGroup in the project (the list of items below the top-level
172 2008-12-05 David Kilzer <ddkilzer@apple.com>
174 Bug 22555: Sort "children" sections in Xcode project files
176 <https://bugs.webkit.org/show_bug.cgi?id=22555>
178 Reviewed by Darin Adler.
180 Sort "children" sections alphabetically, moving groups (folders) to
181 the top of each of the lists. Files are assumed to have extensions,
182 so %isFile is used to override this behavior.
184 * Scripts/sort-Xcode-project-file:
185 (sortChildrenByFileName): Added.
186 (sortFilesByFileName): Renamed from sortByFileName().
188 2008-12-05 Eric Seidel <eric@webkit.org>
190 Reviewed by Geoff Garen.
192 https://bugs.webkit.org/show_bug.cgi?id=22683
193 Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
194 Add a new argumentsForConfiguration() function and clean up some old code to use it.
195 Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
197 * Scripts/run-javascriptcore-tests:
198 * Scripts/run-launcher:
199 * Scripts/run-webkit-tests:
200 * Scripts/webkitdirs.pm:
202 2008-12-03 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
204 Reviewed by Cameron Zwarich.
206 Further preparations for WML layout tests.
207 Ignore WMLTestCase.js, that's going to be in trunk soon.
209 * Scripts/make-js-test-wrappers:
211 2008-12-03 Eric Seidel <eric@webkit.org>
213 Build fix for --gtk and --chromium, no review.
215 Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
216 through to build-jsc.
219 * Scripts/webkitdirs.pm:
221 2008-12-03 Eric Seidel <eric@webkit.org>
223 Build fix only, no review.
225 Remove support for build-webkit --svg-experimental.
226 All of the "experimental" svg features have their own toggles anyway.
227 I broke --svg-experimental in my last commit (which then broke clean builds)
228 I can't find any use of --svg-experimental in our source tree, so removing it.
230 * Scripts/build-webkit:
232 2008-12-02 Eric Seidel <eric@webkit.org>
234 Reviewed by David Hyatt (and Mark Rowe).
236 Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
237 Move --coverage support out of run-javascriptcore-tests and into build-jsc
239 Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
240 there from build-webkit (to allow future sharing with other build-* scripts)
242 Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
243 picking through ARGV with a blacklist of what arguments weren't jsDriver args
244 this makes run-javascriptcore-tests transparently support all arguments which
245 webkitdirs.pm gives it support for.
247 Make run-javascriptcore-tests actually print what commands it's running before running them.
249 Add --help support to build-jsc and run-javascriptcore-tests!
251 Make code to support --svg-experimental defaults take up half as many lines.
254 * Scripts/build-webkit:
255 * Scripts/run-javascriptcore-tests:
256 * Scripts/webkitdirs.pm:
258 2008-12-03 Adam Roben <aroben@apple.com>
260 Fix a leak in WinLauncher shutdown
262 Reviewed by Sam Weinig.
264 * WinLauncher/WinLauncher.cpp:
265 (_tWinMain): Replaced a delete with a Release. We can't delete the
266 WebView properly since we only have a pointer to one of its
267 interfaces. We also shouldn't be deleting COM objects directly anyway,
268 for a number of reasons.
270 2008-12-03 Adam Roben <aroben@apple.com>
272 Fix a crash on exit in WinLauncher
274 Reviewed by Sam Weinig.
276 * WinLauncher/WinLauncher.cpp:
277 (_tWinMain): Call shutDownWebKit before exiting.
279 2008-12-03 Adam Roben <aroben@apple.com>
281 Add a Debug_Internal configuration to WinLauncher
283 This matches our other projects.
285 Reviewed by Sam Weinig.
287 * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
288 configuration, which is identical to Debug except that it also
289 references debug_internal.vsprops. Also removed some settings that we
290 should be picking up from the .vsprops files.
292 2008-12-02 Eric Seidel <eric@webkit.org>
294 Reviewed by David Kilzer.
296 Hack build-webkit --chromium to use Win32 python instead
297 of using the default cygwin python. Scons + CYGWIN tries
298 to build with GCC by default, we force MSVC in our file
299 but that just results in errors from Scons. Until we can fix
300 this latest round of errors, at least make build-webkit --chromium
301 actually "work" under CYGWIN instead of forcing users to use
302 a cmd shell directly.
304 This is working around a Scons bug:
305 http://scons.tigris.org/issues/show_bug.cgi?id=2266
307 * Scripts/webkitdirs.pm:
309 2008-12-01 David Kilzer <ddkilzer@apple.com>
311 Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
313 <https://bugs.webkit.org/show_bug.cgi?id=22466>
314 <rdar://problem/6403593>
316 Reviewed by Brady Eidson.
318 * DumpRenderTree/mac/DumpRenderTree.mm:
319 (normalizeHTTPResponseHeaderFields): Added. Normalizes Date, Etag,
320 Keep-Alive, Last-Modified and Server header fields to prevent false
321 positive test failures.
322 (convertWebResourceResponseToDictionary): Call
323 normalizeHTTPResponseHeaderFields() to noramlize HTTP response
326 2008-12-01 David D. Kilzer <ddkilzer@webkit.org>
328 Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
330 <https://bugs.webkit.org/show_bug.cgi?id=22559>
332 Reviewed by Adam Roben.
334 * Scripts/bisect-builds: Updated status message to report the
335 maximum number of builds left to test after the current one.
338 2008-11-27 Alp Toker <alp@nuanti.com>
340 Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
341 API header breakage at build time.
345 2008-11-26 Eric Seidel <eric@webkit.org>
347 Reviewed by Nikolas Zimmermann and Mark Rowe.
349 Add support for build-webkit --chromium
350 https://bugs.webkit.org/show_bug.cgi?id=22515
351 More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
353 * Scripts/build-dumprendertree:
355 * Scripts/build-webkit:
356 * Scripts/gdb-safari:
357 * Scripts/run-webkit-tests:
358 * Scripts/webkitdirs.pm:
360 2008-11-26 Eric Seidel <eric@webkit.org>
362 Reviewed by Nikolas Zimmermann.
364 Add support for build-webkit --chromium (tested on mac)
365 https://bugs.webkit.org/show_bug.cgi?id=22515
366 Also simplified some code using checkArgv
368 * Scripts/build-webkit:
369 * Scripts/webkitdirs.pm:
371 2008-11-26 Eric Seidel <eric@webkit.org>
373 Reviewed by Nikolas Zimmermann.
375 More pre-work for adding a build-webkit --chromium which works on Mac and Windows
376 https://bugs.webkit.org/show_bug.cgi?id=22515
377 Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
378 in preparation for having a chromium cygwin and chromium mac build
380 * Scripts/build-webkit:
381 * Scripts/webkitdirs.pm:
383 2008-11-26 Eric Seidel <eric@webkit.org>
385 Reviewed by Nikolas Zimmermann.
387 Pre-work for getting build-webkit --chromium to work
388 https://bugs.webkit.org/show_bug.cgi?id=22515
389 Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
391 * Scripts/build-dumprendertree:
393 * Scripts/build-webkit:
394 * Scripts/gdb-safari:
395 * Scripts/run-javascriptcore-tests:
396 * Scripts/run-webkit-tests:
397 * Scripts/webkitdirs.pm:
399 2008-11-26 David Kilzer <ddkilzer@apple.com>
401 Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
403 <https://bugs.webkit.org/show_bug.cgi?id=22488>
405 Reviewed by Brady Eidson.
407 * DumpRenderTree/mac/DumpRenderTree.mm:
408 (convertWebResourceDataToString): If an IANA charset encoding string
409 is provided, convert it to a CFStringEncoding value and then to an
410 NSStringEncoding value, else fall back to NSUTF8StringEncoding. We
411 also nil-check dataAsString, so the worst-case scenario is that the
412 data won't be decoded to a string (versus crashing DumpRenderTree).
414 2008-11-26 Jan Michael Alonzo <jmalonzo@webkit.org>
416 Reviewed by Holger Freyther.
418 [Gtk] add/remove tests from Skipped and fix netscape plugin test
419 https://bugs.webkit.org/show_bug.cgi?id=22484
421 Remove print'ing to stderr
423 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
427 2008-11-25 Steve Falkenburg <sfalken@apple.com>
431 * DumpRenderTree/cg/PixelDumpSupportCG.h:
433 2008-11-25 Steve Falkenburg <sfalken@apple.com>
437 * DumpRenderTree/cg/ImageDiffCG.cpp:
439 2008-11-24 Darin Fisher <darin@chromium.org>
443 https://bugs.webkit.org/show_bug.cgi?id=15643
445 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
446 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
448 2008-11-24 Glenn Wilson <gwilson@chromium.org>
450 Reviewed by Alexey Proskuryakov.
452 http://bugs.webkit.org/show_bug.cgi?id=15643
454 Added support for changing the "trailing whitespace" work-around
455 in LayoutTestController (so layout tests can verify this functionality)
457 * DumpRenderTree/LayoutTestController.cpp:
458 (setSelectTrailingWhitespaceEnabledCallback):
459 (LayoutTestController::staticFunctions):
460 * DumpRenderTree/LayoutTestController.h:
461 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
462 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
463 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
464 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
466 2008-11-24 Simon Fraser <simon.fraser@apple.com>
468 Reviewed by Darin Adler
470 https://bugs.webkit.org/show_bug.cgi?id=22433
472 Add script that attempts to detect virtual methods
473 whose signatures differ only by constness (which can
474 indicate a programming error).
476 * Scripts/detect-mismatched-virtual-const: Added.
478 2008-11-24 Zan Dobersek <zandobersek@gmail.com>
480 Reviewed by Holger Freyther.
482 https://bugs.webkit.org/show_bug.cgi?id=22039
484 [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
487 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
488 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
489 * DumpRenderTree/gtk/DumpRenderTree.cpp:
490 (setDefaultsToConsistentStateValuesForTesting):
491 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
492 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
493 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
496 2008-11-24 Holger Hans Peter Freyther <zecke@selfish.org>
498 Reviewed by Mark Rowe.
500 [Gtk+] Add configure option to enable Web Workers and enable it by default
502 Add --enable-workers to the buildsystem (used by build-webkit) add
503 the to be build files to the GNUmakefile.am and change build-webkit
504 to enable Web Workers by default.
506 * Scripts/build-webkit:
508 2008-11-24 Mark Rowe <mrowe@apple.com>
510 Reviewed by Alexey Proskuryakov.
512 Let gdb-safari accept the --debug and --release options once more.
514 * Scripts/gdb-safari:
516 2008-11-23 Zan Dobersek <zandobersek@gmail.com>
518 Reviewed by Holger Freyther. Landed by Jan Alonzo.
520 Get SVG tests tested on GTK port.
522 * Scripts/webkitdirs.pm:
524 2008-11-19 Greg Bolsinga <bolsinga@apple.com>
526 Reviewed by Darin Adler.
528 https://bugs.webkit.org/show_bug.cgi?id=21810
529 Remove use of static C++ objects that are destroyed at exit time (destructors)
531 All static C++ objects that create atexit calls are gone. Update script
532 to indicate how to fix the problem should a new one appear.
534 * Scripts/check-for-exit-time-destructors:
536 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
538 Reviewed by Darin Adler.
540 https://bugs.webkit.org/show_bug.cgi?id=22337
541 Enable workers by default
543 * Scripts/build-webkit: Changed the default to enabled.
545 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
547 Rubber-stamped by Darin Adler.
549 https://bugs.webkit.org/show_bug.cgi?id=22306
550 Disable channel messaging support
552 * Scripts/build-webkit: Add an option to enable channel messaging.
554 2008-11-17 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
556 Reviewed by George Staikos.
558 Add --(no-)wml build flags.
560 * Scripts/build-webkit:
561 * Scripts/run-webkit-tests:
562 * Scripts/webkitdirs.pm:
564 2008-11-17 Geoffrey Garen <ggaren@apple.com>
568 Try to fix gtk build.
570 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
571 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
572 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
574 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
578 Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
581 https://bugs.webkit.org/show_bug.cgi?id=22271
583 * Scripts/run-webkit-tests:
585 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
587 Reviewed by Sam Weinig.
589 Added new JavaScript API on LayoutController to pause a running
590 CSS transition or animation at a given time.
592 https://bugs.webkit.org/show_bug.cgi?id=21261
594 * DumpRenderTree/LayoutTestController.cpp:
595 (pauseAnimationAtTimeOnElementWithIdCallback):
596 (pauseTransitionAtTimeOnElementWithIdCallback):
597 (LayoutTestController::staticFunctions):
598 * DumpRenderTree/LayoutTestController.h:
599 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
600 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
601 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
602 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
603 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
604 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
606 2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
608 Reviewed by Darin Adler.
610 <https://bugs.webkit.org/show_bug.cgi?id=22309>
611 Pass the remaining options to build system on Qt-port
613 * Scripts/build-webkit:
614 * Scripts/webkitdirs.pm:
616 2008-11-16 Greg Bolsinga <bolsinga@apple.com>
618 Reviewed by Darin Adler.
620 https://bugs.webkit.org/show_bug.cgi?id=21810
621 Remove use of static C++ objects that are destroyed at exit time (destructors)
623 Remove .o files from the exclude list that have had their exit-time destructors removed.
624 Handle case when there is no current symbol.
626 * Scripts/check-for-exit-time-destructors:
628 2008-11-16 Sam Weinig <sam@webkit.org>
630 * Scripts/do-webcore-rename: Remove now fixed renames.
632 2008-11-16 Darin Adler <darin@apple.com>
634 * Scripts/do-webcore-rename: Plan some future renames.
636 2008-11-15 Darin Adler <darin@apple.com>
638 Rubber stamped by Geoff Garen.
640 - do the long-planned StructureID -> Structure rename
642 * Scripts/check-for-global-initializers: Update name of StructureID.o.
643 * Scripts/do-webcore-rename: Renaming script that I used.
645 2008-11-15 Greg Bolsinga <bolsinga@apple.com>
647 Reviewed by Darin Adler.
649 https://bugs.webkit.org/show_bug.cgi?id=21810
650 Remove use of static C++ objects that are destroyed at exit time (destructors)
652 Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
653 exit-time destructor. Update code that was changed to fix this issue that ran
654 into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
655 in gcc build 5465). Also typdefs for template types needed to be added in some
656 cases so the type could make it through the macro successfully.
658 Basically code of the form:
661 DEFINE_STATIC_LOCAL(T, m, ());
663 Also any code of the form:
664 static T& m = *new T;
666 DEFINE_STATIC_LOCAL(T, m, ());
668 Remove .o files from the exclude list that have had their exit-time destructors removed.
670 * Scripts/check-for-exit-time-destructors:
672 2008-11-14 Kevin Ollivier <kevino@theolliviers.com>
674 wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
676 * wx/install-unix-extras:
678 2008-11-14 Alp Toker <alp@nuanti.com>
680 GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
682 Fixes Debian bug #505723
683 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
685 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
687 2008-11-14 Krishna <krishnamurty.podipireddy@nokia.com>
689 Reviewed by Simon Hausmann.
691 Fix hanging DRT with Qt.
693 https://bugs.webkit.org/show_bug.cgi?id=22209
695 * DumpRenderTree/qt/DumpRenderTree.cpp:
696 (WebCore::DumpRenderTree::dump):
697 Send empty pixel test data 'block', which is now
698 expected by run-layout-tests.
700 2008-11-12 Dmitry Titov <dimich@chromium.org>
702 Reviewed by Alexey Proskuryakov.
704 https://bugs.webkit.org/show_bug.cgi?id=22216
706 * Scripts/build-webkit:
707 Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
709 2008-11-06 David Kilzer <ddkilzer@apple.com>
711 BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
713 Apparently older versions of gcc have issues with this patch.
714 Backing out a second time until the issues are resolved.
716 2008-11-06 David Kilzer <ddkilzer@apple.com>
718 BUILD WAS NOT BROKEN: Rolling r38189 back in.
720 Please perform a clean build if you see crashes.
722 2008-11-06 David Kilzer <ddkilzer@apple.com>
724 BUILD FIX: Backed out r38189 since it apparently broke the world.
726 2008-11-06 Chris Fleizach <cfleizach@apple.com>
728 Reviewed by Beth Dakin.
730 Add ability to query an attribute's settable status and the
731 ability to retrieve a single attribute from an AXObject
733 * DumpRenderTree/AccessibilityUIElement.cpp:
734 (isAttributeSettableCallback):
735 (attributeValueCallback):
736 (AccessibilityUIElement::getJSClass):
737 * DumpRenderTree/AccessibilityUIElement.h:
738 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
739 (+[NSString stringWithJSStringRef:]):
740 (AccessibilityUIElement::attributeValue):
741 (AccessibilityUIElement::isAttributeSettable):
742 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
743 (AccessibilityUIElement::attributeValue):
744 (AccessibilityUIElement::isAttributeSettable):
746 2008-11-06 Greg Bolsinga <bolsinga@apple.com>
748 Reviewed by Darin Adler.
750 Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
751 https://bugs.webkit.org/show_bug.cgi?id=21810
753 Remove .o files from the exclude list that have had their exit-time destructors removed.
755 * Scripts/check-for-exit-time-destructors:
757 2008-11-05 Alp Toker <alp@nuanti.com>
759 GTK build script tweak.
761 Make the path relative since it will appear in all -I compiler flags.
762 Long argument lists cause bizarre slowdowns in libtool and result
765 * Scripts/webkitdirs.pm:
767 2008-11-05 Anders Carlsson <andersca@apple.com>
771 * DumpRenderTree/mac/DumpRenderTree.mm:
772 (setDefaultsToConsistentValuesForTesting):
774 2008-11-04 Simon Fraser <simon.fraser@apple.com>
776 Add AccessibilityObject.o to the exclude list for the
777 check for global destructors.
779 * Scripts/check-for-exit-time-destructors:
781 2008-11-04 Darin Adler <darin@apple.com>
783 * Scripts/check-for-exit-time-destructors: Fix failures seen on the
784 bot, but for some reason not on my computer.
786 2008-11-03 Darin Adler <darin@apple.com>
788 Reviewed by Tim Hatcher.
790 - https://bugs.webkit.org/show_bug.cgi?id=22061
791 create script to check for exit-time destructors
793 * Scripts/check-for-exit-time-destructors: Added.
794 Started as a copy of check-for-global-initializers.
796 * Scripts/check-for-global-initializers: Added code to make
797 this script rerun any time it's modified, and also to properly
798 run again after the first time it reports an error.
800 2008-11-03 Pierre-Olivier Latour <pol@apple.com>
802 Reviewed by Dan Bernstein.
804 Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
806 https://bugs.webkit.org/show_bug.cgi?id=22054
808 * DumpRenderTree/mac/DumpRenderTree.mm:
809 (setDefaultsToConsistentValuesForTesting):
811 2008-10-31 Cameron Zwarich <zwarich@apple.com>
815 * Scripts/do-webcore-rename:
817 Add some renames to contemplate for the future.
819 2008-10-31 Darin Adler <darin@apple.com>
821 Requested by Mark Rowe.
823 * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
825 2008-10-31 David Kilzer <ddkilzer@apple.com>
827 Bug 21997: prepare-ChangeLog should filter out ChangeLog files
829 <https://bugs.webkit.org/show_bug.cgi?id=21997>
831 Reviewed by Darin Adler.
833 * Scripts/prepare-ChangeLog:
834 (generateFileList): Don't add ChangeLog files to %{$functionLists}.
835 This prevents them from showing up in the new ChangeLog entry. They
836 were already excluded from @{$changedFiles}.
838 2008-10-30 Mark Rowe <mrowe@apple.com>
840 Reviewed by Jon Homeycutt.
842 Explicitly default to building for only the native architecture in debug and release builds.
844 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
846 2008-10-30 Pierre-Olivier Latour <pol@apple.com>
848 Reviewed by Dan Bernstein.
850 Fixed 64 bit build failure.
852 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
853 (setupMainDisplayColorProfile):
854 (createBitmapContextFromWebView):
856 2008-10-28 Alp Toker <alp@nuanti.com>
858 Fix GTK DRT following build breakage in r37928.
860 * DumpRenderTree/gtk/DumpRenderTree.cpp:
865 2008-10-28 Alp Toker <alp@nuanti.com>
867 Reviewed by Mark Rowe.
869 Fix recently introduced double-free crashes in GTK DRT.
871 LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
872 were updated to call ->deref() but GTK DRT was still deleting
873 gLayoutTestController manually. This patch updates GTK to match the
874 other ports and resolves the memory allocation issues.
876 * DumpRenderTree/gtk/DumpRenderTree.cpp:
879 2008-10-28 Alp Toker <alp@nuanti.com>
881 Reviewed by Mark Rowe.
883 Fix GTK DRT hang when running the tests.
885 Update output from the DRT tool to print an additional '#EOF' to match
886 breaking changes that were made in r37434.
888 * DumpRenderTree/gtk/DumpRenderTree.cpp:
891 2008-10-28 Adele Peterson <adele@apple.com>
893 Reviewed by Sam Weinig.
895 Specify which Localizable.strings to update since we don't always want to update the file in the same
896 directory where we're searching for the strings to localize.
898 * Scripts/extract-localizable-strings:
899 * Scripts/update-webkit-localizable-strings:
901 2008-10-28 Timothy Hatcher <timothy@apple.com>
903 Add support for enabling the profiler, so the profiling tests can continue
904 work now that the profiler is not always enabled.
906 https://bugs.webkit.org/show_bug.cgi?id=21927
908 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
909 not slow down JavaScript all the time
911 Reviewed by Darin Adler and Kevin McCullough.
913 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
914 * DumpRenderTree/LayoutTestController.cpp:
915 (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
916 (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
917 * DumpRenderTree/LayoutTestController.h:
918 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
919 (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
920 * DumpRenderTree/mac/DumpRenderTree.mm:
921 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
922 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
923 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
924 * DumpRenderTree/win/DumpRenderTree.cpp:
925 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
926 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
927 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
929 2008-10-28 Pierre-Olivier Latour <pol@apple.com>
931 Reviewed by Dan Bernstein
933 Primary changes in DumpRenderTree:
934 - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
935 is different from regular font CG anti-aliasing) as font-smoothing settings
936 depends on the display and can also be changed by the user
937 - Use a new cleared buffer for each test instead of the reusing same one to
938 avoid potential result corruption across tests
939 - Can now receive the expected pixel hash as a suffix to the test path or
941 - Make sure hash is computed in a endian-independent way
942 - Improve the code that sets/restores the screen color profile
943 - Make the code more cross-platformy with std::string goodness
944 - Added an "on-screen" mode where the snapshot will take into account surfaces
945 on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
946 reading from the display framebuffer on 10.4. This mode is not active by
947 default for performance reason, but must be explicitly activated from the test
948 file using the new "testOnscreen()" JS API.
950 Primary changes in ImageDiff:
951 - Provide a new comparison algorithm that is more tolerant to "acceptable"
952 failures (i.e. very small differences in font rendering, which --threshold is
953 not really good at handling)
954 - Generate normalized intensity-only diff images
956 Primary changes in run-webkit-tests:
957 - Take advantage of hashes for pixel tests which makes them much faster by
958 minimizing image comparisons
959 - Removed repaint options as these should be set from within test files using
961 - Replaced "threshold" option in by "tolerance" expressed in percents
962 - Added more logging when in "verbose" mode
964 https://bugs.webkit.org/show_bug.cgi?id=21322
965 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
966 * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
967 * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
968 * DumpRenderTree/LayoutTestController.cpp:
969 (LayoutTestController::LayoutTestController):
970 (testOnscreenCallback):
971 (LayoutTestController::staticFunctions):
972 * DumpRenderTree/LayoutTestController.h:
973 (LayoutTestController::testOnscreen):
974 (LayoutTestController::setTestOnscreen):
975 (LayoutTestController::testPathOrURL):
976 (LayoutTestController::expectedPixelHash):
977 * DumpRenderTree/PixelDumpSupport.h:
978 * DumpRenderTree/cg/ImageDiffCG.cpp:
980 (releaseMallocBuffer):
981 (createDifferenceImage):
984 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
985 (computeMD5HashStringForBitmapContext):
986 (dumpWebViewAsPixelsAndCompareWithExpected):
987 * DumpRenderTree/cg/PixelDumpSupportCG.h:
988 (BitmapContext::createByAdoptingBitmapAndContext):
989 (BitmapContext::~BitmapContext):
990 (BitmapContext::cgContext):
991 (BitmapContext::BitmapContext):
992 * DumpRenderTree/mac/DumpRenderTree.mm:
993 (shouldIgnoreWebCoreNodeLeaks):
994 (setDefaultsToConsistentValuesForTesting):
996 (initializeGlobalsFromCommandLineOptions):
997 (prepareConsistentTestingEnvironment):
999 (sizeWebViewForCurrentTest):
1002 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1003 (restoreMainDisplayColorProfile):
1004 (setupMainDisplayColorProfile):
1005 (createBitmapContextFromWebView):
1006 * DumpRenderTree/win/DumpRenderTree.cpp:
1009 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
1010 (getBitmapContextFromWebView):
1011 * Scripts/run-webkit-tests:
1013 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
1015 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
1017 * wx/build-wxwebkit:
1019 2008-10-24 Anders Carlsson <andersca@apple.com>
1021 Try fixing the 64-bit build.
1023 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1026 2008-10-24 Anders Carlsson <andersca@apple.com>
1028 Reviewed by Sam Weinig.
1030 <rdar://problem/5440917> Support NPN_Construct
1032 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1037 New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
1040 Handle testConstruct.
1042 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1044 Add objectPointer property.
1047 Only enumerate the two first properties.
1050 Add a simple construct implementation that just returns the test object.
1052 2008-10-24 David Kilzer <ddkilzer@apple.com>
1054 Bug 21850: svn-apply and svn-unapply should preserve patch line endings
1056 <https://bugs.webkit.org/show_bug.cgi?id=21850>
1058 Reviewed by Adam Roben.
1060 * Scripts/svn-apply: Save end-of-line characters when stripping them
1061 off each line of a patch so that they may be restored after
1062 processing the line.
1063 * Scripts/svn-unapply: Ditto.
1065 2008-10-23 David Kilzer <ddkilzer@apple.com>
1067 Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
1069 <https://bugs.webkit.org/show_bug.cgi?id=21832>
1071 Reviewed by Sam Weinig.
1073 * Scripts/bisect-builds: Use imported tempfile() from File::Temp
1074 instead of 'new File::Temp' to make the script work with Perl 5.10.
1075 * Scripts/sort-Xcode-project-file: Ditto.
1077 2008-10-22 Brady Eidson <beidson@apple.com>
1079 Reviewed by Adam Roben
1081 <rdar://6261773> - autocomplete="off" doesn't work on Windows
1083 Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
1085 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1087 2008-10-22 Darin Adler <darin@apple.com>
1089 * Scripts/do-webcore-rename: More renaming plans.
1091 2008-10-21 Steve Falkenburg <sfalken@apple.com>
1093 Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
1095 * Scripts/extract-localizable-strings:
1097 2008-10-17 Maciej Stachowiak <mjs@apple.com>
1099 Reviewed by Mark Rowe.
1101 - default to 1000 tests per dump tool instance again, now that CTI no longer causes
1102 excess different stack logs.
1104 (Also fix a small bug in my last change.)
1106 * Scripts/run-webkit-tests:
1108 2008-10-17 Stephanie Lewis <slewis@apple.com>
1110 Reviewed by Mark Rowe.
1112 Fix layout tests that use prologues and epilogues.
1114 * Scripts/run-webkit-tests:
1116 2008-10-17 Maciej Stachowiak <mjs@apple.com>
1118 Reviewed by Mark Rowe.
1120 - make sure MallocStackLogging is only on for tools we want to
1121 leak check, not other random stuff as well.
1123 * Scripts/run-webkit-tests:
1125 2008-10-17 Maciej Stachowiak <mjs@apple.com>
1127 Reviewed by Stephanie Lewis.
1129 - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
1131 This should reduce or eliminate crashes on the buildbot due to
1132 running out of memory while stack logging.
1134 * Scripts/run-webkit-tests:
1136 2008-10-16 Jan Michael Alonzo <jmalonzo@webkit.org>
1138 Gtk build fix. Not reviewed.
1140 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1141 (LayoutTestController::setSmartInsertDeleteEnabled):
1143 2008-10-15 Glenn Wilson <gwilson@google.com>
1145 Added new method to allow tests to disable smart editing in the course of a test.
1146 This is a possible solution to bug .20655
1148 Reviewed by Tim Hatcher.
1150 * DumpRenderTree/LayoutTestController.cpp:
1151 (setSmartInsertDeleteEnabledCallback): new method
1152 (LayoutTestController::staticFunctions): added new method to static list of callbacks
1153 * DumpRenderTree/LayoutTestController.h: added signature of new method
1154 * DumpRenderTree/mac/DumpRenderTree.mm:
1155 (resetWebViewToConsistentStateBeforeTesting): added state resetting
1156 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1157 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
1158 * DumpRenderTree/win/DumpRenderTree.cpp:
1159 (resetWebViewToConsistentStateBeforeTesting): added state resetting
1160 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1161 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
1163 2008-10-14 Ada Chan <adachan@apple.com>
1167 Reviewed by Sam Weinig.
1169 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1170 * DumpRenderTree/config.h:
1171 * DumpRenderTree/win/DumpRenderTreeWin.h:
1172 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1173 * DumpRenderTree/win/UIDelegate.cpp:
1175 2008-10-13 Timothy Hatcher <timothy@apple.com>
1177 Make prepare-ChangeLog populate the changed functions for JavaScript files.
1179 https://bugs.webkit.org/show_bug.cgi?id=21567
1181 Reviewed by David Kilzer.
1183 * Scripts/prepare-ChangeLog:
1184 (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
1185 files that end with ".js".
1186 (get_function_line_ranges_for_javascript): Find functions, anonymous functions
1187 and getters/setters.
1189 2008-10-14 Alp Toker <alp@nuanti.com>
1191 Reviewed by Sam Weinig.
1193 https://bugs.webkit.org/show_bug.cgi?id=16299
1194 Add a config.h file to DRT
1196 Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
1197 an ad-hoc config header.
1199 * DumpRenderTree/AccessibilityController.cpp:
1200 * DumpRenderTree/AccessibilityUIElement.cpp:
1201 * DumpRenderTree/AccessibilityUIElement.h:
1202 * DumpRenderTree/DumpRenderTree.h:
1203 * DumpRenderTree/GCController.cpp:
1204 * DumpRenderTree/LayoutTestController.cpp:
1205 * DumpRenderTree/WorkQueue.cpp:
1206 * DumpRenderTree/config.h: Added.
1207 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1208 * DumpRenderTree/gtk/GCControllerGtk.cpp:
1209 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1210 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1211 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1212 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1213 * DumpRenderTree/win/DumpRenderTree.cpp:
1214 * DumpRenderTree/win/DumpRenderTreeWin.h:
1215 * DumpRenderTree/win/EditingDelegate.cpp:
1216 * DumpRenderTree/win/EventSender.cpp:
1217 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1218 * DumpRenderTree/win/GCControllerWin.cpp:
1219 * DumpRenderTree/win/MD5.cpp:
1220 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
1221 * DumpRenderTree/win/PolicyDelegate.cpp:
1222 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1223 * DumpRenderTree/win/WorkQueueItemWin.cpp:
1226 2008-10-13 Chris Fleizach <cfleizach@apple.com>
1228 Reviewed by Beth Dakin.
1230 Added a method to get the links in a webpage
1232 * DumpRenderTree/AccessibilityUIElement.cpp:
1233 (attributesOfDocumentLinksCallback):
1234 (AccessibilityUIElement::getJSClass):
1235 * DumpRenderTree/AccessibilityUIElement.h:
1236 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1237 (AccessibilityUIElement::getDocumentLinks):
1238 (AccessibilityUIElement::attributesOfDocumentLinks):
1239 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1240 (AccessibilityUIElement::getDocumentLinks):
1241 (AccessibilityUIElement::attributesOfDocumentLinks):
1243 2008-10-13 David Kilzer <ddkilzer@apple.com>
1245 Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
1247 <https://bugs.webkit.org/show_bug.cgi?id=21457>
1251 * Scripts/resolve-ChangeLogs: Added optional parameter to
1252 -f|--fix-merged switch to run the script on a revision range.
1253 Updated command-line validation checks.
1254 (findChangeLog): Fixed long-standing bug that should have used
1255 $_[0] instead of $_.
1256 (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated
1257 to work when called from git filter-branch. It always restores a
1258 copy of the previous revision before reapplying the patch.
1259 (fixMergedChangeLogs): Added. Calls itself through git filter-branch
1260 to re-merge ChangeLog files across a revision range. Removes
1261 .git/refs/original directory on success.
1262 (parseFixMerged): Added. Custom method to parse the -f|--fix-merged
1264 (removeChangeLogArguments): Added. Removes items from @ARGV when
1265 they are ChangeLog paths, and return a list of paths. This makes it
1266 easier to validate the command-line.
1267 (resolveChangeLog): Added. Extracted from main code block. Runs
1268 the traditional single-file merge algorithm.
1269 (usageAndExit): Added. Extracted from main code block. Prints
1270 usage statement and exits with error status.
1272 2008-10-12 Darin Adler <darin@apple.com>
1274 * Scripts/make-js-test-wrappers: Update exceptions list so the script
1275 won't overwrite files and mangle tests.
1277 2008-10-11 Dan Bernstein <mitz@apple.com>
1279 Reviewed by Sam Weinig and Anders Carlsson.
1281 - update Mac DumpRenderTree to use the new WebView SPI for forcing the
1282 complex text code path
1283 - add --complex-text support to Windows DumpRenderTree
1285 * DumpRenderTree/mac/DumpRenderTree.mm:
1287 * DumpRenderTree/win/DumpRenderTree.cpp:
1288 (createWebViewAndOffscreenWindow):
1290 * Scripts/run-webkit-tests:
1292 2008-10-09 Eric Seidel <eric@webkit.org>
1294 Reviewed by Oliver Hunt.
1296 https://bugs.webkit.org/show_bug.cgi?id=21498
1298 * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
1300 2008-10-09 Cameron Zwarich <zwarich@apple.com>
1304 Add StructureID.o to the exclusion list in the global initializers
1305 script to fix the Debug build.
1307 * Scripts/check-for-global-initializers:
1309 2008-10-08 Mark Rowe <mrowe@apple.com>
1311 Fix the Windows build after r37434.
1313 * DumpRenderTree/win/DumpRenderTree.cpp:
1314 (dump): Update code to approximate valid C++ syntax.
1316 2008-10-08 Timothy Hatcher <timothy@apple.com>
1318 Add SVGElementInstance to the list of exceptions that have
1319 global initializers in debug builds.
1321 Rubber-stamped by Mark Rowe.
1323 * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
1325 2008-10-08 Simon Fraser <simon.fraser@apple.com>
1327 Reviewed by Dan Bernstein
1329 Avoid disconnect between DRT and run-webkit-tests
1330 about whether to expect PNG dumps by having DRT always
1331 print two blocks terminated by #EOF, the second of which
1334 https://bugs.webkit.org/show_bug.cgi?id=21483
1336 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1338 (dumpWebViewAsPixelsAndCompareWithExpected):
1339 * DumpRenderTree/mac/DumpRenderTree.mm:
1341 * DumpRenderTree/win/DumpRenderTree.cpp:
1343 * Scripts/run-webkit-tests:
1345 2008-10-07 Adam Roben <aroben@apple.com>
1347 Make sure short functions get included in ChangeLog output for git
1350 Reviewed by Dave Kilzer.
1352 * Scripts/prepare-ChangeLog:
1353 (sub diffCommand): Pass -U0 to git diff so that each contiguous change
1354 will get its own chunk without any surrounding context.
1355 (sub extractLineRange): Use the line numbers from the chunk header
1356 without modifying them now that they're accurate.
1358 2008-10-04 Mark Rowe <mrowe@apple.com>
1360 Reviewed by Tim Hatcher.
1362 Update check-for-weak-vtables to check only the final linked image for weak vtables.
1363 This gives more useful results than checking each object file independently.
1365 * Scripts/check-for-weak-vtables:
1367 2008-10-03 Pierre-Olivier Latour <pol@apple.com>
1369 Reviewed by Darin Adler
1371 Render images to RGBA8 bitmaps independently of platform endianness.
1373 Create image difference bitmap in reference image colorspace instead of device colorspace
1374 (which depends on the main display profile), so that no color matching happens.
1376 https://bugs.webkit.org/show_bug.cgi?id=21336
1378 * DumpRenderTree/cg/ImageDiffCG.cpp:
1379 (createDifferenceBitmap):
1380 (computePercentageDifferent):
1383 2008-10-02 Simon Fraser <simon.fraser@apple.com>
1385 Reviewed by Darin Adler
1387 Fix hang when running with --pixel --reset, which occurs
1388 because DRT spews PNG data when the script does not expect it.
1390 https://bugs.webkit.org/show_bug.cgi?id=21323
1392 * Scripts/run-webkit-tests:
1394 2008-09-30 Mark Rowe <mrowe@apple.com>
1396 Reviewed by Dan Bernstein.
1398 Add a leak counter for CachedResources since we've had two recent leaks involving them.
1400 * Scripts/check-for-global-initializers:
1402 2008-09-30 Mark Rowe <mrowe@apple.com>
1404 Rubber-stamped by Dan Bernstein.
1406 Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
1408 JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
1409 being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
1410 We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
1411 any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
1412 torn down before we exit.
1414 * DumpRenderTree/mac/DumpRenderTree.mm:
1418 2008-09-30 Simon Fraser <simon.fraser@apple.com>
1420 Reviewed by Dan Bernstein
1422 Don't run pixel comparison for text-only tests.
1423 https://bugs.webkit.org/show_bug.cgi?id=21124
1425 * DumpRenderTree/mac/DumpRenderTree.mm:
1427 * Scripts/run-webkit-tests:
1429 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
1433 Changed copyright from Trolltech ASA to Nokia.
1435 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
1438 * DumpRenderTree/qt/DumpRenderTree.cpp:
1439 * DumpRenderTree/qt/jsobjects.cpp:
1440 * DumpRenderTree/qt/jsobjects.h:
1441 * DumpRenderTree/qt/main.cpp:
1442 * DumpRenderTree/qt/testplugin.cpp:
1443 * DumpRenderTree/qt/testplugin.h:
1445 2008-09-28 David Kilzer <ddkilzer@apple.com>
1447 Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
1449 <https://bugs.webkit.org/show_bug.cgi?id=21185>
1453 * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
1454 will attempt to reapply the last commit to a ChangeLog file such
1455 that the ChangeLog entry appears at the top of the file.
1456 (findChangeLog): Added prototype and moved method below the exit
1458 (fixMergedChangeLog): Added. Method to fix incorrectly merged
1461 2008-09-27 Anders Carlsson <andersca@apple.com>
1463 Reviewed by Sam Weinig.
1465 https://bugs.webkit.org/show_bug.cgi?id=21178
1466 <rdar://problem/6248651>
1468 Return the result value from getURL.
1470 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1473 2008-09-26 Matt Lilek <webkit@mattlilek.com>
1475 Reviewed by Tim Hatcher.
1477 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
1479 * Scripts/build-webkit:
1481 2008-09-26 Alice Liu <alice.liu@apple.com>
1483 Remove usage of atlstr.h and CString for VCExpress compatibility
1485 Reviewed by Stephanie Lewis.
1487 * record-memory-win/main.cpp:
1490 (QueryContinuously):
1494 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
1496 wx build fix. Update the version of libpng.
1498 * wx/install-unix-extras:
1500 2008-09-24 Sam Weinig <sam@webkit.org>
1502 Reviewed by Darin Adler.
1504 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
1505 <rdar://problem/6243534>
1506 Crash below Function.apply when using a runtime array as the argument list
1508 Add method to ObjCController to return a runtime array.
1510 * DumpRenderTree/mac/ObjCController.m:
1511 (+[ObjCController isSelectorExcludedFromWebScript:]):
1512 (+[ObjCController webScriptNameForSelector:]):
1513 (-[ObjCController testArray]):
1515 2008-09-24 Beth Dakin <bdakin@apple.com>
1517 Reviewed by Sam Weinig.
1519 Speculative build fix.
1521 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1522 (AccessibilityUIElement::supportsPressAction):
1524 2008-09-23 Beth Dakin <bdakin@apple.com>
1526 Reviewed by Sam Weinig.
1528 This patch extends DumpRenderTree's AccessibilityController to ask
1529 if the focused element supports the press action.
1531 * DumpRenderTree/AccessibilityUIElement.cpp:
1532 (getSupportsPressActionCallback):
1533 (AccessibilityUIElement::getJSClass):
1534 * DumpRenderTree/AccessibilityUIElement.h:
1535 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1536 (AccessibilityUIElement::supportsPressAction):
1538 2008-09-22 Alice Liu <alice.liu@apple.com>
1540 Adding a stand-alone Windows console application to record a process's memory usage
1542 Reviewed by Steve Falkenburg.
1544 * record-memory-win: Added.
1545 * record-memory-win/main.cpp: Added.
1546 * record-memory-win/record-memory-win.vcproj: Added.
1548 2008-09-22 Chris Fleizach <cfleizach@apple.com>
1550 Reviewed by Darin Adler.
1552 Support ability to get/set selected text ranges for text controls through AX.
1554 * DumpRenderTree/AccessibilityUIElement.cpp:
1555 (setSelectedTextRangeCallback):
1556 (getSelectedTextRangeCallback):
1557 (AccessibilityUIElement::getJSClass):
1558 * DumpRenderTree/AccessibilityUIElement.h:
1559 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1560 (AccessibilityUIElement::attributesOfRowHeaders):
1561 (AccessibilityUIElement::attributesOfVisibleCells):
1562 (AccessibilityUIElement::rowIndexRange):
1563 (AccessibilityUIElement::columnIndexRange):
1564 (AccessibilityUIElement::cellForColumnAndRow):
1565 (AccessibilityUIElement::selectedTextRange):
1566 (AccessibilityUIElement::setSelectedTextRange):
1567 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1568 (AccessibilityUIElement::selectedTextRange):
1569 (AccessibilityUIElement::setSelectedTextRange):
1571 2008-09-20 Darin Adler <darin@apple.com>
1573 * DumpRenderTree/mac/DumpRenderTree.mm:
1574 (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
1576 2008-09-19 Alp Toker <alp@nuanti.com>
1578 Build fix for the 'gold' linker and recent binutils. New behaviour
1579 requires that we link to used libraries explicitly.
1583 2008-09-19 Stephanie Lewis <slewis@apple.com>
1585 Reviewed by Oliver Hunt.
1587 Implement a workaround for an incorrect mime-type on machines with
1588 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
1589 See radar <rdar://problem/6234318>.
1591 * DumpRenderTree/mac/DumpRenderTree.mm:
1594 2008-09-19 Chris Fleizach <cfleizach@apple.com>
1596 Fixed Windows bustage
1598 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1599 (AccessibilityUIElement::titleUIElement):
1601 2008-09-18 Chris Fleizach <cfleizach@apple.com>
1603 Reviewed by Darin Adler.
1605 Expose titleUIElement call for DumpRenderTree
1608 * DumpRenderTree/AccessibilityUIElement.cpp:
1609 (titleUIElementCallback):
1610 (AccessibilityUIElement::getJSClass):
1611 * DumpRenderTree/AccessibilityUIElement.h:
1612 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1613 (AccessibilityUIElement::titleUIElement):
1615 2008-09-18 Darin Adler <darin@apple.com>
1617 * Scripts/do-webcore-rename: More renaming plans.
1619 2008-09-18 Mark Rowe <mrowe@apple.com>
1621 Reviewed by Dan Bernstein.
1623 Clear the main frame's name between tests to get more consistent test results
1624 when running the WebKit tests with --nthly.
1626 * DumpRenderTree/mac/DumpRenderTree.mm:
1627 (resetWebViewToConsistentStateBeforeTesting):
1628 * DumpRenderTree/win/DumpRenderTree.cpp:
1629 (resetWebViewToConsistentStateBeforeTesting):
1631 2008-09-18 Stephanie Lewis <slewis@apple.com>
1633 Really fix tiger jsc tests.
1635 * Scripts/run-javascriptcore-tests:
1637 2008-09-18 Stephanie Lewis <slewis@apple.com>
1639 Reviewed by Maciej Stachowiak.
1641 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
1643 * Scripts/run-javascriptcore-tests:
1644 * Scripts/webkitdirs.pm:
1646 2008-09-18 Mark Rowe <mrowe@apple.com>
1648 Rubber-stamped by Sam Weinig.
1650 Print warning to stdout rather than stderr when a test attempts to access a remote resource.
1651 This should make it more obvious when a test does this, as stderr output tends to be obscured
1652 by noise in the test results.
1654 Also fixes some coding style issues in ResourceLoadDelegate.mm.
1656 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1657 (-[NSError _drt_descriptionSuitableForTestResult]):
1658 (-[NSURL _drt_descriptionSuitableForTestResult]):
1659 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1660 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1661 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1662 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1663 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1664 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1666 2008-09-18 Stephanie Lewis <slewis@apple.com>
1668 Reviewed by Mark Rowe and Maciej Stachowiak..
1670 add a --64-bit option and specify which architecture to run on Mac.
1672 * Scripts/run-javascriptcore-tests:
1674 2008-09-17 Mark Rowe <mrowe@apple.com>
1676 Reviewed by Sam Weinig.
1678 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
1680 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
1681 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
1682 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
1684 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
1685 * DumpRenderTree/LayoutTestController.cpp:
1686 (LayoutTestController::LayoutTestController):
1687 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
1688 (layoutTestControllerObjectFinalize): Deref the wrapped object.
1689 (LayoutTestController::makeWindowObject): Ref the wrapped object.
1690 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
1691 * DumpRenderTree/mac/DumpRenderTree.mm:
1692 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
1693 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
1694 * DumpRenderTree/win/DumpRenderTree.cpp:
1695 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
1697 2008-09-16 Sam Weinig <sam@webkit.org>
1699 Reviewed by Mark Rowe.
1701 Add flag to disable running sample on tests that timeout.
1703 * Scripts/run-webkit-tests:
1705 2008-09-16 Adam Roben <aroben@apple.com>
1707 Windows build fix after r36511
1709 Update for rename of layoutTestController to gLayoutTestController.
1711 * DumpRenderTree/LayoutTestController.cpp:
1712 * DumpRenderTree/win/EditingDelegate.cpp:
1713 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1714 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1715 * DumpRenderTree/win/UIDelegate.cpp:
1717 2008-09-16 Adam Roben <aroben@apple.com>
1719 Add a script to print out the dependency tree of a Visual Studio
1722 * Scripts/print-msvc-project-dependencies: Added.
1724 2008-09-16 Mark Rowe <mrowe@apple.com>
1728 * DumpRenderTree/LayoutTestController.cpp:
1729 (notifyDoneCallback): Call fprintf in a safer manner.
1731 2008-09-16 Simon Fraser <simon.fraser@apple.com>
1733 Reviewed by Eric Seidel
1735 Protect against tests that call layoutTestController.notifyDone()
1736 more than once, which would lead to memory corruption, by nulling
1737 out the LayoutTestController on the JSObjectRef on destruction. Also
1738 add a finalize callback on the class so that if the LTC outlives
1739 the JSObjectRef, the JSObjectRef backpointer on the LTC can be
1742 https://bugs.webkit.org/show_bug.cgi?id=20875
1744 * DumpRenderTree/LayoutTestController.cpp:
1745 (LayoutTestController::LayoutTestController):
1746 (notifyDoneCallback):
1747 (layoutTestControllerObjectFinalize):
1748 (LayoutTestController::makeWindowObject):
1749 (LayoutTestController::getJSClass):
1750 * DumpRenderTree/LayoutTestController.h:
1751 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1752 (LayoutTestController::~LayoutTestController):
1754 2008-09-16 Simon Fraser <simon.fraser@apple.com>
1756 Reviewed by Eric Seidel
1758 Step 1 patch: rename global variable for clarity.
1759 https://bugs.webkit.org/show_bug.cgi?id=20875
1761 * DumpRenderTree/DumpRenderTree.h:
1762 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1763 (dumpWebViewAsPixelsAndCompareWithExpected):
1764 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1769 (webViewLoadFinished):
1770 (webViewWindowObjectCleared):
1771 * DumpRenderTree/mac/DumpRenderTree.mm:
1772 (allocateGlobalControllers):
1773 (dumpFrameScrollPosition):
1775 (methodNameStringForFailedTest):
1778 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1779 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
1780 * DumpRenderTree/mac/EditingDelegate.mm:
1781 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1782 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1783 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1784 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1785 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1786 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1787 (-[EditingDelegate webViewDidBeginEditing:]):
1788 (-[EditingDelegate webViewDidChange:]):
1789 (-[EditingDelegate webViewDidEndEditing:]):
1790 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1791 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1792 (-[FrameLoadDelegate processWork:]):
1793 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1794 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1795 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1796 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1797 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1798 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1799 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1800 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1801 * DumpRenderTree/mac/UIDelegate.mm:
1802 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1803 (-[UIDelegate webViewFocus:]):
1804 (-[UIDelegate webViewUnfocus:]):
1805 (-[UIDelegate webView:createWebViewWithRequest:]):
1806 (-[UIDelegate webViewClose:]):
1807 * DumpRenderTree/win/DumpRenderTree.cpp:
1808 (dumpFrameScrollPosition):
1813 2008-09-15 Alice Liu <alice.liu@apple.com>
1815 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
1817 Reviewed by Stephanie Lewis.
1819 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1820 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
1821 but not Intel. Add a check for nil before calling.
1822 (AccessibilityUIElement::rowIndexRange):
1823 (AccessibilityUIElement::columnIndexRange):
1825 2008-09-14 Mark Rowe <mrowe@apple.com>
1829 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1830 (waitUntilDoneWatchdogFired):
1831 * DumpRenderTree/mac/ObjCPlugin.m:
1833 2008-09-08 Dan Bernstein <mitz@apple.com>
1835 Reviewed by Mark Rowe.
1837 - add an option to run-webkit-tests to always use the complex text code path
1839 * DumpRenderTree/mac/DumpRenderTree.mm:
1840 (initializeGlobalsFromCommandLineOptions):
1842 * Scripts/run-webkit-tests:
1844 2008-09-08 Steve Falkenburg <sfalken@apple.com>
1846 Another Windows nightly build fix.
1848 Reviewed by Sam Weinig.
1850 * FindSafari/FindSafari.cpp:
1851 (_tmain): Delete existing WebKitNightly directory in temp.
1852 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
1854 2008-09-07 Stephanie Lewis <slewis@apple.com>
1856 Reviewed by Mark Rowe.
1860 * DumpRenderTree/DumpRenderTreePrefix.h:
1861 * DumpRenderTree/win/DumpRenderTree.vcproj:
1863 2008-09-06 Steve Falkenburg <sfalken@apple.com>
1865 Fix Windows nightlies.
1867 Copy WebKit.dll alongside application so registry-free COM can find it.
1868 Update embedded manifest to force use registry-free COM.
1870 Reviewed by Dave Hyatt.
1872 * FindSafari/FindSafari.cpp:
1876 * FindSafari/FindSafari.rc: Added.
1877 * FindSafari/FindSafari.vcproj:
1878 * FindSafari/Safari.exe.manifest: Added.
1879 * FindSafari/resource.h: Added.
1881 === End merge of squirrelfish-extreme ===
1883 2008-08-31 Mark Rowe <mrowe@apple.com>
1885 Reviewed by Maciej Stachowiak.
1887 Add a --profile flag to run-sunspider.
1889 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
1890 to build scripts as indicating that we should use the "Profiling" configuration. At present
1891 this is only supported by JavaScriptCore, so using this argument to build any other project
1892 will likely result in unexpected behaviour.
1894 2008-08-27 Mark Rowe <mrowe@apple.com>
1896 Reviewed by Oliver Hunt.
1898 Fix run-webkit-tests to handle DRT exiting early.
1900 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
1902 === Start merge of squirrelfish-extreme ===
1904 2008-09-04 Mark Rowe <mrowe@apple.com>
1906 Reviewed by Eric Seidel.
1908 Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
1909 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
1911 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
1913 2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1915 Reviewed by Oliver Hunt.
1917 Bug 20616: Incorporate V8 benchmarks in testing
1918 <https://bugs.webkit.org/show_bug.cgi?id=20616>
1920 Add support for the --v8 option to run-sunspider.
1922 * Scripts/run-sunspider:
1924 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
1926 wx buildbot fix. More robust handling of clean when makefiles are not built or
1927 are not completely made.
1929 * wx/build-wxwebkit:
1931 2008-09-03 Mark Rowe <mrowe@apple.com>
1933 More Mac build fixes.
1935 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
1936 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
1937 default configuration specified in the .xcconfig files.
1939 * Scripts/build-webkit:
1941 2008-09-03 Mark Rowe <mrowe@apple.com>
1943 Mac build fix. Ensure that dashboard support is enabled.
1945 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1947 2008-08-25 Steve Falkenburg <sfalken@apple.com>
1949 Build fix. Copy correct version of ICU.
1951 * DumpRenderTree/win/DumpRenderTree.vcproj:
1953 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
1957 [run-webkit-tests] Use QtLauncher to show the results of the tests
1958 konqueror might not be installed, xdg-open might not be installed but the
1959 QtLauncher should be present.
1961 * Scripts/run-webkit-tests:
1963 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
1965 Initial support for accessibility layout tests on Windows.
1966 https://bugs.webkit.org/show_bug.cgi?id=20497
1968 Reviewed by Sam Weinig.
1970 * DumpRenderTree/AccessibilityController.h: Fix typos.
1971 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
1972 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
1973 prevent oleacc.h, which includes windows.h, from including winsock.h.
1975 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
1976 (AccessibilityController::AccessibilityController):
1977 (AccessibilityController::~AccessibilityController):
1978 (AccessibilityController::focusedElement): Get the root element, and
1979 request its focused object.
1980 (AccessibilityController::rootElement): Query Windows for the
1981 accessible client object for the WebView's window.
1982 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
1983 (AccessibilityUIElement::AccessibilityUIElement):
1984 (AccessibilityUIElement::~AccessibilityUIElement):
1985 (AccessibilityUIElement::getLinkedUIElements): Not implemented.
1986 (AccessibilityUIElement::getChildren): Get the child count, and append
1988 (AccessibilityUIElement::getChildAtIndex): Get the child at the given
1989 index offset by 1. In MSAA, child 0 is the object itself.
1990 (AccessibilityUIElement::allAttributes): Not implemented.
1991 (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
1992 (AccessibilityUIElement::attributesOfChildren): Same.
1993 (AccessibilityUIElement::parameterizedAttributeNames): Same.
1994 (self): Return a VARIANT representing the "self" object. This is used
1995 when calling methods that require a child variant.
1996 (AccessibilityUIElement::role): Get the MSAA role, a long value, and
1997 convert it into a string with GetRoleText().
1998 (AccessibilityUIElement::title): Get the element's title, and convert
2000 (AccessibilityUIElement::description): Same, for description.
2001 (AccessibilityUIElement::width):
2002 (AccessibilityUIElement::height):
2003 (AccessibilityUIElement::intValue): Get the object's value as a string,
2004 and convert the string to a double.
2005 (AccessibilityUIElement::minValue): Not implemented.
2006 (AccessibilityUIElement::maxValue): Same.
2007 (AccessibilityUIElement::insertionPointLineNumber): Same.
2008 (AccessibilityUIElement::attributesOfColumnHeaders): Same.
2009 (AccessibilityUIElement::attributesOfRowHeaders): Same.
2010 (AccessibilityUIElement::attributesOfColumns): Same.
2011 (AccessibilityUIElement::attributesOfRows): Same.
2012 (AccessibilityUIElement::attributesOfVisibleCells): Same.
2013 (AccessibilityUIElement::attributesOfHeader): Same.
2014 (AccessibilityUIElement::indexInTable): Same.
2015 (AccessibilityUIElement::rowIndexRange): Same.
2016 (AccessibilityUIElement::columnIndexRange): Same.
2017 (AccessibilityUIElement::lineForIndex): Same.
2018 (AccessibilityUIElement::boundsForRange): Same.
2019 (AccessibilityUIElement::cellForColumnAndRow): Same.
2020 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
2021 project. Link to oleacc.lib, the MSAA library.
2022 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2023 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
2025 (FrameLoadDelegate::didClearWindowObject): Create a new window object
2026 for the accessibility controller.
2027 * DumpRenderTree/win/FrameLoadDelegate.h:
2029 2008-08-21 Simon Fraser <simon.fraser@apple.com>
2031 Reviewed by Mark Rowe
2033 Make build-launcher-app work when run from a git repository.
2034 https://bugs.webkit.org/show_bug.cgi?id=20478
2036 * BuildSlaveSupport/build-launcher-app:
2038 2008-08-20 Maxime Britto <britto@apple.com>
2040 Reviewed by Ada Chan.
2043 Mouse events are sent to page while resizing window (affects Gmail)
2045 * DumpRenderTree/win/UIDelegate.h:
2046 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
2048 2008-08-19 Chris Fleizach <cfleizach@apple.com>
2050 Reviewed by Beth Dakin.
2052 Add snowleopard platform in layout tests
2054 Added support for accessing the attributes of
2055 accessibility tables through the accessibility controller
2058 * DumpRenderTree/AccessibilityUIElement.cpp:
2059 (attributesOfColumnHeadersCallback):
2060 (attributesOfRowHeadersCallback):
2061 (attributesOfColumnsCallback):
2062 (attributesOfRowsCallback):
2063 (attributesOfVisibleCellsCallback):
2064 (attributesOfHeaderCallback):
2065 (indexInTableCallback):
2066 (rowIndexRangeCallback):
2067 (columnIndexRangeCallback):
2068 (childAtIndexCallback):
2069 (cellForColumnAndRowCallback):
2070 (AccessibilityUIElement::getJSClass):
2071 * DumpRenderTree/AccessibilityUIElement.h:
2072 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2073 (convertNSArrayToVector):
2074 (descriptionOfElements):
2075 (AccessibilityUIElement::getLinkedUIElements):
2076 (AccessibilityUIElement::getChildren):
2077 (AccessibilityUIElement::attributesOfLinkedUIElements):
2078 (AccessibilityUIElement::attributesOfChildren):
2079 (AccessibilityUIElement::attributesOfColumnHeaders):
2080 (AccessibilityUIElement::attributesOfRowHeaders):
2081 (AccessibilityUIElement::attributesOfColumns):
2082 (AccessibilityUIElement::attributesOfRows):
2083 (AccessibilityUIElement::attributesOfVisibleCells):
2084 (AccessibilityUIElement::attributesOfHeader):
2085 (AccessibilityUIElement::indexInTable):
2086 (AccessibilityUIElement::rowIndexRange):
2087 (AccessibilityUIElement::columnIndexRange):
2088 (AccessibilityUIElement::cellForColumnAndRow):
2089 * Scripts/run-webkit-tests:
2091 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
2093 Reviewed by Darin Adler.
2095 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
2096 is waiting for crash reporter to let it exit.
2098 The fix does not work on Tiger, because the state of the process is indistinguishable from
2099 other waiting processes, at least not with this technique.
2101 * Scripts/run-webkit-tests:
2103 2008-08-18 Alp Toker <alp@nuanti.com>
2105 Reviewed by Holger Freyther.
2107 https://bugs.webkit.org/show_bug.cgi?id=20350
2108 [GTK] Get DumpRenderTree working
2110 Fixes and enhancements to DumpRenderTree. With these changes, the test
2111 suite can now complete a run producing text and render tree dumps.
2113 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2117 (webViewLoadFinished):
2118 (webViewWindowObjectCleared):
2119 (webViewConsoleMessage):
2120 (webViewScriptAlert):
2121 (webViewScriptPrompt):
2122 (webViewScriptConfirm):
2123 (webViewTitleChanged):
2125 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2126 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2127 (LayoutTestController::clearBackForwardList):
2128 (LayoutTestController::pathToLocalResource):
2129 (LayoutTestController::setAcceptsEditing):
2130 (LayoutTestController::setUserStyleSheetEnabled):
2131 (LayoutTestController::setUserStyleSheetLocation):
2132 (waitToDumpWatchdogFired):
2133 (LayoutTestController::windowCount):
2134 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2135 (JSStringCopyUTF8CString):
2136 (ScriptItem::invoke):
2138 2008-08-17 Geoffrey Garen <ggaren@apple.com>
2140 Reviewed by Cameron Zwarich.
2142 Updated project files to XCode 3.1.
2144 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2145 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2147 2008-08-15 Mark Rowe <mrowe@apple.com>
2149 Rubber-stamped by Geoff Garen.
2151 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
2153 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
2155 2008-08-13 Simon Hausmann <hausmann@webkit.org>
2157 Rubber-stamped by Holger.
2159 Revert r31585 and disable http tests for the Qt build again unless
2162 Running the http tests unfortunately currently still triggers
2163 failures in non-http tests due to side-effects. Disable them by default for
2164 now, for more reliable results.
2166 * Scripts/run-webkit-tests:
2168 2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
2170 Reviewed (and updated) by Alp Toker.
2172 https://bugs.webkit.org/show_bug.cgi?id=16620
2173 [GTK] Autotools make dist and make check support
2175 Get make dist working.
2177 Note that not all possible configurations have been tested yet.
2181 2008-08-10 Alp Toker <alp@nuanti.com>
2183 Remove leftover qmake/GTK+ build files.
2185 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
2186 * GtkLauncher/GtkLauncher.pro: Removed.
2188 2008-08-06 Chris Fleizach <cfleizach@apple.com>
2190 Reviewed by Beth Dakin
2192 AX functions shouldn't return position information because it changes
2193 based on the platform
2195 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2196 (AccessibilityUIElement::boundsForRange):
2198 2008-08-06 Eric Seidel <eric@webkit.org>
2202 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
2203 <https://bugs.webkit.org/show_bug.cgi?id=20297>
2204 <rdar://problem/6093153>
2206 I've made AccessibilityUIElement a stack object for now. It could be
2207 made RefCounted, but I figured that might be overkill for the moment.
2208 Essentially it's just a RefPtr itself. :)
2210 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
2211 which was causing additional leaks. :)
2213 I added toAXElement to remove a bunch of copy/paste code.
2215 * DumpRenderTree/AccessibilityController.h:
2216 * DumpRenderTree/AccessibilityUIElement.cpp:
2218 (allAttributesCallback):
2219 (attributesOfLinkedUIElementsCallback):
2220 (attributesOfChildrenCallback):
2221 (lineForIndexCallback):
2222 (boundsForRangeCallback):
2223 (childAtIndexCallback):
2226 (getDescriptionCallback):
2228 (getHeightCallback):
2229 (getIntValueCallback):
2230 (getMinValueCallback):
2231 (getMaxValueCallback):
2232 (getInsertionPointLineNumberCallback):
2234 * DumpRenderTree/AccessibilityUIElement.h:
2235 (AccessibilityUIElement::platformUIElement):
2236 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2237 (AccessibilityController::focusedElement):
2238 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2239 (AccessibilityUIElement::AccessibilityUIElement):
2240 (AccessibilityUIElement::getLinkedUIElements):
2241 (AccessibilityUIElement::getChildren):
2242 (AccessibilityUIElement::getChildAtIndex):
2243 (AccessibilityUIElement::attributesOfLinkedUIElements):
2244 (AccessibilityUIElement::attributesOfChildren):
2246 2008-08-06 Eric Seidel <eric@webkit.org>
2248 Reviewed by Cameron Zwarich.
2250 Speculative fix for an error I keep seeing in my Cygwin build
2252 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
2254 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
2256 Forgot to commit licensing correction in last commit.
2258 * wx/packaging/wxWebKitInstaller.iss.in:
2260 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
2262 Reviewed by Eric Seidel.
2264 Scripts for building a wxWebKit installer for wxPython on Win, eventually will
2265 be used for nightlies.
2267 https://bugs.webkit.org/show_bug.cgi?id=20036
2269 * wx/packaging: Added.
2270 * wx/packaging/build-win-installer.py: Added.
2271 * wx/packaging/wxWebKitInstaller.iss.in: Added.
2273 2008-07-31 Adam Roben <aroben@apple.com>
2277 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
2278 Release configuration, too.
2280 2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
2282 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
2285 <https://bugs.webkit.org/show_bug.cgi?id=20245>
2287 Reviewed by Adam Roben.
2289 * WinLauncher/WinLauncher.vcproj: adding the following properties to
2290 WinLauncher > Properties > Manifest Tool > Isolated COM
2291 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
2292 Component File Name: WebKit$(WebKitDLLConfigSuffix)
2293 Doing the change on "All Configurations"
2295 2008-07-31 Adam Roben <aroben@apple.com>
2297 Windows build bot fix
2299 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
2300 exist for people at Apple can't be found. Also updated the ICU version
2303 2008-07-31 David Kilzer <ddkilzer@apple.com>
2305 Fix layout test results for webarchive/test-xml-stylesheet.xml
2307 Reviewed by Darin Adler.
2309 * DumpRenderTree/mac/DumpRenderTree.mm:
2310 (convertMIMEType): Work around the "text/xml" local file type
2311 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
2312 stop mangling "application/x-javascript" into "text/javascript".
2313 (convertWebResourceDataToString): When checking whether to dump a
2314 resource as text, also check to see if the MIME type is in the
2315 -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
2316 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
2319 2008-07-31 Chris Fleizach <cfleizach@apple.com>
2321 Reviewed by Alice Liu
2323 Add AX support to get the bounds for a range of text
2324 Add AX support to get the child of an element
2325 Add AX support to get all the parameterized attribute names of an element
2327 * DumpRenderTree/AccessibilityUIElement.cpp:
2328 (parameterizedAttributeNamesCallback):
2329 (boundsForRangeCallback):
2330 (childAtIndexCallback):
2331 (AccessibilityUIElement::getJSClass):
2332 * DumpRenderTree/AccessibilityUIElement.h:
2333 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2334 (AccessibilityUIElement::getChildAtIndex):
2335 (AccessibilityUIElement::parameterizedAttributeNames):
2336 (AccessibilityUIElement::boundsForRange):
2338 2008-07-31 Erik Bunce <elbunce@thehive.com>
2342 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
2344 * Scripts/run-launcher:
2346 2008-07-30 Jessica Kahn <jess@apple.com>
2348 Reviewed by Adam Roben.
2350 Slightly stricter checking for previous change, suggested by Adam.
2352 * Scripts/extract-localizable-strings:
2354 2008-07-30 Jessica Kahn <jess@apple.com>
2356 Reviewed by Darin Adler.
2358 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
2360 * Scripts/extract-localizable-strings:
2362 2008-07-30 Anders Carlsson <andersca@apple.com>
2366 Copy icu38* files instead of icu36* files.
2368 * DumpRenderTree/win/DumpRenderTree.vcproj:
2370 2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
2372 DRT/Gtk build fix for r35362
2374 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2375 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
2377 2008-07-25 Brady Eidson <beidson@apple.com>
2381 Add the ability to dump whether-or-not an element should have autocomplete enabled,
2382 from the perspective of the WebKit API
2384 * DumpRenderTree/LayoutTestController.cpp:
2385 (elementDoesAutoCompleteForElementWithIdCallback):
2386 (LayoutTestController::staticFunctions):
2388 * DumpRenderTree/LayoutTestController.h:
2389 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2390 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
2391 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2392 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
2394 2008-07-25 Chris Fleizach <cfleizach@apple.com>
2396 Reviewed by Beth Dakin
2398 Add support for AXLineForIndex and AXInsertionPointIndex through the
2399 accessibility controller
2401 * DumpRenderTree/AccessibilityUIElement.cpp:
2402 (lineForIndexCallback):
2403 (getInsertionPointLineNumberCallback):
2404 (AccessibilityUIElement::getJSClass):
2405 * DumpRenderTree/AccessibilityUIElement.h:
2406 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2407 (AccessibilityUIElement::insertionPointLineNumber):
2408 (AccessibilityUIElement::lineForIndex):
2410 2008-07-25 Adam Roben <aroben@apple.com>
2412 Try to fix the Windows build bot
2414 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
2415 that don't exist for people outside of Apple.
2417 2008-07-18 Landry Breuil <landry@openbsd.org>
2419 Bug 19975: [OpenBSD] Patches to enable build of WebKit
2421 <https://bugs.webkit.org/show_bug.cgi?id=19975>
2423 Reviewed by David Kilzer.
2425 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
2427 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
2429 CygwinDownloader fails to install necessary packages
2430 https://bugs.webkit.org/show_bug.cgi?id=20075
2432 Reviewed by Mark Rowe.
2434 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
2435 mirrors removed in r34116. Set MIME type to application/octet-stream.
2437 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
2439 CygwinDownloader's make-zip.sh script fails
2440 https://bugs.webkit.org/show_bug.cgi?id=20074
2442 Reviewed by Mark Rowe.
2444 * CygwinDownloader/cygwin-downloader.py:
2446 2008-07-15 Sam Weinig <sam@webkit.org>
2448 Reviewed by Anders Carlsson.
2450 Refactor accessibility testing code.
2453 - AccessibilityController
2454 Controller which has access to the WebView and can provide the focused element, root element
2455 and in the future, elementAtPoint.
2457 - AccessibilityUIElement
2458 Object which provides access to the data provided by the Accessibility APIs.
2460 * DumpRenderTree/AccessibilityController.cpp:
2461 (getFocusedElementCallback):
2462 (getRootElementCallback):
2463 (AccessibilityController::getJSClass):
2464 * DumpRenderTree/AccessibilityController.h:
2465 * DumpRenderTree/AccessibilityUIElement.cpp: Added.
2466 (allAttributesCallback):
2467 (attributesOfLinkedUIElementsCallback):
2468 (attributesOfChildrenCallback):
2471 (getDescriptionCallback):
2473 (getHeightCallback):
2474 (getIntValueCallback):
2475 (getMinValueCallback):
2476 (getMaxValueCallback):
2478 (AccessibilityUIElement::makeJSAccessibilityUIElement):
2479 (AccessibilityUIElement::getJSClass):
2480 * DumpRenderTree/AccessibilityUIElement.h: Added.
2481 (AccessibilityUIElement::platformUIElement):
2482 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2483 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2484 (AccessibilityController::AccessibilityController):
2485 (AccessibilityController::~AccessibilityController):
2486 (AccessibilityController::focusedElement):
2487 (AccessibilityController::rootElement):
2488 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
2489 (AccessibilityUIElement::AccessibilityUIElement):
2490 (descriptionOfValue):
2491 (attributesOfElement):
2492 (nsStringToJSStringRef):
2493 (concatenateAttributeAndValue):
2494 (AccessibilityUIElement::getLinkedUIElements):
2495 (AccessibilityUIElement::getChildren):
2496 (AccessibilityUIElement::attributesOfLinkedUIElements):
2497 (AccessibilityUIElement::attributesOfChildren):
2498 (AccessibilityUIElement::allAttributes):
2499 (AccessibilityUIElement::role):
2500 (AccessibilityUIElement::title):
2501 (AccessibilityUIElement::description):
2502 (AccessibilityUIElement::width):
2503 (AccessibilityUIElement::height):
2504 (AccessibilityUIElement::intValue):
2505 (AccessibilityUIElement::minValue):
2506 (AccessibilityUIElement::maxValue):
2508 2008-07-14 Chris Fleizach <cfleizach@apple.com>
2510 Reviewed by Beth Dakin
2512 Add support to get attributes of the AXChildren of an objecty
2514 * DumpRenderTree/AccessibilityController.cpp:
2515 (attributesOfChildrenForFocusedElementCallback):
2516 (AccessibilityController::staticFunctions):
2517 * DumpRenderTree/AccessibilityController.h:
2518 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2519 (descriptionOfValue):
2520 (AccessibilityController::attributesOfChildrenForFocusedElement):
2522 2008-07-14 Steve Falkenburg <sfalken@apple.com>
2526 * DumpRenderTree/win/DumpRenderTree.vcproj:
2528 2008-07-14 Adam Roben <aroben@apple.com>
2530 Attempted Windows build fix
2532 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
2533 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
2536 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
2538 Reviewed by Geoff Garen.
2540 Eliminate per-thread JavaScript global data instance support and make arbitrary
2541 global data/global object combinations possible.
2543 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2544 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
2545 In this scenario, it was causing crashes after each 10-20 tests, because there was a large
2546 chance for a different thread to cause GC after the context was released.
2548 2008-07-11 Stephanie Lewis <slewis@apple.com>
2550 Reviewed by Darin Adler.
2552 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
2554 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
2556 * DumpRenderTree/mac/DumpRenderTree.mm:
2557 (setDefaultsToConsistentValuesForTesting):
2558 (resetWebViewToConsistentStateBeforeTesting):
2559 * Scripts/run-webkit-tests:
2561 2008-07-10 Steve Falkenburg <sfalken@apple.com>
2565 * DumpRenderTree/win/DumpRenderTree.vcproj:
2567 2008-07-09 Eric Seidel <eric@webkit.org>
2569 Reviewed by Mark Rowe.
2571 Print <div> backgrounds when printing from DRT.
2573 * DumpRenderTree/mac/DumpRenderTree.mm:
2574 (setDefaultsToConsistentValuesForTesting):
2576 2008-07-09 Eric Seidel <eric@webkit.org>
2578 Reviewed by Mark Rowe.
2580 Fix copying of expected results to correct location
2582 * Scripts/run-webkit-tests:
2584 2008-07-09 Eric Seidel <eric@webkit.org>
2588 * DumpRenderTree/LayoutTestController.cpp:
2589 (LayoutTestController::LayoutTestController):
2590 (dumpAsPDFCallback):
2591 (LayoutTestController::staticFunctions):
2592 * DumpRenderTree/LayoutTestController.h:
2593 (LayoutTestController::dumpAsPDF):
2594 (LayoutTestController::setDumpAsPDF):
2595 * DumpRenderTree/mac/DumpRenderTree.mm:
2599 2008-07-09 Eric Seidel <eric@webkit.org>
2603 Add Content-Type support to DumpRenderTree and run-webkit-tests
2604 and move expected.txt files to expected.webarchive
2606 https://bugs.webkit.org/show_bug.cgi?id=15565
2608 * DumpRenderTree/cg/ImageDiffCG.cpp:
2611 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2613 * DumpRenderTree/mac/DumpRenderTree.mm:
2615 * Scripts/run-webkit-tests:
2617 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
2621 Port r34988 to Mac: allow tests to define JavaScript to execute when
2622 NPP_DestroyStream or NPP_URLNotify is called.
2624 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2625 (NPP_New): Remove initialization that happens in pluginAllocate. Look
2626 for new arguments onStreamDestroy and onURLNotify.
2627 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
2628 (executeScript): Code moved from onStreamLoad.
2629 (NPP_NewStream): Call executeScript.
2630 (NPP_DestroyStream): Same.
2631 (NPP_URLNotify): Same.
2633 2008-07-07 Beth Dakin <bdakin@apple.com>
2637 This patch extends DRT accessibility tests to add the ability to
2638 query the intValue, minValue, and maxValue of the focused element.
2640 * DumpRenderTree/AccessibilityController.cpp:
2641 (intValueOfFocusedElementCallback):
2642 (minValueOfFocusedElementCallback):
2643 (maxValueOfFocusedElementCallback):
2644 (AccessibilityController::staticFunctions):
2645 * DumpRenderTree/AccessibilityController.h:
2646 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2647 (AccessibilityController::intValueOfFocusedElement):
2648 (AccessibilityController::minValueOfFocusedElement):
2649 (AccessibilityController::maxValueOfFocusedElement):
2651 2008-07-07 Steve Falkenburg <sfalken@apple.com>
2655 * DumpRenderTree/win/ImageDiff.vcproj:
2657 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
2659 Allow tests to define JavaScript to execute when NPP_DestroyStream or
2660 NPP_URLNotify is called.
2664 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
2665 property, "returnErrorFromNewStream." This is to support the test for
2666 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
2667 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
2668 error from NPP_NewStream.
2669 (pluginGetProperty):
2670 (pluginSetProperty):
2672 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
2673 members, onStreamDestroy and onURLNotify.
2674 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
2675 (NPP_New): Remove initialization of onStreamLoad; this was moved to
2676 pluginAllocate. Look for new arguments onStreamDestroy and
2677 onURLNotify, and store their values.
2678 (NPP_Destroy): Free new members.
2679 (executeScript): Code moved from onStreamLoad
2680 (NPP_NewStream): If returnErrorFromNewStream has been set to true,
2681 return a generic error code. If onStreamLoad is set, execute it as
2683 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
2684 (NPP_URLNotify): Same, for onURLNotify.
2686 2008-07-02 Brady Eidson <beidson@apple.com>
2688 Reviewed by Mitz Pettel and John Sullivan
2690 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
2693 Required to add a layout test for the fix for <rdar://problem/5549871>
2695 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2696 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
2697 [WebFrame stopLoading] to test for the crash reflected in 5549871
2699 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
2700 * DumpRenderTree/LayoutTestController.cpp:
2701 (LayoutTestController::LayoutTestController):
2702 (setStopProvisionalFrameLoadsCallback):
2703 (LayoutTestController::staticFunctions):
2704 * DumpRenderTree/LayoutTestController.h:
2705 (LayoutTestController::stopProvisionalFrameLoads):
2706 (LayoutTestController::setStopProvisionalFrameLoads):
2708 2008-07-01 Chris Fleizach <cfleizach@apple.com>
2710 Reviewed by Beth Dakin
2712 Support ability to get width and height of an element through accessibility
2714 * DumpRenderTree/AccessibilityController.cpp:
2715 (widthOfFocusedElementCallback):
2716 (heightOfFocusedElementCallback):
2717 (AccessibilityController::staticFunctions):
2718 * DumpRenderTree/AccessibilityController.h:
2719 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2720 (AccessibilityController::widthOfFocusedElement):
2721 (AccessibilityController::heightOfFocusedElement):
2723 2008-06-30 Chris Fleizach <cfleizach@apple.com>
2725 Reviewed by Beth Dakin
2727 Support the ability to get the linked ui elements of an object
2729 * DumpRenderTree/AccessibilityController.cpp:
2730 (attributesOfLinkedUIElementsForFocusedElementCallback):
2731 (AccessibilityController::staticFunctions):
2732 * DumpRenderTree/AccessibilityController.h:
2733 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2734 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
2735 (AccessibilityController::allAttributesOfFocusedElement):
2736 (attributesOfElement):
2737 (nsStringToJSStringRef):
2739 2008-06-29 Sam Weinig <sam@webkit.org>
2743 * DumpRenderTree/mac/EventSendingController.mm:
2744 (eventTypeForMouseButtonAndAction):
2746 2008-06-27 Eric Seidel <eric@webkit.org>
2750 Add multi-button mouseevent support to DRT
2751 https://bugs.webkit.org/show_bug.cgi?id=15173
2753 It's now possible to specify the mouse button with:
2754 eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
2756 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2757 * DumpRenderTree/mac/EventSendingController.h:
2758 * DumpRenderTree/mac/EventSendingController.mm:
2759 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2760 (+[EventSendingController webScriptNameForSelector:]):
2761 (eventTypeForMouseButtonAndAction):
2762 (-[EventSendingController updateClickCountForButton:]):
2763 (-[EventSendingController mouseDown:]):
2764 (-[EventSendingController mouseUp:]):
2765 (-[EventSendingController mouseMoveToX:Y:]):
2766 (-[EventSendingController contextClick]):
2768 2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
2772 Copy <test>-expected.png from the right location to /tmp/layout-test-results.
2773 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
2775 * Scripts/run-webkit-tests:
2777 2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
2779 Reviewed by Christian Dywan.
2781 [Gtk] Initialize webview settings before running DRT tests
2782 http://bugs.webkit.org/show_bug.cgi?id=19778
2784 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2785 (setDefaultsToConsistentStateValuesForTesting):
2788 2008-06-26 Darin Adler <darin@apple.com>
2790 * Scripts/check-for-weak-vtables: Fixed comment.
2792 2008-06-26 Darin Adler <darin@apple.com>
2794 * Scripts/check-for-weak-vtables: Added.
2796 2008-06-26 Beth Dakin <bdakin@apple.com>
2800 Do not include AXPosition in the dump of all of the accessibility
2801 attributes since it is screen-specific.
2803 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2804 (AccessibilityController::allAttributesOfFocusedElement):
2806 2008-06-26 Beth Dakin <bdakin@apple.com>
2810 This is a speculative fix for the failing layout test on the build
2811 bot. It seems that the problem that the Build Bot is having is
2812 Tiger-specific. On Tiger, [NSValue description] was not very smart.
2813 So I replaced our call to description with a hand-rolled equivalent
2814 that will match on both platforms.
2816 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2817 (descriptionOfValue):
2819 2008-06-25 Beth Dakin <bdakin@apple.com>
2821 Reviewed by Sam Weinig.
2823 This patch adds support to the AccessibilityController to query the
2824 following attributes specifically, without a full attribute dump:
2825 AXRole, AXTitle, and AXDescription.
2827 * DumpRenderTree/AccessibilityController.cpp:
2828 (allAttributesForFocusedElementCallback):
2829 (roleOfFocusedElementCallback):
2830 (titleOfFocusedElementCallback):
2831 (descriptionOfFocusedElementCallback):
2832 (AccessibilityController::staticFunctions):
2833 * DumpRenderTree/AccessibilityController.h:
2834 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2835 (AccessibilityController::allAttributesForFocusedElement):
2836 (concatenateAttributeAndValue):
2837 (AccessibilityController::roleOfFocusedElement):
2838 (AccessibilityController::titleOfFocusedElement):
2839 (AccessibilityController::descriptionOfFocusedElement):
2841 2008-06-24 Dan Bernstein <mitz@apple.com>
2843 Reviewed by Stephanie Lewis.
2845 - move the linker flags from the debug configuration in the project
2846 to the shared configuration
2848 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2849 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2851 2008-06-24 Dan Bernstein <mitz@apple.com>
2853 - try to fix the Tiger build
2855 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2857 2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
2859 Reviewed by Darin Adler.
2861 Fix for <rdar://problem/5884881> Make DumpRenderTree support
2864 This patch adds some basic support for accessibility layout tests
2867 * DumpRenderTree/AccessibilityController.cpp: Added.
2868 (AccessibilityController::AccessibilityController):
2869 (AccessibilityController::~AccessibilityController):
2870 (dumpCurrentAttributesCallback):
2871 (AccessibilityController::makeWindowObject):
2872 (AccessibilityController::getJSClass):
2873 (AccessibilityController::staticFunctions):
2874 * DumpRenderTree/AccessibilityController.h: Added.
2875 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2876 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
2877 (descriptionOfValue):
2878 (AccessibilityController::dumpCurrentAttributes):
2879 * DumpRenderTree/mac/DumpRenderTree.mm:
2880 * DumpRenderTree/mac/FrameLoadDelegate.h:
2881 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2882 (-[FrameLoadDelegate init]):
2883 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2885 2008-06-24 John Sullivan <sullivan@apple.com>
2887 Reviewed by Dan Bernstein
2889 * Scripts/extract-localizable-strings:
2890 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
2891 list of debugging macros, to avoid noise when keeping the list of localized string
2892 exceptions up to date
2894 2008-06-24 Dan Bernstein <mitz@apple.com>
2896 Rubber-stamped by Darin Adler.
2898 - add a font family for testing font-weight
2900 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
2901 flags to create data sections for the WeightWatcher fonts.
2902 * DumpRenderTree/fonts: Added.
2903 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
2904 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
2905 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
2906 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
2907 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
2908 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
2909 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
2910 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
2911 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
2912 * DumpRenderTree/mac/DumpRenderTree.mm:
2913 (activateFonts): Renamed activateAhemFont to this and made it activate
2914 the WeightWatcher fonts in addition to Ahem.
2915 (prepareConsistentTestingEnvironment): Adjusted for the name change.
2916 * DumpRenderTree/win/DumpRenderTree.cpp:
2917 (initialize): Added the WeightWatcher fonts.
2919 2008-06-20 Brent Fulgham <bfulgham@gmail.com>
2921 Reviewed by Darin Adler.
2923 Extend the build-webkit (and set-webkit-configuration) script to
2924 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
2926 * Scripts/build-webkit: Add --cairo-win32 to the help message
2927 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
2928 subroutine to recognize the --cairo-win32 flag. When present,
2929 the build configuration is changed from Debug/Release to
2930 Debug_Cairo/Release_Cairo. This flag is only active when the
2931 isCygwin() test is true.
2933 2008-06-17 Dan Bernstein <mitz@apple.com>
2935 Reviewed by Justin Garcia.
2937 - prefer Leopard results when running on Snow Leopard.
2939 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
2941 * Scripts/webkitdirs.pm: Added isSnowLeopard().
2943 2008-06-15 Darin Adler <darin@apple.com>
2945 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2947 2008-06-15 Darin Adler <darin@apple.com>
2949 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2951 2008-06-15 Darin Adler <darin@apple.com>
2953 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2955 2008-06-15 Darin Adler <darin@apple.com>
2957 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2959 2008-06-15 Darin Adler <darin@apple.com>
2961 * Scripts/do-file-rename: Updated.
2962 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2964 2008-06-15 Darin Adler <darin@apple.com>
2966 * Scripts/do-file-rename: Updated for the latest round of renaming.
2967 * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
2969 2008-06-15 Darin Adler <darin@apple.com>
2971 * Scripts/create-exports: Added.
2972 * Scripts/do-file-rename: Added some planned renames.
2973 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2975 2008-06-15 Darin Adler <darin@apple.com>
2977 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2979 2008-06-15 Maciej Stachowiak <mjs@apple.com>
2983 - rename testkjs to jsc
2985 * Scripts/build-jsc: Copied from Scripts/build-testkjs.
2986 * Scripts/build-testkjs: Removed.
2987 * Scripts/run-javascriptcore-tests:
2988 * Scripts/run-jsc: Copied from Scripts/run-testkjs.
2989 * Scripts/run-sunspider:
2990 * Scripts/run-testkjs: Removed.
2991 * Scripts/sunspider-compare-results:
2993 2008-06-14 Darin Adler <darin@apple.com>
2995 * Scripts/do-webcore-rename: Moved planned renames into a separate hash
2996 from the actual renames. Removed many renames that are either done or
2999 2008-06-14 Darin Adler <darin@apple.com>
3001 * Scripts/do-webcore-rename: Fixed obvious typo.
3003 2008-06-13 Darin Adler <darin@apple.com>
3005 * Scripts/make-js-test-wrappers: Added three more exceptions.
3007 2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
3011 For the qmake based build make it possible to build against makespecs where
3012 QMAKE_CC is defined in a configuration file included from qmake.conf.
3014 * Scripts/webkitdirs.pm: Added support for include() statements in
3017 2008-06-09 Alp Toker <alp@nuanti.com>
3019 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
3020 each of the tools since these are no longer set globally.
3024 2008-06-08 Darin Adler <darin@apple.com>
3026 * Scripts/make-js-test-wrappers: Added another exception.
3028 2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
3030 Reviewed by Timothy.
3032 Remove the --squirrelfish option from SunSpider, as it is no longer needed.
3034 * Scripts/run-sunspider:
3036 2008-06-05 Alp Toker <alp@nuanti.com>
3038 Build fix for r34387.
3042 2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
3046 Add an exception for Opcode.o to the global initializers check so that
3047 we can dump instruction statistics in the JavaScript virtual machine.
3049 * Scripts/check-for-global-initializers:
3051 2008-05-30 Steve Falkenburg <sfalken@apple.com>
3053 Generate an isolated COM manifest for registry free COM.
3055 * DumpRenderTree/win/DumpRenderTree.vcproj:
3057 2008-06-02 Anders Carlsson <andersca@apple.com>
3059 Reviewed by David Hyatt and Mitz.
3061 <rdar://problem/5704119>
3062 repro crash in WebCore::RenderPart::setWidget (plugin-related?)
3064 Call -[WebView display] in the "plug-in" failed delegate method, simulating
3065 the sheet that Safari puts up.
3067 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3068 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
3070 2008-05-30 Timothy Hatcher <timothy@apple.com>
3072 Made the starting line number of scripts be 1-based throughout the engine.
3073 This cleans up script line numbers so they are all consistent now.
3075 Reviewed by Oliver Hunt.
3077 * DumpRenderTree/mac/ObjCController.m:
3078 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
3079 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
3080 (runJavaScriptThread): Ditto.
3081 * DumpRenderTree/win/DumpRenderTree.cpp:
3082 (runJavaScriptThread): Ditto.
3084 2008-05-29 Geoffrey Garen <ggaren@apple.com>
3086 Reviewed by Adam Roben.
3088 Fixed VCSUtils.pm to work with git repositories inside symlinks.
3090 * Scripts/VCSUtils.pm: Compute a relative path from the git repository
3091 root, instead of the root of the filesystem, to work around a bug in
3092 abs2rel when traversing symlinked home directories.
3094 2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
3096 Reviewed by Darin Adler.
3098 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
3100 https://bugs.webkit.org/show_bug.cgi?id=19311
3102 * Scripts/webkitdirs.pm:
3104 2008-05-29 Alexey Proskuryakov <ap@webkit.org>
3106 Reviewed by Adam Roben.
3108 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
3109 configuration files.
3111 * Scripts/run-iexploder-tests:
3112 * Scripts/run-mangleme-tests:
3113 Renamed runSafari to not conflict with the one in webkitdirs.
3114 Added SSLCertificateFile option for httpd, as now needed.
3116 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
3118 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
3120 * wx/browser/browser.cpp:
3123 2008-05-24 Andreia Gaita <shana@isninja.com>
3125 Reviewed by Alp Toker.
3127 cygwin-downloader.py fixes.
3129 Remove two non-working mirrors. Add a check for missing dependency
3130 packages to avoid bailing out on an inconsistent Cygwin package list.
3132 * CygwinDownloader/cygwin-downloader.py:
3134 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
3136 Reviewed by Darin Adler.
3138 Remove useQmake usage. QMake build doesn't support Gtk port
3141 Also fix 2 occurences of "Web Kit". Should be WebKit.
3143 * Scripts/build-webkit:
3144 * Scripts/run-javascriptcore-tests:
3145 * Scripts/run-launcher:
3146 * Scripts/run-webkit-tests:
3147 * Scripts/webkitdirs.pm:
3149 2008-05-22 Stephanie Lewis <slewis@apple.com>
3153 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
3155 * DumpRenderTree/mac/UIDelegate.mm:
3156 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
3157 * DumpRenderTree/win/UIDelegate.cpp:
3158 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
3160 2008-05-21 Adele Peterson <adele@apple.com>
3164 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
3166 * DumpRenderTree/win/UIDelegate.cpp:
3167 (UIDelegate::webViewFocus): Added.
3168 (UIDelegate::webViewUnfocus): Added.
3169 * DumpRenderTree/win/UIDelegate.h:
3171 2008-05-21 Mark Rowe <mrowe@apple.com>
3173 Rubber-stamped by Stephanie Lewis.
3175 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
3176 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
3179 * Scripts/run-safari:
3181 2008-05-21 Stephanie Lewis <slewis@apple.com>
3183 Reviewed by Maciej, Mark.
3185 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
3187 * Scripts/run-webkit-tests:
3188 * Scripts/webkitdirs.pm:
3190 2008-05-20 Mark Rowe <mrowe@apple.com>
3192 Reviewed by Stephanie Lewis.
3194 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
3196 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
3197 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
3198 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
3199 pass an argument to run-webkit-tests after having built with "make x86_64".
3201 * Scripts/gdb-safari:
3202 * Scripts/run-safari:
3203 * Scripts/run-webkit-tests:
3204 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
3205 preferred architecture, and exporting of the environment variables for 'arch' out into
3206 separate subroutines.
3208 2008-05-20 Mark Rowe <mrowe@apple.com>
3210 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
3214 === End merge of squirrelfish ===
3216 2008-04-14 Maciej Stachowiak <mjs@apple.com>
3220 - added support for --ubench mode
3222 * Scripts/run-sunspider:
3224 2008-03-26 Geoffrey Garen <ggaren@apple.com>
3226 Reviewed by Oliver Hunt.
3228 --squirrelfish mode: pared down tests for squirrelfish to chew on.
3230 * Scripts/run-sunspider:
3232 === Start merge of squirrelfish ===
3234 2008-05-21 Darin Adler <darin@apple.com>
3236 * Scripts/make-js-test-wrappers: Added another exception.
3238 2008-05-19 Stephanie Lewis <slewis@apple.com>
3242 Explicitly set run mode to 32bit unless overridden to avoid
3243 confusion when running tests
3245 * Scripts/build-dumprendertree:
3246 * Scripts/gdb-safari:
3247 * Scripts/run-webkit-tests:
3248 * Scripts/webkitdirs.pm:
3250 2008-05-16 Stephanie Lewis <slewis@apple.com>
3254 Print out pending unload event count. Also print out main frame name to match Mac.
3256 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3257 (descriptionSuitableForTestResult):
3258 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
3260 2008-05-16 Timothy Hatcher <timothy@apple.com>
3262 Remove the Drosera project, code and resources since it has been
3263 replaced with the Web Inspector's debugger. Removes references to
3264 Drosera in various scripts and makefiles.
3266 Rubber-stamped by Mark Rowe.
3268 * BuildSlaveSupport/build-launcher-app:
3269 * Drosera/DebuggerDocument.cpp: Removed.
3270 * Drosera/DebuggerDocument.h: Removed.
3271 * Drosera/Drosera.icns: Removed.
3272 * Drosera/DroseraWin.make: Removed.
3273 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
3274 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
3275 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
3276 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
3277 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
3278 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
3279 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3280 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
3281 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3282 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3283 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
3284 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
3285 * Drosera/Images/Drosera.ico: Removed.
3286 * Drosera/Images/SourceArrow.png: Removed.
3287 * Drosera/Images/SourceArrowBlank.png: Removed.
3288 * Drosera/Images/SourceArrowOpen.png: Removed.
3289 * Drosera/Images/background_stripe.png: Removed.
3290 * Drosera/Images/breakPoint.tif: Removed.
3291 * Drosera/Images/breakPointDisabled.tif: Removed.
3292 * Drosera/Images/breakpointeditor.png: Removed.
3293 * Drosera/Images/close.tif: Removed.
3294 * Drosera/Images/close_active.tif: Removed.
3295 * Drosera/Images/close_hover.tif: Removed.
3296 * Drosera/Images/console.png: Removed.
3297 * Drosera/Images/continue.tif: Removed.
3298 * Drosera/Images/fileIcon.jpg: Removed.
3299 * Drosera/Images/finishFunction.tif: Removed.
3300 * Drosera/Images/glossyFooterFill.tif: Removed.
3301 * Drosera/Images/glossyHeader.png: Removed.
3302 * Drosera/Images/glossyHeaderPressed.png: Removed.
3303 * Drosera/Images/gradientBackground.png: Removed.
3304 * Drosera/Images/gutter.png: Removed.
3305 * Drosera/Images/navLeftDisabled.png: Removed.
3306 * Drosera/Images/navLeftNormal.png: Removed.
3307 * Drosera/Images/navLeftPressed.png: Removed.
3308 * Drosera/Images/navRightDisabled.png: Removed.
3309 * Drosera/Images/navRightNormal.png: Removed.
3310 * Drosera/Images/navRightPressed.png: Removed.
3311 * Drosera/Images/pause.tif: Removed.
3312 * Drosera/Images/popUpArrows.png: Removed.
3313 * Drosera/Images/programCounter.tif: Removed.
3314 * Drosera/Images/programCounterBreakPoint.tif: Removed.
3315 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
3316 * Drosera/Images/run.tif: Removed.
3317 * Drosera/Images/siteCollapsed.tif: Removed.
3318 * Drosera/Images/siteExpanded.tif: Removed.
3319 * Drosera/Images/siteIcon.tif: Removed.
3320 * Drosera/Images/small.ico: Removed.
3321 * Drosera/Images/splitterBar.tif: Removed.
3322 * Drosera/Images/splitterDimple.tif: Removed.
3323 * Drosera/Images/step.tif: Removed.
3324 * Drosera/Images/stepOut.tif: Removed.
3325 * Drosera/Images/stepOver.tif: Removed.
3326 * Drosera/Images/stop.tif: Removed.
3327 * Drosera/Images/toolbarBackground.png: Removed.
3328 * Drosera/Images/verticalSplitterBar.tiff: Removed.
3329 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
3330 * Drosera/Makefile: Removed.
3331 * Drosera/breakpointEditor.html: Removed.
3332 * Drosera/config.h: Removed.
3333 * Drosera/console.css: Removed.
3334 * Drosera/console.html: Removed.
3335 * Drosera/console.js: Removed.
3336 * Drosera/debugger.css: Removed.
3337 * Drosera/debugger.html: Removed.
3338 * Drosera/debugger.js: Removed.
3339 * Drosera/mac/DebuggerApplication.h: Removed.
3340 * Drosera/mac/DebuggerApplication.mm: Removed.
3341 * Drosera/mac/DebuggerClient.h: Removed.
3342 * Drosera/mac/DebuggerClient.mm: Removed.
3343 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
3344 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
3345 * Drosera/mac/Info.plist: Removed.
3346 * Drosera/mac/LauncherInfo.plist: Removed.
3347 * Drosera/mac/Makefile: Removed.
3348 * Drosera/mac/ServerConnection.h: Removed.
3349 * Drosera/mac/ServerConnection.mm: Removed.
3350 * Drosera/mac/launcher.m: Removed.
3351 * Drosera/mac/main.m: Removed.
3352 * Drosera/viewer.css: Removed.
3353 * Drosera/viewer.html: Removed.
3354 * Drosera/win/BaseDelegate.h: Removed.
3355 * Drosera/win/DebuggerClient.cpp: Removed.
3356 * Drosera/win/DebuggerClient.h: Removed.
3357 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
3358 * Drosera/win/Drosera.cpp: Removed.
3359 * Drosera/win/Drosera.h: Removed.
3360 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
3361 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
3362 * Drosera/win/DroseraPrefix.cpp: Removed.
3363 * Drosera/win/DroseraPrefix.h: Removed.
3364 * Drosera/win/Info.plist: Removed.
3365 * Drosera/win/ServerConnection.cpp: Removed.
3366 * Drosera/win/ServerConnection.h: Removed.
3367 * Drosera/win/resource.h: Removed.
3369 * Scripts/build-drosera: Removed.
3370 * Scripts/gdb-drosera: Removed.
3371 * Scripts/run-drosera: Removed.
3372 * Scripts/run-drosera-nightly.cmd: Removed.
3373 * Scripts/run-drosera.cmd: Removed.
3374 * Scripts/webkitdirs.pm:
3376 2008-05-15 Stephanie Lewis <slewis@apple.com>
3380 Dump the unload count for a frame after parsing is finished.
3382 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3383 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3385 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
3387 Reviewed by Dan Bernstein.
3389 https://bugs.webkit.org/show_bug.cgi?id=10707
3390 DumpRenderTree should not be able to access non-local resources
3392 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3393 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3394 Block them, and complain.
3396 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
3398 wx build fix. Update the version of libpng to download and instsall.
3400 * wx/install-unix-extras:
3402 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
3406 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
3407 We now force the return value to be numeric.
3409 - Removed platform checks as it was a work around the previous issue.
3411 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
3413 * Scripts/build-webkit:
3414 * Scripts/webkitdirs.pm:
3416 2008-05-12 Adam Roben <aroben@apple.com>
3418 Support for testing NPN_PostURL
3420 Reviewed by Anders Carlsson.
3422 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3423 (toCString): Added this helper function.
3424 (testPostURLFile): Added. Writes the passed-in content to the
3425 passed-in file and calls NPN_PostURL with the passed-in URL and
3427 (pluginInvoke): Added a case for testPostURLFile.
3428 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3429 (followShortcuts): Changed to allow paths that don't yet exist.
3431 2008-05-12 Mark Rowe <mrowe@apple.com>
3433 Reviewed by Sam Weinig.
3435 Minor cleanup of the DRT Xcode project.
3437 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
3438 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
3439 not need to be there.
3441 2008-05-12 Anders Carlsson <andersca@apple.com>
3445 Add support for testing application caches.
3447 * DumpRenderTree/mac/DumpRenderTree.mm:
3451 (resetWebViewToConsistentStateBeforeTesting):
3452 Turn on support for the application cache.
3454 2008-05-09 Mark Rowe <mrowe@apple.com>
3456 Reviewed by Anders Carlsson.
3458 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
3460 It currently does not attempt to print events which means that plugins/mouse-events.html
3461 will fail when run 64-bit. All other tests that use this plugin pass.
3463 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3464 (testGetIntIdentifier):
3465 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3469 2008-05-09 Brady Eidson <beidson@apple.com>
3471 Reviewed by Adam Roben
3473 Explicitly call shutDownWebKit() before quitting.
3475 * Drosera/win/Drosera.cpp:
3478 * DumpRenderTree/win/DumpRenderTree.cpp:
3481 2008-05-09 Mark Rowe <mrowe@apple.com>
3483 Fix the Tiger build of Drosera.
3485 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
3487 2008-05-09 Sam Weinig <sam@webkit.org>
3489 Rubber-stamped by Mark Rowe.
3491 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
3493 * Scripts/build-webkit:
3495 2008-05-08 Mark Rowe <mrowe@apple.com>
3497 Another attempt at a Tiger build fix.
3499 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
3501 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3503 2008-05-08 Mark Rowe <mrowe@apple.com>
3505 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
3507 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3509 2008-05-08 Mark Rowe <mrowe@apple.com>
3511 Reviewed by Oliver Hunt and Dan Bernstein.
3513 Update DumpRenderTree to build 64-bit.
3515 The three major changes here are:
3516 1) Use NSInteger in the appropriate places.
3517 2) Use ColorSync API that is available in 64-bit to switch display profiles.
3518 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
3520 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
3521 needs updated to successfully build.
3523 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
3524 * DumpRenderTree/mac/DumpRenderTree.mm:
3525 (swizzleAllMethods):
3527 (prepareConsistentTestingEnvironment):
3528 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3529 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
3530 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3531 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3532 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3533 (restoreColorSpace):
3534 (failedGettingCurrentProfile):
3535 (setDefaultColorProfileToRGB):
3537 2008-05-08 Mark Rowe <mrowe@apple.com>
3539 Reviewed by Darin Adler.
3541 Clean up Drosera so that it will build 64-bit.
3543 * Drosera/mac/DebuggerApplication.mm:
3544 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
3545 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
3546 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
3548 2008-05-07 David Kilzer <ddkilzer@apple.com>
3550 Use File::Find and Getopt::Long in make-js-test-wrappers
3552 Reviewed by Darin Adler.
3554 * Scripts/make-js-test-wrappers:
3555 - Updated Apple copyright statement.
3556 - Added command-line switch parsing and -h|--help switch.
3557 - Allowed user to pass list of files/directories on which to do
3558 a restricted search for TEMPLATE.html files. The default
3559 behavior is still to search the entire LayoutTests directory.
3560 - Removed duplicate 'use strict' statement.
3561 - Replaced use of `find` statements with File::Find::find().
3562 - Remove unneeded chomp() calls now that we use File::Find.
3563 (directoryFilter): Added. Filters .svn directories when used
3564 with File::Find::find().
3565 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
3568 2008-05-05 Steve Falkenburg <sfalken@apple.com>
3570 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
3572 * DumpRenderTree/win/DumpRenderTree.vcproj:
3573 * DumpRenderTree/win/ImageDiff.vcproj:
3575 2008-05-05 Adele Peterson <adele@apple.com>
3579 Look for the right ImageDiff executable for debug builds.
3581 * Scripts/run-webkit-tests:
3583 2008-05-05 Darin Adler <darin@apple.com>
3585 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
3588 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
3592 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
3593 tests expect to be 480x360)
3595 * DumpRenderTree/qt/DumpRenderTree.cpp:
3596 (WebCore::DumpRenderTree::open):
3598 2008-05-02 Dan Bernstein <mitz@apple.com>
3600 Reviewed by Adam Roben.
3602 - add an option to svn-apply to set the reviewer name in change logs
3604 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
3606 2008-05-01 David Kilzer <ddkilzer@apple.com>
3608 Clean up configuration usage in run-webkit-tests
3612 * Scripts/run-webkit-tests: Parse configuration switches using
3613 passedConfiguration() from webkitdirs.pm like every other script.
3614 Note that we must still call setConfiguration() afterwards in
3615 case the --configuration switch was used. Use $configurationOption
3616 when running build-dumprendertree instead of recreating the switch.
3618 2008-04-29 Adam Roben <aroben@apple.com>
3620 Restore the beloved COMPtr::operator&
3622 2008-04-29 Adam Roben <aroben@apple.com>
3626 Replace COMPtr::operator& with COMPtr::adoptionPointer.
3628 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
3630 Reviewed by Darin Adler.
3632 Fix run-webkit-tests --threading
3633 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
3634 Proxy server issue in Sunday's Nightly
3636 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
3637 (runJavaScriptThread):
3638 (startJavaScriptThreads):
3639 (stopJavaScriptThreads):
3640 Spawned threads were immediately detached, unlike the original ones, so joining them
3641 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
3642 waits for them all to exit.
3644 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
3648 Reset dumping resource load callbacks to false for the next test
3651 * DumpRenderTree/qt/jsobjects.cpp:
3652 (LayoutTestController::reset):
3654 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
3658 Adapt to the latest API changes in WebKit/qt/Api.
3660 * DumpRenderTree/qt/DumpRenderTree.cpp:
3661 (WebCore::DumpRenderTree::DumpRenderTree):
3662 * DumpRenderTree/qt/jsobjects.cpp:
3664 2008-04-26 Robin Dunn <robin@alldunn.com>
3666 Reviewed by Kevin Ollivier.
3668 Delete the DerivedSources after make clean has been done so that the DerivedSources
3669 don't get re-created. Also, use the proper extension for the Win wxPython extension.
3671 https://bugs.webkit.org/show_bug.cgi?id=18756
3673 * wx/build-wxwebkit:
3675 2008-04-26 Adam Barth <hk9565@gmail.com>
3677 Reviewed by Adam Roben and Sam Weinig.
3679 Updates LayoutTestController to use host instead of domain.
3681 Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
3683 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3684 (LayoutTestController::setDatabaseQuota):
3685 * DumpRenderTree/mac/UIDelegate.mm:
3686 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
3688 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
3690 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
3692 * wx/install-unix-extras:
3694 2008-04-26 Robin Dunn <robin@alldunn.com>
3696 Reviewed by Kevin Ollivier.
3698 Allow the user to set the path to SWIG using an environment variable.
3700 https://bugs.webkit.org/show_bug.cgi?id=18660
3702 * wx/build-wxwebkit:
3704 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
3706 wx build fix. Download the latest libpng version for building the
3709 * wx/install-unix-extras:
3711 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
3715 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
3717 Similar to Editing and Frameloading we do the dumping within WebCore
3720 * DumpRenderTree/qt/jsobjects.cpp:
3721 (LayoutTestController::dumpResourceLoadCallbacks):
3722 * DumpRenderTree/qt/jsobjects.h:
3724 2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3726 Reviewed by Maciej Stachowiak.
3728 http://bugs.webkit.org/show_bug.cgi?id=18485
3729 Typo and documentation fix for build-webkit
3731 * Scripts/build-webkit:
3733 2008-04-24 Anders Carlsson <andersca@apple.com>
3737 Don't call fprintf from the signal handler.
3739 * DumpRenderTree/mac/DumpRenderTree.mm:
3742 2008-04-23 Adam Roben <aroben@apple.com>
3744 Make crashes be reported as crashes, not hangs
3746 Reviewed by David Kilzer.
3748 * Scripts/run-webkit-tests:
3749 (top level): Use the new status field of the output from
3750 readFromDumpToolWithTimer to determine if the test crashed or hung.
3751 (sub readFromDumpToolWithTimer):
3752 - If we fail to read a line and $! is not EAGAIN, then we've crashed
3753 and should not try to read any more.
3754 - Changed the timedout field to a more general status field.
3756 2008-04-22 David Kilzer <ddkilzer@apple.com>
3758 Bug 18683: update-webkit returns 0 even if it fails
3760 <https://bugs.webkit.org/show_bug.cgi?id=18683>
3762 Reviewed by Mitz Pettel.
3764 * Scripts/update-webkit:
3765 (runSvnUpdate): Die if close() fails.
3767 2008-04-21 Adam Roben <aroben@apple.com>
3769 Flush stdout/stderr after printing every #EOF separator
3771 This fixes a hang when running the pixel tests on Windows
3773 Reviewed by Mitz Pettel.
3775 * DumpRenderTree/win/DumpRenderTree.cpp:
3777 (main): We don't have to flush stdout/stderr in the arguments loop
3778 anymore, as runTest flushes for us.
3780 2008-04-21 Adam Roben <aroben@apple.com>
3784 * Scripts/run-webkit-tests:
3785 (sub readFromDumpToolWithTimer): Use readline instead of read to
3786 ensure that we don't read past the #EOF marker.
3788 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3792 Build fix for Qt 4.3
3794 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
3795 always defined. Do this by adding defines to the compiler line
3797 * DumpRenderTree/qt/DumpRenderTree.pro:
3799 2008-04-19 Mike Hommey <glandium@debian.org>
3801 Reviewed by Alp Toker.
3803 Don't build GtkLauncher and DumpRenderTree with rpath.
3807 2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3809 Reviewed by Alp Toker.
3811 http://bugs.webkit.org/show_bug.cgi?id=16620
3812 [GTK] Autotools make dist and make check support
3818 2008-04-18 Adam Roben <aroben@apple.com>
3820 Drop the hang timer to 30 seconds
3822 This matches what DRT/mac was using.
3824 Reviewed by Mitz Pettel.
3826 * Scripts/run-webkit-tests:
3828 2008-04-18 Adam Roben <aroben@apple.com>
3830 Get rid of DRT's Watchdog
3832 run-webkit-tests now detects hangs and samples DRT as needed.
3834 Reviewed by Mitz Pettel.
3836 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
3837 Watchdog* files from the project.
3838 * DumpRenderTree/Watchdog.cpp: Removed.
3839 * DumpRenderTree/Watchdog.h: Removed.
3840 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
3843 * DumpRenderTree/mac/WatchdogMac.h: Removed.
3844 * DumpRenderTree/mac/WatchdogMac.mm: Removed.
3845 * Scripts/run-webkit-tests:
3846 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
3847 (sub sampleDumpTool): Added. Writes a sample report to
3848 ~/Library/Logs/DumpRenderTree/HangReport.txt.
3850 2008-04-18 Simon Hausmann <hausmann@webkit.org>
3854 Adapt to the API changes in WebKit/qt
3856 * DumpRenderTree/qt/DumpRenderTree.cpp:
3857 (WebCore::WebPage::WebPage):
3858 (WebCore::DumpRenderTree::DumpRenderTree):
3859 (WebCore::DumpRenderTree::initJSObjects):
3860 (WebCore::DumpRenderTree::dumpFramesAsText):
3861 (WebCore::DumpRenderTree::dump):
3863 2008-04-17 Adam Roben <aroben@apple.com>
3865 Fix many tests on Windows
3867 * Scripts/run-webkit-tests:
3868 (readFromDumpToolWithTimer):
3869 - Use read instead of sysread to ensure that we don't interfere with
3870 other uses of buffered IO in this script.
3871 (setFileHandleNonBlocking): Actually set the filehandle to blocking
3874 2008-04-17 Adam Roben <aroben@apple.com>
3878 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
3879 whatever newline happens to be at the end of what we've read.
3881 2008-04-17 Adam Roben <aroben@apple.com>
3883 Remove DRT/win's hang timer
3885 run-webkit-tests takes care of this for us now
3887 Reviewed by Anders Carlsson.
3889 * DumpRenderTree/win/DumpRenderTree.cpp:
3891 2008-04-17 Adam Roben <aroben@apple.com>
3893 Don't wait for the hang timer twice in the case of a hang
3895 Previously we'd wait for a hang while reading both stdout and stderr
3896 from DRT. Now we'll only wait for one or the other.
3898 Reviewed by Anders Carlsson.
3900 * Scripts/run-webkit-tests:
3901 (top level): Don't wait for stderr to time out if stdout already timed
3903 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
3904 after the first read that returns no data.
3906 2008-04-17 Adam Roben <aroben@apple.com>
3908 Don't throw away the output from timed out tests
3910 Reviewed by Anders Carlsson.
3912 * Scripts/run-webkit-tests:
3913 (top level): Updated for changes to readFromDumpToolWithTimer.
3914 (readFromDumpToolWithTimer): Return a hash that contains both the
3915 output and whether or not the test timed out.
3917 2008-04-17 Adam Roben <aroben@apple.com>
3919 Make the hang timer 60 seconds
3921 * Scripts/run-webkit-tests:
3923 2008-04-17 Adam Roben <aroben@apple.com>
3925 Get rid of carriage returns in DRT/win's stderr
3927 Reviewed by Eric Seidel.
3929 * DumpRenderTree/win/DumpRenderTree.cpp:
3930 (main): Mark stderr as binary like we already do for stdout.
3932 2008-04-17 Adam Roben <aroben@apple.com>
3934 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
3937 <https://bugs.webkit.org/show_bug.cgi?id=17678>
3939 We now abort tests that take longer than 60 seconds to produce output.
3940 This matches the watchdog timer in DRT/mac and DRT/win (which we can
3943 Reviewed by Eric Seidel.
3945 * Scripts/run-webkit-tests:
3946 (top level): Read DRT's output using the new readFromDumpToolWithTimer
3947 subroutine. If readFromDumpToolWithTimer returns undefined it means
3948 the test timed out, so we register the test as a hang and move on.
3949 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
3950 both crashed and timed out tests. If the test timed out, we kill DRT
3952 (sub linksForTimedOutTest): Added. We don't have any output to link to for
3953 tests that timed out.
3954 (sub recordActualResultsAndDiff): Don't call length on undefined.
3955 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
3956 from a filehandle until an #EOF is reached or
3957 $maximumSecondsWithoutOutput have elapsed.
3958 (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
3961 2008-04-17 Adam Roben <aroben@apple.com>
3963 Refactor test results page generation
3965 Reviewed by Eric Seidel.
3967 * Scripts/run-webkit-tests:
3968 (sub htmlForResultsSection): Added. Takes a set of tests, a
3969 description, and a subroutine to generate the links for each test, and
3970 creates a HTML string containing a table of the tests and their
3972 (sub linksForExpectedAndActualResults): Added. Replaces the
3973 htmlForExpectedAndActualResults subroutine.
3974 (sub linksForMismatchTest): Added.
3975 (sub linksForCrashOrErrorTest): Added.
3976 (sub linksForNewTest): Added.
3978 2008-04-17 Adam Roben <aroben@apple.com>
3980 Print the extension for all tests in the test results page
3982 Reviewed by Eric Seidel.
3984 * Scripts/run-webkit-tests:
3986 2008-04-17 Adam Roben <aroben@apple.com>
3988 Move code that counts finished tests into a subroutine
3990 Reviewed by Eric Seidel.
3992 * Scripts/run-webkit-tests:
3993 (sub countFinishedTest): Added.
3995 2008-04-17 Adam Roben <aroben@apple.com>
3997 Move code that handles a crash into a subroutine
3999 Reviewed by Eric Seidel.
4001 * Scripts/run-webkit-tests:
4002 (sub testCrashed): Added.
4004 2008-04-17 Eric Seidel <eric@webkit.org>
4008 Rename RenderView to RenderViewport in the next rename patch.
4010 * Scripts/do-webcore-rename:
4012 2008-04-17 Mario Bensi <mbensi@pleyo.com>
4014 Reviewed by Alp Toker.
4016 http://bugs.webkit.org/show_bug.cgi?id=18543
4017 DumpRenderTree gtk freeze
4019 fix DumpRenderTree gtk freeze
4021 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4024 2008-04-15 Anders Carlsson <andersca@apple.com>
4028 * Scripts/build-webkit:
4030 2008-04-15 Anders Carlsson <andersca@apple.com>
4034 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
4036 * Scripts/build-webkit:
4038 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
4042 Fix compilation with Qt namespaces
4044 Qt can be configured to have all of its classes inside a specified namespaces.
4045 This is for example used in plugin/component environments like Eclipse.
4047 This change makes it possible to let the Qt port compile against a namespaced
4048 Qt by the use of macros Qt provides to properly forward declare Qt classes in
4051 * DumpRenderTree/qt/DumpRenderTree.h:
4053 2008-04-08 Kevin Ollivier <kevino@theolliviers.com>
4055 Reviewed by Darin Adler.
4057 Add a script that propagates any file changes made to the Bakefiles
4058 over to GTK and Qt build systems. Still needs to be wired into
4061 * Scripts/update-sources-list.py: Added.
4063 2008-04-08 Mark Rowe <mrowe@apple.com>
4065 Clean up after Brady.
4067 * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
4069 2008-04-08 Brady Eidson <beidson@apple.com>
4071 Reviewed by Mitzpettel
4073 Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
4074 -WebArchive subresources dump in random order, intermittent failures
4076 * DumpRenderTree/mac/DumpRenderTree.mm:
4077 (compareResourceURLs): Sorting function based on the resource URLs
4078 (serializeWebArchiveToXML): Sort the subresource array
4080 2008-04-07 Brady Eidson <beidson@apple.com>
4082 OMG, BUILD - please!
4084 * Scripts/build-webkit:
4086 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4090 * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
4091 * Running these tests on windows and other platforms might need some work.
4093 * Scripts/run-webkit-tests:
4095 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4099 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
4100 is not exporting enough to create the output in DRT itself. Settle with the approach
4101 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
4102 * run-webkit-tests http/tests(/loading) can now be executed.
4103 * For tests in loading/ directories we are going to throw away the dirty
4104 QWebPage to start with something clean.
4107 * DumpRenderTree/qt/DumpRenderTree.cpp:
4109 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4113 * Treat http and https as special URLs as well. Change the main.cpp and
4114 DumpRenderTree.cpp to handle http and https URIs as input.
4115 * I'm not doing the clean up and merging of these two checks now.
4118 * DumpRenderTree/qt/DumpRenderTree.cpp:
4119 (WebCore::DumpRenderTree::readStdin):
4120 * DumpRenderTree/qt/main.cpp:
4123 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4127 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
4128 located in a directory with the name "loading". And this will autoamtically
4130 * Remove this method from the LayoutTestController as it is unused now and this
4131 avoids adding it to the DRT of the Qt port.
4134 * DumpRenderTree/LayoutTestController.cpp:
4135 (setPrivateBrowsingEnabledCallback):
4137 2008-04-01 Christian Dywan <christian@imendio.com>
4139 Build fix for GCC 4.3.
4141 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
4143 2008-04-01 Simon Hausmann <hausmann@webkit.org>
4147 Fix Qt DRT run by also printing EOF on stderr, as expected by
4150 * DumpRenderTree/qt/DumpRenderTree.cpp:
4151 (WebCore::DumpRenderTree::dump):
4153 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
4155 Reviewed by Darin Adler.
4157 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
4159 Remove trailing '/' in $sourceDir in determineSourceDir().
4161 Fix suggested by Dmitriy Kazachkov.
4163 * Scripts/webkitdirs.pm:
4165 2008-03-29 Adam Roben <aroben@apple.com>
4167 Update for rename of an IWebViewPrivate method
4169 Reviewed by Mitz Pettel.
4171 * DumpRenderTree/win/DumpRenderTree.cpp:
4172 (createWebViewAndOffscreenWindow):
4174 2008-03-26 Antti Koivisto <antti@apple.com>
4178 Enable SVG animation support by default.
4180 * Scripts/build-webkit:
4182 2008-03-25 Adam Roben <aroben@apple.com>
4186 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4187 Add $(WebKitLibrariesDir)\include to the include path so we can find
4190 2008-03-24 Eric Seidel <eric@webkit.org>
4194 Clean up SVG features message to be less confusing.
4196 * Scripts/build-webkit:
4198 2008-03-24 Sam Weinig <sam@webkit.org>
4200 Reviewed by Dave Hyatt.
4202 Add EventSender.zoomPageIn/zoomPageOut support to DRT.
4204 * DumpRenderTree/mac/DumpRenderTree.mm:
4205 (resetWebViewToConsistentStateBeforeTesting):
4206 * DumpRenderTree/mac/EventSendingController.mm:
4207 (+[EventSendingController isSelectorExcludedFromWebScript:]):
4208 (-[EventSendingController zoomPageIn]):
4209 (-[EventSendingController zoomPageOut]):
4210 * DumpRenderTree/win/DumpRenderTree.cpp:
4211 (resetWebViewToConsistentStateBeforeTesting):
4212 * DumpRenderTree/win/EventSender.cpp:
4213 (textZoomInCallback):
4214 (textZoomOutCallback):
4215 (zoomPageInCallback):
4216 (zoomPageOutCallback):
4218 2008-03-24 Dan Bernstein <mitz@apple.com>
4220 Reviewed by Mark Rowe.
4222 - update bisect-builds for Safari 3.1
4224 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
4227 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
4231 http://bugs.webkit.org/show_bug.cgi?id=17981
4233 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
4237 2008-03-21 Adam Roben <aroben@apple.com>
4239 Remove a non-working mirror from cygwin-downloader and add the ruby package
4241 * CygwinDownloader/cygwin-downloader.py:
4242 * CygwinDownloader/cygwin-downloader.zip: Updated.
4244 2008-03-20 Mark Rowe <mrowe@apple.com>
4246 Reviewed by Sam Weinig.
4248 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
4249 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
4252 * Scripts/build-webkit:
4254 2008-03-17 Eric Seidel <eric@webkit.org>
4256 Reviewed by Dan Bernstein.
4258 Fix bogus argCount check breaking plugin test.
4260 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4262 2008-03-17 Eric Seidel <eric@webkit.org>
4266 Cleanup PluginObject.cpp and add support for testing
4267 converting from int -> identifier -> string
4268 and from string -> identifier -> int
4269 as well as round-tripping ints and stings through identifiers
4271 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4272 (pluginGetProperty):
4273 (pluginSetProperty):
4275 (stringVariantToIdentifier):
4276 (int32VariantToIdentifier):
4277 (doubleVariantToIdentifier):
4278 (variantToIdentifier):
4279 (testIdentifierToString):
4280 (testIdentifierToInt):
4283 (removeDefaultMethod):
4285 (testInvokeDefault):
4288 (testGetIntIdentifier):
4291 (testGetPropertyReturnValue):
4293 (pluginInvokeDefault):
4299 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
4301 Rubber stamped by Darin Adler.
4303 Add set-webkit-configuration support for wx port, and centralize
4304 build dir location setting.
4306 http://bugs.webkit.org/show_bug.cgi?id=17790
4308 * wx/browser/browser.bkl:
4309 * wx/build-wxwebkit:
4311 2008-03-15 Darin Adler <darin@apple.com>
4313 * Scripts/commit-log-editor: Include the name line of the change log entry.
4314 A long time ago I designed this script to not include the name because I
4315 thought it was redundant (same as the name of the person checking in), but
4316 nowadays it's more common for someone to check something in done by someone
4319 * Scripts/do-webcore-rename: Added some&nbs