1 2008-12-12 Brent Fulgham <bfulgham@gmail.com>
3 Reviewed by Adam Roben.
5 https://bugs.webkit.org/show_bug.cgi?id=22809
7 Increase timeout in call to initWithURL so that people actually see
8 new web pages when they type URLs rather than a blank screen.
10 * WinLauncher/WinLauncher.cpp:
11 (loadURL): Increase timeout in initWithURL from 0 to 60 seconds.
13 2008-12-12 Darin Adler <darin@apple.com>
15 * Scripts/do-webcore-rename: Add a renaming idea.
17 2008-12-12 Holger Hans Peter Freyther <zecke@selfish.org>
19 Reviewed by Simon Hausmann.
21 Update the WebKit.qrc and add a script to automatically generate the file.
23 With the way rcc and qmake work this can not be done at build time
24 as the WebKit.qrc must sit inside the directory that contains the files
25 and at build time we may not change the content of the source directory.
27 * Scripts/generate-qt-inspector-resource: Added.
29 2008-12-11 Cameron Zwarich <zwarich@apple.com>
31 Rubber-stamped by Mark Rowe.
33 Roll out r39212 due to assertion failures during layout tests, multiple
34 layout test failures, memory leaks, and obvious incorrectness.
36 * DumpRenderTree/LayoutTestController.cpp:
37 (LayoutTestController::staticFunctions):
38 * DumpRenderTree/LayoutTestController.h:
39 * DumpRenderTree/mac/DumpRenderTree.mm:
40 (resetWebViewToConsistentStateBeforeTesting):
41 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
42 * DumpRenderTree/win/DumpRenderTree.cpp:
43 (resetWebViewToConsistentStateBeforeTesting):
44 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
45 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
47 2008-12-10 Glenn Wilson <gwilson@google.com>
49 Reviewed by Adam Roben.
51 Changed LayoutTestController and DumpRenderTree to allow for manual
52 overriding of default preferences at test time. Also added support for
53 resetting the preferences after each test.
54 https://bugs.webkit.org/show_bug.cgi?id=20534
56 * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
57 * DumpRenderTree/LayoutTestController.h: Added signature for callback
58 * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
59 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
60 * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
61 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
63 2008-12-10 Brady Eidson <beidson@apple.com>
65 Reviewed by Darin Adler.
67 Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
69 * DumpRenderTree/win/DumpRenderTree.cpp:
70 * DumpRenderTree/win/DumpRenderTreeWin.h:
72 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
73 (LayoutTestController::setCustomPolicyDelegate):
75 * DumpRenderTree/win/PolicyDelegate.cpp:
76 (PolicyDelegate::PolicyDelegate):
77 (PolicyDelegate::decidePolicyForNavigationAction):
78 * DumpRenderTree/win/PolicyDelegate.h:
79 (PolicyDelegate::setPermissive):
81 2008-12-10 Brady Eidson <beidson@apple.com>
85 Change the custom policy delegate to actually allow navigation for tests that need it.
86 The new behavior is opt-in and doesn't require any changes in old tests.
88 * DumpRenderTree/LayoutTestController.cpp:
89 (setCustomPolicyDelegateCallback): Allow for a second boolean argument to set the permissive flag on the custom
90 policy delegate, which will be false by default to maintain original behavior.
91 * DumpRenderTree/LayoutTestController.h:
92 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
93 (LayoutTestController::setCustomPolicyDelegate):
95 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
96 (LayoutTestController::setCustomPolicyDelegate): Partially stubbed out for now.
97 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
98 (LayoutTestController::setCustomPolicyDelegate): Still stubbed out, but with new param.
100 * DumpRenderTree/mac/PolicyDelegate.h:
101 * DumpRenderTree/mac/PolicyDelegate.mm:
102 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): If the permissive flag
103 is set, allow the navigation.
104 (-[PolicyDelegate setPermissive:]): Change the behavior between "use" and "ignore" - allowing navigation or not.
106 2008-12-09 Mark Rowe <mrowe@apple.com>
108 Rubber-stamped by Ada Chan.
110 Fix gdb-safari on Tiger.
112 gdb on Tiger does not take the -arch flag, so do not pass it.
114 * Scripts/gdb-safari:
116 2008-12-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
118 Reviewed by Alexey Proskuryakov.
120 Ignore WML tests, if no WML support available.
122 * Scripts/run-webkit-tests:
124 2008-12-08 Geoffrey Garen <ggaren@apple.com>
126 Reviewed by Oliver Hunt.
128 Added a shortcut for --jsDriver-args, which I use a lot.
130 * Scripts/run-javascriptcore-tests:
132 2008-12-08 Stephanie Lewis <slewis@apple.com>
136 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
138 2008-12-08 Darin Adler <darin@apple.com>
140 Reviewed by John Sullivan.
142 - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
143 REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
145 * DumpRenderTree/LayoutTestController.cpp:
146 (isCommandEnabledCallback): Added.
147 (LayoutTestController::staticFunctions): Added "isCommandEnabled".
148 * DumpRenderTree/LayoutTestController.h: Ditto.
149 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
150 (LayoutTestController::isCommandEnabled): Ditto.
151 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
152 (-[CommandValidationTarget initWithAction:]): Added. Used to get the
153 command validation system to tell us if a comment is enabled.
154 (-[CommandValidationTarget action]): Ditto.
155 (-[CommandValidationTarget tag]): Ditto.
156 (LayoutTestController::isCommandEnabled): Ditto.
157 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
158 (LayoutTestController::isCommandEnabled): Ditto.
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 Eric Seidel.
168 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
169 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
170 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
172 2008-12-08 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 Timothy Hatcher.
180 * Scripts/sort-Xcode-project-file: By popular request, don't sort
181 the mainGroup in the project (the list of items below the top-level
184 2008-12-05 David Kilzer <ddkilzer@apple.com>
186 Bug 22555: Sort "children" sections in Xcode project files
188 <https://bugs.webkit.org/show_bug.cgi?id=22555>
190 Reviewed by Darin Adler.
192 Sort "children" sections alphabetically, moving groups (folders) to
193 the top of each of the lists. Files are assumed to have extensions,
194 so %isFile is used to override this behavior.
196 * Scripts/sort-Xcode-project-file:
197 (sortChildrenByFileName): Added.
198 (sortFilesByFileName): Renamed from sortByFileName().
200 2008-12-05 Eric Seidel <eric@webkit.org>
202 Reviewed by Geoff Garen.
204 https://bugs.webkit.org/show_bug.cgi?id=22683
205 Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
206 Add a new argumentsForConfiguration() function and clean up some old code to use it.
207 Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
209 * Scripts/run-javascriptcore-tests:
210 * Scripts/run-launcher:
211 * Scripts/run-webkit-tests:
212 * Scripts/webkitdirs.pm:
214 2008-12-03 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
216 Reviewed by Cameron Zwarich.
218 Further preparations for WML layout tests.
219 Ignore WMLTestCase.js, that's going to be in trunk soon.
221 * Scripts/make-js-test-wrappers:
223 2008-12-03 Eric Seidel <eric@webkit.org>
225 Build fix for --gtk and --chromium, no review.
227 Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
228 through to build-jsc.
231 * Scripts/webkitdirs.pm:
233 2008-12-03 Eric Seidel <eric@webkit.org>
235 Build fix only, no review.
237 Remove support for build-webkit --svg-experimental.
238 All of the "experimental" svg features have their own toggles anyway.
239 I broke --svg-experimental in my last commit (which then broke clean builds)
240 I can't find any use of --svg-experimental in our source tree, so removing it.
242 * Scripts/build-webkit:
244 2008-12-02 Eric Seidel <eric@webkit.org>
246 Reviewed by David Hyatt (and Mark Rowe).
248 Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
249 Move --coverage support out of run-javascriptcore-tests and into build-jsc
251 Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
252 there from build-webkit (to allow future sharing with other build-* scripts)
254 Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
255 picking through ARGV with a blacklist of what arguments weren't jsDriver args
256 this makes run-javascriptcore-tests transparently support all arguments which
257 webkitdirs.pm gives it support for.
259 Make run-javascriptcore-tests actually print what commands it's running before running them.
261 Add --help support to build-jsc and run-javascriptcore-tests!
263 Make code to support --svg-experimental defaults take up half as many lines.
266 * Scripts/build-webkit:
267 * Scripts/run-javascriptcore-tests:
268 * Scripts/webkitdirs.pm:
270 2008-12-03 Adam Roben <aroben@apple.com>
272 Fix a leak in WinLauncher shutdown
274 Reviewed by Sam Weinig.
276 * WinLauncher/WinLauncher.cpp:
277 (_tWinMain): Replaced a delete with a Release. We can't delete the
278 WebView properly since we only have a pointer to one of its
279 interfaces. We also shouldn't be deleting COM objects directly anyway,
280 for a number of reasons.
282 2008-12-03 Adam Roben <aroben@apple.com>
284 Fix a crash on exit in WinLauncher
286 Reviewed by Sam Weinig.
288 * WinLauncher/WinLauncher.cpp:
289 (_tWinMain): Call shutDownWebKit before exiting.
291 2008-12-03 Adam Roben <aroben@apple.com>
293 Add a Debug_Internal configuration to WinLauncher
295 This matches our other projects.
297 Reviewed by Sam Weinig.
299 * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
300 configuration, which is identical to Debug except that it also
301 references debug_internal.vsprops. Also removed some settings that we
302 should be picking up from the .vsprops files.
304 2008-12-02 Eric Seidel <eric@webkit.org>
306 Reviewed by David Kilzer.
308 Hack build-webkit --chromium to use Win32 python instead
309 of using the default cygwin python. Scons + CYGWIN tries
310 to build with GCC by default, we force MSVC in our file
311 but that just results in errors from Scons. Until we can fix
312 this latest round of errors, at least make build-webkit --chromium
313 actually "work" under CYGWIN instead of forcing users to use
314 a cmd shell directly.
316 This is working around a Scons bug:
317 http://scons.tigris.org/issues/show_bug.cgi?id=2266
319 * Scripts/webkitdirs.pm:
321 2008-12-01 David Kilzer <ddkilzer@apple.com>
323 Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
325 <https://bugs.webkit.org/show_bug.cgi?id=22466>
326 <rdar://problem/6403593>
328 Reviewed by Brady Eidson.
330 * DumpRenderTree/mac/DumpRenderTree.mm:
331 (normalizeHTTPResponseHeaderFields): Added. Normalizes Date, Etag,
332 Keep-Alive, Last-Modified and Server header fields to prevent false
333 positive test failures.
334 (convertWebResourceResponseToDictionary): Call
335 normalizeHTTPResponseHeaderFields() to noramlize HTTP response
338 2008-12-01 David D. Kilzer <ddkilzer@webkit.org>
340 Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
342 <https://bugs.webkit.org/show_bug.cgi?id=22559>
344 Reviewed by Adam Roben.
346 * Scripts/bisect-builds: Updated status message to report the
347 maximum number of builds left to test after the current one.
350 2008-11-27 Alp Toker <alp@nuanti.com>
352 Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
353 API header breakage at build time.
357 2008-11-26 Eric Seidel <eric@webkit.org>
359 Reviewed by Nikolas Zimmermann and Mark Rowe.
361 Add support for build-webkit --chromium
362 https://bugs.webkit.org/show_bug.cgi?id=22515
363 More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
365 * Scripts/build-dumprendertree:
367 * Scripts/build-webkit:
368 * Scripts/gdb-safari:
369 * Scripts/run-webkit-tests:
370 * Scripts/webkitdirs.pm:
372 2008-11-26 Eric Seidel <eric@webkit.org>
374 Reviewed by Nikolas Zimmermann.
376 Add support for build-webkit --chromium (tested on mac)
377 https://bugs.webkit.org/show_bug.cgi?id=22515
378 Also simplified some code using checkArgv
380 * Scripts/build-webkit:
381 * Scripts/webkitdirs.pm:
383 2008-11-26 Eric Seidel <eric@webkit.org>
385 Reviewed by Nikolas Zimmermann.
387 More pre-work for adding a build-webkit --chromium which works on Mac and Windows
388 https://bugs.webkit.org/show_bug.cgi?id=22515
389 Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
390 in preparation for having a chromium cygwin and chromium mac build
392 * Scripts/build-webkit:
393 * Scripts/webkitdirs.pm:
395 2008-11-26 Eric Seidel <eric@webkit.org>
397 Reviewed by Nikolas Zimmermann.
399 Pre-work for getting build-webkit --chromium to work
400 https://bugs.webkit.org/show_bug.cgi?id=22515
401 Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
403 * Scripts/build-dumprendertree:
405 * Scripts/build-webkit:
406 * Scripts/gdb-safari:
407 * Scripts/run-javascriptcore-tests:
408 * Scripts/run-webkit-tests:
409 * Scripts/webkitdirs.pm:
411 2008-11-26 David Kilzer <ddkilzer@apple.com>
413 Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
415 <https://bugs.webkit.org/show_bug.cgi?id=22488>
417 Reviewed by Brady Eidson.
419 * DumpRenderTree/mac/DumpRenderTree.mm:
420 (convertWebResourceDataToString): If an IANA charset encoding string
421 is provided, convert it to a CFStringEncoding value and then to an
422 NSStringEncoding value, else fall back to NSUTF8StringEncoding. We
423 also nil-check dataAsString, so the worst-case scenario is that the
424 data won't be decoded to a string (versus crashing DumpRenderTree).
426 2008-11-26 Jan Michael Alonzo <jmalonzo@webkit.org>
428 Reviewed by Holger Freyther.
430 [Gtk] add/remove tests from Skipped and fix netscape plugin test
431 https://bugs.webkit.org/show_bug.cgi?id=22484
433 Remove print'ing to stderr
435 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
439 2008-11-25 Steve Falkenburg <sfalken@apple.com>
443 * DumpRenderTree/cg/PixelDumpSupportCG.h:
445 2008-11-25 Steve Falkenburg <sfalken@apple.com>
449 * DumpRenderTree/cg/ImageDiffCG.cpp:
451 2008-11-24 Darin Fisher <darin@chromium.org>
455 https://bugs.webkit.org/show_bug.cgi?id=15643
457 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
458 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
460 2008-11-24 Glenn Wilson <gwilson@chromium.org>
462 Reviewed by Alexey Proskuryakov.
464 http://bugs.webkit.org/show_bug.cgi?id=15643
466 Added support for changing the "trailing whitespace" work-around
467 in LayoutTestController (so layout tests can verify this functionality)
469 * DumpRenderTree/LayoutTestController.cpp:
470 (setSelectTrailingWhitespaceEnabledCallback):
471 (LayoutTestController::staticFunctions):
472 * DumpRenderTree/LayoutTestController.h:
473 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
474 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
475 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
476 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
478 2008-11-24 Simon Fraser <simon.fraser@apple.com>
480 Reviewed by Darin Adler
482 https://bugs.webkit.org/show_bug.cgi?id=22433
484 Add script that attempts to detect virtual methods
485 whose signatures differ only by constness (which can
486 indicate a programming error).
488 * Scripts/detect-mismatched-virtual-const: Added.
490 2008-11-24 Zan Dobersek <zandobersek@gmail.com>
492 Reviewed by Holger Freyther.
494 https://bugs.webkit.org/show_bug.cgi?id=22039
496 [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
499 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
500 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
501 * DumpRenderTree/gtk/DumpRenderTree.cpp:
502 (setDefaultsToConsistentStateValuesForTesting):
503 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
504 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
505 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
508 2008-11-24 Holger Hans Peter Freyther <zecke@selfish.org>
510 Reviewed by Mark Rowe.
512 [Gtk+] Add configure option to enable Web Workers and enable it by default
514 Add --enable-workers to the buildsystem (used by build-webkit) add
515 the to be build files to the GNUmakefile.am and change build-webkit
516 to enable Web Workers by default.
518 * Scripts/build-webkit:
520 2008-11-24 Mark Rowe <mrowe@apple.com>
522 Reviewed by Alexey Proskuryakov.
524 Let gdb-safari accept the --debug and --release options once more.
526 * Scripts/gdb-safari:
528 2008-11-23 Zan Dobersek <zandobersek@gmail.com>
530 Reviewed by Holger Freyther. Landed by Jan Alonzo.
532 Get SVG tests tested on GTK port.
534 * Scripts/webkitdirs.pm:
536 2008-11-19 Greg Bolsinga <bolsinga@apple.com>
538 Reviewed by Darin Adler.
540 https://bugs.webkit.org/show_bug.cgi?id=21810
541 Remove use of static C++ objects that are destroyed at exit time (destructors)
543 All static C++ objects that create atexit calls are gone. Update script
544 to indicate how to fix the problem should a new one appear.
546 * Scripts/check-for-exit-time-destructors:
548 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
550 Reviewed by Darin Adler.
552 https://bugs.webkit.org/show_bug.cgi?id=22337
553 Enable workers by default
555 * Scripts/build-webkit: Changed the default to enabled.
557 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
559 Rubber-stamped by Darin Adler.
561 https://bugs.webkit.org/show_bug.cgi?id=22306
562 Disable channel messaging support
564 * Scripts/build-webkit: Add an option to enable channel messaging.
566 2008-11-17 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
568 Reviewed by George Staikos.
570 Add --(no-)wml build flags.
572 * Scripts/build-webkit:
573 * Scripts/run-webkit-tests:
574 * Scripts/webkitdirs.pm:
576 2008-11-17 Geoffrey Garen <ggaren@apple.com>
580 Try to fix gtk build.
582 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
583 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
584 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
586 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
590 Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
593 https://bugs.webkit.org/show_bug.cgi?id=22271
595 * Scripts/run-webkit-tests:
597 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
599 Reviewed by Sam Weinig.
601 Added new JavaScript API on LayoutController to pause a running
602 CSS transition or animation at a given time.
604 https://bugs.webkit.org/show_bug.cgi?id=21261
606 * DumpRenderTree/LayoutTestController.cpp:
607 (pauseAnimationAtTimeOnElementWithIdCallback):
608 (pauseTransitionAtTimeOnElementWithIdCallback):
609 (LayoutTestController::staticFunctions):
610 * DumpRenderTree/LayoutTestController.h:
611 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
612 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
613 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
614 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
615 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
616 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
618 2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
620 Reviewed by Darin Adler.
622 <https://bugs.webkit.org/show_bug.cgi?id=22309>
623 Pass the remaining options to build system on Qt-port
625 * Scripts/build-webkit:
626 * Scripts/webkitdirs.pm:
628 2008-11-16 Greg Bolsinga <bolsinga@apple.com>
630 Reviewed by Darin Adler.
632 https://bugs.webkit.org/show_bug.cgi?id=21810
633 Remove use of static C++ objects that are destroyed at exit time (destructors)
635 Remove .o files from the exclude list that have had their exit-time destructors removed.
636 Handle case when there is no current symbol.
638 * Scripts/check-for-exit-time-destructors:
640 2008-11-16 Sam Weinig <sam@webkit.org>
642 * Scripts/do-webcore-rename: Remove now fixed renames.
644 2008-11-16 Darin Adler <darin@apple.com>
646 * Scripts/do-webcore-rename: Plan some future renames.
648 2008-11-15 Darin Adler <darin@apple.com>
650 Rubber stamped by Geoff Garen.
652 - do the long-planned StructureID -> Structure rename
654 * Scripts/check-for-global-initializers: Update name of StructureID.o.
655 * Scripts/do-webcore-rename: Renaming script that I used.
657 2008-11-15 Greg Bolsinga <bolsinga@apple.com>
659 Reviewed by Darin Adler.
661 https://bugs.webkit.org/show_bug.cgi?id=21810
662 Remove use of static C++ objects that are destroyed at exit time (destructors)
664 Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
665 exit-time destructor. Update code that was changed to fix this issue that ran
666 into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
667 in gcc build 5465). Also typdefs for template types needed to be added in some
668 cases so the type could make it through the macro successfully.
670 Basically code of the form:
673 DEFINE_STATIC_LOCAL(T, m, ());
675 Also any code of the form:
676 static T& m = *new T;
678 DEFINE_STATIC_LOCAL(T, m, ());
680 Remove .o files from the exclude list that have had their exit-time destructors removed.
682 * Scripts/check-for-exit-time-destructors:
684 2008-11-14 Kevin Ollivier <kevino@theolliviers.com>
686 wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
688 * wx/install-unix-extras:
690 2008-11-14 Alp Toker <alp@nuanti.com>
692 GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
694 Fixes Debian bug #505723
695 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
697 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
699 2008-11-14 Krishna <krishnamurty.podipireddy@nokia.com>
701 Reviewed by Simon Hausmann.
703 Fix hanging DRT with Qt.
705 https://bugs.webkit.org/show_bug.cgi?id=22209
707 * DumpRenderTree/qt/DumpRenderTree.cpp:
708 (WebCore::DumpRenderTree::dump):
709 Send empty pixel test data 'block', which is now
710 expected by run-layout-tests.
712 2008-11-12 Dmitry Titov <dimich@chromium.org>
714 Reviewed by Alexey Proskuryakov.
716 https://bugs.webkit.org/show_bug.cgi?id=22216
718 * Scripts/build-webkit:
719 Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
721 2008-11-06 David Kilzer <ddkilzer@apple.com>
723 BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
725 Apparently older versions of gcc have issues with this patch.
726 Backing out a second time until the issues are resolved.
728 2008-11-06 David Kilzer <ddkilzer@apple.com>
730 BUILD WAS NOT BROKEN: Rolling r38189 back in.
732 Please perform a clean build if you see crashes.
734 2008-11-06 David Kilzer <ddkilzer@apple.com>
736 BUILD FIX: Backed out r38189 since it apparently broke the world.
738 2008-11-06 Chris Fleizach <cfleizach@apple.com>
740 Reviewed by Beth Dakin.
742 Add ability to query an attribute's settable status and the
743 ability to retrieve a single attribute from an AXObject
745 * DumpRenderTree/AccessibilityUIElement.cpp:
746 (isAttributeSettableCallback):
747 (attributeValueCallback):
748 (AccessibilityUIElement::getJSClass):
749 * DumpRenderTree/AccessibilityUIElement.h:
750 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
751 (+[NSString stringWithJSStringRef:]):
752 (AccessibilityUIElement::attributeValue):
753 (AccessibilityUIElement::isAttributeSettable):
754 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
755 (AccessibilityUIElement::attributeValue):
756 (AccessibilityUIElement::isAttributeSettable):
758 2008-11-06 Greg Bolsinga <bolsinga@apple.com>
760 Reviewed by Darin Adler.
762 Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
763 https://bugs.webkit.org/show_bug.cgi?id=21810
765 Remove .o files from the exclude list that have had their exit-time destructors removed.
767 * Scripts/check-for-exit-time-destructors:
769 2008-11-05 Alp Toker <alp@nuanti.com>
771 GTK build script tweak.
773 Make the path relative since it will appear in all -I compiler flags.
774 Long argument lists cause bizarre slowdowns in libtool and result
777 * Scripts/webkitdirs.pm:
779 2008-11-05 Anders Carlsson <andersca@apple.com>
783 * DumpRenderTree/mac/DumpRenderTree.mm:
784 (setDefaultsToConsistentValuesForTesting):
786 2008-11-04 Simon Fraser <simon.fraser@apple.com>
788 Add AccessibilityObject.o to the exclude list for the
789 check for global destructors.
791 * Scripts/check-for-exit-time-destructors:
793 2008-11-04 Darin Adler <darin@apple.com>
795 * Scripts/check-for-exit-time-destructors: Fix failures seen on the
796 bot, but for some reason not on my computer.
798 2008-11-03 Darin Adler <darin@apple.com>
800 Reviewed by Tim Hatcher.
802 - https://bugs.webkit.org/show_bug.cgi?id=22061
803 create script to check for exit-time destructors
805 * Scripts/check-for-exit-time-destructors: Added.
806 Started as a copy of check-for-global-initializers.
808 * Scripts/check-for-global-initializers: Added code to make
809 this script rerun any time it's modified, and also to properly
810 run again after the first time it reports an error.
812 2008-11-03 Pierre-Olivier Latour <pol@apple.com>
814 Reviewed by Dan Bernstein.
816 Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
818 https://bugs.webkit.org/show_bug.cgi?id=22054
820 * DumpRenderTree/mac/DumpRenderTree.mm:
821 (setDefaultsToConsistentValuesForTesting):
823 2008-10-31 Cameron Zwarich <zwarich@apple.com>
827 * Scripts/do-webcore-rename:
829 Add some renames to contemplate for the future.
831 2008-10-31 Darin Adler <darin@apple.com>
833 Requested by Mark Rowe.
835 * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
837 2008-10-31 David Kilzer <ddkilzer@apple.com>
839 Bug 21997: prepare-ChangeLog should filter out ChangeLog files
841 <https://bugs.webkit.org/show_bug.cgi?id=21997>
843 Reviewed by Darin Adler.
845 * Scripts/prepare-ChangeLog:
846 (generateFileList): Don't add ChangeLog files to %{$functionLists}.
847 This prevents them from showing up in the new ChangeLog entry. They
848 were already excluded from @{$changedFiles}.
850 2008-10-30 Mark Rowe <mrowe@apple.com>
852 Reviewed by Jon Homeycutt.
854 Explicitly default to building for only the native architecture in debug and release builds.
856 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
858 2008-10-30 Pierre-Olivier Latour <pol@apple.com>
860 Reviewed by Dan Bernstein.
862 Fixed 64 bit build failure.
864 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
865 (setupMainDisplayColorProfile):
866 (createBitmapContextFromWebView):
868 2008-10-28 Alp Toker <alp@nuanti.com>
870 Fix GTK DRT following build breakage in r37928.
872 * DumpRenderTree/gtk/DumpRenderTree.cpp:
877 2008-10-28 Alp Toker <alp@nuanti.com>
879 Reviewed by Mark Rowe.
881 Fix recently introduced double-free crashes in GTK DRT.
883 LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
884 were updated to call ->deref() but GTK DRT was still deleting
885 gLayoutTestController manually. This patch updates GTK to match the
886 other ports and resolves the memory allocation issues.
888 * DumpRenderTree/gtk/DumpRenderTree.cpp:
891 2008-10-28 Alp Toker <alp@nuanti.com>
893 Reviewed by Mark Rowe.
895 Fix GTK DRT hang when running the tests.
897 Update output from the DRT tool to print an additional '#EOF' to match
898 breaking changes that were made in r37434.
900 * DumpRenderTree/gtk/DumpRenderTree.cpp:
903 2008-10-28 Adele Peterson <adele@apple.com>
905 Reviewed by Sam Weinig.
907 Specify which Localizable.strings to update since we don't always want to update the file in the same
908 directory where we're searching for the strings to localize.
910 * Scripts/extract-localizable-strings:
911 * Scripts/update-webkit-localizable-strings:
913 2008-10-28 Timothy Hatcher <timothy@apple.com>
915 Add support for enabling the profiler, so the profiling tests can continue
916 work now that the profiler is not always enabled.
918 https://bugs.webkit.org/show_bug.cgi?id=21927
920 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
921 not slow down JavaScript all the time
923 Reviewed by Darin Adler and Kevin McCullough.
925 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
926 * DumpRenderTree/LayoutTestController.cpp:
927 (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
928 (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
929 * DumpRenderTree/LayoutTestController.h:
930 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
931 (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
932 * DumpRenderTree/mac/DumpRenderTree.mm:
933 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
934 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
935 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
936 * DumpRenderTree/win/DumpRenderTree.cpp:
937 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
938 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
939 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
941 2008-10-28 Pierre-Olivier Latour <pol@apple.com>
943 Reviewed by Dan Bernstein
945 Primary changes in DumpRenderTree:
946 - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
947 is different from regular font CG anti-aliasing) as font-smoothing settings
948 depends on the display and can also be changed by the user
949 - Use a new cleared buffer for each test instead of the reusing same one to
950 avoid potential result corruption across tests
951 - Can now receive the expected pixel hash as a suffix to the test path or
953 - Make sure hash is computed in a endian-independent way
954 - Improve the code that sets/restores the screen color profile
955 - Make the code more cross-platformy with std::string goodness
956 - Added an "on-screen" mode where the snapshot will take into account surfaces
957 on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
958 reading from the display framebuffer on 10.4. This mode is not active by
959 default for performance reason, but must be explicitly activated from the test
960 file using the new "testOnscreen()" JS API.
962 Primary changes in ImageDiff:
963 - Provide a new comparison algorithm that is more tolerant to "acceptable"
964 failures (i.e. very small differences in font rendering, which --threshold is
965 not really good at handling)
966 - Generate normalized intensity-only diff images
968 Primary changes in run-webkit-tests:
969 - Take advantage of hashes for pixel tests which makes them much faster by
970 minimizing image comparisons
971 - Removed repaint options as these should be set from within test files using
973 - Replaced "threshold" option in by "tolerance" expressed in percents
974 - Added more logging when in "verbose" mode
976 https://bugs.webkit.org/show_bug.cgi?id=21322
977 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
978 * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
979 * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
980 * DumpRenderTree/LayoutTestController.cpp:
981 (LayoutTestController::LayoutTestController):
982 (testOnscreenCallback):
983 (LayoutTestController::staticFunctions):
984 * DumpRenderTree/LayoutTestController.h:
985 (LayoutTestController::testOnscreen):
986 (LayoutTestController::setTestOnscreen):
987 (LayoutTestController::testPathOrURL):
988 (LayoutTestController::expectedPixelHash):
989 * DumpRenderTree/PixelDumpSupport.h:
990 * DumpRenderTree/cg/ImageDiffCG.cpp:
992 (releaseMallocBuffer):
993 (createDifferenceImage):
996 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
997 (computeMD5HashStringForBitmapContext):
998 (dumpWebViewAsPixelsAndCompareWithExpected):
999 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1000 (BitmapContext::createByAdoptingBitmapAndContext):
1001 (BitmapContext::~BitmapContext):
1002 (BitmapContext::cgContext):
1003 (BitmapContext::BitmapContext):
1004 * DumpRenderTree/mac/DumpRenderTree.mm:
1005 (shouldIgnoreWebCoreNodeLeaks):
1006 (setDefaultsToConsistentValuesForTesting):
1008 (initializeGlobalsFromCommandLineOptions):
1009 (prepareConsistentTestingEnvironment):
1011 (sizeWebViewForCurrentTest):
1014 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1015 (restoreMainDisplayColorProfile):
1016 (setupMainDisplayColorProfile):
1017 (createBitmapContextFromWebView):
1018 * DumpRenderTree/win/DumpRenderTree.cpp:
1021 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
1022 (getBitmapContextFromWebView):
1023 * Scripts/run-webkit-tests:
1025 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
1027 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
1029 * wx/build-wxwebkit:
1031 2008-10-24 Anders Carlsson <andersca@apple.com>
1033 Try fixing the 64-bit build.
1035 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1038 2008-10-24 Anders Carlsson <andersca@apple.com>
1040 Reviewed by Sam Weinig.
1042 <rdar://problem/5440917> Support NPN_Construct
1044 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1049 New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
1052 Handle testConstruct.
1054 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1056 Add objectPointer property.
1059 Only enumerate the two first properties.
1062 Add a simple construct implementation that just returns the test object.
1064 2008-10-24 David Kilzer <ddkilzer@apple.com>
1066 Bug 21850: svn-apply and svn-unapply should preserve patch line endings
1068 <https://bugs.webkit.org/show_bug.cgi?id=21850>
1070 Reviewed by Adam Roben.
1072 * Scripts/svn-apply: Save end-of-line characters when stripping them
1073 off each line of a patch so that they may be restored after
1074 processing the line.
1075 * Scripts/svn-unapply: Ditto.
1077 2008-10-23 David Kilzer <ddkilzer@apple.com>
1079 Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
1081 <https://bugs.webkit.org/show_bug.cgi?id=21832>
1083 Reviewed by Sam Weinig.
1085 * Scripts/bisect-builds: Use imported tempfile() from File::Temp
1086 instead of 'new File::Temp' to make the script work with Perl 5.10.
1087 * Scripts/sort-Xcode-project-file: Ditto.
1089 2008-10-22 Brady Eidson <beidson@apple.com>
1091 Reviewed by Adam Roben
1093 <rdar://6261773> - autocomplete="off" doesn't work on Windows
1095 Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
1097 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1099 2008-10-22 Darin Adler <darin@apple.com>
1101 * Scripts/do-webcore-rename: More renaming plans.
1103 2008-10-21 Steve Falkenburg <sfalken@apple.com>
1105 Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
1107 * Scripts/extract-localizable-strings:
1109 2008-10-17 Maciej Stachowiak <mjs@apple.com>
1111 Reviewed by Mark Rowe.
1113 - default to 1000 tests per dump tool instance again, now that CTI no longer causes
1114 excess different stack logs.
1116 (Also fix a small bug in my last change.)
1118 * Scripts/run-webkit-tests:
1120 2008-10-17 Stephanie Lewis <slewis@apple.com>
1122 Reviewed by Mark Rowe.
1124 Fix layout tests that use prologues and epilogues.
1126 * Scripts/run-webkit-tests:
1128 2008-10-17 Maciej Stachowiak <mjs@apple.com>
1130 Reviewed by Mark Rowe.
1132 - make sure MallocStackLogging is only on for tools we want to
1133 leak check, not other random stuff as well.
1135 * Scripts/run-webkit-tests:
1137 2008-10-17 Maciej Stachowiak <mjs@apple.com>
1139 Reviewed by Stephanie Lewis.
1141 - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
1143 This should reduce or eliminate crashes on the buildbot due to
1144 running out of memory while stack logging.
1146 * Scripts/run-webkit-tests:
1148 2008-10-16 Jan Michael Alonzo <jmalonzo@webkit.org>
1150 Gtk build fix. Not reviewed.
1152 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1153 (LayoutTestController::setSmartInsertDeleteEnabled):
1155 2008-10-15 Glenn Wilson <gwilson@google.com>
1157 Added new method to allow tests to disable smart editing in the course of a test.
1158 This is a possible solution to bug .20655
1160 Reviewed by Tim Hatcher.
1162 * DumpRenderTree/LayoutTestController.cpp:
1163 (setSmartInsertDeleteEnabledCallback): new method
1164 (LayoutTestController::staticFunctions): added new method to static list of callbacks
1165 * DumpRenderTree/LayoutTestController.h: added signature of new method
1166 * DumpRenderTree/mac/DumpRenderTree.mm:
1167 (resetWebViewToConsistentStateBeforeTesting): added state resetting
1168 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1169 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
1170 * DumpRenderTree/win/DumpRenderTree.cpp:
1171 (resetWebViewToConsistentStateBeforeTesting): added state resetting
1172 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1173 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
1175 2008-10-14 Ada Chan <adachan@apple.com>
1179 Reviewed by Sam Weinig.
1181 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1182 * DumpRenderTree/config.h:
1183 * DumpRenderTree/win/DumpRenderTreeWin.h:
1184 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1185 * DumpRenderTree/win/UIDelegate.cpp:
1187 2008-10-13 Timothy Hatcher <timothy@apple.com>
1189 Make prepare-ChangeLog populate the changed functions for JavaScript files.
1191 https://bugs.webkit.org/show_bug.cgi?id=21567
1193 Reviewed by David Kilzer.
1195 * Scripts/prepare-ChangeLog:
1196 (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
1197 files that end with ".js".
1198 (get_function_line_ranges_for_javascript): Find functions, anonymous functions
1199 and getters/setters.
1201 2008-10-14 Alp Toker <alp@nuanti.com>
1203 Reviewed by Sam Weinig.
1205 https://bugs.webkit.org/show_bug.cgi?id=16299
1206 Add a config.h file to DRT
1208 Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
1209 an ad-hoc config header.
1211 * DumpRenderTree/AccessibilityController.cpp:
1212 * DumpRenderTree/AccessibilityUIElement.cpp:
1213 * DumpRenderTree/AccessibilityUIElement.h:
1214 * DumpRenderTree/DumpRenderTree.h:
1215 * DumpRenderTree/GCController.cpp:
1216 * DumpRenderTree/LayoutTestController.cpp:
1217 * DumpRenderTree/WorkQueue.cpp:
1218 * DumpRenderTree/config.h: Added.
1219 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1220 * DumpRenderTree/gtk/GCControllerGtk.cpp:
1221 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1222 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1223 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1224 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1225 * DumpRenderTree/win/DumpRenderTree.cpp:
1226 * DumpRenderTree/win/DumpRenderTreeWin.h:
1227 * DumpRenderTree/win/EditingDelegate.cpp:
1228 * DumpRenderTree/win/EventSender.cpp:
1229 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1230 * DumpRenderTree/win/GCControllerWin.cpp:
1231 * DumpRenderTree/win/MD5.cpp:
1232 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
1233 * DumpRenderTree/win/PolicyDelegate.cpp:
1234 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1235 * DumpRenderTree/win/WorkQueueItemWin.cpp:
1238 2008-10-13 Chris Fleizach <cfleizach@apple.com>
1240 Reviewed by Beth Dakin.
1242 Added a method to get the links in a webpage
1244 * DumpRenderTree/AccessibilityUIElement.cpp:
1245 (attributesOfDocumentLinksCallback):
1246 (AccessibilityUIElement::getJSClass):
1247 * DumpRenderTree/AccessibilityUIElement.h:
1248 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1249 (AccessibilityUIElement::getDocumentLinks):
1250 (AccessibilityUIElement::attributesOfDocumentLinks):
1251 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1252 (AccessibilityUIElement::getDocumentLinks):
1253 (AccessibilityUIElement::attributesOfDocumentLinks):
1255 2008-10-13 David Kilzer <ddkilzer@apple.com>
1257 Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
1259 <https://bugs.webkit.org/show_bug.cgi?id=21457>
1263 * Scripts/resolve-ChangeLogs: Added optional parameter to
1264 -f|--fix-merged switch to run the script on a revision range.
1265 Updated command-line validation checks.
1266 (findChangeLog): Fixed long-standing bug that should have used
1267 $_[0] instead of $_.
1268 (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated
1269 to work when called from git filter-branch. It always restores a
1270 copy of the previous revision before reapplying the patch.
1271 (fixMergedChangeLogs): Added. Calls itself through git filter-branch
1272 to re-merge ChangeLog files across a revision range. Removes
1273 .git/refs/original directory on success.
1274 (parseFixMerged): Added. Custom method to parse the -f|--fix-merged
1276 (removeChangeLogArguments): Added. Removes items from @ARGV when
1277 they are ChangeLog paths, and return a list of paths. This makes it
1278 easier to validate the command-line.
1279 (resolveChangeLog): Added. Extracted from main code block. Runs
1280 the traditional single-file merge algorithm.
1281 (usageAndExit): Added. Extracted from main code block. Prints
1282 usage statement and exits with error status.
1284 2008-10-12 Darin Adler <darin@apple.com>
1286 * Scripts/make-js-test-wrappers: Update exceptions list so the script
1287 won't overwrite files and mangle tests.
1289 2008-10-11 Dan Bernstein <mitz@apple.com>
1291 Reviewed by Sam Weinig and Anders Carlsson.
1293 - update Mac DumpRenderTree to use the new WebView SPI for forcing the
1294 complex text code path
1295 - add --complex-text support to Windows DumpRenderTree
1297 * DumpRenderTree/mac/DumpRenderTree.mm:
1299 * DumpRenderTree/win/DumpRenderTree.cpp:
1300 (createWebViewAndOffscreenWindow):
1302 * Scripts/run-webkit-tests:
1304 2008-10-09 Eric Seidel <eric@webkit.org>
1306 Reviewed by Oliver Hunt.
1308 https://bugs.webkit.org/show_bug.cgi?id=21498
1310 * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
1312 2008-10-09 Cameron Zwarich <zwarich@apple.com>
1316 Add StructureID.o to the exclusion list in the global initializers
1317 script to fix the Debug build.
1319 * Scripts/check-for-global-initializers:
1321 2008-10-08 Mark Rowe <mrowe@apple.com>
1323 Fix the Windows build after r37434.
1325 * DumpRenderTree/win/DumpRenderTree.cpp:
1326 (dump): Update code to approximate valid C++ syntax.
1328 2008-10-08 Timothy Hatcher <timothy@apple.com>
1330 Add SVGElementInstance to the list of exceptions that have
1331 global initializers in debug builds.
1333 Rubber-stamped by Mark Rowe.
1335 * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
1337 2008-10-08 Simon Fraser <simon.fraser@apple.com>
1339 Reviewed by Dan Bernstein
1341 Avoid disconnect between DRT and run-webkit-tests
1342 about whether to expect PNG dumps by having DRT always
1343 print two blocks terminated by #EOF, the second of which
1346 https://bugs.webkit.org/show_bug.cgi?id=21483
1348 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1350 (dumpWebViewAsPixelsAndCompareWithExpected):
1351 * DumpRenderTree/mac/DumpRenderTree.mm:
1353 * DumpRenderTree/win/DumpRenderTree.cpp:
1355 * Scripts/run-webkit-tests:
1357 2008-10-07 Adam Roben <aroben@apple.com>
1359 Make sure short functions get included in ChangeLog output for git
1362 Reviewed by Dave Kilzer.
1364 * Scripts/prepare-ChangeLog:
1365 (sub diffCommand): Pass -U0 to git diff so that each contiguous change
1366 will get its own chunk without any surrounding context.
1367 (sub extractLineRange): Use the line numbers from the chunk header
1368 without modifying them now that they're accurate.
1370 2008-10-04 Mark Rowe <mrowe@apple.com>
1372 Reviewed by Tim Hatcher.
1374 Update check-for-weak-vtables to check only the final linked image for weak vtables.
1375 This gives more useful results than checking each object file independently.
1377 * Scripts/check-for-weak-vtables:
1379 2008-10-03 Pierre-Olivier Latour <pol@apple.com>
1381 Reviewed by Darin Adler
1383 Render images to RGBA8 bitmaps independently of platform endianness.
1385 Create image difference bitmap in reference image colorspace instead of device colorspace
1386 (which depends on the main display profile), so that no color matching happens.
1388 https://bugs.webkit.org/show_bug.cgi?id=21336
1390 * DumpRenderTree/cg/ImageDiffCG.cpp:
1391 (createDifferenceBitmap):
1392 (computePercentageDifferent):
1395 2008-10-02 Simon Fraser <simon.fraser@apple.com>
1397 Reviewed by Darin Adler
1399 Fix hang when running with --pixel --reset, which occurs
1400 because DRT spews PNG data when the script does not expect it.
1402 https://bugs.webkit.org/show_bug.cgi?id=21323
1404 * Scripts/run-webkit-tests:
1406 2008-09-30 Mark Rowe <mrowe@apple.com>
1408 Reviewed by Dan Bernstein.
1410 Add a leak counter for CachedResources since we've had two recent leaks involving them.
1412 * Scripts/check-for-global-initializers:
1414 2008-09-30 Mark Rowe <mrowe@apple.com>
1416 Rubber-stamped by Dan Bernstein.
1418 Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
1420 JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
1421 being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
1422 We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
1423 any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
1424 torn down before we exit.
1426 * DumpRenderTree/mac/DumpRenderTree.mm:
1430 2008-09-30 Simon Fraser <simon.fraser@apple.com>
1432 Reviewed by Dan Bernstein
1434 Don't run pixel comparison for text-only tests.
1435 https://bugs.webkit.org/show_bug.cgi?id=21124
1437 * DumpRenderTree/mac/DumpRenderTree.mm:
1439 * Scripts/run-webkit-tests:
1441 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
1445 Changed copyright from Trolltech ASA to Nokia.
1447 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
1450 * DumpRenderTree/qt/DumpRenderTree.cpp:
1451 * DumpRenderTree/qt/jsobjects.cpp:
1452 * DumpRenderTree/qt/jsobjects.h:
1453 * DumpRenderTree/qt/main.cpp:
1454 * DumpRenderTree/qt/testplugin.cpp:
1455 * DumpRenderTree/qt/testplugin.h:
1457 2008-09-28 David Kilzer <ddkilzer@apple.com>
1459 Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
1461 <https://bugs.webkit.org/show_bug.cgi?id=21185>
1465 * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
1466 will attempt to reapply the last commit to a ChangeLog file such
1467 that the ChangeLog entry appears at the top of the file.
1468 (findChangeLog): Added prototype and moved method below the exit
1470 (fixMergedChangeLog): Added. Method to fix incorrectly merged
1473 2008-09-27 Anders Carlsson <andersca@apple.com>
1475 Reviewed by Sam Weinig.
1477 https://bugs.webkit.org/show_bug.cgi?id=21178
1478 <rdar://problem/6248651>
1480 Return the result value from getURL.
1482 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1485 2008-09-26 Matt Lilek <webkit@mattlilek.com>
1487 Reviewed by Tim Hatcher.
1489 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
1491 * Scripts/build-webkit:
1493 2008-09-26 Alice Liu <alice.liu@apple.com>
1495 Remove usage of atlstr.h and CString for VCExpress compatibility
1497 Reviewed by Stephanie Lewis.
1499 * record-memory-win/main.cpp:
1502 (QueryContinuously):
1506 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
1508 wx build fix. Update the version of libpng.
1510 * wx/install-unix-extras:
1512 2008-09-24 Sam Weinig <sam@webkit.org>
1514 Reviewed by Darin Adler.
1516 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
1517 <rdar://problem/6243534>
1518 Crash below Function.apply when using a runtime array as the argument list
1520 Add method to ObjCController to return a runtime array.
1522 * DumpRenderTree/mac/ObjCController.m:
1523 (+[ObjCController isSelectorExcludedFromWebScript:]):
1524 (+[ObjCController webScriptNameForSelector:]):
1525 (-[ObjCController testArray]):
1527 2008-09-24 Beth Dakin <bdakin@apple.com>
1529 Reviewed by Sam Weinig.
1531 Speculative build fix.
1533 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1534 (AccessibilityUIElement::supportsPressAction):
1536 2008-09-23 Beth Dakin <bdakin@apple.com>
1538 Reviewed by Sam Weinig.
1540 This patch extends DumpRenderTree's AccessibilityController to ask
1541 if the focused element supports the press action.
1543 * DumpRenderTree/AccessibilityUIElement.cpp:
1544 (getSupportsPressActionCallback):
1545 (AccessibilityUIElement::getJSClass):
1546 * DumpRenderTree/AccessibilityUIElement.h:
1547 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1548 (AccessibilityUIElement::supportsPressAction):
1550 2008-09-22 Alice Liu <alice.liu@apple.com>
1552 Adding a stand-alone Windows console application to record a process's memory usage
1554 Reviewed by Steve Falkenburg.
1556 * record-memory-win: Added.
1557 * record-memory-win/main.cpp: Added.
1558 * record-memory-win/record-memory-win.vcproj: Added.
1560 2008-09-22 Chris Fleizach <cfleizach@apple.com>
1562 Reviewed by Darin Adler.
1564 Support ability to get/set selected text ranges for text controls through AX.
1566 * DumpRenderTree/AccessibilityUIElement.cpp:
1567 (setSelectedTextRangeCallback):
1568 (getSelectedTextRangeCallback):
1569 (AccessibilityUIElement::getJSClass):
1570 * DumpRenderTree/AccessibilityUIElement.h:
1571 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1572 (AccessibilityUIElement::attributesOfRowHeaders):
1573 (AccessibilityUIElement::attributesOfVisibleCells):
1574 (AccessibilityUIElement::rowIndexRange):
1575 (AccessibilityUIElement::columnIndexRange):
1576 (AccessibilityUIElement::cellForColumnAndRow):
1577 (AccessibilityUIElement::selectedTextRange):
1578 (AccessibilityUIElement::setSelectedTextRange):
1579 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1580 (AccessibilityUIElement::selectedTextRange):
1581 (AccessibilityUIElement::setSelectedTextRange):
1583 2008-09-20 Darin Adler <darin@apple.com>
1585 * DumpRenderTree/mac/DumpRenderTree.mm:
1586 (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
1588 2008-09-19 Alp Toker <alp@nuanti.com>
1590 Build fix for the 'gold' linker and recent binutils. New behaviour
1591 requires that we link to used libraries explicitly.
1595 2008-09-19 Stephanie Lewis <slewis@apple.com>
1597 Reviewed by Oliver Hunt.
1599 Implement a workaround for an incorrect mime-type on machines with
1600 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
1601 See radar <rdar://problem/6234318>.
1603 * DumpRenderTree/mac/DumpRenderTree.mm:
1606 2008-09-19 Chris Fleizach <cfleizach@apple.com>
1608 Fixed Windows bustage
1610 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1611 (AccessibilityUIElement::titleUIElement):
1613 2008-09-18 Chris Fleizach <cfleizach@apple.com>
1615 Reviewed by Darin Adler.
1617 Expose titleUIElement call for DumpRenderTree
1620 * DumpRenderTree/AccessibilityUIElement.cpp:
1621 (titleUIElementCallback):
1622 (AccessibilityUIElement::getJSClass):
1623 * DumpRenderTree/AccessibilityUIElement.h:
1624 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1625 (AccessibilityUIElement::titleUIElement):
1627 2008-09-18 Darin Adler <darin@apple.com>
1629 * Scripts/do-webcore-rename: More renaming plans.
1631 2008-09-18 Mark Rowe <mrowe@apple.com>
1633 Reviewed by Dan Bernstein.
1635 Clear the main frame's name between tests to get more consistent test results
1636 when running the WebKit tests with --nthly.
1638 * DumpRenderTree/mac/DumpRenderTree.mm:
1639 (resetWebViewToConsistentStateBeforeTesting):
1640 * DumpRenderTree/win/DumpRenderTree.cpp:
1641 (resetWebViewToConsistentStateBeforeTesting):
1643 2008-09-18 Stephanie Lewis <slewis@apple.com>
1645 Really fix tiger jsc tests.
1647 * Scripts/run-javascriptcore-tests:
1649 2008-09-18 Stephanie Lewis <slewis@apple.com>
1651 Reviewed by Maciej Stachowiak.
1653 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
1655 * Scripts/run-javascriptcore-tests:
1656 * Scripts/webkitdirs.pm:
1658 2008-09-18 Mark Rowe <mrowe@apple.com>
1660 Rubber-stamped by Sam Weinig.
1662 Print warning to stdout rather than stderr when a test attempts to access a remote resource.
1663 This should make it more obvious when a test does this, as stderr output tends to be obscured
1664 by noise in the test results.
1666 Also fixes some coding style issues in ResourceLoadDelegate.mm.
1668 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1669 (-[NSError _drt_descriptionSuitableForTestResult]):
1670 (-[NSURL _drt_descriptionSuitableForTestResult]):
1671 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1672 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1673 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1674 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1675 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1676 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1678 2008-09-18 Stephanie Lewis <slewis@apple.com>
1680 Reviewed by Mark Rowe and Maciej Stachowiak..
1682 add a --64-bit option and specify which architecture to run on Mac.
1684 * Scripts/run-javascriptcore-tests:
1686 2008-09-17 Mark Rowe <mrowe@apple.com>
1688 Reviewed by Sam Weinig.
1690 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
1692 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
1693 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
1694 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
1696 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
1697 * DumpRenderTree/LayoutTestController.cpp:
1698 (LayoutTestController::LayoutTestController):
1699 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
1700 (layoutTestControllerObjectFinalize): Deref the wrapped object.
1701 (LayoutTestController::makeWindowObject): Ref the wrapped object.
1702 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
1703 * DumpRenderTree/mac/DumpRenderTree.mm:
1704 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
1705 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
1706 * DumpRenderTree/win/DumpRenderTree.cpp:
1707 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
1709 2008-09-16 Sam Weinig <sam@webkit.org>
1711 Reviewed by Mark Rowe.
1713 Add flag to disable running sample on tests that timeout.
1715 * Scripts/run-webkit-tests:
1717 2008-09-16 Adam Roben <aroben@apple.com>
1719 Windows build fix after r36511
1721 Update for rename of layoutTestController to gLayoutTestController.
1723 * DumpRenderTree/LayoutTestController.cpp:
1724 * DumpRenderTree/win/EditingDelegate.cpp:
1725 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1726 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1727 * DumpRenderTree/win/UIDelegate.cpp:
1729 2008-09-16 Adam Roben <aroben@apple.com>
1731 Add a script to print out the dependency tree of a Visual Studio
1734 * Scripts/print-msvc-project-dependencies: Added.
1736 2008-09-16 Mark Rowe <mrowe@apple.com>
1740 * DumpRenderTree/LayoutTestController.cpp:
1741 (notifyDoneCallback): Call fprintf in a safer manner.
1743 2008-09-16 Simon Fraser <simon.fraser@apple.com>
1745 Reviewed by Eric Seidel
1747 Protect against tests that call layoutTestController.notifyDone()
1748 more than once, which would lead to memory corruption, by nulling
1749 out the LayoutTestController on the JSObjectRef on destruction. Also
1750 add a finalize callback on the class so that if the LTC outlives
1751 the JSObjectRef, the JSObjectRef backpointer on the LTC can be
1754 https://bugs.webkit.org/show_bug.cgi?id=20875
1756 * DumpRenderTree/LayoutTestController.cpp:
1757 (LayoutTestController::LayoutTestController):
1758 (notifyDoneCallback):
1759 (layoutTestControllerObjectFinalize):
1760 (LayoutTestController::makeWindowObject):
1761 (LayoutTestController::getJSClass):
1762 * DumpRenderTree/LayoutTestController.h:
1763 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1764 (LayoutTestController::~LayoutTestController):
1766 2008-09-16 Simon Fraser <simon.fraser@apple.com>
1768 Reviewed by Eric Seidel
1770 Step 1 patch: rename global variable for clarity.
1771 https://bugs.webkit.org/show_bug.cgi?id=20875
1773 * DumpRenderTree/DumpRenderTree.h:
1774 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1775 (dumpWebViewAsPixelsAndCompareWithExpected):
1776 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1781 (webViewLoadFinished):
1782 (webViewWindowObjectCleared):
1783 * DumpRenderTree/mac/DumpRenderTree.mm:
1784 (allocateGlobalControllers):
1785 (dumpFrameScrollPosition):
1787 (methodNameStringForFailedTest):
1790 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1791 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
1792 * DumpRenderTree/mac/EditingDelegate.mm:
1793 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1794 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1795 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1796 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1797 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1798 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1799 (-[EditingDelegate webViewDidBeginEditing:]):
1800 (-[EditingDelegate webViewDidChange:]):
1801 (-[EditingDelegate webViewDidEndEditing:]):
1802 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1803 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1804 (-[FrameLoadDelegate processWork:]):
1805 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1806 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1807 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1808 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1809 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1810 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1811 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1812 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1813 * DumpRenderTree/mac/UIDelegate.mm:
1814 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1815 (-[UIDelegate webViewFocus:]):
1816 (-[UIDelegate webViewUnfocus:]):
1817 (-[UIDelegate webView:createWebViewWithRequest:]):
1818 (-[UIDelegate webViewClose:]):
1819 * DumpRenderTree/win/DumpRenderTree.cpp:
1820 (dumpFrameScrollPosition):
1825 2008-09-15 Alice Liu <alice.liu@apple.com>
1827 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
1829 Reviewed by Stephanie Lewis.
1831 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1832 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
1833 but not Intel. Add a check for nil before calling.
1834 (AccessibilityUIElement::rowIndexRange):
1835 (AccessibilityUIElement::columnIndexRange):
1837 2008-09-14 Mark Rowe <mrowe@apple.com>
1841 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1842 (waitUntilDoneWatchdogFired):
1843 * DumpRenderTree/mac/ObjCPlugin.m:
1845 2008-09-08 Dan Bernstein <mitz@apple.com>
1847 Reviewed by Mark Rowe.
1849 - add an option to run-webkit-tests to always use the complex text code path
1851 * DumpRenderTree/mac/DumpRenderTree.mm:
1852 (initializeGlobalsFromCommandLineOptions):
1854 * Scripts/run-webkit-tests:
1856 2008-09-08 Steve Falkenburg <sfalken@apple.com>
1858 Another Windows nightly build fix.
1860 Reviewed by Sam Weinig.
1862 * FindSafari/FindSafari.cpp:
1863 (_tmain): Delete existing WebKitNightly directory in temp.
1864 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
1866 2008-09-07 Stephanie Lewis <slewis@apple.com>
1868 Reviewed by Mark Rowe.
1872 * DumpRenderTree/DumpRenderTreePrefix.h:
1873 * DumpRenderTree/win/DumpRenderTree.vcproj:
1875 2008-09-06 Steve Falkenburg <sfalken@apple.com>
1877 Fix Windows nightlies.
1879 Copy WebKit.dll alongside application so registry-free COM can find it.
1880 Update embedded manifest to force use registry-free COM.
1882 Reviewed by Dave Hyatt.
1884 * FindSafari/FindSafari.cpp:
1888 * FindSafari/FindSafari.rc: Added.
1889 * FindSafari/FindSafari.vcproj:
1890 * FindSafari/Safari.exe.manifest: Added.
1891 * FindSafari/resource.h: Added.
1893 === End merge of squirrelfish-extreme ===
1895 2008-08-31 Mark Rowe <mrowe@apple.com>
1897 Reviewed by Maciej Stachowiak.
1899 Add a --profile flag to run-sunspider.
1901 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
1902 to build scripts as indicating that we should use the "Profiling" configuration. At present
1903 this is only supported by JavaScriptCore, so using this argument to build any other project
1904 will likely result in unexpected behaviour.
1906 2008-08-27 Mark Rowe <mrowe@apple.com>
1908 Reviewed by Oliver Hunt.
1910 Fix run-webkit-tests to handle DRT exiting early.
1912 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
1914 === Start merge of squirrelfish-extreme ===
1916 2008-09-04 Mark Rowe <mrowe@apple.com>
1918 Reviewed by Eric Seidel.
1920 Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
1921 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
1923 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
1925 2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1927 Reviewed by Oliver Hunt.
1929 Bug 20616: Incorporate V8 benchmarks in testing
1930 <https://bugs.webkit.org/show_bug.cgi?id=20616>
1932 Add support for the --v8 option to run-sunspider.
1934 * Scripts/run-sunspider:
1936 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
1938 wx buildbot fix. More robust handling of clean when makefiles are not built or
1939 are not completely made.
1941 * wx/build-wxwebkit:
1943 2008-09-03 Mark Rowe <mrowe@apple.com>
1945 More Mac build fixes.
1947 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
1948 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
1949 default configuration specified in the .xcconfig files.
1951 * Scripts/build-webkit:
1953 2008-09-03 Mark Rowe <mrowe@apple.com>
1955 Mac build fix. Ensure that dashboard support is enabled.
1957 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1959 2008-08-25 Steve Falkenburg <sfalken@apple.com>
1961 Build fix. Copy correct version of ICU.
1963 * DumpRenderTree/win/DumpRenderTree.vcproj:
1965 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
1969 [run-webkit-tests] Use QtLauncher to show the results of the tests
1970 konqueror might not be installed, xdg-open might not be installed but the
1971 QtLauncher should be present.
1973 * Scripts/run-webkit-tests:
1975 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
1977 Initial support for accessibility layout tests on Windows.
1978 https://bugs.webkit.org/show_bug.cgi?id=20497
1980 Reviewed by Sam Weinig.
1982 * DumpRenderTree/AccessibilityController.h: Fix typos.
1983 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
1984 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
1985 prevent oleacc.h, which includes windows.h, from including winsock.h.
1987 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
1988 (AccessibilityController::AccessibilityController):
1989 (AccessibilityController::~AccessibilityController):
1990 (AccessibilityController::focusedElement): Get the root element, and
1991 request its focused object.
1992 (AccessibilityController::rootElement): Query Windows for the
1993 accessible client object for the WebView's window.
1994 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
1995 (AccessibilityUIElement::AccessibilityUIElement):
1996 (AccessibilityUIElement::~AccessibilityUIElement):
1997 (AccessibilityUIElement::getLinkedUIElements): Not implemented.
1998 (AccessibilityUIElement::getChildren): Get the child count, and append
2000 (AccessibilityUIElement::getChildAtIndex): Get the child at the given
2001 index offset by 1. In MSAA, child 0 is the object itself.
2002 (AccessibilityUIElement::allAttributes): Not implemented.
2003 (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
2004 (AccessibilityUIElement::attributesOfChildren): Same.
2005 (AccessibilityUIElement::parameterizedAttributeNames): Same.
2006 (self): Return a VARIANT representing the "self" object. This is used
2007 when calling methods that require a child variant.
2008 (AccessibilityUIElement::role): Get the MSAA role, a long value, and
2009 convert it into a string with GetRoleText().
2010 (AccessibilityUIElement::title): Get the element's title, and convert
2012 (AccessibilityUIElement::description): Same, for description.
2013 (AccessibilityUIElement::width):
2014 (AccessibilityUIElement::height):
2015 (AccessibilityUIElement::intValue): Get the object's value as a string,
2016 and convert the string to a double.
2017 (AccessibilityUIElement::minValue): Not implemented.
2018 (AccessibilityUIElement::maxValue): Same.
2019 (AccessibilityUIElement::insertionPointLineNumber): Same.
2020 (AccessibilityUIElement::attributesOfColumnHeaders): Same.
2021 (AccessibilityUIElement::attributesOfRowHeaders): Same.
2022 (AccessibilityUIElement::attributesOfColumns): Same.
2023 (AccessibilityUIElement::attributesOfRows): Same.
2024 (AccessibilityUIElement::attributesOfVisibleCells): Same.
2025 (AccessibilityUIElement::attributesOfHeader): Same.
2026 (AccessibilityUIElement::indexInTable): Same.
2027 (AccessibilityUIElement::rowIndexRange): Same.
2028 (AccessibilityUIElement::columnIndexRange): Same.
2029 (AccessibilityUIElement::lineForIndex): Same.
2030 (AccessibilityUIElement::boundsForRange): Same.
2031 (AccessibilityUIElement::cellForColumnAndRow): Same.
2032 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
2033 project. Link to oleacc.lib, the MSAA library.
2034 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2035 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
2037 (FrameLoadDelegate::didClearWindowObject): Create a new window object
2038 for the accessibility controller.
2039 * DumpRenderTree/win/FrameLoadDelegate.h:
2041 2008-08-21 Simon Fraser <simon.fraser@apple.com>
2043 Reviewed by Mark Rowe
2045 Make build-launcher-app work when run from a git repository.
2046 https://bugs.webkit.org/show_bug.cgi?id=20478
2048 * BuildSlaveSupport/build-launcher-app:
2050 2008-08-20 Maxime Britto <britto@apple.com>
2052 Reviewed by Ada Chan.
2055 Mouse events are sent to page while resizing window (affects Gmail)
2057 * DumpRenderTree/win/UIDelegate.h:
2058 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
2060 2008-08-19 Chris Fleizach <cfleizach@apple.com>
2062 Reviewed by Beth Dakin.
2064 Add snowleopard platform in layout tests
2066 Added support for accessing the attributes of
2067 accessibility tables through the accessibility controller
2070 * DumpRenderTree/AccessibilityUIElement.cpp:
2071 (attributesOfColumnHeadersCallback):
2072 (attributesOfRowHeadersCallback):
2073 (attributesOfColumnsCallback):
2074 (attributesOfRowsCallback):
2075 (attributesOfVisibleCellsCallback):
2076 (attributesOfHeaderCallback):
2077 (indexInTableCallback):
2078 (rowIndexRangeCallback):
2079 (columnIndexRangeCallback):
2080 (childAtIndexCallback):
2081 (cellForColumnAndRowCallback):
2082 (AccessibilityUIElement::getJSClass):
2083 * DumpRenderTree/AccessibilityUIElement.h:
2084 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2085 (convertNSArrayToVector):
2086 (descriptionOfElements):
2087 (AccessibilityUIElement::getLinkedUIElements):
2088 (AccessibilityUIElement::getChildren):
2089 (AccessibilityUIElement::attributesOfLinkedUIElements):
2090 (AccessibilityUIElement::attributesOfChildren):
2091 (AccessibilityUIElement::attributesOfColumnHeaders):
2092 (AccessibilityUIElement::attributesOfRowHeaders):
2093 (AccessibilityUIElement::attributesOfColumns):
2094 (AccessibilityUIElement::attributesOfRows):
2095 (AccessibilityUIElement::attributesOfVisibleCells):
2096 (AccessibilityUIElement::attributesOfHeader):
2097 (AccessibilityUIElement::indexInTable):
2098 (AccessibilityUIElement::rowIndexRange):
2099 (AccessibilityUIElement::columnIndexRange):
2100 (AccessibilityUIElement::cellForColumnAndRow):
2101 * Scripts/run-webkit-tests:
2103 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
2105 Reviewed by Darin Adler.
2107 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
2108 is waiting for crash reporter to let it exit.
2110 The fix does not work on Tiger, because the state of the process is indistinguishable from
2111 other waiting processes, at least not with this technique.
2113 * Scripts/run-webkit-tests:
2115 2008-08-18 Alp Toker <alp@nuanti.com>
2117 Reviewed by Holger Freyther.
2119 https://bugs.webkit.org/show_bug.cgi?id=20350
2120 [GTK] Get DumpRenderTree working
2122 Fixes and enhancements to DumpRenderTree. With these changes, the test
2123 suite can now complete a run producing text and render tree dumps.
2125 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2129 (webViewLoadFinished):
2130 (webViewWindowObjectCleared):
2131 (webViewConsoleMessage):
2132 (webViewScriptAlert):
2133 (webViewScriptPrompt):
2134 (webViewScriptConfirm):
2135 (webViewTitleChanged):
2137 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2138 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2139 (LayoutTestController::clearBackForwardList):
2140 (LayoutTestController::pathToLocalResource):
2141 (LayoutTestController::setAcceptsEditing):
2142 (LayoutTestController::setUserStyleSheetEnabled):
2143 (LayoutTestController::setUserStyleSheetLocation):
2144 (waitToDumpWatchdogFired):
2145 (LayoutTestController::windowCount):
2146 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2147 (JSStringCopyUTF8CString):
2148 (ScriptItem::invoke):
2150 2008-08-17 Geoffrey Garen <ggaren@apple.com>
2152 Reviewed by Cameron Zwarich.
2154 Updated project files to XCode 3.1.
2156 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2157 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2159 2008-08-15 Mark Rowe <mrowe@apple.com>
2161 Rubber-stamped by Geoff Garen.
2163 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
2165 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
2167 2008-08-13 Simon Hausmann <hausmann@webkit.org>
2169 Rubber-stamped by Holger.
2171 Revert r31585 and disable http tests for the Qt build again unless
2174 Running the http tests unfortunately currently still triggers
2175 failures in non-http tests due to side-effects. Disable them by default for
2176 now, for more reliable results.
2178 * Scripts/run-webkit-tests:
2180 2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
2182 Reviewed (and updated) by Alp Toker.
2184 https://bugs.webkit.org/show_bug.cgi?id=16620
2185 [GTK] Autotools make dist and make check support
2187 Get make dist working.
2189 Note that not all possible configurations have been tested yet.
2193 2008-08-10 Alp Toker <alp@nuanti.com>
2195 Remove leftover qmake/GTK+ build files.
2197 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
2198 * GtkLauncher/GtkLauncher.pro: Removed.
2200 2008-08-06 Chris Fleizach <cfleizach@apple.com>
2202 Reviewed by Beth Dakin
2204 AX functions shouldn't return position information because it changes
2205 based on the platform
2207 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2208 (AccessibilityUIElement::boundsForRange):
2210 2008-08-06 Eric Seidel <eric@webkit.org>
2214 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
2215 <https://bugs.webkit.org/show_bug.cgi?id=20297>
2216 <rdar://problem/6093153>
2218 I've made AccessibilityUIElement a stack object for now. It could be
2219 made RefCounted, but I figured that might be overkill for the moment.
2220 Essentially it's just a RefPtr itself. :)
2222 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
2223 which was causing additional leaks. :)
2225 I added toAXElement to remove a bunch of copy/paste code.
2227 * DumpRenderTree/AccessibilityController.h:
2228 * DumpRenderTree/AccessibilityUIElement.cpp:
2230 (allAttributesCallback):
2231 (attributesOfLinkedUIElementsCallback):
2232 (attributesOfChildrenCallback):
2233 (lineForIndexCallback):
2234 (boundsForRangeCallback):
2235 (childAtIndexCallback):
2238 (getDescriptionCallback):
2240 (getHeightCallback):
2241 (getIntValueCallback):
2242 (getMinValueCallback):
2243 (getMaxValueCallback):
2244 (getInsertionPointLineNumberCallback):
2246 * DumpRenderTree/AccessibilityUIElement.h:
2247 (AccessibilityUIElement::platformUIElement):
2248 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2249 (AccessibilityController::focusedElement):
2250 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2251 (AccessibilityUIElement::AccessibilityUIElement):
2252 (AccessibilityUIElement::getLinkedUIElements):
2253 (AccessibilityUIElement::getChildren):
2254 (AccessibilityUIElement::getChildAtIndex):
2255 (AccessibilityUIElement::attributesOfLinkedUIElements):
2256 (AccessibilityUIElement::attributesOfChildren):
2258 2008-08-06 Eric Seidel <eric@webkit.org>
2260 Reviewed by Cameron Zwarich.
2262 Speculative fix for an error I keep seeing in my Cygwin build
2264 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
2266 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
2268 Forgot to commit licensing correction in last commit.
2270 * wx/packaging/wxWebKitInstaller.iss.in:
2272 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
2274 Reviewed by Eric Seidel.
2276 Scripts for building a wxWebKit installer for wxPython on Win, eventually will
2277 be used for nightlies.
2279 https://bugs.webkit.org/show_bug.cgi?id=20036
2281 * wx/packaging: Added.
2282 * wx/packaging/build-win-installer.py: Added.
2283 * wx/packaging/wxWebKitInstaller.iss.in: Added.
2285 2008-07-31 Adam Roben <aroben@apple.com>
2289 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
2290 Release configuration, too.
2292 2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
2294 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
2297 <https://bugs.webkit.org/show_bug.cgi?id=20245>
2299 Reviewed by Adam Roben.
2301 * WinLauncher/WinLauncher.vcproj: adding the following properties to
2302 WinLauncher > Properties > Manifest Tool > Isolated COM
2303 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
2304 Component File Name: WebKit$(WebKitDLLConfigSuffix)
2305 Doing the change on "All Configurations"
2307 2008-07-31 Adam Roben <aroben@apple.com>
2309 Windows build bot fix
2311 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
2312 exist for people at Apple can't be found. Also updated the ICU version
2315 2008-07-31 David Kilzer <ddkilzer@apple.com>
2317 Fix layout test results for webarchive/test-xml-stylesheet.xml
2319 Reviewed by Darin Adler.
2321 * DumpRenderTree/mac/DumpRenderTree.mm:
2322 (convertMIMEType): Work around the "text/xml" local file type
2323 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
2324 stop mangling "application/x-javascript" into "text/javascript".
2325 (convertWebResourceDataToString): When checking whether to dump a
2326 resource as text, also check to see if the MIME type is in the
2327 -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
2328 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
2331 2008-07-31 Chris Fleizach <cfleizach@apple.com>
2333 Reviewed by Alice Liu
2335 Add AX support to get the bounds for a range of text
2336 Add AX support to get the child of an element
2337 Add AX support to get all the parameterized attribute names of an element
2339 * DumpRenderTree/AccessibilityUIElement.cpp:
2340 (parameterizedAttributeNamesCallback):
2341 (boundsForRangeCallback):
2342 (childAtIndexCallback):
2343 (AccessibilityUIElement::getJSClass):
2344 * DumpRenderTree/AccessibilityUIElement.h:
2345 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2346 (AccessibilityUIElement::getChildAtIndex):
2347 (AccessibilityUIElement::parameterizedAttributeNames):
2348 (AccessibilityUIElement::boundsForRange):
2350 2008-07-31 Erik Bunce <elbunce@thehive.com>
2354 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
2356 * Scripts/run-launcher:
2358 2008-07-30 Jessica Kahn <jess@apple.com>
2360 Reviewed by Adam Roben.
2362 Slightly stricter checking for previous change, suggested by Adam.
2364 * Scripts/extract-localizable-strings:
2366 2008-07-30 Jessica Kahn <jess@apple.com>
2368 Reviewed by Darin Adler.
2370 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
2372 * Scripts/extract-localizable-strings:
2374 2008-07-30 Anders Carlsson <andersca@apple.com>
2378 Copy icu38* files instead of icu36* files.
2380 * DumpRenderTree/win/DumpRenderTree.vcproj:
2382 2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
2384 DRT/Gtk build fix for r35362
2386 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2387 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
2389 2008-07-25 Brady Eidson <beidson@apple.com>
2393 Add the ability to dump whether-or-not an element should have autocomplete enabled,
2394 from the perspective of the WebKit API
2396 * DumpRenderTree/LayoutTestController.cpp:
2397 (elementDoesAutoCompleteForElementWithIdCallback):
2398 (LayoutTestController::staticFunctions):
2400 * DumpRenderTree/LayoutTestController.h:
2401 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2402 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
2403 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2404 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
2406 2008-07-25 Chris Fleizach <cfleizach@apple.com>
2408 Reviewed by Beth Dakin
2410 Add support for AXLineForIndex and AXInsertionPointIndex through the
2411 accessibility controller
2413 * DumpRenderTree/AccessibilityUIElement.cpp:
2414 (lineForIndexCallback):
2415 (getInsertionPointLineNumberCallback):
2416 (AccessibilityUIElement::getJSClass):
2417 * DumpRenderTree/AccessibilityUIElement.h:
2418 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2419 (AccessibilityUIElement::insertionPointLineNumber):
2420 (AccessibilityUIElement::lineForIndex):
2422 2008-07-25 Adam Roben <aroben@apple.com>
2424 Try to fix the Windows build bot
2426 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
2427 that don't exist for people outside of Apple.
2429 2008-07-18 Landry Breuil <landry@openbsd.org>
2431 Bug 19975: [OpenBSD] Patches to enable build of WebKit
2433 <https://bugs.webkit.org/show_bug.cgi?id=19975>
2435 Reviewed by David Kilzer.
2437 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
2439 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
2441 CygwinDownloader fails to install necessary packages
2442 https://bugs.webkit.org/show_bug.cgi?id=20075
2444 Reviewed by Mark Rowe.
2446 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
2447 mirrors removed in r34116. Set MIME type to application/octet-stream.
2449 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
2451 CygwinDownloader's make-zip.sh script fails
2452 https://bugs.webkit.org/show_bug.cgi?id=20074
2454 Reviewed by Mark Rowe.
2456 * CygwinDownloader/cygwin-downloader.py:
2458 2008-07-15 Sam Weinig <sam@webkit.org>
2460 Reviewed by Anders Carlsson.
2462 Refactor accessibility testing code.
2465 - AccessibilityController
2466 Controller which has access to the WebView and can provide the focused element, root element
2467 and in the future, elementAtPoint.
2469 - AccessibilityUIElement
2470 Object which provides access to the data provided by the Accessibility APIs.
2472 * DumpRenderTree/AccessibilityController.cpp:
2473 (getFocusedElementCallback):
2474 (getRootElementCallback):
2475 (AccessibilityController::getJSClass):
2476 * DumpRenderTree/AccessibilityController.h:
2477 * DumpRenderTree/AccessibilityUIElement.cpp: Added.
2478 (allAttributesCallback):
2479 (attributesOfLinkedUIElementsCallback):
2480 (attributesOfChildrenCallback):
2483 (getDescriptionCallback):
2485 (getHeightCallback):
2486 (getIntValueCallback):
2487 (getMinValueCallback):
2488 (getMaxValueCallback):
2490 (AccessibilityUIElement::makeJSAccessibilityUIElement):
2491 (AccessibilityUIElement::getJSClass):
2492 * DumpRenderTree/AccessibilityUIElement.h: Added.
2493 (AccessibilityUIElement::platformUIElement):
2494 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2495 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2496 (AccessibilityController::AccessibilityController):
2497 (AccessibilityController::~AccessibilityController):
2498 (AccessibilityController::focusedElement):
2499 (AccessibilityController::rootElement):
2500 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
2501 (AccessibilityUIElement::AccessibilityUIElement):
2502 (descriptionOfValue):
2503 (attributesOfElement):
2504 (nsStringToJSStringRef):
2505 (concatenateAttributeAndValue):
2506 (AccessibilityUIElement::getLinkedUIElements):
2507 (AccessibilityUIElement::getChildren):
2508 (AccessibilityUIElement::attributesOfLinkedUIElements):
2509 (AccessibilityUIElement::attributesOfChildren):
2510 (AccessibilityUIElement::allAttributes):
2511 (AccessibilityUIElement::role):
2512 (AccessibilityUIElement::title):
2513 (AccessibilityUIElement::description):
2514 (AccessibilityUIElement::width):
2515 (AccessibilityUIElement::height):
2516 (AccessibilityUIElement::intValue):
2517 (AccessibilityUIElement::minValue):
2518 (AccessibilityUIElement::maxValue):
2520 2008-07-14 Chris Fleizach <cfleizach@apple.com>
2522 Reviewed by Beth Dakin
2524 Add support to get attributes of the AXChildren of an objecty
2526 * DumpRenderTree/AccessibilityController.cpp:
2527 (attributesOfChildrenForFocusedElementCallback):
2528 (AccessibilityController::staticFunctions):
2529 * DumpRenderTree/AccessibilityController.h:
2530 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2531 (descriptionOfValue):
2532 (AccessibilityController::attributesOfChildrenForFocusedElement):
2534 2008-07-14 Steve Falkenburg <sfalken@apple.com>
2538 * DumpRenderTree/win/DumpRenderTree.vcproj:
2540 2008-07-14 Adam Roben <aroben@apple.com>
2542 Attempted Windows build fix
2544 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
2545 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
2548 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
2550 Reviewed by Geoff Garen.
2552 Eliminate per-thread JavaScript global data instance support and make arbitrary
2553 global data/global object combinations possible.
2555 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2556 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
2557 In this scenario, it was causing crashes after each 10-20 tests, because there was a large
2558 chance for a different thread to cause GC after the context was released.
2560 2008-07-11 Stephanie Lewis <slewis@apple.com>
2562 Reviewed by Darin Adler.
2564 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
2566 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
2568 * DumpRenderTree/mac/DumpRenderTree.mm:
2569 (setDefaultsToConsistentValuesForTesting):
2570 (resetWebViewToConsistentStateBeforeTesting):
2571 * Scripts/run-webkit-tests:
2573 2008-07-10 Steve Falkenburg <sfalken@apple.com>
2577 * DumpRenderTree/win/DumpRenderTree.vcproj:
2579 2008-07-09 Eric Seidel <eric@webkit.org>
2581 Reviewed by Mark Rowe.
2583 Print <div> backgrounds when printing from DRT.
2585 * DumpRenderTree/mac/DumpRenderTree.mm:
2586 (setDefaultsToConsistentValuesForTesting):
2588 2008-07-09 Eric Seidel <eric@webkit.org>
2590 Reviewed by Mark Rowe.
2592 Fix copying of expected results to correct location
2594 * Scripts/run-webkit-tests:
2596 2008-07-09 Eric Seidel <eric@webkit.org>
2600 * DumpRenderTree/LayoutTestController.cpp:
2601 (LayoutTestController::LayoutTestController):
2602 (dumpAsPDFCallback):
2603 (LayoutTestController::staticFunctions):
2604 * DumpRenderTree/LayoutTestController.h:
2605 (LayoutTestController::dumpAsPDF):
2606 (LayoutTestController::setDumpAsPDF):
2607 * DumpRenderTree/mac/DumpRenderTree.mm:
2611 2008-07-09 Eric Seidel <eric@webkit.org>
2615 Add Content-Type support to DumpRenderTree and run-webkit-tests
2616 and move expected.txt files to expected.webarchive
2618 https://bugs.webkit.org/show_bug.cgi?id=15565
2620 * DumpRenderTree/cg/ImageDiffCG.cpp:
2623 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2625 * DumpRenderTree/mac/DumpRenderTree.mm:
2627 * Scripts/run-webkit-tests:
2629 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
2633 Port r34988 to Mac: allow tests to define JavaScript to execute when
2634 NPP_DestroyStream or NPP_URLNotify is called.
2636 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2637 (NPP_New): Remove initialization that happens in pluginAllocate. Look
2638 for new arguments onStreamDestroy and onURLNotify.
2639 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
2640 (executeScript): Code moved from onStreamLoad.
2641 (NPP_NewStream): Call executeScript.
2642 (NPP_DestroyStream): Same.
2643 (NPP_URLNotify): Same.
2645 2008-07-07 Beth Dakin <bdakin@apple.com>
2649 This patch extends DRT accessibility tests to add the ability to
2650 query the intValue, minValue, and maxValue of the focused element.
2652 * DumpRenderTree/AccessibilityController.cpp:
2653 (intValueOfFocusedElementCallback):
2654 (minValueOfFocusedElementCallback):
2655 (maxValueOfFocusedElementCallback):
2656 (AccessibilityController::staticFunctions):
2657 * DumpRenderTree/AccessibilityController.h:
2658 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2659 (AccessibilityController::intValueOfFocusedElement):
2660 (AccessibilityController::minValueOfFocusedElement):
2661 (AccessibilityController::maxValueOfFocusedElement):
2663 2008-07-07 Steve Falkenburg <sfalken@apple.com>
2667 * DumpRenderTree/win/ImageDiff.vcproj:
2669 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
2671 Allow tests to define JavaScript to execute when NPP_DestroyStream or
2672 NPP_URLNotify is called.
2676 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
2677 property, "returnErrorFromNewStream." This is to support the test for
2678 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
2679 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
2680 error from NPP_NewStream.
2681 (pluginGetProperty):
2682 (pluginSetProperty):
2684 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
2685 members, onStreamDestroy and onURLNotify.
2686 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
2687 (NPP_New): Remove initialization of onStreamLoad; this was moved to
2688 pluginAllocate. Look for new arguments onStreamDestroy and
2689 onURLNotify, and store their values.
2690 (NPP_Destroy): Free new members.
2691 (executeScript): Code moved from onStreamLoad
2692 (NPP_NewStream): If returnErrorFromNewStream has been set to true,
2693 return a generic error code. If onStreamLoad is set, execute it as
2695 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
2696 (NPP_URLNotify): Same, for onURLNotify.
2698 2008-07-02 Brady Eidson <beidson@apple.com>
2700 Reviewed by Mitz Pettel and John Sullivan
2702 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
2705 Required to add a layout test for the fix for <rdar://problem/5549871>
2707 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2708 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
2709 [WebFrame stopLoading] to test for the crash reflected in 5549871
2711 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
2712 * DumpRenderTree/LayoutTestController.cpp:
2713 (LayoutTestController::LayoutTestController):
2714 (setStopProvisionalFrameLoadsCallback):
2715 (LayoutTestController::staticFunctions):
2716 * DumpRenderTree/LayoutTestController.h:
2717 (LayoutTestController::stopProvisionalFrameLoads):
2718 (LayoutTestController::setStopProvisionalFrameLoads):
2720 2008-07-01 Chris Fleizach <cfleizach@apple.com>
2722 Reviewed by Beth Dakin
2724 Support ability to get width and height of an element through accessibility
2726 * DumpRenderTree/AccessibilityController.cpp:
2727 (widthOfFocusedElementCallback):
2728 (heightOfFocusedElementCallback):
2729 (AccessibilityController::staticFunctions):
2730 * DumpRenderTree/AccessibilityController.h:
2731 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2732 (AccessibilityController::widthOfFocusedElement):
2733 (AccessibilityController::heightOfFocusedElement):
2735 2008-06-30 Chris Fleizach <cfleizach@apple.com>
2737 Reviewed by Beth Dakin
2739 Support the ability to get the linked ui elements of an object
2741 * DumpRenderTree/AccessibilityController.cpp:
2742 (attributesOfLinkedUIElementsForFocusedElementCallback):
2743 (AccessibilityController::staticFunctions):
2744 * DumpRenderTree/AccessibilityController.h:
2745 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2746 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
2747 (AccessibilityController::allAttributesOfFocusedElement):
2748 (attributesOfElement):
2749 (nsStringToJSStringRef):
2751 2008-06-29 Sam Weinig <sam@webkit.org>
2755 * DumpRenderTree/mac/EventSendingController.mm:
2756 (eventTypeForMouseButtonAndAction):
2758 2008-06-27 Eric Seidel <eric@webkit.org>
2762 Add multi-button mouseevent support to DRT
2763 https://bugs.webkit.org/show_bug.cgi?id=15173
2765 It's now possible to specify the mouse button with:
2766 eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
2768 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2769 * DumpRenderTree/mac/EventSendingController.h:
2770 * DumpRenderTree/mac/EventSendingController.mm:
2771 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2772 (+[EventSendingController webScriptNameForSelector:]):
2773 (eventTypeForMouseButtonAndAction):
2774 (-[EventSendingController updateClickCountForButton:]):
2775 (-[EventSendingController mouseDown:]):
2776 (-[EventSendingController mouseUp:]):
2777 (-[EventSendingController mouseMoveToX:Y:]):
2778 (-[EventSendingController contextClick]):
2780 2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
2784 Copy <test>-expected.png from the right location to /tmp/layout-test-results.
2785 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
2787 * Scripts/run-webkit-tests:
2789 2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
2791 Reviewed by Christian Dywan.
2793 [Gtk] Initialize webview settings before running DRT tests
2794 http://bugs.webkit.org/show_bug.cgi?id=19778
2796 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2797 (setDefaultsToConsistentStateValuesForTesting):
2800 2008-06-26 Darin Adler <darin@apple.com>
2802 * Scripts/check-for-weak-vtables: Fixed comment.
2804 2008-06-26 Darin Adler <darin@apple.com>
2806 * Scripts/check-for-weak-vtables: Added.
2808 2008-06-26 Beth Dakin <bdakin@apple.com>
2812 Do not include AXPosition in the dump of all of the accessibility
2813 attributes since it is screen-specific.
2815 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2816 (AccessibilityController::allAttributesOfFocusedElement):
2818 2008-06-26 Beth Dakin <bdakin@apple.com>
2822 This is a speculative fix for the failing layout test on the build
2823 bot. It seems that the problem that the Build Bot is having is
2824 Tiger-specific. On Tiger, [NSValue description] was not very smart.
2825 So I replaced our call to description with a hand-rolled equivalent
2826 that will match on both platforms.
2828 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2829 (descriptionOfValue):
2831 2008-06-25 Beth Dakin <bdakin@apple.com>
2833 Reviewed by Sam Weinig.
2835 This patch adds support to the AccessibilityController to query the
2836 following attributes specifically, without a full attribute dump:
2837 AXRole, AXTitle, and AXDescription.
2839 * DumpRenderTree/AccessibilityController.cpp:
2840 (allAttributesForFocusedElementCallback):
2841 (roleOfFocusedElementCallback):
2842 (titleOfFocusedElementCallback):
2843 (descriptionOfFocusedElementCallback):
2844 (AccessibilityController::staticFunctions):
2845 * DumpRenderTree/AccessibilityController.h:
2846 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2847 (AccessibilityController::allAttributesForFocusedElement):
2848 (concatenateAttributeAndValue):
2849 (AccessibilityController::roleOfFocusedElement):
2850 (AccessibilityController::titleOfFocusedElement):
2851 (AccessibilityController::descriptionOfFocusedElement):
2853 2008-06-24 Dan Bernstein <mitz@apple.com>
2855 Reviewed by Stephanie Lewis.
2857 - move the linker flags from the debug configuration in the project
2858 to the shared configuration
2860 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2861 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2863 2008-06-24 Dan Bernstein <mitz@apple.com>
2865 - try to fix the Tiger build
2867 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2869 2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
2871 Reviewed by Darin Adler.
2873 Fix for <rdar://problem/5884881> Make DumpRenderTree support
2876 This patch adds some basic support for accessibility layout tests
2879 * DumpRenderTree/AccessibilityController.cpp: Added.
2880 (AccessibilityController::AccessibilityController):
2881 (AccessibilityController::~AccessibilityController):
2882 (dumpCurrentAttributesCallback):
2883 (AccessibilityController::makeWindowObject):
2884 (AccessibilityController::getJSClass):
2885 (AccessibilityController::staticFunctions):
2886 * DumpRenderTree/AccessibilityController.h: Added.
2887 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2888 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
2889 (descriptionOfValue):
2890 (AccessibilityController::dumpCurrentAttributes):
2891 * DumpRenderTree/mac/DumpRenderTree.mm:
2892 * DumpRenderTree/mac/FrameLoadDelegate.h:
2893 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2894 (-[FrameLoadDelegate init]):
2895 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2897 2008-06-24 John Sullivan <sullivan@apple.com>
2899 Reviewed by Dan Bernstein
2901 * Scripts/extract-localizable-strings:
2902 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
2903 list of debugging macros, to avoid noise when keeping the list of localized string
2904 exceptions up to date
2906 2008-06-24 Dan Bernstein <mitz@apple.com>
2908 Rubber-stamped by Darin Adler.
2910 - add a font family for testing font-weight
2912 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
2913 flags to create data sections for the WeightWatcher fonts.
2914 * DumpRenderTree/fonts: Added.
2915 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
2916 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
2917 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
2918 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
2919 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
2920 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
2921 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
2922 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
2923 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
2924 * DumpRenderTree/mac/DumpRenderTree.mm:
2925 (activateFonts): Renamed activateAhemFont to this and made it activate
2926 the WeightWatcher fonts in addition to Ahem.
2927 (prepareConsistentTestingEnvironment): Adjusted for the name change.
2928 * DumpRenderTree/win/DumpRenderTree.cpp:
2929 (initialize): Added the WeightWatcher fonts.
2931 2008-06-20 Brent Fulgham <bfulgham@gmail.com>
2933 Reviewed by Darin Adler.
2935 Extend the build-webkit (and set-webkit-configuration) script to
2936 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
2938 * Scripts/build-webkit: Add --cairo-win32 to the help message
2939 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
2940 subroutine to recognize the --cairo-win32 flag. When present,
2941 the build configuration is changed from Debug/Release to
2942 Debug_Cairo/Release_Cairo. This flag is only active when the
2943 isCygwin() test is true.
2945 2008-06-17 Dan Bernstein <mitz@apple.com>
2947 Reviewed by Justin Garcia.
2949 - prefer Leopard results when running on Snow Leopard.
2951 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
2953 * Scripts/webkitdirs.pm: Added isSnowLeopard().
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-webcore-rename: Updated for the latest round of renaming.
2963 2008-06-15 Darin Adler <darin@apple.com>
2965 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2967 2008-06-15 Darin Adler <darin@apple.com>
2969 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2971 2008-06-15 Darin Adler <darin@apple.com>
2973 * Scripts/do-file-rename: Updated.
2974 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2976 2008-06-15 Darin Adler <darin@apple.com>
2978 * Scripts/do-file-rename: Updated for the latest round of renaming.
2979 * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
2981 2008-06-15 Darin Adler <darin@apple.com>
2983 * Scripts/create-exports: Added.
2984 * Scripts/do-file-rename: Added some planned renames.
2985 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2987 2008-06-15 Darin Adler <darin@apple.com>
2989 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2991 2008-06-15 Maciej Stachowiak <mjs@apple.com>
2995 - rename testkjs to jsc
2997 * Scripts/build-jsc: Copied from Scripts/build-testkjs.
2998 * Scripts/build-testkjs: Removed.
2999 * Scripts/run-javascriptcore-tests:
3000 * Scripts/run-jsc: Copied from Scripts/run-testkjs.
3001 * Scripts/run-sunspider:
3002 * Scripts/run-testkjs: Removed.
3003 * Scripts/sunspider-compare-results:
3005 2008-06-14 Darin Adler <darin@apple.com>
3007 * Scripts/do-webcore-rename: Moved planned renames into a separate hash
3008 from the actual renames. Removed many renames that are either done or
3011 2008-06-14 Darin Adler <darin@apple.com>
3013 * Scripts/do-webcore-rename: Fixed obvious typo.
3015 2008-06-13 Darin Adler <darin@apple.com>
3017 * Scripts/make-js-test-wrappers: Added three more exceptions.
3019 2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
3023 For the qmake based build make it possible to build against makespecs where
3024 QMAKE_CC is defined in a configuration file included from qmake.conf.
3026 * Scripts/webkitdirs.pm: Added support for include() statements in
3029 2008-06-09 Alp Toker <alp@nuanti.com>
3031 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
3032 each of the tools since these are no longer set globally.
3036 2008-06-08 Darin Adler <darin@apple.com>
3038 * Scripts/make-js-test-wrappers: Added another exception.
3040 2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
3042 Reviewed by Timothy.
3044 Remove the --squirrelfish option from SunSpider, as it is no longer needed.
3046 * Scripts/run-sunspider:
3048 2008-06-05 Alp Toker <alp@nuanti.com>
3050 Build fix for r34387.
3054 2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
3058 Add an exception for Opcode.o to the global initializers check so that
3059 we can dump instruction statistics in the JavaScript virtual machine.
3061 * Scripts/check-for-global-initializers:
3063 2008-05-30 Steve Falkenburg <sfalken@apple.com>
3065 Generate an isolated COM manifest for registry free COM.
3067 * DumpRenderTree/win/DumpRenderTree.vcproj:
3069 2008-06-02 Anders Carlsson <andersca@apple.com>
3071 Reviewed by David Hyatt and Mitz.
3073 <rdar://problem/5704119>
3074 repro crash in WebCore::RenderPart::setWidget (plugin-related?)
3076 Call -[WebView display] in the "plug-in" failed delegate method, simulating
3077 the sheet that Safari puts up.
3079 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3080 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
3082 2008-05-30 Timothy Hatcher <timothy@apple.com>
3084 Made the starting line number of scripts be 1-based throughout the engine.
3085 This cleans up script line numbers so they are all consistent now.
3087 Reviewed by Oliver Hunt.
3089 * DumpRenderTree/mac/ObjCController.m:
3090 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
3091 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
3092 (runJavaScriptThread): Ditto.
3093 * DumpRenderTree/win/DumpRenderTree.cpp:
3094 (runJavaScriptThread): Ditto.
3096 2008-05-29 Geoffrey Garen <ggaren@apple.com>
3098 Reviewed by Adam Roben.
3100 Fixed VCSUtils.pm to work with git repositories inside symlinks.
3102 * Scripts/VCSUtils.pm: Compute a relative path from the git repository
3103 root, instead of the root of the filesystem, to work around a bug in
3104 abs2rel when traversing symlinked home directories.
3106 2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
3108 Reviewed by Darin Adler.
3110 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
3112 https://bugs.webkit.org/show_bug.cgi?id=19311
3114 * Scripts/webkitdirs.pm:
3116 2008-05-29 Alexey Proskuryakov <ap@webkit.org>
3118 Reviewed by Adam Roben.
3120 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
3121 configuration files.
3123 * Scripts/run-iexploder-tests:
3124 * Scripts/run-mangleme-tests:
3125 Renamed runSafari to not conflict with the one in webkitdirs.
3126 Added SSLCertificateFile option for httpd, as now needed.
3128 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
3130 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
3132 * wx/browser/browser.cpp:
3135 2008-05-24 Andreia Gaita <shana@isninja.com>
3137 Reviewed by Alp Toker.
3139 cygwin-downloader.py fixes.
3141 Remove two non-working mirrors. Add a check for missing dependency
3142 packages to avoid bailing out on an inconsistent Cygwin package list.
3144 * CygwinDownloader/cygwin-downloader.py:
3146 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
3148 Reviewed by Darin Adler.
3150 Remove useQmake usage. QMake build doesn't support Gtk port
3153 Also fix 2 occurences of "Web Kit". Should be WebKit.
3155 * Scripts/build-webkit:
3156 * Scripts/run-javascriptcore-tests:
3157 * Scripts/run-launcher:
3158 * Scripts/run-webkit-tests:
3159 * Scripts/webkitdirs.pm:
3161 2008-05-22 Stephanie Lewis <slewis@apple.com>
3165 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
3167 * DumpRenderTree/mac/UIDelegate.mm:
3168 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
3169 * DumpRenderTree/win/UIDelegate.cpp:
3170 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
3172 2008-05-21 Adele Peterson <adele@apple.com>
3176 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
3178 * DumpRenderTree/win/UIDelegate.cpp:
3179 (UIDelegate::webViewFocus): Added.
3180 (UIDelegate::webViewUnfocus): Added.
3181 * DumpRenderTree/win/UIDelegate.h:
3183 2008-05-21 Mark Rowe <mrowe@apple.com>
3185 Rubber-stamped by Stephanie Lewis.
3187 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
3188 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
3191 * Scripts/run-safari:
3193 2008-05-21 Stephanie Lewis <slewis@apple.com>
3195 Reviewed by Maciej, Mark.
3197 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
3199 * Scripts/run-webkit-tests:
3200 * Scripts/webkitdirs.pm:
3202 2008-05-20 Mark Rowe <mrowe@apple.com>
3204 Reviewed by Stephanie Lewis.
3206 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
3208 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
3209 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
3210 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
3211 pass an argument to run-webkit-tests after having built with "make x86_64".
3213 * Scripts/gdb-safari:
3214 * Scripts/run-safari:
3215 * Scripts/run-webkit-tests:
3216 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
3217 preferred architecture, and exporting of the environment variables for 'arch' out into
3218 separate subroutines.
3220 2008-05-20 Mark Rowe <mrowe@apple.com>
3222 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
3226 === End merge of squirrelfish ===
3228 2008-04-14 Maciej Stachowiak <mjs@apple.com>
3232 - added support for --ubench mode
3234 * Scripts/run-sunspider:
3236 2008-03-26 Geoffrey Garen <ggaren@apple.com>
3238 Reviewed by Oliver Hunt.
3240 --squirrelfish mode: pared down tests for squirrelfish to chew on.
3242 * Scripts/run-sunspider:
3244 === Start merge of squirrelfish ===
3246 2008-05-21 Darin Adler <darin@apple.com>
3248 * Scripts/make-js-test-wrappers: Added another exception.
3250 2008-05-19 Stephanie Lewis <slewis@apple.com>
3254 Explicitly set run mode to 32bit unless overridden to avoid
3255 confusion when running tests
3257 * Scripts/build-dumprendertree:
3258 * Scripts/gdb-safari:
3259 * Scripts/run-webkit-tests:
3260 * Scripts/webkitdirs.pm:
3262 2008-05-16 Stephanie Lewis <slewis@apple.com>
3266 Print out pending unload event count. Also print out main frame name to match Mac.
3268 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3269 (descriptionSuitableForTestResult):
3270 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
3272 2008-05-16 Timothy Hatcher <timothy@apple.com>
3274 Remove the Drosera project, code and resources since it has been
3275 replaced with the Web Inspector's debugger. Removes references to
3276 Drosera in various scripts and makefiles.
3278 Rubber-stamped by Mark Rowe.
3280 * BuildSlaveSupport/build-launcher-app:
3281 * Drosera/DebuggerDocument.cpp: Removed.
3282 * Drosera/DebuggerDocument.h: Removed.
3283 * Drosera/Drosera.icns: Removed.
3284 * Drosera/DroseraWin.make: Removed.
3285 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
3286 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
3287 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
3288 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
3289 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
3290 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
3291 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3292 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
3293 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3294 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3295 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
3296 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
3297 * Drosera/Images/Drosera.ico: Removed.
3298 * Drosera/Images/SourceArrow.png: Removed.
3299 * Drosera/Images/SourceArrowBlank.png: Removed.
3300 * Drosera/Images/SourceArrowOpen.png: Removed.
3301 * Drosera/Images/background_stripe.png: Removed.
3302 * Drosera/Images/breakPoint.tif: Removed.
3303 * Drosera/Images/breakPointDisabled.tif: Removed.
3304 * Drosera/Images/breakpointeditor.png: Removed.
3305 * Drosera/Images/close.tif: Removed.
3306 * Drosera/Images/close_active.tif: Removed.
3307 * Drosera/Images/close_hover.tif: Removed.
3308 * Drosera/Images/console.png: Removed.
3309 * Drosera/Images/continue.tif: Removed.
3310 * Drosera/Images/fileIcon.jpg: Removed.
3311 * Drosera/Images/finishFunction.tif: Removed.
3312 * Drosera/Images/glossyFooterFill.tif: Removed.
3313 * Drosera/Images/glossyHeader.png: Removed.
3314 * Drosera/Images/glossyHeaderPressed.png: Removed.
3315 * Drosera/Images/gradientBackground.png: Removed.
3316 * Drosera/Images/gutter.png: Removed.
3317 * Drosera/Images/navLeftDisabled.png: Removed.
3318 * Drosera/Images/navLeftNormal.png: Removed.
3319 * Drosera/Images/navLeftPressed.png: Removed.
3320 * Drosera/Images/navRightDisabled.png: Removed.
3321 * Drosera/Images/navRightNormal.png: Removed.
3322 * Drosera/Images/navRightPressed.png: Removed.
3323 * Drosera/Images/pause.tif: Removed.
3324 * Drosera/Images/popUpArrows.png: Removed.
3325 * Drosera/Images/programCounter.tif: Removed.
3326 * Drosera/Images/programCounterBreakPoint.tif: Removed.
3327 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
3328 * Drosera/Images/run.tif: Removed.
3329 * Drosera/Images/siteCollapsed.tif: Removed.
3330 * Drosera/Images/siteExpanded.tif: Removed.
3331 * Drosera/Images/siteIcon.tif: Removed.
3332 * Drosera/Images/small.ico: Removed.
3333 * Drosera/Images/splitterBar.tif: Removed.
3334 * Drosera/Images/splitterDimple.tif: Removed.
3335 * Drosera/Images/step.tif: Removed.
3336 * Drosera/Images/stepOut.tif: Removed.
3337 * Drosera/Images/stepOver.tif: Removed.
3338 * Drosera/Images/stop.tif: Removed.
3339 * Drosera/Images/toolbarBackground.png: Removed.
3340 * Drosera/Images/verticalSplitterBar.tiff: Removed.
3341 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
3342 * Drosera/Makefile: Removed.
3343 * Drosera/breakpointEditor.html: Removed.
3344 * Drosera/config.h: Removed.
3345 * Drosera/console.css: Removed.
3346 * Drosera/console.html: Removed.
3347 * Drosera/console.js: Removed.
3348 * Drosera/debugger.css: Removed.
3349 * Drosera/debugger.html: Removed.
3350 * Drosera/debugger.js: Removed.
3351 * Drosera/mac/DebuggerApplication.h: Removed.
3352 * Drosera/mac/DebuggerApplication.mm: Removed.
3353 * Drosera/mac/DebuggerClient.h: Removed.
3354 * Drosera/mac/DebuggerClient.mm: Removed.
3355 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
3356 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
3357 * Drosera/mac/Info.plist: Removed.
3358 * Drosera/mac/LauncherInfo.plist: Removed.
3359 * Drosera/mac/Makefile: Removed.
3360 * Drosera/mac/ServerConnection.h: Removed.
3361 * Drosera/mac/ServerConnection.mm: Removed.
3362 * Drosera/mac/launcher.m: Removed.
3363 * Drosera/mac/main.m: Removed.
3364 * Drosera/viewer.css: Removed.
3365 * Drosera/viewer.html: Removed.
3366 * Drosera/win/BaseDelegate.h: Removed.
3367 * Drosera/win/DebuggerClient.cpp: Removed.
3368 * Drosera/win/DebuggerClient.h: Removed.
3369 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
3370 * Drosera/win/Drosera.cpp: Removed.
3371 * Drosera/win/Drosera.h: Removed.
3372 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
3373 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
3374 * Drosera/win/DroseraPrefix.cpp: Removed.
3375 * Drosera/win/DroseraPrefix.h: Removed.
3376 * Drosera/win/Info.plist: Removed.
3377 * Drosera/win/ServerConnection.cpp: Removed.
3378 * Drosera/win/ServerConnection.h: Removed.
3379 * Drosera/win/resource.h: Removed.
3381 * Scripts/build-drosera: Removed.
3382 * Scripts/gdb-drosera: Removed.
3383 * Scripts/run-drosera: Removed.
3384 * Scripts/run-drosera-nightly.cmd: Removed.
3385 * Scripts/run-drosera.cmd: Removed.
3386 * Scripts/webkitdirs.pm:
3388 2008-05-15 Stephanie Lewis <slewis@apple.com>
3392 Dump the unload count for a frame after parsing is finished.
3394 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3395 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3397 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
3399 Reviewed by Dan Bernstein.
3401 https://bugs.webkit.org/show_bug.cgi?id=10707
3402 DumpRenderTree should not be able to access non-local resources
3404 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3405 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3406 Block them, and complain.
3408 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
3410 wx build fix. Update the version of libpng to download and instsall.
3412 * wx/install-unix-extras:
3414 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
3418 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
3419 We now force the return value to be numeric.
3421 - Removed platform checks as it was a work around the previous issue.
3423 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
3425 * Scripts/build-webkit:
3426 * Scripts/webkitdirs.pm:
3428 2008-05-12 Adam Roben <aroben@apple.com>
3430 Support for testing NPN_PostURL
3432 Reviewed by Anders Carlsson.
3434 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3435 (toCString): Added this helper function.
3436 (testPostURLFile): Added. Writes the passed-in content to the
3437 passed-in file and calls NPN_PostURL with the passed-in URL and
3439 (pluginInvoke): Added a case for testPostURLFile.
3440 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3441 (followShortcuts): Changed to allow paths that don't yet exist.
3443 2008-05-12 Mark Rowe <mrowe@apple.com>
3445 Reviewed by Sam Weinig.
3447 Minor cleanup of the DRT Xcode project.
3449 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
3450 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
3451 not need to be there.
3453 2008-05-12 Anders Carlsson <andersca@apple.com>
3457 Add support for testing application caches.
3459 * DumpRenderTree/mac/DumpRenderTree.mm:
3463 (resetWebViewToConsistentStateBeforeTesting):
3464 Turn on support for the application cache.
3466 2008-05-09 Mark Rowe <mrowe@apple.com>
3468 Reviewed by Anders Carlsson.
3470 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
3472 It currently does not attempt to print events which means that plugins/mouse-events.html
3473 will fail when run 64-bit. All other tests that use this plugin pass.
3475 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3476 (testGetIntIdentifier):
3477 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3481 2008-05-09 Brady Eidson <beidson@apple.com>
3483 Reviewed by Adam Roben
3485 Explicitly call shutDownWebKit() before quitting.
3487 * Drosera/win/Drosera.cpp:
3490 * DumpRenderTree/win/DumpRenderTree.cpp:
3493 2008-05-09 Mark Rowe <mrowe@apple.com>
3495 Fix the Tiger build of Drosera.
3497 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
3499 2008-05-09 Sam Weinig <sam@webkit.org>
3501 Rubber-stamped by Mark Rowe.
3503 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
3505 * Scripts/build-webkit:
3507 2008-05-08 Mark Rowe <mrowe@apple.com>
3509 Another attempt at a Tiger build fix.
3511 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
3513 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3515 2008-05-08 Mark Rowe <mrowe@apple.com>
3517 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
3519 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3521 2008-05-08 Mark Rowe <mrowe@apple.com>
3523 Reviewed by Oliver Hunt and Dan Bernstein.
3525 Update DumpRenderTree to build 64-bit.
3527 The three major changes here are:
3528 1) Use NSInteger in the appropriate places.
3529 2) Use ColorSync API that is available in 64-bit to switch display profiles.
3530 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
3532 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
3533 needs updated to successfully build.
3535 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
3536 * DumpRenderTree/mac/DumpRenderTree.mm:
3537 (swizzleAllMethods):
3539 (prepareConsistentTestingEnvironment):
3540 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3541 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
3542 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3543 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3544 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3545 (restoreColorSpace):
3546 (failedGettingCurrentProfile):
3547 (setDefaultColorProfileToRGB):
3549 2008-05-08 Mark Rowe <mrowe@apple.com>
3551 Reviewed by Darin Adler.
3553 Clean up Drosera so that it will build 64-bit.
3555 * Drosera/mac/DebuggerApplication.mm:
3556 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
3557 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
3558 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
3560 2008-05-07 David Kilzer <ddkilzer@apple.com>
3562 Use File::Find and Getopt::Long in make-js-test-wrappers
3564 Reviewed by Darin Adler.
3566 * Scripts/make-js-test-wrappers:
3567 - Updated Apple copyright statement.
3568 - Added command-line switch parsing and -h|--help switch.
3569 - Allowed user to pass list of files/directories on which to do
3570 a restricted search for TEMPLATE.html files. The default
3571 behavior is still to search the entire LayoutTests directory.
3572 - Removed duplicate 'use strict' statement.
3573 - Replaced use of `find` statements with File::Find::find().
3574 - Remove unneeded chomp() calls now that we use File::Find.
3575 (directoryFilter): Added. Filters .svn directories when used
3576 with File::Find::find().
3577 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
3580 2008-05-05 Steve Falkenburg <sfalken@apple.com>
3582 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
3584 * DumpRenderTree/win/DumpRenderTree.vcproj:
3585 * DumpRenderTree/win/ImageDiff.vcproj:
3587 2008-05-05 Adele Peterson <adele@apple.com>
3591 Look for the right ImageDiff executable for debug builds.
3593 * Scripts/run-webkit-tests:
3595 2008-05-05 Darin Adler <darin@apple.com>
3597 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
3600 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
3604 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
3605 tests expect to be 480x360)
3607 * DumpRenderTree/qt/DumpRenderTree.cpp:
3608 (WebCore::DumpRenderTree::open):
3610 2008-05-02 Dan Bernstein <mitz@apple.com>
3612 Reviewed by Adam Roben.
3614 - add an option to svn-apply to set the reviewer name in change logs
3616 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
3618 2008-05-01 David Kilzer <ddkilzer@apple.com>
3620 Clean up configuration usage in run-webkit-tests
3624 * Scripts/run-webkit-tests: Parse configuration switches using
3625 passedConfiguration() from webkitdirs.pm like every other script.
3626 Note that we must still call setConfiguration() afterwards in
3627 case the --configuration switch was used. Use $configurationOption
3628 when running build-dumprendertree instead of recreating the switch.
3630 2008-04-29 Adam Roben <aroben@apple.com>
3632 Restore the beloved COMPtr::operator&
3634 2008-04-29 Adam Roben <aroben@apple.com>