1 2008-11-04 Simon Fraser <simon.fraser@apple.com>
3 Add AccessibilityObject.o to the exclude list for the
4 check for global destructors.
6 * Scripts/check-for-exit-time-destructors:
8 2008-11-04 Darin Adler <darin@apple.com>
10 * Scripts/check-for-exit-time-destructors: Fix failures seen on the
11 bot, but for some reason not on my computer.
13 2008-11-03 Darin Adler <darin@apple.com>
15 Reviewed by Tim Hatcher.
17 - https://bugs.webkit.org/show_bug.cgi?id=22061
18 create script to check for exit-time destructors
20 * Scripts/check-for-exit-time-destructors: Added.
21 Started as a copy of check-for-global-initializers.
23 * Scripts/check-for-global-initializers: Added code to make
24 this script rerun any time it's modified, and also to properly
25 run again after the first time it reports an error.
27 2008-11-03 Pierre-Olivier Latour <pol@apple.com>
29 Reviewed by Dan Bernstein.
31 Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
33 https://bugs.webkit.org/show_bug.cgi?id=22054
35 * DumpRenderTree/mac/DumpRenderTree.mm:
36 (setDefaultsToConsistentValuesForTesting):
38 2008-10-31 Cameron Zwarich <zwarich@apple.com>
42 * Scripts/do-webcore-rename:
44 Add some renames to contemplate for the future.
46 2008-10-31 Darin Adler <darin@apple.com>
48 Requested by Mark Rowe.
50 * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
52 2008-10-31 David Kilzer <ddkilzer@apple.com>
54 Bug 21997: prepare-ChangeLog should filter out ChangeLog files
56 <https://bugs.webkit.org/show_bug.cgi?id=21997>
58 Reviewed by Darin Adler.
60 * Scripts/prepare-ChangeLog:
61 (generateFileList): Don't add ChangeLog files to %{$functionLists}.
62 This prevents them from showing up in the new ChangeLog entry. They
63 were already excluded from @{$changedFiles}.
65 2008-10-30 Mark Rowe <mrowe@apple.com>
67 Reviewed by Jon Homeycutt.
69 Explicitly default to building for only the native architecture in debug and release builds.
71 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
73 2008-10-30 Pierre-Olivier Latour <pol@apple.com>
75 Reviewed by Dan Bernstein.
77 Fixed 64 bit build failure.
79 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
80 (setupMainDisplayColorProfile):
81 (createBitmapContextFromWebView):
83 2008-10-28 Alp Toker <alp@nuanti.com>
85 Fix GTK DRT following build breakage in r37928.
87 * DumpRenderTree/gtk/DumpRenderTree.cpp:
92 2008-10-28 Alp Toker <alp@nuanti.com>
94 Reviewed by Mark Rowe.
96 Fix recently introduced double-free crashes in GTK DRT.
98 LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
99 were updated to call ->deref() but GTK DRT was still deleting
100 gLayoutTestController manually. This patch updates GTK to match the
101 other ports and resolves the memory allocation issues.
103 * DumpRenderTree/gtk/DumpRenderTree.cpp:
106 2008-10-28 Alp Toker <alp@nuanti.com>
108 Reviewed by Mark Rowe.
110 Fix GTK DRT hang when running the tests.
112 Update output from the DRT tool to print an additional '#EOF' to match
113 breaking changes that were made in r37434.
115 * DumpRenderTree/gtk/DumpRenderTree.cpp:
118 2008-10-28 Adele Peterson <adele@apple.com>
120 Reviewed by Sam Weinig.
122 Specify which Localizable.strings to update since we don't always want to update the file in the same
123 directory where we're searching for the strings to localize.
125 * Scripts/extract-localizable-strings:
126 * Scripts/update-webkit-localizable-strings:
128 2008-10-28 Timothy Hatcher <timothy@apple.com>
130 Add support for enabling the profiler, so the profiling tests can continue
131 work now that the profiler is not always enabled.
133 https://bugs.webkit.org/show_bug.cgi?id=21927
135 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
136 not slow down JavaScript all the time
138 Reviewed by Darin Adler and Kevin McCullough.
140 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
141 * DumpRenderTree/LayoutTestController.cpp:
142 (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
143 (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
144 * DumpRenderTree/LayoutTestController.h:
145 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
146 (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
147 * DumpRenderTree/mac/DumpRenderTree.mm:
148 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
149 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
150 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
151 * DumpRenderTree/win/DumpRenderTree.cpp:
152 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
153 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
154 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
156 2008-10-28 Pierre-Olivier Latour <pol@apple.com>
158 Reviewed by Dan Bernstein
160 Primary changes in DumpRenderTree:
161 - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
162 is different from regular font CG anti-aliasing) as font-smoothing settings
163 depends on the display and can also be changed by the user
164 - Use a new cleared buffer for each test instead of the reusing same one to
165 avoid potential result corruption across tests
166 - Can now receive the expected pixel hash as a suffix to the test path or
168 - Make sure hash is computed in a endian-independent way
169 - Improve the code that sets/restores the screen color profile
170 - Make the code more cross-platformy with std::string goodness
171 - Added an "on-screen" mode where the snapshot will take into account surfaces
172 on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
173 reading from the display framebuffer on 10.4. This mode is not active by
174 default for performance reason, but must be explicitly activated from the test
175 file using the new "testOnscreen()" JS API.
177 Primary changes in ImageDiff:
178 - Provide a new comparison algorithm that is more tolerant to "acceptable"
179 failures (i.e. very small differences in font rendering, which --threshold is
180 not really good at handling)
181 - Generate normalized intensity-only diff images
183 Primary changes in run-webkit-tests:
184 - Take advantage of hashes for pixel tests which makes them much faster by
185 minimizing image comparisons
186 - Removed repaint options as these should be set from within test files using
188 - Replaced "threshold" option in by "tolerance" expressed in percents
189 - Added more logging when in "verbose" mode
191 https://bugs.webkit.org/show_bug.cgi?id=21322
192 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
193 * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
194 * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
195 * DumpRenderTree/LayoutTestController.cpp:
196 (LayoutTestController::LayoutTestController):
197 (testOnscreenCallback):
198 (LayoutTestController::staticFunctions):
199 * DumpRenderTree/LayoutTestController.h:
200 (LayoutTestController::testOnscreen):
201 (LayoutTestController::setTestOnscreen):
202 (LayoutTestController::testPathOrURL):
203 (LayoutTestController::expectedPixelHash):
204 * DumpRenderTree/PixelDumpSupport.h:
205 * DumpRenderTree/cg/ImageDiffCG.cpp:
207 (releaseMallocBuffer):
208 (createDifferenceImage):
211 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
212 (computeMD5HashStringForBitmapContext):
213 (dumpWebViewAsPixelsAndCompareWithExpected):
214 * DumpRenderTree/cg/PixelDumpSupportCG.h:
215 (BitmapContext::createByAdoptingBitmapAndContext):
216 (BitmapContext::~BitmapContext):
217 (BitmapContext::cgContext):
218 (BitmapContext::BitmapContext):
219 * DumpRenderTree/mac/DumpRenderTree.mm:
220 (shouldIgnoreWebCoreNodeLeaks):
221 (setDefaultsToConsistentValuesForTesting):
223 (initializeGlobalsFromCommandLineOptions):
224 (prepareConsistentTestingEnvironment):
226 (sizeWebViewForCurrentTest):
229 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
230 (restoreMainDisplayColorProfile):
231 (setupMainDisplayColorProfile):
232 (createBitmapContextFromWebView):
233 * DumpRenderTree/win/DumpRenderTree.cpp:
236 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
237 (getBitmapContextFromWebView):
238 * Scripts/run-webkit-tests:
240 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
242 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
246 2008-10-24 Anders Carlsson <andersca@apple.com>
248 Try fixing the 64-bit build.
250 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
253 2008-10-24 Anders Carlsson <andersca@apple.com>
255 Reviewed by Sam Weinig.
257 <rdar://problem/5440917> Support NPN_Construct
259 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
264 New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
267 Handle testConstruct.
269 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
271 Add objectPointer property.
274 Only enumerate the two first properties.
277 Add a simple construct implementation that just returns the test object.
279 2008-10-24 David Kilzer <ddkilzer@apple.com>
281 Bug 21850: svn-apply and svn-unapply should preserve patch line endings
283 <https://bugs.webkit.org/show_bug.cgi?id=21850>
285 Reviewed by Adam Roben.
287 * Scripts/svn-apply: Save end-of-line characters when stripping them
288 off each line of a patch so that they may be restored after
290 * Scripts/svn-unapply: Ditto.
292 2008-10-23 David Kilzer <ddkilzer@apple.com>
294 Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
296 <https://bugs.webkit.org/show_bug.cgi?id=21832>
298 Reviewed by Sam Weinig.
300 * Scripts/bisect-builds: Use imported tempfile() from File::Temp
301 instead of 'new File::Temp' to make the script work with Perl 5.10.
302 * Scripts/sort-Xcode-project-file: Ditto.
304 2008-10-22 Brady Eidson <beidson@apple.com>
306 Reviewed by Adam Roben
308 <rdar://6261773> - autocomplete="off" doesn't work on Windows
310 Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
312 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
314 2008-10-22 Darin Adler <darin@apple.com>
316 * Scripts/do-webcore-rename: More renaming plans.
318 2008-10-21 Steve Falkenburg <sfalken@apple.com>
320 Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
322 * Scripts/extract-localizable-strings:
324 2008-10-17 Maciej Stachowiak <mjs@apple.com>
326 Reviewed by Mark Rowe.
328 - default to 1000 tests per dump tool instance again, now that CTI no longer causes
329 excess different stack logs.
331 (Also fix a small bug in my last change.)
333 * Scripts/run-webkit-tests:
335 2008-10-17 Stephanie Lewis <slewis@apple.com>
337 Reviewed by Mark Rowe.
339 Fix layout tests that use prologues and epilogues.
341 * Scripts/run-webkit-tests:
343 2008-10-17 Maciej Stachowiak <mjs@apple.com>
345 Reviewed by Mark Rowe.
347 - make sure MallocStackLogging is only on for tools we want to
348 leak check, not other random stuff as well.
350 * Scripts/run-webkit-tests:
352 2008-10-17 Maciej Stachowiak <mjs@apple.com>
354 Reviewed by Stephanie Lewis.
356 - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
358 This should reduce or eliminate crashes on the buildbot due to
359 running out of memory while stack logging.
361 * Scripts/run-webkit-tests:
363 2008-10-16 Jan Michael Alonzo <jmalonzo@webkit.org>
365 Gtk build fix. Not reviewed.
367 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
368 (LayoutTestController::setSmartInsertDeleteEnabled):
370 2008-10-15 Glenn Wilson <gwilson@google.com>
372 Added new method to allow tests to disable smart editing in the course of a test.
373 This is a possible solution to bug .20655
375 Reviewed by Tim Hatcher.
377 * DumpRenderTree/LayoutTestController.cpp:
378 (setSmartInsertDeleteEnabledCallback): new method
379 (LayoutTestController::staticFunctions): added new method to static list of callbacks
380 * DumpRenderTree/LayoutTestController.h: added signature of new method
381 * DumpRenderTree/mac/DumpRenderTree.mm:
382 (resetWebViewToConsistentStateBeforeTesting): added state resetting
383 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
384 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
385 * DumpRenderTree/win/DumpRenderTree.cpp:
386 (resetWebViewToConsistentStateBeforeTesting): added state resetting
387 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
388 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
390 2008-10-14 Ada Chan <adachan@apple.com>
394 Reviewed by Sam Weinig.
396 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
397 * DumpRenderTree/config.h:
398 * DumpRenderTree/win/DumpRenderTreeWin.h:
399 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
400 * DumpRenderTree/win/UIDelegate.cpp:
402 2008-10-13 Timothy Hatcher <timothy@apple.com>
404 Make prepare-ChangeLog populate the changed functions for JavaScript files.
406 https://bugs.webkit.org/show_bug.cgi?id=21567
408 Reviewed by David Kilzer.
410 * Scripts/prepare-ChangeLog:
411 (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
412 files that end with ".js".
413 (get_function_line_ranges_for_javascript): Find functions, anonymous functions
416 2008-10-14 Alp Toker <alp@nuanti.com>
418 Reviewed by Sam Weinig.
420 https://bugs.webkit.org/show_bug.cgi?id=16299
421 Add a config.h file to DRT
423 Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
424 an ad-hoc config header.
426 * DumpRenderTree/AccessibilityController.cpp:
427 * DumpRenderTree/AccessibilityUIElement.cpp:
428 * DumpRenderTree/AccessibilityUIElement.h:
429 * DumpRenderTree/DumpRenderTree.h:
430 * DumpRenderTree/GCController.cpp:
431 * DumpRenderTree/LayoutTestController.cpp:
432 * DumpRenderTree/WorkQueue.cpp:
433 * DumpRenderTree/config.h: Added.
434 * DumpRenderTree/gtk/DumpRenderTree.cpp:
435 * DumpRenderTree/gtk/GCControllerGtk.cpp:
436 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
437 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
438 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
439 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
440 * DumpRenderTree/win/DumpRenderTree.cpp:
441 * DumpRenderTree/win/DumpRenderTreeWin.h:
442 * DumpRenderTree/win/EditingDelegate.cpp:
443 * DumpRenderTree/win/EventSender.cpp:
444 * DumpRenderTree/win/FrameLoadDelegate.cpp:
445 * DumpRenderTree/win/GCControllerWin.cpp:
446 * DumpRenderTree/win/MD5.cpp:
447 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
448 * DumpRenderTree/win/PolicyDelegate.cpp:
449 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
450 * DumpRenderTree/win/WorkQueueItemWin.cpp:
453 2008-10-13 Chris Fleizach <cfleizach@apple.com>
455 Reviewed by Beth Dakin.
457 Added a method to get the links in a webpage
459 * DumpRenderTree/AccessibilityUIElement.cpp:
460 (attributesOfDocumentLinksCallback):
461 (AccessibilityUIElement::getJSClass):
462 * DumpRenderTree/AccessibilityUIElement.h:
463 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
464 (AccessibilityUIElement::getDocumentLinks):
465 (AccessibilityUIElement::attributesOfDocumentLinks):
466 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
467 (AccessibilityUIElement::getDocumentLinks):
468 (AccessibilityUIElement::attributesOfDocumentLinks):
470 2008-10-13 David Kilzer <ddkilzer@apple.com>
472 Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
474 <https://bugs.webkit.org/show_bug.cgi?id=21457>
478 * Scripts/resolve-ChangeLogs: Added optional parameter to
479 -f|--fix-merged switch to run the script on a revision range.
480 Updated command-line validation checks.
481 (findChangeLog): Fixed long-standing bug that should have used
483 (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated
484 to work when called from git filter-branch. It always restores a
485 copy of the previous revision before reapplying the patch.
486 (fixMergedChangeLogs): Added. Calls itself through git filter-branch
487 to re-merge ChangeLog files across a revision range. Removes
488 .git/refs/original directory on success.
489 (parseFixMerged): Added. Custom method to parse the -f|--fix-merged
491 (removeChangeLogArguments): Added. Removes items from @ARGV when
492 they are ChangeLog paths, and return a list of paths. This makes it
493 easier to validate the command-line.
494 (resolveChangeLog): Added. Extracted from main code block. Runs
495 the traditional single-file merge algorithm.
496 (usageAndExit): Added. Extracted from main code block. Prints
497 usage statement and exits with error status.
499 2008-10-12 Darin Adler <darin@apple.com>
501 * Scripts/make-js-test-wrappers: Update exceptions list so the script
502 won't overwrite files and mangle tests.
504 2008-10-11 Dan Bernstein <mitz@apple.com>
506 Reviewed by Sam Weinig and Anders Carlsson.
508 - update Mac DumpRenderTree to use the new WebView SPI for forcing the
509 complex text code path
510 - add --complex-text support to Windows DumpRenderTree
512 * DumpRenderTree/mac/DumpRenderTree.mm:
514 * DumpRenderTree/win/DumpRenderTree.cpp:
515 (createWebViewAndOffscreenWindow):
517 * Scripts/run-webkit-tests:
519 2008-10-09 Eric Seidel <eric@webkit.org>
521 Reviewed by Oliver Hunt.
523 https://bugs.webkit.org/show_bug.cgi?id=21498
525 * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
527 2008-10-09 Cameron Zwarich <zwarich@apple.com>
531 Add StructureID.o to the exclusion list in the global initializers
532 script to fix the Debug build.
534 * Scripts/check-for-global-initializers:
536 2008-10-08 Mark Rowe <mrowe@apple.com>
538 Fix the Windows build after r37434.
540 * DumpRenderTree/win/DumpRenderTree.cpp:
541 (dump): Update code to approximate valid C++ syntax.
543 2008-10-08 Timothy Hatcher <timothy@apple.com>
545 Add SVGElementInstance to the list of exceptions that have
546 global initializers in debug builds.
548 Rubber-stamped by Mark Rowe.
550 * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
552 2008-10-08 Simon Fraser <simon.fraser@apple.com>
554 Reviewed by Dan Bernstein
556 Avoid disconnect between DRT and run-webkit-tests
557 about whether to expect PNG dumps by having DRT always
558 print two blocks terminated by #EOF, the second of which
561 https://bugs.webkit.org/show_bug.cgi?id=21483
563 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
565 (dumpWebViewAsPixelsAndCompareWithExpected):
566 * DumpRenderTree/mac/DumpRenderTree.mm:
568 * DumpRenderTree/win/DumpRenderTree.cpp:
570 * Scripts/run-webkit-tests:
572 2008-10-07 Adam Roben <aroben@apple.com>
574 Make sure short functions get included in ChangeLog output for git
577 Reviewed by Dave Kilzer.
579 * Scripts/prepare-ChangeLog:
580 (sub diffCommand): Pass -U0 to git diff so that each contiguous change
581 will get its own chunk without any surrounding context.
582 (sub extractLineRange): Use the line numbers from the chunk header
583 without modifying them now that they're accurate.
585 2008-10-04 Mark Rowe <mrowe@apple.com>
587 Reviewed by Tim Hatcher.
589 Update check-for-weak-vtables to check only the final linked image for weak vtables.
590 This gives more useful results than checking each object file independently.
592 * Scripts/check-for-weak-vtables:
594 2008-10-03 Pierre-Olivier Latour <pol@apple.com>
596 Reviewed by Darin Adler
598 Render images to RGBA8 bitmaps independently of platform endianness.
600 Create image difference bitmap in reference image colorspace instead of device colorspace
601 (which depends on the main display profile), so that no color matching happens.
603 https://bugs.webkit.org/show_bug.cgi?id=21336
605 * DumpRenderTree/cg/ImageDiffCG.cpp:
606 (createDifferenceBitmap):
607 (computePercentageDifferent):
610 2008-10-02 Simon Fraser <simon.fraser@apple.com>
612 Reviewed by Darin Adler
614 Fix hang when running with --pixel --reset, which occurs
615 because DRT spews PNG data when the script does not expect it.
617 https://bugs.webkit.org/show_bug.cgi?id=21323
619 * Scripts/run-webkit-tests:
621 2008-09-30 Mark Rowe <mrowe@apple.com>
623 Reviewed by Dan Bernstein.
625 Add a leak counter for CachedResources since we've had two recent leaks involving them.
627 * Scripts/check-for-global-initializers:
629 2008-09-30 Mark Rowe <mrowe@apple.com>
631 Rubber-stamped by Dan Bernstein.
633 Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
635 JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
636 being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
637 We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
638 any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
639 torn down before we exit.
641 * DumpRenderTree/mac/DumpRenderTree.mm:
645 2008-09-30 Simon Fraser <simon.fraser@apple.com>
647 Reviewed by Dan Bernstein
649 Don't run pixel comparison for text-only tests.
650 https://bugs.webkit.org/show_bug.cgi?id=21124
652 * DumpRenderTree/mac/DumpRenderTree.mm:
654 * Scripts/run-webkit-tests:
656 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
660 Changed copyright from Trolltech ASA to Nokia.
662 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
665 * DumpRenderTree/qt/DumpRenderTree.cpp:
666 * DumpRenderTree/qt/jsobjects.cpp:
667 * DumpRenderTree/qt/jsobjects.h:
668 * DumpRenderTree/qt/main.cpp:
669 * DumpRenderTree/qt/testplugin.cpp:
670 * DumpRenderTree/qt/testplugin.h:
672 2008-09-28 David Kilzer <ddkilzer@apple.com>
674 Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
676 <https://bugs.webkit.org/show_bug.cgi?id=21185>
680 * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
681 will attempt to reapply the last commit to a ChangeLog file such
682 that the ChangeLog entry appears at the top of the file.
683 (findChangeLog): Added prototype and moved method below the exit
685 (fixMergedChangeLog): Added. Method to fix incorrectly merged
688 2008-09-27 Anders Carlsson <andersca@apple.com>
690 Reviewed by Sam Weinig.
692 https://bugs.webkit.org/show_bug.cgi?id=21178
693 <rdar://problem/6248651>
695 Return the result value from getURL.
697 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
700 2008-09-26 Matt Lilek <webkit@mattlilek.com>
702 Reviewed by Tim Hatcher.
704 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
706 * Scripts/build-webkit:
708 2008-09-26 Alice Liu <alice.liu@apple.com>
710 Remove usage of atlstr.h and CString for VCExpress compatibility
712 Reviewed by Stephanie Lewis.
714 * record-memory-win/main.cpp:
721 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
723 wx build fix. Update the version of libpng.
725 * wx/install-unix-extras:
727 2008-09-24 Sam Weinig <sam@webkit.org>
729 Reviewed by Darin Adler.
731 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
732 <rdar://problem/6243534>
733 Crash below Function.apply when using a runtime array as the argument list
735 Add method to ObjCController to return a runtime array.
737 * DumpRenderTree/mac/ObjCController.m:
738 (+[ObjCController isSelectorExcludedFromWebScript:]):
739 (+[ObjCController webScriptNameForSelector:]):
740 (-[ObjCController testArray]):
742 2008-09-24 Beth Dakin <bdakin@apple.com>
744 Reviewed by Sam Weinig.
746 Speculative build fix.
748 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
749 (AccessibilityUIElement::supportsPressAction):
751 2008-09-23 Beth Dakin <bdakin@apple.com>
753 Reviewed by Sam Weinig.
755 This patch extends DumpRenderTree's AccessibilityController to ask
756 if the focused element supports the press action.
758 * DumpRenderTree/AccessibilityUIElement.cpp:
759 (getSupportsPressActionCallback):
760 (AccessibilityUIElement::getJSClass):
761 * DumpRenderTree/AccessibilityUIElement.h:
762 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
763 (AccessibilityUIElement::supportsPressAction):
765 2008-09-22 Alice Liu <alice.liu@apple.com>
767 Adding a stand-alone Windows console application to record a process's memory usage
769 Reviewed by Steve Falkenburg.
771 * record-memory-win: Added.
772 * record-memory-win/main.cpp: Added.
773 * record-memory-win/record-memory-win.vcproj: Added.
775 2008-09-22 Chris Fleizach <cfleizach@apple.com>
777 Reviewed by Darin Adler.
779 Support ability to get/set selected text ranges for text controls through AX.
781 * DumpRenderTree/AccessibilityUIElement.cpp:
782 (setSelectedTextRangeCallback):
783 (getSelectedTextRangeCallback):
784 (AccessibilityUIElement::getJSClass):
785 * DumpRenderTree/AccessibilityUIElement.h:
786 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
787 (AccessibilityUIElement::attributesOfRowHeaders):
788 (AccessibilityUIElement::attributesOfVisibleCells):
789 (AccessibilityUIElement::rowIndexRange):
790 (AccessibilityUIElement::columnIndexRange):
791 (AccessibilityUIElement::cellForColumnAndRow):
792 (AccessibilityUIElement::selectedTextRange):
793 (AccessibilityUIElement::setSelectedTextRange):
794 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
795 (AccessibilityUIElement::selectedTextRange):
796 (AccessibilityUIElement::setSelectedTextRange):
798 2008-09-20 Darin Adler <darin@apple.com>
800 * DumpRenderTree/mac/DumpRenderTree.mm:
801 (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
803 2008-09-19 Alp Toker <alp@nuanti.com>
805 Build fix for the 'gold' linker and recent binutils. New behaviour
806 requires that we link to used libraries explicitly.
810 2008-09-19 Stephanie Lewis <slewis@apple.com>
812 Reviewed by Oliver Hunt.
814 Implement a workaround for an incorrect mime-type on machines with
815 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
816 See radar <rdar://problem/6234318>.
818 * DumpRenderTree/mac/DumpRenderTree.mm:
821 2008-09-19 Chris Fleizach <cfleizach@apple.com>
823 Fixed Windows bustage
825 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
826 (AccessibilityUIElement::titleUIElement):
828 2008-09-18 Chris Fleizach <cfleizach@apple.com>
830 Reviewed by Darin Adler.
832 Expose titleUIElement call for DumpRenderTree
835 * DumpRenderTree/AccessibilityUIElement.cpp:
836 (titleUIElementCallback):
837 (AccessibilityUIElement::getJSClass):
838 * DumpRenderTree/AccessibilityUIElement.h:
839 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
840 (AccessibilityUIElement::titleUIElement):
842 2008-09-18 Darin Adler <darin@apple.com>
844 * Scripts/do-webcore-rename: More renaming plans.
846 2008-09-18 Mark Rowe <mrowe@apple.com>
848 Reviewed by Dan Bernstein.
850 Clear the main frame's name between tests to get more consistent test results
851 when running the WebKit tests with --nthly.
853 * DumpRenderTree/mac/DumpRenderTree.mm:
854 (resetWebViewToConsistentStateBeforeTesting):
855 * DumpRenderTree/win/DumpRenderTree.cpp:
856 (resetWebViewToConsistentStateBeforeTesting):
858 2008-09-18 Stephanie Lewis <slewis@apple.com>
860 Really fix tiger jsc tests.
862 * Scripts/run-javascriptcore-tests:
864 2008-09-18 Stephanie Lewis <slewis@apple.com>
866 Reviewed by Maciej Stachowiak.
868 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
870 * Scripts/run-javascriptcore-tests:
871 * Scripts/webkitdirs.pm:
873 2008-09-18 Mark Rowe <mrowe@apple.com>
875 Rubber-stamped by Sam Weinig.
877 Print warning to stdout rather than stderr when a test attempts to access a remote resource.
878 This should make it more obvious when a test does this, as stderr output tends to be obscured
879 by noise in the test results.
881 Also fixes some coding style issues in ResourceLoadDelegate.mm.
883 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
884 (-[NSError _drt_descriptionSuitableForTestResult]):
885 (-[NSURL _drt_descriptionSuitableForTestResult]):
886 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
887 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
888 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
889 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
890 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
891 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
893 2008-09-18 Stephanie Lewis <slewis@apple.com>
895 Reviewed by Mark Rowe and Maciej Stachowiak..
897 add a --64-bit option and specify which architecture to run on Mac.
899 * Scripts/run-javascriptcore-tests:
901 2008-09-17 Mark Rowe <mrowe@apple.com>
903 Reviewed by Sam Weinig.
905 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
907 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
908 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
909 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
911 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
912 * DumpRenderTree/LayoutTestController.cpp:
913 (LayoutTestController::LayoutTestController):
914 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
915 (layoutTestControllerObjectFinalize): Deref the wrapped object.
916 (LayoutTestController::makeWindowObject): Ref the wrapped object.
917 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
918 * DumpRenderTree/mac/DumpRenderTree.mm:
919 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
920 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
921 * DumpRenderTree/win/DumpRenderTree.cpp:
922 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
924 2008-09-16 Sam Weinig <sam@webkit.org>
926 Reviewed by Mark Rowe.
928 Add flag to disable running sample on tests that timeout.
930 * Scripts/run-webkit-tests:
932 2008-09-16 Adam Roben <aroben@apple.com>
934 Windows build fix after r36511
936 Update for rename of layoutTestController to gLayoutTestController.
938 * DumpRenderTree/LayoutTestController.cpp:
939 * DumpRenderTree/win/EditingDelegate.cpp:
940 * DumpRenderTree/win/FrameLoadDelegate.cpp:
941 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
942 * DumpRenderTree/win/UIDelegate.cpp:
944 2008-09-16 Adam Roben <aroben@apple.com>
946 Add a script to print out the dependency tree of a Visual Studio
949 * Scripts/print-msvc-project-dependencies: Added.
951 2008-09-16 Mark Rowe <mrowe@apple.com>
955 * DumpRenderTree/LayoutTestController.cpp:
956 (notifyDoneCallback): Call fprintf in a safer manner.
958 2008-09-16 Simon Fraser <simon.fraser@apple.com>
960 Reviewed by Eric Seidel
962 Protect against tests that call layoutTestController.notifyDone()
963 more than once, which would lead to memory corruption, by nulling
964 out the LayoutTestController on the JSObjectRef on destruction. Also
965 add a finalize callback on the class so that if the LTC outlives
966 the JSObjectRef, the JSObjectRef backpointer on the LTC can be
969 https://bugs.webkit.org/show_bug.cgi?id=20875
971 * DumpRenderTree/LayoutTestController.cpp:
972 (LayoutTestController::LayoutTestController):
973 (notifyDoneCallback):
974 (layoutTestControllerObjectFinalize):
975 (LayoutTestController::makeWindowObject):
976 (LayoutTestController::getJSClass):
977 * DumpRenderTree/LayoutTestController.h:
978 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
979 (LayoutTestController::~LayoutTestController):
981 2008-09-16 Simon Fraser <simon.fraser@apple.com>
983 Reviewed by Eric Seidel
985 Step 1 patch: rename global variable for clarity.
986 https://bugs.webkit.org/show_bug.cgi?id=20875
988 * DumpRenderTree/DumpRenderTree.h:
989 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
990 (dumpWebViewAsPixelsAndCompareWithExpected):
991 * DumpRenderTree/gtk/DumpRenderTree.cpp:
996 (webViewLoadFinished):
997 (webViewWindowObjectCleared):
998 * DumpRenderTree/mac/DumpRenderTree.mm:
999 (allocateGlobalControllers):
1000 (dumpFrameScrollPosition):
1002 (methodNameStringForFailedTest):
1005 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1006 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
1007 * DumpRenderTree/mac/EditingDelegate.mm:
1008 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1009 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1010 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1011 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1012 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1013 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1014 (-[EditingDelegate webViewDidBeginEditing:]):
1015 (-[EditingDelegate webViewDidChange:]):
1016 (-[EditingDelegate webViewDidEndEditing:]):
1017 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1018 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1019 (-[FrameLoadDelegate processWork:]):
1020 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1021 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1022 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1023 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1024 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1025 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1026 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1027 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1028 * DumpRenderTree/mac/UIDelegate.mm:
1029 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1030 (-[UIDelegate webViewFocus:]):
1031 (-[UIDelegate webViewUnfocus:]):
1032 (-[UIDelegate webView:createWebViewWithRequest:]):
1033 (-[UIDelegate webViewClose:]):
1034 * DumpRenderTree/win/DumpRenderTree.cpp:
1035 (dumpFrameScrollPosition):
1040 2008-09-15 Alice Liu <alice.liu@apple.com>
1042 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
1044 Reviewed by Stephanie Lewis.
1046 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1047 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
1048 but not Intel. Add a check for nil before calling.
1049 (AccessibilityUIElement::rowIndexRange):
1050 (AccessibilityUIElement::columnIndexRange):
1052 2008-09-14 Mark Rowe <mrowe@apple.com>
1056 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1057 (waitUntilDoneWatchdogFired):
1058 * DumpRenderTree/mac/ObjCPlugin.m:
1060 2008-09-08 Dan Bernstein <mitz@apple.com>
1062 Reviewed by Mark Rowe.
1064 - add an option to run-webkit-tests to always use the complex text code path
1066 * DumpRenderTree/mac/DumpRenderTree.mm:
1067 (initializeGlobalsFromCommandLineOptions):
1069 * Scripts/run-webkit-tests:
1071 2008-09-08 Steve Falkenburg <sfalken@apple.com>
1073 Another Windows nightly build fix.
1075 Reviewed by Sam Weinig.
1077 * FindSafari/FindSafari.cpp:
1078 (_tmain): Delete existing WebKitNightly directory in temp.
1079 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
1081 2008-09-07 Stephanie Lewis <slewis@apple.com>
1083 Reviewed by Mark Rowe.
1087 * DumpRenderTree/DumpRenderTreePrefix.h:
1088 * DumpRenderTree/win/DumpRenderTree.vcproj:
1090 2008-09-06 Steve Falkenburg <sfalken@apple.com>
1092 Fix Windows nightlies.
1094 Copy WebKit.dll alongside application so registry-free COM can find it.
1095 Update embedded manifest to force use registry-free COM.
1097 Reviewed by Dave Hyatt.
1099 * FindSafari/FindSafari.cpp:
1103 * FindSafari/FindSafari.rc: Added.
1104 * FindSafari/FindSafari.vcproj:
1105 * FindSafari/Safari.exe.manifest: Added.
1106 * FindSafari/resource.h: Added.
1108 === End merge of squirrelfish-extreme ===
1110 2008-08-31 Mark Rowe <mrowe@apple.com>
1112 Reviewed by Maciej Stachowiak.
1114 Add a --profile flag to run-sunspider.
1116 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
1117 to build scripts as indicating that we should use the "Profiling" configuration. At present
1118 this is only supported by JavaScriptCore, so using this argument to build any other project
1119 will likely result in unexpected behaviour.
1121 2008-08-27 Mark Rowe <mrowe@apple.com>
1123 Reviewed by Oliver Hunt.
1125 Fix run-webkit-tests to handle DRT exiting early.
1127 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
1129 === Start merge of squirrelfish-extreme ===
1131 2008-09-04 Mark Rowe <mrowe@apple.com>
1133 Reviewed by Eric Seidel.
1135 Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
1136 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
1138 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
1140 2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1142 Reviewed by Oliver Hunt.
1144 Bug 20616: Incorporate V8 benchmarks in testing
1145 <https://bugs.webkit.org/show_bug.cgi?id=20616>
1147 Add support for the --v8 option to run-sunspider.
1149 * Scripts/run-sunspider:
1151 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
1153 wx buildbot fix. More robust handling of clean when makefiles are not built or
1154 are not completely made.
1156 * wx/build-wxwebkit:
1158 2008-09-03 Mark Rowe <mrowe@apple.com>
1160 More Mac build fixes.
1162 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
1163 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
1164 default configuration specified in the .xcconfig files.
1166 * Scripts/build-webkit:
1168 2008-09-03 Mark Rowe <mrowe@apple.com>
1170 Mac build fix. Ensure that dashboard support is enabled.
1172 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1174 2008-08-25 Steve Falkenburg <sfalken@apple.com>
1176 Build fix. Copy correct version of ICU.
1178 * DumpRenderTree/win/DumpRenderTree.vcproj:
1180 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
1184 [run-webkit-tests] Use QtLauncher to show the results of the tests
1185 konqueror might not be installed, xdg-open might not be installed but the
1186 QtLauncher should be present.
1188 * Scripts/run-webkit-tests:
1190 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
1192 Initial support for accessibility layout tests on Windows.
1193 https://bugs.webkit.org/show_bug.cgi?id=20497
1195 Reviewed by Sam Weinig.
1197 * DumpRenderTree/AccessibilityController.h: Fix typos.
1198 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
1199 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
1200 prevent oleacc.h, which includes windows.h, from including winsock.h.
1202 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
1203 (AccessibilityController::AccessibilityController):
1204 (AccessibilityController::~AccessibilityController):
1205 (AccessibilityController::focusedElement): Get the root element, and
1206 request its focused object.
1207 (AccessibilityController::rootElement): Query Windows for the
1208 accessible client object for the WebView's window.
1209 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
1210 (AccessibilityUIElement::AccessibilityUIElement):
1211 (AccessibilityUIElement::~AccessibilityUIElement):
1212 (AccessibilityUIElement::getLinkedUIElements): Not implemented.
1213 (AccessibilityUIElement::getChildren): Get the child count, and append
1215 (AccessibilityUIElement::getChildAtIndex): Get the child at the given
1216 index offset by 1. In MSAA, child 0 is the object itself.
1217 (AccessibilityUIElement::allAttributes): Not implemented.
1218 (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
1219 (AccessibilityUIElement::attributesOfChildren): Same.
1220 (AccessibilityUIElement::parameterizedAttributeNames): Same.
1221 (self): Return a VARIANT representing the "self" object. This is used
1222 when calling methods that require a child variant.
1223 (AccessibilityUIElement::role): Get the MSAA role, a long value, and
1224 convert it into a string with GetRoleText().
1225 (AccessibilityUIElement::title): Get the element's title, and convert
1227 (AccessibilityUIElement::description): Same, for description.
1228 (AccessibilityUIElement::width):
1229 (AccessibilityUIElement::height):
1230 (AccessibilityUIElement::intValue): Get the object's value as a string,
1231 and convert the string to a double.
1232 (AccessibilityUIElement::minValue): Not implemented.
1233 (AccessibilityUIElement::maxValue): Same.
1234 (AccessibilityUIElement::insertionPointLineNumber): Same.
1235 (AccessibilityUIElement::attributesOfColumnHeaders): Same.
1236 (AccessibilityUIElement::attributesOfRowHeaders): Same.
1237 (AccessibilityUIElement::attributesOfColumns): Same.
1238 (AccessibilityUIElement::attributesOfRows): Same.
1239 (AccessibilityUIElement::attributesOfVisibleCells): Same.
1240 (AccessibilityUIElement::attributesOfHeader): Same.
1241 (AccessibilityUIElement::indexInTable): Same.
1242 (AccessibilityUIElement::rowIndexRange): Same.
1243 (AccessibilityUIElement::columnIndexRange): Same.
1244 (AccessibilityUIElement::lineForIndex): Same.
1245 (AccessibilityUIElement::boundsForRange): Same.
1246 (AccessibilityUIElement::cellForColumnAndRow): Same.
1247 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
1248 project. Link to oleacc.lib, the MSAA library.
1249 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1250 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
1252 (FrameLoadDelegate::didClearWindowObject): Create a new window object
1253 for the accessibility controller.
1254 * DumpRenderTree/win/FrameLoadDelegate.h:
1256 2008-08-21 Simon Fraser <simon.fraser@apple.com>
1258 Reviewed by Mark Rowe
1260 Make build-launcher-app work when run from a git repository.
1261 https://bugs.webkit.org/show_bug.cgi?id=20478
1263 * BuildSlaveSupport/build-launcher-app:
1265 2008-08-20 Maxime Britto <britto@apple.com>
1267 Reviewed by Ada Chan.
1270 Mouse events are sent to page while resizing window (affects Gmail)
1272 * DumpRenderTree/win/UIDelegate.h:
1273 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
1275 2008-08-19 Chris Fleizach <cfleizach@apple.com>
1277 Reviewed by Beth Dakin.
1279 Add snowleopard platform in layout tests
1281 Added support for accessing the attributes of
1282 accessibility tables through the accessibility controller
1285 * DumpRenderTree/AccessibilityUIElement.cpp:
1286 (attributesOfColumnHeadersCallback):
1287 (attributesOfRowHeadersCallback):
1288 (attributesOfColumnsCallback):
1289 (attributesOfRowsCallback):
1290 (attributesOfVisibleCellsCallback):
1291 (attributesOfHeaderCallback):
1292 (indexInTableCallback):
1293 (rowIndexRangeCallback):
1294 (columnIndexRangeCallback):
1295 (childAtIndexCallback):
1296 (cellForColumnAndRowCallback):
1297 (AccessibilityUIElement::getJSClass):
1298 * DumpRenderTree/AccessibilityUIElement.h:
1299 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1300 (convertNSArrayToVector):
1301 (descriptionOfElements):
1302 (AccessibilityUIElement::getLinkedUIElements):
1303 (AccessibilityUIElement::getChildren):
1304 (AccessibilityUIElement::attributesOfLinkedUIElements):
1305 (AccessibilityUIElement::attributesOfChildren):
1306 (AccessibilityUIElement::attributesOfColumnHeaders):
1307 (AccessibilityUIElement::attributesOfRowHeaders):
1308 (AccessibilityUIElement::attributesOfColumns):
1309 (AccessibilityUIElement::attributesOfRows):
1310 (AccessibilityUIElement::attributesOfVisibleCells):
1311 (AccessibilityUIElement::attributesOfHeader):
1312 (AccessibilityUIElement::indexInTable):
1313 (AccessibilityUIElement::rowIndexRange):
1314 (AccessibilityUIElement::columnIndexRange):
1315 (AccessibilityUIElement::cellForColumnAndRow):
1316 * Scripts/run-webkit-tests:
1318 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
1320 Reviewed by Darin Adler.
1322 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
1323 is waiting for crash reporter to let it exit.
1325 The fix does not work on Tiger, because the state of the process is indistinguishable from
1326 other waiting processes, at least not with this technique.
1328 * Scripts/run-webkit-tests:
1330 2008-08-18 Alp Toker <alp@nuanti.com>
1332 Reviewed by Holger Freyther.
1334 https://bugs.webkit.org/show_bug.cgi?id=20350
1335 [GTK] Get DumpRenderTree working
1337 Fixes and enhancements to DumpRenderTree. With these changes, the test
1338 suite can now complete a run producing text and render tree dumps.
1340 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1344 (webViewLoadFinished):
1345 (webViewWindowObjectCleared):
1346 (webViewConsoleMessage):
1347 (webViewScriptAlert):
1348 (webViewScriptPrompt):
1349 (webViewScriptConfirm):
1350 (webViewTitleChanged):
1352 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1353 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1354 (LayoutTestController::clearBackForwardList):
1355 (LayoutTestController::pathToLocalResource):
1356 (LayoutTestController::setAcceptsEditing):
1357 (LayoutTestController::setUserStyleSheetEnabled):
1358 (LayoutTestController::setUserStyleSheetLocation):
1359 (waitToDumpWatchdogFired):
1360 (LayoutTestController::windowCount):
1361 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1362 (JSStringCopyUTF8CString):
1363 (ScriptItem::invoke):
1365 2008-08-17 Geoffrey Garen <ggaren@apple.com>
1367 Reviewed by Cameron Zwarich.
1369 Updated project files to XCode 3.1.
1371 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1372 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1374 2008-08-15 Mark Rowe <mrowe@apple.com>
1376 Rubber-stamped by Geoff Garen.
1378 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
1380 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
1382 2008-08-13 Simon Hausmann <hausmann@webkit.org>
1384 Rubber-stamped by Holger.
1386 Revert r31585 and disable http tests for the Qt build again unless
1389 Running the http tests unfortunately currently still triggers
1390 failures in non-http tests due to side-effects. Disable them by default for
1391 now, for more reliable results.
1393 * Scripts/run-webkit-tests:
1395 2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
1397 Reviewed (and updated) by Alp Toker.
1399 https://bugs.webkit.org/show_bug.cgi?id=16620
1400 [GTK] Autotools make dist and make check support
1402 Get make dist working.
1404 Note that not all possible configurations have been tested yet.
1408 2008-08-10 Alp Toker <alp@nuanti.com>
1410 Remove leftover qmake/GTK+ build files.
1412 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
1413 * GtkLauncher/GtkLauncher.pro: Removed.
1415 2008-08-06 Chris Fleizach <cfleizach@apple.com>
1417 Reviewed by Beth Dakin
1419 AX functions shouldn't return position information because it changes
1420 based on the platform
1422 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1423 (AccessibilityUIElement::boundsForRange):
1425 2008-08-06 Eric Seidel <eric@webkit.org>
1429 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
1430 <https://bugs.webkit.org/show_bug.cgi?id=20297>
1431 <rdar://problem/6093153>
1433 I've made AccessibilityUIElement a stack object for now. It could be
1434 made RefCounted, but I figured that might be overkill for the moment.
1435 Essentially it's just a RefPtr itself. :)
1437 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
1438 which was causing additional leaks. :)
1440 I added toAXElement to remove a bunch of copy/paste code.
1442 * DumpRenderTree/AccessibilityController.h:
1443 * DumpRenderTree/AccessibilityUIElement.cpp:
1445 (allAttributesCallback):
1446 (attributesOfLinkedUIElementsCallback):
1447 (attributesOfChildrenCallback):
1448 (lineForIndexCallback):
1449 (boundsForRangeCallback):
1450 (childAtIndexCallback):
1453 (getDescriptionCallback):
1455 (getHeightCallback):
1456 (getIntValueCallback):
1457 (getMinValueCallback):
1458 (getMaxValueCallback):
1459 (getInsertionPointLineNumberCallback):
1461 * DumpRenderTree/AccessibilityUIElement.h:
1462 (AccessibilityUIElement::platformUIElement):
1463 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1464 (AccessibilityController::focusedElement):
1465 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1466 (AccessibilityUIElement::AccessibilityUIElement):
1467 (AccessibilityUIElement::getLinkedUIElements):
1468 (AccessibilityUIElement::getChildren):
1469 (AccessibilityUIElement::getChildAtIndex):
1470 (AccessibilityUIElement::attributesOfLinkedUIElements):
1471 (AccessibilityUIElement::attributesOfChildren):
1473 2008-08-06 Eric Seidel <eric@webkit.org>
1475 Reviewed by Cameron Zwarich.
1477 Speculative fix for an error I keep seeing in my Cygwin build
1479 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
1481 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
1483 Forgot to commit licensing correction in last commit.
1485 * wx/packaging/wxWebKitInstaller.iss.in:
1487 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
1489 Reviewed by Eric Seidel.
1491 Scripts for building a wxWebKit installer for wxPython on Win, eventually will
1492 be used for nightlies.
1494 https://bugs.webkit.org/show_bug.cgi?id=20036
1496 * wx/packaging: Added.
1497 * wx/packaging/build-win-installer.py: Added.
1498 * wx/packaging/wxWebKitInstaller.iss.in: Added.
1500 2008-07-31 Adam Roben <aroben@apple.com>
1504 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
1505 Release configuration, too.
1507 2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
1509 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
1512 <https://bugs.webkit.org/show_bug.cgi?id=20245>
1514 Reviewed by Adam Roben.
1516 * WinLauncher/WinLauncher.vcproj: adding the following properties to
1517 WinLauncher > Properties > Manifest Tool > Isolated COM
1518 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
1519 Component File Name: WebKit$(WebKitDLLConfigSuffix)
1520 Doing the change on "All Configurations"
1522 2008-07-31 Adam Roben <aroben@apple.com>
1524 Windows build bot fix
1526 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
1527 exist for people at Apple can't be found. Also updated the ICU version
1530 2008-07-31 David Kilzer <ddkilzer@apple.com>
1532 Fix layout test results for webarchive/test-xml-stylesheet.xml
1534 Reviewed by Darin Adler.
1536 * DumpRenderTree/mac/DumpRenderTree.mm:
1537 (convertMIMEType): Work around the "text/xml" local file type
1538 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
1539 stop mangling "application/x-javascript" into "text/javascript".
1540 (convertWebResourceDataToString): When checking whether to dump a
1541 resource as text, also check to see if the MIME type is in the
1542 -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
1543 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
1546 2008-07-31 Chris Fleizach <cfleizach@apple.com>
1548 Reviewed by Alice Liu
1550 Add AX support to get the bounds for a range of text
1551 Add AX support to get the child of an element
1552 Add AX support to get all the parameterized attribute names of an element
1554 * DumpRenderTree/AccessibilityUIElement.cpp:
1555 (parameterizedAttributeNamesCallback):
1556 (boundsForRangeCallback):
1557 (childAtIndexCallback):
1558 (AccessibilityUIElement::getJSClass):
1559 * DumpRenderTree/AccessibilityUIElement.h:
1560 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1561 (AccessibilityUIElement::getChildAtIndex):
1562 (AccessibilityUIElement::parameterizedAttributeNames):
1563 (AccessibilityUIElement::boundsForRange):
1565 2008-07-31 Erik Bunce <elbunce@thehive.com>
1569 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
1571 * Scripts/run-launcher:
1573 2008-07-30 Jessica Kahn <jess@apple.com>
1575 Reviewed by Adam Roben.
1577 Slightly stricter checking for previous change, suggested by Adam.
1579 * Scripts/extract-localizable-strings:
1581 2008-07-30 Jessica Kahn <jess@apple.com>
1583 Reviewed by Darin Adler.
1585 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
1587 * Scripts/extract-localizable-strings:
1589 2008-07-30 Anders Carlsson <andersca@apple.com>
1593 Copy icu38* files instead of icu36* files.
1595 * DumpRenderTree/win/DumpRenderTree.vcproj:
1597 2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
1599 DRT/Gtk build fix for r35362
1601 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1602 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
1604 2008-07-25 Brady Eidson <beidson@apple.com>
1608 Add the ability to dump whether-or-not an element should have autocomplete enabled,
1609 from the perspective of the WebKit API
1611 * DumpRenderTree/LayoutTestController.cpp:
1612 (elementDoesAutoCompleteForElementWithIdCallback):
1613 (LayoutTestController::staticFunctions):
1615 * DumpRenderTree/LayoutTestController.h:
1616 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1617 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
1618 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1619 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
1621 2008-07-25 Chris Fleizach <cfleizach@apple.com>
1623 Reviewed by Beth Dakin
1625 Add support for AXLineForIndex and AXInsertionPointIndex through the
1626 accessibility controller
1628 * DumpRenderTree/AccessibilityUIElement.cpp:
1629 (lineForIndexCallback):
1630 (getInsertionPointLineNumberCallback):
1631 (AccessibilityUIElement::getJSClass):
1632 * DumpRenderTree/AccessibilityUIElement.h:
1633 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1634 (AccessibilityUIElement::insertionPointLineNumber):
1635 (AccessibilityUIElement::lineForIndex):
1637 2008-07-25 Adam Roben <aroben@apple.com>
1639 Try to fix the Windows build bot
1641 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
1642 that don't exist for people outside of Apple.
1644 2008-07-18 Landry Breuil <landry@openbsd.org>
1646 Bug 19975: [OpenBSD] Patches to enable build of WebKit
1648 <https://bugs.webkit.org/show_bug.cgi?id=19975>
1650 Reviewed by David Kilzer.
1652 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
1654 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
1656 CygwinDownloader fails to install necessary packages
1657 https://bugs.webkit.org/show_bug.cgi?id=20075
1659 Reviewed by Mark Rowe.
1661 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
1662 mirrors removed in r34116. Set MIME type to application/octet-stream.
1664 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
1666 CygwinDownloader's make-zip.sh script fails
1667 https://bugs.webkit.org/show_bug.cgi?id=20074
1669 Reviewed by Mark Rowe.
1671 * CygwinDownloader/cygwin-downloader.py:
1673 2008-07-15 Sam Weinig <sam@webkit.org>
1675 Reviewed by Anders Carlsson.
1677 Refactor accessibility testing code.
1680 - AccessibilityController
1681 Controller which has access to the WebView and can provide the focused element, root element
1682 and in the future, elementAtPoint.
1684 - AccessibilityUIElement
1685 Object which provides access to the data provided by the Accessibility APIs.
1687 * DumpRenderTree/AccessibilityController.cpp:
1688 (getFocusedElementCallback):
1689 (getRootElementCallback):
1690 (AccessibilityController::getJSClass):
1691 * DumpRenderTree/AccessibilityController.h:
1692 * DumpRenderTree/AccessibilityUIElement.cpp: Added.
1693 (allAttributesCallback):
1694 (attributesOfLinkedUIElementsCallback):
1695 (attributesOfChildrenCallback):
1698 (getDescriptionCallback):
1700 (getHeightCallback):
1701 (getIntValueCallback):
1702 (getMinValueCallback):
1703 (getMaxValueCallback):
1705 (AccessibilityUIElement::makeJSAccessibilityUIElement):
1706 (AccessibilityUIElement::getJSClass):
1707 * DumpRenderTree/AccessibilityUIElement.h: Added.
1708 (AccessibilityUIElement::platformUIElement):
1709 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1710 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1711 (AccessibilityController::AccessibilityController):
1712 (AccessibilityController::~AccessibilityController):
1713 (AccessibilityController::focusedElement):
1714 (AccessibilityController::rootElement):
1715 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
1716 (AccessibilityUIElement::AccessibilityUIElement):
1717 (descriptionOfValue):
1718 (attributesOfElement):
1719 (nsStringToJSStringRef):
1720 (concatenateAttributeAndValue):
1721 (AccessibilityUIElement::getLinkedUIElements):
1722 (AccessibilityUIElement::getChildren):
1723 (AccessibilityUIElement::attributesOfLinkedUIElements):
1724 (AccessibilityUIElement::attributesOfChildren):
1725 (AccessibilityUIElement::allAttributes):
1726 (AccessibilityUIElement::role):
1727 (AccessibilityUIElement::title):
1728 (AccessibilityUIElement::description):
1729 (AccessibilityUIElement::width):
1730 (AccessibilityUIElement::height):
1731 (AccessibilityUIElement::intValue):
1732 (AccessibilityUIElement::minValue):
1733 (AccessibilityUIElement::maxValue):
1735 2008-07-14 Chris Fleizach <cfleizach@apple.com>
1737 Reviewed by Beth Dakin
1739 Add support to get attributes of the AXChildren of an objecty
1741 * DumpRenderTree/AccessibilityController.cpp:
1742 (attributesOfChildrenForFocusedElementCallback):
1743 (AccessibilityController::staticFunctions):
1744 * DumpRenderTree/AccessibilityController.h:
1745 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1746 (descriptionOfValue):
1747 (AccessibilityController::attributesOfChildrenForFocusedElement):
1749 2008-07-14 Steve Falkenburg <sfalken@apple.com>
1753 * DumpRenderTree/win/DumpRenderTree.vcproj:
1755 2008-07-14 Adam Roben <aroben@apple.com>
1757 Attempted Windows build fix
1759 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
1760 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
1763 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
1765 Reviewed by Geoff Garen.
1767 Eliminate per-thread JavaScript global data instance support and make arbitrary
1768 global data/global object combinations possible.
1770 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1771 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
1772 In this scenario, it was causing crashes after each 10-20 tests, because there was a large
1773 chance for a different thread to cause GC after the context was released.
1775 2008-07-11 Stephanie Lewis <slewis@apple.com>
1777 Reviewed by Darin Adler.
1779 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
1781 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
1783 * DumpRenderTree/mac/DumpRenderTree.mm:
1784 (setDefaultsToConsistentValuesForTesting):
1785 (resetWebViewToConsistentStateBeforeTesting):
1786 * Scripts/run-webkit-tests:
1788 2008-07-10 Steve Falkenburg <sfalken@apple.com>
1792 * DumpRenderTree/win/DumpRenderTree.vcproj:
1794 2008-07-09 Eric Seidel <eric@webkit.org>
1796 Reviewed by Mark Rowe.
1798 Print <div> backgrounds when printing from DRT.
1800 * DumpRenderTree/mac/DumpRenderTree.mm:
1801 (setDefaultsToConsistentValuesForTesting):
1803 2008-07-09 Eric Seidel <eric@webkit.org>
1805 Reviewed by Mark Rowe.
1807 Fix copying of expected results to correct location
1809 * Scripts/run-webkit-tests:
1811 2008-07-09 Eric Seidel <eric@webkit.org>
1815 * DumpRenderTree/LayoutTestController.cpp:
1816 (LayoutTestController::LayoutTestController):
1817 (dumpAsPDFCallback):
1818 (LayoutTestController::staticFunctions):
1819 * DumpRenderTree/LayoutTestController.h:
1820 (LayoutTestController::dumpAsPDF):
1821 (LayoutTestController::setDumpAsPDF):
1822 * DumpRenderTree/mac/DumpRenderTree.mm:
1826 2008-07-09 Eric Seidel <eric@webkit.org>
1830 Add Content-Type support to DumpRenderTree and run-webkit-tests
1831 and move expected.txt files to expected.webarchive
1833 https://bugs.webkit.org/show_bug.cgi?id=15565
1835 * DumpRenderTree/cg/ImageDiffCG.cpp:
1838 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1840 * DumpRenderTree/mac/DumpRenderTree.mm:
1842 * Scripts/run-webkit-tests:
1844 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
1848 Port r34988 to Mac: allow tests to define JavaScript to execute when
1849 NPP_DestroyStream or NPP_URLNotify is called.
1851 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1852 (NPP_New): Remove initialization that happens in pluginAllocate. Look
1853 for new arguments onStreamDestroy and onURLNotify.
1854 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
1855 (executeScript): Code moved from onStreamLoad.
1856 (NPP_NewStream): Call executeScript.
1857 (NPP_DestroyStream): Same.
1858 (NPP_URLNotify): Same.
1860 2008-07-07 Beth Dakin <bdakin@apple.com>
1864 This patch extends DRT accessibility tests to add the ability to
1865 query the intValue, minValue, and maxValue of the focused element.
1867 * DumpRenderTree/AccessibilityController.cpp:
1868 (intValueOfFocusedElementCallback):
1869 (minValueOfFocusedElementCallback):
1870 (maxValueOfFocusedElementCallback):
1871 (AccessibilityController::staticFunctions):
1872 * DumpRenderTree/AccessibilityController.h:
1873 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1874 (AccessibilityController::intValueOfFocusedElement):
1875 (AccessibilityController::minValueOfFocusedElement):
1876 (AccessibilityController::maxValueOfFocusedElement):
1878 2008-07-07 Steve Falkenburg <sfalken@apple.com>
1882 * DumpRenderTree/win/ImageDiff.vcproj:
1884 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
1886 Allow tests to define JavaScript to execute when NPP_DestroyStream or
1887 NPP_URLNotify is called.
1891 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
1892 property, "returnErrorFromNewStream." This is to support the test for
1893 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
1894 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
1895 error from NPP_NewStream.
1896 (pluginGetProperty):
1897 (pluginSetProperty):
1899 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
1900 members, onStreamDestroy and onURLNotify.
1901 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
1902 (NPP_New): Remove initialization of onStreamLoad; this was moved to
1903 pluginAllocate. Look for new arguments onStreamDestroy and
1904 onURLNotify, and store their values.
1905 (NPP_Destroy): Free new members.
1906 (executeScript): Code moved from onStreamLoad
1907 (NPP_NewStream): If returnErrorFromNewStream has been set to true,
1908 return a generic error code. If onStreamLoad is set, execute it as
1910 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
1911 (NPP_URLNotify): Same, for onURLNotify.
1913 2008-07-02 Brady Eidson <beidson@apple.com>
1915 Reviewed by Mitz Pettel and John Sullivan
1917 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
1920 Required to add a layout test for the fix for <rdar://problem/5549871>
1922 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1923 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
1924 [WebFrame stopLoading] to test for the crash reflected in 5549871
1926 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
1927 * DumpRenderTree/LayoutTestController.cpp:
1928 (LayoutTestController::LayoutTestController):
1929 (setStopProvisionalFrameLoadsCallback):
1930 (LayoutTestController::staticFunctions):
1931 * DumpRenderTree/LayoutTestController.h:
1932 (LayoutTestController::stopProvisionalFrameLoads):
1933 (LayoutTestController::setStopProvisionalFrameLoads):
1935 2008-07-01 Chris Fleizach <cfleizach@apple.com>
1937 Reviewed by Beth Dakin
1939 Support ability to get width and height of an element through accessibility
1941 * DumpRenderTree/AccessibilityController.cpp:
1942 (widthOfFocusedElementCallback):
1943 (heightOfFocusedElementCallback):
1944 (AccessibilityController::staticFunctions):
1945 * DumpRenderTree/AccessibilityController.h:
1946 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1947 (AccessibilityController::widthOfFocusedElement):
1948 (AccessibilityController::heightOfFocusedElement):
1950 2008-06-30 Chris Fleizach <cfleizach@apple.com>
1952 Reviewed by Beth Dakin
1954 Support the ability to get the linked ui elements of an object
1956 * DumpRenderTree/AccessibilityController.cpp:
1957 (attributesOfLinkedUIElementsForFocusedElementCallback):
1958 (AccessibilityController::staticFunctions):
1959 * DumpRenderTree/AccessibilityController.h:
1960 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1961 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
1962 (AccessibilityController::allAttributesOfFocusedElement):
1963 (attributesOfElement):
1964 (nsStringToJSStringRef):
1966 2008-06-29 Sam Weinig <sam@webkit.org>
1970 * DumpRenderTree/mac/EventSendingController.mm:
1971 (eventTypeForMouseButtonAndAction):
1973 2008-06-27 Eric Seidel <eric@webkit.org>
1977 Add multi-button mouseevent support to DRT
1978 https://bugs.webkit.org/show_bug.cgi?id=15173
1980 It's now possible to specify the mouse button with:
1981 eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
1983 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1984 * DumpRenderTree/mac/EventSendingController.h:
1985 * DumpRenderTree/mac/EventSendingController.mm:
1986 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1987 (+[EventSendingController webScriptNameForSelector:]):
1988 (eventTypeForMouseButtonAndAction):
1989 (-[EventSendingController updateClickCountForButton:]):
1990 (-[EventSendingController mouseDown:]):
1991 (-[EventSendingController mouseUp:]):
1992 (-[EventSendingController mouseMoveToX:Y:]):
1993 (-[EventSendingController contextClick]):
1995 2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
1999 Copy <test>-expected.png from the right location to /tmp/layout-test-results.
2000 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
2002 * Scripts/run-webkit-tests:
2004 2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
2006 Reviewed by Christian Dywan.
2008 [Gtk] Initialize webview settings before running DRT tests
2009 http://bugs.webkit.org/show_bug.cgi?id=19778
2011 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2012 (setDefaultsToConsistentStateValuesForTesting):
2015 2008-06-26 Darin Adler <darin@apple.com>
2017 * Scripts/check-for-weak-vtables: Fixed comment.
2019 2008-06-26 Darin Adler <darin@apple.com>
2021 * Scripts/check-for-weak-vtables: Added.
2023 2008-06-26 Beth Dakin <bdakin@apple.com>
2027 Do not include AXPosition in the dump of all of the accessibility
2028 attributes since it is screen-specific.
2030 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2031 (AccessibilityController::allAttributesOfFocusedElement):
2033 2008-06-26 Beth Dakin <bdakin@apple.com>
2037 This is a speculative fix for the failing layout test on the build
2038 bot. It seems that the problem that the Build Bot is having is
2039 Tiger-specific. On Tiger, [NSValue description] was not very smart.
2040 So I replaced our call to description with a hand-rolled equivalent
2041 that will match on both platforms.
2043 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2044 (descriptionOfValue):
2046 2008-06-25 Beth Dakin <bdakin@apple.com>
2048 Reviewed by Sam Weinig.
2050 This patch adds support to the AccessibilityController to query the
2051 following attributes specifically, without a full attribute dump:
2052 AXRole, AXTitle, and AXDescription.
2054 * DumpRenderTree/AccessibilityController.cpp:
2055 (allAttributesForFocusedElementCallback):
2056 (roleOfFocusedElementCallback):
2057 (titleOfFocusedElementCallback):
2058 (descriptionOfFocusedElementCallback):
2059 (AccessibilityController::staticFunctions):
2060 * DumpRenderTree/AccessibilityController.h:
2061 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2062 (AccessibilityController::allAttributesForFocusedElement):
2063 (concatenateAttributeAndValue):
2064 (AccessibilityController::roleOfFocusedElement):
2065 (AccessibilityController::titleOfFocusedElement):
2066 (AccessibilityController::descriptionOfFocusedElement):
2068 2008-06-24 Dan Bernstein <mitz@apple.com>
2070 Reviewed by Stephanie Lewis.
2072 - move the linker flags from the debug configuration in the project
2073 to the shared configuration
2075 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2076 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2078 2008-06-24 Dan Bernstein <mitz@apple.com>
2080 - try to fix the Tiger build
2082 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2084 2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
2086 Reviewed by Darin Adler.
2088 Fix for <rdar://problem/5884881> Make DumpRenderTree support
2091 This patch adds some basic support for accessibility layout tests
2094 * DumpRenderTree/AccessibilityController.cpp: Added.
2095 (AccessibilityController::AccessibilityController):
2096 (AccessibilityController::~AccessibilityController):
2097 (dumpCurrentAttributesCallback):
2098 (AccessibilityController::makeWindowObject):
2099 (AccessibilityController::getJSClass):
2100 (AccessibilityController::staticFunctions):
2101 * DumpRenderTree/AccessibilityController.h: Added.
2102 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2103 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
2104 (descriptionOfValue):
2105 (AccessibilityController::dumpCurrentAttributes):
2106 * DumpRenderTree/mac/DumpRenderTree.mm:
2107 * DumpRenderTree/mac/FrameLoadDelegate.h:
2108 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2109 (-[FrameLoadDelegate init]):
2110 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2112 2008-06-24 John Sullivan <sullivan@apple.com>
2114 Reviewed by Dan Bernstein
2116 * Scripts/extract-localizable-strings:
2117 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
2118 list of debugging macros, to avoid noise when keeping the list of localized string
2119 exceptions up to date
2121 2008-06-24 Dan Bernstein <mitz@apple.com>
2123 Rubber-stamped by Darin Adler.
2125 - add a font family for testing font-weight
2127 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
2128 flags to create data sections for the WeightWatcher fonts.
2129 * DumpRenderTree/fonts: Added.
2130 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
2131 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
2132 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
2133 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
2134 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
2135 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
2136 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
2137 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
2138 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
2139 * DumpRenderTree/mac/DumpRenderTree.mm:
2140 (activateFonts): Renamed activateAhemFont to this and made it activate
2141 the WeightWatcher fonts in addition to Ahem.
2142 (prepareConsistentTestingEnvironment): Adjusted for the name change.
2143 * DumpRenderTree/win/DumpRenderTree.cpp:
2144 (initialize): Added the WeightWatcher fonts.
2146 2008-06-20 Brent Fulgham <bfulgham@gmail.com>
2148 Reviewed by Darin Adler.
2150 Extend the build-webkit (and set-webkit-configuration) script to
2151 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
2153 * Scripts/build-webkit: Add --cairo-win32 to the help message
2154 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
2155 subroutine to recognize the --cairo-win32 flag. When present,
2156 the build configuration is changed from Debug/Release to
2157 Debug_Cairo/Release_Cairo. This flag is only active when the
2158 isCygwin() test is true.
2160 2008-06-17 Dan Bernstein <mitz@apple.com>
2162 Reviewed by Justin Garcia.
2164 - prefer Leopard results when running on Snow Leopard.
2166 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
2168 * Scripts/webkitdirs.pm: Added isSnowLeopard().
2170 2008-06-15 Darin Adler <darin@apple.com>
2172 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2174 2008-06-15 Darin Adler <darin@apple.com>
2176 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2178 2008-06-15 Darin Adler <darin@apple.com>
2180 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2182 2008-06-15 Darin Adler <darin@apple.com>
2184 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2186 2008-06-15 Darin Adler <darin@apple.com>
2188 * Scripts/do-file-rename: Updated.
2189 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2191 2008-06-15 Darin Adler <darin@apple.com>
2193 * Scripts/do-file-rename: Updated for the latest round of renaming.
2194 * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
2196 2008-06-15 Darin Adler <darin@apple.com>
2198 * Scripts/create-exports: Added.
2199 * Scripts/do-file-rename: Added some planned renames.
2200 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2202 2008-06-15 Darin Adler <darin@apple.com>
2204 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2206 2008-06-15 Maciej Stachowiak <mjs@apple.com>
2210 - rename testkjs to jsc
2212 * Scripts/build-jsc: Copied from Scripts/build-testkjs.
2213 * Scripts/build-testkjs: Removed.
2214 * Scripts/run-javascriptcore-tests:
2215 * Scripts/run-jsc: Copied from Scripts/run-testkjs.
2216 * Scripts/run-sunspider:
2217 * Scripts/run-testkjs: Removed.
2218 * Scripts/sunspider-compare-results:
2220 2008-06-14 Darin Adler <darin@apple.com>
2222 * Scripts/do-webcore-rename: Moved planned renames into a separate hash
2223 from the actual renames. Removed many renames that are either done or
2226 2008-06-14 Darin Adler <darin@apple.com>
2228 * Scripts/do-webcore-rename: Fixed obvious typo.
2230 2008-06-13 Darin Adler <darin@apple.com>
2232 * Scripts/make-js-test-wrappers: Added three more exceptions.
2234 2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
2238 For the qmake based build make it possible to build against makespecs where
2239 QMAKE_CC is defined in a configuration file included from qmake.conf.
2241 * Scripts/webkitdirs.pm: Added support for include() statements in
2244 2008-06-09 Alp Toker <alp@nuanti.com>
2246 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
2247 each of the tools since these are no longer set globally.
2251 2008-06-08 Darin Adler <darin@apple.com>
2253 * Scripts/make-js-test-wrappers: Added another exception.
2255 2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
2257 Reviewed by Timothy.
2259 Remove the --squirrelfish option from SunSpider, as it is no longer needed.
2261 * Scripts/run-sunspider:
2263 2008-06-05 Alp Toker <alp@nuanti.com>
2265 Build fix for r34387.
2269 2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
2273 Add an exception for Opcode.o to the global initializers check so that
2274 we can dump instruction statistics in the JavaScript virtual machine.
2276 * Scripts/check-for-global-initializers:
2278 2008-05-30 Steve Falkenburg <sfalken@apple.com>
2280 Generate an isolated COM manifest for registry free COM.
2282 * DumpRenderTree/win/DumpRenderTree.vcproj:
2284 2008-06-02 Anders Carlsson <andersca@apple.com>
2286 Reviewed by David Hyatt and Mitz.
2288 <rdar://problem/5704119>
2289 repro crash in WebCore::RenderPart::setWidget (plugin-related?)
2291 Call -[WebView display] in the "plug-in" failed delegate method, simulating
2292 the sheet that Safari puts up.
2294 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2295 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
2297 2008-05-30 Timothy Hatcher <timothy@apple.com>
2299 Made the starting line number of scripts be 1-based throughout the engine.
2300 This cleans up script line numbers so they are all consistent now.
2302 Reviewed by Oliver Hunt.
2304 * DumpRenderTree/mac/ObjCController.m:
2305 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
2306 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2307 (runJavaScriptThread): Ditto.
2308 * DumpRenderTree/win/DumpRenderTree.cpp:
2309 (runJavaScriptThread): Ditto.
2311 2008-05-29 Geoffrey Garen <ggaren@apple.com>
2313 Reviewed by Adam Roben.
2315 Fixed VCSUtils.pm to work with git repositories inside symlinks.
2317 * Scripts/VCSUtils.pm: Compute a relative path from the git repository
2318 root, instead of the root of the filesystem, to work around a bug in
2319 abs2rel when traversing symlinked home directories.
2321 2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
2323 Reviewed by Darin Adler.
2325 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
2327 https://bugs.webkit.org/show_bug.cgi?id=19311
2329 * Scripts/webkitdirs.pm:
2331 2008-05-29 Alexey Proskuryakov <ap@webkit.org>
2333 Reviewed by Adam Roben.
2335 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
2336 configuration files.
2338 * Scripts/run-iexploder-tests:
2339 * Scripts/run-mangleme-tests:
2340 Renamed runSafari to not conflict with the one in webkitdirs.
2341 Added SSLCertificateFile option for httpd, as now needed.
2343 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
2345 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
2347 * wx/browser/browser.cpp:
2350 2008-05-24 Andreia Gaita <shana@isninja.com>
2352 Reviewed by Alp Toker.
2354 cygwin-downloader.py fixes.
2356 Remove two non-working mirrors. Add a check for missing dependency
2357 packages to avoid bailing out on an inconsistent Cygwin package list.
2359 * CygwinDownloader/cygwin-downloader.py:
2361 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
2363 Reviewed by Darin Adler.
2365 Remove useQmake usage. QMake build doesn't support Gtk port
2368 Also fix 2 occurences of "Web Kit". Should be WebKit.
2370 * Scripts/build-webkit:
2371 * Scripts/run-javascriptcore-tests:
2372 * Scripts/run-launcher:
2373 * Scripts/run-webkit-tests:
2374 * Scripts/webkitdirs.pm:
2376 2008-05-22 Stephanie Lewis <slewis@apple.com>
2380 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
2382 * DumpRenderTree/mac/UIDelegate.mm:
2383 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
2384 * DumpRenderTree/win/UIDelegate.cpp:
2385 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
2387 2008-05-21 Adele Peterson <adele@apple.com>
2391 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
2393 * DumpRenderTree/win/UIDelegate.cpp:
2394 (UIDelegate::webViewFocus): Added.
2395 (UIDelegate::webViewUnfocus): Added.
2396 * DumpRenderTree/win/UIDelegate.h:
2398 2008-05-21 Mark Rowe <mrowe@apple.com>
2400 Rubber-stamped by Stephanie Lewis.
2402 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
2403 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
2406 * Scripts/run-safari:
2408 2008-05-21 Stephanie Lewis <slewis@apple.com>
2410 Reviewed by Maciej, Mark.
2412 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
2414 * Scripts/run-webkit-tests:
2415 * Scripts/webkitdirs.pm:
2417 2008-05-20 Mark Rowe <mrowe@apple.com>
2419 Reviewed by Stephanie Lewis.
2421 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
2423 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
2424 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
2425 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
2426 pass an argument to run-webkit-tests after having built with "make x86_64".
2428 * Scripts/gdb-safari:
2429 * Scripts/run-safari:
2430 * Scripts/run-webkit-tests:
2431 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
2432 preferred architecture, and exporting of the environment variables for 'arch' out into
2433 separate subroutines.
2435 2008-05-20 Mark Rowe <mrowe@apple.com>
2437 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
2441 === End merge of squirrelfish ===
2443 2008-04-14 Maciej Stachowiak <mjs@apple.com>
2447 - added support for --ubench mode
2449 * Scripts/run-sunspider:
2451 2008-03-26 Geoffrey Garen <ggaren@apple.com>
2453 Reviewed by Oliver Hunt.
2455 --squirrelfish mode: pared down tests for squirrelfish to chew on.
2457 * Scripts/run-sunspider:
2459 === Start merge of squirrelfish ===
2461 2008-05-21 Darin Adler <darin@apple.com>
2463 * Scripts/make-js-test-wrappers: Added another exception.
2465 2008-05-19 Stephanie Lewis <slewis@apple.com>
2469 Explicitly set run mode to 32bit unless overridden to avoid
2470 confusion when running tests
2472 * Scripts/build-dumprendertree:
2473 * Scripts/gdb-safari:
2474 * Scripts/run-webkit-tests:
2475 * Scripts/webkitdirs.pm:
2477 2008-05-16 Stephanie Lewis <slewis@apple.com>
2481 Print out pending unload event count. Also print out main frame name to match Mac.
2483 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2484 (descriptionSuitableForTestResult):
2485 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
2487 2008-05-16 Timothy Hatcher <timothy@apple.com>
2489 Remove the Drosera project, code and resources since it has been
2490 replaced with the Web Inspector's debugger. Removes references to
2491 Drosera in various scripts and makefiles.
2493 Rubber-stamped by Mark Rowe.
2495 * BuildSlaveSupport/build-launcher-app:
2496 * Drosera/DebuggerDocument.cpp: Removed.
2497 * Drosera/DebuggerDocument.h: Removed.
2498 * Drosera/Drosera.icns: Removed.
2499 * Drosera/DroseraWin.make: Removed.
2500 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
2501 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
2502 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
2503 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
2504 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
2505 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
2506 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2507 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
2508 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2509 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2510 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
2511 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
2512 * Drosera/Images/Drosera.ico: Removed.
2513 * Drosera/Images/SourceArrow.png: Removed.
2514 * Drosera/Images/SourceArrowBlank.png: Removed.
2515 * Drosera/Images/SourceArrowOpen.png: Removed.
2516 * Drosera/Images/background_stripe.png: Removed.
2517 * Drosera/Images/breakPoint.tif: Removed.
2518 * Drosera/Images/breakPointDisabled.tif: Removed.
2519 * Drosera/Images/breakpointeditor.png: Removed.
2520 * Drosera/Images/close.tif: Removed.
2521 * Drosera/Images/close_active.tif: Removed.
2522 * Drosera/Images/close_hover.tif: Removed.
2523 * Drosera/Images/console.png: Removed.
2524 * Drosera/Images/continue.tif: Removed.
2525 * Drosera/Images/fileIcon.jpg: Removed.
2526 * Drosera/Images/finishFunction.tif: Removed.
2527 * Drosera/Images/glossyFooterFill.tif: Removed.
2528 * Drosera/Images/glossyHeader.png: Removed.
2529 * Drosera/Images/glossyHeaderPressed.png: Removed.
2530 * Drosera/Images/gradientBackground.png: Removed.
2531 * Drosera/Images/gutter.png: Removed.
2532 * Drosera/Images/navLeftDisabled.png: Removed.
2533 * Drosera/Images/navLeftNormal.png: Removed.
2534 * Drosera/Images/navLeftPressed.png: Removed.
2535 * Drosera/Images/navRightDisabled.png: Removed.
2536 * Drosera/Images/navRightNormal.png: Removed.
2537 * Drosera/Images/navRightPressed.png: Removed.
2538 * Drosera/Images/pause.tif: Removed.
2539 * Drosera/Images/popUpArrows.png: Removed.
2540 * Drosera/Images/programCounter.tif: Removed.
2541 * Drosera/Images/programCounterBreakPoint.tif: Removed.
2542 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
2543 * Drosera/Images/run.tif: Removed.
2544 * Drosera/Images/siteCollapsed.tif: Removed.
2545 * Drosera/Images/siteExpanded.tif: Removed.
2546 * Drosera/Images/siteIcon.tif: Removed.
2547 * Drosera/Images/small.ico: Removed.
2548 * Drosera/Images/splitterBar.tif: Removed.
2549 * Drosera/Images/splitterDimple.tif: Removed.
2550 * Drosera/Images/step.tif: Removed.
2551 * Drosera/Images/stepOut.tif: Removed.
2552 * Drosera/Images/stepOver.tif: Removed.
2553 * Drosera/Images/stop.tif: Removed.
2554 * Drosera/Images/toolbarBackground.png: Removed.
2555 * Drosera/Images/verticalSplitterBar.tiff: Removed.
2556 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
2557 * Drosera/Makefile: Removed.
2558 * Drosera/breakpointEditor.html: Removed.
2559 * Drosera/config.h: Removed.
2560 * Drosera/console.css: Removed.
2561 * Drosera/console.html: Removed.
2562 * Drosera/console.js: Removed.
2563 * Drosera/debugger.css: Removed.
2564 * Drosera/debugger.html: Removed.
2565 * Drosera/debugger.js: Removed.
2566 * Drosera/mac/DebuggerApplication.h: Removed.
2567 * Drosera/mac/DebuggerApplication.mm: Removed.
2568 * Drosera/mac/DebuggerClient.h: Removed.
2569 * Drosera/mac/DebuggerClient.mm: Removed.
2570 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
2571 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
2572 * Drosera/mac/Info.plist: Removed.
2573 * Drosera/mac/LauncherInfo.plist: Removed.
2574 * Drosera/mac/Makefile: Removed.
2575 * Drosera/mac/ServerConnection.h: Removed.
2576 * Drosera/mac/ServerConnection.mm: Removed.
2577 * Drosera/mac/launcher.m: Removed.
2578 * Drosera/mac/main.m: Removed.
2579 * Drosera/viewer.css: Removed.
2580 * Drosera/viewer.html: Removed.
2581 * Drosera/win/BaseDelegate.h: Removed.
2582 * Drosera/win/DebuggerClient.cpp: Removed.
2583 * Drosera/win/DebuggerClient.h: Removed.
2584 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2585 * Drosera/win/Drosera.cpp: Removed.
2586 * Drosera/win/Drosera.h: Removed.
2587 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
2588 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
2589 * Drosera/win/DroseraPrefix.cpp: Removed.
2590 * Drosera/win/DroseraPrefix.h: Removed.
2591 * Drosera/win/Info.plist: Removed.
2592 * Drosera/win/ServerConnection.cpp: Removed.
2593 * Drosera/win/ServerConnection.h: Removed.
2594 * Drosera/win/resource.h: Removed.
2596 * Scripts/build-drosera: Removed.
2597 * Scripts/gdb-drosera: Removed.
2598 * Scripts/run-drosera: Removed.
2599 * Scripts/run-drosera-nightly.cmd: Removed.
2600 * Scripts/run-drosera.cmd: Removed.
2601 * Scripts/webkitdirs.pm:
2603 2008-05-15 Stephanie Lewis <slewis@apple.com>
2607 Dump the unload count for a frame after parsing is finished.
2609 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2610 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2612 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
2614 Reviewed by Dan Bernstein.
2616 https://bugs.webkit.org/show_bug.cgi?id=10707
2617 DumpRenderTree should not be able to access non-local resources
2619 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2620 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2621 Block them, and complain.
2623 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
2625 wx build fix. Update the version of libpng to download and instsall.
2627 * wx/install-unix-extras:
2629 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
2633 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
2634 We now force the return value to be numeric.
2636 - Removed platform checks as it was a work around the previous issue.
2638 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
2640 * Scripts/build-webkit:
2641 * Scripts/webkitdirs.pm:
2643 2008-05-12 Adam Roben <aroben@apple.com>
2645 Support for testing NPN_PostURL
2647 Reviewed by Anders Carlsson.
2649 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2650 (toCString): Added this helper function.
2651 (testPostURLFile): Added. Writes the passed-in content to the
2652 passed-in file and calls NPN_PostURL with the passed-in URL and
2654 (pluginInvoke): Added a case for testPostURLFile.
2655 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2656 (followShortcuts): Changed to allow paths that don't yet exist.
2658 2008-05-12 Mark Rowe <mrowe@apple.com>
2660 Reviewed by Sam Weinig.
2662 Minor cleanup of the DRT Xcode project.
2664 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
2665 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
2666 not need to be there.
2668 2008-05-12 Anders Carlsson <andersca@apple.com>
2672 Add support for testing application caches.
2674 * DumpRenderTree/mac/DumpRenderTree.mm:
2678 (resetWebViewToConsistentStateBeforeTesting):
2679 Turn on support for the application cache.
2681 2008-05-09 Mark Rowe <mrowe@apple.com>
2683 Reviewed by Anders Carlsson.
2685 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
2687 It currently does not attempt to print events which means that plugins/mouse-events.html
2688 will fail when run 64-bit. All other tests that use this plugin pass.
2690 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2691 (testGetIntIdentifier):
2692 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2696 2008-05-09 Brady Eidson <beidson@apple.com>
2698 Reviewed by Adam Roben
2700 Explicitly call shutDownWebKit() before quitting.
2702 * Drosera/win/Drosera.cpp:
2705 * DumpRenderTree/win/DumpRenderTree.cpp:
2708 2008-05-09 Mark Rowe <mrowe@apple.com>
2710 Fix the Tiger build of Drosera.
2712 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
2714 2008-05-09 Sam Weinig <sam@webkit.org>
2716 Rubber-stamped by Mark Rowe.
2718 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
2720 * Scripts/build-webkit:
2722 2008-05-08 Mark Rowe <mrowe@apple.com>
2724 Another attempt at a Tiger build fix.
2726 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
2728 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2730 2008-05-08 Mark Rowe <mrowe@apple.com>
2732 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
2734 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2736 2008-05-08 Mark Rowe <mrowe@apple.com>
2738 Reviewed by Oliver Hunt and Dan Bernstein.
2740 Update DumpRenderTree to build 64-bit.
2742 The three major changes here are:
2743 1) Use NSInteger in the appropriate places.
2744 2) Use ColorSync API that is available in 64-bit to switch display profiles.
2745 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
2747 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
2748 needs updated to successfully build.
2750 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
2751 * DumpRenderTree/mac/DumpRenderTree.mm:
2752 (swizzleAllMethods):
2754 (prepareConsistentTestingEnvironment):
2755 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2756 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2757 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2758 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2759 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2760 (restoreColorSpace):
2761 (failedGettingCurrentProfile):
2762 (setDefaultColorProfileToRGB):
2764 2008-05-08 Mark Rowe <mrowe@apple.com>
2766 Reviewed by Darin Adler.
2768 Clean up Drosera so that it will build 64-bit.
2770 * Drosera/mac/DebuggerApplication.mm:
2771 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
2772 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
2773 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
2775 2008-05-07 David Kilzer <ddkilzer@apple.com>
2777 Use File::Find and Getopt::Long in make-js-test-wrappers
2779 Reviewed by Darin Adler.
2781 * Scripts/make-js-test-wrappers:
2782 - Updated Apple copyright statement.
2783 - Added command-line switch parsing and -h|--help switch.
2784 - Allowed user to pass list of files/directories on which to do
2785 a restricted search for TEMPLATE.html files. The default
2786 behavior is still to search the entire LayoutTests directory.
2787 - Removed duplicate 'use strict' statement.
2788 - Replaced use of `find` statements with File::Find::find().
2789 - Remove unneeded chomp() calls now that we use File::Find.
2790 (directoryFilter): Added. Filters .svn directories when used
2791 with File::Find::find().
2792 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
2795 2008-05-05 Steve Falkenburg <sfalken@apple.com>
2797 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
2799 * DumpRenderTree/win/DumpRenderTree.vcproj:
2800 * DumpRenderTree/win/ImageDiff.vcproj:
2802 2008-05-05 Adele Peterson <adele@apple.com>
2806 Look for the right ImageDiff executable for debug builds.
2808 * Scripts/run-webkit-tests:
2810 2008-05-05 Darin Adler <darin@apple.com>
2812 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
2815 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
2819 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
2820 tests expect to be 480x360)
2822 * DumpRenderTree/qt/DumpRenderTree.cpp:
2823 (WebCore::DumpRenderTree::open):
2825 2008-05-02 Dan Bernstein <mitz@apple.com>
2827 Reviewed by Adam Roben.
2829 - add an option to svn-apply to set the reviewer name in change logs
2831 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
2833 2008-05-01 David Kilzer <ddkilzer@apple.com>
2835 Clean up configuration usage in run-webkit-tests
2839 * Scripts/run-webkit-tests: Parse configuration switches using
2840 passedConfiguration() from webkitdirs.pm like every other script.
2841 Note that we must still call setConfiguration() afterwards in
2842 case the --configuration switch was used. Use $configurationOption
2843 when running build-dumprendertree instead of recreating the switch.
2845 2008-04-29 Adam Roben <aroben@apple.com>
2847 Restore the beloved COMPtr::operator&
2849 2008-04-29 Adam Roben <aroben@apple.com>
2853 Replace COMPtr::operator& with COMPtr::adoptionPointer.
2855 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
2857 Reviewed by Darin Adler.
2859 Fix run-webkit-tests --threading
2860 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
2861 Proxy server issue in Sunday's Nightly
2863 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2864 (runJavaScriptThread):
2865 (startJavaScriptThreads):
2866 (stopJavaScriptThreads):
2867 Spawned threads were immediately detached, unlike the original ones, so joining them
2868 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
2869 waits for them all to exit.
2871 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
2875 Reset dumping resource load callbacks to false for the next test
2878 * DumpRenderTree/qt/jsobjects.cpp:
2879 (LayoutTestController::reset):
2881 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
2885 Adapt to the latest API changes in WebKit/qt/Api.
2887 * DumpRenderTree/qt/DumpRenderTree.cpp:
2888 (WebCore::DumpRenderTree::DumpRenderTree):
2889 * DumpRenderTree/qt/jsobjects.cpp:
2891 2008-04-26 Robin Dunn <robin@alldunn.com>
2893 Reviewed by Kevin Ollivier.
2895 Delete the DerivedSources after make clean has been done so that the DerivedSources
2896 don't get re-created. Also, use the proper extension for the Win wxPython extension.
2898 https://bugs.webkit.org/show_bug.cgi?id=18756
2900 * wx/build-wxwebkit:
2902 2008-04-26 Adam Barth <hk9565@gmail.com>
2904 Reviewed by Adam Roben and Sam Weinig.
2906 Updates LayoutTestController to use host instead of domain.
2908 Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
2910 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2911 (LayoutTestController::setDatabaseQuota):
2912 * DumpRenderTree/mac/UIDelegate.mm:
2913 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
2915 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
2917 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
2919 * wx/install-unix-extras:
2921 2008-04-26 Robin Dunn <robin@alldunn.com>
2923 Reviewed by Kevin Ollivier.
2925 Allow the user to set the path to SWIG using an environment variable.
2927 https://bugs.webkit.org/show_bug.cgi?id=18660
2929 * wx/build-wxwebkit:
2931 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
2933 wx build fix. Download the latest libpng version for building the
2936 * wx/install-unix-extras:
2938 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
2942 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
2944 Similar to Editing and Frameloading we do the dumping within WebCore
2947 * DumpRenderTree/qt/jsobjects.cpp:
2948 (LayoutTestController::dumpResourceLoadCallbacks):
2949 * DumpRenderTree/qt/jsobjects.h:
2951 2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2953 Reviewed by Maciej Stachowiak.
2955 http://bugs.webkit.org/show_bug.cgi?id=18485
2956 Typo and documentation fix for build-webkit
2958 * Scripts/build-webkit:
2960 2008-04-24 Anders Carlsson <andersca@apple.com>
2964 Don't call fprintf from the signal handler.
2966 * DumpRenderTree/mac/DumpRenderTree.mm:
2969 2008-04-23 Adam Roben <aroben@apple.com>
2971 Make crashes be reported as crashes, not hangs
2973 Reviewed by David Kilzer.
2975 * Scripts/run-webkit-tests:
2976 (top level): Use the new status field of the output from
2977 readFromDumpToolWithTimer to determine if the test crashed or hung.
2978 (sub readFromDumpToolWithTimer):
2979 - If we fail to read a line and $! is not EAGAIN, then we've crashed
2980 and should not try to read any more.
2981 - Changed the timedout field to a more general status field.
2983 2008-04-22 David Kilzer <ddkilzer@apple.com>
2985 Bug 18683: update-webkit returns 0 even if it fails
2987 <https://bugs.webkit.org/show_bug.cgi?id=18683>
2989 Reviewed by Mitz Pettel.
2991 * Scripts/update-webkit:
2992 (runSvnUpdate): Die if close() fails.
2994 2008-04-21 Adam Roben <aroben@apple.com>
2996 Flush stdout/stderr after printing every #EOF separator
2998 This fixes a hang when running the pixel tests on Windows
3000 Reviewed by Mitz Pettel.
3002 * DumpRenderTree/win/DumpRenderTree.cpp:
3004 (main): We don't have to flush stdout/stderr in the arguments loop
3005 anymore, as runTest flushes for us.
3007 2008-04-21 Adam Roben <aroben@apple.com>
3011 * Scripts/run-webkit-tests:
3012 (sub readFromDumpToolWithTimer): Use readline instead of read to
3013 ensure that we don't read past the #EOF marker.
3015 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3019 Build fix for Qt 4.3
3021 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
3022 always defined. Do this by adding defines to the compiler line
3024 * DumpRenderTree/qt/DumpRenderTree.pro:
3026 2008-04-19 Mike Hommey <glandium@debian.org>
3028 Reviewed by Alp Toker.
3030 Don't build GtkLauncher and DumpRenderTree with rpath.
3034 2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3036 Reviewed by Alp Toker.
3038 http://bugs.webkit.org/show_bug.cgi?id=16620
3039 [GTK] Autotools make dist and make check support
3045 2008-04-18 Adam Roben <aroben@apple.com>
3047 Drop the hang timer to 30 seconds
3049 This matches what DRT/mac was using.
3051 Reviewed by Mitz Pettel.
3053 * Scripts/run-webkit-tests:
3055 2008-04-18 Adam Roben <aroben@apple.com>
3057 Get rid of DRT's Watchdog
3059 run-webkit-tests now detects hangs and samples DRT as needed.
3061 Reviewed by Mitz Pettel.
3063 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
3064 Watchdog* files from the project.
3065 * DumpRenderTree/Watchdog.cpp: Removed.
3066 * DumpRenderTree/Watchdog.h: Removed.
3067 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
3070 * DumpRenderTree/mac/WatchdogMac.h: Removed.
3071 * DumpRenderTree/mac/WatchdogMac.mm: Removed.
3072 * Scripts/run-webkit-tests:
3073 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
3074 (sub sampleDumpTool): Added. Writes a sample report to
3075 ~/Library/Logs/DumpRenderTree/HangReport.txt.
3077 2008-04-18 Simon Hausmann <hausmann@webkit.org>
3081 Adapt to the API changes in WebKit/qt
3083 * DumpRenderTree/qt/DumpRenderTree.cpp:
3084 (WebCore::WebPage::WebPage):
3085 (WebCore::DumpRenderTree::DumpRenderTree):
3086 (WebCore::DumpRenderTree::initJSObjects):
3087 (WebCore::DumpRenderTree::dumpFramesAsText):
3088 (WebCore::DumpRenderTree::dump):
3090 2008-04-17 Adam Roben <aroben@apple.com>
3092 Fix many tests on Windows
3094 * Scripts/run-webkit-tests:
3095 (readFromDumpToolWithTimer):
3096 - Use read instead of sysread to ensure that we don't interfere with
3097 other uses of buffered IO in this script.
3098 (setFileHandleNonBlocking): Actually set the filehandle to blocking
3101 2008-04-17 Adam Roben <aroben@apple.com>
3105 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
3106 whatever newline happens to be at the end of what we've read.
3108 2008-04-17 Adam Roben <aroben@apple.com>
3110 Remove DRT/win's hang timer
3112 run-webkit-tests takes care of this for us now
3114 Reviewed by Anders Carlsson.
3116 * DumpRenderTree/win/DumpRenderTree.cpp:
3118 2008-04-17 Adam Roben <aroben@apple.com>
3120 Don't wait for the hang timer twice in the case of a hang
3122 Previously we'd wait for a hang while reading both stdout and stderr
3123 from DRT. Now we'll only wait for one or the other.
3125 Reviewed by Anders Carlsson.
3127 * Scripts/run-webkit-tests:
3128 (top level): Don't wait for stderr to time out if stdout already timed
3130 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
3131 after the first read that returns no data.
3133 2008-04-17 Adam Roben <aroben@apple.com>
3135 Don't throw away the output from timed out tests
3137 Reviewed by Anders Carlsson.
3139 * Scripts/run-webkit-tests:
3140 (top level): Updated for changes to readFromDumpToolWithTimer.
3141 (readFromDumpToolWithTimer): Return a hash that contains both the
3142 output and whether or not the test timed out.
3144 2008-04-17 Adam Roben <aroben@apple.com>
3146 Make the hang timer 60 seconds
3148 * Scripts/run-webkit-tests:
3150 2008-04-17 Adam Roben <aroben@apple.com>
3152 Get rid of carriage returns in DRT/win's stderr
3154 Reviewed by Eric Seidel.
3156 * DumpRenderTree/win/DumpRenderTree.cpp:
3157 (main): Mark stderr as binary like we already do for stdout.
3159 2008-04-17 Adam Roben <aroben@apple.com>
3161 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
3164 <https://bugs.webkit.org/show_bug.cgi?id=17678>
3166 We now abort tests that take longer than 60 seconds to produce output.
3167 This matches the watchdog timer in DRT/mac and DRT/win (which we can
3170 Reviewed by Eric Seidel.
3172 * Scripts/run-webkit-tests:
3173 (top level): Read DRT's output using the new readFromDumpToolWithTimer
3174 subroutine. If readFromDumpToolWithTimer returns undefined it means
3175 the test timed out, so we register the test as a hang and move on.
3176 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
3177 both crashed and timed out tests. If the test timed out, we kill DRT
3179 (sub linksForTimedOutTest): Added. We don't have any output to link to for
3180 tests that timed out.
3181 (sub recordActualResultsAndDiff): Don't call length on undefined.
3182 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
3183 from a filehandle until an #EOF is reached or
3184 $maximumSecondsWithoutOutput have elapsed.
3185 (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
3188 2008-04-17 Adam Roben <aroben@apple.com>
3190 Refactor test results page generation
3192 Reviewed by Eric Seidel.
3194 * Scripts/run-webkit-tests:
3195 (sub htmlForResultsSection): Added. Takes a set of tests, a
3196 description, and a subroutine to generate the links for each test, and
3197 creates a HTML string containing a table of the tests and their
3199 (sub linksForExpectedAndActualResults): Added. Replaces the
3200 htmlForExpectedAndActualResults subroutine.
3201 (sub linksForMismatchTest): Added.
3202 (sub linksForCrashOrErrorTest): Added.
3203 (sub linksForNewTest): Added.
3205 2008-04-17 Adam Roben <aroben@apple.com>
3207 Print the extension for all tests in the test results page
3209 Reviewed by Eric Seidel.
3211 * Scripts/run-webkit-tests:
3213 2008-04-17 Adam Roben <aroben@apple.com>
3215 Move code that counts finished tests into a subroutine
3217 Reviewed by Eric Seidel.
3219 * Scripts/run-webkit-tests:
3220 (sub countFinishedTest): Added.
3222 2008-04-17 Adam Roben <aroben@apple.com>
3224 Move code that handles a crash into a subroutine
3226 Reviewed by Eric Seidel.
3228 * Scripts/run-webkit-tests:
3229 (sub testCrashed): Added.
3231 2008-04-17 Eric Seidel <eric@webkit.org>
3235 Rename RenderView to RenderViewport in the next rename patch.
3237 * Scripts/do-webcore-rename:
3239 2008-04-17 Mario Bensi <mbensi@pleyo.com>
3241 Reviewed by Alp Toker.
3243 http://bugs.webkit.org/show_bug.cgi?id=18543
3244 DumpRenderTree gtk freeze
3246 fix DumpRenderTree gtk freeze
3248 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3251 2008-04-15 Anders Carlsson <andersca@apple.com>
3255 * Scripts/build-webkit:
3257 2008-04-15 Anders Carlsson <andersca@apple.com>
3261 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
3263 * Scripts/build-webkit:
3265 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
3269 Fix compilation with Qt namespaces
3271 Qt can be configured to have all of its classes inside a specified namespaces.
3272 This is for example used in plugin/component environments like Eclipse.
3274 This change makes it possible to let the Qt port compile against a namespaced
3275 Qt by the use of macros Qt provides to properly forward declare Qt classes in
3278 * DumpRenderTree/qt/DumpRenderTree.h:
3280 2008-04-08 Kevin Ollivier <kevino@theolliviers.com>
3282 Reviewed by Darin Adler.
3284 Add a script that propagates any file changes made to the Bakefiles
3285 over to GTK and Qt build systems. Still needs to be wired into
3288 * Scripts/update-sources-list.py: Added.
3290 2008-04-08 Mark Rowe <mrowe@apple.com>
3292 Clean up after Brady.
3294 * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
3296 2008-04-08 Brady Eidson <beidson@apple.com>
3298 Reviewed by Mitzpettel
3300 Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
3301 -WebArchive subresources dump in random order, intermittent failures
3303 * DumpRenderTree/mac/DumpRenderTree.mm:
3304 (compareResourceURLs): Sorting function based on the resource URLs
3305 (serializeWebArchiveToXML): Sort the subresource array
3307 2008-04-07 Brady Eidson <beidson@apple.com>
3309 OMG, BUILD - please!
3311 * Scripts/build-webkit:
3313 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3317 * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
3318 * Running these tests on windows and other platforms might need some work.
3320 * Scripts/run-webkit-tests:
3322 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3326 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
3327 is not exporting enough to create the output in DRT itself. Settle with the approach
3328 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
3329 * run-webkit-tests http/tests(/loading) can now be executed.
3330 * For tests in loading/ directories we are going to throw away the dirty
3331 QWebPage to start with something clean.
3334 * DumpRenderTree/qt/DumpRenderTree.cpp:
3336 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3340 * Treat http and https as special URLs as well. Change the main.cpp and
3341 DumpRenderTree.cpp to handle http and https URIs as input.
3342 * I'm not doing the clean up and merging of these two checks now.
3345 * DumpRenderTree/qt/DumpRenderTree.cpp:
3346 (WebCore::DumpRenderTree::readStdin):
3347 * DumpRenderTree/qt/main.cpp:
3350 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3354 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
3355 located in a directory with the name "loading". And this will autoamtically
3357 * Remove this method from the LayoutTestController as it is unused now and this
3358 avoids adding it to the DRT of the Qt port.
3361 * DumpRenderTree/LayoutTestController.cpp:
3362 (setPrivateBrowsingEnabledCallback):
3364 2008-04-01 Christian Dywan <christian@imendio.com>
3366 Build fix for GCC 4.3.
3368 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
3370 2008-04-01 Simon Hausmann <hausmann@webkit.org>
3374 Fix Qt DRT run by also printing EOF on stderr, as expected by
3377 * DumpRenderTree/qt/DumpRenderTree.cpp:
3378 (WebCore::DumpRenderTree::dump):
3380 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
3382 Reviewed by Darin Adler.
3384 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
3386 Remove trailing '/' in $sourceDir in determineSourceDir().
3388 Fix suggested by Dmitriy Kazachkov.
3390 * Scripts/webkitdirs.pm:
3392 2008-03-29 Adam Roben <aroben@apple.com>
3394 Update for rename of an IWebViewPrivate method
3396 Reviewed by Mitz Pettel.
3398 * DumpRenderTree/win/DumpRenderTree.cpp:
3399 (createWebViewAndOffscreenWindow):
3401 2008-03-26 Antti Koivisto <antti@apple.com>
3405 Enable SVG animation support by default.
3407 * Scripts/build-webkit:
3409 2008-03-25 Adam Roben <aroben@apple.com>
3413 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3414 Add $(WebKitLibrariesDir)\include to the include path so we can find
3417 2008-03-24 Eric Seidel <eric@webkit.org>
3421 Clean up SVG features message to be less confusing.
3423 * Scripts/build-webkit:
3425 2008-03-24 Sam Weinig <sam@webkit.org>
3427 Reviewed by Dave Hyatt.
3429 Add EventSender.zoomPageIn/zoomPageOut support to DRT.
3431 * DumpRenderTree/mac/DumpRenderTree.mm:
3432 (resetWebViewToConsistentStateBeforeTesting):
3433 * DumpRenderTree/mac/EventSendingController.mm:
3434 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3435 (-[EventSendingController zoomPageIn]):
3436 (-[EventSendingController zoomPageOut]):
3437 * DumpRenderTree/win/DumpRenderTree.cpp:
3438 (resetWebViewToConsistentStateBeforeTesting):
3439 * DumpRenderTree/win/EventSender.cpp:
3440 (textZoomInCallback):
3441 (textZoomOutCallback):
3442 (zoomPageInCallback):
3443 (zoomPageOutCallback):
3445 2008-03-24 Dan Bernstein <mitz@apple.com>
3447 Reviewed by Mark Rowe.
3449 - update bisect-builds for Safari 3.1
3451 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
3454 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
3458 http://bugs.webkit.org/show_bug.cgi?id=17981
3460 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
3464 2008-03-21 Adam Roben <aroben@apple.com>
3466 Remove a non-working mirror from cygwin-downloader and add the ruby package
3468 * CygwinDownloader/cygwin-downloader.py:
3469 * CygwinDownloader/cygwin-downloader.zip: Updated.
3471 2008-03-20 Mark Rowe <mrowe@apple.com>
3473 Reviewed by Sam Weinig.
3475 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
3476 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
3479 * Scripts/build-webkit:
3481 2008-03-17 Eric Seidel <eric@webkit.org>
3483 Reviewed by Dan Bernstein.
3485 Fix bogus argCount check breaking plugin test.
3487 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3489 2008-03-17 Eric Seidel <eric@webkit.org>
3493 Cleanup PluginObject.cpp and add support for testing
3494 converting from int -> identifier -> string
3495 and from string -> identifier -> int
3496 as well as round-tripping ints and stings through identifiers
3498 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3499 (pluginGetProperty):
3500 (pluginSetProperty):
3502 (stringVariantToIdentifier):
3503 (int32VariantToIdentifier):
3504 (doubleVariantToIdentifier):
3505 (variantToIdentifier):
3506 (testIdentifierToString):
3507 (testIdentifierToInt):
3510 (removeDefaultMethod):
3512 (testInvokeDefault):
3515 (testGetIntIdentifier):
3518 (testGetPropertyReturnValue):
3520 (pluginInvokeDefault):
3526 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
3528 Rubber stamped by Darin Adler.
3530 Add set-webkit-configuration support for wx port, and centralize
3531 build dir location setting.
3533 http://bugs.webkit.org/show_bug.cgi?id=17790
3535 * wx/browser/browser.bkl:
3536 * wx/build-wxwebkit:
3538 2008-03-15 Darin Adler <darin@apple.com>
3540 * Scripts/commit-log-editor: Include the name line of the change log entry.
3541 A long time ago I designed this script to not include the name because I
3542 thought it was redundant (same as the name of the person checking in), but
3543 nowadays it's more common for someone to check something in done by someone
3546 * Scripts/do-webcore-rename: Added some more planned renames and removed
3547 some that were already done "by hand".
3549 2008-03-13 Brent Fulgham <bfulgham@gmail.com>
3551 Reviewed by Darin Adler.
3553 Correct paths to vsprops files so they use the environment
3554 variable, rather than hard-coded path.
3555 http://bugs.webkit.org/show_bug.cgi?id=17797.
3557 * WinLauncher/WinLauncher.vcproj: Correct paths to vsprops.
3559 2008-03-12 Steve Falkenburg <sfalken@apple.com>
3563 * WinLauncher/WinLauncher.vcproj:
3565 2008-03-12 Holger Hans Peter Freyther <zecke@selfish.org>
3567 Reviewed by Alp Toker.
3569 Run testkjs in the correct productsDir in the GTK+ port.
3571 * Scripts/run-javascriptcore-tests:
3573 2008-03-11 Brent Fulgham <bfulgham@gmail.com>
3575 Reviewed by Adam Roben.
3577 Enabled WinLauncher as part of normal Windows build.
3578 http://bugs.webkit.org/show_bug.cgi?id=17715.
3580 * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
3581 it can find the proper libraries to link against.
3583 2008-03-10 Julien Chaffraix <julien.chaffraix@gmail.com>
3585 Reviewed and landed by Darin Adler.
3587 http://bugs.webkit.org/show_bug.cgi?id=17581
3588 Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
3590 Remove the previous warning which occurs when the --random option is used.
3592 * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
3595 2008-03-07 Simon Hausmann <hausmann@webkit.org>
3597 Reviewed by Darin Adler.
3601 Ported the netscape test plugin to QWebPluginFactory.
3603 * DumpRenderTree/qt/DumpRenderTree.cpp:
3604 (WebCore::WebPage::WebPage):
3605 * DumpRenderTree/qt/main.cpp:
3606 * DumpRenderTree/qt/testplugin.cpp:
3607 (TestPlugin::plugins):
3608 (TestPlugin::create):
3609 * DumpRenderTree/qt/testplugin.h:
3611 2008-03-09 Steve Falkenburg <sfalken@apple.com>
3613 Stop Windows build if an error occurs in a prior project.
3615 Rubber stamped by Darin Adler.
3617 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3618 * DumpRenderTree/win/DumpRenderTree.vcproj:
3619 * DumpRenderTree/win/ImageDiff.vcproj:
3620 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3622 2008-03-08 Julien Chaffraix <julien.chaffraix@gmail.com>
3624 Reviewed by Mark Rowe.
3626 DRT build fix for Tiger.
3628 * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
3630 2008-03-07 Mark Rowe <mrowe@apple.com>
3632 Reviewed by Oliver Hunt.
3634 Fix WebKit build with GCC 4.2.
3636 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
3638 2008-03-07 Stephanie Lewis <slewis@apple.com>
3642 Add Windows part of <rdar://problem/5693690>
3644 * DumpRenderTree/win/DumpRenderTree.cpp:
3648 2008-03-07 Alp Toker <alp@atoker.com>
3650 Back out the r30818, r30819 build fix attempts now the GTK+ build
3651 server has been upgraded.
3653 * Scripts/webkitdirs.pm:
3655 2008-03-07 Stephanie Lewis <slewis@apple.com>
3659 <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
3661 * DumpRenderTree/mac/DumpRenderTree.mm:
3662 (dump): push EOF to stderr after every test
3663 * Scripts/run-webkit-tests: collect stderr output and print it
3665 2008-03-07 Steve Falkenburg <sfalken@apple.com>
3667 Get pdevenv working with Visual Studio Express.
3673 2008-03-06 Adele Peterson <adele@apple.com>
3675 Reviewed by Darin Adler.
3677 Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
3679 * DumpRenderTree/mac/UIDelegate.mm:
3680 (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
3681 (-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one.
3682 To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
3684 2008-03-06 Matt Lilek <webkit@mattlilek.com>
3686 Reviewed by Adam Roben.
3688 Bug 17691: REGRESSION: FindSafari doesn't work
3689 http://bugs.webkit.org/show_bug.cgi?id=17691
3691 Swap my change from r30394 to use the Release libraries instead of Debug
3692 since some machines don't have the Debug version.
3694 * FindSafari/FindSafari.vcproj:
3696 2008-03-06 Kevin McCullough <kmccullough@apple.com>
3698 Reviewed by Sam and Tim.
3700 <rdar://5631450> Drosera: breakpoint indicators disappear after the
3701 script is finished running.
3702 - If there is a pre-existing breakpoint on a line when the file is
3703 updated we need to redraw it.
3705 * Drosera/debugger.js:
3707 2008-03-06 Brady Eidson <beidson@apple.com>
3711 * DumpRenderTree/mac/WatchdogMac.mm:
3713 2008-03-06 Brady Eidson <beidson@apple.com>
3717 Added a cross-platform Watchdog thread to DRT.
3719 The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running
3720 main thread hangs still affect DRT.
3722 By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
3723 and true deadlocks can be caught.
3725 There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has
3726 `sample` available, the Mac implementation of this hook samples the process before it is killed.
3728 I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
3730 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3731 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
3733 * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
3734 * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
3736 * DumpRenderTree/Watchdog.cpp: Added.
3737 (Watchdog::Watchdog):
3738 (Watchdog::~Watchdog):
3741 (Watchdog::checkIn):
3742 (Watchdog::setWatchdogInterval):
3743 (Watchdog::handleHang):
3744 (Watchdog::watchdogThreadStart):
3745 (Watchdog::watchdogThread):
3746 * DumpRenderTree/Watchdog.h: Added.
3748 * DumpRenderTree/mac/WatchdogMac.h: Added.
3749 * DumpRenderTree/mac/WatchdogMac.mm: Added.
3750 (WatchdogMac::handleHang): Sample the process and write it out to a file
3752 * DumpRenderTree/mac/DumpRenderTree.mm:
3753 (dumpRenderTree): Setup and start the watchdog before running any tests
3754 (runTest): Checkin with the watchdog after each test
3756 2008-03-05 Alp Toker <alp@atoker.com>
3758 Attempt to get the autotools build working again on the bot with
3761 Force the use of /bin/bash since we seem to have bash-isms in the
3762 configure script right now.
3764 * Scripts/webkitdirs.pm:
3766 2008-03-05 Alp Toker <alp@atoker.com>
3768 Re-attempt to switch to the autotools build system for GTK+.
3770 Change scripts to continue when distclean fails.
3772 * Scripts/webkitdirs.pm:
3774 2008-03-05 Alp Toker <alp@atoker.com>
3776 Force qmake for the GTK+ build until we get the build bot to succeed
3777 with autotools (currently dies at make distclean)
3779 * Scripts/webkitdirs.pm:
3781 2008-03-04 Alp Toker <alp@atoker.com>
3783 Reviewed by Mark Rowe.
3785 Switch the default GTK+ build system from qmake to autotools.
3787 qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
3789 * Scripts/build-webkit:
3790 * Scripts/run-launcher:
3791 * Scripts/run-webkit-tests:
3792 * Scripts/webkitdirs.pm:
3794 2008-03-04 Sam Weinig <sam@webkit.org>
3796 Reviewed by Darin Adler.
3798 * Scripts/do-webcore-rename: Update renaming plan.
3800 2008-03-02 Brent Fulgham <bfulgham@gmail.com>
3802 Reviewed by Alp Toker.
3804 Remove some needless LIBS.
3808 2008-03-02 Alp Toker <alp@atoker.com>
3810 Reviewed by Mark Rowe.
3812 Split the WebKit GTK+ build out of the WebCore build and change the
3813 shared object name to match the package name.
3817 2008-03-01 Mark Rowe <mrowe@apple.com>
3819 Reviewed by Tim Hatcher.
3821 Update Xcode configuration to support building debug and release from the mysterious future.
3823 * DumpRenderTree/mac/Configurations/Base.xcconfig:
3825 2008-02-29 David Kilzer <ddkilzer@apple.com>
3827 Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
3831 Originally broken in r26838.
3833 * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
3834 not local, unused @args variable.
3836 2008-02-29 David Kilzer <ddkilzer@apple.com>
3838 Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
3840 <http://bugs.webkit.org/show_bug.cgi?id=15754>
3842 Reviewed by Geoff and Darin.
3844 We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
3845 then removing that path from all file:/// URLs in the WebArchive output so these tests
3846 would pass no matter where they were run.
3848 The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
3849 current working directory, but the WebArchive does not. This left the current working
3850 directory in all file:/// URLs in the test output, and thus all tests failed, for any
3851 developer that used symlinks to get to their WebKit source directory.
3853 The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
3854 remove the current working directory path (no matter what it is) after "file://" but
3855 before "/LayoutTests/".
3857 * DumpRenderTree/mac/DumpRenderTree.mm:
3858 (normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the
3859 current working directory as described above.
3860 (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update
3861 calls to normalizeWebResourceURL().
3862 (serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to
3863 normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
3865 2008-02-26 Robin Dunn <robin@alldunn.com>
3867 Reviewed by Kevin Ollivier.
3869 Improvements to the wx build script.
3871 http://bugs.webkit.org/show_bug.cgi?id=17492
3873 * wx/build-wxwebkit:
3874 - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
3875 - Allow the build script to properly find wxPython includes under different setups
3876 - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
3878 2008-02-26 Timothy Hatcher <timothy@apple.com>
3880 Reviewed by Darin Adler.
3882 * Scripts/build-webkit: Add --universal and --64-bit flags to make building
3883 64-bit architectures easy. Combine the two flags to build 4-way universal.
3884 * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
3885 non-zero when the build failes.
3887 2008-02-26 Jessica Kahn <jess@apple.com>
3889 Reviewed by Darin Adler.
3891 * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
3892 so that Safari inherits it when launched. Preexisting code in WebKit checks this
3893 environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
3894 launched by Safari continue to use the standard system WebKit.
3896 2008-02-25 Adam Roben <aroben@apple.com>
3898 Fix run-webkit-tests after r30394
3900 * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
3903 2008-02-24 Darin Adler <darin@apple.com>
3905 * Scripts/do-webcore-rename: Make some updates based on a trial run of
3906 the renaming script.
3908 2008-02-24 Darin Adler <darin@apple.com>
3910 * Scripts/do-webcore-rename: More renaming plans.
3912 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3914 Rubber stamped by Darin Adler.
3916 Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
3917 whitespaces introduced in the previous commit.
3921 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3923 Rubber-stamped by Darin Adler.
3925 * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
3927 2008-02-23 David Kilzer <ddkilzer@apple.com>
3929 Please clarify licensing for some files
3930 <http://bugs.webkit.org/show_bug.cgi?id=14970>
3932 Reviewed by Darin Adler.
3934 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
3935 copyright statement. Replaced license with newer Apple BSD-style license.
3936 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
3937 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
3938 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
3939 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
3940 * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
3941 * mangleme/LICENSE: Added (LGPL).
3943 2008-02-22 Anders Carlsson <andersca@apple.com>
3947 <rdar://problem/5748781>
3948 https://bugs.webkit.org/show_bug.cgi?id=17413
3949 REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
3951 Copy the Java plug-in over to the new location.
3953 * FindSafari/FindSafari.cpp:
3956 2008-02-22 Anders Carlsson <andersca@apple.com>
3960 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
3962 * DumpRenderTree/win/DumpRenderTree.cpp:
3964 Init the URL request with the correct timeout.
3966 2008-02-21 Mike Auty <mike.auty@gmail.com>
3968 Reviewed by Alp Toker.
3970 http://bugs.webkit.org/show_bug.cgi?id=17445
3971 [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
3973 GTK+/autotools build system improvements
3975 The GNUmakefile.am files make use of the LDFLAGS variable to include library
3976 additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
3977 in LIBADD/LDADD variables, then they are mis-ordered during the linking.
3979 The as-needed flag discards libraries whose functions have not been needed by
3980 earlier libraries, which therefore makes the ordering important.
3982 This moves all -l library inclusion statements from LDFLAGS variables to
3983 LIBADD/LDADD variables.
3987 2008-02-20 Brent Fulgham <bfulgham@gmail.com>
3991 - http://bugs.webkit.org/show_bug.cgi?id=17428
3992 Reenable a Windows-based launcher
3994 This patch reenables the venerable Spinneret application,
3995 changing its name to match the other lanch applications.
3997 * WinLauncher: Added.
3998 * WinLauncher/WinLauncher.cpp: Added.
3999 (WinLauncherWebHost::updateAddressBar):
4000 (WinLauncherWebHost::QueryInterface):
4001 (WinLauncherWebHost::AddRef):
4002 (WinLauncherWebHost::Release):
4011 * WinLauncher/WinLauncher.h: Added.
4012 (WinLauncherWebHost::WinLauncherWebHost):
4013 (WinLauncherWebHost::didStartProvisionalLoadForFrame):
4014 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
4015 (WinLauncherWebHost::didFailProvisionalLoadWithError):
4016 (WinLauncherWebHost::didCommitLoadForFrame):
4017 (WinLauncherWebHost::didReceiveTitle):
4018 (WinLauncherWebHost::didReceiveIcon):
4019 (WinLauncherWebHost::didFinishLoadForFrame):
4020 (WinLauncherWebHost::didFailLoadWithError):
4021 (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
4022 (WinLauncherWebHost::willPerformClientRedirectToURL):
4023 (WinLauncherWebHost::didCancelClientRedirectForFrame):
4024 (WinLauncherWebHost::willCloseFrame):
4025 (WinLauncherWebHost::windowScriptObjectAvailable):
4026 * WinLauncher/WinLauncher.ico: Added.
4027 * WinLauncher/WinLauncher.rc: Added.
4028 * WinLauncher/WinLauncher.vcproj: Added.
4029 * WinLauncher/resource.h: Added.
4030 * WinLauncher/small.ico: Added.
4031 * WinLauncher/stdafx.cpp: Added.
4032 * WinLauncher/stdafx.h: Added.
4034 2008-02-19 Brady Eidson <beidson@apple.com>
4038 Fixed a bug in DRT --threaded mode
4040 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
4041 (startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries
4042 to pthread_join() each thread that had been created, but you can't join a detached thread!
4044 2008-02-18 Brady Eidson <beidson@apple.com>
4046 Changes by Geoff Garen, Reviewed by Darin
4048 Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
4050 DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
4052 [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
4053 This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked,
4054 this series of method calls will deadlock. If things are good, it will complete successfully.
4056 * DumpRenderTree/mac/ObjCController.m:
4057 (runJavaScriptThread):
4058 (+[ObjCController isSelectorExcludedFromWebScript:]):
4059 (+[ObjCController webScriptNameForSelector:]):
4060 (-[ObjCController testValueForKey]):
4062 2008-02-18 Matt Lilek <webkit@mattlilek.com>
4066 Remove FindSafari's Release configuration.
4068 * FindSafari/FindSafari.vcproj:
4070 2008-02-15 Adam Roben <aroben@apple.com>
4072 Fix a typo that broke the Mac build
4076 * Scripts/build-webkit:
4078 2008-02-14 Adam Roben <aroben@apple.com>
4080 Turn on cross-document messaging support by default
4082 Reviewed by Darin Adler.
4084 * Scripts/build-webkit:
4086 2008-02-14 Adam Roben <aroben@apple.com>
4088 Conditionalize cross-document messaging support
4090 The cross-document messaging parts of HTML 5 are in flux and we want
4091 ports to be able to turn off the support as needed.
4093 Note that the support is turned off by default right now. A subsequent
4094 commit will turn it on by default.
4096 Reviewed by Darin Adler.
4098 * Scripts/build-webkit:
4100 2008-02-14 Darin Adler <darin@apple.com>
4104 * DumpRenderTree/win/UIDelegate.cpp:
4105 (UIDelegate::setStatusText): Update parameter types to match declaration.
4107 2008-02-14 Oliver Hunt <oliver@apple.com>
4109 Reviewed by Geoff G and Weinig.
4111 Add ability for DRT to report tests setting the status text.
4113 * DumpRenderTree/LayoutTestController.cpp:
4114 (LayoutTestController::LayoutTestController):
4115 (dumpStatusCallbacksCallback):
4116 (LayoutTestController::staticFunctions):
4117 * DumpRenderTree/LayoutTestController.h:
4118 * DumpRenderTree/mac/UIDelegate.mm:
4119 (-[UIDelegate webView:setStatusText:]):
4120 * DumpRenderTree/win/UIDelegate.cpp:
4121 * DumpRenderTree/win/UIDelegate.h:
4123 2008-02-13 Adam Roben <aroben@apple.com>
4127 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
4129 2008-02-13 Adam Roben <aroben@apple.com>
4131 Windows/GTK+ build fix
4133 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
4136 2008-02-13 Brady Eidson <beidson@apple.com>
4138 Reviewed by Darin Adler
4140 Add some much needed Database support to DRT
4142 * DumpRenderTree/LayoutTestController.cpp:
4143 (LayoutTestController::LayoutTestController):
4144 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
4145 databases are called
4146 (clearAllDatabasesCallback): Allow a test to delete all databases
4147 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
4148 (LayoutTestController::staticFunctions):
4150 * DumpRenderTree/LayoutTestController.h:
4151 (LayoutTestController::dumpDatabaseCallbacks):
4152 (LayoutTestController::setDumpDatabaseCallbacks):
4154 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4155 (LayoutTestController::clearAllDatabases):
4156 (LayoutTestController::setDatabaseQuota):
4158 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4159 (LayoutTestController::clearAllDatabases): Stubbed out
4160 (LayoutTestController::setDatabaseQuota): Ditto
4161 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4162 (LayoutTestController::clearAllDatabases): Stubbed out with error message
4163 (LayoutTestController::setDatabaseQuota): Ditto
4165 * DumpRenderTree/mac/UIDelegate.mm:
4166 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
4167 message with details about the event then return a 5mb quota like before
4170 2008-02-12 Steve Falkenburg <sfalken@apple.com>
4172 Changes to support merged MIDL output.
4174 All COM interfaces are now generated to WebKit.h.
4176 Reviewed by Sam, Ada.
4178 * Drosera/win/BaseDelegate.h:
4179 * Drosera/win/DebuggerClient.cpp:
4180 * Drosera/win/DebuggerDocumentPlatform.cpp:
4181 * Drosera/win/Drosera.cpp:
4182 * Drosera/win/ServerConnection.cpp:
4183 * Drosera/win/ServerConnection.h:
4184 * DumpRenderTree/win/DumpRenderTree.cpp:
4185 * DumpRenderTree/win/EditingDelegate.h:
4186 * DumpRenderTree/win/EventSender.cpp:
4187 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4188 * DumpRenderTree/win/FrameLoadDelegate.h:
4189 * DumpRenderTree/win/GCControllerWin.cpp:
4190 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4191 * DumpRenderTree/win/PolicyDelegate.h:
4192 * DumpRenderTree/win/ResourceLoadDelegate.h:
4193 * DumpRenderTree/win/UIDelegate.cpp:
4194 * DumpRenderTree/win/UIDelegate.h:
4195 * DumpRenderTree/win/WorkQueueItemWin.cpp:
4197 2008-02-10 Dan Bernstein <mitz@apple.com>
4199 Reviewed by Oliver Hunt.
4203 * DumpRenderTree/cg/ImageDiffCG.cpp:
4204 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
4205 and leaking the buffer each time.
4207 2008-02-07 Adam Roben <aroben@apple.com>
4209 Fix error in bisect-builds when responding "broken" for the first
4212 Reviewed by Dave Kilzer.
4214 * Scripts/bisect-builds: Only try to test the build if the nightly
4215 info for the current index has not been deleted.
4217 2008-02-07 Geoffrey Garen <ggaren@apple.com>
4219 Reviewed by Alexey Proskuryakov.
4221 Fixed two minor typos in the --root option, to get it working.
4223 * Scripts/run-sunspider:
4224 1. Actually assign the function argument to our local variable.
4225 2. Actually set the $root variable, so we don't try to build later.
4227 2008-02-05 Oliver Hunt <oliver@apple.com>
4231 Re-enable foreignObject by default as it is needed for a number of non-fO
4232 related SVG tests and none of the old known crashes occur anymore.
4234 * Scripts/build-webkit:
4236 2008-02-05 Steve Falkenburg <sfalken@apple.com>
4238 Build fix. Don't override intermediate directory.
4240 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4242 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
4244 Build fix for Windows. willCloseFrame is a pure virtual and we are
4245 forced to have an implementation.
4247 This partially reverts r30014.
4249 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4250 (FrameLoadDelegate::willCloseFrame):
4251 * DumpRenderTree/win/FrameLoadDelegate.h:
4253 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
4257 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
4259 * Scripts/make-js-test-wrappers:
4261 2008-02-05 Holger Freyther <zecke@selfish.org>
4263 Reviewed by Darin Adler.
4265 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
4266 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
4267 depends on the order the tests are executed.
4269 Propose to remove willCloseFrame and didlCearWindowObject output from the
4270 FrameLoadDelegate and update the test results. The output of didClearWindowObject
4271 is not interesting for any of the current tests and we have other ways to find
4272 out if a frame was closed or not.
4274 * DumpRenderTree/mac/FrameLoadDelegate.mm:
4275 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4276 (FrameLoadDelegate::didClearWindowObject):
4277 * DumpRenderTree/win/FrameLoadDelegate.h:
4279 2008-02-04 Mark Rowe <mrowe@apple.com>
4281 Reviewed by Oliver Hunt.
4283 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
4284 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
4286 Don't install the signal handler unless we are running the pixel tests.
4287 It is currently only used to restore the color profile, but by catching
4288 signals we can trigger a deadlock in DRT while running leak tests.
4289 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
4290 and a more complete fix will need to be developed to address this for
4291 pixel tests as well.
4293 * DumpRenderTree/mac/DumpRenderTree.mm:
4296 2008-02-04 Mark Rowe <mrowe@apple.com>
4298 Gtk qmake build fix.
4300 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
4302 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
4304 Reviewed by Alp Toker and Mark Rowe.
4306 http://bugs.webkit.org/show_bug.cgi?id=16618
4307 [GTK] build-webkit and run-webkit-tests autootools support
4309 * Scripts/build-webkit: added --database and --icon-database options
4310 * Scripts/run-launcher:
4311 * Scripts/run-webkit-tests:
4312 * Scripts/webkitdirs.pm:
4314 2008-02-04 Oliver Hunt <oliver@apple.com>
4316 Reviewed by Steve F.
4318 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
4320 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
4322 * Uses Sleep() to implement leapForward reliably.
4323 * 3 DND tests still fail for reasons that i have not yet determined
4324 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
4326 * DumpRenderTree/win/EventSender.cpp:
4327 (leapForwardCallback):
4328 (mouseDownCallback):
4332 (mouseMoveToCallback):
4333 Minor updates to these functions to handle the different message queue structure.
4335 (replaySavedEvents):
4336 More complicated now. Where possible we just use the old while-loop model of execution,
4337 but when leapForward has been used we have to jump through some hoops and set up an
4338 inner event loop so that we can ensure messages get the correct time stamp.
4340 * DumpRenderTree/win/UIDelegate.cpp:
4341 (UIDelegate::doDragDrop):
4342 Call replaySavedEvents directly to force synchronous handling of drag and drop.
4344 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
4346 Reviewed by Alp Toker and Mark Rowe.
4348 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
4349 Bug 17175: Use of C++ compiler flags in CFLAGS
4351 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
4353 2008-02-04 Darin Adler <darin@apple.com>
4357 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
4358 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
4361 2008-02-04 Adam Roben <aroben@apple.com>
4363 Windows Apple-only build fix
4365 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
4368 2008-02-04 Alp Toker <alp@atoker.com>
4370 Rubber-stamped by Mark Rowe.
4372 Remove all trailing whitespace in the GTK+ port and related
4375 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
4376 * DumpRenderTree/gtk/GCControllerGtk.cpp:
4377 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4380 2008-02-01 Eric Seidel <eric@webkit.org>
4384 Also search LayoutTests/svg for js-based tests.
4386 * Scripts/make-js-test-wrappers:
4388 2008-01-31 Alp Toker <alp@atoker.com>
4390 Rubber-stamped by Adam Roben.
4392 http://bugs.webkit.org/show_bug.cgi?id=17006
4393 [GTK] Header path should be webkit/webkit.h
4395 Move the GTK+ API sources as needed and update the build systems.
4397 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4398 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
4399 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
4401 * GtkLauncher/main.c:
4403 2008-01-30 Stephanie <slewis@apple.com>
4407 Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth. This should make it easier for the buildbots to track new leaks.
4409 * Scripts/run-webkit-tests:
4411 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
4413 Reviewed by Adam Roben.
4415 One more debug (external) fix.
4417 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
4418 and Debug configurations.
4420 2008-01-29 Geoffrey Garen <ggaren@apple.com>
4422 Reviewed by Sam Weinig. Sam Weinig.
4424 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
4425 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
4427 Modified our policy delegates not to output window.name. Since a
4428 previous test may have explicitly set window.name, we can't rely on its
4429 implicit value in test results.
4431 * DumpRenderTree/mac/PolicyDelegate.mm:
4432 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
4434 * DumpRenderTree/win/PolicyDelegate.cpp:
4435 (PolicyDelegate::decidePolicyForNavigationAction):
4437 2008-01-29 Mark Rowe <mrowe@apple.com>
4439 Reviewed by Tim Hatcher.
4441 <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
4443 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
4445 2008-01-29 David Kilzer <ddkilzer@apple.com>
4447 Refactor ChangeLog path code
4451 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
4452 duplicate code in another foreach() loop.
4454 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
4456 Reviewed by Darin Adler.
4458 <rdar://problem/5710692> All storage tests fail/crash
4460 * DumpRenderTree/mac/UIDelegate.mm:
4461 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
4462 arbitrary quota of 5 megabytes.
4464 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
4465 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
4466 Removed unused (I think) code.
4468 * DumpRenderTree/win/UIDelegate.cpp:
4469 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
4470 (UIDelegate::webViewPainted): A stub implementation.
4471 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
4472 * DumpRenderTree/win/UIDelegate.h:
4474 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
4476 GTK+ DRT build fix for breakage introduced in r29822.
4478 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4479 (LayoutTestController::setPersistentUserStyleSheetLocation):
4480 (LayoutTestController::clearPersistentUserStyleSheet):
4482 2008-01-27 Dan Bernstein <mitz@apple.com>
4484 Reviewed by Darin Adler.
4486 - add support for directory prologues and epilogues to run-webkit-tests
4487 - allow setting a persistent user style sheet in DumpRenderTree
4488 - activate the WebKit Layout Tests font in Windows DumpRenderTree
4490 * DumpRenderTree/LayoutTestController.cpp:
4491 (clearPersistentUserStyleSheetCallback): Added.
4492 (setPersistentUserStyleSheetLocationCallback): Added.
4493 (LayoutTestController::staticFunctions): Added.
4494 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
4495 * DumpRenderTree/LayoutTestController.h:
4496 * DumpRenderTree/mac/DumpRenderTree.mm:
4497 (setPersistentUserStyleSheetLocation): Added.
4498 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
4499 to the set of things this function resets. Now it either disables the
4500 user style sheet or sets it to the persistent user style sheet and
4502 * DumpRenderTree/mac/DumpRenderTreeMac.h:
4503 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4504 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
4505 (LayoutTestController::clearPersistentUserStyleSheet): Added.
4506 * DumpRenderTree/win/DumpRenderTree.cpp:
4507 (setPersistentUserStyleSheetLocation): Added.
4508 (initialize): Added the WebKit Layout Tests font to the set of fonts to
4510 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
4511 * DumpRenderTree/win/DumpRenderTreeWin.h:
4512 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4513 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
4514 (LayoutTestController::clearPersistentUserStyleSheet): Added.
4515 * Scripts/run-webkit-tests: Changed to look for, and if found process in
4516 DumpRenderTree, files named run-webkit-tests-prologue.html and
4517 run-webkit-tests-epilogue.html in the resources subdirectory of any
4518 test directory and platform test results directory. The prologues are
4519 processed before the first test from the directory (and its
4520 subdirectories) is run, and the epilogues are processed after the last
4521 test from the directory is run. Platform-specific prologues and
4522 epilogues are processed in order of specificity.
4524 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
4526 Reviewed by Mark Rowe.
4528 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
4530 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
4532 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
4534 2008-01-24 Sam Weinig <sam@webkit.org>
4536 Reviewed by Ada Chan.
4538 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
4540 - Adds simplified UndoManager to windows DRT to allow testing the
4541 undo/redo code paths in WebCore and WebKit. This is a temporary
4542 solution to an issue that should eventually be solved by having a
4543 shared UndoManager in WebKit.
4545 * DumpRenderTree/win/DumpRenderTree.cpp:
4547 * DumpRenderTree/win/UIDelegate.cpp:
4548 (DRTUndoObject::DRTUndoObject):
4549 (DRTUndoObject::invoke):
4550 (DRTUndoStack::~DRTUndoStack):
4551 (DRTUndoStack::isEmpty):
4552 (DRTUndoStack::clear):
4553 (DRTUndoStack::push):
4554 (DRTUndoStack::pop):
4555 (DRTUndoManager::canRedo):
4556 (DRTUndoManager::canUndo):
4557 (DRTUndoManager::DRTUndoManager):
4558 (DRTUndoManager::removeAllActions):
4559 (DRTUndoManager::registerUndoWithTarget):
4560 (DRTUndoManager::redo):
4561 (DRTUndoManager::undo):
4562 (UIDelegate::UIDelegate):
4563 (UIDelegate::resetUndoManager):
4564 (UIDelegate::registerUndoWithTarget):
4565 (UIDelegate::removeAllActionsWithTarget):
4566 (UIDelegate::setActionTitle):
4569 (UIDelegate::canUndo):
4570 (UIDelegate::canRedo):
4571 * DumpRenderTree/win/UIDelegate.h:
4573 2008-01-23 Adam Roben <aroben@apple.com>
4575 Allow directories containing ChangeLogs to be passed to
4578 Reviewed by David Kilzer.
4580 * Scripts/resolve-ChangeLogs:
4581 (sub findChangeLog): Return a ChangeLog contained within the specified
4582 directory if one exists.
4584 2008-01-23 Steve Falkenburg <sfalken@apple.com>
4586 <rdar://problem/5698732> Copyright strings should include 2008
4590 * Drosera/win/Drosera.vcproj/Drosera.rc:
4591 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
4593 2008-01-23 Alp Toker <alp@atoker.com>
4595 Rubber-stamped by Mark Rowe.
4597 Remove whitespace after -I in automake include lists.
4601 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
4603 Reviewed by Lars Knoll <lars@trolltech.com>.
4605 Reworked the JavaScriptCore Qt bindings:
4607 * Update JS DRT controller for Qt JS binding changes.
4608 There were two functions that needed some changes
4609 so that the layout tests would work, so this makes
4610 a few tests pass again.
4612 * Bump the timeout for layout tests up to 11s.
4613 At least some tests have an internal timeout of
4614 10 seconds, so make the waitUntilDone approach
4615 wait at least 11s. fast/dom/open-and-close-by-DOM.html
4616 is one of these - now the failure message is more
4620 * DumpRenderTree/qt/jsobjects.cpp:
4621 (LayoutTestController::waitUntilDone):
4622 * DumpRenderTree/qt/jsobjects.h:
4624 2008-01-22 Anders Carlsson <andersca@apple.com>
4626 Reviewed by Darin and Adam.
4628 <rdar://problem/5688975>
4629 div element on microsoft site has wrong left offset.
4631 Add new method for testing the return vale of NPN_GetProperty.
4633 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4636 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
4638 Reviewed by Adam Roben.
4640 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
4642 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
4644 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
4646 Reviewed by Alp Toker.
4648 http://bugs.webkit.org/show_bug.cgi?id=16955
4649 Get errors when cross-compile webkit-gtk
4651 * GNUmakefile.am: Removed ICU_CFLAGS
4653 2008-01-21 Darin Adler <darin@apple.com>
4655 Reviewed by Mitz and Adam.
4657 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
4658 sorting speed by doing all sort criteria in a single pass instead of three sorts.
4660 2008-01-21 Simon Hausmann <hausmann@webkit.org>
4664 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
4666 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
4667 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
4668 and make the return value depend on whether we successfully determined a focusable
4670 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
4671 if we could not handle the focus chain ourselves.
4672 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
4673 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
4674 used to control the situation of stepping out of the focus chain inside the page.
4675 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
4676 The layout tests expect this to be disabled but for the user it seems sensible to have it
4677 on by default, hence the default in qwebsettings.cpp
4680 * DumpRenderTree/qt/DumpRenderTree.cpp:
4681 (WebCore::WebPage::WebPage):
4683 2008-01-19 Mark Rowe <mrowe@apple.com>
4685 Reviewed by Alp Toker.
4687 Allow the --http flag to run-webkit-tests to override
4688 the default behaviour of disabling HTTP tests for Qt,
4691 * Scripts/run-webkit-tests:
4693 2008-01-19 David Kilzer <ddkilzer@apple.com>
4695 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
4697 Reviewed by Darin Adler.
4699 We now touch a check-for-global-initializers.timestamp file in
4700 the TARGET_TEMP_DIR directory to determine when new object files
4701 have been compiled and thus need to be checked. If the timestamp
4702 file doesn't exist, all object files will be checked.
4704 Previously the modification time of the "executable" (the
4705 framework binary, e.g., WebKit.framework/WebKit) was used, but
4706 since this was the last file modified at the end of the compile
4707 phase, no object files would ever get checked!
4709 Also added JSCustomSQLTransactionCallback.o to the list of files
4710 since it has static initializers in Debug builds of WebCore.
4712 * Scripts/check-for-global-initializers:
4714 2008-01-18 Adam Roben <aroben@apple.com>
4718 * Scripts/build-webkit:
4720 2008-01-18 Beth Dakin <bdakin@apple.com>
4724 Update build-webkit to account for foreign-object being disabled by
4727 * Scripts/build-webkit:
4729 2008-01-18 Adam Roben <aroben@apple.com>
4731 Updated for method renames
4735 * DumpRenderTree/mac/FrameLoadDelegate.mm:
4736 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
4737 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4738 (LayoutTestController::setMainFrameIsFirstResponder):
4739 (LayoutTestController::setWindowIsKey):
4740 * DumpRenderTree/mac/UIDelegate.mm:
4741 (-[UIDelegate webViewFocus:]):
4742 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4743 (FrameLoadDelegate::didCommitLoadForFrame):
4745 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
4747 Reviewed by Adam Roben.
4749 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
4750 between DRT and TestNetscapePlugin.
4752 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
4753 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
4755 2008-01-18 Simon Hausmann <hausmann@webkit.org>
4759 Fix fast/dom/Window/window-resize.html
4761 In DRT connect the page's geometryChangeRequest signal to a slot that
4762 sets the geometry of the view widget.
4765 * DumpRenderTree/qt/DumpRenderTree.cpp:
4766 (WebCore::WebPage::setViewGeometry):
4767 (WebCore::WebPage::WebPage):
4769 2008-01-17 Steve Falkenburg <sfalken@apple.com>
4773 * Drosera/DroseraWin.make:
4775 2008-01-17 Darin Adler <darin@apple.com>
4777 * Scripts/run-webkit-tests: Fixed a bug number.
4779 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
4781 Reviewed by Adam Roben.
4783 http://bugs.webkit.org/show_bug.cgi?id=16908
4784 run-webkit-tests complains about missing FindSafari.exe
4786 * Scripts/webkitdirs.pm: Append _debug as appropriate.
4788 2008-01-17 Steve Falkenburg <sfalken@apple.com>
4790 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
4792 Rubber-stamped by Jon Honeycutt.
4794 * DumpRenderTree/win/DumpRenderTree.vcproj:
4796 2008-01-16 Alp Toker <alp@atoker.com>
4798 Reviewed by Mark Rowe.
4800 http://bugs.webkit.org/show_bug.cgi?id=16218
4801 [GTK] API: Should this entry point be called go_back rather than go_backward?
4803 Track back/forward API changes in the tools.
4805 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
4806 (BackForwardItem::invoke):
4807 * GtkLauncher/main.c:
4810 2008-01-16 Adam Roben <aroben@apple.com>
4812 Windows build fix after r29488
4814 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4815 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
4816 expects to find the plugin.
4818 2008-01-11 Geoffrey Garen <ggaren@apple.com>
4820 Reviewed by Sam Weinig.
4822 Fixed the waitUntilDone watchdog timer -- the old code never added the
4823 timer to the run loop, so it didn't do anything.
4825 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4826 (LayoutTestController::setWaitToDump):
4827 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4828 (LayoutTestController::setWaitToDump):
4830 2008-01-14 Steve Falkenburg <sfalken@apple.com>
4832 Use shared vsprops for most vcproj properties.
4834 Reviewed by Darin Adler.
4836 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4837 * DumpRenderTree/win/DumpRenderTree.vcproj:
4838 * DumpRenderTree/win/ImageDiff.vcproj:
4839 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4840 * FindSafari/FindSafari.vcproj:
4842 2008-01-14 Stephanie <slewis@apple.com>
4846 revert accidental character.
4848 * Scripts/run-webkit-tests:
4850 2008-01-14 Stephanie <slewis@apple.com>
4854 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
4856 * Scripts/run-webkit-tests:
4858 2008-01-14 Darin Adler <darin@apple.com>
4860 * Scripts/do-webcore-rename: Queue up another rename.
4862 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4864 Reviewed by Darin Adler.
4866 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
4868 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
4870 * Scripts/run-webkit-tests:
4872 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4874 Reviewed by Darin Adler.
4876 * Randomize tests array to spot test cases where the results depends on the order
4878 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
4880 * Scripts/run-webkit-tests:
4882 2008-01-14 Darin Adler <darin@apple.com>
4884 * Scripts/run-webkit-tests: More ignore list tweaking.
4886 2008-01-14 Darin Adler <darin@apple.com>
4888 * Scripts/run-webkit-tests: Add another leak to the ignore list.
4890 2008-01-14 Dan Bernstein <mitz@apple.com>
4892 Reviewed by Adam Roben.
4894 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
4897 * DumpRenderTree/win/DumpRenderTree.cpp:
4898 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
4900 2008-01-13 Steve Falkenburg <sfalken@apple.com>
4902 Share common files across projects.
4905 Debug: common.vsprops, debug.vsprops
4906 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
4907 Release: common.vsprops, release.vsprops
4909 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
4910 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
4912 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
4914 Reviewed by Adam Roben.
4916 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4917 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
4918 * Drosera/win/Drosera.vcproj/VERSION: Removed.
4919 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
4920 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
4921 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
4922 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
4923 * DumpRenderTree/win/DumpRenderTree.vcproj:
4924 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4925 * DumpRenderTree/win/debug.vsprops: Removed.
4926 * DumpRenderTree/win/debug_internal.vsprops: Removed.
4927 * DumpRenderTree/win/release.vsprops: Removed.
4929 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
4933 - http://bugs.webkit.org/show_bug.cgi?id=16314
4934 Script to launch Drosera
4936 * Scripts/gdb-drosera: Added.
4937 * Scripts/run-drosera: Added.
4938 * Scripts/run-drosera-nightly.cmd: Added.
4939 * Scripts/webkitdirs.pm: Added runDrosera function.
4941 2008-01-13 Dan Bernstein <mitz@apple.com>
4943 - fix breakage due to last-minute change
4945 * DumpRenderTree/win/DumpRenderTree.cpp:
4946 (runTest): Declare the loop variable.
4948 2008-01-13 Dan Bernstein <mitz@apple.com>
4950 Reviewed by Adam Roben.
4952 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
4954 * DumpRenderTree/win/DumpRenderTree.cpp:
4955 (DumpRenderTreeWndProc):
4957 (dumpBackForwardList):
4958 (dumpBackForwardListForAllWindows):
4960 (resetWebViewToConsistentStateBeforeTesting): Factored out of
4963 (allWindows): Added. Returns a vector of all open windows.
4964 (windowToWebViewMap): Added. Returns a map from open windows to their
4966 (createWebViewAndOffscreenWindow): Factored out of main() to be
4967 reusable for creating extra windows.
4969 * DumpRenderTree/win/DumpRenderTreeWin.h:
4970 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4971 (LayoutTestController::windowCount): Implemented.
4972 * DumpRenderTree/win/UIDelegate.cpp:
4973 (UIDelegate::createWebViewWithRequest): Implemented.
4974 (UIDelegate::webViewClose): Implemented.
4975 * DumpRenderTree/win/UIDelegate.h:
4977 2008-01-12 Alp Toker <alp@atoker.com>
4979 Reviewed by Mark Rowe.
4981 Hide non-public symbols in GTK+/autotools release builds.
4985 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4989 * Make launching of the WebKit httpd work on GNU/Debian/Linux
4991 The configuration of Apache2 and installation does not depend on
4992 the kernel but on the distribution policy. Make launching of httpd
4993 work for Debian derived distributions.
4995 * Scripts/run-webkit-httpd:
4996 * Scripts/run-webkit-tests:
4997 * Scripts/webkitdirs.pm:
4999 2008-01-12 Mark Rowe <mrowe@apple.com>
5001 Reviewed by Maciej Stachowiak.
5003 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
5005 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
5006 match the callers expectations that it can take ownership of the string.
5008 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
5010 Reviewed by Adam Roben.
5012 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
5014 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
5015 as these are only posted because the test window is not a normal visible one, and
5016 they confuse drag&drop machinery.
5018 2008-01-11 Adam Roben <aroben@apple.com>
5020 Fix a crash when pathToLocalResource fails and a leak
5022 Reviewed by Darin Adler.
5024 * DumpRenderTree/LayoutTestController.cpp:
5025 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
5026 sure not to pass null to JSValueMakeString.
5027 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5028 (LayoutTestController::pathToLocalResource): Print an error message if
5029 the conversion fails so it's clear what happened.
5031 2008-01-11 Geoffrey Garen <ggaren@apple.com>
5033 Reviewed by John Sullivan.
5035 * DumpRenderTree/mac/GCControllerMac.mm:
5036 (GCController::collectOnAlternateThread): Updated for name change.
5038 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
5040 wx build fix. Don't build dftables any longer since it's now a Perl
5043 * wx/build-wxwebkit:
5045 2008-01-10 Sam Weinig <sam@webkit.org>
5047 Reviewed by Anders Carlsson.
5049 Make DRT track open windows instead of allocated windows so that
5050 we can avoid ASSERTION due to late deallocs out of our control.
5052 * DumpRenderTree/mac/DumpRenderTree.mm:
5053 (dumpBackForwardListForAllWindows):
5055 * DumpRenderTree/mac/DumpRenderTreeMac.h:
5056 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
5057 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
5058 (+[DumpRenderTreeWindow openWindows]):
5059 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
5060 (-[DumpRenderTreeWindow close]):
5061 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5062 (LayoutTestController::windowCount):
5064 2008-01-10 Ada Chan <adachan@apple.com>
5066 Meta key is not the same as Alt key on windows.
5068 Reviewed by Darin Adler.
5070 * DumpRenderTree/win/EventSender.cpp:
5073 2008-01-09 Kevin McCullough <kmccullough@apple.com>
5075 Reviewed by Darin, Sam and Adam.
5077 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
5078 link in gmail message displays JavaScript alert falsely complaining
5079 about pop-up blocking.
5080 - Added the ability to enable the pop-up blocker via the
5081 LayoutTestController.
5083 * DumpRenderTree/LayoutTestController.cpp:
5084 (setPopupBlockingEnabledCallback):
5085 (LayoutTestController::staticFunctions):
5086 * DumpRenderTree/LayoutTestController.h:
5087 * DumpRenderTree/mac/DumpRenderTree.mm:
5088 (setDefaultsToConsistentValuesForTesting):
5089 (resetWebViewToConsistentStateBeforeTesting):
5090 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5091 (LayoutTestController::setPopupBlockingEnabled):
5093 2008-01-10 Lars Knoll <lars@trolltech.com>
5097 rename QWebPageHistory to QWebHistory.
5100 * DumpRenderTree/qt/jsobjects.cpp:
5102 2008-01-09 Maciej Stachowiak <mjs@apple.com>
5104 Reviewed by Darin Adler.
5106 - add some more renames, adjust some
5108 * Scripts/do-webcore-rename:
5110 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
5114 Enable SVG Fonts support by default.
5116 * Scripts/build-webkit:
5118 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
5122 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
5123 DRT doesn't handle platform specific pixel test results correctly.
5125 <test>-expected.txt files and <test>-expected.png files may now live
5126 in different directories (ie. a cross-platform <test>-expected.txt file
5127 and a platform-specific <test>-expected.png file).
5129 * Scripts/run-webkit-tests:
5131 2008-01-04 Kevin McCullough <kmccullough@apple.com>
5133 Reviewed by Darin Adler.
5135 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
5136 DRT did not correctly handle printing the '\0' char. Now it does.
5138 * DumpRenderTree/win/DumpRenderTree.cpp:
5142 2008-01-07 Simon Hausmann <hausmann@webkit.org>
5146 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
5149 * DumpRenderTree/qt/main.cpp:
5150 * DumpRenderTree/qt/testplugin.cpp:
5151 * DumpRenderTree/qt/testplugin.h:
5153 2008-01-05 Mark Rowe <mrowe@apple.com>
5155 Reviewed by Alp Toker.
5157 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
5159 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5160 (processWork): Process pending work.
5161 (webViewLoadFinished): Schedule processing of pending work.
5162 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
5164 2008-01-05 Darin Adler <darin@apple.com>
5166 * Scripts/do-webcore-rename: Some more renaming plans.
5168 2008-01-04 Alice Liu <alice.liu@apple.com>
5170 Reviewed by Alexey and Darin.
5172 Adding "home" and "end" to DRT's keydown since
5173 DOM key events can't handle keyIdentifiers at this point.
5175 * DumpRenderTree/mac/EventSendingController.mm:
5176 (-[EventSendingController keyDown:withModifiers:]):
5177 * DumpRenderTree/win/EventSender.cpp:
5180 2008-01-04 Lars Knoll <lars@trolltech.com>
5184 fix DRT after the changes to QWebPage.
5186 The great thing is that we actually don't have
5187 any regressions from the QWebPage change :)
5190 * DumpRenderTree/qt/DumpRenderTree.cpp:
5191 (WebCore::DumpRenderTree::DumpRenderTree):
5193 2008-01-04 Lars Knoll <lars@trolltech.com>
5197 make QWebPage a QObject and get things to compile.
5199 Nothing works currently though.
5202 * DumpRenderTree/qt/DumpRenderTree.cpp:
5203 (WebCore::DumpRenderTree::DumpRenderTree):
5205 2008-01-04 Lars Knoll <lars@trolltech.com>
5209 take a QString as identifier in QWebFrame::addToJSWindowObject.
5211 * DumpRenderTree/qt/DumpRenderTree.cpp:
5212 (WebCore::DumpRenderTree::initJSObjects):
5214 2008-01-04 Alp Toker <alp@atoker.com>
5216 GTK+ DRT build fix for breakage introduced in r29149.
5218 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5219 (LayoutTestController::execCommand):
5221 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
5223 Reviewed by Darin Adler.
5225 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
5227 Added layoutTestController.execCommand to access editor commands that are not available
5228 via document.execCommand.
5230 * DumpRenderTree/LayoutTestController.cpp:
5231 (execCommandCallback):
5232 (LayoutTestController::staticFunctions):
5233 * DumpRenderTree/LayoutTestController.h:
5234 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5235 (LayoutTestController::execCommand):
5236 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5237 (LayoutTestController::queueLoad):
5238 (LayoutTestController::execCommand):
5240 2008-01-03 Alice Liu <alice.liu@apple.com>
5242 Reviewed by Darin, Mitz.
5244 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
5246 the clickcount should not increase if the last click was at a different location. it's a new click.
5248 * DumpRenderTree/mac/DumpRenderTree.mm:
5250 * DumpRenderTree/mac/EventSendingController.h:
5251 * DumpRenderTree/mac/EventSendingController.mm:
5252 (-[EventSendingController mouseDown]):
5253 (-[EventSendingController mouseUp]):
5255 2008-01-03 Darin Adler <darin@apple.com>
5259 * Scripts/update-webkit: Make this work a little better for the people at Apple
5260 who have a directory named Internal.
5262 2008-01-03 Adam Roben <aroben@apple.com>
5264 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
5266 Rubberstamped by Mark.
5268 * Scripts/update-webkit-auxiliary-libs:
5270 2008-01-03 Adam Roben <aroben@apple.com>
5272 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
5274 http://bugs.webkit.org/show_bug.cgi?id=15663
5276 Added a fuzz factor into the Last-Modified comparison for downloading
5277 WebKitAuxiliaryLibrary.zip.
5279 The zip file is served from a set of mirrors who give Last-Modified
5280 times that are off by 1-3 seconds from each other. This was causing
5281 the build bots to redownload WebKitAuxiliaryLibrary for every build,
5282 which would then cause all of WebCore to rebuild each time.
5286 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
5287 at least 30 seconds newer than the old one -- otherwise we assume that
5288 the difference in time is due to the mirrors being slightly offset
5290 (sub lastModifiedToUnixTime): Added.
5292 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
5296 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
5298 2008-01-03 Simon Hausmann <hausmann@webkit.org>
5302 Moved QWebPage::open to QWebFrame::load and added setHtml.
5305 * DumpRenderTree/qt/DumpRenderTree.cpp:
5306 (WebCore::DumpRenderTree::open):
5308 2008-01-03 Simon Hausmann <hausmann@webkit.org>
5312 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
5315 * DumpRenderTree/qt/DumpRenderTree.cpp:
5316 (WebCore::DumpRenderTree::DumpRenderTree):
5318 2008-01-02 Sam Weinig <sam@webkit.org>
5320 * Scripts/do-webcore-rename: Yet more renaming ideas.
5322 2008-01-02 Darin Adler <darin@apple.com>
5324 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
5326 2008-01-02 Alice Liu <alice.liu@apple.com>
5328 Reviewed by Sam Weinig.
5330 fixing assertion hit with editing/selection/move-begin-end.html
5332 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
5333 * DumpRenderTree/win/DumpRenderTree.vcproj:
5334 * DumpRenderTree/win/EventSender.cpp:
5336 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
5338 2008-01-02 Darin Adler <darin@apple.com>
5340 * Scripts/do-webcore-rename: Some more name change plans.
5342 2008-01-02 Alice Liu <alice.liu@apple.com>
5346 Added handling for page up and page down in EventSender
5348 * DumpRenderTree/mac/EventSendingController.mm:
5349 (-[EventSendingController keyDown:withModifiers:]):
5350 * DumpRenderTree/win/EventSender.cpp:
5353 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
5355 Reviewed by Darin Adler.
5357 Fix fast/events/arrow-keys-on-body.html for real.
5359 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
5361 2008-01-02 Luca Bruno <lethalman88@gmail.com>
5363 Reviewed by Darin Adler.
5365 http://bugs.webkit.org/show_bug.cgi?id=16674
5366 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
5368 * Scripts/run-launcher:
5370 2007-12-31 Darin Adler <darin@apple.com>
5374 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
5375 we get it installed on the build bots.
5377 2007-12-30 Eric Seidel <eric@webkit.org>
5381 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
5383 2007-12-29 Darin Adler <darin@apple.com>
5387 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
5388 leak bot shows createCStringFromNPVariant result leaking
5390 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5391 (pluginInvoke): Added a missing free.
5393 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
5395 Reviewed by Alp Toker.
5397 http://bugs.webkit.org/show_bug.cgi?id=16390
5398 Use autotools or GNU make as the build system for the GTK port
5400 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
5401 * GNUmakefile.am: Added.
5403 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
5407 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
5409 * DumpRenderTree/win/EventSender.cpp:
5410 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
5411 of 1, even though WebKit currently ignores it.
5413 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
5415 wx buildbot fix. Update libpng dl script to the latest version.
5417 * wx/install-unix-extras:
5419 2007-12-22 Antti Koivisto <antti@apple.com>
5423 * Scripts/webkitdirs.pm:
5425 2007-12-21 Sam Weinig <sam@webkit.org>
5427 Reviewed by Mark Rowe.
5429 - Disable the back/forward cache using the new WebPreferences API
5430 instead of through the BackForwardList. This makes us match what
5433 * DumpRenderTree/mac/DumpRenderTree.mm:
5434 (createWebViewAndOffscreenWindow):
5435 (setDefaultsToConsistentValuesForTesting):
5437 2007-12-21 Dan Bernstein <mitz@apple.com>
5439 Reviewed by Mark Rowe.
5441 - disable the back/forward cache in Windows DumpRenderTree. It is
5442 already disabled in Mac DumpRenderTree.
5444 * DumpRenderTree/win/DumpRenderTree.cpp:
5445 (initializePreferences):
5447 2007-12-13 Antti Koivisto <antti@apple.com>
5449 Reviewed by Darin and Steve.
5451 - check for QuickTime SDK on Windows.
5452 - build media support on Windows by default
5454 * Scripts/build-webkit:
5455 * Scripts/webkitdirs.pm:
5457 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
5459 Build script fix for buildbot.
5461 * wx/build-wxwebkit:
5463 2007-12-20 Eric Seidel <eric@webkit.org>
5467 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
5469 2007-12-20 Kevin McCullough <kmccullough@apple.com>
5473 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
5476 - Drosera and Safari need to use the same ProgIDs in order for
5477 CoCreateInstance to work properly. The most robust way to do this is
5478 for WebKit to dynamically publish those ProgIDs.
5480 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
5481 (DebuggerClient::createWebViewWithRequest):
5482 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
5486 (Drosera::attemptToCreateServerConnection):
5487 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
5488 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
5489 make use of the published ProgIDs.
5490 (ServerConnection::attemptToCreateServerConnection):
5492 2007-12-20 Kevin McCullough <kmccullough@apple.com>
5494 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
5495 - Build bot and leak fix.
5497 * DumpRenderTree/LayoutTestController.cpp:
5498 (pathToLocalResourceCallback):
5500 2007-12-19 David Kilzer <ddkilzer@apple.com>
5502 Make svn-apply/svn-unapply work with patches from git-format-patch.
5504 Reviewed by Darin Adler.
5506 * Scripts/svn-apply:
5507 (patch): If 'Index:' can't be found in the text passed in, print it
5508 out with a warning and return early.
5509 * Scripts/svn-unapply:
5512 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
5514 Reviewed by Alp Toker.
5516 Build related fixes.
5518 * wx/build-wxwebkit:
5519 - Check to make sure the user is running a supported wx port
5520 - More robust checks for Cygwin
5521 - Only run install-unix-extras on Mac, it's not the right solution
5523 - Remove outdated Linux instructions after successful build
5524 - Clean Bakefile-generated files during a clean operation
5526 2007-12-18 Darin Adler <darin@apple.com>
5528 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
5530 2007-12-18 Steve Falkenburg <sfalken@apple.com>
5532 Add script to run Drosera as part of the nightly.
5534 Reviewed by Kevin M.
5536 * Scripts/run-drosera.cmd: Added.
5538 2007-12-18 Darin Adler <darin@apple.com>
5540 * Scripts/do-webcore-rename: Remove a stray K.
5542 2007-12-18 Darin Adler <darin@apple.com>
5544 * Scripts/do-webcore-rename: Plan more renaming.
5546 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
5548 Reviewed by Alp Toker.
5550 http://bugs.webkit.org/show_bug.cgi?id=16042
5551 [GTK] Eliminate webkit_init()
5553 Moving webkit initialization to WebView class init.
5555 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5557 * GtkLauncher/main.c:
5560 2007-12-17 Luca Bruno <lethalman88@gmail.com>
5562 Reviewed by Alp Toker.
5564 http://bugs.webkit.org/show_bug.cgi?id=13542
5565 gdklauncher doesnt change URL in adress GTKEntry.
5567 * GtkLauncher/main.c:
5568 (load_commit_cb): added
5572 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
5574 Reviewed by Adam Roben.
5576 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
5578 * FindSafari/FindSafari.cpp:
5581 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
5583 Reviewed by Adam Roben.
5585 http://bugs.webkit.org/show_bug.cgi?id=16315
5586 FindSafari needs a path-only option.
5588 * FindSafari/FindSafari.cpp:
5591 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
5593 Reviewed by Darin Adler.
5595 http://bugs.webkit.org/show_bug.cgi?id=16462
5596 REGRESSION: access keys broken on Windows
5598 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
5601 2007-12-15 Sam Weinig <sam@webkit.org>
5603 Reviewed by Mark Rowe.
5605 Fix urlSuitableForTestResult to correctly identify wstring::npos as
5606 the case when wstring.find doesn't find anything.
5608 * DumpRenderTree/win/DumpRenderTree.cpp:
5609 (urlSuitableForTestResult):
5611 2007-12-15 Alp Toker <alp@atoker.com>
5613 GTK+ DRT build fix for GLib < 2.14.
5615 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5616 (LayoutTestController::setWaitToDump):
5618 2007-12-05 Mark Rowe <mrowe@apple.com>
5620 Reviewed by Alp Toker.
5622 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
5623 many layout tests from hanging while waiting on user responses to dialogs.
5625 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5626 (invalidateAnyPreviousWaitToDumpWatchdog):
5627 (webViewScriptAlert):
5628 (webViewScriptPrompt):
5629 (webViewScriptConfirm):
5631 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
5632 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5633 (waitToDumpWatchdogFired):
5634 (LayoutTestController::setWaitToDump):
5636 2007-12-05 Mark Rowe <mrowe@apple.com>
5638 Reviewed by Alp Toker.
5640 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
5642 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5643 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
5646 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
5647 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
5648 work queue is empty.
5649 (webViewWindowObjectCleared): Set up window.layoutTestController.
5650 (webViewConsoleMessage): Match the console message format expected by the layout test results.
5651 (main): Hook up the new signals.
5652 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
5653 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
5654 dumping multiple times.
5655 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
5656 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
5658 2007-12-14 Anders Carlsson <andersca@apple.com>
5662 Assert that a web frame that's loading a resource always has either a data source or
5663 a provisional data source.
5665 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
5666 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
5668 2007-12-14 Darin Adler <darin@apple.com>
5670 - fix mistake causing nearly all tests to fail on Windows
5672 * DumpRenderTree/win/UIDelegate.cpp:
5673 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
5674 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
5676 * DumpRenderTree/mac/UIDelegate.mm:
5677 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
5678 than passing the entire message.
5680 2007-12-14 Darin Adler <darin@apple.com>
5684 * DumpRenderTree/mac/UIDelegate.mm:
5685 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
5686 new-to-Leopard methods.
5688 2007-12-14 Darin Adler <darin@apple.com>
5690 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
5691 since it now triggers unwanted icon loading. We only had it because we implemented "all"
5692 delegate methods here.
5694 2007-12-14 Anders Carlsson <andersca@apple.com>
5696 Reviewed by Darin and Geoff.
5698 <rdar://problem/5619295>
5699 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
5701 Add property getting methods to the plug-in.
5703 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5706 2007-12-14 Kevin McCullough <kmccullough@apple.com>
5708 Reviewed by Darin Adler.
5710 - Layout test fix for mac. When dumped to the console local file paths
5711 now only show the name of the resource not the whole path. This is to
5712 make the results machine and OS independent.
5714 * DumpRenderTree/mac/UIDelegate.mm:
5715 (-[UIDelegate webView:addMessageToConsole:]):
5717 2007-12-13 Kevin McCullough <kmccullough@apple.com>
5721 - Layout tests fix. We need a way to remove machine-dependent
5722 information from paths in layout test results. The UIDelegate now does
5725 * DumpRenderTree/DumpRenderTree.h:
5726 * DumpRenderTree/win/DumpRenderTree.cpp:
5727 (urlSuitableForTestResult):
5728 * DumpRenderTree/win/DumpRenderTreeWin.h:
5729 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
5730 * DumpRenderTree/win/UIDelegate.cpp:
5731 (UIDelegate::webViewAddMessageToConsole):
5733 2007-12-13 Alp Toker <alp@atoker.com>
5735 Build fix for DRT breakage introduced in r28690.
5737 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5738 (LayoutTestController::pathToLocalResource):
5740 2007-12-12 Kevin McCullough <kmccullough@apple.com>
5742 Reviewed by Alice and Sam.
5744 - <rdar://5621435> Need a way to specify local resources (being loaded
5745 from HTTP tests) on Windows.
5746 - Implemented pathToLocalResource which exposes the functionality of
5747 converting a given unix path to the correct location on Windows.
5749 * DumpRenderTree/LayoutTestController.cpp:
5750 (pathToLocalResourceCallback):
5751 (LayoutTestController::staticFunctions):
5752 * DumpRenderTree/LayoutTestController.h:
5753 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5754 (LayoutTestController::pathToLocalResource):
5755 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5756 (LayoutTestController::pathToLocalResource):
5758 2007-12-12 Anders Carlsson <andersca@apple.com>
5762 <rdar://problem/5132003>
5763 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
5765 * DumpRenderTree/win/DumpRenderTree.cpp:
5767 Set the resource load delegate.
5769 * DumpRenderTree/win/DumpRenderTree.vcproj:
5771 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
5772 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
5774 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
5776 Reviewed by Adam Roben.
5778 Fix conversion from double to LPARAM in dispatchMessage().
5780 * DumpRenderTree/win/EventSender.cpp:
5781 (dispatchMessageCallback):
5783 2007-12-11 Dan Bernstein <mitz@apple.com>
5785 Reviewed by Mark Rowe and Sam Weinig too!
5787 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
5788 fonts DumpRenderTree registers.
5790 * DumpRenderTree/win/DumpRenderTree.cpp:
5793 2007-12-11 Brady Eidson <beidson@apple.com>
5797 Make DumpRenderTree on mac use its own path for Databases testing
5799 * DumpRenderTree/mac/DumpRenderTree.mm:
5800 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
5801 for future DRT-only use, then use it to construct the Databases path and set that default
5803 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
5805 Reviewed by Darin Adler.
5807 <rdar://problem/5535636>
5808 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
5810 http://bugs.webkit.org/show_bug.cgi?id=13916
5811 JavaScript detects Tab as a character input on a textfield validation
5813 * DumpRenderTree/mac/EventSendingController.mm:
5814 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
5815 Dispatch a keyup to better match what happens when a key is physically pressed.
5817 * DumpRenderTree/win/EventSender.cpp:
5818 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
5819 returning from keyDown().
5820 (getConstantCallback): Fixed a couple copy/paste mistakes.
5822 2007-12-07 Kevin McCullough <kmccullough@apple.com>
5826 - <rdar://5599845> Drosera: Does not show loal files in the file list
5829 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
5830 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
5831 so the open source community can build.
5833 2007-12-10 Brady Eidson <beidson@apple.com>
5835 Rubberstamped by Sam Weinig
5837 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
5839 * DumpRenderTree/mac/UIDelegate.mm:
5840 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
5841 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
5843 2007-12-08 Oliver Hunt <oliver@apple.com>
5847 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
5849 Fixes <rdar://problem/5620249> Must disable SVG animation
5850 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
5852 In order to allow finer grained control over the set of SVG features
5853 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
5855 ENABLE_SVG_ANIMATION
5861 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
5863 Script handles all the new build flags, and allows --svg-experimental
5864 to automatically enable all features.
5866 * Scripts/build-webkit:
5868 2007-12-07 Steve Falkenburg <sfalken@apple.com>
5870 Fix version parsing.
5872 Rubber-stamped by Oliver.
5874 * Drosera/win/Drosera.vcproj/auto-version.sh:
5876 2007-12-07 Steve Falkenburg <sfalken@apple.com>
5878 Build modifications for Drosera.
5882 * Drosera/DroseraWin.make: Added.
5883 * Drosera/win/Drosera.vcproj/Drosera.rc:
5884 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
5885 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
5886 * Drosera/win/Drosera.vcproj/VERSION: Added.
5887 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
5889 2007-12-06 Adam Roben <aroben@apple.com>
5891 Explicitly turn on the Mac font ascent hack on Windows
5893 This keeps our font metrics matching those from Mac.
5897 * DumpRenderTree/win/DumpRenderTree.cpp:
5900 2007-12-06 Anders Carlsson <andersca@apple.com>
5902 Rename main.c to main.cpp here too.
5904 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
5906 2007-12-06 Sam Weinig <sam@webkit.org>
5908 Rubber stamped by Geoff.
5910 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
5912 2007-12-06 Darin Adler <darin@apple.com>
5914 * Scripts/do-webcore-rename: Some more renaming plans.
5916 2007-12-06 Anders Carlsson <andersca@apple.com>
5918 Restore implementation of testGetIntIdentifier that was accidentally
5919 removed somehow (possibly when I made PluginObject be a cpp file).
5921 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5924 2007-12-05 Anders Carlsson <andersca@apple.com>
5926 Make the entry points extern "C".
5927 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
5929 2007-12-05 Anders Carlsson <andersca@apple.com>
5933 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
5942 2007-12-05 Anders Carlsson <andersca@apple.com>
5944 Add the .cpp files to the TestNetscapePlugIn target.
5946 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5948 2007-12-05 Anders Carlsson <andersca@apple.com>
5952 Rename the TestNetscapePlugIn .c files to be .cpp.
5954 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5955 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
5956 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
5957 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
5958 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
5959 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
5960 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
5961 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
5963 2007-12-05 Adam Roben <aroben@apple.com>
5965 Fix case of keypresses from the Windows implementation of eventSender.keyDown
5967 This fixes several regression tests.
5971 * DumpRenderTree/win/EventSender.cpp:
5972 (keyDownCallback): Virtual keycodes for ASCII characters are always
5973 uppercase, so we need to check the case of the original character
5974 passed in to eventSender.keyDown.
5976 2007-12-05 Adam Roben <aroben@apple.com>
5978 Learn from Tim's mistakes
5980 * DumpRenderTree/win/DumpRenderTree.cpp:
5981 (runTest): Reset the authorAndUserStylesEnabled preference for each
5984 2007-12-05 Alp Toker <alp@atoker.com>
5986 Reviewed by Mark Rowe.
5988 Initialize GTK+ and WebKit so the tests can run.
5990 Reorganize the headers a little.
5992 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5995 2007-12-04 Anders Carlsson <andersca@apple.com>
5997 Remove IWebScriptScope include.
5999 * Drosera/win/DebuggerDocumentPlatform.cpp:
6001 2007-12-04 Sam Weinig <sam@webkit.org>
6003 Rubber stamped by Mark Rowe.
6005 Define CF as platform for mac and revert r28409
6007 * DumpRenderTree/DumpRenderTree.h:
6008 * DumpRenderTree/mac/DumpRenderTreeMac.h:
6010 2007-12-04 Sam Weinig <sam@webkit.org>
6012 Define CF as platform for windows.
6014 Reviewed by Adam Roben.
6016 * DumpRenderTree/win/DumpRenderTreeWin.h:
6018 2007-12-04 Kevin McCullough <kmccullough@apple.com>
6020 Reviewed by Adam and Darin.
6022 - Removed a needless BSTR cleanup.
6024 * Drosera/win/DebuggerDocumentPlatform.cpp:
6025 (DebuggerDocument::getPlatformCurrentFunctionStack):
6027 2007-11-27 Adam Roben <aroben@apple.com>
6029 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
6033 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6034 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
6036 2007-12-04 Alp Toker <alp@atoker.com>
6038 Prospective Win DRT build fix.
6040 * DumpRenderTree/DumpRenderTree.h:
6042 2007-12-04 Alp Toker <alp@atoker.com>
6044 Fix a clobbered copyright header.
6046 * DumpRenderTree/gtk/DumpRenderTree.cpp:
6048 2007-12-04 Xan Lopez <xan@gnome.org>
6050 Reviewed by Alp Toker.
6052 http://bugs.webkit.org/show_bug.cgi?id=15561
6053 GTK port needs DumpRenderTree implementation
6055 Start work on the GTK+ DRT.
6057 This does not work yet, and there are a few lingering style issues
6058 (nothing major) but this patch has been stuck in the bug tracker for
6061 * DumpRenderTree/DumpRenderTree.h:
6062 * DumpRenderTree/gtk: Added.
6063 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
6065 (shouldLogFrameLoadDelegates):
6066 (dumpFrameScrollPosition):
6070 (dumpRenderTreeAsText):
6074 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
6075 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
6076 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
6077 (GCController::collect):
6078 (GCController::collectOnAlternateThread):
6079 (GCController::getJSObjectCount):
6080 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
6081 (LayoutTestController::~LayoutTestController):
6082 (LayoutTestController::addDisallowedURL):
6083 (LayoutTestController::clearBackForwardList):
6084 (LayoutTestController::copyDecodedHostName):
6085 (LayoutTestController::copyEncodedHostName):
6086 (LayoutTestController::display):
6087 (LayoutTestController::keepWebHistory):
6088 (LayoutTestController::notifyDone):
6089 (LayoutTestController::queueBackNavigation):
6090 (LayoutTestController::queueForwardNavigation):
6091 (LayoutTestController::queueLoad):
6092 (LayoutTestController::queueReload):
6093 (LayoutTestController::queueScript):
6094 (LayoutTestController::setAcceptsEditing):
6095 (LayoutTestController::setCustomPolicyDelegate):
6096 (LayoutTestController::setMainFrameIsFirstResponder):
6097 (LayoutTestController::setTabKeyCyclesThroughElements):
6098 (LayoutTestController::setUseDashboardCompatibilityMode):
6099 (LayoutTestController::setUserStyleSheetEnabled):
6100 (LayoutTestController::setUserStyleSheetLocation):
6101 (LayoutTestController::setWindowIsKey):
6102 (LayoutTestController::setWaitToDump):
6103 (LayoutTestController::windowCount):
6104 (LayoutTestController::setPrivateBrowsingEnabled):
6105 (LayoutTestController::setAuthorAndUserStylesEnabled):
6106 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
6107 (JSStringCopyUTF8CString):
6109 (ReloadItem::invoke):
6110 (ScriptItem::invoke):
6111 (BackForwardItem::invoke):
6113 2007-12-03 Sam Weinig <sam@webkit.org>
6115 Move JavaScriptCore thread testing code to pthread specific directory
6116 and remove the dependance on CoreFoundation by using WTF::HashSet.
6118 Reviewed by Geoff and Oliver.
6120 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6121 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
6122 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
6123 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
6124 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
6125 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
6126 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
6127 * DumpRenderTree/pthreads: Added.
6128 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
6129 (javaScriptThreads):
6130 (runJavaScriptThread):
6131 (startJavaScriptThreads):
6132 (stopJavaScriptThreads):
6134 2007-12-03 Andrew Bonventre <andybons@google.com>
6136 Reviewed by Darin Adler.
6138 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
6139 Symbol lookup menu broken in debugger view
6141 * Drosera/debugger.js: Fixed javascript error where document property
6142 should have been used instead of contentDocument in switchFunction that
6143 was breaking the select symbol dropdown menu. This is because
6144 window.frames will return a Window object and not a frame object like
6145 the author was originally expecting.
6147 2007-12-03 Kevin McCullough <kmccullough@apple.com>
6151 - <rdar://5618942> Drosera: Console window does not process everything
6153 - <rdar://5619005> Drosera: could be sped up by moving the
6154 WebScriptScope stuff into the WebScriptCallFrame.
6155 - Now the console can correctly process objects and does not receive
6156 notifications from JavaScriptCore about the JavaScript in Drosera's
6159 * Drosera/win/DebuggerDocumentPlatform.cpp:
6160 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
6161 (DebuggerDocument::platformValueForScopeVariableNamed):
6163 2007-12-03 Stephanie <slewis@apple.com>
6165 Reviewed by Darin Adler.
6167 Check to see if we are building a debug root
6169 * Scripts/check-for-global-initializers:
6171 2007-12-03 Dan Bernstein <mitz@apple.com>
6173 Reviewed by Darin Adler.
6175 - added a testGetIntIdentifier() method to TestNetscapePlugIn
6177 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
6180 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
6184 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
6185 in a more fine-grained manner than eventSender.keyDown().
6187 * DumpRenderTree/win/EventSender.cpp:
6188 (getConstantCallback):
6189 (dispatchMessageCallback):
6191 2007-12-02 Darin Adler <darin@apple.com>
6193 * Scripts/do-webcore-rename: More planned renaming.
6195 2007-12-02 Sam Weinig <sam@webkit.org>
6197 Rubber stamped by Anders.
6199 Use [NSURL absoluteString] instead of [NSURL description] in order to get
6200 more uniform results cross platform.
6202 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
6203 (-[NSURL _drt_descriptionSuitableForTestResult]):
6205 2007-12-02 Sam Weinig <sam@webkit.org>
6207 Rubber stamped by Niko.
6209 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
6211 * DumpRenderTree/win/DumpRenderTree.cpp:
6212 * DumpRenderTree/win/DumpRenderTree.vcproj:
6213 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
6214 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
6215 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
6216 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
6218 2007-12-01 Alp Toker <alp@atoker.com>
6220 Reviewed by Adam Roben.
6222 Make use of the newly introduced webkit.h convenience header.
6224 * GtkLauncher/main.c:
6226 2007-12-01 Adam Treat <treat@kde.org>
6230 * Check to see if the directory exists and exit if not.
6232 * DumpRenderTree/qt/main.cpp:
6235 2007-12-01 Adam Treat <treat@kde.org>
6239 * Don't hide symbols when in Debug mode
6240 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
6243 * DumpRenderTree/qt/main.cpp:
6246 2007-11-30 Alp Toker <alp@atoker.com>
6248 Reviewed by Adam Roben.
6250 http://bugs.webkit.org/show_bug.cgi?id=15691
6251 [GTK] Public API does not follow GTK+ conventions
6253 Refactor the WebKit/GTK+ public API. Changes:
6254 WebKitPage -> WebKitWebView
6255 WebKitFrame -> WebKitWebFrame
6257 Public API source and header names have been updated to mirror the API
6260 The API is now kept in WebKit/gtk/WebView to match other ports in the
6261 same class such as Mac and Win.
6263 * GtkLauncher/main.c:
6264 (activate_uri_entry_cb):
6267 (progress_change_cb):
6273 2007-11-30 Adam Roben <aroben@apple.com>
6275 Hopefully the final build fix
6277 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
6278 pull in WTF's assertion/logging functions.
6280 2007-11-30 Adam Roben <aroben@apple.com>
6284 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
6287 2007-11-30 Adam Roben <aroben@apple.com>
6291 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
6293 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
6295 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
6296 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
6297 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
6299 2007-11-30 Sam Weinig <sam@webkit.org>
6301 Reviewed by Adam Roben.
6303 Fix drawSelectionRect to actually draw the selection rect.
6305 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
6306 (drawSelectionRect):
6308 2007-11-30 Darin Adler <darin@apple.com>
6310 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
6312 2007-11-30 Darin Adler <darin@apple.com>
6314 * Scripts/do-webcore-rename: Get ready for some future renaming.
6316 2007-11-29 Kevin McCullough <kmccullough@apple.com>
6320 - Removed some unnecessary functions and changed an unused return type.
6322 * Drosera/win/DebuggerClient.cpp:
6323 (registerConsoleClass):
6324 * Drosera/win/DebuggerClient.h:
6325 * Drosera/win/Drosera.cpp:
6326 (registerDroseraClass):
6328 2007-11-28 Alp Toker <alp@atoker.com>
6330 Reviewed by Timothy Hatcher.
6332 http://bugs.webkit.org/show_bug.cgi?id=16174
6333 [GTK] Use "URI" not "URL" in public API
6335 Replace use of the term "URL" with "URI" in public headers,
6336 documentation and some internal code to match GLib/GTK+ convention.
6338 This is now mentioned in the API guidelines:
6339 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
6341 * GtkLauncher/main.c:
6342 (activate_uri_entry_cb):
6347 2007-11-29 Anders Carlsson <andersca@apple.com>
6351 <rdar://problem/5230478>
6352 FrameLoadDelegate callbacks are not dumped in DRT.
6354 * DumpRenderTree/win/DumpRenderTree.cpp:
6355 (shouldLogFrameLoadDelegates):
6358 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
6360 (descriptionSuitableForTestResult):
6361 (FrameLoadDelegate::QueryInterface):
6362 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
6363 (FrameLoadDelegate::didFailProvisionalLoadWithError):
6364 (FrameLoadDelegate::didCommitLoadForFrame):
6365 (FrameLoadDelegate::didFinishLoadForFrame):
6366 (FrameLoadDelegate::willCloseFrame):
6367 (FrameLoadDelegate::didClearWindowObject):
6368 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
6369 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
6370 * DumpRenderTree/win/FrameLoaderDelegate.h:
6371 (FrameLoadDelegate::windowScriptObjectAvailable):
6372 (FrameLoadDelegate::didFirstLayoutInFrame):
6374 2007-11-29 Sam Weinig <sam@webkit.org>
6378 Add database quota UIDelegates methods to DRT UIDelegate.
6380 * DumpRenderTree/mac/UIDelegate.mm:
6381 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
6382 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
6384 2007-11-29 Kevin McCullough <kmccullough@apple.com>
6388 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
6389 dying and vice versa.
6390 - This fix will allow Drosera and Safari to reconnect if either of them
6391 closes correctly, but does not fix the case where one of them dies
6394 * Drosera/win/ServerConnection.cpp:
6395 (ServerConnection::attemptToCreateServerConnection): Added a safety
6396 check, because it's possilbe to try to connect to a server that's dying.
6397 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
6398 the server has died.
6399 * Drosera/win/ServerConnection.h: Added the new function and removed
6400 an unnecessary member.
6402 2007-11-29 Anders Carlsson <andersca@apple.com>
6404 * DumpRenderTree/win/DumpRenderTree.vcproj:
6405 Add shlwapi.lib to all configurations.
6407 2007-11-29 Kevin McCullough <kmccullough@apple.com>
6409 - Build fix. Added additional includes for VS Express to the Release
6412 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
6414 2007-11-29 Anders Carlsson <andersca@apple.com>
6418 <rdar://problem/5132005>
6419 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
6421 * DumpRenderTree/win/DumpRenderTree.vcproj:
6424 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6425 (LayoutTestController::setUserStyleSheetEnabled):
6428 (appendComponentToPath):
6429 New method which wraps the Win32 API PathAppend.
6432 New method which checks if a file points to a shortcut and
6433 follows the shortcut.
6435 (resolveCygwinPath):
6436 New method that takes a cygwin unix-style path and returns the Win32 path.
6438 (cfStringRefToWString):
6440 (LayoutTestController::setUserStyleSheetLocation):
6443 2007-11-29 Alice Liu <alice.liu@apple.com>
6447 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
6449 * DumpRenderTree/win/EventSender.cpp:
6451 uppercase letters were being sent as lowercase letters without the shift key down.
6453 2007-11-29 Kevin McCullough <kmccullough@apple.com>
6455 - Windows build fix. VS express needs some love.
6457 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
6459 2007-11-28 Darin Adler <darin@apple.com>
6461 Reviewed by Adam Roben.
6463 * DumpRenderTree/mac/EventSendingController.mm:
6464 (-[EventSendingController keyDown:withModifiers:]):
6465 Send capital letters through as lowercase letters with the shift key down
6466 rather than sending them as if they were highly unusual "capital letter keys".
6468 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
6469 where you need to update results and more tests are failing than before.
6471 2007-11-28 Anders Carlsson <andersca@apple.com>
6473 Reviewed by Darin Adler.
6475 <rdar://problem/5132001>
6476 contextClick is not implemented in DRT on Windows.
6478 * DumpRenderTree/win/EventSender.cpp:
6479 (contextClickCallback):
6480 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
6481 by a WM_RBUTTONUP message.
6483 * DumpRenderTree/win/UIDelegate.cpp:
6484 (UIDelegate::hasCustomMenuImplementation):
6485 (UIDelegate::trackCustomPopupMenu):
6486 * DumpRenderTree/win/UIDelegate.h:
6487 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
6488 menu from being shown (and causing the DRT to hang).
6490 2007-11-27 Maciej Stachowiak <mjs@apple.com>
6492 Reviewed by Darin Adler.
6494 Fix DumpRenderTree ObjC bug comparing strings.
6496 * DumpRenderTree/mac/ObjCController.m:
6497 (-[ObjCController identityIsEqual::]): Compare strings with string
6498 equality instead of identiy equality.
6500 2007-11-27 Timothy Hatcher <timothy@apple.com>
6504 Reset the authorAndUserStylesEnabled preference
6505 back to YES for each test. Fixes the broken tests.
6507 * DumpRenderTree/mac/DumpRenderTree.mm:
6508 (resetWebViewToConsistentStateBeforeTesting):
6510 2007-11-27 Kevin McCullough <kmccullough@apple.com>
6514 - Drosera now displays the console window, although it cannot currently
6517 * Drosera/win/DebuggerClient.cpp: Shows the console window.
6518 (registerConsoleClass): Implemented.
6519 (consoleWndProc): Implemented.
6520 (DebuggerClient::onSize): Implemented.
6521 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
6523 * Drosera/win/DebuggerClient.h: Added needed method and members for
6524 creating and maintaining a new window.
6525 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
6526 lines of code to more appropriate places.
6527 (Drosera::handleCommand):
6532 2007-11-27 Timothy Hatcher <timothy@apple.com>
6534 Reviewed by Dave Hyatt.
6536 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
6538 Add support for disabling author and user styles for testing.
6540 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6541 * DumpRenderTree/LayoutTestController.cpp:
6542 (setAuthorAndUserStylesEnabledCallback):
6543 (LayoutTestController::staticFunctions):
6544 * DumpRenderTree/LayoutTestController.h:
6545 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6546 (LayoutTestController::setAuthorAndUserStylesEnabled):
6547 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6548 (LayoutTestController::setAuthorAndUserStylesEnabled):
6550 2007-11-26 Dan Bernstein <mitz@apple.com>
6554 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6556 2007-11-26 Kevin McCullough <kmccullough@apple.com>
6560 - Implemented displaying variables for Drosera on Win.
6562 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
6563 that retrieve variables to not hold onto the return value since it's
6564 not returned. Also changed to use the new signatures of the retrieval
6566 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
6567 (DebuggerDocument::platformValueForScopeVariableNamed):
6568 * Drosera/win/Drosera.cpp: Removed a needless TODO.
6571 2007-11-26 Sam Weinig <sam@webkit.org>
6573 Cleanup names of painting and repainting functions.
6575 Reviewed by Adam Roben.
6577 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
6578 (drawSelectionRect): was drawSelectionRectIntoContext.
6579 (dumpWebViewAsPixelsAndCompareWithExpected):
6580 * DumpRenderTree/cg/PixelDumpSupportCG.h:
6581 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
6582 (paintWebView): was drawWebViewIntoContext.
6583 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
6585 2007-11-26 Sam Weinig <sam@webkit.org>
6587 Reviewed by Dan Bernstein.
6591 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6593 2007-11-26 Sam Weinig <sam@webkit.org>
6595 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
6596 Use shared PixelDumpSupport for Mac DRT
6598 Reviewed by Adam Roben.
6600 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6601 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
6602 * DumpRenderTree/cg/ImageDiffCG.cpp:
6603 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
6604 (drawSelectionRectIntoContext):
6605 (dumpWebViewAsPixelsAndCompareWithExpected):
6606 * DumpRenderTree/cg/PixelDumpSupportCG.h:
6607 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6608 * DumpRenderTree/mac/DumpRenderTree.mm:
6610 * DumpRenderTree/mac/ImageDiff.m: Removed.
6611 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
6612 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
6613 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
6614 (setDefaultColorProfileToRGB):
6615 (getBitmapContextFromWebView):
6616 (drawWebViewIntoContext):
6617 (repaintWithVerticalSweep):
6618 (repaintWithHorizontalSweep):
6620 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
6622 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
6624 Bug 16052: prepare-ChangeLog doesn't report deleted files
6625 <http://bugs.webkit.org/show_bug.cgi?id=16052>
6629 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
6631 2007-11-25 David Kilzer <ddkilzer@webkit.org>
6633 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
6634 <http://bugs.webkit.org/show_bug.cgi?id=15864>
6638 Roll functionality of merge-changelog into resolve-ChangeLogs
6639 script. The script now checks for ChangeLog.rej and
6640 ChangeLog.orig files first. If it finds them, it uses the
6641 ChangeLog.rej file as a patch (in old contextual diff format) to
6642 apply with --fuzz=3.
6644 * Scripts/merge-changelog: Removed.
6645 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
6647 2007-11-25 Sam Weinig <sam@webkit.org>
6649 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
6651 Reviewed by Mark Rowe.
6653 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6654 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6655 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
6656 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
6657 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
6659 2007-11-25 Sam Weinig <sam@webkit.org>
6661 Convert DumpRenderTree to ues .xcconfig files.
6663 Reviewed by Mark Rowe.
6665 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6666 * DumpRenderTree/mac/Configurations: Added.
6667 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
6668 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
6669 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
6671 2007-11-25 Sam Weinig <sam@webkit.org>
6673 Add ForwardingHeaders to wtf for DumpRenderTree.
6675 Reviewed by Mark Rowe.
6677 * DumpRenderTree/DumpRenderTree.h:
6678 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6679 * DumpRenderTree/ForwardingHeaders: Added.
6680 * DumpRenderTree/ForwardingHeaders/wtf: Added.
6681 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
6682 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
6683 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
6684 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
6685 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
6686 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
6687 * DumpRenderTree/LayoutTestController.cpp:
6688 * DumpRenderTree/WorkQueue.cpp:
6689 * DumpRenderTree/mac/DumpRenderTree.mm:
6690 * DumpRenderTree/mac/FrameLoadDelegate.mm:
6691 * DumpRenderTree/mac/JavaScriptThreading.cpp:
6692 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6693 * DumpRenderTree/mac/ObjCController.m:
6694 * DumpRenderTree/mac/UIDelegate.mm:
6695 * DumpRenderTree/mac/WorkQueueItemMac.mm:
6697 2007-11-25 Adam Roben <aroben@apple.com>
6699 Fix some test failures caused by r28019
6701 Now that stdout is in binary mode, we need to always use printf
6702 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
6707 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
6709 (UIDelegate::runJavaScriptAlertPanelWithMessage):
6710 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
6711 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
6712 (UIDelegate::webViewAddMessageToConsole):
6714 2007-11-25 Adam Roben <aroben@apple.com>
6716 Set the font smoothing preference in DRT
6718 This makes the pixel results on Windows closer to the Mac results.
6722 * DumpRenderTree/win/DumpRenderTree.cpp:
6723 (initializePreferences):
6725 2007-11-25 Adam Roben <aroben@apple.com>
6727 Port ImageDiff to CG and C++
6729 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
6734 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
6735 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
6737 (createImageFromStdin):
6739 (getDifferenceBitmap):
6740 (computePercentageDifferent):
6741 * DumpRenderTree/win/ImageDiff.vcproj: Added.
6743 2007-11-25 Adam Roben <aroben@apple.com>
6745 Fix image diff link generation on Windows
6749 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
6752 2007-11-25 Adam Roben <aroben@apple.com>
6754 Implement pixel dumping in Windows DRT
6756 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
6761 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
6762 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
6763 Content-Length header.
6764 (getMD5HashStringForBitmap):
6765 (dumpWebViewAsPixelsAndCompareWithExpected):
6766 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
6767 * DumpRenderTree/win/DumpRenderTree.cpp:
6768 (dump): Do a pixel dump if requested.
6769 (main): Parse pixel test options.
6770 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
6771 the cg/ subdirectory to the include path.
6772 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
6773 available in a header or import library, so we have to go through this
6774 LoadLibrary/GetProcAddress dance to use them.
6782 * DumpRenderTree/win/MD5.h: Added.
6783 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
6784 moved up to the top level to share it with Mac eventually.
6785 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
6786 (getBitmapContextFromWebView): Forces the WebView to paint using a
6787 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
6789 2007-11-25 Adam Roben <aroben@apple.com>
6791 Clean up Windows DRT's option parsing a little bit
6795 * DumpRenderTree/win/DumpRenderTree.cpp:
6796 (main): Put non-option arguments into a Vector.
6798 2007-11-25 Adam Roben <aroben@apple.com>
6800 Make Windows DRT stop changing LF into CRLF
6804 * DumpRenderTree/win/DumpRenderTree.cpp:
6805 (main): Put stdout in binary mode.
6806 * Scripts/run-webkit-tests: Remove the CRLF hack.
6808 2007-11-24 David Kilzer <ddkilzer@webkit.org>
6810 Removed empty directory.
6812 * Scripts/resources: Removed.
6814 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
6816 Fix bisect-builds to work with recent WebKit nightly builds.
6820 * Scripts/bisect-builds: Check for the
6821 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
6822 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
6823 to WebKit.app/Contents/Resources.
6825 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
6829 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
6830 not closed (affects digg.com)
6832 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
6833 one after finishing with a test to avoid having its delayed onload handler firing when
6834 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
6835 but it helps somewhat.
6837 2007-11-22 Mark Rowe <mrowe@apple.com>
6839 Reviewed by Alp Toker.
6841 Fix build-webkit to propagate make's exit status if it fails.
6843 * Scripts/webkitdirs.pm:
6845 2007-11-22 Dan Bernstein <mitz@apple.com>
6847 Reviewed by Mark Rowe.
6849 - fix crash when running pixel tests
6851 * DumpRenderTree/mac/DumpRenderTree.mm:
6852 (dumpRenderTree): Parse the command line options before setting up the
6853 environment so that we know if we need to set up the pixel dump
6856 2007-11-21 Eric Seidel <eric@webkit.org>
6858 Speculative build fix for Tiger.
6860 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
6862 2007-11-21 Eric Seidel <eric@webkit.org>
6864 Reviewed by Tim Hatcher.
6866 Break out more of DumpRenderTree.mm into individual files
6868 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6869 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
6872 (makeLargeMallocFailSilently):
6873 * DumpRenderTree/mac/CheckedMalloc.h: Added.
6874 * DumpRenderTree/mac/DumpRenderTree.mm:
6877 * DumpRenderTree/mac/DumpRenderTreeMac.h:
6878 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
6879 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
6880 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
6881 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
6882 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
6883 (javaScriptThreads):
6884 (runJavaScriptThread):
6885 (startJavaScriptThreads):
6886 (stopJavaScriptThreads):
6887 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
6888 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
6889 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
6890 (restoreColorSpace):
6891 (setDefaultColorProfileToRGB):
6892 (initializeColorSpaceAndScreeBufferForPixelTests):
6893 (md5HashStringForBitmap):
6894 (dumpWebViewAsPixelsAndCompareWithExpected):
6896 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
6898 Move install-unix-extras to wx directory as it seems only to be used by that
6899 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
6900 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
6901 have install-unix-extras install into WebKitLibraries as per
6904 Reviewed by Mark Rowe.
6906 * Scripts/install-unix-extras: Removed.
6907 * wx/build-wxwebkit:
6908 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
6910 2007-11-21 Eric Seidel <eric@webkit.org>
6914 More refactoring for greater code readability
6916 * DumpRenderTree/mac/DumpRenderTree.mm:
6917 (initializeGlobalsFromCommandLineOptions):
6918 (initializeColorSpaceAndScreeBufferForPixelTests):
6919 (addTestPluginsToPluginSearchPath):
6920 (useLongRunningServerMode):
6921 (runTestingServerLoop):
6922 (prepareConsistentTestingEnvironment):
6926 (dumpBackForwardListForWebView):
6927 (sizeWebViewForCurrentTest):
6928 (methodNameStringForFailedTest):
6929 (dumpBackForwardListForAllWindows):
6930 (dumpWebViewAsPixelsAndCompareWithExpected):
6931 (invalidateAnyPreviousWaitToDumpWatchdog):
6933 * DumpRenderTree/mac/DumpRenderTreeMac.h:
6934 * DumpRenderTree/mac/UIDelegate.mm:
6935 (-[UIDelegate webView:createWebViewWithRequest:]):
6937 2007-11-21 Eric Seidel <eric@webkit.org>
6939 Reviewed by Tim Hatcher.
6941 Abstract more of DRT into static methods
6943 * DumpRenderTree/mac/DumpRenderTree.mm:
6944 (setDefaultsToConsistentValuesForTesting):
6945 (setupSignalHandlers):
6946 (allocateGlobalControllers):
6948 (releaseGlobalControllers):
6950 (shouldLogFrameLoadDelegates):
6951 (createCFURLFromPathOrURL):
6952 (resetWebViewToConsistentStateBeforeTesting):
6955 2007-11-21 Eric Seidel <eric@webkit.org>
6957 Reviewed by Tim Hatcher.
6959 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
6961 * DumpRenderTree/DumpRenderTree.h:
6962 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6963 * DumpRenderTree/mac/DumpRenderTree.mm:
6967 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
6968 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
6969 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
6970 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
6971 (-[DumpRenderTreePasteboard declareType:owner:]):
6972 (+[LocalPasteboard alloc]):
6973 (-[LocalPasteboard init]):
6974 (-[LocalPasteboard dealloc]):
6975 (-[LocalPasteboard name]):
6976 (-[LocalPasteboard releaseGlobally]):
6977 (-[LocalPasteboard declareTypes:owner:]):
6978 (-[LocalPasteboard addTypes:owner:]):
6979 (-[LocalPasteboard changeCount]):
6980 (-[LocalPasteboard types]):
6981 (-[LocalPasteboard availableTypeFromArray:]):
6982 (-[LocalPasteboard setData:forType:]):
6983 (-[LocalPasteboard dataForType:]):
6984 (-[LocalPasteboard setPropertyList:forType:]):
6985 (-[LocalPasteboard setString:forType:]):
6986 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
6987 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
6988 (+[DumpRenderTreeWindow allWindows]):
6989 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
6990 (-[DumpRenderTreeWindow dealloc]):
6991 (-[DumpRenderTreeWindow isKeyWindow]):
6992 (-[DumpRenderTreeWindow keyDown:]):
6994 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
6996 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
6997 it indiscriminately copies any headers inside JavaScriptCore,
6998 which includes Tiger ICU headers.
7000 * wx/build-wxwebkit:
7001 Don't run WebCore/move-js-headers.sh any longer.
7003 2007-11-20 Adam Treat <treat@kde.org>
7005 Reviewed by David Kilzer.
7007 * Prepend git branch name to $baseProductDir
7009 * Scripts/VCSUtils.pm:
7010 * Scripts/webkitdirs.pm:
7012 2007-11-20 Mark Rowe <mrowe@apple.com>
7014 Reviewed by Simon Hausmann.
7016 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
7017 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
7018 Have it trigger a "make distclean" rather than "make clean" to ensure that the
7019 built product and generated Makefile's are removed.
7021 2007-11-19 Alp Toker <alp@atoker.com>
7023 Reviewed by Mark Rowe.
7025 http://bugs.webkit.org/show_bug.cgi?id=16040
7026 [GTK] GtkLauncher should be written in C
7028 Port GtkLauncher to plain C.
7030 Use a more conventional GTK+ coding style.
7032 Use a toolbar instead of menus.
7034 Various signature fixes and cleanups.
7036 Add a license header. Assume all previous modifications were copyright
7037 assigned to Apple Inc. by default.
7039 * GtkLauncher/GtkLauncher.pro:
7040 * GtkLauncher/main.c: Added.
7041 (activate_url_entry_cb):
7045 (progress_change_cb):
7054 * GtkLauncher/main.cpp: Removed.
7056 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
7058 Build script fixes to ensure they do the right thing for the
7059 wx port, and update build-wxwebkit to reflect the way the
7060 build scripts now work.
7064 * Scripts/build-testkjs:
7065 * Scripts/build-webkit:
7066 * Scripts/run-javascriptcore-tests:
7067 * Scripts/webkitdirs.pm:
7068 * wx/build-wxwebkit:
7070 2007-11-18 Eric Seidel <eric@webkit.org>
7074 Make run-javascriptcore-tests report failures on exit (to support git bisect)
7076 * Scripts/run-javascriptcore-tests:
7078 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
7080 Reviewed by Adam Roben.
7082 Make run-webkit-tests work with Windows debug build.
7084 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
7085 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
7086 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
7087 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
7088 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
7090 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
7092 Add wxWebKit sample and build script, and integrate it with
7093 build-webkit. Also make build-webkit --clean work for all
7096 Reviewed by Darin Adler.
7098 * Scripts/build-webkit:
7099 * Scripts/webkitdirs.pm:
7101 * wx/browser: Added.
7102 * wx/browser/browser.bkl: Added.
7103 * wx/browser/browser.cpp: Added.
7104 * wx/build-wxwebkit: Added.
7106 2007-11-17 Adam Roben <aroben@apple.com>
7108 Make it easy to run Safari in the debugger on Windows
7110 I've added a new script, debug-safari, which launches Safari in the
7111 debugger. On OS X it just calls gdb-safari.
7113 Reviewed by Mark Rowe.
7115 * FindSafari/FindSafari.cpp:
7116 (_tmain): Added a /debugger flag, which in combination with
7117 /printSafariLauncher will print a script that launches Safari in the
7119 * Scripts/debug-safari: Added.
7120 * Scripts/run-safari: Changed to call runSafari().
7121 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
7122 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
7123 first argument along to FindSafari.
7124 * Scripts/webkitdirs.pm:
7125 (sub runSafari): Added.
7127 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
7129 Reviewed by Adam Roben.
7131 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
7133 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
7135 Reviewed by David Kilzer.
7137 The git config command was renamed to repo-config at some point. This
7138 change tries git config and then git repo-config if the first fails.
7140 * Scripts/prepare-ChangeLog:
7143 2007-11-16 Dan Bernstein <mitz@apple.com>
7145 Reviewed by Darin Adler and Sam Weinig.
7147 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
7149 * DumpRenderTree/win/EventSender.cpp:
7150 (keyDownCallback): For characters that cannot be entered on the active
7151 keyboard layout, send a WM_CHAR message with the character along with
7152 a WM_KEYDOWN message with a virtual key code of 255.
7154 2007-11-16 Mark Rowe <mrowe@apple.com>
7156 Reviewed by Tim Hatcher.
7158 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
7160 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
7161 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7163 2007-11-15 Adam Roben <aroben@apple.com>
7165 Make run-safari actually work on Windows
7167 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
7170 2007-11-14 Adam Roben <aroben@apple.com>
7172 Updates to Safari launching now that 3.0.4 is released
7176 * FindSafari/FindSafari.cpp:
7177 (getWebViewCLSID): Use version-independent ProgID.
7178 * Scripts/run-safari: Use run-webkit-nightly.cmd.
7180 2007-11-14 Anders Carlsson <andersca@apple.com>
7184 <rdar://problem/5309081>
7185 In DRT, "plugin.logDestroy = true" not working on Windows.
7187 * DumpRenderTree/win/TestNetscapePlugin/main.c:
7190 2007-11-14 Eric Seidel <eric@webkit.org>
7194 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
7196 2007-11-14 Anders Carlsson <andersca@apple.com>
7200 <rdar://problem/5141186>
7201 window.layoutTestController.setWindowIsKey is not implemented in DRT.
7203 Implement setWindowIsKey.
7205 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7206 (LayoutTestController::setWindowIsKey):
7208 2007-11-13 Sam Weinig <sam@webkit.org>
7210 Reviewed by Adam Roben.
7212 Fix for <rdar://problem/5382579>
7213 http/tests/security/cross-frame-access-put.html reports large
7214 negative numbers for screenLeft and screenTop (Mac reports "0")
7216 * DumpRenderTree/win/UIDelegate.cpp:
7217 (UIDelegate::UIDelegate): Initialize the RECT.
7218 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
7219 (UIDelegate::webViewFrame): ditto.
7220 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
7222 2007-11-13 Kevin McCullough <kmccullough@apple.com>
7226 - Make Drosera show source, source URLs, and function stack on Windows,
7227 and some minor fixes.
7229 * Drosera/DebuggerDocument.cpp: Force source to always update display.
7230 (DebuggerDocument::updateFileSource):
7231 * Drosera/debugger.js: Force source to always update display.
7232 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
7234 (DebuggerClient::resume):
7235 (DebuggerClient::pause):
7236 (DebuggerClient::stepInto):
7237 (DebuggerClient::stepOver):
7238 (DebuggerClient::stepOut):
7239 (DebuggerClient::showConsole):
7240 (DebuggerClient::closeCurrentFile):
7241 * Drosera/win/DebuggerClient.h: Ditto.
7242 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
7243 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
7244 removed two bugs. 1) caller could be in a bad state when asked to
7245 assign into it. 2) BSTRs were not created correctly.
7246 (DebuggerDocument::getPlatformCurrentFunctionStack):
7247 * Drosera/win/Drosera.cpp: Hook up the menu controls.
7252 (Drosera::stepInto):
7253 (Drosera::stepOver):
7255 (Drosera::showConsole):
7256 (Drosera::closeCurrentFile):
7257 * Drosera/win/Drosera.h: Hook up the menu controls.
7258 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
7259 functions, added a null check, and fixed another bug where caller could
7260 be in a bad state when asked to assign into it.
7261 (ServerConnection::didLoadMainResourceForDataSource):
7262 (ServerConnection::getCallerFrame):
7263 * Drosera/win/ServerConnection.h: Safety first.
7265 2007-11-13 Dan Bernstein <mitz@apple.com>
7267 Reviewed by Darin Adler.
7269 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
7270 DumpRenderTree --pixel-tests renders each test twice
7272 * DumpRenderTree/mac/DumpRenderTree.mm:
7273 (dumpRenderTree): Removed the --paint option because the painting code
7274 is always exercised as a result of
7275 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
7276 calling -displayIfNeeded.
7277 (dump): Changed to always grab the image from the window since the view
7278 is always displayed.
7281 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
7282 because it always paints.
7284 2007-11-12 Antti Koivisto <antti@apple.com>
7288 Add support for http media tests
7290 * Scripts/run-webkit-tests:
7292 2007-11-12 Sam Weinig <sam@webkit.org>
7294 Reviewed by Adam Roben.
7296 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
7298 * DumpRenderTree/win/DumpRenderTree.cpp:
7300 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7301 (LayoutTestController::setPrivateBrowsingEnabled):
7303 2007-11-12 Adam Roben <aroben@apple.com>
7305 * Scripts/update-webkit-localizable-strings: Changed to only scan the
7306 mac and win subdirectories.
7308 2007-11-11 Adam Roben <aroben@apple.com>
7310 Fix <rdar://5133816> keepWebHistory is not implemented
7312 Fixes fast/history/clicked-link-is-visited.html.
7314 Reviewed by Darin Adler.
7316 * DumpRenderTree/win/DumpRenderTree.cpp:
7317 (runTest): Clear the optionalSharedHistory.
7318 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7319 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
7321 2007-11-10 Sam Weinig <sam@webkit.org>
7323 Reviewed by Tim Hatcher.
7325 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
7326 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
7329 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
7331 Added test: http/tests/security/cross-frame-access-private-browsing.html
7333 * DumpRenderTree/LayoutTestController.cpp:
7334 (setPrivateBrowsingEnabledCallback):
7335 (LayoutTestController::staticFunctions):
7336 * DumpRenderTree/LayoutTestController.h:
7337 * DumpRenderTree/mac/DumpRenderTree.mm:
7338 (runTest): Default to private browsing disabled.
7339 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7340 (LayoutTestController::setPrivateBrowsingEnabled):
7341 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7342 (LayoutTestController::setPrivateBrowsingEnabled):
7344 2007-11-08 Kevin McCullough <kmccullough@apple.com>
7348 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
7351 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
7352 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
7353 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
7354 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
7355 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
7356 * Drosera/win/Drosera.cpp:
7357 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
7359 2007-11-08 Kevin McCullough <kmccullough@apple.com>
7363 - Use the new IWebFrame [local] function signature and get the shared
7366 * Drosera/win/DebuggerClient.cpp:
7367 (DebuggerClient::didFinishLoadForFrame):
7368 * Drosera/win/ServerConnection.cpp:
7369 (ServerConnection::attemptToCreateServerConnection):
7371 2007-11-07 Dan Bernstein <mitz@apple.com>
7373 Reviewed by Darin Adler.
7375 - add an option to run-webkit-tests to ignore pixel test failures where
7376 all pixels differ by no more than a specified threshold
7378 * DumpRenderTree/mac/ImageDiff.m:
7381 (computePercentageDifferent):
7382 * Scripts/run-webkit-tests:
7384 2007-11-07 Simon Hausmann <hausmann@kde.org>
7388 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
7390 * DumpRenderTree/qt/DumpRenderTree.cpp:
7392 2007-11-07 Simon Hausmann <hausmann@kde.org>
7396 Reworked the QWebSettings API.
7397 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
7399 * DumpRenderTree/qt/DumpRenderTree.cpp:
7401 2007-11-07 Simon Hausmann <hausmann@kde.org>
7405 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
7407 * DumpRenderTree/qt/jsobjects.cpp:
7409 2007-11-07 Simon Hausmann <hausmann@kde.org>
7411 Reviewed by Lars Knoll <lars@trolltech.com>.
7413 Add a QWebPage::frameCreated() signal and fix DRT
7415 The removal of createFrame in QWebPage broke the re-implementation
7416 in DumpRenderTree. Instead emit a frameCreated() signal and
7417 connect to it in DumpRenderTree.
7420 * DumpRenderTree/qt/DumpRenderTree.cpp:
7421 (WebCore::WebPage::WebPage):
7422 (WebCore::DumpRenderTree::dump):
7423 (WebCore::DumpRenderTree::connectFrame):
7424 * DumpRenderTree/qt/DumpRenderTree.h:
7426 2007-11-07 Simon Hausmann <hausmann@kde.org>
7428 Reviewed by Lars Knoll <lars@trolltech.com>.
7430 Moved all the event handlers from QWebFrame into QWebPage.
7432 This cleans up the public API and allows us to remove the
7433 HackWebFrame hack in DumpRenderTree.
7436 * DumpRenderTree/qt/jsobjects.cpp:
7437 (EventSender::mouseDown):
7438 (EventSender::mouseUp):
7439 (EventSender::mouseMoveTo):
7441 2007-11-07 Simon Hausmann <hausmann@kde.org>
7445 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
7446 to prevent the default implementation from popping up messageboxes.
7448 * DumpRenderTree/qt/DumpRenderTree.cpp:
7449 (WebCore::WebPage::javaScriptConfirm):
7450 (WebCore::WebPage::javaScriptPrompt):
7452 2007-11-06 Eric Seidel <eric@webkit.org>
7454 * Scripts/build-testkjs: build fix... too many $$
7456 2007-11-06 Eric Seidel <eric@webkit.org>
7458 Reviewed by Mark Rowe.
7460 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
7462 2007-11-05 Adam Roben <aroben@apple.com>
7464 Add support on Windows for WEBKIT_TESTFONTS
7466 This environment variable lets you specify where the fonts to be used
7467 by DumpRenderTree reside. The Qt port is already using this, so I'm
7468 just following their lead.
7470 Reviewed by Darin Adler.
7472 * DumpRenderTree/win/DumpRenderTree.cpp:
7473 (exePath): Refactored code out of initialize().
7474 (fontsPath): Returns either $WEBKIT_TESTFONTS or
7475 DumpRenderTree.resources.
7476 (initialize): Use the new fontsPath function.
7477 (main): Use the new exePath function.
7478 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
7479 variable to DRT, like Qt does.
7481 2007-11-05 Mark Rowe <mrowe@apple.com>
7483 Rubber-stamped by Alp Toker.
7485 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
7487 * GtkLauncher/main.cpp:
7491 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
7493 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
7494 <http://bugs.webkit.org/show_bug.cgi?id=15830>
7496 Reviewed by Timothy.
7498 Restrict the range of nightly builds used by the bisect-builds script
7499 based on the version of Safari and the version of Mac OS X being used.
7501 Mac OS X 10.4: Safari 2.0: r11976 or newer
7502 Mac OS X 10.4: Safari 3.0: r19992 or newer
7504 Mac OS X 10.5: Safari 2.0: r19594 or newer
7505 Mac OS X 10.5: Safari 3.0: r25124 or newer
7507 * Scripts/bisect-builds:
7508 (findMacOSXVersion): Added.
7509 (makeNightlyList): Added argument to provide version of Mac OS X.
7510 Restrict range of nightly builds based on Safari and Mac OS X versions.
7512 2007-11-04 Kevin McCullough <kmccullough@apple.com>
7516 - This patch involves several changes, all of them were noticed that
7517 they were needed by the work being done in WebKit to get Drosera and
7518 WebKit working together on Windows.
7520 1) Added a debugger console for output messages.
7521 2) Drosera now listens for the WebKit server (before, the server would
7522 have to be running before Drosera was started.)
7523 3) Fixed a bug where the WebView started out as 0x0 pixels.
7524 4) Fixed a bug when there is no scope.
7525 5) Added the HTML, JS, and CSS to the project file to make them easy to
7527 6) Made the ServerConnection functions virtual.
7529 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
7530 for the WebKit server.
7531 (DebuggerClient::DebuggerClient):
7532 (DebuggerClient::~DebuggerClient):
7533 (DebuggerClient::didFinishLoadForFrame):
7534 (DebuggerClient::serverConnected):
7535 (DebuggerClient::attemptToCreateServerConnection):
7536 * Drosera/win/DebuggerClient.h: Ditto.
7537 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
7539 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7540 (DebuggerDocument::platformValueForScopeVariableNamed):
7541 * Drosera/win/Drosera.cpp:
7542 (_tWinMain): Added a console in debug for output messages.
7543 (Drosera::Drosera): Listen for server.
7544 (Drosera::initUI): The server now Initializes COM.
7545 (Drosera::serverConnected): Part of the listening for the server.
7546 (Drosera::attemptToCreateServerConnection): Ditto.
7547 * Drosera/win/Drosera.h: New interface for listening for the server.
7548 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
7549 files to the VS project.
7550 * Drosera/win/ServerConnection.cpp: Part of listening for the server
7552 (ServerConnection::ServerConnection):
7553 (ServerConnection::attemptToCreateServerConnection):
7554 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
7556 (ServerConnection::serverConnected):
7558 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
7562 http://bugs.webkit.org/show_bug.cgi?id=15832
7563 fast/dom/gc-10.html crashes when run alone
7565 Check for !done before using objects that can be already deallocated.
7567 * DumpRenderTree/mac/EditingDelegate.mm:
7568 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
7569 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
7570 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
7571 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
7572 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
7573 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
7574 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
7575 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
7576 (-[EditingDelegate webViewDidBeginEditing:]):
7577 (-[EditingDelegate webViewDidChange:]):
7578 (-[EditingDelegate webViewDidEndEditing:]):
7579 (-[EditingDelegate webViewDidChangeTypingStyle:]):
7580 (-[EditingDelegate webViewDidChangeSelection:]):
7581 * DumpRenderTree/mac/FrameLoadDelegate.mm:
7582 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
7583 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
7584 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
7585 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
7586 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
7587 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
7588 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
7589 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
7590 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
7591 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
7592 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
7593 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
7594 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
7595 (-[FrameLoadDelegate webView:willCloseFrame:]):
7596 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
7597 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
7598 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
7599 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
7600 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
7601 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
7602 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
7603 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
7604 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
7606 2007-11-04 Mark Rowe <mrowe@apple.com>
7608 Build fix. Don't use Carbon.h as the prefix header as it triggers
7609 warnings that would otherwise be suppressed due to it being a system header.
7611 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7613 2007-11-03 Maciej Stachowiak <mjs@apple.com>
7615 Rubber stamped by Adam.
7617 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
7619 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7621 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
7623 Sort files(...); sections of Xcode project files.
7625 Rubber-stamped by Darin Adler.
7627 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
7628 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
7629 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7630 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
7632 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
7634 Script to sort "files(...);" sections in Xcode project.pbxproj files.
7636 Reviewed by Darin Adler.
7638 * Scripts/sort-Xcode-project-file: Added.
7640 2007-11-02 Darin Adler <darin@apple.com>
7642 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
7644 2007-11-02 Darin Adler <darin@apple.com>
7648 * Scripts/run-sunspider: Pass the "--base" option through.
7650 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
7651 the real script do that. Default configuration to Release to match run-sunspider
7652 so we don't end up building Debug just to compare results.
7654 2007-11-01 Adam Roben <aroben@apple.com>
7656 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
7660 * Scripts/commit-log-editor: Show all the directories beneath the
7661 source root, instead of just the last one.
7663 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
7665 Reviewed by Adam Roben.
7667 Print out an error message when the Windows build fails
7668 and provide guidance on how to find out what went wrong.
7670 * Scripts/build-webkit:
7671 * Scripts/webkitdirs.pm:
7673 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
7675 Rubber-stamped by Adam Roben.
7677 Rolled out r27326 - debug CRT seems to cause no problems after all.
7679 * DumpRenderTree/win/DumpRenderTree.vcproj:
7681 2007-10-31 Adam Roben <aroben@apple.com>
7683 Switch the Debug configuration to using the non-debug CRT
7685 This matches WebKit.
7689 * DumpRenderTree/win/DumpRenderTree.vcproj:
7691 2007-10-31 Antti Koivisto <antti@apple.com>
7695 Disable media tests when doing leak checking on Tiger.
7696 They crash in QuickTime (rdar://problem/5537157).
7698 * Scripts/run-webkit-tests:
7700 2007-10-29 Antti Koivisto <antti@apple.com>
7704 Build media support by default on OSX only.
7706 * Scripts/build-webkit:
7708 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7710 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
7711 get caught by the pre-commit hooks.
7713 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7717 - This is a collection of relatively unrelated changes and cleanups
7718 to Drosera to prepare it for interacting with WebKit. A lot of these
7719 changes are just correcting mistakes, for example removing included
7720 headers that are no longer needed.
7722 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
7723 this will be needed by the DebuggerClient.
7724 (DebuggerDocument::server):
7725 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
7726 * Drosera/win/DebuggerClient.cpp:
7727 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
7728 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
7729 (DebuggerClient::createWebViewWithRequest): Added comment about its
7731 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
7733 (DebuggerClient::webViewLoaded): Moved.
7734 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
7735 file, since this was the only place it was used.
7737 * Drosera/win/Drosera.h: Cleaned up the includes.
7738 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
7739 * Drosera/win/HelperFunctions.h: Removed.
7741 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7745 - Small cleanup in the ServerConnection class.
7747 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
7748 and added an include.
7749 (ServerConnection::currentFrame):
7750 (ServerConnection::getCallerFrame):
7751 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
7752 made a pointer into a COMPtr, and cleaned up the includes.
7754 2007-10-29 Timothy Hatcher <timothy@apple.com>
7756 Reviewed by John Sullivan.
7758 - Place the Localizable.strings file in mac or win directories
7759 if that location exists.
7760 - Also look for UI_STRING in .c files.
7762 * Scripts/extract-localizable-strings:
7764 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7768 - Set the eol-style to native and made all the line endings the same
7769 so that I avoid messy diffs that show eol changes.
7771 * Drosera/win/ServerConnection.cpp:
7772 (ServerConnection::didParseSource):
7773 (ServerConnection::didEnterCallFrame):
7774 (ServerConnection::willExecuteStatement):
7775 (ServerConnection::willLeaveCallFrame):
7776 (ServerConnection::exceptionWasRaised):
7778 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7782 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
7783 functionality that could not have existed previously without the new
7785 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
7786 from a BSTR to a JSValueRef.
7787 (DebuggerDocument::platformEvaluateScript): Implemented.
7788 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
7789 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7791 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
7792 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
7793 * Drosera/win/ServerConnection.cpp: Added a helper function.
7794 (ServerConnection::getCallerFrame):
7795 * Drosera/win/ServerConnection.h: Added a helper function.
7797 2007-10-29 Kevin McCullough <kmccullough@apple.com>
7799 updated reviewers for my previous changelog.
7801 2007-10-29 Kevin McCullough <kmccullough@apple.com>
7802 Reviewed by Maciej and Adam and Geoff.
7804 - Minor mac-side improvements including moving a function to a more
7805 appropriate location, fixing a warning, and correctly checking
7808 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
7809 (DebuggerDocument::willExecuteStatement):
7810 (DebuggerDocument::didEnterCallFrame):
7811 (DebuggerDocument::willLeaveCallFrame):
7812 (DebuggerDocument::windowScriptObjectAvailable):
7813 (DebuggerDocument::callFunctionOnObject):
7814 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
7815 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
7816 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
7817 because it doesn't require the ServerConnection at all.
7818 (NSStringCreateWithJSStringRef): Made an argument const.
7819 (JSValueRefCreateWithNSString): Made an argument const.
7820 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
7821 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7822 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
7823 * Drosera/mac/ServerConnection.mm: Ditto.
7824 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
7826 2007-10-29 Sam Weinig <sam@webkit.org>
7828 Reviewed by Adam Roben.
7830 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
7832 * DumpRenderTree/LayoutTestController.cpp:
7833 (LayoutTestController::LayoutTestController):
7834 (getGlobalFlagCallback):
7835 (setGlobalFlagCallback):
7836 (LayoutTestController::getJSClass):
7837 (LayoutTestController::staticValues):
7838 * DumpRenderTree/LayoutTestController.h:
7839 (LayoutTestController::globalFlag):
7840 (LayoutTestController::setGlobalFlag):
7842 2007-10-29 Darin Adler <darin@apple.com>
7846 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
7847 resolution instead of its default.
7849 2007-10-29 David Kilzer <ddkilzer@webkit.org>
7851 Fixed showStatus() to print status for successfully resolved conflicts when using git.
7853 Reviewed by Mark Rowe.
7855 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
7856 was successfully resolved, but this would not show any status because the change had
7857 already been cached in the index using "git add". The solution is to add an optional
7858 second argument to showStatus() which adds the "--cached" switch to the command.
7860 * Scripts/resolve-ChangeLogs:
7863 2007-10-28 Eric Seidel <eric@webkit.org>
7865 Reviewed by Maciej and Geoff, in unison.
7867 * Scripts/run-webkit-tests: remove broken --svg option
7869 2007-10-28 Darin Adler <darin@apple.com>
7873 * Scripts/run-sunspider: Default to "Release" configuration rather than
7874 defaulting to the last configuration used as other scripts do. This can
7875 still be overriden on the command line with "--debug" if there's some
7876 reason to do so. Also fix a typo.
7878 * Scripts/sunspider-compare-results: Fix a typo.
7880 2007-10-26 Kevin McCullough <kmccullough@apple.com>
7884 - Implemented the WebScriptDebugListener functions now that the
7885 WebScriptDebugServer exists
7887 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
7889 (ServerConnection::currentFrame):
7890 (ServerConnection::didLoadMainResourceForDataSource):
7891 (ServerConnection::didParseSource):
7892 (ServerConnection::failedToParseSource):
7893 (ServerConnection::didEnterCallFrame):
7894 (ServerConnection::willExecuteStatement):
7895 (ServerConnection::willLeaveCallFrame):
7896 (ServerConnection::exceptionWasRaised):
7897 * Drosera/win/ServerConnection.h: Removed unused arguments from the
7898 members arguments list.
7900 2007-10-26 David Kilzer <ddkilzer@webkit.org>
7902 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
7903 <http://bugs.webkit.org/show_bug.cgi?id=15600>
7905 Reviewed by Darin Adler.
7907 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
7908 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
7909 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
7910 file. Note that it may also be used as a stand-alone script.
7912 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
7913 * Scripts/resolve-ChangeLogs: Added.
7914 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
7916 2007-10-26 Mark Rowe <mrowe@apple.com>
7918 Qt build fix. r27084 added a destructor implementation for LayoutTestController
7919 to the Qt port on the assumption that it was an implementation of the cross-platform
7920 LayoutTestController class. It is not, so it did not need to be changed.
7922 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
7924 2007-10-25 Mark Rowe <mrowe@apple.com>
7928 Fix builds with code coverage enabled.
7930 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
7932 2007-10-25 Darin Adler <darin@apple.com>
7934 Reviewed by Mark Rowe.
7936 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
7937 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
7939 2007-10-25 Stephanie <slewis@apple.com>
7943 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7945 2007-10-25 Stephanie <slewis@apple.com>
7947 Reviewed by Mark Rowe, Adam Roben.
7949 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
7951 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7953 2007-10-25 Alice Liu <alice.liu@apple.com>
7957 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
7959 Moving destructor into platform-specific files
7960 * DumpRenderTree/LayoutTestController.cpp:
7961 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7962 (LayoutTestController::~LayoutTestController):
7963 * DumpRenderTree/qt/jsobjects.cpp:
7964 (LayoutTestController::~LayoutTestController):
7966 LayoutTestController wasn't being destroyed
7967 * DumpRenderTree/win/DumpRenderTree.cpp:
7971 * DumpRenderTree/win/EditingDelegate.h:
7973 Reset certain values on the webview (or related delegate) that might
7974 have changed while running a test
7975 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7976 (LayoutTestController::~LayoutTestController):
7978 2007-10-25 Adam Roben <aroben@apple.com>
7980 Make sunspider-compare-results work with relative paths
7984 * Scripts/sunspider-compare-results: Convert arguments to absolute
7985 paths before we chdir.
7987 2007-10-25 Kevin McCullough <kmccullough@apple.com>
7991 - Implemented server calls now the WebScriptDebugServer exists.
7992 - Also removed no longer needed call to initialize CG.
7994 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
7997 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
7998 (ServerConnection::ServerConnection):
7999 (ServerConnection::~ServerConnection):
8000 (ServerConnection::pause):
8001 (ServerConnection::resume):
8002 (ServerConnection::stepInto):
8003 (ServerConnection::applicationTerminating):
8004 (ServerConnection::serverConnectionDidDie):
8005 * Drosera/win/ServerConnection.h: Now uses the COM class.
8007 2007-10-24 George Staikos <staikos@kde.org>
8011 * Scripts/build-webkit:
8013 2007-10-24 Adam Roben <aroben@apple.com>
8015 Remove now-unnecessary call to InitializeCoreGraphics
8017 WebKit takes care of this now.
8021 * DumpRenderTree/win/DumpRenderTree.cpp:
8024 2007-10-24 Adam Roben <aroben@apple.com>
8026 Use WebTextRenderer in DRT
8030 * DumpRenderTree/win/DumpRenderTree.cpp:
8031 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
8033 2007-10-24 Sven Herzberg <sven@imendio.com>
8035 Reviewed by Mark Rowe.
8037 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
8038 Bug 15614: [GTK] qmake based backends don't build on OS X
8040 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
8041 GTK backend on a Mac
8042 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
8043 isDarwin() to make it reusable in other places (like the workaround-
8044 for-prebuilt-qmake in build-webkit)
8046 2007-10-24 David Kilzer <ddkilzer@webkit.org>
8048 Refurbish update-webkit script.
8052 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
8053 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
8054 multi-argument version of system() for flexibility and security. Check for existence
8055 of Internal directory using -d test instead of -x.
8057 2007-10-24 David Kilzer <ddkilzer@webkit.org>
8059 Minor clean-up of prepare-ChangeLog script.
8063 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
8064 of a string. Use multi-argument versions of open() and system() for flexibility and
8067 2007-10-24 Alice Liu <alice.liu@apple.com>
8071 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
8073 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
8074 replay the saved events when we're still processing the mousedown that starts the drag
8075 * DumpRenderTree/win/EventSender.cpp:
8077 * DumpRenderTree/win/UIDelegate.cpp:
8078 (UIDelegate::doDragDrop):
8080 2007-10-24 Kevin McCullough <kmccullough@apple.com>
8082 Reviewed by Sam, Steve and Darin.
8084 - Stubbed out the WebScriptDebugListener functionality in the Server
8085 Connection class to prepare it for receiving those callbacks.
8086 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
8087 and the ServerConnection to not need to be initialized with a server
8088 name, since that is not the way we connect to the WebKit server.
8090 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
8091 no exception. Now it only loggs when there is an exception
8092 (DebuggerDocument::willExecuteStatement):
8093 (DebuggerDocument::didEnterCallFrame):
8094 (DebuggerDocument::willLeaveCallFrame):
8095 (DebuggerDocument::windowScriptObjectAvailable):
8096 (DebuggerDocument::callFunctionOnObject):
8097 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
8098 to be instantiated with a server's name.
8099 (DebuggerClient::DebuggerClient):
8100 (DebuggerClient::didFinishLoadForFrame):
8101 * Drosera/win/DebuggerClient.h: Removed unsued variable.
8102 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
8105 (Drosera::initServer):
8106 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
8107 instantiated with a server's name.
8108 * Drosera/win/ServerConnection.cpp:
8109 (ServerConnection::ServerConnection): No longer needs a server name
8110 (ServerConnection::~ServerConnection): Only release the global context
8112 (ServerConnection::serverConnectionDidDie): Stub for
8113 IWebScriptDebugListener
8114 (ServerConnection::QueryInterface): ditto
8115 (ServerConnection::AddRef): ditto
8116 (ServerConnection::Release): ditto
8117 (ServerConnection::didLoadMainResourceForDataSource): ditto
8118 (ServerConnection::didParseSource): ditto
8119 (ServerConnection::failedToParseSource): ditto
8120 (ServerConnection::didEnterCallFrame): ditto
8121 (ServerConnection::willExecuteStatement): ditto
8122 (ServerConnection::willLeaveCallFrame): ditto
8123 (ServerConnection::exceptionWasRaised): ditto
8124 * Drosera/win/ServerConnection.h: Stubbed out the
8125 IWebScriptDebugListener functions, and this class no longer needs to be
8126 instantiated with a server name.
8128 2007-10-24 Lars Knoll <lars@trolltech.com>
8132 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
8134 * DumpRenderTree/qt/jsobjects.h:
8136 2007-10-24 Lars Knoll <lars@trolltech.com>
8140 add another command.
8142 * DumpRenderTree/qt/jsobjects.cpp:
8143 (TextInputController::doCommand):
8145 2007-10-24 Lars Knoll <lars@trolltech.com>
8149 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
8151 * DumpRenderTree/qt/jsobjects.cpp:
8152 (EventSender::keyDown):
8153 * DumpRenderTree/qt/jsobjects.h:
8155 2007-10-24 Lars Knoll <lars@trolltech.com>
8159 implement eventSender.keyDown().
8161 * DumpRenderTree/qt/jsobjects.cpp:
8162 (EventSender::keyDown):
8164 2007-10-24 Lars Knoll <lars@trolltech.com>
8168 some smaller fixes to the editing support in DRT. Makes another few tests pass.
8170 * DumpRenderTree/qt/DumpRenderTree.cpp:
8171 (WebCore::DumpRenderTree::DumpRenderTree):
8172 (WebCore::DumpRenderTree::initJSObjects):
8173 * DumpRenderTree/qt/jsobjects.cpp:
8174 (TextInputController::doCommand):
8176 2007-10-24 Lars Knoll <lars@trolltech.com>
8180 first bit of implementation for the textinputcontroller.
8182 * DumpRenderTree/qt/DumpRenderTree.cpp:
8183 (WebCore::DumpRenderTree::DumpRenderTree):
8184 * DumpRenderTree/qt/DumpRenderTree.h:
8185 * DumpRenderTree/qt/jsobjects.cpp:
8186 (TextInputController::TextInputController):
8187 (TextInputController::doCommand):
8188 * DumpRenderTree/qt/jsobjects.h:
8190 2007-10-24 Lars Knoll <lars@trolltech.com>
8194 make the man webpage believe it has focus, so the editing tests work correctly.
8196 * DumpRenderTree/qt/DumpRenderTree.cpp:
8197 (WebCore::DumpRenderTree::DumpRenderTree):
8199 2007-10-24 Lars Knoll <lars@trolltech.com>
8203 implement layoutTestController.dumpEditingCallbacks() correctly.
8205 * DumpRenderTree/qt/DumpRenderTree.cpp:
8206 (WebCore::DumpRenderTree::DumpRenderTree):
8207 * DumpRenderTree/qt/jsobjects.cpp:
8208 (LayoutTestController::reset):
8209 (LayoutTestController::dumpEditingCallbacks):
8211 2007-10-24 Lars Knoll <lars@trolltech.com>
8215 Implement support for testing editing.
8217 * DumpRenderTree/qt/DumpRenderTree.cpp:
8218 (WebCore::DumpRenderTree::DumpRenderTree):
8220 2007-10-23 Sam Weinig <sam@webkit.org>
8222 Check for null BSTR that can be passed to the UIDelegate methods
8223 from javascript null and undefined. Fixes a failing test case on
8224 Windows (fast/dom/Window/alert-undefined.html)
8226 Reviewed by Eric Seidel.
8228 * DumpRenderTree/win/UIDelegate.cpp:
8229 (UIDelegate::runJavaScriptAlertPanelWithMessage):
8230 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
8231 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
8232 (UIDelegate::webViewAddMessageToConsole):
8234 2007-10-23 Maciej Stachowiak <mjs@apple.com>
8236 Reviewed by Darin Adler.
8238 Don't print a massive pile of setenvs from tools that automatically build testkjs.
8240 * Scripts/build-testkjs:
8242 2007-10-23 Maciej Stachowiak <mjs@apple.com>
8244 Reviewed by Darin Adler.
8246 - add wrapper that finds the right copy of testkjs
8248 * Scripts/sunspider-compare-results: Added.
8250 2007-10-23 Kevin McCullough <kmccullough@apple.com>
8254 - After talking with Steve I now see that the WebKit server must be
8255 running for DCOM to create the distributed objects, which makes sense
8256 and currently WebKit only allows one instance to be running at a time
8257 which avoids accidentally connecting to the wrong server
8258 - In light of this I have removed the code for the attach box and
8259 NotificationServer and known server names, since they are all extranious
8262 * Drosera/win/Drosera.cpp: Removed notification classes and known server
8264 (_tWinMain): Uses init instead of initUI.
8265 (droseraWndProc): No longer creats an attach dialog box.
8266 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
8267 it's not manditory to call init before doing COM stuff.
8268 (Drosera::init): calls initUI and will call attach when the
8269 functionality exists.
8270 (Drosera::initUI): Has changed very little.
8271 (Drosera::attach): Changed the signature to reflect that we no longer
8272 need the dictionary of known server names.
8273 * Drosera/win/Drosera.h: Removed notification classes and known server
8274 names. Also renamed and moved some functions.
8275 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
8276 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
8277 headers to the resources folder.
8278 * Drosera/win/resource.h: Removed the Attach box.
8280 2007-10-22 Adam Roben <aroben@apple.com>
8284 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
8286 2007-10-22 Kevin McCullough <kmccullough@apple.com>
8288 - Removed a leak that was fixed.
8290 * Scripts/run-webkit-tests:
8292 2007-10-19 Kevin McCullough <kmccullough@apple.com>
8294 Reviewed by Darin Adler.
8296 - Changed the Client so that the DebuggerDocument now own the
8297 ServerConnection. This simplifies ownership and cleanup.
8299 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
8301 (DebuggerClient::initWithServerName):
8302 (DebuggerClient::didFinishLoadForFrame):
8303 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
8305 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
8306 until after we have a server which we are attached to.
8309 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
8312 2007-10-22 Simon Hausmann <hausmann@kde.org>
8314 Reviewed by Nikolas.
8316 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
8318 * Scripts/run-javascriptcore-tests:
8320 2007-10-22 Simon Hausmann <hausmann@kde.org>
8322 Reviewed by Nikolas.
8324 Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
8326 * Scripts/build-drosera:
8327 * Scripts/build-dumprendertree:
8328 * Scripts/build-testkjs:
8329 * Scripts/build-webkit:
8330 * Scripts/run-javascriptcore-tests:
8331 * Scripts/run-sunspider:
8332 * Scripts/run-webkit-tests:
8333 * Scripts/webkitdirs.pm:
8335 2007-10-22 Andrew Wellington <proton@wiretapped.net>
8337 Reviewed by Mark Rowe.
8339 Fix for local database support after r26879
8340 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
8342 * Scripts/build-webkit:
8344 2007-10-22 Holger Freyther <zecke@selfish.org>
8346 Reviewed by Simon Hausmann <hausmann@kde.org>.
8348 - Do not build testkjs as an application bundle. This is
8349 needed for run-javascriptcore-tests on OSX.
8350 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
8351 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
8352 as we do not have -rpath on OSX.
8354 * DumpRenderTree/qt/DumpRenderTree.pro:
8355 * Scripts/run-webkit-tests:
8357 2007-10-22 Simon Hausmann <hausmann@kde.org>
8361 Fix support for Signed-off-by detection in prepare-ChangeLog
8362 --git-commit. The Signed-off-by tag does not appear in the header
8363 but usually at the end.
8365 * Scripts/prepare-ChangeLog:
8367 2007-10-21 Mark Rowe <mrowe@apple.com>
8371 Fix run-javascriptcore-tests for Gtk.
8373 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
8375 2007-10-20 Eric Seidel <eric@webkit.org>
8379 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
8381 2007-10-20 Eric Seidel <eric@webkit.org>
8385 Add improved argument handling to run-sunspider, including
8386 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
8387 Also re-factor code into subroutines
8389 * Scripts/build-dumprendertree: removed bogus comments
8390 * Scripts/build-testkjs: Added.
8391 * Scripts/run-javascriptcore-tests: use build-testkjs
8392 * Scripts/run-sunspider: improved argument handling, abstraction
8393 * Scripts/run-webkit-tests: improved abstraction
8395 2007-10-20 Matt Lilek <webkit@mattlilek.com>
8397 Not reviewed, Windows build fix.
8399 * DumpRenderTree/win/EventSender.cpp:
8402 2007-10-20 Darin Adler <darin@apple.com>
8404 Reviewed by Tim Hatcher.
8406 - http://bugs.webkit.org/show_bug.cgi?id=15544
8407 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
8408 not rely on Apple-specific key codes
8410 * DumpRenderTree/mac/EventSendingController.mm:
8411 (-[EventSendingController keyDown:withModifiers:]):
8412 Added named key "rightArrow". Later we could have a whole table of these.
8413 Also tweaked modifiers code a little.
8415 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
8417 2007-10-19 Darin Adler <darin@apple.com>
8421 - http://bugs.webkit.org/show_bug.cgi?id=15566
8422 possible fix for leak seen in DumpRenderTree
8424 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
8425 Delete the item if it's not put on the queue, since the caller has
8426 no way of knowing that. Would be better to have the parameter type
8427 be auto_ptr to express the fact that we take ownership.
8431 * Drosera/mac/main.m: Add missing include.
8433 2007-10-19 Kevin McCullough <kmccullough@apple.com>
8437 - This change should be identical but for some reason was not working
8440 * Scripts/prepare-ChangeLog:
8442 2007-10-19 Kevin McCullough <kmccullough@apple.com>
8444 Reviewed by Oliver and Tim.
8446 - Made use of RetainPtr to avoid retain and release issues and moved the
8447 log function to DebuggerDocumentPlatform, which seems to be a more
8448 logical place for it to live.
8449 - Also moved knownServers from the ServerConnection to
8450 DebuggerApplication to match the Windows code and because it makes sense
8451 that a connection knows its own server but not all of them.
8453 * Drosera/mac/DebuggerClient.h: Moved the log function to
8454 DebuggerDocumentPlatform.
8455 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
8456 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
8457 call for the server name up from the ServerConnection class.
8458 (-[DebuggerClient dealloc]):
8459 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
8460 for the server name up from the ServerConnection.
8461 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
8462 (DebuggerDocument::platformPause):
8463 (DebuggerDocument::platformResume):
8464 (DebuggerDocument::platformStepInto):
8465 (DebuggerDocument::platformEvaluateScript):
8466 (DebuggerDocument::getPlatformCurrentFunctionStack):
8467 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8468 (DebuggerDocument::platformValueForScopeVariableNamed):
8469 (DebuggerDocument::platformLog): Log directly from here. No need to call
8471 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
8472 way I see it, a ServerConnection should only know about its connection
8473 and the group of all possible servers should be kept by the
8475 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
8476 currentServerName, it makes sense that the connection should know that
8478 (-[ServerConnection currentServerName]):
8480 2007-10-19 Kevin McCullough <kmccullough@apple.com>
8484 - Integrated changes from mac drosera. Recently I've encapsulated
8485 out the server connection object from the rest of Drosera because
8486 it is very platform dependent right now and RPC is not implemented on
8487 windows. This functionality, of communicating with the WebKit server
8488 is the next area I will be focusing on in Windows.
8490 - Other changes and cleanup were made to organize the code and add notes
8491 on which parts still need work. Also some mac code is added and
8492 commented out, to act as pseudocode for the logic of those parts.
8494 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
8496 * Drosera/config.h: Added whitespace.
8497 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
8498 these files got moved into Drosera.h/cpp
8499 * Drosera/win/DebuggerApplication.h: Removed.
8500 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
8501 happened here to better match the logic flow of the same code on the
8502 mac side and to use the new ServerConnection class.
8503 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
8504 (DebuggerClient::initWithServerName): Initializer that will set up the
8505 class to use a ServerConnection object. This was necessary so I could
8506 create a DebuggerClient without having to initilaize it at
8508 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
8509 will be the UIDelegate and FrameLoadDelegate.
8510 (DebuggerClient::AddRef): For IUnknown.
8511 (DebuggerClient::Release): For IUnknown.
8512 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
8513 this still needs to set the global context of the server, but
8514 IWebFrame does not have an accessor for the global context yet.
8515 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
8516 this is a pass through for the same function in the document.
8517 (DebuggerClient::didReceiveTitle): Unimplemented part of
8518 FrameLoadDelegate this would change the title of the window.
8519 (DebuggerClient::createWebViewWithRequest): Part of the
8520 FrameLoadDelegate. This is about new windows via Window.open() and
8521 how their delegates are set.
8522 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
8523 UIDelegate. Just a debug function for printing messages.
8524 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
8525 because the Client should be the UIDelegate and FrameLoadDelegate
8526 to match the delegates on mac.
8527 (DebuggerClient::webViewLoaded): Added accessor method.
8528 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
8529 forgotten to add this file before. This is where the platform
8530 dependent versions of the Documents functions live. Most of these are
8531 unimplemented because some piece of functionality does not exist on
8533 (DebuggerDocument::platformPause):
8534 (DebuggerDocument::platformResume):
8535 (DebuggerDocument::platformStepInto):
8536 (DebuggerDocument::platformEvaluateScript):
8537 (DebuggerDocument::getPlatformCurrentFunctionStack):
8538 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8539 (DebuggerDocument::platformValueForScopeVariableNamed):
8540 (DebuggerDocument::platformLog):
8541 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
8542 responsibilities becaue they belong in the Client. Also I laid the
8543 groundwork for attaching Drosera to a WebKit process
8544 (attachWndProc): Now if a server is selected the Client becomes it's
8546 (Drosera::Drosera): Added the construction of the Client and dictionary
8548 (Drosera::initUI): This is no longer the delegates, the Client is.
8549 (Drosera::webViewLoaded): Now asks the Client instead of holding local
8551 (Drosera::applicationDidFinishLaunching): Placeholder for needed
8552 notification registration when it's possible to implement.
8553 (Drosera::serverLoaded): Ditto
8554 (Drosera::serverUnloaded): Ditto
8555 (Drosera::attach): Attach Drosera to the WebKit server.
8556 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
8559 (Drosera::knownServers):
8560 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
8561 and added the ServerConnection.
8562 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
8563 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
8564 Most of the functions are completely unimlemented because they cannot
8565 connect with the WebKit server, because one does not exist on Windows
8567 (ServerConnection::initWithServerName):
8568 (ServerConnection::~ServerConnection):
8569 (ServerConnection::setGlobalContext):
8570 (ServerConnection::pause):
8571 (ServerConnection::resume):
8572 (ServerConnection::stepInto):
8573 (ServerConnection::switchToServerNamed):
8574 (ServerConnection::applicationTerminating):
8575 (ServerConnection::serverConnectionDidDie):
8576 (ServerConnection::currentFrame):
8577 * Drosera/win/ServerConnection.h: Added. Ditto.
8578 (ServerConnection::ServerConnection):
8580 2007-10-19 Alice Liu <alice.liu@apple.com>
8582 Reviewed by Darin Adler.
8584 Fix for these broken layout tests on Windows:
8586 fast/forms/focus-selection-input.html
8587 fast/forms/focus-selection-textarea.html
8588 fast/forms/select-accesskey.html
8590 * DumpRenderTree/win/EventSender.cpp:
8592 correct the VK code for alt key.
8594 2007-10-19 Eric Seidel <eric@webkit.org>
8596 Reviewed by Mark Rowe.
8598 Make the GtkLauncher code slightly more readable.
8600 * GtkLauncher/main.cpp:
8601 (setupMainMenu): Added.
8602 (setupMainWindowUI): Added.
8605 2007-10-19 Maciej Stachowiak <mjs@apple.com>
8607 Rubber stamped by Adam.
8609 - don't delay-load WebKit in DumpRenderTree.
8611 * DumpRenderTree/win/DumpRenderTree.vcproj:
8613 2007-10-18 Dan Bernstein <mitz@apple.com>
8615 Reviewed by Adam Roben.
8617 - fix <rdar://problem/5313523>
8618 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
8620 * DumpRenderTree/mac/DumpRenderTree.mm:
8621 (dump): Changed to use _responseMIMEType.
8623 2007-10-17 Adam Roben <aroben@apple.com>
8625 Make it possible to have Windows-specific tests and results
8627 When searching for tests to run and the Skipped file, we will only
8628 look in platform/win and the cross-platform directory. When looking
8629 for expected results, we will look in platform/win, then
8630 platform/mac-leopard, then platform/mac, then finally the
8631 cross-platform directory.
8635 * Scripts/run-webkit-tests:
8636 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
8637 searching in the cross-platform directory.
8638 (sub buildPlatformHierarchy): Removed some unneeded calls to
8641 2007-10-17 Adam Roben <aroben@apple.com>
8643 Add back the call to register WebKit that we had before WebKitInitializer existed
8645 This is needed to ensure that the right WebKit is used when
8646 instantiating COM objects.
8650 * DumpRenderTree/win/debug_internal.vsprops: Define
8651 DEBUG_WEBKIT_HAS_SUFFIX.
8652 * DumpRenderTree/win/DumpRenderTree.cpp:
8655 2007-10-17 Adam Roben <aroben@apple.com>
8657 Import File::Basename in webkitdirs since we use it
8659 * Scripts/webkitdirs.pm:
8661 2007-10-17 Kevin McCullough <kmccullough@apple.com>
8663 - Updated the tiger leaks list to make the internal bots green.
8665 * Scripts/run-webkit-tests:
8667 2007-10-17 Adam Roben <aroben@apple.com>
8669 Build fix for VC++ Express
8671 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
8674 2007-10-16 Kevin McCullough <kmccullough@apple.com>
8678 - Minor mac improvements based on observations I made while implementing the
8681 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
8682 then hand it to the Client who will retain it, it should just be the client who
8683 creates and owns the server.
8684 (-[DebuggerApplication attach:]):
8685 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
8686 * Drosera/mac/DebuggerClient.mm: Creates the server.
8687 (-[DebuggerClient initWithServerName:]):
8688 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
8689 can instead forward declare what it needs.
8691 2007-10-16 Darin Adler <darin@apple.com>
8693 Reviewed by Geoff Garen.
8695 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
8696 want to turn failing tests into platform-specific test results. Also did a
8697 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
8698 would take the type of results into account only some of the time.
8700 2007-10-16 Adam Roben <aroben@apple.com>
8702 Add a new nightly launcher script for Windows
8704 This new script is for versions of Safari that don't delay-load
8705 WebKit. I had to make FindSafari be able to print out the nightly
8706 launcher script on stdout because Windows shell scripts can't capture
8707 the output from a command into an environment variable.
8711 * FindSafari/FindSafari.cpp:
8712 (_tmain): Added /printSafariLauncher option.
8713 * Scripts/run-webkit-nightly.cmd: Added.
8715 2007-10-16 Adam Roben <aroben@apple.com>
8717 Replace WebKitInitializer with FindSafari
8719 We now rely on setting the PATH environment variable to tell Windows
8720 where to find WebKit and its dependencies (similar to
8721 DYLD_FRAMEWORK_PATH on Mac).
8723 This change also make DumpRenderTree no longer delay-load WebKit.
8727 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
8729 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
8730 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
8731 WebKitInitializer, don't delay-load WebKit.
8732 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
8733 * Scripts/run-webkit-tests: Ditto.
8734 * Scripts/webkitdirs.pm:
8735 (sub setPathForRunningWebKitApp): Added.
8736 * WebKitInitializer/WebKitInitializer.cpp: Removed.
8737 * WebKitInitializer/WebKitInitializer.h: Removed.
8738 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
8739 * WebKitInitializer/debug.vsprops: Removed.
8740 * WebKitInitializer/debug_internal.vsprops: Removed.
8741 * WebKitInitializer/release.vsprops: Removed.
8743 2007-10-16 Adam Roben <aroben@apple.com>
8745 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
8747 http://bugs.webkit.org/show_bug.cgi?id=15532
8749 FindSafari simply prints the location of an installed Safari.exe on
8752 Reviewed by Darin Adler.
8754 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
8757 (getInstalledWebKitDirectory):
8759 * FindSafari/FindSafari.vcproj: Added.
8760 * Scripts/webkitdirs.pm:
8761 (sub installedSafariPath): Added. Calls FindSafari on Windows.
8763 2007-10-16 Adam Roben <aroben@apple.com>
8765 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
8767 Reviewed by Kevin McCullough.
8769 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
8770 when referring to WebKit.dll.
8771 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
8772 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
8773 * DumpRenderTree/win/release.vsprops: Ditto.
8774 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
8775 never have a _debug suffix on WebKit.dll.
8776 * WebKitInitializer/WebKitInitializer.cpp:
8777 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
8779 * WebKitInitializer/debug_internal.vsprops: Added
8780 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
8782 2007-10-16 Darin Adler <darin@apple.com>
8786 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
8787 Remove now-unneeded control/alt key hack; the tests have been updated.
8789 2007-10-16 Kevin McCullough <kmccullough@apple.com>
8791 - Updated leaks list because our internal bot upgraded it's version of leopard and
8792 one of the leaks was fixed between that revision and the bot's previous version of
8795 * Scripts/run-webkit-tests:
8797 2007-10-15 Kevin McCullough <kmccullough@apple.com>
8801 - I encapsulated out the server connecton functionality because it is a specific part
8802 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
8803 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
8804 Windows. So the majority of this patch is moving preexisting functionality.
8806 - Also I removed the prefix header and changed to use config.h because it is more
8807 standard on how we use config.h in windows and it didn't make much sense to keep
8808 the prefix header and the config.h
8810 * Drosera/DebuggerDocument.cpp:
8811 (DebuggerDocument::DebuggerDocument):
8812 * Drosera/DebuggerDocument.h:
8814 * Drosera/mac/DebuggerApplication.mm:
8815 (-[DebuggerApplication attach:]):
8816 * Drosera/mac/DebuggerClient.h:
8817 * Drosera/mac/DebuggerClient.mm:
8818 (-[DebuggerClient initWithServerConnection:]):
8819 (-[DebuggerClient dealloc]):
8820 (-[DebuggerClient windowDidLoad]):
8821 (-[DebuggerClient windowWillClose:]):
8822 (-[DebuggerClient webView:didFinishLoadForFrame:]):
8823 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
8824 * Drosera/mac/DebuggerDocumentPlatform.mm:
8825 (DebuggerDocument::platformPause):
8826 (DebuggerDocument::platformResume):
8827 (DebuggerDocument::platformStepInto):
8828 (DebuggerDocument::platformEvaluateScript):
8829 (DebuggerDocument::getPlatformCurrentFunctionStack):
8830 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8831 (DebuggerDocument::platformValueForScopeVariableNamed):
8832 (DebuggerDocument::platformLog):
8833 * Drosera/mac/Drosera.pch: Removed.
8834 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
8835 * Drosera/mac/ServerConnection.h: Added.
8836 * Drosera/mac/ServerConnection.mm: Added.
8837 (-[ServerConnection initWithServerName:]):
8838 (-[ServerConnection dealloc]):
8839 (-[ServerConnection setGlobalContext:]):
8840 (-[ServerConnection pause]):
8841 (-[ServerConnection resume]):
8842 (-[ServerConnection stepInto]):
8843 (-[ServerConnection switchToServerNamed:]):
8844 (-[ServerConnection applicationTerminating:]):
8845 (-[ServerConnection serverConnectionDidDie:]):
8846 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
8847 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
8848 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
8849 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
8850 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
8851 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
8852 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
8853 (-[ServerConnection currentFrame]):
8854 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
8855 (-[ServerConnection knownServers]):
8857 2007-10-15 David Kilzer <ddkilzer@webkit.org>
8861 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
8862 Script to automatically search nightly builds for regressions (bisect-builds)
8864 * Scripts/bisect-builds: Added.
8866 2007-10-14 Maciej Stachowiak <mjs@apple.com>
8868 Reviewed by Darin Adler.
8870 - New JavaScript benchmark
8871 http://bugs.webkit.org/show_bug.cgi?id=15515
8873 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
8874 current development or release build of JavaScriptCore.
8876 2007-10-15 Mark Rowe <mrowe@apple.com>
8880 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
8882 * Scripts/webkitdirs.pm:
8883 - Change checkArgv to remove the options from @ARGV to prevent
8884 them from interfering with further option processing.
8885 - Fix logic error in determineIsQt that would prevent it from bailing out early.
8886 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
8887 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
8888 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
8890 2007-10-15 Darin Adler <darin@apple.com>
8894 - added logging of window.prompt and window.confirm
8896 * DumpRenderTree/mac/UIDelegate.mm:
8897 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
8898 Implement the recommended delegate rather than the deprecated one.
8899 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
8901 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
8904 * DumpRenderTree/win/UIDelegate.h:
8905 * DumpRenderTree/win/UIDelegate.cpp:
8906 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
8907 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
8908 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
8909 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
8911 2007-10-15 Alice Liu <alice.liu@apple.com>
8913 Reviewed by Sam Weinig.
8915 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
8917 * DumpRenderTree/win/DumpRenderTree.cpp:
8918 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
8919 (main): allocate the global policy delegate for DRT's custom use
8920 * DumpRenderTree/win/DumpRenderTree.vcproj:
8921 Adding files to project
8922 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
8923 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8924 (LayoutTestController::setCustomPolicyDelegate):
8925 set the webview's policy delegate to DRT's custom one if the test requests it.
8926 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
8927 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
8928 (PolicyDelegate::PolicyDelegate):
8929 (PolicyDelegate::QueryInterface):
8930 (PolicyDelegate::AddRef):
8931 (PolicyDelegate::Release):
8932 (PolicyDelegate::decidePolicyForNavigationAction):
8933 * DumpRenderTree/win/PolicyDelegate.h: Added.
8934 (PolicyDelegate::decidePolicyForNewWindowAction):
8935 (PolicyDelegate::decidePolicyForMIMEType):
8936 (PolicyDelegate::unableToImplementPolicyWithError):
8938 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
8942 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
8943 when querying for QMAKE_MKSPECS.
8945 2007-10-14 Andrew Wellington <proton@wiretapped.net>
8947 Reviewed by Adam Roben.
8949 Fix run-webkit-tests is too greedy calculating platform hierarchy
8950 http://bugs.webkit.org/show_bug.cgi?id=15465
8952 Fix run-webkit-tests being too greedy in trying to split the platform name up
8953 causing it to try and find tests in every directory above the first "-" in the
8954 path to the LayoutTests
8956 * Scripts/run-webkit-tests:
8958 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
8960 Reviewed by Darin Adler.
8962 http://bugs.webkit.org/show_bug.cgi?id=15006
8963 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
8964 to reduce code duplication.
8966 * Scripts/build-webkit:
8967 * Scripts/webkitdirs.pm:
8968 buildQMakeProject() renamed to buildQMakeQtProject().
8969 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
8970 unused $colorize has been removed.
8972 === Start merge of feature-branch 2007-10-12 ===
8974 2007-10-08 Eric Seidel <eric@webkit.org>
8976 Reviewed by Mark Rowe.
8978 * Scripts/build-webkit: add --help, remove unused --color
8980 2007-10-07 Eric Seidel <eric@webkit.org>
8984 * Drosera/mac/DebuggerDocumentPlatform.mm:
8985 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
8987 2007-10-03 Rob Buis <buis@kde.org>
8991 Adapt to changed location of Ahem font.
8993 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8995 2007-10-02 Eric Seidel <eric@webkit.org>
8997 Reviewed by Adam Roben.
8999 Make pixel tests more useful!
9000 Finally fix the image diff 0.00% mystery problem
9001 Highlight any image differences in the image diff.
9002 Add a link from image diffs back to original test file.
9004 * DumpRenderTree/mac/ImageDiff.m:
9005 (compareImages): highlight any differences
9006 (computePercentageDifferent): round to two decimal places
9007 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
9009 2007-10-02 Eric Seidel <eric@webkit.org>
9011 Reviewed by Alexey Proskuryakov.
9013 * Scripts/run-webkit-tests: print the % image difference on main results page
9015 2007-10-02 Mark Rowe <mrowe@apple.com>
9019 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
9021 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
9022 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
9024 2007-10-01 Mark Rowe <mrowe@apple.com>
9026 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
9028 2007-09-25 Eric Seidel <eric@webkit.org>
9030 Reviewed by Mark Rowe.
9032 DerivedSources.make was finding "ENABLE_SVG" in the string
9033 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
9036 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
9038 2007-09-25 Mark Rowe <mrowe@apple.com>
9040 Rubber-stamped by Eric.
9042 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
9043 This makes it possible to automate nightly builds for the feature-branch.
9045 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
9047 Rubber stamped by Mark.
9049 Enable svg experimental features as default here in feature-branch.
9051 * Scripts/build-webkit:
9053 2007-06-29 Antti Koivisto <antti@apple.com>
9057 Add VIDEO flag for timed media features
9059 * Scripts/build-webkit
9061 === End merge of feature-branch 2007-10-12 ===
9063 2007-10-11 Kevin McCullough <kmccullough@apple.com>
9065 Reviewed by Darin Adler.
9067 - Updated rational for the leaks list to be more clear.
9069 * Scripts/run-webkit-tests:
9071 2007-10-11 Kevin McCullough <kmccullough@apple.com>
9073 Rubber Stamp by Sam.
9075 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
9076 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
9078 * Scripts/run-webkit-tests:
9080 2007-10-10 Simon Hausmann <hausmann@kde.org>
9084 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
9085 includes are needed for INT_MAX, std::auto_ptr and the like.
9087 * DumpRenderTree/qt/main.cpp:
9089 2007-10-09 Lars Knoll <lars@trolltech.com>
9093 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
9095 * DumpRenderTree/qt/jsobjects.cpp:
9096 (LayoutTestController::encodeHostName):
9097 (LayoutTestController::decodeHostName):
9098 * DumpRenderTree/qt/jsobjects.h:
9100 2007-10-09 Lars Knoll <lars@trolltech.com>
9104 Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
9106 * DumpRenderTree/qt/DumpRenderTree.cpp:
9107 (WebCore::WebPage::createFrame):
9108 (WebCore::DumpRenderTree::DumpRenderTree):
9109 (WebCore::DumpRenderTree::titleChanged):
9110 * DumpRenderTree/qt/DumpRenderTree.h:
9111 * DumpRenderTree/qt/jsobjects.cpp:
9112 (LayoutTestController::reset):
9113 * DumpRenderTree/qt/jsobjects.h:
9115 2007-10-09 Lars Knoll <lars@trolltech.com>
9119 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
9121 * DumpRenderTree/qt/DumpRenderTree.h:
9122 * DumpRenderTree/qt/jsobjects.cpp:
9123 (LayoutTestController::clearBackForwardList):
9124 * DumpRenderTree/qt/jsobjects.h:
9126 2007-10-09 Lars Knoll <lars@trolltech.com>
9130 make --git-reviewer work again.
9132 * Scripts/prepare-ChangeLog:
9134 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
9136 Rubber stamped by Eric.
9138 Connect to the "hovering-over-link" signal emitted by WebKitPage and
9139 show the current link inside the statusbar.
9140 This shows how to make use of this signal and allows to easily test
9141 http://bugs.webkit.org/show_bug.cgi?id=15299.
9143 * GtkLauncher/main.cpp:
9147 2007-10-05 Lars Knoll <lars@trolltech.com>
9149 add proper error messages to the FrameLoaderClient.
9150 Implement ChromeClientQt::closeWindowSoon and
9151 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
9152 Some fixes in DRT to make it work correctly with multiple windows.
9156 * DumpRenderTree/qt/DumpRenderTree.cpp:
9157 (WebCore::DumpRenderTree::DumpRenderTree):
9158 (WebCore::DumpRenderTree::createWindow):
9159 (WebCore::DumpRenderTree::windowCount):
9160 * DumpRenderTree/qt/DumpRenderTree.h:
9161 * DumpRenderTree/qt/jsobjects.cpp:
9162 (LayoutTestController::maybeDump):
9163 (LayoutTestController::windowCount):
9164 * DumpRenderTree/qt/jsobjects.h:
9166 2007-10-05 Lars Knoll <lars@trolltech.com>
9168 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
9169 Add support for layoutTextController.setCanOpenWindows() to DRT
9170 fixing another 2 test cases in fast/dom/Window.
9174 * DumpRenderTree/qt/DumpRenderTree.cpp:
9175 (WebCore::WebPage::WebPage):
9176 (WebCore::WebPage::createWindow):
9177 (WebCore::DumpRenderTree::resetJSObjects):
9178 (WebCore::DumpRenderTree::createWindow):
9179 * DumpRenderTree/qt/DumpRenderTree.h:
9180 * DumpRenderTree/qt/DumpRenderTree.pro:
9181 * DumpRenderTree/qt/jsobjects.cpp:
9182 (LayoutTestController::LayoutTestController):
9183 (LayoutTestController::reset):
9184 * DumpRenderTree/qt/jsobjects.h:
9185 * DumpRenderTree/qt/main.cpp:
9186 * DumpRenderTree/qt/testplugin.cpp: Added.
9187 * DumpRenderTree/qt/testplugin.h: Added.
9189 2007-10-04 Sam Weinig <sam@webkit.org>
9191 Rubber stamped by Adam.
9193 Remove empty directories.
9195 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
9196 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
9198 2007-10-03 Darin Adler <darin@apple.com>
9202 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
9203 we find the internal libraries in the libraries directory. This
9204 is helpful for Safari team engineers at Apple.
9206 2007-10-03 Adam Roben <aroben@apple.com>
9208 Update the location of AHEM___.TTF after r25968
9212 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9214 2007-10-03 Alp Toker <alp@atoker.com>
9218 http://bugs.webkit.org/show_bug.cgi?id=14726
9219 [gtk] API design. Mapping the WebView delegates to signals.
9221 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
9223 * GtkLauncher/main.cpp:
9227 (menuMainBackCallback):
9228 (menuMainForwardCallback):
9231 2007-10-03 Lars Knoll <lars@trolltech.com>
9235 This fixes --strict mode in run-webkit-tests again after
9236 the platform dependent test results have been moved.
9238 * Scripts/run-webkit-tests:
9240 2007-10-03 Lars Knoll <lars@trolltech.com>
9244 remove the hack in run-webkit-tests that forced text only test
9245 to be taken from the platform independent dir. It was only left
9246 there from early days.
9248 Remove platform dependent results for tests that are text only nowadays,
9249 and add one platform dependent result for a text only test that requires it.
9251 * Scripts/run-webkit-tests:
9253 2007-10-03 Lars Knoll <lars@trolltech.com>
9257 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
9259 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
9260 (WebCore::WebFrame::WebFrame):
9261 (WebCore::WebPage::WebPage):
9262 (WebCore::WebPage::createFrame):
9263 (WebCore::WebPage::javaScriptAlert):
9264 (WebCore::WebPage::javaScriptConsoleMessage):
9265 (WebCore::DumpRenderTree::DumpRenderTree):
9266 (WebCore::DumpRenderTree::~DumpRenderTree):
9267 (WebCore::DumpRenderTree::open):
9268 (WebCore::DumpRenderTree::readStdin):
9269 (WebCore::DumpRenderTree::resetJSObjects):
9270 (WebCore::DumpRenderTree::initJSObjects):
9271 (WebCore::DumpRenderTree::dumpFramesAsText):
9272 (WebCore::DumpRenderTree::dump):
9273 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
9274 (WebCore::DumpRenderTree::layoutTestController):
9275 (WebCore::DumpRenderTree::eventSender):
9276 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
9277 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
9278 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
9279 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
9280 (HackWebFrame::mousePressEvent):
9281 (HackWebFrame::mouseReleaseEvent):
9282 (HackWebFrame::mouseMoveEvent):
9283 (HackWebFrame::HackWebFrame):
9284 (HackWebFrame::~HackWebFrame):
9285 (LayoutTestController::LayoutTestController):
9286 (LayoutTestController::reset):
9287 (LayoutTestController::maybeDump):
9288 (LayoutTestController::waitUntilDone):
9289 (LayoutTestController::notifyDone):
9290 (LayoutTestController::dumpEditingCallbacks):
9291 (LayoutTestController::queueReload):
9292 (LayoutTestController::provisionalLoad):
9293 (LayoutTestController::timerEvent):
9294 (EventSender::EventSender):
9295 (EventSender::mouseDown):
9296 (EventSender::mouseUp):
9297 (EventSender::mouseMoveTo):
9298 (EventSender::leapForward):
9299 (EventSender::keyDown):
9300 (EventSender::frameUnderMouse):
9301 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
9302 (LayoutTestController::isLoading):
9303 (LayoutTestController::setLoading):
9304 (LayoutTestController::shouldDumpAsText):
9305 (LayoutTestController::shouldDumpChildrenAsText):
9306 (LayoutTestController::shouldWaitUntilDone):
9307 (LayoutTestController::dumpAsText):
9308 (LayoutTestController::dumpChildFramesAsText):
9309 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
9313 * Scripts/run-webkit-tests:
9315 2007-10-03 Mark Rowe <mrowe@apple.com>
9317 Reviewed by Alp Toker.
9319 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
9320 should take precedence over QTDIR when determining which port we are working with.
9322 * Scripts/webkitdirs.pm:
9324 2007-10-02 Adam Roben <aroben@apple.com>
9326 Add keychain to the list of default packages to install
9328 Rubberstamped by Sam.
9330 * CygwinDownloader/cygwin-downloader.py:
9331 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
9333 2007-10-02 David Kilzer <ddkilzer@webkit.org>
9337 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
9338 Also makes WebCore regression test case logic work when using git.
9340 * Scripts/prepare-ChangeLog:
9341 (reviewerAndDescriptionForGitCommit): Added.
9343 2007-10-02 Lars Knoll <lars@trolltech.com>
9347 Add API to retrieve the frame name from QWebFrame.
9348 Implement support for DRT::dumpChildrenAsText.
9350 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9351 (WebCore::DumpRenderTree::dumpFramesAsText):
9352 (WebCore::DumpRenderTree::dump):
9353 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
9354 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
9355 (LayoutTestController::LayoutTestController):
9356 (LayoutTestController::reset):
9357 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
9359 2007-10-02 Lars Knoll <lars@trolltech.com>
9363 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
9365 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9366 (WebCore::DumpRenderTree::readStdin):
9368 2007-10-02 Mark Rowe <mrowe@apple.com>
9372 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
9374 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
9375 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
9377 2007-10-02 Mark Rowe <mrowe@apple.com>
9379 Rubber-stamped by Maciej.
9381 Configuration changes from build.webkit.org. The major change is refactoring to work
9382 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
9385 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
9386 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
9387 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
9388 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
9389 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
9390 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
9391 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
9392 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
9394 2007-10-02 Lars Knoll <lars@trolltech.com>
9398 Add support for eventSender.mouseMove to DRT.
9399 Fixes fast/css/hover-affects-child.html
9401 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
9402 (EventSender::mouseMoveTo):
9404 2007-10-01 Mark Rowe <mrowe@apple.com>
9406 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
9408 2007-10-01 David Kilzer <ddkilzer@webkit.org>
9412 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
9414 * Scripts/svn-apply:
9415 (gitdiff2svndiff): Ignore lines beginning with "new file".
9416 * Scripts/svn-unapply:
9417 (gitdiff2svndiff): Ditto.
9419 2007-09-30 George Staikos <staikos@kde.org>
9421 Qt build fix (Mac OS X specific)
9423 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
9425 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
9429 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
9430 Remove Bakefiles from svn.
9432 * GtkLauncher/Bakefiles.bkgen: Removed.
9433 * GtkLauncher/ENV: Removed.
9434 * GtkLauncher/gdklauncher.bkl: Removed.
9435 * GtkLauncher/mk: Removed.
9436 * Scripts/regenerate-makefiles: Removed.
9438 2007-09-25 Kevin McCullough <kmccullough@apple.com>
9442 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
9444 * Scripts/run-webkit-tests:
9446 2007-09-26 Adam Roben <aroben@apple.com>
9448 Make not finding an installed WebKit non-fatal
9450 What really matters is that we are able to load WebKit and its
9451 dependencies, not whether we think we've found an installed WebKit.
9455 * WebKitInitializer/WebKitInitializer.cpp:
9456 (getWebViewCLSID): Use new LOG_WARNING macro.
9457 (getInstalledWebKitDirectory): Ditto.
9458 (initializeWebKit): Don't die if we didn't find an installed WebKit,
9460 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
9462 2007-09-26 Adam Roben <aroben@apple.com>
9464 Committed this file before saving it
9466 * WebKitInitializer/debug_internal.vsprops:
9468 2007-09-26 Adam Roben <aroben@apple.com>
9470 Load WebKit and its dependencies manually so they come from DllDirectory
9472 I had to change WebKitInitializer to use malloc/free instead of
9473 new/delete to avoid pulling in WebKit (and its dependencies) early
9474 through use of fastMalloc.
9478 * WebKitInitializer/WebKitInitializer.cpp:
9479 (getStringValue): Changed to use malloc/free.
9480 (getInstalledWebKitDirectory): Ditto.
9481 (initializeWebKit): Call SetDllDirectory first, then load all of
9482 WebKit's dependencies manually, finally followed by WebKit itself.
9483 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
9484 configuration to match our other projects.
9485 * WebKitInitializer/debug_internal.vsprops: Added.
9487 2007-09-25 Adam Roben <aroben@apple.com>
9489 Actually define DEBUG/NDEBUG so that we load WebKit correctly
9491 Rubberstamped by Sam.
9493 * WebKitInitializer/WebKitInitializer.vcproj:
9495 2007-09-25 Adam Roben <aroben@apple.com>
9497 Make DumpRenderTree delay-load its dependencies
9499 This lets WebKitInitializer re-route the dependencies to be loaded out
9500 of the Safari installation directory.
9502 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
9503 same thing), since we can't import the kCFAllocatorDefault symbol when
9504 delay-loading CoreFoundation.dll.
9506 Rubberstamped by Sam.
9508 * DumpRenderTree/win/DumpRenderTree.cpp:
9510 (javaScriptThreads):
9511 * DumpRenderTree/win/DumpRenderTree.vcproj:
9512 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9513 (LayoutTestController::setWaitToDump):
9515 2007-09-25 Adam Roben <aroben@apple.com>
9517 Pull ole32.lib into WebKitInitializer
9519 Rubberstamped by Sam.
9521 * WebKitInitializer/WebKitInitializer.vcproj:
9523 2007-09-25 David Kilzer <ddkilzer@webkit.org>
9527 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
9528 LGPL'ed files contain incorrect FSF address
9532 2007-09-25 David Kilzer <ddkilzer@webkit.org>
9536 Make svn-apply and svn-unapply work with git-diff formatted patches.
9538 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
9539 (gitdiff2svndiff): Added.
9540 * Scripts/svn-unapply: Ditto.
9541 (gitdiff2svndiff): Added.
9543 2007-09-25 Adam Roben <aroben@apple.com>
9545 Pull advapi32.lib into WebKitInitializer
9547 This is needed to get the registry functions we use.
9549 Rubberstamped by Sam.
9551 * WebKitInitializer/WebKitInitializer.vcproj:
9553 2007-09-25 Adam Roben <aroben@apple.com>
9555 Add python and rsync to cygwin-downloader
9557 Our build slaves need this, and it can't hurt for everyone else to
9562 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
9563 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
9565 2007-09-25 Adam Roben <aroben@apple.com>
9567 Add WebKitInitializer and use it in DumpRenderTree
9569 WebKitInitializer is a static library that has one function,
9570 initializeWebKit(). This registers WebKit and sets up the DLL search
9571 path so that WebKit's dependencies that are installed with Safari can
9576 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
9577 DumpRenderTree depend on it.
9578 * DumpRenderTree/win/DumpRenderTree.cpp:
9579 (initialize): Call initializeWebKit.
9580 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
9581 WebKitInitializer.lib.
9582 * WebKitInitializer/WebKitInitializer.cpp: Added.
9585 (getInstalledWebKitDirectory):
9587 * WebKitInitializer/WebKitInitializer.h: Added.
9588 * WebKitInitializer/WebKitInitializer.vcproj: Added.
9589 * WebKitInitializer/debug.vsprops: Added.
9590 * WebKitInitializer/release.vsprops: Added.
9592 2007-09-25 Adam Roben <aroben@apple.com>
9594 Make run-webkit-tests respect set-webkit-configuration
9598 * Scripts/run-webkit-tests: Initialize $configuration to whatever
9599 set-webkit-configuration was last set to.
9601 2007-09-25 Mark Rowe <mrowe@apple.com>
9603 Rubber-stamped by Eric.
9605 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
9606 This makes it possible to automate nightly builds for the feature-branch.
9608 2007-09-25 Adam Roben <aroben@apple.com>
9610 A couple of fixes/enhancements to update-webkit-*-libs
9612 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
9613 to tell update-webkit-support-libraries where it should find the
9614 WebKitSupportLibrary.zip file you downloaded.
9616 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
9621 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
9622 to $auxiliaryLibsURL and removed an irrelevant comment.
9623 * Scripts/update-webkit-support-libs:
9625 2007-09-25 Adam Treat <treat@kde.org>
9627 Reviewed by Simon and Lars.
9629 Refactors and cleans up Qt DRT member variable names, member variable
9630 initialization, style fixes and general code cleanup.
9632 Adds queueReload slot to LayoutTestController that some tests require.
9634 Subclasses QWebFrame to make sure that all frames have an associated
9635 LayoutTestController JS window object.
9637 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
9638 aren't dumped twice.
9642 Together, this patch fixes some 20+ layout tests in QtWebKit.
9644 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9645 (WebCore::WebFrame::WebFrame):
9646 (WebCore::WebPage::WebPage):
9647 (WebCore::WebPage::createFrame):
9648 (WebCore::DumpRenderTree::DumpRenderTree):
9649 (WebCore::DumpRenderTree::open):
9650 (WebCore::DumpRenderTree::readStdin):
9651 (WebCore::DumpRenderTree::initJSObjects):
9652 (WebCore::DumpRenderTree::dump):
9653 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
9654 (WebCore::DumpRenderTree::layoutTestController):
9655 (WebCore::DumpRenderTree::eventSender):
9656 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
9657 (LayoutTestController::LayoutTestController):
9658 (LayoutTestController::reset):
9659 (LayoutTestController::maybeDump):
9660 (LayoutTestController::waitUntilDone):
9661 (LayoutTestController::notifyDone):
9662 (LayoutTestController::queueReload):
9663 (LayoutTestController::provisionalLoad):
9664 (EventSender::EventSender):
9665 (EventSender::mouseDown):
9666 (EventSender::mouseUp):
9667 (EventSender::mouseMoveTo):
9668 (EventSender::frameUnderMouse):
9669 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
9670 (LayoutTestController::isLoading):
9671 (LayoutTestController::setLoading):
9672 (LayoutTestController::dumpAsText):
9673 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
9676 2007-09-24 Kevin McCullough <kmccullough@apple.com>
9679 - Reverted an accidentally checked in file.
9681 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
9683 2007-09-24 Kevin McCullough <kmccullough@apple.com>
9686 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
9688 * DumpRenderTree/win/DumpRenderTree.vcproj:
9689 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9691 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
9693 Rubber stamped by Adam.
9695 * GdkLauncher: Removed.
9696 * GdkLauncher/Bakefiles.bkgen: Removed.
9697 * GdkLauncher/ENV: Removed.
9698 * GdkLauncher/GdkLauncher.pro: Removed.
9699 * GdkLauncher/gdklauncher.bkl: Removed.
9700 * GdkLauncher/main.cpp: Removed.
9701 * GdkLauncher/mk: Removed.
9702 * GdkLauncher/simple.svg: Removed.
9703 * GdkLauncher/text.html: Removed.
9704 * GtkLauncher: Added.
9705 * GtkLauncher/GdkLauncher.pro: Removed.
9706 * GtkLauncher/GtkLauncher.pro: Added.
9707 * GtkLauncher/main.cpp:
9708 (updateWindowTitle):
9710 * Scripts/build-webkit:
9711 * Scripts/regenerate-makefiles:
9712 * Scripts/run-javascriptcore-tests:
9713 * Scripts/run-launcher:
9714 * Scripts/run-webkit-tests:
9715 * Scripts/webkitdirs.pm:
9717 2007-09-21 Timothy Hatcher <timothy@apple.com>
9719 Reviewed by Darin Adler.
9721 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
9723 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
9724 This is tested by plugins/root-object-premature-delete-crash.html.
9726 * DumpRenderTree/mac/ObjCController.m:
9727 (-[ObjCController accessStoredWebScriptObject]):
9729 2007-09-21 Kevin McCullough <kmccullough@apple.com>
9733 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
9735 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
9736 (FrameLoadDelegate::FrameLoadDelegate):
9738 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
9742 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
9743 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
9745 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
9746 Now isQt() and isGdk() use global variables that are only set once.
9748 An array of all the parameters is now given to build-dumprender which includes
9749 the platform on linux.
9751 * Scripts/build-dumprendertree:
9752 * Scripts/run-webkit-tests:
9753 * Scripts/webkitdirs.pm:
9755 2007-09-19 Adam Roben <aroben@apple.com>
9757 Rubberstamped by Hyatt.
9759 * Spinneret: Removed.
9761 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
9763 Reviewed by David Kilzer.
9765 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
9767 2007-09-18 Sam Weinig <sam@webkit.org>
9769 Add JSRetainPtr.h #include to fix some builds.
9771 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9773 2007-09-18 Mike Hommey <glandium@debian.org>
9777 * Scripts/prepare-ChangeLog:
9778 - Properly parse GECOS field.
9779 - Use git configuration for user name and email when appropriate.
9781 2007-09-17 Sam Weinig <sam@webkit.org>
9785 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9787 2007-09-17 Sam Weinig <sam@webkit.org>
9789 Reviewed by Adam Roben.
9791 Share more code between mac and windows DRT.
9792 - GCController is now shared.
9793 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
9795 * DumpRenderTree/GCController.cpp:
9796 * DumpRenderTree/win/DumpRenderTree.cpp:
9797 * DumpRenderTree/win/DumpRenderTree.vcproj:
9798 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
9799 (FrameLoadDelegate::FrameLoadDelegate):
9800 (FrameLoadDelegate::~FrameLoadDelegate):
9801 (FrameLoadDelegate::windowScriptObjectAvailable):
9802 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
9803 * DumpRenderTree/win/GCController.cpp: Removed.
9804 * DumpRenderTree/win/GCController.h: Removed.
9805 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
9806 (GCController::collect):
9807 (GCController::collectOnAlternateThread):
9808 (GCController::getJSObjectCount):
9809 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
9810 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
9812 2007-09-17 Sam Weinig <sam@webkit.org>
9814 Reviewed by Adam Roben.
9816 Begin sharing code between mac and windows DRT.
9817 - both now share LayoutTestController.h/cpp and implement platform dependant
9818 operations in LayoutTestControllerMac/Win.
9819 - DumpRenderTree.h is now shared.
9820 - WorkQueue and WorkQueueItem are also shared.
9822 * DumpRenderTree/DumpRenderTree.h:
9823 * DumpRenderTree/LayoutTestController.cpp:
9824 * DumpRenderTree/win/DumpRenderTree.cpp:
9826 (dumpFrameScrollPosition):
9830 * DumpRenderTree/win/DumpRenderTree.h: Removed.
9831 * DumpRenderTree/win/DumpRenderTree.vcproj:
9832 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
9833 * DumpRenderTree/win/EditingDelegate.cpp:
9834 (EditingDelegate::shouldBeginEditingInDOMRange):
9835 (EditingDelegate::shouldEndEditingInDOMRange):
9836 (EditingDelegate::shouldInsertNode):
9837 (EditingDelegate::shouldInsertText):
9838 (EditingDelegate::shouldDeleteDOMRange):
9839 (EditingDelegate::shouldChangeSelectedDOMRange):
9840 (EditingDelegate::shouldApplyStyle):
9841 (EditingDelegate::shouldChangeTypingStyle):
9842 (EditingDelegate::doPlatformCommand):
9843 (EditingDelegate::webViewDidBeginEditing):
9844 (EditingDelegate::webViewDidChange):
9845 (EditingDelegate::webViewDidEndEditing):
9846 (EditingDelegate::webViewDidChangeTypingStyle):
9847 (EditingDelegate::webViewDidChangeSelection):
9848 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
9849 * DumpRenderTree/win/LayoutTestController.h: Removed.
9850 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
9851 (LayoutTestController::addDisallowedURL):
9852 (LayoutTestController::clearBackForwardList):
9853 (LayoutTestController::copyDecodedHostName):
9854 (LayoutTestController::copyEncodedHostName):
9855 (LayoutTestController::display):
9856 (LayoutTestController::keepWebHistory):
9857 (LayoutTestController::notifyDone):
9858 (LayoutTestController::queueBackNavigation):
9859 (LayoutTestController::queueForwardNavigation):
9860 (jsStringRefToWString):
9861 (LayoutTestController::queueLoad):
9862 (LayoutTestController::queueReload):
9863 (LayoutTestController::queueScript):
9864 (LayoutTestController::setAcceptsEditing):
9865 (LayoutTestController::setCustomPolicyDelegate):
9866 (LayoutTestController::setMainFrameIsFirstResponder):
9867 (LayoutTestController::setTabKeyCyclesThroughElements):
9868 (LayoutTestController::setUseDashboardCompatibilityMode):
9869 (LayoutTestController::setUserStyleSheetEnabled):
9870 (LayoutTestController::setUserStyleSheetLocation):
9871 (LayoutTestController::setWindowIsKey):
9872 (waitUntilDoneWatchdogFired):
9873 (LayoutTestController::setWaitToDump):
9874 (LayoutTestController::windowCount):
9875 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
9876 (FrameLoadDelegate::didReceiveTitle):
9877 (FrameLoadDelegate::processWork):
9878 (FrameLoadDelegate::locationChangeDone):
9879 (FrameLoadDelegate::windowScriptObjectAvailable):
9880 * DumpRenderTree/win/WorkQueue.cpp: Removed.
9881 * DumpRenderTree/win/WorkQueue.h: Removed.
9882 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
9883 * DumpRenderTree/win/WorkQueueItem.h: Removed.
9884 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
9885 (jsStringRefToWString):
9887 (ScriptItem::invoke):
9889 2007-09-17 Sam Weinig <sam@webkit.org>
9891 Reviewed by Adam Roben.
9893 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
9895 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
9896 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
9897 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
9898 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
9899 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
9900 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
9901 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
9902 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
9903 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
9904 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
9905 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
9906 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
9907 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
9908 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
9909 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
9910 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
9911 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
9912 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
9913 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
9914 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
9915 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
9916 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
9917 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
9918 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
9919 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
9920 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
9921 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
9922 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
9923 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
9924 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
9925 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
9926 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
9927 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
9928 * DumpRenderTree/win: Added.
9929 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
9930 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
9931 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
9932 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
9933 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
9934 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
9935 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
9936 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
9937 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
9938 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
9939 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
9940 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
9941 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
9942 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9943 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
9944 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
9945 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
9946 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
9947 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
9948 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
9949 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
9950 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
9951 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
9952 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
9953 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
9954 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
9956 2007-09-15 Mark Rowe <mrowe@apple.com>
9958 Build fix for DumpRenderTree.
9960 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
9962 2007-09-14 Sam Weinig <sam@webkit.org>
9964 Rubber stamped by Adam Roben.
9966 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
9967 - The UIDelegate was put into a new file while the FrameLoadDelegate was
9968 kept in the WaitUntilDoneDelegate file for the time being.
9970 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
9972 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
9973 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
9974 (UIDelegate::QueryInterface):
9975 (UIDelegate::AddRef):
9976 (UIDelegate::Release):
9977 (UIDelegate::hasCustomMenuImplementation):
9978 (UIDelegate::setFrame):
9979 (UIDelegate::webViewFrame):
9980 (UIDelegate::runJavaScriptAlertPanelWithMessage):
9981 (UIDelegate::webViewAddMessageToConsole):
9982 (UIDelegate::doDragDrop):
9983 (UIDelegate::webViewGetDlgCode):
9984 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
9985 (UIDelegate::UIDelegate):
9986 (UIDelegate::createWebViewWithRequest):
9987 (UIDelegate::webViewShow):
9988 (UIDelegate::webViewClose):
9989 (UIDelegate::webViewFocus):
9990 (UIDelegate::webViewUnfocus):
9991 (UIDelegate::webViewFirstResponder):
9992 (UIDelegate::makeFirstResponder):
9993 (UIDelegate::setStatusText):
9994 (UIDelegate::webViewStatusText):
9995 (UIDelegate::webViewAreToolbarsVisible):
9996 (UIDelegate::setToolbarsVisible):
9997 (UIDelegate::webViewIsStatusBarVisible):
9998 (UIDelegate::setStatusBarVisible):
9999 (UIDelegate::webViewIsResizable):
10000 (UIDelegate::setResizable):
10001 (UIDelegate::setContentRect):
10002 (UIDelegate::webViewContentRect):
10003 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
10004 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
10005 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
10006 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
10007 (UIDelegate::mouseDidMoveOverElement):
10008 (UIDelegate::contextMenuItemsForElement):
10009 (UIDelegate::validateUserInterfaceItem):
10010 (UIDelegate::shouldPerformAction):
10011 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
10012 (UIDelegate::willPerformDragDestinationAction):
10013 (UIDelegate::dragSourceActionMaskForPoint):
10014 (UIDelegate::willPerformDragSourceAction):
10015 (UIDelegate::contextMenuItemSelected):
10016 (UIDelegate::trackCustomPopupMenu):
10017 (UIDelegate::measureCustomMenuItem):
10018 (UIDelegate::drawCustomMenuItem):
10019 (UIDelegate::addCustomMenuDrawingData):
10020 (UIDelegate::cleanUpCustomMenuDrawingData):
10021 (UIDelegate::canTakeFocus):
10022 (UIDelegate::takeFocus):
10023 (UIDelegate::registerUndoWithTarget):
10024 (UIDelegate::removeAllActionsWithTarget):
10025 (UIDelegate::setActionTitle):
10026 (UIDelegate::undo):
10027 (UIDelegate::redo):
10028 (UIDelegate::canUndo):
10029 (UIDelegate::canRedo):
10030 (UIDelegate::webViewResizerRect):
10031 (UIDelegate::webViewDrawResizer):
10032 (UIDelegate::webViewScrolled):
10033 (UIDelegate::webViewShouldInterruptJavaScript):
10034 (UIDelegate::webViewReceivedFocus):
10035 (UIDelegate::webViewLostFocus):
10036 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
10037 (FrameLoadDelegate::QueryInterface):
10038 (FrameLoadDelegate::AddRef):
10039 (FrameLoadDelegate::Release):
10040 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
10041 (FrameLoadDelegate::didCommitLoadForFrame):
10042 (FrameLoadDelegate::didReceiveTitle):
10043 (FrameLoadDelegate::processWork):
10044 (processWorkTimer):
10045 (FrameLoadDelegate::locationChangeDone):
10046 (FrameLoadDelegate::didFinishLoadForFrame):
10047 (FrameLoadDelegate::didFailLoadWithError):
10048 (FrameLoadDelegate::windowScriptObjectAvailable):
10049 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
10050 (FrameLoadDelegate::FrameLoadDelegate):
10052 2007-09-14 Sam Weinig <sam@webkit.org>
10054 Reviewed by Kevin McCullough.
10056 Move mac specific globals in to mac/DumpRenderTreeMac.h
10058 * DumpRenderTree/DumpRenderTree.h:
10059 * DumpRenderTree/DumpRenderTree.mm: Removed.
10060 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10061 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
10062 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
10064 2007-09-14 Brady Eidson <beidson@apple.com>
10066 Rubberstamped by Weinig
10068 You know, Sam, some of us use case-sensitve filesystems...
10070 * DumpRenderTree/DumpRenderTree.h:
10071 * DumpRenderTree/mac/UIDelegate.mm:
10073 2007-09-14 Sam Weinig <sam@webkit.org>
10075 Rubber stamped by Adam Roben.
10077 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
10078 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
10080 * DumpRenderTree/AppleScriptController.h: Removed.
10081 * DumpRenderTree/AppleScriptController.m: Removed.
10082 * DumpRenderTree/DumpRenderTree.h:
10083 * DumpRenderTree/DumpRenderTree.mm:
10084 (startJavaScriptThreads):
10085 (stopJavaScriptThreads):
10086 (activateAhemFont):
10087 (setDefaultColorProfileToRGB):
10088 (makeLargeMallocFailSilently):
10089 (dumpFrameScrollPosition):
10090 (dumpFramesAsText):
10093 (-[DumpRenderTreeWindow isKeyWindow]):
10094 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10095 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
10096 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
10097 * DumpRenderTree/EditingDelegate.h: Removed.
10098 * DumpRenderTree/EditingDelegate.m: Removed.
10099 * DumpRenderTree/EventSendingController.h: Removed.
10100 * DumpRenderTree/EventSendingController.m: Removed.
10101 * DumpRenderTree/FrameLoadDelegate.h: Removed.
10102 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
10103 * DumpRenderTree/GCController.mm: Removed.
10104 * DumpRenderTree/ImageDiff.m: Removed.
10105 * DumpRenderTree/LayoutTestController.cpp:
10106 (LayoutTestController::LayoutTestController):
10107 (dumpAsTextCallback):
10108 (dumpBackForwardListCallback):
10109 (dumpChildFramesAsTextCallback):
10110 (dumpChildFrameScrollPositionsCallback):
10111 (dumpDOMAsWebArchiveCallback):
10112 (dumpEditingCallbacksCallback):
10113 (dumpFrameLoadCallbacksCallback):
10114 (dumpResourceLoadCallbacksCallback):
10115 (dumpSelectionRectCallback):
10116 (dumpSourceAsWebArchiveCallback):
10117 (dumpTitleChangesCallback):
10118 (repaintSweepHorizontallyCallback):
10119 (setCallCloseOnWebViewsCallback):
10120 (setCanOpenWindowsCallback):
10121 (setCloseRemainingWindowsWhenCompleteCallback):
10122 (testRepaintCallback):
10123 (addFileToPasteboardOnDragCallback):
10124 (waitUntilDoneCallback):
10125 * DumpRenderTree/LayoutTestController.h:
10126 (LayoutTestController::dumpAsText):
10127 (LayoutTestController::setDumpAsText):
10128 (LayoutTestController::dumpBackForwardList):
10129 (LayoutTestController::setDumpBackForwardList):
10130 (LayoutTestController::dumpChildFrameScrollPositions):
10131 (LayoutTestController::setDumpChildFrameScrollPositions):
10132 (LayoutTestController::dumpChildFramesAsText):
10133 (LayoutTestController::setDumpChildFramesAsText):
10134 (LayoutTestController::dumpDOMAsWebArchive):
10135 (LayoutTestController::setDumpDOMAsWebArchive):
10136 (LayoutTestController::dumpSelectionRect):
10137 (LayoutTestController::setDumpSelectionRect):
10138 (LayoutTestController::dumpSourceAsWebArchive):
10139 (LayoutTestController::setDumpSourceAsWebArchive):
10140 (LayoutTestController::dumpTitleChanges):
10141 (LayoutTestController::setDumpTitleChanges):
10142 (LayoutTestController::dumpEditingCallbacks):
10143 (LayoutTestController::setDumpEditingCallbacks):
10144 (LayoutTestController::dumpResourceLoadCallbacks):
10145 (LayoutTestController::setDumpResourceLoadCallbacks):
10146 (LayoutTestController::dumpFrameLoadCallbacks):
10147 (LayoutTestController::setDumpFrameLoadCallbacks):
10148 (LayoutTestController::addFileToPasteboardOnDrag):
10149 (LayoutTestController::setAddFileToPasteboardOnDrag):
10150 (LayoutTestController::callCloseOnWebViews):
10151 (LayoutTestController::setCallCloseOnWebViews):
10152 (LayoutTestController::canOpenWindows):
10153 (LayoutTestController::setCanOpenWindows):
10154 (LayoutTestController::closeRemainingWindowsWhenComplete):
10155 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
10156 (LayoutTestController::testRepaint):
10157 (LayoutTestController::setTestRepaint):
10158 (LayoutTestController::testRepaintSweepHorizontally):
10159 (LayoutTestController::setTestRepaintSweepHorizontally):
10160 (LayoutTestController::waitToDump):
10161 (LayoutTestController::windowIsKey):
10162 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
10163 * DumpRenderTree/NavigationController.h: Removed.
10164 * DumpRenderTree/NavigationController.m: Removed.
10165 * DumpRenderTree/ObjCController.h: Removed.
10166 * DumpRenderTree/ObjCController.m: Removed.
10167 * DumpRenderTree/ObjCPlugin.h: Removed.
10168 * DumpRenderTree/ObjCPlugin.m: Removed.
10169 * DumpRenderTree/ObjCPluginFunction.h: Removed.
10170 * DumpRenderTree/ObjCPluginFunction.m: Removed.
10171 * DumpRenderTree/PolicyDelegate.h: Removed.
10172 * DumpRenderTree/PolicyDelegate.m: Removed.
10173 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
10174 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
10175 * DumpRenderTree/TextInputController.h: Removed.
10176 * DumpRenderTree/TextInputController.m: Removed.
10177 * DumpRenderTree/UIDelegate.h: Removed.
10178 * DumpRenderTree/UIDelegate.mm: Removed.
10179 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
10180 * DumpRenderTree/mac: Added.
10181 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
10182 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
10183 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
10184 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
10185 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
10186 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
10187 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
10188 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
10189 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
10190 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
10191 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
10192 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
10193 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
10194 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
10195 (-[EditingDelegate webViewDidBeginEditing:]):
10196 (-[EditingDelegate webViewDidChange:]):
10197 (-[EditingDelegate webViewDidEndEditing:]):
10198 (-[EditingDelegate webViewDidChangeTypingStyle:]):
10199 (-[EditingDelegate webViewDidChangeSelection:]):
10200 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
10201 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
10202 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
10203 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
10204 (-[FrameLoadDelegate init]):
10205 (-[FrameLoadDelegate dealloc]):
10206 (-[FrameLoadDelegate processWork:]):
10207 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
10208 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
10209 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
10210 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
10211 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
10212 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
10213 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
10214 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10215 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
10216 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
10217 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
10218 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
10219 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
10220 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
10221 (-[FrameLoadDelegate webView:willCloseFrame:]):
10222 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
10223 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
10224 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
10225 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
10226 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
10227 (LayoutTestController::notifyDone):
10228 (LayoutTestController::setWindowIsKey):
10229 (LayoutTestController::setWaitToDump):
10230 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
10231 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
10232 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
10233 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
10234 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
10235 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
10236 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
10237 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
10238 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
10239 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
10240 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
10241 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
10242 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
10243 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
10244 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
10245 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
10246 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
10247 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
10248 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
10249 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
10250 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
10251 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
10252 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
10253 (-[UIDelegate webViewFocus:]):
10254 (-[UIDelegate webView:createWebViewWithRequest:]):
10255 (-[UIDelegate webViewClose:]):
10256 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
10258 2007-09-14 Kevin McCullough <kmccullough@apple.com>
10262 - Changing Win version of Drosera work with recent changes.
10264 * Drosera/DebuggerDocument.cpp:
10265 * Drosera/DebuggerDocument.h:
10266 * Drosera/mac/DebuggerDocumentPlatform.mm:
10267 (NSStringCreateWithJSStringRef):
10268 (JSValueRefCreateWithNSString):
10269 * Drosera/win/DebuggerClient.cpp:
10270 (DebuggerClient::stepInto):
10271 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10273 2007-09-13 Kevin McCullough <kmccullough@apple.com>
10277 - Moved isPaused into the JS for efficiency and simplicity.
10279 * Drosera/DebuggerDocument.cpp:
10280 (DebuggerDocument::DebuggerDocument):
10281 (DebuggerDocument::pauseCallback):
10282 (DebuggerDocument::resumeCallback):
10283 (DebuggerDocument::isPaused):
10284 (DebuggerDocument::staticFunctions):
10285 * Drosera/DebuggerDocument.h:
10286 * Drosera/console.js:
10287 * Drosera/debugger.js:
10288 * Drosera/mac/DebuggerClient.mm:
10289 (-[DebuggerClient validateUserInterfaceItem:]):
10291 2007-09-13 Sam Weinig <sam@webkit.org>
10293 Rubber stamped by Darin Adler.
10295 Make DumpRenderTree more cross platform ready.
10296 - Convert GCController to use the JSCore API instead of the WebScriptObject.
10297 - Use CF types instead of NS objects.
10300 * DumpRenderTree/DumpRenderTree.h:
10301 * DumpRenderTree/DumpRenderTree.mm:
10305 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10306 * DumpRenderTree/EditingDelegate.m:
10307 * DumpRenderTree/FrameLoadDelegate.h:
10308 * DumpRenderTree/FrameLoadDelegate.mm:
10309 (-[FrameLoadDelegate init]):
10310 (-[FrameLoadDelegate dealloc]):
10311 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10312 * DumpRenderTree/GCController.cpp: Added.
10313 (GCController::GCController):
10314 (GCController::~GCController):
10316 (collectOnAlternateThreadCallback):
10317 (getJSObjectCountCallback):
10318 (GCController::makeWindowObject):
10319 (GCController::getJSClass):
10320 (GCController::staticFunctions):
10321 * DumpRenderTree/GCController.h:
10322 * DumpRenderTree/GCController.mm:
10323 (GCController::collect):
10324 (GCController::collectOnAlternateThread):
10325 (GCController::getJSObjectCount):
10326 * DumpRenderTree/LayoutTestController.cpp:
10327 (LayoutTestController::makeWindowObject):
10328 (LayoutTestController::getJSClass):
10329 * DumpRenderTree/LayoutTestController.h:
10330 * DumpRenderTree/LayoutTestControllerMac.mm:
10331 (LayoutTestController::addDisallowedURL):
10332 (waitUntilDoneWatchdogFired):
10333 (LayoutTestController::waitUntilDone):
10334 * DumpRenderTree/ResourceLoadDelegate.m:
10335 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
10337 2007-09-12 Sam Weinig <sam@webkit.org>
10339 Reviewed by Stephanie.
10341 Fix leaks in mac DumpRenderTree.
10343 * DumpRenderTree/FrameLoadDelegate.mm:
10344 (-[FrameLoadDelegate init]): Initalize in the correct order.
10345 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
10346 * DumpRenderTree/LayoutTestController.cpp:
10347 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
10348 (encodeHostNameCallback): ditto.
10349 * DumpRenderTree/LayoutTestController.h:
10350 * DumpRenderTree/LayoutTestControllerMac.mm:
10351 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
10352 (LayoutTestController::copyEncodedHostName): ditto
10353 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
10355 2007-09-12 Kevin McCullough <kmccullough@apple.com>
10359 - Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on. This will allow us to get the bot green, but later we should remove it.
10361 * Scripts/run-webkit-tests:
10363 2007-09-12 Kevin McCullough <kmccullough@apple.com>
10365 Reviewed by Darin Adler.
10367 - Simplified code paths and extracted out functions to increase encapsulation.
10369 * Drosera/DebuggerDocument.cpp:
10370 (DebuggerDocument::breakpointEditorHTMLCallback):
10371 (DebuggerDocument::isPausedCallback):
10372 (DebuggerDocument::pauseCallback):
10373 (DebuggerDocument::resumeCallback):
10374 (DebuggerDocument::stepIntoCallback):
10375 (DebuggerDocument::evaluateScriptCallback):
10376 (DebuggerDocument::currentFunctionStackCallback):
10377 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
10378 (DebuggerDocument::valueForScopeVariableNamedCallback):
10379 (DebuggerDocument::logCallback):
10380 * Drosera/DebuggerDocument.h:
10381 (DebuggerDocument::getPaused):
10382 * Drosera/mac/DebuggerClient.mm:
10383 (-[DebuggerClient pause:]):
10384 (-[DebuggerClient resume:]):
10385 (-[DebuggerClient stepInto:]):
10386 (-[DebuggerClient stepOver:]):
10387 (-[DebuggerClient stepOut:]):
10388 (-[DebuggerClient showConsole:]):
10389 (-[DebuggerClient closeCurrentFile:]):
10390 (-[DebuggerClient validateUserInterfaceItem:]):
10391 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
10392 (+[NSString stringOrNilFromWebScriptResult:]):
10393 (DebuggerDocument::platformPause):
10394 (DebuggerDocument::platformResume):
10395 (DebuggerDocument::platformStepInto):
10396 (DebuggerDocument::platformEvaluateScript):
10397 (DebuggerDocument::getPlatformCurrentFunctionStack):
10398 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10399 (DebuggerDocument::platformValueForScopeVariableNamed):
10400 (DebuggerDocument::platformLog):
10401 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10403 2007-09-12 Sam Weinig <sam@webkit.org>
10405 Build fix for Buildbot.
10407 * DumpRenderTree/DumpRenderTree.mm:
10410 2007-09-12 Kevin McCullough <kmccullough@apple.com>
10414 - Updated the leaks list for leopard to help identify regressions.
10416 * Scripts/run-webkit-tests:
10418 2007-09-12 Sam Weinig <sam@webkit.org>
10420 Rubber stamped by Darin Adler.
10422 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
10424 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
10425 * DumpRenderTree/DumpRenderTree.m: Removed.
10426 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
10427 (stopJavaScriptThreads): Fix initialization.
10428 (setDefaultColorProfileToRGB): Add explicit cast from void*.
10429 (dumpRenderTree): Ditto.
10431 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
10433 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10434 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
10435 * DumpRenderTree/FrameLoadDelegate.m: Removed.
10436 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
10437 (-[FrameLoadDelegate init]):
10438 (-[FrameLoadDelegate dealloc]):
10439 (-[FrameLoadDelegate processWork:]):
10440 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
10441 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10442 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
10444 * DumpRenderTree/LayoutTestController.cpp: Added.
10445 (LayoutTestController::LayoutTestController):
10446 (LayoutTestController::~LayoutTestController):
10447 (dumpAsTextCallback):
10448 (dumpBackForwardListCallback):
10449 (dumpChildFramesAsTextCallback):
10450 (dumpChildFrameScrollPositionsCallback):
10451 (dumpDOMAsWebArchiveCallback):
10452 (dumpEditingCallbacksCallback):
10453 (dumpFrameLoadCallbacksCallback):
10454 (dumpResourceLoadCallbacksCallback):
10455 (dumpSelectionRectCallback):
10456 (dumpSourceAsWebArchiveCallback):
10457 (dumpTitleChangesCallback):
10458 (repaintSweepHorizontallyCallback):
10459 (setCallCloseOnWebViewsCallback):
10460 (setCanOpenWindowsCallback):
10461 (setCloseRemainingWindowsWhenCompleteCallback):
10462 (testRepaintCallback):
10463 (addFileToPasteboardOnDragCallback):
10464 (addDisallowedURLCallback):
10465 (clearBackForwardListCallback):
10466 (decodeHostNameCallback):
10468 (encodeHostNameCallback):
10469 (keepWebHistoryCallback):
10470 (notifyDoneCallback):
10471 (queueBackNavigationCallback):
10472 (queueForwardNavigationCallback):
10473 (queueLoadCallback):
10474 (queueReloadCallback):
10475 (queueScriptCallback):
10476 (setAcceptsEditingCallback):
10477 (setCustomPolicyDelegateCallback):
10478 (setMainFrameIsFirstResponderCallback):
10479 (setTabKeyCyclesThroughElementsCallback):
10480 (setUseDashboardCompatibilityModeCallback):
10481 (setUserStyleSheetEnabledCallback):
10482 (setUserStyleSheetLocationCallback):
10483 (setWindowIsKeyCallback):
10484 (waitUntilDoneCallback):
10485 (windowCountCallback):
10486 (LayoutTestController::makeWindowObject):
10487 (LayoutTestController::getLayoutTestControllerJSClass):
10488 (LayoutTestController::staticFunctions):
10489 * DumpRenderTree/LayoutTestController.h: Replaced.
10490 * DumpRenderTree/LayoutTestController.m: Removed.
10491 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
10492 (LayoutTestController::dumpAsText):
10493 (LayoutTestController::dumpBackForwardList):
10494 (LayoutTestController::dumpChildFramesAsText):
10495 (LayoutTestController::dumpChildFrameScrollPositions):
10496 (LayoutTestController::dumpDOMAsWebArchive):
10497 (LayoutTestController::dumpEditingCallbacks):
10498 (LayoutTestController::dumpFrameLoadCallbacks):
10499 (LayoutTestController::dumpResourceLoadCallbacks):
10500 (LayoutTestController::dumpSelectionRect):
10501 (LayoutTestController::dumpSourceAsWebArchive):
10502 (LayoutTestController::dumpTitleChanges):
10503 (LayoutTestController::repaintSweepHorizontally):
10504 (LayoutTestController::setCallCloseOnWebViews):
10505 (LayoutTestController::setCanOpenWindows):
10506 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
10507 (LayoutTestController::testRepaint):
10508 (LayoutTestController::addFileToPasteboardOnDrag):
10509 (LayoutTestController::addDisallowedURL):
10510 (LayoutTestController::clearBackForwardList):
10511 (LayoutTestController::decodeHostName):
10512 (LayoutTestController::encodeHostName):
10513 (LayoutTestController::display):
10514 (LayoutTestController::keepWebHistory):
10515 (LayoutTestController::notifyDone):
10516 (LayoutTestController::queueBackNavigation):
10517 (LayoutTestController::queueForwardNavigation):
10518 (LayoutTestController::queueLoad):
10519 (LayoutTestController::queueReload):
10520 (LayoutTestController::queueScript):
10521 (LayoutTestController::setAcceptsEditing):
10522 (LayoutTestController::setCustomPolicyDelegate):
10523 (LayoutTestController::setMainFrameIsFirstResponder):
10524 (LayoutTestController::setTabKeyCyclesThroughElements):
10525 (LayoutTestController::setUseDashboardCompatibilityMode):
10526 (LayoutTestController::setUserStyleSheetEnabled):
10527 (LayoutTestController::setUserStyleSheetLocation):
10528 (LayoutTestController::setWindowIsKey):
10529 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
10530 (LayoutTestController::waitUntilDone):
10531 (LayoutTestController::windowCount):
10532 Use the JSCore API to implement the LayoutTestController.
10534 * DumpRenderTree/ObjCController.h:
10535 * DumpRenderTree/ObjCController.m:
10536 (+[ObjCController isSelectorExcludedFromWebScript:]):
10537 (+[ObjCController webScriptNameForSelector:]):
10538 (-[ObjCController accessStoredWebScriptObject]):
10539 (-[ObjCController storeWebScriptObject:]):
10540 (-[ObjCController dealloc]):
10541 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
10542 Move WebScriptObject tests to ObjCController.
10544 * DumpRenderTree/UIDelegate.m: Removed.
10545 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
10547 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
10548 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
10549 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
10550 (WorkQueueItem::~WorkQueueItem):
10551 (LoadItem::LoadItem):
10553 (LoadItem::target):
10554 (ScriptItem::ScriptItem):
10555 (ScriptItem::script):
10556 * DumpRenderTree/WorkQueueItemMac.mm: Added.
10557 (LoadItem::invoke):
10558 (ReloadItem::invoke):
10559 (ScriptItem::invoke):
10560 (BackForwardItem::invoke):
10561 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
10562 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
10565 2007-09-11 Kevin McCullough <kmccullough@apple.com>
10567 Reviewed by Maciej.
10569 - Updated Win side to take advantage of the platform separating changes.
10571 * Drosera/DebuggerDocument.cpp:
10572 (DebuggerDocument::localScopeVariableNamesForCallFrame):
10573 * Drosera/DebuggerDocument.h:
10574 * Drosera/win/DebuggerClient.cpp:
10575 (DebuggerClient::pause):
10576 (DebuggerClient::resume):
10577 (DebuggerClient::stepInto):
10578 (DebuggerDocument::platformPause):
10579 (DebuggerDocument::platformResume):
10580 (DebuggerDocument::platformStepInto):
10581 (DebuggerDocument::platformEvaluateScript):
10582 (DebuggerDocument::getPlatformCurrentFunctionStack):
10583 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10584 (DebuggerDocument::platformValueForScopeVariableNamed):
10585 (DebuggerDocument::platformLog):
10586 * Drosera/win/DebuggerClient.h:
10587 * Drosera/win/Drosera.cpp:
10588 (Drosera::Drosera):
10589 (Drosera::windowScriptObjectAvailable):
10590 (Drosera::initWithServerName):
10591 (Drosera::switchToServerNamed):
10592 * Drosera/win/Drosera.h:
10593 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10595 2007-09-11 Kevin McCullough <kmccullough@apple.com>
10599 - Just doing the moves in a separate patch so the changes are easier to see.
10601 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
10602 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
10603 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
10604 * Drosera/win/DebuggerDocumentWin.h: Removed.
10605 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10607 2007-09-11 Sven Herzberg <sven@imendio.com>
10609 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
10610 http://bugs.webkit.org/show_bug.cgi?id=15176
10612 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
10613 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
10614 other paths eg. from jhbuild)
10616 2007-09-10 Kevin McCullough <kmccullough@apple.com>
10620 - Made an order-of-deletion mistake.
10622 * Drosera/DebuggerDocument.h:
10623 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
10624 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
10625 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
10626 * Drosera/mac/DebuggerClient.mm:
10627 (DebuggerDocument::platformPause):
10628 (DebuggerDocument::platformResume):
10629 (DebuggerDocument::platformStepInto):
10630 (DebuggerDocument::platformEvaluateScript):
10631 (DebuggerDocument::getPlatformCurrentFunctionStack):
10632 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10633 (DebuggerDocument::platformValueForScopeVariableNamed):
10634 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10636 2007-09-10 Kevin McCullough <kmccullough@apple.com>
10638 Reviewed by Darin Adler.
10640 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
10642 * Drosera/DebuggerDocument.cpp:
10643 (DebuggerDocument::DebuggerDocument):
10644 * Drosera/DebuggerDocument.h:
10645 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
10646 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
10647 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
10648 * Drosera/mac/DebuggerApplication.mm:
10649 (-[DebuggerApplication attach:]):
10650 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
10651 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
10652 (DebuggerDocument::platformPause):
10653 (DebuggerDocument::platformResume):
10654 (DebuggerDocument::platformStepInto):
10655 (DebuggerDocument::platformEvaluateScript):
10656 (DebuggerDocument::getPlatformCurrentFunctionStack):
10657 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10658 (DebuggerDocument::platformValueForScopeVariableNamed):
10659 (DebuggerDocument::platformLog):
10660 * Drosera/mac/DebuggerDocumentMac.h: Removed.
10661 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
10662 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10664 2007-09-09 Sam Weinig <sam@webkit.org>
10666 Reviewed by Mark Rowe.
10668 Remove 'objC' prefix from methods now in the ObjCController.
10670 * DumpRenderTree/ObjCController.m:
10671 (+[ObjCController isSelectorExcludedFromWebScript:]):
10672 (+[ObjCController webScriptNameForSelector:]):
10673 (-[ObjCController classNameOf:]):
10674 (-[ObjCController objectOfClass:]):
10675 (-[ObjCController identityIsEqual::]):
10676 (-[ObjCController longLongRoundTrip:]):
10677 (-[ObjCController unsignedLongLongRoundTrip:]):
10679 2007-09-09 Sam Weinig <sam@webkit.org>
10681 Reviewed by Oliver.
10683 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
10684 - Move LayoutTestController into its own file.
10685 - Move Objective-C only functions on LayoutTestController into a new controller called the
10688 * DumpRenderTree/DumpRenderTree.h:
10689 * DumpRenderTree/DumpRenderTree.m:
10691 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10692 * DumpRenderTree/FrameLoadDelegate.m:
10693 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10694 * DumpRenderTree/LayoutTestController.h: Added.
10695 * DumpRenderTree/LayoutTestController.m: Added.
10696 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10697 (+[LayoutTestController webScriptNameForSelector:]):
10698 (-[LayoutTestController clearBackForwardList]):
10699 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
10700 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
10701 (-[LayoutTestController setCustomPolicyDelegate:]):
10702 (-[LayoutTestController keepWebHistory]):
10703 (-[LayoutTestController setCallCloseOnWebViews:]):
10704 (-[LayoutTestController setCanOpenWindows]):
10705 (-[LayoutTestController waitUntilDone]):
10706 (-[LayoutTestController waitUntilDoneWatchdogFired]):
10707 (-[LayoutTestController notifyDone]):
10708 (-[LayoutTestController dumpAsText]):
10709 (-[LayoutTestController addFileToPasteboardOnDrag]):
10710 (-[LayoutTestController addDisallowedURL:]):
10711 (-[LayoutTestController setUserStyleSheetLocation:]):
10712 (-[LayoutTestController setUserStyleSheetEnabled:]):
10713 (-[LayoutTestController dumpDOMAsWebArchive]):
10714 (-[LayoutTestController dumpSourceAsWebArchive]):
10715 (-[LayoutTestController dumpSelectionRect]):
10716 (-[LayoutTestController dumpTitleChanges]):
10717 (-[LayoutTestController dumpBackForwardList]):
10718 (-[LayoutTestController windowCount]):
10719 (-[LayoutTestController dumpChildFrameScrollPositions]):
10720 (-[LayoutTestController dumpChildFramesAsText]):
10721 (-[LayoutTestController dumpEditingCallbacks]):
10722 (-[LayoutTestController dumpResourceLoadCallbacks]):
10723 (-[LayoutTestController dumpFrameLoadCallbacks]):
10724 (-[LayoutTestController setWindowIsKey:]):
10725 (-[LayoutTestController setMainFrameIsFirstResponder:]):
10726 (-[LayoutTestController display]):
10727 (-[LayoutTestController testRepaint]):
10728 (-[LayoutTestController repaintSweepHorizontally]):
10729 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
10730 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
10731 (-[LayoutTestController _doLoad:target:]):
10732 (-[LayoutTestController _doBackOrForwardNavigation:]):
10733 (-[LayoutTestController queueBackNavigation:]):
10734 (-[LayoutTestController queueForwardNavigation:]):
10735 (-[LayoutTestController queueReload]):
10736 (-[LayoutTestController queueScript:]):
10737 (-[LayoutTestController queueLoad:target:]):
10738 (-[LayoutTestController setAcceptsEditing:]):
10739 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
10740 (-[LayoutTestController storeWebScriptObject:]):
10741 (-[LayoutTestController accessStoredWebScriptObject]):
10742 (-[LayoutTestController dealloc]):
10743 (-[LayoutTestController decodeHostName:]):
10744 (-[LayoutTestController encodeHostName:]):
10745 * DumpRenderTree/ObjCController.h: Added.
10746 * DumpRenderTree/ObjCController.m: Added.
10747 (+[ObjCController isSelectorExcludedFromWebScript:]):
10748 (+[ObjCController webScriptNameForSelector:]):
10749 (-[ObjCController objCClassNameOf:]):
10750 (-[ObjCController objCObjectOfClass:]):
10751 (-[ObjCController objCIdentityIsEqual::]):
10752 (-[ObjCController objCLongLongRoundTrip:]):
10753 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
10754 (-[ObjCController testWrapperRoundTripping:]):
10756 2007-09-07 Sam Weinig <sam@webkit.org>
10760 Strip trailing and leading space/newline characters from skiplist file names.
10762 * Scripts/run-webkit-tests:
10764 2007-09-06 Kevin McCullough <kmccullough@apple.com>
10766 Reviewed by Maciej.
10768 - Changed Drosera to take advantage of the JSRetainPtr changes.
10770 * Drosera/DebuggerDocument.cpp:
10771 (DebuggerDocument::breakpointEditorHTML):
10772 (DebuggerDocument::evaluateScript):
10773 (DebuggerDocument::valueForScopeVariableNamed):
10774 (DebuggerDocument::log):
10775 (DebuggerDocument::windowScriptObjectAvailable):
10776 (DebuggerDocument::toJSArray):
10777 (DebuggerDocument::callFunctionOnObject):
10778 (DebuggerDocument::logException):
10779 * Drosera/mac/DebuggerDocumentMac.mm:
10780 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
10781 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
10782 (DebuggerDocument::platformEvaluateScript):
10783 (DebuggerDocument::getPlatformCurrentFunctionStack):
10784 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10785 (DebuggerDocument::platformValueForScopeVariableNamed):
10787 2007-09-05 Kevin McCullough <kmccullough@apple.com>
10789 Reviewed by Adam, Sam, Darin.
10791 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
10793 * Drosera/Debugger.h: Added.
10794 * Drosera/DebuggerDocument.cpp:
10795 (DebuggerDocument::breakpointEditorHTMLCallback):
10796 (DebuggerDocument::isPausedCallback):
10797 (DebuggerDocument::pauseCallback):
10798 (DebuggerDocument::resumeCallback):
10799 (DebuggerDocument::stepIntoCallback):
10800 (DebuggerDocument::evaluateScriptCallback):
10801 (DebuggerDocument::currentFunctionStackCallback):
10802 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
10803 (DebuggerDocument::valueForScopeVariableNamedCallback):
10804 (DebuggerDocument::logCallback):
10805 (DebuggerDocument::breakpointEditorHTML):
10806 (DebuggerDocument::isPaused):
10807 (DebuggerDocument::pause):
10808 (DebuggerDocument::resume):
10809 (DebuggerDocument::stepInto):
10810 (DebuggerDocument::evaluateScript):
10811 (DebuggerDocument::currentFunctionStack):
10812 (DebuggerDocument::localScopeVariableNamesForCallFrame):
10813 (DebuggerDocument::valueForScopeVariableNamed):
10814 (DebuggerDocument::log):
10815 (DebuggerDocument::toolbarPause):
10816 (DebuggerDocument::toolbarResume):
10817 (DebuggerDocument::toolbarStepInto):
10818 (DebuggerDocument::toolbarStepOver):
10819 (DebuggerDocument::toolbarStepOut):
10820 (DebuggerDocument::toolbarShowConsole):
10821 (DebuggerDocument::toolbarCloseCurrentFile):
10822 (DebuggerDocument::updateFileSource):
10823 (DebuggerDocument::didParseScript):
10824 (DebuggerDocument::willExecuteStatement):
10825 (DebuggerDocument::didEnterCallFrame):
10826 (DebuggerDocument::willLeaveCallFrame):
10827 (DebuggerDocument::exceptionWasRaised):
10828 (DebuggerDocument::windowScriptObjectAvailable):
10829 (DebuggerDocument::toJSArray):
10830 (DebuggerDocument::callGlobalFunction):
10831 (DebuggerDocument::callFunctionOnObject):
10832 (DebuggerDocument::getDroseraJSClass):
10833 (DebuggerDocument::staticFunctions):
10834 (DebuggerDocument::logException):
10835 * Drosera/DebuggerDocument.h:
10836 (DebuggerDocument::DebuggerDocument):
10837 * Drosera/ForwardingHeaders: Added.
10838 * Drosera/ForwardingHeaders/wtf: Added.
10839 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
10840 * Drosera/config.h:
10841 * Drosera/console.html:
10842 * Drosera/console.js:
10843 * Drosera/debugger.js:
10844 * Drosera/mac/DebuggerApplication.mm:
10845 (-[DebuggerApplication attach:]):
10846 * Drosera/mac/DebuggerDocumentMac.h:
10847 * Drosera/mac/DebuggerDocumentMac.mm:
10848 (+[NSString stringOrNilFromWebScriptResult:]):
10849 (+[DebuggerClientMac log:]):
10850 (-[DebuggerClientMac initWithServerName:]):
10851 (-[DebuggerClientMac dealloc]):
10852 (-[DebuggerClientMac pause]):
10853 (-[DebuggerClientMac resume]):
10854 (-[DebuggerClientMac pause:]):
10855 (-[DebuggerClientMac resume:]):
10856 (-[DebuggerClientMac stepInto:]):
10857 (-[DebuggerClientMac stepOver:]):
10858 (-[DebuggerClientMac stepOut:]):
10859 (-[DebuggerClientMac showConsole:]):
10860 (-[DebuggerClientMac closeCurrentFile:]):
10861 (-[DebuggerClientMac validateUserInterfaceItem:]):
10862 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
10863 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
10864 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
10865 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
10866 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
10867 (DebuggerDocument::platformPause):
10868 (DebuggerDocument::platformResume):
10869 (DebuggerDocument::platformStepInto):
10870 (DebuggerDocument::platformEvaluateScript):
10871 (DebuggerDocument::platformCurrentFunctionStack):
10872 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
10873 (DebuggerDocument::platformValueForScopeVariableNamed):
10874 (DebuggerDocument::platformLog):
10875 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10877 2007-09-06 Sam Weinig <sam@webkit.org>
10879 Reviewed by Adam Roben.
10881 Register the WebKit DLL on initialization of the DumpRenderTree.
10883 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10886 2007-09-05 Sam Weinig <sam@webkit.org>
10888 Reviewed by Oliver.
10890 Fix many layout test failures caused by r25364.
10891 Set text size to standand size at the begining of each test matching the mac.
10893 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10896 2007-09-04 Sam Weinig <sam@webkit.org>
10900 Fix for <rdar://problem/5382277>
10901 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
10903 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
10904 (textZoomInCallback):
10905 (textZoomOutCallback):
10907 2007-08-29 David Kilzer <ddkilzer@apple.com>
10911 Added case-insensitivity to checks for adding regression tests.
10913 * Scripts/prepare-ChangeLog:
10914 (generateFileList):
10916 2007-08-28 David Kilzer <ddkilzer@apple.com>
10918 Reviewed by Maciej.
10920 Ignore files in /resources/ subdirectories when creating a list of added tests.
10922 * Scripts/prepare-ChangeLog:
10923 (generateFileList):
10925 2007-08-27 Kevin McCullough <kmccullough@apple.com>
10929 - Removed Leopard leaks list since all of those radars were fixed.
10931 * Scripts/run-webkit-tests:
10933 2007-08-27 Adam Roben <aroben@apple.com>
10935 Rubberstamped by Mark.
10937 * Scripts/pdevenv: Pass arguments along to devenv.com.
10939 2007-08-26 David Kilzer <ddkilzer@webkit.org>
10941 Reviewed by Mark Rowe.
10943 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
10945 * Scripts/prepare-ChangeLog:
10946 (changeLogDate): Added.
10948 2007-08-24 Sam Weinig <sam@webkit.org>
10950 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
10952 2007-08-24 Sam Weinig <sam@webkit.org>
10954 Rubber-stamped by Adam Roben.
10956 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
10958 Rename COM DOM bindings to use Deprecated prefix.
10960 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10961 (dumpFramesAsText):
10963 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
10966 (EditingDelegate::shouldBeginEditingInDOMRange):
10967 (EditingDelegate::shouldEndEditingInDOMRange):
10968 (EditingDelegate::shouldInsertNode):
10969 (EditingDelegate::shouldInsertText):
10970 (EditingDelegate::shouldDeleteDOMRange):
10971 (EditingDelegate::shouldChangeSelectedDOMRange):
10972 (EditingDelegate::shouldApplyStyle):
10973 (EditingDelegate::shouldChangeTypingStyle):
10974 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
10976 2007-08-24 Oliver Hunt <oliver@apple.com>
10978 Reviewed by John H.
10980 WebDataSource::response can legitimately have a null response, so we
10981 must check that case.
10983 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
10984 (queueLoadCallback):
10986 2007-08-23 Mitz Pettel <mitz@webkit.org>
10988 Reviewed by Darin and Adam.
10990 - DumpRenderTree changes to allow testing for
10991 http://bugs.webkit.org/show_bug.cgi?id=11756
10992 REGRESSION: link targeting a frame in another window does not work
10993 <rdar://problem/5286420>
10995 Use a frame group name for all WebViews created by DumpRenderTree to
10996 allow testing of cross-page frame lookup.
10998 * DumpRenderTree/DumpRenderTree.m:
10999 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
11000 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11001 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
11003 2007-08-23 David Kilzer <ddkilzer@webkit.org>
11007 Quote the $sslCertificate path in case it contains a space.
11009 * Scripts/run-webkit-httpd:
11010 * Scripts/run-webkit-tests:
11012 2007-08-22 Oliver Hunt <oliver@apple.com>
11014 Reviewed by John and Adam.
11016 WebDataSource::response can legitimately have a null response, so we
11017 must check that case.
11019 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11022 2007-08-21 Kevin McCullough <kmccullough@apple.com>
11026 - Changing the usage to be more clear.
11028 * Scripts/run-testkjs:
11030 2007-08-20 John Sullivan <sullivan@apple.com>
11032 Reviewed by Adam Roben
11034 * DumpRenderTree/DumpRenderTree.m:
11036 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
11037 in layout tests on Tiger and Leopard
11039 2007-08-20 Adam Roben <aroben@apple.com>
11041 Put LayoutTests after all other ChangeLogs in commit logs
11043 We use "~" to sort LayoutTests after all the other ChangeLogs because
11044 "~" is the last ASCII character (other than "DEL").
11048 * Scripts/commit-log-editor:
11050 2007-08-20 Adam Roben <aroben@apple.com>
11052 Detect that DRT crashed even if a crash dialog is running
11054 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
11055 process is still running at this point, so run-webkit-tests wouldn't
11056 detect that DRT had crashed. We now record the crash in our SIGPIPE
11057 handler so that we know if DRT crashed even if the crash dialog is up.
11061 * Scripts/run-webkit-tests:
11062 (sub catch_pipe): Set the crashed bit.
11063 (sub openDumpTool): Reset the crashed bit.
11064 (sub dumpToolDidCrash): Check the crashed bit.
11066 2007-08-20 Adam Roben <aroben@apple.com>
11068 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
11070 http://bugs.webkit.org/show_bug.cgi?id=15026
11072 Reviewed by David Kilzer and Darin Adler.
11074 * Scripts/prepare-ChangeLog:
11075 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
11076 (sub isAddedStatus): Ditto.
11077 (sub testListForChangeLog): Added.
11079 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
11083 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
11085 * Scripts/webkitdirs.pm:
11086 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
11088 2007-08-17 Darin Adler <darin@apple.com>
11090 Reviewed by Oliver Hunt.
11092 - don't look for Apple-style localizable strings in the GTK version of WebKit
11094 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
11095 name of subdirectories to skip.
11096 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
11099 2007-08-17 Anders Carlsson <andersca@apple.com>
11103 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11106 2007-08-17 Anders Carlsson <andersca@apple.com>
11108 Reviewed by Dave Hyatt.
11110 <rdar://problem/5379040>
11111 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
11113 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
11115 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11117 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
11118 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11122 2007-08-16 Alice Liu <alice.liu@apple.com>
11124 Reviewed by Maciej.
11126 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
11128 * DumpRenderTree/DumpRenderTree.m:
11130 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
11132 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
11134 2007-08-16 Kevin McCullough <kmccullough@apple.com>
11138 - Added tests for regressions in other components. In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
11140 * Scripts/run-webkit-tests:
11142 2007-08-15 Timothy Hatcher <timothy@apple.com>
11144 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
11145 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
11147 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
11148 this prevents making "build" directories in each project folder.
11150 * Scripts/webkitdirs.pm:
11152 2007-08-14 Geoffrey Garen <ggaren@apple.com>
11154 Reviewed by Kevin Mccullough.
11156 Removed special case that didn't belong. (It would allow a global
11157 initializer to sneak into production builds, which would cause a
11158 system-wide performance regression on Mac OS X.)
11160 * Scripts/check-for-global-initializers:
11162 2007-08-14 Justin Garcia <justin.garcia@apple.com>
11166 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
11168 * DumpRenderTree/EditingDelegate.m:
11169 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
11170 only for elements with the class needsDeletionUI.
11172 2007-08-14 David Kilzer <ddkilzer@webkit.org>
11174 Reviewed by Darin Adler.
11176 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
11177 svn-create-patch uses deprecated tail switch
11179 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
11181 2007-08-13 Sam Weinig <sam@webkit.org>
11183 Reviewed by Adam Roben.
11185 Use the cygwin specific Apache config file under cygwin.
11187 * Scripts/run-webkit-httpd:
11189 2007-08-12 Adam Roben <aroben@apple.com>
11191 Generate results for new tests in a more logical location
11193 New platform-specific tests always have their results generated right
11194 next to the test. New cross-platform tests will have their results
11195 generated a) in the cross-platform directory, if they are text-only,
11196 or b) in the least-specific platform directory, if they are render
11201 * Scripts/run-webkit-tests:
11203 2007-08-12 Adam Roben <aroben@apple.com>
11205 Print the actual directory where new results are generated.
11207 Before, we were printing an unpredictable, context-specific substring
11212 * Scripts/run-webkit-tests:
11214 2007-08-12 Adam Roben <aroben@apple.com>
11216 Factor some common code into a stripExtension() subroutine.
11220 * Scripts/run-webkit-tests: Also removed some debugging output.
11222 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
11224 Reviewed over and over and over by Adam Roben.
11226 Bug 14740: Hierarchical layout tests and platform organization
11227 http://bugs.webkit.org/show_bug.cgi?id=14740
11229 Add support for platform-specific layout tests and results.
11231 * Scripts/run-webkit-tests:
11233 2007-08-11 David Kilzer <ddkilzer@webkit.org>
11237 Refactored svn-create-path to use a hash-of-hashes data structure to keep
11238 track of changed files. In the top level hash, keys are paths to files and
11239 values are 'fileData' hashes with the following keys and values:
11241 - isBinary: boolean value (set to true for non-text files like images, etc.)
11242 - isTestFile: boolean value (set to true if file exists within a known test
11244 - modificationType: string equal to one of 'addition', 'additionWithHistory',
11245 'modification' or 'deletion'
11246 - path: string equal to the path to the file (this may seem redundant, but it
11247 is required to use the second-level 'fileData' hash independent of the
11249 - sourceFile: [optional] string equal to the path of the original file that was
11251 - sourceRevision: [optional] string equal to the revision of the original file
11252 that was copied or moved
11254 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
11255 that saves the return value in $result, then checks it before printing help.
11256 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
11257 and eliminated two for() loops.
11258 (binarycmp): Added. Used with sort() to order non-binary files before binary
11260 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
11261 (findMimeType): Added optional second argument that takes a revision number.
11262 (generateDiff): Updated to take one fileData argument instead of three ($file,
11263 $modificationType, $isBinary).
11264 (generateFileList): Updated to take one hash ref argument (%diffFiles)
11265 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
11266 %diffFiles using paths for keys and fileData hashes for values.
11267 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
11269 (pathcmp): Updated to take two fileData arguments instead of two strings.
11270 (testfilecmp): Added. Used with sort() to order non-test files before test
11273 2007-08-11 Darin Adler <darin@apple.com>
11275 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
11277 2007-08-06 Nigel Tao <nigeltao@gnome.org>
11279 Reviewed by David Kilzer.
11281 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
11282 http://bugs.webkit.org/show_bug.cgi?id=14745
11284 * Scripts/run-launcher:
11285 Scrub the "--gdk" out of the command line args, if given, so that
11286 GdkLauncher doesn't try to interpret it as a URL.
11288 2007-08-03 Adam Roben <aroben@apple.com>
11290 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
11294 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
11296 2007-08-03 Sam Weinig <sam@webkit.org>
11298 Reviewed by Darin Adler.
11300 Recursively dump all frames as text using new
11301 layoutTestController.dumpChildFramesAsText() function.
11303 * DumpRenderTree/DumpRenderTree.m:
11304 (dumpFramesAsText):
11306 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11307 (-[LayoutTestController dumpChildFramesAsText]):
11309 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11310 (dumpFramesAsText):
11313 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
11314 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
11315 (dumpChildFramesAsTextCallback):
11316 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11318 2007-08-02 Adam Roben <aroben@apple.com>
11320 Fix fast/dom/Window/alert-undefined.html
11324 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
11325 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
11326 Windows translate a null BSTR into "(null)"
11328 2007-08-02 Kevin McCullough <kmccullough@apple.com>
11332 - It would help if I actually called the right function.
11334 * Drosera/DebuggerDocument.cpp:
11335 (DebuggerDocument::showConsole):
11337 2007-08-02 Adam Roben <aroben@apple.com>
11339 Don't delete the stderr file right after creating it
11341 * Scripts/run-webkit-tests:
11343 2007-08-01 Adam Roben <aroben@apple.com>
11345 When DRT crashes, record stderr and restart DRT
11347 This prevents a DRT crash from causing the next few hundred tests to
11348 "fail" because DRT is no longer running.
11350 I also changed the terminology that run-webkit-tests uses in its
11351 output a bit, so that crashing tests are referred to as "crashes"
11352 instead of "failures".
11356 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
11358 (sub openDumpTool): Use open3 so that we can access stderr.
11359 (sub dumpToolCrashed): Added.
11360 (sub printFailureMessageForTest): Added.
11361 (sub htmlForExpectedAndActualResults): Added.
11362 (sub deleteExpectedAndActualResults): Added.
11363 (sub recordActualResultsAndDiff): Added.
11365 2007-07-30 Darin Adler <darin@apple.com>
11367 Reviewed by Tim Hatcher.
11369 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
11370 characters. This turned out not to be needed for the test case that motivated me to
11371 do it, but it's nice to have this for the future.
11373 2007-07-30 Simon Hausmann <hausmann@kde.org>
11377 Link QtLauncher into $$OUTPUT_DIR/bin
11379 * Scripts/run-launcher:
11381 2007-07-27 David Kilzer <ddkilzer@apple.com>
11383 Reviewed by Geoff and Darin.
11385 Use a subroutine for validating the --skipped switch.
11387 * Scripts/run-webkit-tests:
11389 2007-07-27 Darin Adler <darin@apple.com>
11393 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
11395 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
11399 Correct the path of GdkLauncher and make checkFrameworks work on OSX
11400 when building the Qt or Gtk+ port.
11402 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
11403 * Scripts/run-launcher:
11404 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
11406 2007-07-27 Simon Hausmann <hausmann@kde.org>
11408 Done with and reviewed by Lars and Zack.
11410 Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
11412 * Scripts/webkitdirs.pm:
11414 2007-07-27 Simon Hausmann <hausmann@kde.org>
11416 Done with and reviewed by Lars and Zack.
11418 For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
11420 * Scripts/webkitdirs.pm:
11422 2007-07-26 Kevin McCullough <kmccullough@apple.com>
11424 Reviewed by Darin, Geoff, Sam.
11426 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
11428 - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
11430 * DumpRenderTree/UIDelegate.h:
11431 * DumpRenderTree/UIDelegate.m:
11432 (-[UIDelegate webView:setFrame:]):
11433 (-[UIDelegate webViewFrame:]):
11435 2007-07-26 Kevin McCullough <kmccullough@apple.com>
11439 - Lars wanted this check for Qt but it breaks platform specific layout tests.
11441 * Scripts/run-webkit-tests:
11443 2007-07-25 Kevin McCullough <kmccullough@apple.com>
11445 Reviewed by Tim, Darin, Oliver.
11447 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
11448 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
11451 * DumpRenderTree/DumpRenderTree.m:
11454 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11455 (+[LayoutTestController webScriptNameForSelector:]):
11456 (-[LayoutTestController setCustomPolicyDelegate:]):
11457 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11458 * DumpRenderTree/FrameLoadDelegate.h:
11459 * DumpRenderTree/PolicyDelegate.h: Added.
11460 * DumpRenderTree/PolicyDelegate.m: Added.
11461 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
11462 * DumpRenderTree/ResourceLoadDelegate.h:
11464 2007-07-25 Adam Treat <treat@kde.org>
11468 Fix build for some reported systems.
11470 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11472 2007-07-23 Adam Treat <treat@kde.org>
11474 Reviewed by Nikolas.
11476 Fix qt DRT to suppress js popup alerts and log instead.
11478 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11479 (WebCore::WebPage::javaScriptAlert):
11481 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
11485 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
11486 honor --qmakearg for the Gdk/Gtk build as well.
11488 * GdkLauncher/main.cpp: Switch to the new API
11489 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
11491 2007-07-22 Darin Adler <darin@apple.com>
11493 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
11494 Fix a leak by releasing the array used here.
11496 2007-07-22 David Kilzer <ddkilzer@webkit.org>
11498 Reviewed by Darin Adler.
11500 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
11501 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
11503 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
11504 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
11506 * Scripts/update-iexploder-cssproperties: Added.
11507 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
11508 Added new CSS3 property section and Moved box-sizing property to it.
11510 2007-07-22 Oliver Hunt <oliver@apple.com>
11512 Reviewed by Darin Adler.
11514 http://bugs.webkit.org/show_bug.cgi?id=14710
11516 Add preliminary support for testing Input Method/WebKit behaviour and interaction
11517 in DRT. This provides the NSTextInput API which is most of what should be necessary
11518 to mimic the event sequences Input Methods trigger.
11520 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11521 * DumpRenderTree/TextInputController.h:
11522 * DumpRenderTree/TextInputController.m:
11523 (-[WebHTMLView interpretKeyEvents:]):
11524 (+[TextInputController isSelectorExcludedFromWebScript:]):
11525 (+[TextInputController webScriptNameForSelector:]):
11526 (-[TextInputController initWithWebView:]):
11527 (-[TextInputController dealloc]):
11528 (-[TextInputController textInput]):
11529 (-[TextInputController setInputMethodHandler:]):
11530 (-[TextInputController interpretKeyEvents:withSender:]):
11532 2007-07-20 Adam Roben <aroben@apple.com>
11534 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
11535 message not count as an existing log.
11537 2007-07-19 Geoffrey Garen <ggaren@apple.com>
11539 Reviewed by Darin Adler.
11541 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
11542 value behavior of stringByEvaluatingJavaScriptFromString
11544 * DumpRenderTree/DumpRenderTree.m:
11545 (testStringByEvaluatingJavaScriptFromString):
11546 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11548 2007-07-19 Adam Roben <aroben@apple.com>
11550 Make commit-log-editor work with git
11554 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
11555 commit message template. Also removed the unused $breakPoint variable.
11557 2007-07-19 Adam Roben <aroben@apple.com>
11559 Move generally-useful VCS code into a new VCSUtils.pm module
11561 This is in preparation for making commit-log-editor git-friendly.
11565 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
11566 * Scripts/prepare-ChangeLog: Use VCSUtils.
11568 2007-07-19 Lars Knoll <lars@trolltech.com>
11570 Fix a crash on exit when running DRT against a current
11575 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
11578 2007-07-18 Adam Roben <aroben@apple.com>
11580 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
11584 * Scripts/run-webkit-httpd:
11585 * Scripts/run-webkit-tests:
11587 2007-07-18 Adam Roben <aroben@apple.com>
11589 More git friendliness for prepare-ChangeLog
11591 The overall change is to remove the use of git-status and replace it
11592 with git-diff --name-status (which we were already using in the
11593 --git-commit case).
11595 This lets us respect directories specified on the command line when
11596 using git, just as we do for Subversion. It also speeds things up a
11597 bit, especially in the subdirectory case, as git-status is pretty slow.
11599 I also fixed some issues where we wouldn't detect copied files and
11600 would reverse the new filename and the original filename for renamed files.
11604 * Scripts/prepare-ChangeLog:
11605 (sub diffFromToString): Added.
11606 (sub diffCommand): Don't append the paths in the --git-commit case, as
11607 we should be operating on the entire commit.
11608 (sub statusCommand): Always use git-diff --name-status, and added an
11609 extra -C option to git-diff to make it find a few more copied files.
11610 (sub createPatchCommand): Collapsed the two git cases a bit, and added
11611 the extra -C option as above.
11612 (sub generateFileList): Remove the git-status codepath, and recognize
11613 file copies in the --name-status output.
11614 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
11616 (sub isConflictStatus): Updated the git dictionary.
11617 (sub statusDescription): Updated the git dictionary.
11619 2007-07-18 Timothy Hatcher <timothy@apple.com>
11621 * Scripts/build-drosera: Update where we look for the Xcode project.
11623 2007-07-18 Adam Treat <treat@kde.org>
11627 Use the old wording for Safari.
11629 * Scripts/build-webkit:
11630 * Scripts/webkitdirs.pm:
11632 2007-07-18 Adam Treat <treat@kde.org>
11636 Add convenience script for launching test apps for Qt and Gdk ports.
11637 Change the build-webkit script accordingly.
11639 * Scripts/build-webkit:
11640 * Scripts/run-launcher: Added.
11641 * Scripts/webkitdirs.pm:
11643 2007-07-18 Timothy Hatcher <timothy@apple.com>
11647 Make the Page with the now required InspectorClient.
11649 * GdkLauncher/main.cpp:
11652 2007-07-18 Timothy Hatcher <timothy@apple.com>
11654 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
11655 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
11657 * Drosera/Makefile: Added.
11658 * Drosera/mac/Makefile:
11659 * DumpRenderTree/Makefile:
11661 * Makefile.Drosera: Removed.
11662 * Makefile.shared: Removed.
11664 2007-07-18 Timothy Hatcher <timothy@apple.com>
11666 The console log was 20px down from the top for no reason, move it up.
11668 * Drosera/console.css:
11670 2007-07-18 Timothy Hatcher <timothy@apple.com>
11672 Use contentDocument to get the source view's iframe document.
11673 Also adds a null/undefined check for localVariableNames.
11675 * Drosera/debugger.js:
11677 2007-07-18 Lars Knoll <lars@trolltech.com>
11679 We really don't want to compare non text only tests to the
11680 Mac results if we don't have a result for Qt, as this would
11681 give a failure and not a notification that the test is new.
11685 * Scripts/run-webkit-tests:
11687 2007-07-18 Lars Knoll <lars@trolltech.com>
11689 Reviewed by Zack & Simon
11691 Adjust to changed API in QWebFrame
11693 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11694 (WebCore::DumpRenderTree::DumpRenderTree):
11696 2007-07-18 Mark Rowe <mrowe@apple.com>
11698 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
11700 * BuildSlaveSupport/build-launcher-app:
11702 2007-07-17 Geoffrey Garen <ggaren@apple.com>
11704 Reviewed by Antti Koivisto.
11706 Added watchdog timer to waitUntilDone to prevent a run-away test from
11707 hanging the test harness.
11709 * DumpRenderTree/DumpRenderTree.m:
11711 (-[LayoutTestController waitUntilDone]):
11712 (-[LayoutTestController waitUntilDoneWatchdogFired]):
11713 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11715 2007-07-17 Kevin McCullough <kmccullough@apple.com>
11719 - Implemented cross-platform code for functions calling into the JavaScript.
11721 * Drosera/DebuggerDocument.cpp:
11722 (DebuggerDocument::callAsFunction):
11723 (DebuggerDocument::pauseJS):
11724 (DebuggerDocument::resumeJS):
11725 (DebuggerDocument::stepIntoJS):
11726 (DebuggerDocument::stepOverJS):
11727 (DebuggerDocument::stepOutJS):
11728 (DebuggerDocument::showConsoleJS):
11729 (DebuggerDocument::closeCurrentFileJS):
11730 (DebuggerDocument::updateFileSource):
11731 (DebuggerDocument::didParseScript):
11732 (DebuggerDocument::willExecuteStatement):
11733 (DebuggerDocument::didEnterCallFrame):
11734 (DebuggerDocument::willLeaveCallFrame):
11735 (DebuggerDocument::exceptionWasRaised):
11736 * Drosera/DebuggerDocument.h:
11737 * Drosera/mac/DebuggerDocumentMac.mm:
11738 (-[DebuggerDocumentMac pause:]):
11739 (-[DebuggerDocumentMac resume:]):
11740 (-[DebuggerDocumentMac stepInto:]):
11741 (-[DebuggerDocumentMac stepOver:]):
11742 (-[DebuggerDocumentMac stepOut:]):
11743 (-[DebuggerDocumentMac showConsole:]):
11744 (-[DebuggerDocumentMac closeCurrentFile:]):
11745 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
11746 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
11747 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
11748 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
11749 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
11750 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
11752 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11754 Reviewed by Darin Adler.
11756 - Continued x-platform modifications.
11758 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
11759 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
11760 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
11761 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
11762 * Drosera/win/Drosera.cpp:
11763 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
11764 * Drosera/win/stdafx.cpp: Removed.
11765 * Drosera/win/stdafx.h: Removed.
11767 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11771 - Modified files to use cross-platform code.
11773 * Drosera/DebuggerDocument.cpp: Added.
11774 (DebuggerDocument::breakpointEditorHTML):
11775 (DebuggerDocument::isPaused):
11776 (DebuggerDocument::pause):
11777 (DebuggerDocument::resume):
11778 (DebuggerDocument::stepInto):
11779 (DebuggerDocument::evaluateScript):
11780 (DebuggerDocument::currentFunctionStack):
11781 (DebuggerDocument::localScopeVariableNamesForCallFrame):
11782 (DebuggerDocument::valueForScopeVariableNamed):
11783 * Drosera/DebuggerDocument.h: Added.
11784 (DebuggerDocument::DebuggerDocument):
11785 * Drosera/config.h: Added.
11786 * Drosera/mac/DebuggerApplication.mm:
11787 (-[DebuggerApplication attach:]):
11788 * Drosera/mac/DebuggerDocument.h: Removed.
11789 * Drosera/mac/DebuggerDocument.mm: Removed.
11790 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
11791 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
11792 (-[DebuggerDocumentMac initWithServerName:]):
11793 (-[DebuggerDocumentMac dealloc]):
11794 (-[DebuggerDocumentMac breakpointEditorHTML]):
11795 (-[DebuggerDocumentMac isPaused]):
11796 (-[DebuggerDocumentMac pause]):
11797 (-[DebuggerDocumentMac resume]):
11798 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11799 * Drosera/win/DebuggerApplication.cpp:
11800 * Drosera/win/DebuggerObjectCallbacks.cpp:
11801 (breakpointEditorHTMLCallback):
11802 (currentFunctionStackCallback):
11803 (evaluateScript_inCallFrame_Callback):
11804 (isPausedCallback):
11805 (localScopeVariableNamesForCallFrame_Callback):
11808 (stepIntoCallback):
11809 (valueForScopeVariableNamed_inCallFrame_Callback):
11811 * Drosera/win/Drosera.cpp:
11812 * Drosera/win/DroseraPrefix.cpp: Added.
11813 * Drosera/win/DroseraPrefix.h: Added.
11815 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11817 Reviewed by Adam, Sam and Tim.
11819 - Moving files to prepare for cross-platform architecture.
11821 * Drosera/DebuggerApplication.h: Removed.
11822 * Drosera/DebuggerApplication.m: Removed.
11823 * Drosera/DebuggerDocument.h: Removed.
11824 * Drosera/DebuggerDocument.m: Removed.
11825 * Drosera/Drosera.pch: Removed.
11826 * Drosera/Drosera.xcodeproj: Removed.
11827 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
11828 * Drosera/Info.plist: Removed.
11829 * Drosera/LauncherInfo.plist: Removed.
11830 * Drosera/Makefile: Removed.
11831 * Drosera/launcher.m: Removed.
11832 * Drosera/mac: Added.
11833 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
11834 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
11835 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
11836 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
11837 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
11838 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
11839 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11840 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
11841 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
11842 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
11843 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
11844 * Drosera/mac/main.m: Copied from Drosera/main.m.
11845 * Drosera/main.m: Removed.
11847 * Makefile.Drosera: Added.
11849 2007-07-15 Mark Rowe <mrowe@apple.com>
11851 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
11853 2007-07-13 Sam Weinig <sam@webkit.org>
11855 Reviewed by Geoff Garen.
11857 Add support for running SSL tests over HTTPS.
11859 * DumpRenderTree/DumpRenderTree.m:
11861 * DumpRenderTree/FrameLoadDelegate.m:
11862 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
11863 * Scripts/run-webkit-httpd:
11864 * Scripts/run-webkit-tests:
11866 2007-07-13 David Kilzer <ddkilzer@apple.com>
11868 Reviewed by Darin Adler.
11870 Added support for -h|--help argument and verify that all command line arguments parse
11873 * Scripts/run-webkit-httpd:
11875 2007-07-12 Mark Rowe <mrowe@apple.com>
11879 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
11881 * Scripts/run-webkit-tests:
11883 2007-07-12 Geoffrey Garen <ggaren@apple.com>
11885 Reviewed by Oliver Hunt.
11887 Made the leaks tests pass on Leopard.
11889 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
11890 * Scripts/run-leaks: Updated parser for slight change in text output.
11892 2007-07-11 David Kilzer <ddkilzer@apple.com>
11894 Reviewed by Maciej.
11896 Update the iExploder list of CSS properties after box-sizing was renamed to
11897 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
11899 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
11900 -moz-box-sizing remain.
11902 2007-07-10 Darin Adler <darin@apple.com>
11904 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
11905 Foundation's multipart/mixed-replace support -- I already verified that
11906 the bug has been fixed.
11908 2007-07-10 Alice Liu <alice.liu@apple.com>
11910 rubber stamped by Maciej.
11912 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
11914 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11915 (initializePreferences):
11916 set editable link behavior to match Mac DRT.
11918 2007-07-10 Geoffrey Garen <ggaren@apple.com>
11920 Reviewed by Tim Hatcher.
11922 Ignore Page.o in debug builds because it now has a static PageCounter
11925 * Scripts/check-for-global-initializers:
11927 2007-07-09 Darin Adler <darin@apple.com>
11929 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
11931 2007-07-09 Alice Liu <alice.liu@apple.com>
11933 Reviewed by Adam Roben.
11935 setting DOM Paste Allowed Pref
11937 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11938 (initializePreferences):
11940 2007-07-05 Kevin McCullough <kmccullough@apple.com>
11942 Reviewed by Adam, Sam, and Ada.
11944 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
11946 * Drosera/Images/Drosera.ico: Added.
11947 * Drosera/Images/small.ico: Added.
11948 * Drosera/win: Added.
11949 * Drosera/win/BaseDelegate.h: Added.
11950 (BaseDelegate::QueryInterface):
11951 (BaseDelegate::didFinishLoadForFrame):
11952 (BaseDelegate::windowScriptObjectAvailable):
11953 (BaseDelegate::didStartProvisionalLoadForFrame):
11954 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
11955 (BaseDelegate::didFailProvisionalLoadWithError):
11956 (BaseDelegate::didCommitLoadForFrame):
11957 (BaseDelegate::didReceiveTitle):
11958 (BaseDelegate::didReceiveIcon):
11959 (BaseDelegate::didFailLoadWithError):
11960 (BaseDelegate::didChangeLocationWithinPageForFrame):
11961 (BaseDelegate::willPerformClientRedirectToURL):
11962 (BaseDelegate::didCancelClientRedirectForFrame):
11963 (BaseDelegate::willCloseFrame):
11964 (BaseDelegate::createWebViewWithRequest):
11965 (BaseDelegate::webViewShow):
11966 (BaseDelegate::webViewClose):
11967 (BaseDelegate::webViewFocus):
11968 (BaseDelegate::webViewUnfocus):
11969 (BaseDelegate::webViewFirstResponder):
11970 (BaseDelegate::makeFirstResponder):
11971 (BaseDelegate::setStatusText):
11972 (BaseDelegate::webViewStatusText):
11973 (BaseDelegate::webViewAreToolbarsVisible):
11974 (BaseDelegate::setToolbarsVisible):
11975 (BaseDelegate::webViewIsStatusBarVisible):
11976 (BaseDelegate::setStatusBarVisible):
11977 (BaseDelegate::webViewIsResizable):
11978 (BaseDelegate::setResizable):
11979 (BaseDelegate::setFrame):
11980 (BaseDelegate::webViewFrame):
11981 (BaseDelegate::setContentRect):
11982 (BaseDelegate::webViewContentRect):
11983 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
11984 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
11985 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
11986 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
11987 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
11988 (BaseDelegate::mouseDidMoveOverElement):
11989 (BaseDelegate::contextMenuItemsForElement):
11990 (BaseDelegate::validateUserInterfaceItem):
11991 (BaseDelegate::shouldPerformAction):
11992 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
11993 (BaseDelegate::willPerformDragDestinationAction):
11994 (BaseDelegate::dragSourceActionMaskForPoint):
11995 (BaseDelegate::willPerformDragSourceAction):
11996 (BaseDelegate::contextMenuItemSelected):
11997 (BaseDelegate::hasCustomMenuImplementation):
11998 (BaseDelegate::trackCustomPopupMenu):
11999 (BaseDelegate::measureCustomMenuItem):
12000 (BaseDelegate::drawCustomMenuItem):
12001 (BaseDelegate::addCustomMenuDrawingData):
12002 (BaseDelegate::cleanUpCustomMenuDrawingData):
12003 (BaseDelegate::canTakeFocus):
12004 (BaseDelegate::takeFocus):
12005 (BaseDelegate::registerUndoWithTarget):
12006 (BaseDelegate::removeAllActionsWithTarget):
12007 (BaseDelegate::setActionTitle):
12008 (BaseDelegate::undo):
12009 (BaseDelegate::redo):
12010 (BaseDelegate::canUndo):
12011 (BaseDelegate::canRedo):
12012 * Drosera/win/DebuggerApplication.cpp: Added.
12013 (DebuggerApplication::serverLoaded):
12014 (DebuggerApplication::serverUnloaded):
12015 (DebuggerApplication::attach):
12016 (DebuggerApplication::numberOfRowsInTableView):
12017 (DebuggerApplication::tableView):
12018 * Drosera/win/DebuggerApplication.h: Added.
12019 (DebuggerApplication::DebuggerApplication):
12020 (DebuggerApplication::knownServers):
12021 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
12022 (breakpointEditorHTMLCallback):
12023 (currentFunctionStackCallback):
12024 (doubleClickMillisecondsCallback):
12025 (evaluateScript_inCallFrame_Callback):
12026 (isPausedCallback):
12027 (localScopeVariableNamesForCallFrame_Callback):
12030 (stepIntoCallback):
12031 (valueForScopeVariableNamed_inCallFrame_Callback):
12033 * Drosera/win/DebuggerObjectCallbacks.h: Added.
12034 * Drosera/win/Drosera.cpp: Added.
12036 (RegisterDroseraClass):
12040 (Drosera::Drosera):
12042 (Drosera::QueryInterface):
12044 (Drosera::Release):
12045 (Drosera::didFinishLoadForFrame):
12046 (getDroseraJSClass):
12047 (Drosera::windowScriptObjectAvailable):
12048 (Drosera::webViewClose):
12049 (Drosera::validateUserInterfaceItem):
12050 (Drosera::runJavaScriptAlertPanelWithMessage):
12052 * Drosera/win/Drosera.h: Added.
12053 (Drosera::webViewLoaded):
12054 * Drosera/win/Drosera.vcproj: Added.
12055 * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
12056 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
12057 * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
12058 * Drosera/win/Drosera.vcproj/release.vsprops: Added.
12059 * Drosera/win/HelperFunctions.h: Added.
12061 * Drosera/win/Info.plist: Added.
12062 * Drosera/win/resource.h: Added.
12063 * Drosera/win/stdafx.cpp: Added.
12064 * Drosera/win/stdafx.h: Added.
12066 2007-07-09 Adam Treat <adam@staikos.net>
12068 Reviewed by George Staikos.
12070 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
12073 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12074 (WebCore::DumpRenderTree::DumpRenderTree):
12076 2007-07-09 Anders Carlsson <andersca@apple.com>
12078 Reviewed by Oliver.
12080 <rdar://problem/4954319>
12081 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
12082 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
12084 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
12085 return an error from NPP_NewStream.
12087 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12089 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
12090 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
12094 2007-07-08 Mark Rowe <mrowe@apple.com>
12096 Change name from WebKit/Qt to WebKit.
12098 * CodeCoverage/regenerate-coverage-display:
12100 2007-07-08 Rob Buis <buis@kde.org>
12104 http://bugs.webkit.org/show_bug.cgi?id=14209
12105 DRT should be able to deal with text zoom
12107 Allow increasing/decreasing text zoom using eventSender.
12109 * DumpRenderTree/DumpRenderTree.m:
12111 * DumpRenderTree/EventSendingController.m:
12112 (+[EventSendingController initialize]):
12113 (+[EventSendingController isSelectorExcludedFromWebScript:]):
12114 (-[EventSendingController textZoomIn]):
12115 (-[EventSendingController textZoomOut]):
12117 2007-07-07 Mark Rowe <mrowe@apple.com>
12119 Reviewed by Oliver.
12121 * DumpRenderTree/DumpRenderTree.m:
12122 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
12124 2007-07-06 Anders Carlsson <andersca@apple.com>
12126 Reviewed by David Kilzer.
12128 <rdar://problem/5313502>
12129 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
12131 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
12132 response's attributes. Also change the JavaScript MIME type to be "text/javascript".
12134 * DumpRenderTree/DumpRenderTree.m:
12136 (convertWebResourceDataToString):
12137 (convertWebResourceResponseToDictionary):
12138 (serializeWebArchiveToXML):
12140 2007-07-06 Timothy Hatcher <timothy@apple.com>
12142 Reviewed by Oliver.
12144 Initialize the NSMutableAttributedString directly instead of creating
12145 a NSAttributedString first.
12147 * DumpRenderTree/TextInputController.m:
12148 (-[TextInputController attributedStringWithString:]):
12150 2007-07-06 Anders Carlsson <andersca@apple.com>
12152 Reviewed by David Kilzer.
12154 Replace "Apple Computer" with "Apple" in the DTD declaration.
12156 * DumpRenderTree/DumpRenderTree.m:
12157 (serializeWebArchiveToXML):
12159 2007-07-06 Adam Treat <adam@staikos.net>
12161 Reviewed by George Staikos.
12163 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
12165 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12166 (WebCore::DumpRenderTree::DumpRenderTree):
12168 2007-07-06 George Staikos <staikos@kde.org>
12170 Reviewed by Anders.
12172 Allow passing of additional arguments to qmake with --qmakearg=
12174 * Scripts/webkitdirs.pm:
12176 2007-07-05 George Staikos <staikos@kde.org>
12178 Reviewed by Maciej.
12180 Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
12181 give a path to a specific qmake binary. Both are optional.
12183 * Scripts/webkitdirs.pm:
12185 2007-07-05 Adam Roben <aroben@apple.com>
12187 Warn about tests in the Skipped file that succeeded
12189 * Scripts/run-webkit-tests:
12191 2007-07-05 Adam Roben <aroben@apple.com>
12193 Removed unused install-win-extras script
12195 Rubberstamped by Mark.
12197 * Scripts/install-win-extras: Removed.
12199 2007-07-05 Adam Roben <aroben@apple.com>
12201 Show the test's extension in the results page
12203 * Scripts/run-webkit-tests:
12205 2007-07-05 Adam Roben <aroben@apple.com>
12207 Add more options for controlling the interpretation of the Skipped file
12211 * Scripts/run-webkit-tests:
12213 2007-07-04 Adam Roben <aroben@apple.com>
12215 Add --skipped-only option to run-webkit-tests
12217 When this option is specified, only those tests listed in the Skipped
12222 * Scripts/run-webkit-tests:
12224 2007-07-04 Adam Roben <aroben@apple.com>
12226 Clean up/alphabetize the run-webkit-tests help message
12228 * Scripts/run-webkit-tests:
12230 2007-07-04 Adam Roben <aroben@apple.com>
12232 Enable a Leopard-specific Skipped list.
12236 * Scripts/run-webkit-tests: Check for Leopard.
12237 * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
12239 2007-07-03 Adam Roben <aroben@apple.com>
12241 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
12243 Got rid of extract-webkit-localizable-strings because it was trying to
12244 do update-webkit-localizable-strings' job.
12246 Rubberstamped by Darin Adler.
12248 * Scripts/extract-webkit-localizable-strings: Removed.
12249 * Scripts/update-webkit-localizable-strings: Renamed from
12250 extract-localizable-strings.
12252 2007-07-03 Adam Roben <aroben@apple.com>
12254 Modify scripts to keep Mac/Windows localized strings in sync
12256 extract-webkit-localizable-strings now handles extracting strings from
12257 both the Mac and Windows WebKit ports and updating their respective
12258 Localizable.strings files. extract-localizable-strings is now really a
12259 piece of plumbing rather than a top-level tool.
12261 Reviewed by Darin and Anders.
12263 * Scripts/extract-localizable-strings: Changed to handle multiple
12265 * Scripts/extract-webkit-localizable-strings: Added.
12267 2007-07-03 Adele Peterson <adele@apple.com>
12269 Reviewed by Darin Adler.
12271 Extended DumpRenderTree to test encoding and decoding host names.
12273 * DumpRenderTree/DumpRenderTree.m:
12274 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
12275 (+[LayoutTestController webScriptNameForSelector:]): ditto.
12276 (-[LayoutTestController decodeHostName:]): Added.
12277 (-[LayoutTestController encodeHostName:]): Added.
12279 2007-07-03 Sam Weinig <sam@webkit.org>
12281 Reviewed by Darin Adler.
12283 Eleventh round of fixes for implicit 64-32 bit conversion errors.
12284 <rdar://problem/5292262>
12286 Add functions to test long long and unsigned long long.
12288 * DumpRenderTree/DumpRenderTree.m:
12289 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12290 (+[LayoutTestController webScriptNameForSelector:]):
12291 (-[LayoutTestController objCLongLongRoundTrip:]):
12292 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
12294 2007-07-01 Adam Roben <aroben@apple.com>
12296 Fix some paths to make http tests work again on Windows
12298 Rubberstamped by Sam.
12300 * Scripts/run-webkit-tests:
12302 2007-06-28 Stephanie <slewis@apple.com>
12306 Allow tests to use pre-built roots instead of building the tests.
12308 * Scripts/run-javascriptcore-tests: added --root option
12309 * Scripts/run-webkit-tests: added --root option
12310 * Scripts/webkitdirs.pm: added support for using a root
12312 2007-06-25 Adam Roben <aroben@apple.com>
12314 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
12315 http://bugs.webkit.org/show_bug.cgi?id=14405
12317 Reviewed by Anders.
12319 * Scripts/run-webkit-tests:
12321 2007-06-25 Adam Roben <aroben@apple.com>
12323 Enable running the regression tests on Windows.
12325 These changes were developed alongside the Windows WebKit port and
12326 have been well tested.
12328 Rubberstamped by Sam.
12330 * Scripts/run-webkit-tests:
12332 2007-06-25 Adam Roben <aroben@apple.com>
12334 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
12335 http://bugs.webkit.org/show_bug.cgi?id=14403
12337 Reviewed by Mark Rowe.
12339 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
12340 (sub createPatchCommand): Generate a correct diff in the $gitCommit
12343 2007-06-25 Adam Roben <aroben@apple.com>
12345 Land pdevenv and supporting scripts/programs
12347 pdevenv is a script that will open an instance of Visual Studio that
12348 can compile multiple files in parallel, similar to make -jN. It uses
12349 the following scripts/programs to accomplish this:
12351 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
12353 parallelcl: Actually performs the parallel compilation by forking
12354 multiple instances of the Microsoft-supplied cl.exe.
12356 MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
12357 Microsoft-supplied midl.exe. This avoids having to invoke perl for
12358 every invocation of midl.exe, which would be quite slow.
12360 Rubberstamped by Sam.
12362 * CLWrapper/CLWrapper.cpp: Added.
12364 * CLWrapper/CLWrapper.sln: Added.
12365 * CLWrapper/CLWrapper.vcproj: Added.
12366 * MIDLWrapper/MIDLWrapper.cpp: Added.
12368 * MIDLWrapper/MIDLWrapper.sln: Added.
12369 * MIDLWrapper/MIDLWrapper.vcproj: Added.
12370 * Scripts/parallelcl: Added.
12371 * Scripts/pdevenv: Added.
12372 * vcbin/cl.exe: Added.
12373 * vcbin/midl.exe: Added.
12375 2007-06-23 Adam Roben <aroben@apple.com>
12377 Land num-cpus for the Windows build.
12379 Reviewed by Mark Rowe.
12381 * Scripts/num-cpus: Added.
12383 2007-06-22 Simon Hausmann <hausmann@kde.org>
12385 Reviewed by Adam Roben.
12387 Added support for populating ChangeLog entries from given git commits
12388 using --git-commit=<commitish> and --git-reviewer=<name>.
12390 * Scripts/prepare-ChangeLog:
12392 2007-06-22 Timothy Hatcher <timothy@apple.com>
12394 Reviewed by Anders.
12396 <rdar://problem/5228168> Leopard regression test failures: fast/applescript
12398 There were some changes in Leopard that made our test output inconsistent with Tiger.
12400 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
12401 on Leopard, so output our own readable string for typeType descriptors.
12403 NSArray's description also changed on Leopard to output more whitespace, so
12404 make our own string representation for typeAEList descriptors. This requires
12405 a special case typeUnicodeText too, so the output is a quoted string.
12407 * DumpRenderTree/AppleScriptController.m:
12408 (convertAEDescToObject):
12410 2007-06-21 Anders Carlsson <andersca@apple.com>
12414 Don't dump didFirstLayout callbacks, they happen intermittently.
12416 * DumpRenderTree/FrameLoadDelegate.m:
12418 2007-06-21 Lars Knoll <lars@trolltech.com>
12422 look for the Qt library in the installed location
12424 * Scripts/webkitdirs.pm:
12426 2007-06-20 Geoffrey Garen <ggaren@apple.com>
12428 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
12430 Added tests for stringByEvaluatingJavaScriptFromString.
12432 * DumpRenderTree/DumpRenderTree.m:
12433 (testStringByEvaluatingJavaScriptFromString):
12436 2007-06-19 Andrew Wellington <proton@wiretapped.net>
12438 Reviewed by Mark Rowe.
12440 Support applications with spaces or special characters in their names
12442 * Scripts/run-webkit-app:
12444 2007-06-18 Anders Carlsson <andersca@apple.com>
12446 Reviewed by John Sullivan.
12448 Assert that the frame has a dataSource.
12450 * DumpRenderTree/FrameLoadDelegate.m:
12451 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
12453 2007-06-18 Adam Treat <adam@staikos.net>
12455 Reviewed by George.
12457 Reflect the library name change.
12459 * Scripts/webkitdirs.pm:
12461 2007-06-18 Jake Helfert <jake@jakeonthenet.com>
12465 - fix http://bugs.webkit.org/show_bug.cgi?id=14154
12466 Spinneret doesn't build against the new Win32 port.
12468 * Spinneret/Spinneret/Spinneret.cpp:
12470 -Changed IWebViewExt to IWebViewPrivate
12471 -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
12472 the WIN32 function RegisterDragDrop which requires the Ole* calls.
12473 * Spinneret/Spinneret/Spinneret.h:
12474 (SpinneretWebHost::didReceiveIcon): Updated method signature.
12475 (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
12476 (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
12478 2007-06-14 Sam Weinig <sam@webkit.org>
12482 Update set of files to download for cygwin to include
12483 diffutils and regenerate the zip file. This should fix
12484 an issue on vista where svn-create-patch doesn't work.
12486 * CygwinDownloader/cygwin-downloader.py:
12487 * CygwinDownloader/cygwin-downloader.zip:
12489 2007-06-14 Mark Rowe <mrowe@apple.com>
12491 Update script to match new nightly.webkit.org infrastructure.
12493 * BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build.
12495 2007-06-12 Adam Roben <aroben@apple.com>
12497 Land CygwinDownloader.
12499 Rubberstamped by Hyatt.
12501 * CygwinDownloader/cygwin-downloader.py: Added.
12502 * CygwinDownloader/cygwin-downloader.zip: Added.
12503 * CygwinDownloader/make-zip.sh: Added.
12504 * CygwinDownloader/setup.py: Added.
12506 2007-06-06 Vladimir Olexa <vladimir.olexa@gmail.com>
12508 Reviewed by Mark Rowe.
12510 Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
12511 [Drosera] Items in the file list don't get un-highlighted when
12512 files are selected from the file drop-down
12514 * Drosera/debugger.js: currentFile was getting modified before file in the file
12515 browser got un-highlighted. Changed the order in which the functions execute.
12517 2007-06-06 Mark Rowe <mrowe@apple.com>
12519 Reviewed by Maciej.
12521 http://bugs.webkit.org/show_bug.cgi?id=13988
12522 Bug 13988: Colon in file path crashes WebKit Nightly
12524 The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
12525 the bundled WebKit framework. Both of these variables are interpreted as containing a
12526 colon-delimited list of paths. There is no escaping mechanism defined, so if we detect
12527 a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
12528 when we execute Safari.
12530 * WebKitLauncher/main.m:
12533 2007-06-05 Mark Rowe <mrowe@apple.com>
12535 Reviewed by Anders.
12537 * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
12539 2007-05-30 Alp Toker <alp.toker@collabora.co.uk>
12543 Enable logging in the Gdk port.
12544 http://bugs.webkit.org/show_bug.cgi?id=13936
12546 * GdkLauncher/main.cpp:
12549 2007-05-29 Holger Freyther <zecke@selfish.org>
12551 Reviewed by Anders.
12553 Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
12554 to provide ScrollBars for the FrameView.
12556 * GdkLauncher/main.cpp:
12557 (registerRenderingAreaEvents):
12558 (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
12559 (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
12562 2007-05-29 David Kilzer <ddkilzer@webkit.org>
12564 Reviewed by Darin Adler.
12566 - fix http://bugs.webkit.org/show_bug.cgi?id=13901
12567 run-pageloadtest does not obey testName on command-line
12569 * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
12570 otherwise default to "svg". Added dummy check to make sure $testName.pltsuite
12573 2007-05-29 David Kilzer <ddkilzer@webkit.org>
12575 Reviewed by Darin Adler.
12577 - fix http://bugs.webkit.org/show_bug.cgi?id=13900
12578 svnStatus($) subroutine in svn-[un]apply does not work properly with directories
12580 This patch also fixes an instance of the "broken pipe" warning that happened when
12581 a directory contained modified files that were not part of an applied or unapplied
12584 * Scripts/svn-apply:
12585 (svnStatus($)): If we're trying to get status on a directory (instead of a file),
12586 make sure we actually get the directory's status (if it has one), not the first
12587 file's status reported within the directory. Fix "broken pipe" warnings by
12588 reading all of the output from the SVN filehandle before closing it.
12589 * Scripts/svn-unapply:
12590 (svnStatus($)): Ditto.
12592 2007-05-28 David Kilzer <ddkilzer@webkit.org>
12594 Reviewed by Darin Adler.
12596 - fix http://bugs.webkit.org/show_bug.cgi?id=10342
12597 prepare-ChangeLog only shows removed files but not added files when files are moved
12598 - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
12599 prepare-ChangeLog and svn-create-patch don't show replaced files
12601 Switched method used to find list of changed files from "diff" to "status". This
12602 makes added and replaced files with history appear in the changed file list for svn.
12603 Added check for "+" in output from the svn status command to detect file history, and
12604 handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
12606 * Scripts/prepare-ChangeLog:
12607 (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
12608 (statusCommand(@)): Switched argument from array ref to array. Necessary to use
12609 the output of "keys $paths" without creating a temporary array variable.
12610 (findOriginalFileFromSvn($)): Added. Based on findSourceFileAndRevision($)
12611 subroutine in svn-create-patch.
12612 (generateFileList(\@\@\%)): Added. Extracted from main body of script. Runs status
12613 command using command-line arguments instead of list of changed files from the diff
12614 command. Changed svn regex to only accept file statuses that we know how to handle.
12615 Identify original file when an added/replaced status with history is present.
12616 (statusDescription($$)): Handled added/replaced statuses with history. Added
12617 fall-through return statement.
12619 2007-05-28 Holger Freyther <zecke@selfish.org>
12621 Reviewed by Mark Rowe.
12623 Add scripts and data to generate a coverage data for WebKit.
12625 * CodeCoverage/README: Added.
12626 * CodeCoverage/amber.png: Added.
12627 * CodeCoverage/cov.py: Added.
12628 * CodeCoverage/emerald.png: Added.
12629 * CodeCoverage/gcov.css: Added.
12630 * CodeCoverage/glass.png: Added.
12631 * CodeCoverage/regenerate-coverage-display: Added.
12632 * CodeCoverage/ruby.png: Added.
12633 * CodeCoverage/run-generate-coverage-data: Added.
12634 * CodeCoverage/snow.png: Added.
12635 * Scripts/build-webkit: Add --coverage by Niko
12636 * Scripts/check-for-global-initializers: Skip the check on coverage builds
12637 * Scripts/generate-coverage-data: Added.
12638 * Scripts/run-javascriptcore-tests: Add --coverage by Niko
12640 2007-05-29 Mark Rowe <mrowe@apple.com>
12642 Build fix after r21745.
12644 * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
12646 2007-05-25 Anders Carlsson <andersca@apple.com>
12650 * DumpRenderTree/DumpRenderTree.m:
12651 * DumpRenderTree/FrameLoadDelegate.m:
12653 2007-05-25 Simon Hausmann <hausmann@kde.org>
12657 For the keyDown binding use QStringList instead of QList<QString>. The former is a default
12658 registered metatype. Also print out critical messages in dumprendertree's qt message handler.
12660 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12661 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
12662 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12664 2007-05-20 David Kilzer <ddkilzer@webkit.org>
12666 Reviewed by Adam Roben.
12668 - fix http://bugs.webkit.org/show_bug.cgi?id=13565
12669 Change svn-create-patch to put LayoutTests in the end
12671 In addition to reordering test files under the LayoutTests directory so that they
12672 appear after source code files, this patch fixes an issue with prepare-ChangeLog
12673 if the first argument passed to it is a file name instead of a directory name.
12675 * Scripts/prepare-ChangeLog:
12676 (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
12678 * Scripts/svn-create-patch:
12679 (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
12682 2007-05-18 Mark Rowe <mrowe@apple.com>
12684 Reviewed by Oliver.
12686 Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
12688 * Scripts/svn-create-patch:
12689 * Scripts/webkitdirs.pm:
12691 2007-05-18 Holger Freyther <zecke@selfish.org>
12693 Reviewed by Maciej.
12695 * GdkLauncher/main.cpp: Call setGtkWidget
12698 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
12700 Reviewed by Mark Rowe.
12702 * GdkLauncher/main.cpp:
12703 (main): Call Frame::init to catch up with Maciej's changes.
12704 * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
12705 passed to the helper scripts.
12707 2007-05-16 Brady Eidson <beidson@apple.com>
12709 Build fix for some dev configurations
12711 * DumpRenderTree/DumpRenderTree.m:
12713 2007-05-16 Maciej Stachowiak <mjs@apple.com>
12715 Reviewed by Justin.
12717 - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
12719 The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
12720 that happen before the load commits.
12722 Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
12723 optional logging for every FrameLoadDelegate callback, including SPI callbacks.
12725 * DumpRenderTree/DumpRenderTree.h:
12726 * DumpRenderTree/DumpRenderTree.m:
12730 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12731 (-[LayoutTestController clearBackForwardList]):
12732 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
12733 (-[LayoutTestController dumpFrameLoadCallbacks]):
12734 (-[LayoutTestController setWindowIsKey:]):
12735 (-[LayoutTestController setMainFrameIsFirstResponder:]):
12736 (-[LayoutTestController _doLoad:target:]):
12737 (-[LayoutTestController _doBackOrForwardNavigation:]):
12738 (-[LayoutTestController queueReload]):
12739 (-[LayoutTestController queueScript:]):
12740 (-[LayoutTestController queueLoad:target:]):
12741 (-[LayoutTestController setAcceptsEditing:]):
12742 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
12743 (shouldLogFrameLoadDelegates):
12746 (+[DumpRenderTreeEvent mouseLocation]):
12747 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12748 * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
12749 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
12750 * DumpRenderTree/EventSendingController.m:
12751 (-[EventSendingController mouseDown]):
12752 (-[EventSendingController mouseUp]):
12753 (-[EventSendingController mouseMoveToX:Y:]):
12754 (-[EventSendingController contextClick]):
12755 * DumpRenderTree/FrameLoadDelegate.h: Added.
12756 * DumpRenderTree/FrameLoadDelegate.m: Added.
12757 (-[WebFrame _drt_descriptionSuitableForTestResult]):
12758 (-[FrameLoadDelegate processWork:]):
12759 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
12760 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
12761 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
12762 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
12763 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
12764 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
12765 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
12766 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12767 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
12768 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
12769 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
12770 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
12771 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
12772 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
12773 (-[FrameLoadDelegate webView:willCloseFrame:]):
12774 (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
12775 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
12776 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
12777 * DumpRenderTree/ResourceLoadDelegate.m:
12778 (-[NSURL _drt_descriptionSuitableForTestResult]):
12779 * DumpRenderTree/UIDelegate.m:
12780 (-[UIDelegate webViewFocus:]):
12782 2007-05-16 Kevin McCullough <kmccullough@apple.com>
12784 Reviewed by Darin and Geoff.
12786 - rdar://problem/4981886
12787 - Now windows opened by the DOM can be closed by JS.
12789 * DumpRenderTree/DumpRenderTree.m:
12790 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12791 (-[LayoutTestController windowCount]):
12793 2007-05-15 Adam Roben <aroben@apple.com>
12795 Reviewed by David Kilzer.
12797 http://bugs.webkit.org/show_bug.cgi?id=13732
12798 prepare-ChangeLog should work with git
12800 * Scripts/prepare-ChangeLog: Added support for Git.
12802 2007-05-15 Lars Knoll <lars@trolltech.com>
12806 Add the EventSender object to DRT. Currently it implements
12807 mouseDown, mouseUp and mouseMoveTo.
12809 Make run-webkit-tests --strict work somewhat better for form elements.
12811 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12812 (WebCore::DumpRenderTree::DumpRenderTree):
12813 (WebCore::DumpRenderTree::initJSObjects):
12814 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12815 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12816 (HackWebFrame::mousePressEvent):
12817 (HackWebFrame::mouseReleaseEvent):
12818 (EventSender::EventSender):
12819 (EventSender::mouseDown):
12820 (EventSender::mouseUp):
12821 (EventSender::mouseMoveTo):
12822 (EventSender::leapForward):
12823 (EventSender::keyDown):
12824 (EventSender::frameUnderMouse):
12825 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
12826 * Scripts/run-webkit-tests:
12828 2007-05-12 Oliver Hunt <oliver@apple.com>
12832 Add new api to DRT to allow us to test a file being dragged
12833 onto <input type="file">
12835 * DumpRenderTree/DumpRenderTree.h:
12836 * DumpRenderTree/DumpRenderTree.m:
12837 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12838 (-[LayoutTestController addFileToPasteboardOnDrag]):
12840 * DumpRenderTree/UIDelegate.m:
12841 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
12843 2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
12845 Reviewed by Maciej.
12847 Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
12848 http://bugs.webkit.org/show_bug.cgi?id=13656
12850 * GdkLauncher/main.cpp: Handle resizing the drawing area
12851 (frameResizeCallback):
12854 2007-05-11 Geoffrey Garen <ggaren@apple.com>
12856 Reviewed by Darin Adler.
12858 Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
12861 * DumpRenderTree/DumpRenderTree.m:
12862 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12863 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12864 (+[LayoutTestController webScriptNameForSelector:]):
12865 (-[LayoutTestController testWrapperRoundTripping:]):
12867 2007-05-08 Maciej Stachowiak <mjs@apple.com>
12869 Reviewed by Oliver.
12871 - don't clear events whenever an EventSendingController goes away, only do it at predictable times,
12872 since destroying a subframe can make one go away
12874 (Discovered while fixing:
12876 <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
12877 <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
12879 * DumpRenderTree/DumpRenderTree.m:
12880 (runTest): explicitly clear saved events after every page load
12881 * DumpRenderTree/EventSendingController.h:
12882 * DumpRenderTree/EventSendingController.m:
12883 (-[EventSendingController dealloc]): don't clear saved events here...
12884 (+[EventSendingController clearSavedEvents]): do it here
12885 * Scripts/check-for-global-initializers:
12887 2007-05-10 Mark Rowe <mrowe@apple.com>
12889 Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
12891 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12893 2007-05-09 Geoffrey Garen <ggaren@apple.com>
12895 Reviewed by Maciej Stachowiak.
12897 Added support for testing ObjC/JS type bridging.
12899 Added ASSERT that -JSObject returns nil when the underlying JSObject
12900 is no longer GC protected.
12902 * DumpRenderTree/DumpRenderTree.m:
12903 (returnThisCallback):
12905 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12906 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12907 (+[LayoutTestController webScriptNameForSelector:]):
12908 (-[LayoutTestController accessStoredWebScriptObject]):
12909 (-[LayoutTestController testWrapperRoundTripping]):
12910 (-[LayoutTestController objCClassNameOf:]):
12911 (-[LayoutTestController objCObjectOfClass:]):
12912 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12914 2007-05-10 Lars Knoll <lars@trolltech.com>
12918 Move setting of the DPI value a few lines up. Should fix
12919 the last two remaining failures in the layout tests.
12921 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12924 2007-05-09 Holger Freyther <zecke@selfish.org>
12926 Reviewed by Mark Rowe.
12928 * GdkLauncher/main.cpp: Always include config.h.
12930 2007-05-08 Geoffrey Garen <ggaren@apple.com>
12932 Reviewed by Darin Adler.
12934 Added support for testing ObjC object identity.
12936 Added ASSERT to verify that you can round-trip the object passed to you
12937 in -didClearWindowObject:forFrame:.
12939 * DumpRenderTree/DumpRenderTree.m:
12940 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12941 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12942 (+[LayoutTestController webScriptNameForSelector:]):
12943 (-[LayoutTestController accessStoredWebScriptObject]):
12944 (-[LayoutTestController objCIdentityIsEqual::]):
12946 2007-05-07 Geoffrey Garen <ggaren@apple.com>
12948 Reviewed by Maciej Stachowiak.
12950 Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
12951 and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
12952 forFrame:(WebFrame *)frame, in the form of ASSERTs.
12954 * DumpRenderTree/DumpRenderTree.m:
12955 (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
12958 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
12959 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12960 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12962 2007-05-08 Lars Knoll <lars@trolltech.com>
12966 Dump JavaScript console messages as well. Also requires a slight
12967 change in run-webkit-tests, so we still correctly differentiate
12968 between text only and rendertree tests.
12970 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12971 (WebCore::WebPage::WebPage):
12972 (WebCore::WebPage::javaScriptConsoleMessage):
12973 (WebCore::DumpRenderTree::DumpRenderTree):
12974 (WebCore::DumpRenderTree::dump):
12975 * Scripts/run-webkit-tests:
12977 2007-05-08 Lars Knoll <lars@trolltech.com>
12981 Specify what the serif, sans-serif and monospace aliases
12982 should map to and explicitly select the Gui style of
12983 DRT to be plastique.
12985 Fixes most of the test failures still seen on the build bot.
12987 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
12988 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12991 2007-05-07 Lars Knoll <lars@trolltech.com>
12995 Fix the default font to 9pt Sans Serif.
12997 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13000 2007-05-04 Lars Knoll <lars@trolltech.com>
13004 Revert on line of the last commit. We still want to keep the RPATH
13005 support in the pro file.
13007 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
13009 2007-05-04 Lars Knoll <lars@trolltech.com>
13013 Remove the old bitmap fonts I tried using to get reliable results from
13014 DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
13015 ghostscript. I've added a mirror to simply check them out at
13016 svn://labs.trolltech.com/svn/webkit/testfonts.
13018 Fixed DumpRenderTree to make sure these fonts are the only ones we use
13019 on X11 and added a fonts.conf file to get a well defined fontconfig
13022 Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
13023 I use to find the fonts to DumpRenderTree.
13025 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
13026 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
13027 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
13028 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
13029 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
13030 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
13031 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
13032 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
13033 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
13034 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
13035 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
13036 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
13037 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
13038 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
13039 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
13040 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
13041 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
13042 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13044 * Scripts/run-webkit-tests:
13046 2007-05-03 Holger Freyther <freyther@kde.org>
13048 Reviewed by Zack, landed by Simon.
13049 This is bugzilla bug 13499.
13051 * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
13052 * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
13053 * Scripts/build-webkit: Add --gdk for the Gdk port
13054 * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
13056 2007-05-03 Geoffrey Garen <ggaren@apple.com>
13058 Build fix: Add AllInOneFile.o to the ignore list, since it includes files
13059 in the ignore list.
13061 * Scripts/check-for-global-initializers:
13063 2007-05-02 Holger Freyther <freyther@kde.org>
13065 Reviewed by Mark Rowe.
13067 * Scripts/build-webkit: Remove the CMake call.
13068 * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
13069 buildsystem for the Qt port.
13071 2007-04-27 Kevin McCullough <kmccullough@apple.com>
13073 - Removed debugging statements and took out the removal of the deletion
13074 of the symlink. This is because multiple instances of run-webkit-tests
13075 can be running at the same time.
13076 * Scripts/run-webkit-tests:
13078 2007-04-27 Adam Roben <aroben@apple.com>
13080 Reviewed by Maciej.
13082 Cleaned up prepare-ChangeLog
13084 * Scripts/prepare-ChangeLog: No code changes, but style now matches
13085 the prevalent style of our perl scripts.
13087 2007-04-27 Nazar Kulyk <schamane@myeburg.net>
13089 Reviewed by Mark Rowe.
13091 Basic auto-correction of user-entered URLs.
13093 * GdkLauncher/main.cpp:
13098 2007-04-28 Mark Rowe <mrowe@apple.com>
13100 Rubber-stamped by Anders.
13102 Rename some methods and variables to match the style guidelines.
13104 * GdkLauncher/main.cpp:
13108 (goButtonClickedCallback):
13109 (urlBarEnterCallback):
13110 (frameResizeCallback):
13111 (frameDestroyCallback):
13112 (menuMainBackCallback):
13113 (menuMainForwardCallback):
13114 (menuMainQuitCallback):
13117 2007-04-27 Holger Freyther <freyther@kde.org>
13119 Reviewed by Maciej.
13121 Remove unmaintained CMake build system.
13123 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
13124 * Scripts/build-webkit: Remove references to CMake.
13125 * Scripts/webkitdirs.pm: Remove references to CMake.
13127 2007-04-26 Alp Toker <alp@atoker.com>
13129 Reviewed by Mark Rowe.
13131 * GdkLauncher/main.cpp:
13132 (main): Avoid use of deprecated API.
13134 2007-04-26 Kevin McCullough <kmccullough@apple.com>
13136 - Changed debugging statements for more information.
13138 * Scripts/run-webkit-tests:
13140 2007-04-26 Kevin McCullough <kmccullough@apple.com>
13142 - Adding debugging statements to see why these tests fail. These will be removed.
13144 * Scripts/run-webkit-tests:
13146 2007-04-25 Anders Carlsson <andersca@apple.com>
13150 Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
13151 the dashboard compatibility mode.
13153 * DumpRenderTree/DumpRenderTree.m:
13154 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13155 (+[LayoutTestController webScriptNameForSelector:]):
13156 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
13158 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13160 2007-04-24 Timothy Hatcher <timothy@apple.com>
13162 Setting the valid architectures to 32-bit only, so these projects
13163 will ignore requests to build them 64-bit. Once they can be built 64-bit,
13164 the valid architectures can be updated.
13166 * Drosera/Drosera.xcodeproj/project.pbxproj:
13167 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13169 2007-04-23 Adam Roben <aroben@apple.com>
13171 Reviewed by Mark Rowe and David Kilzer.
13173 * Scripts/build-webkit: Print the path to the run-safari script when
13174 finished building so that users can copy-and-paste the command to
13177 2007-04-23 Darin Adler <darin@apple.com>
13181 - rename box-sizing to -webkit-box-sizing
13183 * Drosera/console.css: Here.
13184 * Drosera/debugger.css: And here.
13185 * Drosera/viewer.css: And here.
13187 2007-04-21 Mitz Pettel <mitz@webkit.org>
13189 Reviewed by Darin Adler.
13191 - http://bugs.webkit.org/show_bug.cgi?id=13350
13192 Build Ahem into DumpRenderTree
13194 * DumpRenderTree/DumpRenderTree.m:
13195 (activateAhemFont): Added. Activates the copy of Ahem included in the
13196 DumpRenderTree binary.
13197 (dumpRenderTree): Replaced the check that Ahem is available with a call
13198 to activateAhemFont().
13199 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13200 Added linker options to include Ahem in the data section of the
13201 DumpRenderTree binary.
13203 2007-04-20 Adam Roben <aroben@apple.com>
13205 Reviewed by Darin Adler.
13207 http://bugs.webkit.org/show_bug.cgi?id=13421
13208 Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
13210 * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
13212 2007-04-18 Brady Eidson <beidson@apple.com>
13216 <rdar://problem/5008925>
13217 Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
13219 * DumpRenderTree/ResourceLoadDelegate.m:
13220 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
13221 Add the willCacheResponse delegate call
13223 2007-04-18 Adam Roben <aroben@apple.com>
13225 Reviewed by David Kilzer.
13227 * Scripts/webkitdirs.pm:
13228 (sub setConfiguration): Added an optional argument to set the
13229 configuration instead of parsing it from ARGV.
13231 2007-04-17 Adam Roben <aroben@apple.com>
13233 * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
13236 2007-04-17 Adam Roben <aroben@apple.com>
13238 Added a simple shell script to find all the headers from a specified
13239 framework or frameworks that are included by files beneath the working
13242 * Scripts/find-included-framework-headers: Added.
13244 2007-04-16 Timothy Hatcher <timothy@apple.com>
13246 * Drosera/debugger.css: hide the borders for iframes
13248 2007-04-13 Adam Roben <aroben@apple.com>
13250 Rubberstamped by Anders.
13252 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
13253 stdio.h so that snprintf is defined.
13255 2007-04-13 Brady Eidson <beidson@apple.com>
13259 Add the ability to dump the back/forward history of all windows open at the end of a test
13261 * DumpRenderTree/DumpRenderTree.m:
13262 (dumpBackForwardListForWebView): Dump B/F list for the given WebView
13263 (dump): Call dumpBackForwardListForWebView for each WebView open after the test
13265 2007-04-13 Anders Carlsson <andersca@apple.com>
13269 By default, close any windows that have been opened during a test. This can be overridden by
13270 calling setCloseRemainingWindowsWhenComplete(false).
13272 Change the windows set to an array so we can gurantee the enumeration order.
13274 * DumpRenderTree/DumpRenderTree.m:
13275 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13276 (+[LayoutTestController webScriptNameForSelector:]):
13277 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
13279 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
13280 (-[DumpRenderTreeWindow dealloc]):
13282 2007-04-13 Geoffrey Garen <ggaren@apple.com>
13286 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13287 (handleCallback): Explicitly cast the void* returned by malloc.
13289 2007-04-12 Deneb Meketa <dmeketa@adobe.com>
13291 Reviewed by Darin Adler.
13293 http://bugs.webkit.org/show_bug.cgi?id=13029
13294 rdar://problem/4994849
13295 Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
13296 Changes in WebKitTools are only for the NPAPI test plugin.
13298 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
13299 (pluginInvoke): support null window argument for NPStream creation.
13300 (pluginAllocate): initialization.
13301 (pluginDeallocate): cleanup.
13302 (handleCallback): add second JS callback arg: header dump.
13303 (notifyStream): added; hook from NPP_NewStream to record headers.
13304 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
13305 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
13306 (NPP_NewStream): call new header hook.
13308 2007-04-09 Geoffrey Garen <ggaren@apple.com>
13310 Reviewed by Maciej Stachowiak.
13312 Fixed fast/forms/textarea-paste-newline.html.
13314 This failure was pretty funny. run-webkit-tests kills and respawns
13315 DumpRenderTree once every 1000 runs. Adding a few tests caused
13316 textarea-paste-newline.html to run right at the beginning of DumpRenderTree's
13317 lifetime, before any render tree dumps had occurred. However, WebCore
13318 used a render tree dump as the hook that set a global flag to allow
13319 pasting through the DOM API, so running before any render tree dumps had
13320 occurred caused this test to fail.
13322 * DumpRenderTree/DumpRenderTree.m:
13323 (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
13324 API, instead of hoping it will read the tea leaves.
13326 2007-04-07 Mark Rowe <mrowe@apple.com>
13328 Not reviewed. Update to match some configuration changes that have been active on build.webkit.org.
13330 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
13332 2007-04-05 Anders Carlsson <andersca@apple.com>
13336 Add support for opening new windows in DumpRenderTree.
13338 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13339 (+[LayoutTestController webScriptNameForSelector:]):
13340 (-[LayoutTestController setCallCloseOnWebViews:]):
13341 (-[LayoutTestController setCanOpenWindows]):
13342 Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
13343 can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on
13344 web views that are about to be closed.
13347 Make sure that only the main window is around when a test has finished running.
13349 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
13350 (-[DumpRenderTreeWindow dealloc]):
13351 Manage the set of windows.
13353 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13354 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13355 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13357 Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
13359 * DumpRenderTree/UIDelegate.m:
13360 (-[UIDelegate webView:createWebViewWithRequest:]):
13361 Create new windows.
13363 (-[UIDelegate webViewClose:]):
13366 2007-04-05 Anders Carlsson <andersca@apple.com>
13368 Reviewed by Maciej.
13370 Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
13373 * DumpRenderTree/DumpRenderTree.m:
13377 2007-04-03 Anders Carlsson <andersca@apple.com>
13379 Reviewed by Darin Adler.
13381 Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
13383 * DumpRenderTree/DumpRenderTree.h:
13384 * DumpRenderTree/DumpRenderTree.m:
13386 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13387 (+[LayoutTestController webScriptNameForSelector:]):
13388 (-[LayoutTestController addDisallowedURL:]):
13390 * DumpRenderTree/ResourceLoadDelegate.m:
13391 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
13393 2007-04-03 Mark Rowe <mrowe@apple.com>
13397 * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
13399 2007-04-02 Anders Carlsson <andersca@apple.com>
13401 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13402 Don't use #import in a header included by C files.
13404 2007-03-31 Mark Rowe <mrowe@apple.com>
13408 Fix http://bugs.webkit.org/show_bug.cgi?id=13239
13409 Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
13411 Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
13412 rather than -[WebScriptObject count].
13414 * Drosera/DebuggerDocument.m:
13415 (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
13417 2007-03-30 Anders Carlsson <andersca@apple.com>
13421 Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
13423 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13424 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13426 Look for the onstreamload attribute.
13429 Free the onstreamload attribute.
13432 Call the onstreamload handler.
13434 2007-03-30 Geoffrey Garen <ggaren@apple.com>
13436 Removing an assertion I just added because it's crashing the Leopard
13437 buildbot. The related layout test will still report a failure, so we
13438 don't really need this assertion.
13440 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13443 2007-03-30 Anders Carlsson <andersca@apple.com>
13447 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
13452 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
13453 Don't use #import, use #include.
13455 2007-03-30 Anders Carlsson <andersca@apple.com>
13457 Reviewed by Alexey.
13459 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13461 Free the identifier string.
13463 2007-03-30 Anders Carlsson <andersca@apple.com>
13467 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13468 Add TestObject.c and TestObject.h
13470 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13471 (pluginGetProperty):
13472 Implement the testObject property.
13475 Implement testEnumerate which takes an object and an array and enumerates
13476 the properties of the object and adds them to the array.
13479 Allocate the test object.
13481 (pluginDeallocate):
13482 Free the test object.
13484 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
13485 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
13486 Add a test object with two enumerable properties.
13488 2007-03-29 Geoffrey Garen <ggaren@apple.com>
13490 Reviewed by Beth Dakin.
13492 Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in
13493 -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:]
13494 navigating away from page with DivX movie plug-in (13203)
13496 Added hasStream property and destroyStream function, used by layout test.
13498 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13499 (pluginGetProperty):
13502 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13503 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13506 2007-03-27 Anders Carlsson <acarlsson@apple.com>
13510 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13512 Add new function which takes a function and calls it using NPN_InvokeDefault.
13514 2007-03-27 Adele Peterson <adele@apple.com>
13518 * DumpRenderTree/DumpRenderTree.m:
13519 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
13521 2007-03-27 Adele Peterson <adele@apple.com>
13523 Fix svg tests by calling displayIfNeeded.
13525 * DumpRenderTree/DumpRenderTree.m:
13526 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
13528 2007-03-26 Mark Rowe <mrowe@apple.com>
13530 Reviewed by Sam Weinig.
13532 Upload crash logs from DumpRenderTree as part of the test results to ease debugging
13533 of hard-to-reproduce crashes.
13535 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
13537 2007-03-23 Adam Treat <adam@staikos.net>
13539 Reviewed and committed by George.
13541 Patch by Adam Treat. Removes hardcoded path to .pro file.
13543 2007-03-22 Adam Roben <aroben@apple.com>
13547 Removed eventSender.mouseClick because it was only useful for AppKit
13548 controls, which we don't use anymore.
13550 * DumpRenderTree/EventSendingController.m:
13551 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
13554 2007-03-22 Adam Roben <aroben@apple.com>
13558 Make eventSender.mouseClick actually send a mouse up event.
13560 * DumpRenderTree/EventSendingController.m:
13561 (-[EventSendingController mouseClick]):
13563 2007-03-19 David Hyatt <hyatt@apple.com>
13565 Update the minimum font size pref to match the actual default setting in Safari. It should have been 1
13566 all this time and not 9.
13570 * DumpRenderTree/DumpRenderTree.m:
13573 2007-03-18 Dan Waylonis <waylonis@mac.com>
13575 Reviewed by Tim Hatcher.
13577 DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
13578 Bug 13005: WebScriptObject +throwException needs NULL check.
13580 Add tests to ensure that a plugin can safely throw an exception in dealloc.
13582 * DumpRenderTree/ObjCPlugin.h:
13583 * DumpRenderTree/ObjCPlugin.m:
13584 (+[ObjCPlugin webScriptNameForKey:]):
13585 (+[ObjCPlugin isKeyExcludedFromWebScript:]):
13586 (-[ObjCPlugin dealloc]):
13588 2007-03-13 Mark Rowe <mrowe@apple.com>
13590 Reviewed by Maciej.
13592 Have the nightly launcher prefer Safari found in /Applications or ~/Applications
13593 if present, otherwise fall back on using LaunchServices to locate it elsewhere
13594 on the system. The motivation for this is to make the behaviour of the nightly
13595 builds more predictable on machines with multiple copies of Safari present.
13597 * WebKitLauncher/main.m:
13598 (locateSafariBundle):
13601 2007-03-12 Darin Adler <darin@apple.com>
13603 Reviewed by Tim Hatcher.
13605 - add a DumpRenderTree feature where you can get the Objective-C
13606 class name of a JavaScript object
13608 * DumpRenderTree/DumpRenderTree.m:
13609 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
13610 objCClassNameOf: selector.
13611 (+[LayoutTestController webScriptNameForSelector:]): Add the
13612 objCClassNameOf: selector, with the name "objCClassName".
13613 (-[LayoutTestController objCClassNameOf:]): Added.
13615 2007-03-11 Geoffrey Garen <ggaren@apple.com>
13617 Reviewed by Oliver Hunt.
13619 Beefed up --threaded mode in light of <rdar://problem/4681051> Installer
13620 crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
13621 trying to install iLife 06 using Rosetta on an Intel Machine
13623 --threaded mode now runs a bunch of different JavaScript threads, randomly
13624 killing and respawning them. This was sufficient for reproducing the
13625 bug on my MacBook Pro.
13627 * DumpRenderTree/DumpRenderTree.m:
13628 (javaScriptThreads):
13629 (runJavaScriptThread):
13630 (startJavaScriptThreads):
13631 (stopJavaScriptThreads):
13634 2007-03-11 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13636 Reviewed by Brady Eidson.
13638 Add forward/backward/quit menus for easier testing.
13640 * GdkLauncher/main.cpp:
13642 (menuMainForwardCb):
13646 2007-03-09 Andrew Wellington <proton@wiretapped.net>
13648 Reviewed by Darin Adler.
13650 - fix http://bugs.webkit.org/show_bug.cgi?id=13007
13651 svn-create-patch doesn't handle UTF files with BOMs as text
13653 Force diff to treat files that svn-create-patch thinks are text as text.
13655 * Scripts/svn-create-patch: Added -a switch to diff command.
13657 2007-03-09 Mark Rowe <mrowe@apple.com>
13659 Unreviewed. Use the new SVN URL on the buildbot.
13661 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
13663 2007-03-08 Mark Rowe <mrowe@apple.com>
13667 Fix compiler warnings when building Drosera as 64-bit.
13669 * Drosera/DebuggerDocument.m:
13670 (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
13671 (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
13672 (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
13674 2007-03-07 Mark Rowe <mrowe@apple.com>
13676 Reviewed by Maciej.
13678 Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
13680 * Scripts/check-for-global-initializers:
13682 2007-03-07 Anders Carlsson <acarlsson@apple.com>
13686 Add some assertions.
13688 * DumpRenderTree/DumpRenderTree.m:
13689 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
13690 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
13691 (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
13692 (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
13694 2007-03-07 David Kilzer <ddkilzer@webkit.org>
13696 Reviewed by Darin Adler.
13698 - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
13699 WebArchiver - attempt to insert nil exception when archive empty iframe
13701 The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
13702 a webarchive while the dumpSourceAsWebArchive() test method uses the original
13703 dataSource (page source) to create a webarchive. Most tests currently use
13704 dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
13707 * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
13708 Added dumpSourceAsWebArchive.
13710 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13711 (-[LayoutTestController dumpDOMAsWebArchive]):
13712 (-[LayoutTestController dumpSourceAsWebArchive]):
13715 2007-03-05 Kevin McCullough <kmccullough@apple.com>
13717 Reviewed by Mark and Dave H.
13719 - rdar://problem/4922454
13720 - This fixes a security issue by making remote referrers not able to access local
13721 resources, unless they register their schemes to be treated as local. The result is
13722 that those schemes can access local resources and cannot be accessed by remote
13724 Because this behavior is new a link-on-or-after check is made to determine if the
13725 app should use the older, less safe, behavior.
13727 * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
13728 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13729 (+[LayoutTestController webScriptNameForSelector:]):
13730 (-[LayoutTestController setUserStyleSheetLocation:]):
13731 (-[LayoutTestController setUserStyleSheetEnabled:]):
13733 2007-03-05 Anders Carlsson <acarlsson@apple.com>
13735 Reviewed by Adam, Darin.
13737 <rdar://problem/5025212>
13738 In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
13740 Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
13741 to be run when the URL has finished (or failed) loading.
13743 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13746 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13747 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13750 2007-03-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13752 Reviewed by Nikolas Zimmermann.
13754 Load a url given on a command line in a way that also
13755 works for local (file://) urls.
13757 * GdkLauncher/main.cpp:
13760 2007-03-02 Geoffrey Garen <ggaren@apple.com>
13762 Tweaked parse-malloc-history to work with new malloc_history output format.
13764 * Scripts/parse-malloc-history:
13766 2007-02-28 Vladimir Olexa <vladimir.olexa@gmail.com>
13770 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
13771 Bug#12887: [Drosera] Add ability to close loaded files
13773 * Drosera/DebuggerDocument.h:
13774 * Drosera/DebuggerDocument.m:
13775 (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
13776 * Drosera/Drosera.xcodeproj/project.pbxproj:
13777 * Drosera/English.lproj/MainMenu.nib/classes.nib:
13778 * Drosera/English.lproj/MainMenu.nib/info.nib:
13779 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
13780 * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
13781 * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
13783 2007-02-28 Nikolas Zimmermann <zimmermann@kde.org>
13785 Reviewed by Maciej.
13787 Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
13789 * Scripts/build-webkit:
13791 2007-02-27 Geoffrey Garen <ggaren@apple.com>
13793 Small tweak to run-webkit-tests.
13795 * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
13796 1000 MallocStackLogging tests at a time.
13798 2007-02-26 Maciej Stachowiak <mjs@apple.com>
13802 - set ENABLE_XSLT even when compiling without SVG support, since that is no
13803 longer hardcoded into config.h.
13805 * Scripts/build-webkit:
13807 2007-02-26 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13809 Reviewed by Adam Roben.
13811 Rename *_SUPPORT defines to ENABLE_*.
13813 * GdkLauncher/gdklauncher.bkl:
13815 2007-02-24 Geoffrey Garen <ggaren@apple.com>
13817 Reviewed by Darin Adler.
13819 * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
13822 2007-02-24 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13824 Reviewed by Adam Roben.
13826 Improve gdklauncher: add text field for entering url.
13828 * GdkLauncher/gdklauncher.bkl:
13829 * GdkLauncher/main.cpp:
13834 (goButtonClickedCb):
13836 (registerRenderingAreaEvents):
13841 2007-02-22 Vladimir Olexa <vladimir.olexa@gmail.com>
13845 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
13846 Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
13847 * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
13849 2007-02-22 Adele Peterson <adele@apple.com>
13851 Reviewed by Darin Adler.
13853 Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
13854 can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
13856 * DumpRenderTree/DumpRenderTree.m:
13857 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13858 (+[LayoutTestController webScriptNameForSelector:]):
13859 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
13861 2007-02-22 Geoffrey Garen <ggaren@apple.com>
13863 Used svn merge -r19786:19785 to roll out previous hack to work around
13864 SVG painting issue in DRT.
13866 Implemented new work-around, which makes --paint paint *after* dumping
13867 the render tree instead of before, so that painting doesn't influence
13868 the SVG render tree.
13870 This should fix the ~400 new pixel failures introduced in r19786.
13872 * DumpRenderTree/DumpRenderTree.m:
13874 * Scripts/run-webkit-tests:
13876 2007-02-22 Geoffrey Garen <ggaren@apple.com>
13878 Resetting --leaks mode default to run 1000 tests at a time because setting it
13879 to 750 didn't stop the stack logging related crashes, and running more tests
13880 at a time is faster. The crashes seem to be a real bug in stack logging,
13881 not an out of memory condition.
13883 * Scripts/run-webkit-tests:
13885 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13887 Reviewed by Adam Roben.
13889 Added hack to force painting when running an SVG test. This is a work-around
13890 for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at
13891 paint time instead of style resolution time.
13893 We need this so that --leaks mode, which always paints, doesn't appear to
13894 fail SVG tests. We also need this if we ever want to test style application
13895 in SVG, since many SVGs don't apply style to their renderers until they paint.
13897 * Scripts/run-webkit-tests:
13899 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13901 Reduced --leaks mode to running only 750 tests at a time, in the hopes
13902 of fixing intermittent crasher that may be caused by out of memory
13905 * Scripts/run-webkit-tests:
13907 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13909 Reviewed by Darin Adler.
13911 Made DRT paint when running run-webkit-tests in --leaks mode, to check
13912 for painting leaks.
13914 * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
13915 that's the default for statics.
13916 (dumpRenderTree): Added --paint command line option, which specifies that
13917 DRT should paint at the end of every test.
13918 (displayWebView): New function, called by dump() and -[LayoutTestController display].
13919 * Scripts/run-webkit-tests: Use the --paint command line option when checking
13922 * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list.
13923 Removed stale comment about THRD leaks -- we now ignore them reliably.
13925 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13927 Tools tweak. No review necessary.
13929 * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
13930 arguments. Changed command line argument variables from special implicit
13931 no-op values to specific empty values that we test explicitly.
13933 2007-02-21 Vladimir Olexa <vladimir.olexa@gmail.com>
13937 Bug 12834: Drosera should remember scroll position of open files like Xcode
13938 http://bugs.webkit.org/show_bug.cgi?id=12834
13940 * Drosera/debugger.js: Implemented scrolling memory
13942 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13944 Tools tweak. No review necessary.
13946 Made parse-malloc-history executable. (Oops!)
13948 Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
13951 Added the ability to merge callstacks by regexp, not just depth, so you
13952 can ask questions like, "How many of these allocations were due to that one
13955 * Scripts/parse-malloc-history:
13957 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13959 * Scripts/parse-malloc-history: Added copyright info.
13961 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13963 Reviewed by Darin Adler.
13965 New script to parse the output from malloc_history, so we can determine
13966 what's using memory in WebKit.
13968 * Scripts/parse-malloc-history: Added.
13970 2007-02-20 Graham Dennis <graham.dennis@gmail.com>
13972 Reviewed by Darin Adler.
13974 Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
13975 WebKit.framework is built with SVG_SUPPORT for No-SVG build
13977 * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
13979 2007-02-19 Geoffrey Garen <ggaren@apple.com>
13983 * Scripts/check-for-global-initializers: Ignore the global counter I added
13984 for SubresourceLoaders.
13986 2007-02-19 Darin Adler <darin@apple.com>
13988 Reviewed by Tim Hatcher.
13990 * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
13991 Without this, you only see the global initializer error once, which makes it very easy
13994 2007-02-16 Mark Rowe <mrowe@apple.com>
13998 <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
14000 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
14002 2007-02-15 Geoffrey Garen <ggaren@apple.com>
14004 Reviewed by Beth Dakin.
14006 * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
14007 leaks anymore, either, since r19486 fixed them, too.
14008 (shouldIgnoreWebCoreNodeLeaks):
14010 2007-02-15 Darin Adler <darin@apple.com>
14012 * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
14013 fixed by change 19486.
14015 2007-02-15 Geoffrey Garen <ggaren@apple.com>
14017 Reviewed by Beth Dakin.
14019 Ignore another leak, seen recently on the buildbot.
14021 * Scripts/run-webkit-tests:
14023 2007-02-14 Geoffrey Garen <ggaren@apple.com>
14025 Reviewed by Beth Dakin.
14027 Ignore another leak, seen recently on the buildbot.
14029 * Scripts/run-webkit-tests:
14031 2007-02-13 Darin Adler <darin@apple.com>
14033 * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
14036 2007-02-11 Maciej Stachowiak <mjs@apple.com>
14040 - add contextClick() operation to eventSender to be able to test this
14042 * DumpRenderTree/EventSendingController.m:
14043 (+[EventSendingController isSelectorExcludedFromWebScript:]):
14044 (-[EventSendingController contextClick]):
14046 2007-02-11 Darin Adler <darin@apple.com>
14048 * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
14049 so it doesn't give a perl exception (happens in clean builds, for example).
14051 2007-02-10 David Kilzer <ddkilzer@webkit.org>
14055 * Scripts/svn-create-patch:
14056 (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
14057 a relative path to the copied file.
14059 2007-02-10 Timothy Hatcher <timothy@apple.com>
14061 Reviewed by Sam Weinig.
14063 * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
14065 2007-02-10 David Kilzer <ddkilzer@webkit.org>
14067 Reviewed by Timothy.
14069 * Scripts/svn-apply:
14070 (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
14073 2007-02-10 Brady Eidson <beidson@apple.com>
14077 <rdar://problem/4965133> WebKit sends file:// url referrers
14079 * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
14080 on local files, but have an httpd for remote resources
14082 2007-02-08 Geoffrey Garen <ggaren@apple.com>
14084 Reviewed by Beth Dakin.
14086 Ignore another false leak report.
14088 * Scripts/run-webkit-tests:
14090 2007-02-08 Geoffrey Garen <ggaren@apple.com>
14092 Reviewed by Kevin McCullough.
14094 * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
14095 already exists, to avoid confusing error message.
14097 Also, remove /tmp/LayoutTests after running so unsupecting fools don't
14098 try to rm -rf it, only later to discover that they have completely hosed
14101 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
14103 Reviewed by Adam Roben.
14105 Linux/gdk build fixes.
14107 * GdkLauncher/main.cpp: Add -exit-after-loading and
14108 -dump-render-tree as debugging aid.
14112 2007-02-08 Geoffrey Garen <ggaren@apple.com>
14114 Minor fixup based on Maciej's review last night.
14116 * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
14117 and do a little math to make it work.
14119 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
14121 Reviewed by Adam Roben.
14123 Linux/gdk build fixes.
14125 * GdkLauncher/gdklauncher.bkl:
14127 2007-02-08 Kevin McCullough <KMcCullough@apple.com>
14129 - Fix layout test failures.
14131 * Scripts/run-webkit-tests:
14133 2007-02-08 Darin Adler <darin@apple.com>
14135 Reviewed by Anders.
14137 * Scripts/check-for-global-initializers: For speed, only check files that
14138 have been modified since the last time we linked. For tidiness, capture
14139 stderr from nm, and prevent "nm: no name list" messages from going out.
14141 2007-02-08 Geoffrey Garen <ggaren@apple.com>
14143 Reviewed by Maciej Stachowiak, Adam Roben.
14145 Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
14146 arbitrary number n.
14149 - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
14150 - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
14151 - tool => dumpTool (to match abstraction elsewhere)
14152 - httpdOpen => isHttpdOpen (to match style guidelines)
14154 Plus a few logic fixups:
14155 - Don't check isDumpToolOpen when we know we've called openDumpTool().
14156 - Use a single code path to decide when to shut down dumpTool and
14157 when to check for leaks, since the operations are coincidental.
14158 - Use a single code path for running the leaks tool, since the only
14159 thing that varies between configurations is the output file name.
14160 - Increment $count after each test finishes, instead of at the end
14161 of the loop, to help with comparing to the length of the array
14163 - Use a more robust test inside the loop to determine if we need to
14164 close dumpTool, instead of copying the closing code outside the loop.
14168 * Scripts/run-webkit-tests:
14170 2007-02-06 Geoffrey Garen <ggaren@apple.com>
14172 Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
14174 Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
14175 catch all reports of them, not just those inside pthread_create.
14177 Also, use "\\" instead of "\" because we need the actual \ to get into the
14178 regexp string if it's going to do any escaping. (Oops!)
14180 * Scripts/run-webkit-tests:
14182 2007-02-06 Geoffrey Garen <ggaren@apple.com>
14184 Reviewed by Bethany P. Dakin.
14186 The 's' is optional when the leaks tool reports 'leaks'.
14188 * Scripts/run-leaks:
14190 2007-02-06 Geoffrey Garen <ggaren@apple.com>
14192 Reviewed by Bethany P. Dakin.
14194 Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
14196 * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
14198 2007-02-06 David Smith <catfish.man@gmail.com>
14200 Reviewed by Darin Adler.
14202 Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
14203 [Drosera] Console history fixups
14205 * Drosera/console.js: assorted cleanups and fixes
14207 2007-02-05 Geoffrey Garen <ggaren@apple.com>
14209 Reviewed by Darin Adler.
14211 New script that allows you to ignore leaks by regular expression.
14213 * Scripts/run-leaks: Added.
14215 2007-02-03 Sam Weinig <sam@webkit.org>
14219 Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
14220 Drosera doesn't handle CR ( carriage returns ) well
14222 - Normalize all the line endings.
14224 * Drosera/debugger.js:
14226 2007-02-02 Geoffrey Garen <ggaren@apple.com>
14228 Reviewed by Darin Adler.
14230 Added some more known leaks to the leaks ignore list.
14232 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
14233 hate itself so much?
14234 * Scripts/run-webkit-tests:
14236 2007-02-02 Geoffrey Garen <ggaren@apple.com>
14238 Even better build fix than the last.
14241 * DumpRenderTree/DumpRenderTree.m:
14242 (shouldIgnoreWebCoreNodeLeaks):
14244 2007-02-02 Geoffrey Garen <ggaren@apple.com>
14246 Fixed build. Added work-around for GCC bug.
14248 * DumpRenderTree/DumpRenderTree.m:
14249 (shouldIgnoreWebCoreNodeLeaks):
14251 2007-02-01 Geoffrey Garen <ggaren@apple.com>
14253 Reviewed by Maciej Stachowiak.
14255 Added support for selectively ignoring WebCore::Node leaks during layout
14256 tests, so that we can ignore known leaks in other components.
14258 * DumpRenderTree/DumpRenderTree.m:
14259 (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
14260 WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
14261 confuse anyone else?
14264 2007-02-01 Anders Carlsson <acarlsson@apple.com>
14266 Reviewed by Darin Adler.
14268 * DumpRenderTree/UIDelegate.m:
14269 (-[UIDelegate webView:addMessageToConsole:]):
14270 Dump console messages.
14272 2007-01-31 Anders Carlsson <acarlsson@apple.com>
14274 * DumpRenderTree/ResourceLoadDelegate.m:
14275 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
14276 Use an NSString here so we can guarantee that -description always returns the same value.
14278 2007-01-31 Geoffrey Garen <ggaren@apple.com>
14280 Reviewed by Darin Adler.
14282 Added Selection::toRange to the leaks -exclude list, since it comes up
14283 as a false positive (Radar 4967949).
14285 Also added RangeCounter to the global initializer exclude list. I added
14286 a RangeCounter since leaks won't detect all Range leaks anymore.
14288 * Scripts/check-for-global-initializers:
14289 * Scripts/run-webkit-tests:
14291 2007-01-31 Anders Carlsson <acarlsson@apple.com>
14293 * DumpRenderTree/ResourceLoadDelegate.m:
14294 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
14295 Don't try to create an identifier if resource loads shouldn't be dumped.
14297 2007-01-31 Anders Carlsson <acarlsson@apple.com>
14301 Add dumping of resource loads. This isn't completely tweaked yet since the test results would
14302 rely on resources being delivered in the same order which might not always be true. However, it works good
14303 enough for the simple webarchive tests I want to do right now.
14305 * DumpRenderTree/DumpRenderTree.h:
14306 * DumpRenderTree/DumpRenderTree.m:
14308 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14309 (-[LayoutTestController dumpResourceLoadCallbacks]):
14312 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14313 * DumpRenderTree/ResourceLoadDelegate.h: Added.
14314 * DumpRenderTree/ResourceLoadDelegate.m: Added.
14315 Add new resource load delegate.
14317 2007-01-31 Geoffrey Garen <ggaren@apple.com>
14319 Backing out the CFRunLoopRunSpecific exclude command because it was overly
14320 broad. We'll either need to work around this leak in DRT, or do some
14321 custom grep-based leak ignoring.
14323 * Scripts/run-webkit-tests:
14325 2007-01-30 Geoffrey Garen <ggaren@apple.com>
14327 Reviewed by Beth Dakin.
14329 Filed some more Radars in other components, added some more leaks to the
14332 * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
14333 CFRunLoopRunSpecific, and NSSpellChecker.
14335 2007-01-30 David Kilzer <ddkilzer@webkit.org>
14337 Reviewed by Darin Adler.
14339 http://bugs.webkit.org/show_bug.cgi?id=11882
14340 Need a way to regression test .webarchive output files
14342 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
14343 Alters WebResourceResponse and WebResourceURL properties within WebArchive format
14344 to normalize URLs to remove path where WebKit was checked out. Also converts
14345 WebDataResource properties from data to string if the corresponding
14346 WebResourceMIMEType property starts with "text/" or equals
14347 "application/x-javascript".
14349 * DumpRenderTree/DumpRenderTree.m:
14350 (convertWebResourceDataToString): Added.
14351 (normalizeWebResourceURL): Added.
14352 (normalizeWebResourceResponse): Added.
14353 (serializeWebArchiveToXML): Added.
14355 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14356 (-[LayoutTestController dumpAsWebArchive]): Added.
14359 2007-01-30 David Kilzer <ddkilzer@webkit.org>
14361 Reviewed by Mark Rowe.
14363 http://bugs.webkit.org/show_bug.cgi?id=12470
14364 svn-create-patch creates duplicate patches for files within an added/modified directory
14366 * Scripts/svn-create-patch:
14367 (sub generateFileList($\%\%)): Ignore directories when generating the file list.
14369 2007-01-29 Geoffrey Garen <ggaren@apple.com>
14371 Reviewed by Maciej Stachowiak.
14373 Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
14375 No more mollycoddling for you, FastMalloc.o!
14377 * Scripts/check-for-global-initializers:
14379 2007-01-29 Graham Dennis <graham.dennis@gmail.com>
14381 Reviewed by Maciej.
14383 Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
14384 Image data in from RTFD clipboard data thrown away
14386 - This method is needed because NSArrays are bridged to JS Arrays,
14387 which in turn are bridged back to WebScriptObjects when passed from
14388 JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
14390 * DumpRenderTree/DumpRenderTree.m:
14391 (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
14393 2007-01-25 Geoffrey Garen <ggaren@apple.com>
14395 Reviewed by Maciej Stachowiak.
14397 Added support for test for <rdar://problem/4608404> WebScriptObject's
14398 _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
14400 * DumpRenderTree/DumpRenderTree.m:
14401 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14402 (+[LayoutTestController webScriptNameForSelector:]):
14403 (-[LayoutTestController storeWebScriptObject:]):
14404 (-[LayoutTestController accessStoredWebScriptObject]):
14405 (-[LayoutTestController dealloc]):
14407 2007-01-26 Lars Knoll <lars@trolltech.com>
14411 Small hack to ensure that our top level frame actually has the
14412 correct size. Unfortunately this means I'll have to regenerate
14415 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14416 (WebCore::DumpRenderTree::DumpRenderTree):
14418 2007-01-25 Lars Knoll <lars@trolltech.com>
14420 Reviewed by Darin and Zack
14422 Move the test results for Qt into a directory of it's own
14423 (WebKit/LayoutTestResults/qt). Leave the Mac results where
14424 they are for now and share the text only results between
14427 Add support for a LayoutTestResults/platform/Skipped file
14428 to run-webkit-tests to be able to ignore certain tests
14430 Remove the old tests-skipped.txt from Qts DumpRenderTree
14433 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14434 (WebCore::DumpRenderTree::DumpRenderTree):
14435 (WebCore::DumpRenderTree::open):
14436 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14437 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
14438 * Scripts/run-webkit-tests:
14440 2007-01-24 Darin Adler <darin@apple.com>
14442 Reviewed by Oliver.
14444 - fix crash seen in layout tests
14446 * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
14447 Add back the line of code that sets savedMouseEvents to nil. I thought it was
14448 a field of the EventSendingController, but it's actually a global.
14450 2007-01-24 Darin Adler <darin@apple.com>
14452 Reviewed by Maciej.
14454 - changed dragMode to be a property instead of a function
14456 * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
14457 * DumpRenderTree/EventSendingController.m:
14458 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
14459 (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
14460 (-[EventSendingController init]): Updated for name change.
14461 (-[EventSendingController leapForward:]): Ditto.
14462 (-[EventSendingController mouseUp]): Ditto.
14463 (-[EventSendingController mouseMoveToX:Y:]): Ditto.
14465 2007-01-24 Darin Adler <darin@apple.com>
14467 Reviewed by Maciej.
14469 - made the deferral of mouse events until drag completes conditional
14470 it's needed for drag testing, and harmful for selection testing
14472 * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
14473 * DumpRenderTree/EventSendingController.m:
14474 (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
14475 (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
14476 and remove unneeded clearKillRing name.
14477 (-[EventSendingController init]): Initialize inDragMode to true.
14478 (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
14479 not be asserting things that are dependent on the test content!
14480 (-[EventSendingController leapForward:]): Only queue events in drag mode.
14481 (-[EventSendingController setDragMode:]): Added.
14482 (-[EventSendingController mouseDown]): Removed overzealous assertion.
14483 (-[EventSendingController mouseUp]): Removed overzealous assertions.
14484 Only queue events in drag mode.
14485 (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
14487 2007-01-24 Lars Knoll <lars@trolltech.com>
14491 Add a signal handler, always dump immediately if we get an
14492 error during a page load and raise the timeout to 5 seconds
14493 (as we get a lot less such failures now)
14495 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14496 (WebCore::DumpRenderTree::DumpRenderTree):
14497 (WebCore::DumpRenderTree::maybeDump):
14498 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14499 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14500 (LayoutTestController::waitUntilDone):
14501 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14504 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14506 2007-01-22 Darin Adler <darin@apple.com>
14510 - a couple tiny tweaks to make --reset-results work better
14512 * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
14513 Don't make a separate "new" entry while generating results when --reset-results
14514 is specified since new results are the norm in that case.
14516 2007-01-21 Sanjay Madhav <sanjay12@gmail.com>
14518 Reviewed by Darin Adler.
14520 Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
14522 This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
14524 * DumpRenderTree/GCController.h:
14525 * DumpRenderTree/GCController.mm:
14526 (+[GCController isSelectorExcludedFromWebScript:]):
14527 (-[GCController getJSObjectCount]):
14529 2007-01-20 Mark Rowe <mrowe@apple.com>
14531 Reviewed by Maciej.
14533 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
14534 catch single regressions, and don't generate tests results for new tests.
14536 2007-01-20 Adam Roben <aroben@apple.com>
14538 Rubberstamped by Maciej.
14540 * Scripts/run-webkit-tests: Change the default behavior back to
14541 generating results for new tests (this can be disabled with
14542 --no-new-test-results)
14544 2007-01-19 Lars Knoll <lars@trolltech.com>
14546 Reviewed by Adam Roben.
14548 run-webkit-tests does now not generate new results by default anymore.
14549 You'll have to pass the --new-tests flag to it to force it to do so.
14551 This is required to make it possible to have tests running on multiple
14552 platforms peacefully together.
14554 * Scripts/run-webkit-tests:
14556 2007-01-18 Darin Adler <darin@apple.com>
14558 Reviewed by John Sullivan.
14560 * Scripts/run-webkit-tests: Fix handling of configuration so it
14561 does the right thing when no explicit configuration is passed in.
14562 The old code assumed that the result of setConfiguration() was the
14563 configuration, but it's undefined when no configuration is
14564 explicitly passed in. The correct function to use is
14565 configuration(), and I also streamlined the code.
14567 2007-01-17 Lars Knoll <lars@trolltech.com>
14569 Fix my last commit to actually work in all cases.
14571 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14572 (WebCore::DumpRenderTree::readStdin):
14574 2007-01-17 Lars Knoll <lars@trolltech.com>
14578 Make sure DumpRenderTree exits when run-webkit-tests
14581 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14582 (WebCore::DumpRenderTree::readStdin):
14584 2007-01-17 Lars Knoll <lars@trolltech.com>
14588 Small fixes in DumpRenderTree, so we don't by
14589 accident dump twice for the same test.
14591 Exclude one more test as it currently causes DumpRenderTree to
14594 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14595 (WebCore::DumpRenderTree::readStdin):
14596 (WebCore::DumpRenderTree::dump):
14597 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14598 (LayoutTestController::notifyDone):
14599 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14601 2007-01-17 Lars Knoll <lars@trolltech.com>
14605 Add a message handler to DumpRenderTree that will
14606 suppress all debug output coming from qDebug() statements.
14607 Like this we can get rid of all the noise coming
14608 from the notImplemented() macro when running the
14609 layout tests. You can get it back by adding -v to
14610 DumpRenderTree's command line.
14612 Changed run-webkit-tests slightly, so we by default
14613 don't fail anymore when our output differs from what
14614 is generated on the Mac. Added a --strict option, so
14615 that we can still see this cases and fix them one by one.
14617 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14620 * Scripts/run-webkit-tests:
14622 2007-01-16 Lars Knoll <lars@trolltech.com>
14626 Use the new public API for the Qt build, and don't rely on
14627 WebKit internals anymore.
14629 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14630 (WebCore::DumpRenderTree::DumpRenderTree):
14631 (WebCore::DumpRenderTree::~DumpRenderTree):
14632 (WebCore::DumpRenderTree::open):
14633 (WebCore::DumpRenderTree::readStdin):
14634 (WebCore::DumpRenderTree::initJSObjects):
14635 (WebCore::DumpRenderTree::dump):
14636 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14637 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14638 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
14639 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
14640 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14641 (LayoutTestController::notifyDone):
14642 (LayoutTestController::timerEvent):
14643 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14645 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14647 2007-01-15 Justin Garcia <justin.garcia@apple.com>
14651 <rdar://problem/4810960>
14652 Gmail Editor: window.focus() called on keyDown (9640)
14654 * DumpRenderTree/EventSendingController.m: Send the keyDown event
14655 to the firstResponder, not the event's locationInWindow. A
14656 key press's locationInWindow is meaningless and just a dummy
14659 2007-01-15 Eric Seidel <eric@webkit.org>
14663 Add a script to keep our header guards squeaky clean.
14665 * Scripts/clean-header-guards: Added.
14667 2007-01-15 Lars Knoll <lars@trolltech.com>
14671 Fix a few smaller issues in here, and update
14672 our list of skipped tests.
14674 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14675 (WebCore::DumpRenderTree::DumpRenderTree):
14676 (WebCore::DumpRenderTree::readStdin):
14677 (WebCore::DumpRenderTree::dump):
14678 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14679 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14680 (LayoutTestController::LayoutTestController):
14681 (LayoutTestController::reset):
14682 (LayoutTestController::waitUntilDone):
14683 (LayoutTestController::notifyDone):
14684 (LayoutTestController::dumpEditingCallbacks):
14685 (LayoutTestController::timerEvent):
14686 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
14687 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14689 2007-01-14 Mark Rowe <mrowe@apple.com>
14693 <rdar://problem/4908909> Need to create Leopard nightly build
14695 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK. The disk images don't mount pre-10.4 so we aren't losing anything here.
14696 * WebKitLauncher/WebKitNightlyEnabler.m:
14697 (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables. The smaller timeframe where the
14698 CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
14699 (enableWebKitNightlyBehaviour):
14700 * WebKitLauncher/main.m:
14701 (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
14702 * Drosera/launcher.m:
14705 2007-01-12 Lars Knoll <lars@trolltech.com>
14709 Get DumpRenderTree to work again for the Qt build.
14711 Make run-webkit-tests a little less verbose when testing
14712 Qt, and add an option to run DumpRenderTree inside valgrind
14713 (useful for debugging)
14715 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14716 (WebCore::DumpRenderTree::DumpRenderTree):
14717 (WebCore::DumpRenderTree::~DumpRenderTree):
14718 (WebCore::DumpRenderTree::open):
14719 (WebCore::DumpRenderTree::dump):
14720 (WebCore::DumpRenderTree::maybeDump):
14721 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14722 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
14723 (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
14724 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
14725 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14726 * Scripts/run-webkit-tests:
14728 2007-01-12 Zack Rusin <zack@kde.org>
14730 Add WEBKIT_FULLBUILD env variable to get the
14731 build do a make clean before make to cleanout the
14732 stale depenendencies (for buildbot mainly).
14734 * Scripts/webkitdirs.pm:
14736 2007-01-11 Mitz Pettel <mitz@webkit.org>
14740 - http://bugs.webkit.org/show_bug.cgi?id=10249
14741 Temporarily disable tests that are causing kernel panics
14743 Changed the ImageDiff tool not to use CoreImage filters.
14745 * DumpRenderTree/ImageDiff.m:
14747 (createImageFromStdin):
14749 (getDifferenceBitmap):
14751 2007-01-11 Lars Knoll <lars@trolltech.com>
14755 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14757 2007-01-11 Lars Knoll <lars@trolltech.com>
14759 Reviewed by Darin Adler.
14761 Adjust to loader changes.
14763 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14764 (WebCore::DumpRenderTree::DumpRenderTree):
14766 2007-01-06 George Staikos <staikos@kde.org>
14768 This doesn't build on all unix platforms!
14770 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14772 2007-01-05 Zack Rusin <zack@kde.org>
14776 Fix the undefined warnings and try to detect
14777 the DISPLAY properly.
14779 * Scripts/run-webkit-tests:
14781 2007-01-05 David Kilzer <ddkilzer@webkit.org>
14783 Reviewed by Mark Rowe.
14785 Speed up svn-create-patch for copied and moved files.
14787 * Scripts/svn-create-patch:
14788 (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
14789 so svn pulls original from local disk.
14791 2007-01-04 Lars Knoll <lars@trolltech.com>
14793 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14794 Link with RPATH to (hopefully) get the automatic tests working.
14796 2007-01-03 Mark Rowe <bdash@webkit.org>
14798 Reviewed by Anders.
14800 * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
14802 2007-01-02 Zack Rusin <zack@kde.org>
14804 Make it work after javascriptcore/bindings changes.
14806 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14807 (WebCore::DumpRenderTree::initJSObjects):
14808 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14810 2007-01-01 David Kilzer <ddkilzer@webkit.org>
14812 Reviewed by Darin Adler.
14814 http://bugs.webkit.org/show_bug.cgi?id=12023
14815 svn-create-patch and friends should handle moved/copied files
14817 * Scripts/svn-apply: Identify copied files and handle those before all other patches.
14818 * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
14819 (findMimeType($)): Added.
14820 (findModificationTime($)): Added.
14821 (findSourceFileAndRevision($)): Added.
14822 (generateDiff($$$)): Changed to use svn stat instead of svn diff.
14823 (isBinaryMimeType($)): Added.
14824 (manufacturePatchForAdditionWithHistory($$)): Added.
14825 * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
14827 2006-12-29 Eric Seidel <eric@webkit.org>
14829 Reviewed by olliej.
14831 Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
14833 * DumpRenderTree/DumpRenderTree.m:
14834 (dumpRenderTree): clear WebCore cache before exiting
14836 2006-12-29 David Kilzer <ddkilzer@webkit.org>
14838 Reverted last commit until WebResourceData issue is fixed.
14840 http://bugs.webkit.org/show_bug.cgi?id=11882
14841 Need a way to regression test .webarchive output files
14843 * DumpRenderTree/DumpRenderTree.m:
14844 (serializeWebArchiveToXML): Removed.
14846 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14847 (-[LayoutTestController dumpAsWebArchive]): Removed.
14850 2006-12-28 David Kilzer <ddkilzer@webkit.org>
14852 Reviewed by Darin Adler.
14854 http://bugs.webkit.org/show_bug.cgi?id=11882
14855 Need a way to regression test .webarchive output files
14857 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
14858 Saves WebArchive plist in xml format, then alters file:// URLs to remove path
14859 where WebKit was checked out.
14861 * DumpRenderTree/DumpRenderTree.m:
14862 (serializeWebArchiveToXML): Added.
14864 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14865 (-[LayoutTestController dumpAsWebArchive]): Added.
14868 2006-12-28 George Staikos <staikos@kde.org>
14870 Reviewed by Olliej.
14872 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
14874 2006-12-27 Geoffrey Garen <ggaren@apple.com>
14876 Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
14878 Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
14880 No behavior change. Layout tests pass.
14882 * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
14883 doneLoading() accessor function. This matches the rest of DRT's exports and
14884 makes it easier to search for clients who check (!done).
14886 * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
14887 it would cover both code paths for calling runTest().
14889 (dumpRenderTree): "doneLoading()" => "done"
14891 * DumpRenderTree/EditingDelegate.m: ditto
14892 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
14893 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
14894 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
14895 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
14896 (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
14897 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
14898 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
14899 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
14900 (-[EditingDelegate webViewDidBeginEditing:]): ditto
14901 (-[EditingDelegate webViewDidChange:]): ditto
14902 (-[EditingDelegate webViewDidEndEditing:]): ditto
14903 (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
14904 (-[EditingDelegate webViewDidChangeSelection:]): ditto
14905 * DumpRenderTree/UIDelegate.m: ditto
14906 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
14908 2006-12-26 Eric Seidel <eric@webkit.org>
14910 Reviewed by bradee-oh.
14912 Add very simple run-pageloadtest script for running SVG page load test.
14914 * Scripts/run-pageloadtest: Added.
14916 2006-12-26 Geoffrey Garen <ggaren@apple.com>
14918 Reviewed by Eric Seidel.
14920 Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
14921 crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
14923 (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
14925 2006-12-23 Geoffrey Garen <ggaren@apple.com>
14927 Reviewed by Maciej Stachowiak.
14929 Added --threaded support to run-webkit-tests and DumpRenderTree.
14931 In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
14932 stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore
14933 interface. This is useful for tracking down bugs you might see on a system
14934 configured to use a PAC file.
14936 Ironically, I can proudly state that very few layout tests pass.
14938 * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
14939 for starting and stopping it.
14940 (runJavaScriptThread): helper function
14941 (startJavaScriptThread): helper function
14942 (stopJavaScriptThread): helper function
14944 (dumpRenderTree): Added --threaded command line argument.
14945 * Scripts/run-webkit-tests: ditto
14947 2006-12-22 Mark Rowe <bdash@webkit.org>
14951 Fix for <rdar://problem/4265976>
14952 prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
14954 * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
14956 2006-12-21 Mark Rowe <bdash@webkit.org>
14958 Reviewed by Tim Hatcher.
14960 http://bugs.webkit.org/show_bug.cgi?id=11922
14961 Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
14963 * Drosera/DebuggerDocument.m:
14964 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
14965 ensure that the properties are being retrieved from the correct scope object.
14967 2006-12-21 Lars Knoll <lars@trolltech.com>
14971 Add support for the layoutTestController JavaScript object
14972 to be able to get textOnly dumps.
14973 Added a Qt specific hack to always get the same fonts (the ones
14974 added in this submit) and the same dpi when running the layout tests.
14975 Modified the run-webkit-tests script to also do a comparison to the
14976 Mac generated outputs (by stripping out positioning information).
14978 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14979 (WebCore::DumpRenderTree::DumpRenderTree):
14980 (WebCore::DumpRenderTree::open):
14981 (WebCore::DumpRenderTree::resetJSObjects):
14982 (WebCore::DumpRenderTree::initJSObjects):
14983 (WebCore::DumpRenderTree::dump):
14984 (WebCore::DumpRenderTree::checkLoaded):
14985 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14986 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14987 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
14988 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
14989 (WebCore::DumpRenderTreeClient::partClearedInBegin):
14990 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
14991 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
14992 (QX11Info::appDpiY):
14993 (QX11Info::appDpiX):
14994 (qt_x11ft_convert_pattern):
14995 (LayoutTestController::LayoutTestController):
14996 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
14997 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
14998 (LayoutTestController::shouldDumpAsText):
14999 (LayoutTestController::shouldWaitUntilDone):
15000 (LayoutTestController::reset):
15001 (LayoutTestController::dumpAsText):
15002 (LayoutTestController::waitUntilDone):
15003 (LayoutTestController::notifyDone):
15004 * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
15005 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
15006 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
15007 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
15008 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
15009 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
15010 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
15011 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
15012 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
15013 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
15014 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
15015 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
15016 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
15017 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
15018 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
15019 * Scripts/run-webkit-tests:
15021 2006-12-21 Mark Rowe <bdash@webkit.org>
15025 http://bugs.webkit.org/show_bug.cgi?id=11888
15026 Bug 11888: REGRESSION (r18320): Web Inspector panes broken
15028 * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
15030 2006-12-18 Geoffrey Garen <ggaren@apple.com>
15032 Reviewed by Beth Dakin.
15034 Updated EventSender to be able to send mouse up events outside the WebView.
15035 This is a minor tweak to a hackish implementation. The real solution
15036 should be to use NSApplication's event sending model instead of rolling
15037 our own, but I don't have time for that right now.
15039 * DumpRenderTree/EventSendingController.m:
15040 (-[EventSendingController mouseUp]):
15042 2006-12-15 Marvin Decker <marv.decker@gmail.com>
15044 Reviewed by Darin and Alexey.
15046 Fix the Windows build, move various Client implementations out of
15047 WebCore and into WebKit.
15049 * Spinneret/Spinneret.sln:
15051 2006-12-14 Timothy Hatcher <timothy@apple.com>
15055 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
15057 2006-12-13 Zack Rusin <zack@kde.org>
15059 Reviewed by rwlbuis
15061 Use the qmake build by default with Qt - it's the one that works
15064 * Scripts/build-webkit:
15065 * Scripts/webkitdirs.pm:
15067 2006-12-10 Lars Knoll <lars@trolltech.com>
15071 Some more fixes to the dumprendertree application.
15072 Fix the run-webkit-tests script for Qt.
15074 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15075 (WebCore::DumpRenderTree::open):
15076 (WebCore::DumpRenderTree::readStdin):
15077 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
15078 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
15079 * Scripts/run-webkit-tests:
15080 * Scripts/webkitdirs.pm:
15082 2006-12-10 Rob Buis <buis@kde.org>
15084 Reviewed by Darin Adler.
15086 * DumpRenderTree/DumpRenderTree.m:
15089 2006-12-10 Lars Knoll <lars@trolltech.com>
15093 Get the DumpRenderTree app to compile again
15095 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15096 (WebCore::DumpRenderTree::DumpRenderTree):
15097 (WebCore::DumpRenderTree::open):
15098 (WebCore::DumpRenderTree::readStdin):
15099 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
15100 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
15101 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
15102 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
15103 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15106 2006-12-09 George Staikos <staikos@kde.org>
15110 Repair QMake build on OS X.
15112 * Scripts/build-webkit:
15114 2006-12-09 Zack Rusin <zack@kde.org>
15116 Fixing small mistakes in the build scripts for
15119 * Scripts/build-webkit:
15120 * Scripts/webkitdirs.pm:
15122 2006-12-09 Simon Hausmann <hausmann@kde.org>
15126 Add support for a QMake build using build-webkit --qmake
15128 * Scripts/build-webkit:
15129 * Scripts/webkitdirs.pm:
15131 2006-12-09 George Staikos <staikos@kde.org>
15135 Remove reference to Unity.
15137 * Scripts/webkitdirs.pm:
15139 2006-12-08 Zack Rusin <zack@kde.org>
15141 Reviewed by Maciej.
15143 Fix the compile after recent API changes.
15145 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15146 (WebCore::DumpRenderTree::DumpRenderTree):
15147 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15150 2006-12-08 George Staikos <staikos@kde.org>
15152 Reviewed by Maciej.
15154 Build Qt webkit on non-linux, and prefer it if $QTDIR is set
15156 * Scripts/build-webkit:
15157 * Scripts/webkitdirs.pm:
15159 2006-12-06 Steve Falkenburg <sfalken@apple.com>
15161 Support C strings for localization
15163 * Scripts/extract-localizable-strings:
15165 2006-12-04 Steve Falkenburg <sfalken@apple.com>
15167 Reviewed by Darin Adler.
15169 Make extract-localizable-strings compatible with cpp file extensions.
15171 * Scripts/extract-localizable-strings:
15173 2006-11-21 Darin Adler <darin@apple.com>
15175 Reviewed by Maciej.
15177 - a couple changes to reduce the chance of false positives on the leakbot
15179 * DumpRenderTree/DumpRenderTree.m:
15180 (dumpRenderTree): Move the main function into a separate function so we can run
15181 a final garbage collect afterward without any stray values on the stack. Replaced
15182 the old way of closing down a WebView (setting the delegates to nil) with the new
15183 way (calling the close method), which does a more complete job of shutting
15184 everything down without waiting for the WebView object to be deallocated.
15185 (main): Put auto-release pool here and added an explicit call to garbage collect.
15186 With a separate function, we greatly reduce the chance that a stray address on the
15187 stack will keep an object alive.
15189 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
15190 because I don't have what it takes to fight the power.
15192 2006-11-17 Zack Rusin <zack@kde.org>
15194 Reviewed by Mitz. Landed by Niko.
15196 Fixing compilation.
15198 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15199 (WebCore::DumpRenderTree::DumpRenderTree): Adding
15200 ContextMenuClient to the constructor
15202 2006-11-12 Mark Rowe <bdash@webkit.org>
15206 Clean up of GdkLauncher bakefile.
15208 * GdkLauncher/gdklauncher.bkl:
15210 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
15212 Reviewed and landed by Anders.
15214 Make DRT work again on Qt/Linux.
15216 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15217 (WebCore::DumpRenderTree::DumpRenderTree):
15219 2006-11-10 Zack Rusin <zack@kde.org>
15221 Reviewed and landed by Anders.
15223 Adjusting to the recent loader changes, making it compile
15226 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15227 (WebCore::DumpRenderTree::DumpRenderTree):
15228 (WebCore::DumpRenderTree::checkLoaded):
15229 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15231 2006-11-10 Zack Rusin <zack@kde.org>
15233 Reviewed by Anders.
15235 Making the Qt code work after refactorings in WebCore.
15237 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15238 (WebCore::DumpRenderTree::DumpRenderTree):
15239 (WebCore::DumpRenderTree::checkLoaded):
15240 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15242 2006-11-08 Darin Adler <darin@apple.com>
15244 Reviewed by Anders.
15246 - same change as below, only tested this time
15248 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
15249 mode off. I think we need to do this because WebPreferences saves things
15250 for us automatically. It would be good to turn that off for DumpRenderTree,
15251 but for now lets handle this like the other preferences (set it explicitly
15254 2006-11-08 Darin Adler <darin@apple.com>
15256 Reviewed by Anders.
15258 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
15259 "tab to links" mode. No current tests depend on this, and there's a new
15260 test I want to land that depends on the default setting.
15262 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15264 Reviewed by Maciej.
15266 Linux\gdk build fixes.
15268 * GdkLauncher/main.cpp:
15269 (LauncherFrameGdk::LauncherFrameGdk):
15272 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
15274 Build fix, approved in principle by Tim H.
15276 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15277 Disable deprecated warnings for main.c (TestNetscapePlugin),
15278 as it now uses QuickDraw to convert mouse event coordinates.
15280 2006-11-05 Timothy Hatcher <timothy@apple.com>
15282 Reviewed by Maciej.
15284 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
15285 http://bugs.webkit.org/show_bug.cgi?id=11525
15287 * Drosera/debugger.js: imporved the function name code
15289 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
15291 Reviewed by Maciej.
15293 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
15294 being attributed to the next test.
15296 * DumpRenderTree/EditingDelegate.m:
15297 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
15298 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
15299 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
15300 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
15301 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
15302 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
15303 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
15304 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
15305 (-[EditingDelegate webViewDidBeginEditing:]):
15306 (-[EditingDelegate webViewDidChange:]):
15307 (-[EditingDelegate webViewDidEndEditing:]):
15308 (-[EditingDelegate webViewDidChangeTypingStyle:]):
15309 (-[EditingDelegate webViewDidChangeSelection:]):
15310 * DumpRenderTree/UIDelegate.m:
15311 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
15313 2006-11-06 Mark Rowe <bdash@webkit.org>
15315 Reviewed by Alexey.
15317 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
15319 * Scripts/run-webkit-tests: import the POSIX module.
15321 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
15323 Reviewed by Maciej.
15325 Test for http://bugs.webkit.org/show_bug.cgi?id=11517
15326 REGRESSION: Flash clicks/interactivity not working properly
15328 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
15330 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
15332 plg.eventLoggingEnabled = true;
15333 // use eventSender to simulate events...
15336 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15337 (pluginGetProperty):
15338 (pluginSetProperty):
15340 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15341 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15344 2006-11-04 David Smith <catfish.man@gmail.com>
15348 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
15349 Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
15351 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
15353 2006-11-04 David Smith <catfish.man@gmail.com>
15357 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
15358 Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
15360 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
15362 2006-11-04 David Smith <catfish.man@gmail.com>
15366 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
15367 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
15369 * Drosera/debugger.js: blur() the function popup when we're done with it.
15371 2006-11-04 Mark Rowe <bdash@webkit.org>
15373 Reviewed by Darin Adler.
15375 Fix use of uninitialized value in pattern match.
15377 * Scripts/webkitdirs.pm:
15379 2006-11-04 Darin Adler <darin@apple.com>
15381 Reviewed by Tim Hatcher.
15383 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
15385 2006-11-03 David Smith <catfish.man@gmail.com>
15389 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
15390 Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
15392 * Drosera/DebuggerApplication.m:
15393 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
15395 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
15399 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
15400 Bug 9596: [Drosera] add a function popup to the source pane
15402 * Drosera/debugger.css: Added styles for function popup
15403 * Drosera/debugger.html: Added function popup button and select
15404 * Drosera/debugger.js: Added function popup functionality
15406 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
15408 Reviewed by Maciej.
15410 http://bugs.webkit.org/show_bug.cgi?id=9671
15413 Adds astyle sed script formats according to most of the style guidelines.
15415 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
15419 http://bugs.webkit.org/show_bug.cgi?id=7323
15420 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
15422 When dragging, do not send EventSendingController's events immediately. Dragging
15423 is supposed to be modal, so we need to perform it from within the delegate, without
15424 returning to JS to make the next mouse movement.
15426 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
15428 * DumpRenderTree/EventSendingController.h:
15429 * DumpRenderTree/EventSendingController.m:
15430 (-[EventSendingController dealloc]):
15431 (-[EventSendingController leapForward:]):
15432 (-[EventSendingController mouseDown]):
15433 (-[EventSendingController mouseUp]):
15434 (-[EventSendingController mouseMoveToX:Y:]):
15435 (+[EventSendingController saveEvent:]):
15436 (+[EventSendingController replaySavedEvents]):
15437 * DumpRenderTree/UIDelegate.m:
15438 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
15440 2006-11-02 Geoffrey Garen <ggaren@apple.com>
15442 Reviewed by Justin Garcia.
15444 Made dumping of editing callbacks opt-in, so that editing spew doesn't
15445 cloud non-editing tests.
15447 * DumpRenderTree/DumpRenderTree.m:
15448 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15449 (-[LayoutTestController shouldDumpEditingCallbacks]):
15451 * DumpRenderTree/EditingDelegate.m:
15452 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
15453 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
15454 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
15455 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
15456 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
15457 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
15458 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
15459 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
15460 (-[EditingDelegate webViewDidBeginEditing:]):
15461 (-[EditingDelegate webViewDidChange:]):
15462 (-[EditingDelegate webViewDidEndEditing:]):
15463 (-[EditingDelegate webViewDidChangeTypingStyle:]):
15464 (-[EditingDelegate webViewDidChangeSelection:]):
15466 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
15468 Reviewed by Maciej, landed by Anders.
15470 - http://bugs.webkit.org/show_bug.cgi?id=7802
15471 devenv.com not available in VC++ Express installations
15473 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
15474 * Scripts/install-win-extras: Make setx.exe actually run.
15476 2006-11-01 Stephanie Lewis <slewis@apple.com>
15480 Fixed bug where additional arguments got fed to xcode and jsdriver.pl
15481 Since testkjs is being built before the tests are run, we don't need
15482 to build it with webkit.
15485 http://bugs.webkit.org/show_bug.cgi?id=11462
15486 http://bugs.webkit.org/show_bug.cgi?id=6168
15488 * Scripts/build-webkit:
15489 * Scripts/run-javascriptcore-tests:
15491 2006-11-01 Brady Eidson <beidson@apple.com>
15493 Reviewed by Tim Hatcher
15495 Added accessor to get the source directory for use in client scripts
15497 * Scripts/webkitdirs.pm:
15499 2006-11-01 Mark Rowe <bdash@webkit.org>
15503 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
15505 * Spinneret/Spinneret/Spinneret.cpp:
15507 * WebKitLauncher/WebKitNightlyEnabler.m:
15508 (cleanUpAfterOurselves):
15510 2006-10-31 Mark Rowe <bdash@webkit.org>
15512 Reviewed by Stephanie.
15514 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
15516 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
15517 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
15519 2006-10-31 Darin Adler <darin@apple.com>
15521 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
15522 pasteboard, allocate any number of local pasteboards.
15523 (main): Allocate the dictionary of pasteboards.
15524 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
15526 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
15527 explicitly elsewhere.
15528 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
15529 to the selector rather than calling unconditionally.
15531 2006-10-30 Darin Adler <darin@apple.com>
15535 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
15536 Don't use CFPasteboard.
15538 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
15542 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
15544 * Drosera/debugger.js: ParsedURL() object now recognizes local files
15546 2006-10-30 Darin Adler <darin@apple.com>
15548 Reviewed by Tim Hatcher.
15550 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
15551 This should make our buildbot tests no longer need a pasteboard server.
15553 2006-10-30 Geoffrey Garen <ggaren@apple.com>
15557 Reorganized project file into Delegates and Controllers groups, and split
15558 UIDelegate stuff into a UIDelegate class.
15560 A little birdy told me that I might end up adding some UIDelegate methods
15563 * DumpRenderTree/DumpRenderTree.m:
15566 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15568 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
15570 Reviewed by Oliver.
15572 Add new platform/graphics include directory.
15574 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
15576 2006-10-30 Timothy Hatcher <timothy@apple.com>
15578 Reviewed by Stephanie.
15580 Add a special case for the Internal makefiles, so it can find the OepnSource.
15582 * Scripts/webkitdirs.pm:
15584 2006-10-30 Stephanie Lewis <slewis@apple.com>
15586 Reviewed by Darin Adler.
15588 Change Makefiles to return non-zero when module make fails.
15589 Fix bug where if xcode options are not set, modules can build in the
15593 * Scripts/webkitdirs.pm:
15595 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
15599 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
15600 [Drosera] The Console toolbar button should bring the console window to the front.
15602 The console now gets focus when its activated but already open. Command + L also
15603 now activates/focuses the console.
15605 * Drosera/English.lproj/MainMenu.nib/classes.nib:
15606 * Drosera/English.lproj/MainMenu.nib/info.nib:
15607 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
15608 * Drosera/debugger.js:
15610 2006-10-29 Darin Adler <darin@apple.com>
15612 * Scripts/do-file-rename: Renames done, ready for the next round.
15613 * Scripts/do-webcore-rename: Ditto.
15615 2006-10-29 Darin Adler <darin@apple.com>
15617 * Scripts/do-file-rename: And again.
15619 2006-10-29 Darin Adler <darin@apple.com>
15621 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
15623 2006-10-29 Darin Adler <darin@apple.com>
15627 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
15628 Added. Does nothing, which prevents a beep.
15630 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
15632 2006-10-27 Brady Eidson <beidson@apple.com>
15634 Rubber stamped by Tim Hatcher
15636 Added "make universal" to build universal binaries
15641 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
15645 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
15646 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
15647 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
15649 * DumpRenderTree/EventSendingController.m:
15650 (-[EventSendingController mouseMoveToX:Y:]):
15652 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
15654 Reviewed by Darin Adler.
15656 Fix Qt/Linux build.
15658 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15659 (WebCore::DumpRenderTree::open):
15661 2006-10-24 Stephanie Lewis <slewis@apple.com>
15663 Reviewed by Maciej.
15665 - Changed run-javascriptcore tests to build testkjs before running.
15667 * Scripts/run-javascriptcore-tests:
15669 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
15671 Reviewed by Maciej.
15673 Fix Qt/Linux build.
15675 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
15676 - Fix CMakeLists.txt to include platform/network.
15678 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
15680 2006-10-24 David Smith <catfish.man@gmail.com>
15684 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
15685 http://bugs.webkit.org/show_bug.cgi?id=11382
15687 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
15689 2006-10-21 Darin Adler <darin@apple.com>
15691 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
15692 This was still using "symroots" so it almost never worked!
15694 2006-10-21 Darin Adler <darin@apple.com>
15696 * Makefile: Build DumpRenderTree too.
15697 * Scripts/do-webcore-rename: Removed bogus comment.
15699 2006-10-20 David Smith <catfish.man@gmail.com>
15703 Bug 11367: Inline Breakpoint Editor Improvements: Act III
15704 http://bugs.webkit.org/show_bug.cgi?id=11367
15706 Major breakpoint editor changes:
15707 * Breakpoints can now either pause or log to console
15708 * Code cleanup through use of XPath and converting breakpoints to objects
15709 * Breakpoints now track how many times they've been reached
15711 * The breakpoint editor now saves changes as they're entered
15712 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
15713 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
15715 * Drosera/DebuggerDocument.m:
15716 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
15717 * Drosera/Drosera.xcodeproj/project.pbxproj:
15718 * Drosera/Images/close.tif: Added.
15719 * Drosera/Images/close_active.tif: Added.
15720 * Drosera/Images/close_hover.tif: Added.
15721 * Drosera/breakpointEditor.html: Added.
15722 * Drosera/console.js: Added a way to append messages from outside the console window.
15723 * Drosera/debugger.js:
15724 * Drosera/viewer.css:
15725 * Drosera/viewer.html:
15727 2006-10-18 David Smith <catfish.man@gmail.com>
15731 Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
15733 * Drosera/DebuggerDocument.m:
15734 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
15735 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
15736 * Drosera/debugger.js:
15738 2006-10-18 Timothy Hatcher <timothy@apple.com>
15740 Reviewed by Anders.
15742 Bug 10851: Crash with Drosera
15743 http://bugs.webkit.org/show_bug.cgi?id=10851
15745 This crash results in an assert in debug builds.
15747 assert(implementsCall());
15749 The __drosera_introspection propery was not callable. Now we just assign
15750 this.__drosera_introspection in the evaluateWebScript call.
15751 This change also removes one DO message.
15753 * Drosera/DebuggerDocument.m:
15754 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
15756 2006-10-18 Mark Rowe <bdash@webkit.org>
15760 http://bugs.webkit.org/show_bug.cgi?id=11304
15761 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
15763 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
15764 when they are not part of the WebKit umbrella framework.
15766 2006-10-18 Adam Roben <aroben@apple.com>
15768 fixo el buildo II: Release's Pride.
15770 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15772 2006-10-18 Geoffrey Garen <ggaren@apple.com>
15776 Work around #import of <PDFKit/PDFView.h>.
15778 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15780 2006-10-18 David Smith <catfish.man@gmail.com>
15784 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
15786 * Drosera/Drosera.xcodeproj/project.pbxproj:
15787 * Drosera/Images/breakpointeditor.png: Added.
15788 * Drosera/breakpointEditor.css: Removed.
15789 * Drosera/breakpointEditor.html: Removed.
15790 * Drosera/breakpointEditor.js: Removed.
15791 * Drosera/debugger.js:
15792 * Drosera/viewer.css:
15794 2006-10-18 David Harrison <harrison@apple.com>
15798 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
15799 http://bugs.webkit.org/show_bug.cgi?id=11341
15801 Link editing behavior became a preference. DumpRenderTree needs to specify the
15802 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
15804 * DumpRenderTree/DumpRenderTree.m:
15807 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15809 Reviewed by Anders.
15811 Make compiler not complain about unused gk. SpinneretWebHost was not setting
15812 initial refcount upon creation, so it is completely bogus.
15814 * GdkLauncher/main.cpp:
15816 * Spinneret/Spinneret/Spinneret.h:
15817 (SpinneretWebHost::SpinneretWebHost):
15819 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
15821 Reviewed by Oliver.
15823 Add another hanging test, to the "to be skipped" list.
15825 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
15827 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
15829 Reviewed by Anders.
15831 Some fixes to get the Qt BuildSlave to run the LayoutTests.
15833 * Scripts/build-dumprendertree: No need to call cmake again.
15834 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
15836 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
15840 Force --no-http on Qt/Linux.
15842 * Scripts/run-webkit-tests:
15844 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
15848 Gets JavaScripCore tests running on windows.
15850 * Scripts/run-javascriptcore-tests:
15851 * Scripts/webkitdirs.pm:
15853 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
15855 Reviewed by Maciej.
15857 Exclude some tests which crash or hang from Qt/Linux DRT.
15858 These are known to fail, and will be fixed at some point :-)
15860 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15861 (WebCore::DumpRenderTree::DumpRenderTree):
15862 (WebCore::DumpRenderTree::open):
15863 (WebCore::DumpRenderTree::readStdin):
15864 (WebCore::DumpRenderTree::readSkipFile):
15865 (WebCore::DumpRenderTree::checkLoaded):
15866 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
15867 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
15869 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
15871 Reviewed by Maciej.
15873 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
15875 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
15876 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
15877 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
15879 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15881 Reviewed by Maciej.
15883 Also regenerate GdkLauncher makefiles, since not doing that might
15884 lead to mismatch between WebCore and GdkLauncher compiler settings.
15886 * Scripts/regenerate-makefiles:
15888 2006-10-10 David Smith <catfish.man@gmail.com>
15892 Bug 11246: Minor Drosera code cleanup
15893 http://bugs.webkit.org/show_bug.cgi?id=11246
15895 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
15897 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
15901 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
15903 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
15904 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
15905 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
15906 * Drosera/Images/SourceArrowOpen.png: Added.
15907 * Drosera/Images/fileIcon.jpg: Added.
15908 * Drosera/Images/siteCollapsed.tif: Added.
15909 * Drosera/Images/siteExpanded.tif: Added.
15910 * Drosera/Images/siteIcon.tif: Added.
15911 * Drosera/debugger.css: Added File Browser styles
15912 * Drosera/debugger.html: Added File Browser UI
15913 * Drosera/debugger.js: Added File Browser functionality
15915 2006-10-10 Darin Adler <darin@apple.com>
15917 * Scripts/do-file-rename: Added.
15919 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15923 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
15924 a page. This allows automatic testing via e.g. valgrind.
15926 * GdkLauncher/gdklauncher.bkl:
15927 * GdkLauncher/main.cpp:
15928 (LauncherFrameGdk::LauncherFrameGdk):
15929 (LauncherFrameGdk::setExitAfterLoading):
15930 (LauncherFrameGdk::handledOnloadEvents):
15934 2006-10-06 David Smith <catfish.man@gmail.com>
15936 Reviewed by Timothy.
15938 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
15940 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
15941 * Drosera/breakpointEditor.css: Added.
15942 * Drosera/breakpointEditor.html: Added.
15943 * Drosera/breakpointEditor.js: Added.
15944 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
15946 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
15950 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
15952 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15953 (WebCore::DumpRenderTree::DumpRenderTree):
15955 2006-10-05 Oliver Hunt <ohunt@apple.com>
15957 Reviewed by Anders.
15959 * Scripts/run-webkit-tests:
15962 2006-10-04 Anders Carlsson <acarlsson@apple.com>
15964 Reviewed by Darin Adler.
15966 * Scripts/run-webkit-tests:
15967 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
15970 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
15972 Reviewed and landed by ap.
15974 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
15975 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
15977 * Scripts/webkitdirs.pm:
15979 2006-10-04 Mark Rowe <bdash@webkit.org>
15981 Reviewed by Stephanie.
15983 Switch the Qt buildbot to the standard set of build steps.
15984 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
15985 see if any regressions were spotted, and fail the test if so.
15987 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
15988 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
15989 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
15991 2006-10-04 Timothy Hatcher <timothy@apple.com>
15993 Reviewed by Mitz Pettel!
15995 Bug 10708: [Drosera] Make the console input plaintext-only
15996 http://bugs.webkit.org/show_bug.cgi?id=10708
15998 Change the console input -webkit-user-modify property to
15999 read-write-plaintext-only.
16001 * Drosera/console.css:
16003 2006-10-04 David Smith <catfish.man@gmail.com>
16007 Bug 10473: [Drosera] Overlapping text in JavaScript Console
16008 http://bugs.webkit.org/show_bug.cgi?id=10473
16010 Using min-height instead of height to avoid overlapping text.
16012 * Drosera/console.css:
16014 2006-10-04 David Smith <catfish.man@gmail.com>
16018 Added a bash-style command history.
16020 * Drosera/console.js:
16022 2006-10-03 Anders Carlsson <acarlsson@apple.com>
16024 Reviewed by Adam and Brady.
16026 * DumpRenderTree/DumpRenderTree.m:
16028 Update URL to Ahem.ttf
16030 2006-10-03 Darin Adler <darin@apple.com>
16032 * Scripts/commit-log-editor: Added missing "close" call. Oops!
16034 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
16036 Reviewed by eseidel. Landed by eseidel.
16038 Offer a way for BuildBot to not colorize the cmake output, when building
16039 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
16041 Default is colorize output, though only Qt platform handles this for now.
16043 * Scripts/build-dumprendertree:
16044 * Scripts/build-webkit:
16045 * Scripts/webkitdirs.pm:
16047 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
16049 Reviewed by eseidel. Landed by eseidel.
16051 Make all important scripts work with Qt/Linux.
16053 You can safely use this now:
16054 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
16056 * Scripts/build-dumprendertree:
16057 * Scripts/run-javascriptcore-tests:
16058 * Scripts/run-webkit-tests:
16059 * Scripts/webkitdirs.pm:
16061 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
16065 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
16067 * Scripts/webkitdirs.pm:
16069 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
16071 Reviewed/landed by Adam.
16073 Proper build-webkit support for Qt/Linux.
16075 Compilation process is similar to OSX now, aka.
16076 the build directory is RootCheckoutDir/WebKitBuild now.
16078 * Scripts/build-webkit: Recognize Qt.
16079 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
16081 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
16083 Reviewed by Maciej.
16085 Add QT build slave to Buildbot.
16087 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
16088 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
16089 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming. Use the IRC bot in #webkit-build instead.
16090 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
16092 2006-09-28 David Harrison <harrison@apple.com>
16094 Suggested by Darin Adler.
16096 Moved an extern declaration from inside a method to the top of the file.
16098 * DumpRenderTree/EventSendingController.m:
16099 (-[EventSendingController clearKillRing]):
16101 2006-09-28 David Harrison <harrison@apple.com>
16103 Reviewed by Justin.
16105 Add clearKillRing so we can test emacs support with empty kill ring.
16107 * DumpRenderTree/EventSendingController.m:
16108 (+[EventSendingController isSelectorExcludedFromWebScript:]):
16109 (+[EventSendingController webScriptNameForSelector:]):
16110 (-[EventSendingController clearKillRing]):
16112 2006-09-27 MorganL <morganl.webkit@yahoo.com>
16114 Reviewed by Maciej, landed by Brady
16116 Fix URL bar updating.
16118 * Spinneret/Spinneret/Spinneret.h:
16119 (SpinneretWebHost::didStartProvisionalLoadForFrame):
16120 (SpinneretWebHost::didCommitLoadForFrame):
16121 (SpinneretWebHost::didFinishLoadForFrame):
16123 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
16129 * DumpRenderTree/EventSendingController.m:
16130 (-[EventSendingController enableDOMUIEventLogging:]):
16132 2006-09-22 Justin Garcia <justin.garcia@apple.com>
16136 * Scripts/do-webcore-rename:
16138 2006-09-21 Timothy Hatcher <timothy@apple.com>
16142 Bug 10923: Frame scroll layout test failures on the buildbot
16143 http://bugs.webkit.org/show_bug.cgi?id=10923
16145 Added a new method that will toggle on the recursive dump of
16146 child frame scroll positions.
16148 * DumpRenderTree/DumpRenderTree.m:
16149 (dumpFrameScrollPosition):
16150 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16151 (-[LayoutTestController dumpChildFrameScrollPositions]):
16153 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
16155 Reviewed by eseidel. Landed by eseidel.
16157 Detect that close button was pressed and exit cleanly.
16159 * GdkLauncher/main.cpp:
16163 2006-09-17 Adam Roben <aroben@apple.com>
16165 Reviewed by hyatt, sfalken.
16167 Get DumpRenderTree compiling and limping along on Windows.
16169 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16170 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
16171 (main): Add NULL argument to Page constructor.
16172 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
16173 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
16175 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
16179 http://bugs.webkit.org/show_bug.cgi?id=10635
16180 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
16182 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
16183 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
16184 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
16186 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
16190 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
16191 Even More Objective-C DOM auto-generation cleanup
16193 - Change to use new, more Objectice-C'ish version of
16194 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
16195 regression test for fast/events/dblclick-addEventListener.html.
16197 * DumpRenderTree/EventSendingController.m:
16198 (-[EventSendingController fireKeyboardEventsToElement:]):
16200 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
16204 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
16205 Move QtLauncher down to WebKitQt.
16207 * QtLauncher/CMakeLists.txt: Removed.
16208 * QtLauncher/main.cpp: Removed.
16210 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
16212 Reviewed by Darin Adler.
16214 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
16215 Adjust DumpRenderTree to the FrameQtClient changes.
16217 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
16218 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16219 (WebCore::DumpRenderTree::DumpRenderTree):
16220 (WebCore::DumpRenderTree::~DumpRenderTree):
16221 (WebCore::DumpRenderTree::frame):
16222 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16223 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
16224 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
16225 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
16226 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
16228 2006-09-03 Darin Adler <darin@apple.com>
16230 * Scripts/do-webcore-rename: More renaming plans.
16232 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
16236 http://bugs.webkit.org/show_bug.cgi?id=10693
16237 Convert JavaScript arrays to AppleScript lists
16239 * DumpRenderTree/AppleScriptController.m:
16240 (convertAEDescToObject):
16241 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
16243 2006-08-31 Darin Adler <darin@apple.com>
16245 * Scripts/do-webcore-rename: Prepare for another round of renaming.
16247 2006-08-29 Dan Waylonis <waylonis@google.com>
16249 Reviewed by ggaren.
16251 - Verification of exceptions thrown in a plugin. Test for bug 10114.
16252 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16253 * DumpRenderTree/ObjCPlugin.m:
16254 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
16255 (+[ObjCPlugin webScriptNameForSelector:]):
16256 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
16258 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
16262 Commit KDE related tweaks, to be able to
16263 differentiate between a Qt-only or a KDE build.
16265 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
16266 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
16268 2006-08-29 Darin Adler <darin@apple.com>
16270 Reviewed by Tim Hatcher.
16272 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
16273 to work around what seems to be a bug in some versions of gdb.
16275 2006-08-16 Tim Omernick <timo@apple.com>
16277 Reviewed by John Sullivan.
16279 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
16280 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
16283 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
16285 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
16286 are expected to be retained by the plug-in, and released by the caller.
16288 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
16290 Reviewed by Tim Hatcher.
16292 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
16294 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16295 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
16296 Qt's DumpRenderTree.
16298 * Scripts/run-webkit-tests:
16299 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
16301 2006-08-28 Darin Adler <darin@apple.com>
16303 Reviewed by Tim Hatcher.
16305 * Scripts/build-drosera: Fix behavior when there are multiple options.
16307 2006-08-27 Timothy Hatcher <timothy@apple.com>
16309 Reviewed by Anders.
16311 Drosera will be built when you type make.
16313 * Drosera/Makefile: Added.
16315 * Makefile.shared: Added.
16317 2006-08-27 Anders Carlsson <acarlsson@apple.com>
16319 Forgot to add these.
16321 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
16322 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
16323 (WebCore::DumpRenderTree::DumpRenderTree):
16324 (WebCore::DumpRenderTree::~DumpRenderTree):
16325 (WebCore::DumpRenderTree::open):
16326 (WebCore::DumpRenderTree::readStdin):
16327 (WebCore::DumpRenderTree::checkLoaded):
16328 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
16329 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
16332 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
16334 Reviewed by Eric, landed by Anders.
16336 Add DumpRenderTree support for Qt/Linux.
16338 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
16339 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
16340 (WebCore::DumpRenderTree::DumpRenderTree):
16341 (WebCore::DumpRenderTree::~DumpRenderTree):
16342 (WebCore::DumpRenderTree::open):
16343 (WebCore::DumpRenderTree::readStdin):
16344 (WebCore::DumpRenderTree::checkLoaded):
16345 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
16346 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
16348 * Scripts/build-dumprendertree:
16349 * Scripts/run-webkit-tests:
16350 * Scripts/webkitdirs.pm:
16352 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
16354 Reviewed by Eric. Landed by rwlbuis.
16356 Add QtLauncher (was testunity before), which provides a
16357 standalone "browser" to test the Qt platform stuff.
16359 * QtLauncher/CMakeLists.txt: Added.
16360 * QtLauncher/main.cpp: Added.
16363 2006-08-22 Trey Matteson <trey@usa.net>
16365 Reviewed by ggaren.
16367 Added support for a new set of browser navigation tests. The main feature
16368 is the ability for a test to queue up a set of future actions that will
16369 happen after that first page is loaded. This is used to simulate a sequence
16370 of user actions such as filling out forms, loading additional pages or
16371 going back. In addition we can now dump out the state of the back/forward
16372 list, and the scroll position is dumped if not at 0,0.
16374 * DumpRenderTree/DumpRenderTree.m:
16375 (main): Init new state
16376 (compareHistoryItems): New utility to support sorting.
16377 (dumpHistoryItem): Write out a WebHistoryItem and kids.
16378 (dumpFrameScrollPosition): Write out the scroll position.
16379 (dump): Optionally write b/f list or scroll position.
16380 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
16381 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
16382 Kick off any queued actions. Fixed for the case of loads started in
16383 a subframe instead of the root frame.
16384 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
16385 Grab the topmost frame that is being loaded. Do this as early as possible,
16386 instead of in didCommitLoadForFrame.
16387 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
16388 Noting a load has started now happens in previous method.
16389 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
16390 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
16391 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
16393 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
16394 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
16395 Add new work to the queue.
16396 (-[LayoutTestController _doLoad:target:]): Do a queued load.
16397 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
16398 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
16399 (-[LayoutTestController scheduleForwardNav:]):
16400 (-[LayoutTestController scheduleReload]):
16401 (-[LayoutTestController scheduleScript:]):
16402 (-[LayoutTestController scheduleLoad:target:]):
16403 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
16404 since it's not one of the functions that does any dumping.
16406 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
16408 Reviewed by Darin Adler.
16410 - added a function to create a few DOMKeyboardEvents and dispatch
16411 them to a specified HTML element
16412 http://bugs.webkit.org/show_bug.cgi?id=9736
16414 * DumpRenderTree/EventSendingController.m:
16415 (+[EventSendingController isSelectorExcludedFromWebScript:]):
16416 (+[EventSendingController webScriptNameForSelector:]):
16417 (-[EventSendingController fireKeyboardEventsToElement:]):
16419 2006-08-15 Duncan Wilcox <duncan@mclink.it>
16421 Reviewed and tweaked by Darin Adler.
16423 - added DumpRenderTree support so editing delegate can be made to refuse edits
16424 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
16426 * DumpRenderTree/DumpRenderTree.m:
16427 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
16428 to the list of methods.
16429 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
16430 without the colon, for the JavaScript name.
16431 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
16433 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
16435 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
16436 setter methods to the class.
16437 * DumpRenderTree/EditingDelegate.m:
16438 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
16439 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
16440 return the value of acceptsEditing.
16441 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
16442 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
16443 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
16444 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
16445 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
16447 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
16448 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
16449 (-[EditingDelegate setAcceptsEditing:]): Added.
16451 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
16453 Reviewed by Darin Adler.
16455 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
16456 http://bugs.webkit.org/show_bug.cgi?id=10224
16458 * Drosera/Drosera.xcodeproj/project.pbxproj:
16459 * Drosera/LauncherInfo.plist:
16461 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
16463 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
16464 when a test performs an unsuccessful drag and drop operation.
16466 * DumpRenderTree/EventSendingController.m:
16467 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
16468 drag operation for the mouse release is NSDragOperationNone.
16470 2006-08-02 Timothy Hatcher <timothy@apple.com>
16472 Reviewed by Darin Adler.
16474 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
16475 http://bugs.webkit.org/show_bug.cgi?id=9632
16477 Do not change the file source when normalizing the line endings.
16478 We use this file source to compare against new versions of the source
16479 as it comes in, so we can skip re-syntax highlighting if they are the same.
16480 The problem is apparent on yahoo.com since they have mixed line endings and
16481 once we normalize them the source will always be different. This was
16482 compounded by the fact that yahoo has around 40 inline scripts. Each
16483 inline script causes us to check if the main document has more loaded,
16484 that is when we compare the source strings. Since they are always different
16485 we would syntax highlight yahoo.com 40 times! We do check source length before
16486 doing a more expensive string comparison, but the lengths were the same.
16488 * Drosera/debugger.js:
16490 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
16492 Reviewed by Timothy.
16494 Bug 9931: [Drosera] Needs a cool icon
16495 http://bugs.webkit.org/show_bug.cgi?id=9931
16497 * Drosera/Drosera.icns: Added.
16498 * Drosera/Drosera.xcodeproj/project.pbxproj:
16499 * Drosera/Info.plist:
16501 2006-08-01 Darin Adler <darin@apple.com>
16503 - fix a bug in my recent change where the mouse position at the end of
16504 the last test would affect the results of the next test
16506 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
16508 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
16510 Reviewed by Maciej.
16512 http://bugs.webkit.org/show_bug.cgi?id=10182
16513 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
16515 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
16516 Correct the logic to not reload local variable list unless an '=' character is in the expression.
16518 2006-07-31 Darin Adler <darin@apple.com>
16520 Reviewed by Maciej.
16522 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
16523 REGRESSION: failing layout test: fast/events/objc-event-api.html
16525 * DumpRenderTree/DumpRenderTree.m:
16526 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
16527 location in flipped coordinates, since those are the coordinates that we use.
16528 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
16529 inside WebHTMLView.
16531 * DumpRenderTree/EventSendingController.m:
16532 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
16533 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
16534 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
16535 probably worked OK, but this is needed to be correct.
16536 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
16537 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
16538 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
16539 dump the screenY as-is.
16541 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
16543 Reviewed by Darin Adler.
16545 http://bugs.webkit.org/show_bug.cgi?id=10178
16546 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
16548 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
16549 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
16551 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
16553 Reviewed by Darin Adler.
16555 http://bugs.webkit.org/show_bug.cgi?id=10175
16556 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
16558 * Drosera/DebuggerDocument.m:
16559 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
16561 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
16563 Reviewed by Darin Adler.
16565 http://bugs.webkit.org/show_bug.cgi?id=10167
16566 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
16568 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
16569 in keyDown handler.
16571 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
16573 Reviewed by Maciej.
16575 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
16576 http://bugs.webkit.org/show_bug.cgi?id=9686
16578 * Drosera/DebuggerDocument.m:
16579 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
16580 ensure that the server does not try and notify us of events related to the resumption.
16581 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
16582 call through to JavaScript.
16583 * Drosera/debugger.js: Pause debugger when exception is raised.
16585 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
16587 Reviewed by Darin Adler.
16589 - fixes for Linux build
16591 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
16592 * GdkLauncher/gdklauncher.bkl: Tweak comment.
16594 2006-07-24 Dan Waylonis <waylonis@google.com>
16596 Reviewed and tweaked a bit by Darin Adler.
16598 * DumpRenderTree/ObjCPlugin.m:
16599 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
16600 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
16601 "echo:" so it's nice to call from JavaScript.
16602 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
16603 to test a round trip through Objective-C types.
16605 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
16607 Reviewed by Darin Adler.
16609 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
16610 Improve iExploder results parsing
16612 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
16613 in random mode, too.
16615 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
16617 Reviewed by Timothy.
16619 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
16620 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
16622 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
16624 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
16626 Reviewed by Darin Adler.
16628 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
16629 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
16631 Removed "Property changes" that snuck in as part of the "apply patch" process.
16633 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
16635 Reviewed by Darin Adler.
16637 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
16638 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
16640 * Scripts/svn-apply:
16641 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
16643 (patch): Use patch(1) for non-binary additions and deletions.
16644 * Scripts/svn-unapply:
16646 (patch): Use patch(1) for reverting non-binary additions and deletions.
16647 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
16649 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
16651 Reviewed by Timothy.
16653 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
16654 http://bugs.webkit.org/show_bug.cgi?id=9889
16656 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
16657 so, have stepOut pause on the next call to willExecuteStatement rather than second.
16659 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
16661 Reviewed by Darin Adler.
16663 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
16664 Teach svn-create-patch and friends to fix ChangeLog patches
16666 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
16667 * Scripts/svn-create-patch: Ditto.
16668 * Scripts/svn-unapply: Ditto.
16670 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
16672 Reviewed by ggaren.
16674 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
16675 http://bugs.webkit.org/show_bug.cgi?id=9869
16677 * Drosera/DebuggerDocument.m:
16678 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
16680 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
16682 Reviewed by ggaren.
16684 Bug 9863: Drosera needs to show something at launch
16685 http://bugs.webkit.org/show_bug.cgi?id=9863
16687 * Drosera/DebuggerApplication.m:
16688 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
16690 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
16692 Reviewed by Timothy.
16694 Lets Drosera build universal for the nightlies. Right now it is not
16695 possible to build a universal binary on a PPC machine because of a
16696 conflict with the universal SDK.
16698 * BuildSlaveSupport/build-launcher-app:
16699 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
16701 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
16705 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
16706 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
16708 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16709 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
16710 should open a new stream and deliver the data to the current instance.
16712 2006-07-11 Timothy Hatcher <timothy@apple.com>
16714 Reviewed by Darin Adler.
16716 Bug 9598: [Drosera] add a JavaScript evaluator console
16717 http://bugs.webkit.org/show_bug.cgi?id=9598
16719 * Drosera/DebuggerApplication.h:
16720 * Drosera/DebuggerApplication.m:
16721 (-[DebuggerApplication knownServers]):
16722 * Drosera/DebuggerDocument.h:
16723 * Drosera/DebuggerDocument.m:
16724 (-[WebScriptObject evaluateScript:inCallFrame:]):
16725 (-[WebScriptObject showConsole:]):
16726 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
16727 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
16728 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
16729 (-[WebScriptObject webView:createWebViewWithRequest:]):
16730 (-[WebScriptObject webViewShow:]):
16731 (-[WebScriptObject webViewAreToolbarsVisible:]):
16732 (-[WebScriptObject webView:setToolbarsVisible:]):
16733 (-[WebScriptObject webView:setResizable:]):
16734 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
16735 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
16736 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
16737 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
16738 (-[WebScriptObject webView:didFinishLoadForFrame:]):
16739 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
16740 * Drosera/Drosera.xcodeproj/project.pbxproj:
16741 * Drosera/Images/console.png: Added.
16742 * Drosera/console.css: Added.
16743 * Drosera/console.html: Added.
16744 * Drosera/console.js: Added.
16746 2006-07-11 Timothy Hatcher <timothy@apple.com>
16748 Reviewed by a tired Geoff.
16750 Bug 9597: [Drosera] hook up the variables table to show stack variables
16751 http://bugs.webkit.org/show_bug.cgi?id=9597
16753 * Drosera/DebuggerDocument.m:
16754 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
16755 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
16756 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
16757 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
16758 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
16759 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
16760 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
16761 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
16762 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
16763 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
16764 * Drosera/debugger.css:
16765 * Drosera/debugger.html:
16766 * Drosera/debugger.js:
16768 2006-07-10 Tim Omernick <timo@apple.com>
16770 Reviewed by Beth Dakin.
16772 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
16773 Add DOM access test to DumpRenderTree's Netscape plug-in
16775 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16779 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
16781 Reviewed by Darin Adler.
16783 - http://bugs.webkit.org/show_bug.cgi?id=9839
16784 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
16786 Now track three states: initializing, running, and closed. If we are launched and the previous
16787 state was initializing then we likely just experienced a crash on launch.
16789 * WebKitLauncher/WebKitNightlyEnabler.m:
16790 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
16791 (myApplicationWillTerminate): Update to use new states.
16792 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
16793 initializing as early as practical.
16794 (symbol_lookup): Bring code up to speed with formatting guidelines.
16795 (GDSymbolLookup): Ditto.
16797 2006-07-10 Darin Adler <darin@apple.com>
16799 - try to fix Windows build
16801 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
16802 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
16804 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16808 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
16809 devenv.com not available in VC++ Express installations
16811 * Scripts/webkitdirs.pm: Backed out previous change.
16813 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16815 Reviewed by Darin Adler.
16817 - http://bugs.webkit.org/show_bug.cgi?id=9693
16818 svn-apply should set ChangeLog date correctly when applying patches
16820 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
16821 before applying the patch.
16822 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
16824 2006-07-09 Darin Adler <darin@apple.com>
16826 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
16828 2006-07-09 Darin Adler <darin@apple.com>
16830 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
16832 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16834 - http://bugs.webkit.org/show_bug.cgi?id=7802
16835 devenv.com not available in VC++ Express installations
16837 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
16838 work again. Add VC++ Express check as the fallback.
16840 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
16842 Reviewed by Timothy Hatcher.
16844 - http://bugs.webkit.org/show_bug.cgi?id=7802
16845 devenv.com not available in VC++ Express installations
16847 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
16849 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
16853 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
16854 Patch by coldwinter@katamail.com.
16856 In the congratulations message, "capatibilies" should be "capabilities".
16858 * Scripts/build-webkit:
16860 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16862 Reviewed by Timothy Hatcher.
16864 - http://bugs.webkit.org/show_bug.cgi?id=9794
16865 Teach run-webkit-tests how to ignore tests with performance improvements
16867 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
16868 feature, and minor clean up.
16870 2006-07-08 Darin Adler <darin@apple.com>
16872 Reviewed by Geoff (well, half of it at least).
16874 - http://bugs.webkit.org/show_bug.cgi?id=9788
16875 storage leaks in Objective-C tests
16877 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
16878 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
16879 Add a release to fix a storage leak.
16881 2006-07-08 Darin Adler <darin@apple.com>
16883 * Scripts/do-webcore-rename: A few more.
16885 2006-07-08 Darin Adler <darin@apple.com>
16887 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
16889 2006-07-04 Maciej Stachowiak <mjs@apple.com>
16891 Reviewed by Darin Adler.
16893 http://bugs.webkit.org/show_bug.cgi?id=9734
16894 - add support for dumping non-HTML as text - in this case use textContent
16895 instead of innerText
16897 * DumpRenderTree/DumpRenderTree.m:
16900 2006-07-02 Timothy Hatcher <timothy@apple.com>
16904 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
16905 http://bugs.webkit.org/show_bug.cgi?id=9631
16907 Adds step over and step out. Along with a little code cleanup
16908 that was minor enough to piggyback on this fix.
16910 * Drosera/DebuggerDocument.h:
16911 * Drosera/DebuggerDocument.m:
16912 (-[DebuggerDocument stepOver:]):
16913 (-[DebuggerDocument stepOut:]):
16914 (-[DebuggerDocument windowDidLoad]):
16915 (-[DebuggerDocument windowWillClose:]):
16916 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
16917 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
16918 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
16919 (-[DebuggerDocument validateUserInterfaceItem:]):
16920 * Drosera/Drosera.xcodeproj/project.pbxproj:
16921 * Drosera/debugger.html:
16922 * Drosera/debugger.js:
16923 * Drosera/viewer.css:
16925 2006-07-02 Timothy Hatcher <timothy@apple.com>
16929 Bug 9628: [Drosera] Split Views acting oddly
16930 http://bugs.webkit.org/show_bug.cgi?id=9628
16932 Only update the last X or Y coordinate if the new
16933 size was not constrained. Also adds the resize cursor to
16934 the body during the drag incase there is a constrained
16935 over drag off of the resizer element.
16937 * Drosera/debugger.js:
16939 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16941 Reviewed by Alexey Proskuryakov.
16943 Bug 9692: Warning about Safari extensions on every launch is obnoxious
16944 http://bugs.webkit.org/show_bug.cgi?id=9692
16946 * WebKitLauncher/WebKitNightlyEnabler.m:
16947 (myApplicationWillTerminate): Note that we are exiting cleanly.
16948 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
16949 to exit cleanly on our last invocation. This doesn't play nicely with
16950 multiple concurrent instances of WebKit.app so it can be disabled via
16951 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
16953 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16955 Reviewed by Alexey Proskuryakov.
16957 Bug 9654: Refresh Loop when accessing feed URLs
16958 http://bugs.webkit.org/show_bug.cgi?id=9654
16960 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
16962 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16964 Reviewed by Timothy Hatcher.
16966 Bug 9689: Nightly builds should warn a user about potential problems when using
16967 "Safari extensions"
16968 http://bugs.webkit.org/show_bug.cgi?id=9689
16970 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
16971 * WebKitLauncher/WebKitNightlyEnabler.m:
16972 (myBundleDidLoad): Keep track of if any bundles that are loaded.
16973 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
16974 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
16975 NSApplicationWillFinishLaunchingNotification notifications so that we can
16976 track bundle loads and notify the user at launch completion.
16978 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
16980 Reviewed by Darin Adler.
16982 - first check-in of a Gdk shell for testing WebKit
16984 * GdkLauncher: Added.
16986 2006-06-29 Timothy Hatcher <timothy@apple.com>
16988 Reviewed by Darin Adler.
16990 Need to call window close so WebView tears-down completly.
16992 * DumpRenderTree/DumpRenderTree.m:
16993 (main): call [window close]
16995 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
16997 Reviewed by Darin Adler.
16999 Bug 9615: Buildbot configuration should be in SVN repository
17000 http://bugs.webkit.org/show_bug.cgi?id=9615
17002 Import BuildBot configuration files as used by build.webkit.org.
17003 auth.py has been stubbed out so that slave passwords are not disclosed.
17005 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
17006 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
17007 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
17008 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
17009 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
17010 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
17011 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
17012 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
17013 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
17014 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
17015 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
17016 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
17018 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
17020 Reviewed by Darin Adler.
17022 Bug 9614: Nightly builds should notify user if a newer build is available
17023 http://bugs.webkit.org/show_bug.cgi?id=9614
17025 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
17026 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
17027 script so it can keep track of the latest revision.
17028 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
17029 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
17030 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
17031 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
17032 the nightly start page.
17034 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
17036 Reviewed by Darin Adler.
17038 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
17039 http://bugs.webkit.org/show_bug.cgi?id=9579
17041 Report screenY values as (height of zero screen - screenY)
17043 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
17045 2006-06-25 Timothy Hatcher <timothy@apple.com>
17049 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
17050 http://bugs.webkit.org/show_bug.cgi?id=9591
17052 Makes breakpoints dragable. If dragged off the gutter they are deleted.
17054 * Drosera/debugger.js:
17055 * Drosera/viewer.css:
17057 2006-06-25 Timothy Hatcher <timothy@apple.com>
17059 Reviewed by Darin Adler.
17061 Bug 9568: assertion failure in Safari after quitting Drosera
17062 http://bugs.webkit.org/show_bug.cgi?id=9568
17064 Call switchToServerNamed:nil and not removeLister to make sure
17065 the server object is set to nil to prevent further removeListener calls.
17067 * Drosera/DebuggerDocument.m:
17068 (-[DebuggerDocument applicationTerminating:]):
17070 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
17072 Reviewed by Darin Adler.
17074 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
17075 that the directory is not empty instead of reading in every single file and directory first,
17076 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
17079 2006-06-25 Darin Adler <darin@apple.com>
17081 * Scripts/svn-apply: Tweak comments.
17082 * Scripts/svn-create-patch: Ditto.
17083 * Scripts/svn-unapply: Ditto.
17085 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
17087 Formatting fix per Bug 9571 Comment #2.
17089 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
17091 * Scripts/svn-apply: Formatting fix.
17093 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
17095 Reviewed by Darin Adler.
17097 http://bugs.webkit.org/show_bug.cgi?id=9571
17098 Teach svn-apply and svn-unapply to handle directory adds and removes better
17100 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
17101 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
17103 2006-06-25 Timothy Hatcher <timothy@apple.com>
17105 Reviewed by Darin Adler.
17107 Bug 9574: Drosera should show inline scripts within the original HTML
17108 http://bugs.webkit.org/show_bug.cgi?id=9574
17110 Refactor the JavaScript code to have a distinction between files
17111 and scripts. Show the script in the context of the HTML file if
17112 it's URL is the same as the frame's main resource. At the time of
17113 the disParseScript callback the main resource might not be completely
17114 loaded, but Drosera needs to show whatever we have at the time. Once
17115 the main resource is finished, update the file source and reload the file.
17117 * Drosera/DebuggerDocument.m:
17118 (-[DebuggerDocument pause]):
17119 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
17120 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
17121 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
17122 * Drosera/debugger.css:
17123 * Drosera/debugger.js:
17125 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
17127 Reviewed by Darin Adler.
17129 http://bugs.webkit.org/show_bug.cgi?id=9570
17130 Teach prepare-ChangeLog to operate on a list of files or directories
17132 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
17133 * Scripts/svn-create-patch: Code refactoring.
17135 2006-06-24 James G. Speth <speth@end.com>
17137 Reviewed by Darin Adler.
17139 - http://bugs.webkit.org/show_bug.cgi?id=8843
17140 add a way to build Objective-C test cases in HTML
17142 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
17143 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
17144 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
17147 * DumpRenderTree/ObjCPlugin.h:
17148 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
17149 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
17150 (+[ObjCPlugin webScriptNameForSelector:]):
17151 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
17152 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
17153 (+[NSObject allowsScriptsFullAccess]):
17154 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
17155 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
17156 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
17157 (+[JSObjC webScriptNameForSelector:]):
17158 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
17159 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
17160 (-[JSObjC log:]): access to NSLog function
17161 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
17162 (-[JSObjC classOfObject:]):
17163 (-[JSObjC classNameOfObject:]):
17165 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
17167 Reviewed by Timothy.
17169 * DrawTest/Info.plist: Added copyright statement.
17170 * Drosera/Info.plist: Ditto.
17171 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
17172 * WebKitLauncher/Info.plist: Ditto.
17174 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
17178 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
17179 devenv.com not available in VC++ Express installations
17181 * Scripts/webkitdirs.pm: Backed out previous change.
17183 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
17185 Reviewed by Maciej.
17187 - http://bugs.webkit.org/show_bug.cgi?id=7802
17188 devenv.com not available in VC++ Express installations
17190 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
17192 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
17194 Reviewed by Darin Adler.
17196 - http://bugs.webkit.org/show_bug.cgi?id=9564
17197 A bunch of fixes to run-webkit-httpd
17199 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
17200 127.0.0.1. Useful for testing with WinIE running on another machine;
17201 - don't call checkFrameworks() - we do not need a built WebKit here;
17202 - changed tabs to spaces;
17203 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
17204 interactive mode, they were a hassle when testing with several browsers, as one
17205 had to wait for connection to expire);
17206 - remove httpd.pid when done, so that Apache doesn't complain next time.
17208 * Scripts/run-webkit-httpd:
17210 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
17212 Reviewed by ggaren, landed by ap.
17214 - http://bugs.webkit.org/show_bug.cgi?id=9181
17215 Complete DOMUIEvent Obj-C API to reflect UIEvent
17217 Add function to enable logging of all events of one DOM node to stdout.
17219 * DumpRenderTree/EventSendingController.h:
17220 * DumpRenderTree/EventSendingController.m:
17221 (+[EventSendingController initialize]):
17222 (+[EventSendingController isSelectorExcludedFromWebScript:]):
17223 (+[EventSendingController webScriptNameForSelector:]):
17224 (-[EventSendingController enableDOMUIEventLogging:]):
17225 (-[EventSendingController handleEvent:]):
17227 2006-06-23 Kevin Decker <kdecker@apple.com>
17229 Reviewed by Tim Hatcher.
17231 - Made column headers in Drosera resizable.
17233 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
17235 Reviewed by ggaren.
17237 - see http://bugs.webkit.org/show_bug.cgi?id=9539
17238 Another case error preventing build
17240 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
17242 2006-06-22 Timothy Hatcher <timothy@apple.com>
17246 Adds a native toolbar to Drosera to be a good citizen.
17247 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
17248 Fixes a dragging bug from an earlier fix to the divider code.
17249 Fixes some poor indenting in debugger.js.
17251 * Drosera/DebuggerDocument.h:
17252 * Drosera/DebuggerDocument.m:
17253 (-[DebuggerDocument stepInto]):
17254 (-[DebuggerDocument pause:]):
17255 (-[DebuggerDocument resume:]):
17256 (-[DebuggerDocument stepInto:]):
17257 (-[DebuggerDocument windowDidLoad]):
17258 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
17259 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
17260 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
17261 (-[DebuggerDocument validateUserInterfaceItem:]):
17262 * Drosera/English.lproj/MainMenu.nib/classes.nib:
17263 * Drosera/English.lproj/MainMenu.nib/info.nib:
17264 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
17265 * Drosera/debugger.css:
17266 * Drosera/debugger.html:
17267 * Drosera/debugger.js:
17268 * Drosera/viewer.html:
17270 2006-06-22 Kevin Decker <kdecker@apple.com>
17272 Reviewed by Anders.
17274 - Added pressed column header image.
17275 - Made column headers behave more like Xcode.
17277 2006-06-22 Timothy Hatcher <timothy@apple.com>
17279 Reviewed by Kevin Decker.
17281 Code clean up. Adds the stackframe and makes only the body
17282 of the tables scrollable keeping the header visible.
17283 Shows the current function stack when paused or stepping.
17285 * Drosera/DebuggerApplication.m:
17286 (-[DebuggerApplication awakeFromNib]):
17287 (-[DebuggerApplication numberOfRowsInTableView:]):
17288 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
17289 * Drosera/DebuggerDocument.h:
17290 * Drosera/DebuggerDocument.m:
17291 (-[DebuggerDocument dealloc]):
17292 (-[DebuggerDocument currentFrame]):
17293 (-[DebuggerDocument currentFrameFunctionName]):
17294 (-[DebuggerDocument currentFunctionStack]):
17295 (-[DebuggerDocument log:]):
17296 (-[DebuggerDocument windowWillClose:]):
17297 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
17298 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
17299 * Drosera/Drosera.xcodeproj/project.pbxproj:
17300 * Drosera/debugger.css:
17301 * Drosera/debugger.html:
17302 * Drosera/debugger.js:
17304 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
17306 Reviewed by Anders.
17308 Teach run-webkit-httpd to properly look for webkitdirs.pm.
17310 * Scripts/run-webkit-httpd:
17312 2006-06-22 Kevin Decker <kdecker@apple.com>
17314 Reviewed by Tim Hatcher.
17316 - More progress toward Javascript Debugger.
17317 - Added some new images to the project.
17319 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
17321 Reviewed by Anders.
17323 - http://bugs.webkit.org/show_bug.cgi?id=9516
17324 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
17326 * Scripts/run-webkit-httpd: Added.
17328 2006-06-20 Timothy Hatcher <timothy@apple.com>
17332 Builds Drosera and a launcher to include with the nightly.
17334 * BuildSlaveSupport/build-launcher-app:
17335 * BuildSlaveSupport/build-launcher-dmg:
17336 * Drosera/Drosera.xcodeproj/project.pbxproj:
17337 * Drosera/Info.plist:
17338 * Drosera/LauncherInfo.plist: Added.
17339 * Drosera/launcher.m: Added.
17340 (displayErrorAndQuit):
17341 (checkMacOSXVersion):
17344 * Scripts/build-drosera
17345 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
17346 * WebKitLauncher/main.m:
17349 2006-06-20 Timothy Hatcher <timothy@apple.com>
17351 Reviewed by Darin Adler.
17353 Adds a JavaScript debugger, called Drosera. Named after
17354 a genus of bug eating plants.
17356 * Drosera/DebuggerApplication.h: Added.
17357 * Drosera/DebuggerApplication.m: Added.
17358 (-[DebuggerApplication applicationDidFinishLaunching:]):
17359 (-[DebuggerApplication serverLoaded:]):
17360 (-[DebuggerApplication serverUnloaded:]):
17361 (-[DebuggerApplication awakeFromNib]):
17362 (-[DebuggerApplication showAttachPanel:]):
17363 (-[DebuggerApplication attach:]):
17364 (-[DebuggerApplication numberOfRowsInTableView:]):
17365 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
17366 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
17367 (-[DebuggerApplication tableViewSelectionDidChange:]):
17368 * Drosera/DebuggerDocument.h: Added.
17369 * Drosera/DebuggerDocument.m: Added.
17370 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
17371 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
17372 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
17373 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
17374 (-[DebuggerDocument initWithServerName:]):
17375 (-[DebuggerDocument windowWillClose:]):
17376 (-[DebuggerDocument dealloc]):
17377 (-[DebuggerDocument isPaused]):
17378 (-[DebuggerDocument pause]):
17379 (-[DebuggerDocument resume]):
17380 (-[DebuggerDocument step]):
17381 (-[DebuggerDocument windowNibName]):
17382 (-[DebuggerDocument windowDidLoad]):
17383 (-[DebuggerDocument switchToServerNamed:]):
17384 (-[DebuggerDocument applicationTerminating:]):
17385 (-[DebuggerDocument serverConnectionDidDie:]):
17386 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
17387 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
17388 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
17389 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
17390 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
17391 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
17392 * Drosera/Drosera.pch: Added.
17393 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
17394 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
17395 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
17396 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
17397 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
17398 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
17399 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
17400 * Drosera/Images/breakPoint.tif: Added.
17401 * Drosera/Images/breakPointDisabled.tif: Added.
17402 * Drosera/Images/continue.tif: Added.
17403 * Drosera/Images/finishFunction.tif: Added.
17404 * Drosera/Images/glossyFooterFill.tif: Added.
17405 * Drosera/Images/glossyHeader.png: Added.
17406 * Drosera/Images/gradientBackground.png: Added.
17407 * Drosera/Images/gutter.png: Added.
17408 * Drosera/Images/navLeftDisabled.png: Added.
17409 * Drosera/Images/navLeftNormal.png: Added.
17410 * Drosera/Images/navLeftPressed.png: Added.
17411 * Drosera/Images/navRightDisabled.png: Added.
17412 * Drosera/Images/navRightNormal.png: Added.
17413 * Drosera/Images/navRightPressed.png: Added.
17414 * Drosera/Images/pause.tif: Added.
17415 * Drosera/Images/popUpArrows.png: Added.
17416 * Drosera/Images/programCounter.tif: Added.
17417 * Drosera/Images/programCounterBreakPoint.tif: Added.
17418 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
17419 * Drosera/Images/run.tif: Added.
17420 * Drosera/Images/splitterBar.tif: Added.
17421 * Drosera/Images/splitterDimple.tif: Added.
17422 * Drosera/Images/step.tif: Added.
17423 * Drosera/Images/stepOver.tif: Added.
17424 * Drosera/Images/stop.tif: Added.
17425 * Drosera/Images/toolbarBackground.png: Added.
17426 * Drosera/Info.plist: Added.
17427 * Drosera/debugger.css: Added.
17428 * Drosera/debugger.html: Added.
17429 * Drosera/debugger.js: Added.
17430 * Drosera/main.m: Added.
17432 * Drosera/viewer.css: Added.
17433 * Drosera/viewer.html: Added.
17435 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
17439 http://bugs.webkit.org/show_bug.cgi?id=9485
17440 Teach svn-apply and svn-unapply to use full path names
17442 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
17443 * Scripts/svn-unapply: Ditto.
17445 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
17447 Reviewed by ggaren.
17449 - http://bugs.webkit.org/show_bug.cgi?id=9150
17450 DumpRenderTree should be able to keep URL history during runs
17452 Test: LayoutTests/fast/history/clicked-link-is-visited.html
17454 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
17455 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
17456 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
17457 it is currently nil since keepWebHistory() might be called more than once incidentally
17459 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
17460 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
17462 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
17466 http://bugs.webkit.org/show_bug.cgi?id=9395
17467 Make prepare-ChangeLog faster
17469 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
17470 then save the diff output for reuse. Keep a status variable if changes are made to
17471 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
17472 WebCore is updated. Added -h|--help command-line switch and help message. Move test
17473 for no changed files closer to the beginning of the program.
17475 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
17477 Reviewed and landed by ap.
17479 - make DumpRenderTree build
17481 * DumpRenderTree/DumpRenderTree.m:
17482 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
17483 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
17484 (-[LayoutTestController setWindowIsKey:]): Ditto.
17485 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
17487 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
17489 Reviewed by Darin, landed by Geoff.
17491 http://bugs.webkit.org/show_bug.cgi?id=9350
17492 Use pathcmp() when sorting paths in svn-create-patch
17494 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
17495 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
17496 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
17497 switch and printUsage() subroutine.
17499 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
17503 http://bugs.webkit.org/show_bug.cgi?id=9322
17504 Teach svn-create-patch to sort its output
17506 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
17507 by text files first, then by binary files.
17509 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
17513 http://bugs.webkit.org/show_bug.cgi?id=9299
17514 Teach svn-create-patch and friends to work with binary files
17516 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
17517 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
17518 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
17520 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
17522 Reviewed by Maciej.
17524 http://bugs.webkit.org/show_bug.cgi?id=9296
17525 Performance improvement for svn-create-patch
17527 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
17529 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
17533 http://bugs.webkit.org/show_bug.cgi?id=9290
17534 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
17536 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
17537 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
17539 2006-06-03 Steve Falkenburg <sfalken@apple.com>
17543 Switch Spinneret to new hosting mechanism
17545 * Spinneret/Spinneret.sln:
17546 * Spinneret/Spinneret/Spinneret.cpp:
17547 (SpinneretWebHost::updateAddressBar):
17548 (SpinneretWebHost::QueryInterface):
17549 (SpinneretWebHost::AddRef):
17550 (SpinneretWebHost::Release):
17557 * Spinneret/Spinneret/Spinneret.h:
17558 (SpinneretWebHost::didStartProvisionalLoadForFrame):
17559 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
17560 (SpinneretWebHost::didFailProvisionalLoadWithError):
17561 (SpinneretWebHost::didCommitLoadForFrame):
17562 (SpinneretWebHost::didReceiveTitle):
17563 (SpinneretWebHost::didReceiveIcon):
17564 (SpinneretWebHost::didFinishLoadForFrame):
17565 (SpinneretWebHost::didFailLoadWithError):
17566 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
17567 (SpinneretWebHost::willPerformClientRedirectToURL):
17568 (SpinneretWebHost::didCancelClientRedirectForFrame):
17569 (SpinneretWebHost::willCloseFrame):
17570 (SpinneretWebHost::windowScriptObjectAvailable):
17571 * Spinneret/Spinneret/Spinneret.vcproj:
17573 2006-06-02 Steve Falkenburg <sfalken@apple.com>
17577 Updated build script
17579 * Scripts/build-webkit:
17581 2006-06-01 Anders Carlsson <acarlsson@apple.com>
17583 Reviewed by Darin Adler.
17585 * DumpRenderTree/DumpRenderTree.m:
17586 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17587 (-[LayoutTestController clearBackForwardList]):
17588 Add clearBackForwardList function to layoutTestController
17590 2006-06-01 Anders Carlsson <acarlsson@apple.com>
17592 Reviewed by Darin Adler.
17594 http://bugs.webkit.org/show_bug.cgi?id=8996
17595 slow-utf8-text layout test case failing (no longer deterministic?)
17597 * DumpRenderTree/DumpRenderTree.m:
17599 Dump as text when the response MIME type is text/plain
17601 2006-05-26 Steve Falkenburg <sfalken@apple.com>
17605 * Spinneret/Spinneret.sln:
17606 * Spinneret/Spinneret/Spinneret.vcproj:
17608 2006-05-24 Geoffrey Garen <ggaren@apple.com>
17612 Added 'GCController' to DRT to support garbage collection layout tests.
17614 GCController.collect() and GCController.collectOnAlternateThread() do
17615 what you would expect. The latter takes a boolean argument sepcifying
17616 whether to wait for garbage collection to finish before continuing to
17619 * DumpRenderTree/DumpRenderTree.m:
17620 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
17621 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17622 * DumpRenderTree/GCController.h: Added.
17623 * DumpRenderTree/GCController.mm: Added.
17624 (+[GCController isSelectorExcludedFromWebScript:]):
17625 (+[GCController webScriptNameForSelector:]):
17626 (-[GCController collect]):
17627 (-[GCController collectOnAlternateThread:]):
17629 2006-05-23 John Sullivan <sullivan@apple.com>
17631 Reviewed by Maciej.
17633 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17634 Newer Xcode removed some obsolete cruft
17636 * DumpRenderTree/TextInputController.m:
17637 (-[TextInputController textInput]):
17638 added (id) cast to make newer compiler happy
17640 2006-05-22 Steve Falkenburg <sfalken@apple.com>
17646 * Spinneret/Spinneret.sln:
17648 2006-05-18 Darin Adler <darin@apple.com>
17650 - try to fix no-SVG, no-XPATH build, again
17652 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
17654 2006-05-18 Darin Adler <darin@apple.com>
17656 - try to fix no-SVG, no-XPATH build
17658 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
17659 since the former is what's used in the WebCore project now.
17661 2006-05-17 Darin Adler <darin@apple.com>
17663 * Scripts/do-webcore-rename: Some more future renames.
17665 2006-05-16 Adele Peterson <adele@apple.com>
17669 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
17670 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
17672 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
17674 * Scripts/install-unix-extras: Changed to be executable and removed
17675 text in the file generated by "svn diff".
17676 * Scripts/regenerate-makefiles: Ditto.
17678 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
17680 Reviewed by Darin, landed by ap.
17682 - http://bugs.webkit.org/show_bug.cgi?id=8528
17683 Bakefiles (and generated Makefiles) for wx and gdk ports
17685 * Scripts/install-unix-extras: Added.
17686 * Scripts/regenerate-makefiles: Added.
17688 2006-05-10 Steve Falkenburg <sfalken@apple.com>
17690 Reviewed by Maciej.
17692 Fix registry usage from perl script. Turns out libwin32's
17693 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
17695 * Scripts/install-win-extras:
17697 2006-05-09 Steve Falkenburg <sfalken@apple.com>
17700 Add load ended callback.
17704 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
17705 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
17706 * Spinneret/Spinneret/Spinneret.cpp:
17707 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
17708 (_tWinMain): Load built-in test content here instead of in lower-level code.
17709 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
17711 2006-05-08 Maciej Stachowiak <mjs@apple.com>
17713 Reviewed by Anders.
17715 * Scripts/extract-localizable-strings: Update for correct names of log macros.
17717 2006-05-09 Anders Carlsson <acarlsson@apple.com>
17719 Reviewed by Maciej.
17721 * Scripts/check-dom-results:
17722 Add XPath to the list of results.
17724 2006-05-08 Darin Adler <darin@apple.com>
17726 * Scripts/do-webcore-rename: Add another rename.
17728 2006-05-01 Steve Falkenburg <sfalken@apple.com>
17732 Spinneret now links against the new separate lib.
17734 * Spinneret/Spinneret.sln:
17735 * Spinneret/Spinneret/Spinneret.cpp:
17736 (SpinneretWebHost::updateLocationBar):
17738 * Spinneret/Spinneret/Spinneret.h:
17739 * Spinneret/Spinneret/Spinneret.vcproj:
17740 * Spinneret/Spinneret/WebFrame.cpp: Removed.
17741 * Spinneret/Spinneret/WebFrame.h: Removed.
17742 * Spinneret/Spinneret/WebView.cpp: Removed.
17743 * Spinneret/Spinneret/WebView.h: Removed.
17745 2006-04-28 Steve Falkenburg <sfalken@apple.com>
17747 Reviewed by kdecker
17749 Modify error reporting registry keys to disable Dr. Watson.
17750 This allows Javascript test cases to complete without blocking UI.
17752 * Scripts/install-win-extras:
17753 - Use Perl Win32 registry functions to disable blocking UI
17756 2006-04-28 Steve Falkenburg <sfalken@apple.com>
17760 Turned off C++ exceptions, fixed memory leaks
17762 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
17763 * Spinneret/Spinneret.sln:
17764 * Spinneret/Spinneret/Spinneret.cpp:
17766 * Spinneret/Spinneret/Spinneret.vcproj:
17767 * Spinneret/Spinneret/WebFrame.cpp:
17768 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
17769 (WebKit::WebFrame::WebFrame):
17770 (WebKit::WebFrame::~WebFrame):
17771 (WebKit::WebFrame::impl):
17772 * Spinneret/Spinneret/WebFrame.h:
17773 * Spinneret/Spinneret/WebView.cpp:
17774 * Spinneret/Spinneret/stdafx.h:
17776 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
17778 Reviewed by Darin Adler.
17780 - http://bugs.webkit.org/show_bug.cgi?id=8633
17781 DumpRenderTree should reset the URL cache
17783 * DumpRenderTree/DumpRenderTree.m:
17784 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
17786 2006-04-28 Eric Seidel <eseidel@apple.com>
17788 Reviewed by andersca.
17790 * Scripts/do-webcore-rename: rename KCanvasContainer too
17791 * Scripts/run-webkit-tests: output total time
17793 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
17795 Reviewed by hyatt. Landed by eseidel.
17797 - http://bugs.webkit.org/show_bug.cgi?id=8549
17798 Enable detection of excessive repainting with DumpRenderTree
17800 * DumpRenderTree/DumpRenderTree.m:
17801 (-[LayoutTestController display]):
17803 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
17805 Reviewed by Darin Adler.
17807 - http://bugs.webkit.org/show_bug.cgi?id=6905
17808 DumpRenderTree needs a way to force painting (to allow invalidation tests)
17810 * DumpRenderTree/DumpRenderTree.m:
17811 (dump): If display() has been called during the test, grab the pixels from
17812 the view, after letting it repaint invalidated rects.
17813 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17814 (-[LayoutTestController display]): Added. Calls -display on the view
17815 and changes the subsequent behavior of dump().
17818 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
17820 Reviewed by Maciej.
17822 - http://bugs.webkit.org/show_bug.cgi?id=8532
17823 Update iExploder to 1.3.2
17825 Test case numbers are not compatible with iExploder 1.2.
17827 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
17829 * iExploder/CHANGELOG.txt: Added.
17830 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
17831 * iExploder/README.txt: Added some performance hints.
17833 * iExploder/htdocs/config.rb: Added.
17834 * iExploder/htdocs/cssproperties.in:
17835 * iExploder/htdocs/cssvalues.in:
17836 * iExploder/htdocs/htmlattrs.in:
17837 * iExploder/htdocs/htmltags.in:
17838 * iExploder/htdocs/iexploder.cgi:
17839 - Updated to support the latest HTML & CSS tags, properties, and values from both
17840 the WebKit and Mozilla CVS tree
17841 - cssproperties.in cleanup
17842 - Modularized the code a little bit.
17843 - Fix subtest bug that was causing last 5 tags to be missed
17844 - new subtest algorithm to deal better with larger tag counts
17845 - default HTML_MAX_TAGS increased from 32 to 96
17847 * iExploder/htdocs/index.html: Updated version to 1.3.2.
17848 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
17849 alternative to our run-iexploder-tests.
17850 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
17851 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
17852 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
17854 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
17856 - commit Scripts/run-mangleme-tests (missed it the previous time).
17858 2006-04-18 Darin Adler <darin@apple.com>
17860 - attempt to fix Windows buildbot
17862 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
17863 We need a better long-term solution for this.
17865 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17867 Reviewed by Darin Adler.
17869 - http://bugs.webkit.org/show_bug.cgi?id=8444
17870 Integrate mangleme test script.
17872 Works in a similar way to run-iexploder-tests.
17874 * Scripts/run-mangleme-tests: Added.
17876 * mangleme/Makefile: Added.
17877 * mangleme/README: Added.
17878 * mangleme/mangle.cgi.c: Added.
17879 * mangleme/remangle.cgi.c: Added.
17880 * mangleme/tags.h: Added.
17882 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17884 Reviewed by Darin Adler.
17886 - http://bugs.webkit.org/show_bug.cgi?id=8443
17887 An easier way to save iExploder tests.
17889 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
17891 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17893 Reviewed by Darin Adler.
17895 - http://bugs.webkit.org/show_bug.cgi?id=8421
17896 Integrate iExploder test script.
17898 This script generates artificially mangled HTML documents, to test that the browser
17899 doesn't crash when handling ill-formed code.
17902 run-iexploder-tests Open an interactive test page in Safari+ToT.
17903 run-iexploder-tests nnnnn Open test #nnnnn.
17905 Command line options:
17906 --guard-malloc (-g) Use Guard Malloc.
17907 --port=nnnn Run Apache on port nnnn (default is 8000).
17909 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
17910 (thus, Apache is still running), e.g.:
17911 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
17913 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
17915 * Scripts/run-iexploder-tests: Added.
17916 * iExploder: Added.
17917 * iExploder/LICENSE.txt: Added.
17918 * iExploder/README.txt: Added.
17919 * iExploder/htdocs: Added.
17920 * iExploder/htdocs/cssproperties.in: Added.
17921 * iExploder/htdocs/cssvalues.in: Added.
17922 * iExploder/htdocs/htmlattrs.in: Added.
17923 * iExploder/htdocs/htmltags.in: Added.
17924 * iExploder/htdocs/htmlvalues.in: Added.
17925 * iExploder/htdocs/iexploder.cgi: Added.
17926 * iExploder/htdocs/index.html: Added.
17927 * iExploder/tools: Added.
17928 * iExploder/tools/lasthit.rb: Added.
17929 * iExploder/tools/osx_last_crash.rb: Added.
17931 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
17933 Reviewed by Darin Adler.
17935 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
17936 Restore color profile after a crash
17938 * DumpRenderTree/DumpRenderTree.m:
17939 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
17940 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
17941 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
17942 and this code may change significantly.
17944 (main): Install crashHandler.
17946 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
17947 (CFStringGetCStringPtr should NEVER EVER be used!).
17949 2006-04-15 Darin Adler <darin@apple.com>
17953 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
17954 Seems xmlsoft.org's HTTP no longer has what we need.
17956 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
17958 Rubber-stamped by Darin Adler.
17960 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
17961 upload-disk-image stage on buildslaves fail with "No space left on device"
17963 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
17964 'hdiutil create'. This creates the initial disk image based on the size of
17965 the source folder, and copies the contents to the new disk image. The file
17966 extension on the temporary uncompressed disk image has also been altered from
17967 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
17968 the extension is not ".dmg".
17970 2006-04-12 Eric Seidel <eseidel@apple.com>
17974 * Scripts/update-webkit: Make this return non-zero when svn fails.
17976 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
17978 Reviewed by Darin Adler.
17980 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
17981 Make HTTP tests using Perl use .pl extension
17983 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
17984 removed support for .text. Reduced the number of places that explicitly list supported
17985 extensions. Some of the changes come from bug 8121, the patch for which got landed only
17988 2006-04-06 Darin Adler <darin@apple.com>
17990 Changes requested by Mark Rowe.
17992 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
17993 trash at the end of the file.
17994 * BuildSlaveSupport/build-launcher-dmg: Ditto.
17996 * WebKitLauncher/main.m: Removed trash at end of file.
17998 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
17999 to make name match.
18001 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
18003 Reviewed by Darin, landed by Maciej.
18005 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
18006 and bundles the WebKit frameworks inside it.
18007 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
18008 containing WebKit.app.
18009 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
18010 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
18011 number of the SVN working copy.
18012 * WebKitLauncher: Added.
18013 * WebKitLauncher/Info.plist: Added.
18014 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
18015 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
18016 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
18017 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
18018 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
18019 the nightly launcher.
18020 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
18021 It sets up the environment to have Safari use the bundled frameworks
18022 and load the WebKitNightlyEnabler dylib before exec'ing Safari
18023 * WebKitLauncher/start.html: Added.
18024 * WebKitLauncher/webkit.icns: Added.
18026 2006-04-05 Darin Adler <darin@apple.com>
18028 Reviewed by Maciej.
18030 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
18031 are allowed to have global initializers.
18033 2006-04-05 Geoffrey Garen <ggaren@apple.com>
18035 Reviewed by OMG BETH
18037 * Scripts/run-testkjs:
18038 - pipe STDERR to /dev/null by default; new --verbose option overrides
18040 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
18041 - output run command in a format that can be copied and pasted into the
18042 terminal to run manually
18044 2006-04-03 Justin Garcia <justin.garcia@apple.com>
18046 Reviewed by harrison
18048 <http://bugs.webkit.org/show_bug.cgi?id=7567>
18049 A drag and drop in DumpRenderTree copies the source, instead of cutting it
18051 Tell the source that the drag is over after the drag is performed, not before.
18053 * DumpRenderTree/EventSendingController.m:
18054 (-[EventSendingController mouseUp]):
18056 2006-04-01 Darin Adler <darin@apple.com>
18058 Reviewed by Justin.
18060 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
18061 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
18062 elements in that array are not strings.
18064 2006-03-31 Darin Adler <darin@apple.com>
18066 Reviewed by John Sullivan.
18068 - added a "--reset-results" option to run-webkit-tests so you can reset
18069 the results without first deleting expected results
18070 - <rdar://problem/4185878> add scroll position to dumpRenderTree
18072 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
18073 more logical. Moved all the subroutines to the end of the file. Added a
18076 * DumpRenderTree/DumpRenderTree.m:
18077 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
18078 to generate new output for all tests it runs.
18079 (dump): Dump the scroll position if it's non-zero. Always dump the image when
18080 the --dump-all-pixels option is passed. Also tightened up the image dumping
18081 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
18082 with code to save and restore the context.
18084 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
18085 * DumpRenderTree/EventSendingController.m: Added now-needed include.
18087 2006-03-30 Tim Omernick <timo@apple.com>
18089 * DumpRenderTree/ObjCPlugin.h:
18091 * DumpRenderTree/ObjCPlugin.m: ditto
18092 * DumpRenderTree/ObjCPluginFunction.h: ditto
18093 * DumpRenderTree/ObjCPluginFunction.m: ditto
18095 2006-03-30 Tim Omernick <timo@apple.com>
18099 * DumpRenderTree/DumpRenderTree.m:
18100 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
18101 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
18102 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
18103 exposed to JS as a callable object.
18105 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18106 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
18108 * DumpRenderTree/ObjCPlugin.h: Added.
18109 * DumpRenderTree/ObjCPlugin.m: Added.
18110 * DumpRenderTree/ObjCPluginFunction.h: Added.
18111 * DumpRenderTree/ObjCPluginFunction.m: Added.
18113 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18114 Added a new method, "removeDefaultMethod", which removes the default method from the
18115 plugin object's class. The effect is that the plugin object is mutated from a callable
18116 function to a simple object.
18118 Handle "removeDefaultMethod".
18119 (pluginInvokeDefault):
18120 Made the default method actually do something (return 1).
18122 2006-03-30 Eric Seidel <eseidel@apple.com>
18124 Reviewed by ggaren.
18126 Remove WebFrame::viewImpl(), setMainFrame on page.
18128 * Spinneret/Spinneret/WebFrame.cpp:
18129 (WebKit::WebFrame::WebFrame):
18130 * Spinneret/Spinneret/WebFrame.h:
18131 * Spinneret/Spinneret/WebView.cpp:
18132 (WebKit::WebView::mouseMoved):
18133 (WebKit::WebView::mouseDown):
18134 (WebKit::WebView::mouseUp):
18135 (WebKit::WebView::mouseDoubleClick):
18136 (WebKit::WebViewWndProc):
18138 2006-03-30 Eric Seidel <eseidel@apple.com>
18142 Fix html editing input & basic form submission.
18144 * Spinneret/Spinneret/WebFrame.cpp:
18145 (WebKit::WebFrame::submitForm):
18146 (WebKit::WebFrame::loadURL):
18147 * Spinneret/Spinneret/WebFrame.h:
18148 * Spinneret/Spinneret/WebView.cpp:
18149 (WebKit::WebView::keyPress):
18150 (WebKit::WebViewWndProc):
18152 2006-03-28 Justin Garcia <justin.garcia@apple.com>
18156 <rdar://problem/4402375>
18157 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
18159 Added an option to draw the selectionRect.
18161 * DumpRenderTree/DumpRenderTree.m:
18163 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18164 (-[LayoutTestController dumpSelectionRect]):
18167 2006-03-29 Darin Adler <darin@apple.com>
18169 Reviewed by Tim Hatcher.
18171 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
18173 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
18175 2006-03-28 Eric Seidel <eseidel@apple.com>
18179 * Scripts/check-for-global-initializers: remove svg exceptions.
18181 2006-03-28 Timothy Hatcher <timothy@apple.com>
18183 Reviewed by Darin Adler.
18185 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
18187 * Scripts/check-for-global-initializers:
18189 2006-03-28 Timothy Hatcher <timothy@apple.com>
18191 Build fix. Turn off uninitialized warnings for the first block of code.
18193 * Scripts/check-for-global-initializers:
18195 2006-03-28 Darin Adler <darin@apple.com>
18199 * Scripts/check-for-global-initializers: Added.
18201 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
18203 Reviewed by darin. Landed by eseidel.
18205 - http://bugs.webkit.org/show_bug.cgi?id=7947
18206 Add repaint testing support to run-webkit-tests
18208 * DumpRenderTree/DumpRenderTree.m:
18209 (main): Added --repaint and --horizontal-sweep options.
18210 (dump): Repaint line-by-line or column-by-column when the appropriate option
18212 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
18213 and repaintSweepHorizontally() methods to layoutTestController.
18214 (-[LayoutTestController testRepaint]):
18215 (-[LayoutTestController repaintSweepHorizontally]):
18217 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
18218 to force these settings on tests that do not ask for them.
18220 2006-03-24 Eric Seidel <eseidel@apple.com>
18226 * Spinneret/Spinneret/WebFrame.cpp:
18227 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
18229 2006-03-21 Beth Dakin <bdakin@apple.com>
18233 Add support for keyDown() to DumpRenderTree.
18235 * DumpRenderTree/DumpRenderTree.m:
18236 (main): Set the preference for tabbing to links.
18237 * DumpRenderTree/EventSendingController.m:
18238 (+[EventSendingController isSelectorExcludedFromWebScript:]):
18239 (+[EventSendingController webScriptNameForSelector:]):
18240 (-[EventSendingController keyDown:withModifiers:]):
18242 2006-03-20 Eric Seidel <eseidel@apple.com>
18248 * Spinneret/Spinneret/Spinneret.vcproj:
18249 * Spinneret/Spinneret/WebFrame.h:
18250 * Spinneret/Spinneret/WebView.cpp:
18251 (WebKit::WebView::mouseMoved):
18252 (WebKit::WebView::mouseDown):
18253 (WebKit::WebView::mouseUp):
18254 (WebKit::WebView::mouseDoubleClick):
18255 (WebKit::WebView::keyPress):
18256 (WebKit::WebViewWndProc):
18258 2006-03-19 Darin Adler <darin@apple.com>
18260 Reviewed by Anders.
18262 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
18263 we can test it in layout tests. We don't really need tests that run with
18264 pop-up blocking off at the moment. If we do some day, we can add some
18265 API for turning it off in the layout test controller.
18267 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
18268 don't ignore the leak; it should no longer show up.
18270 2006-03-17 Anders Carlsson <andersca@mac.com>
18274 * Scripts/install-win-extras:
18275 Fetch "Program Files" location from the environment.
18277 2006-03-17 Eric Seidel <eseidel@apple.com>
18279 Reviewed by ggaren.
18281 Fix Spinneret to pass Events as const & not as pointers.
18283 * Spinneret/Spinneret/WebView.cpp:
18284 (WebKit::WebView::mouseMoved):
18285 (WebKit::WebView::mouseDown):
18286 (WebKit::WebView::mouseUp):
18287 (WebKit::WebView::mouseDoubleClick):
18288 (WebKit::WebView::keyPress):
18290 2006-03-17 Eric Seidel <eseidel@apple.com>
18292 Reviewed by justing.
18294 Add support for basic HTML editing.
18296 * Spinneret/Spinneret/WebView.cpp:
18297 (WebKit::WebView::WebView):
18298 (WebKit::WebView::keyPress):
18300 2006-03-17 Eric Seidel <eseidel@apple.com>
18302 Rubber-stamped by ggaren.
18304 Break DumpRenderTree.m up into several files to make the code more readable.
18306 * DumpRenderTree/DumpRenderTree.h: Added.
18307 * DumpRenderTree/DumpRenderTree.m:
18308 (doneLoading): new accessor function for "done" global.
18309 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18310 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
18311 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
18312 * DumpRenderTree/EditingDelegate.h: Added.
18313 * DumpRenderTree/EditingDelegate.m: Added.
18314 (-[EditingDelegate webViewDidChangeSelection:]):
18315 * DumpRenderTree/EventSendingController.h: Added.
18316 * DumpRenderTree/EventSendingController.m: Added.
18318 2006-03-16 Eric Seidel <eseidel@apple.com>
18322 Add resize, scroll event support.
18324 * Spinneret/Spinneret/WebView.cpp:
18325 (WebKit::WebView::mouseMoved):
18326 (WebKit::WebView::mouseDown):
18327 (WebKit::WebView::mouseUp):
18328 (WebKit::WebView::mouseDoubleClick):
18329 (WebKit::WebView::keyPress):
18330 (WebKit::WebViewWndProc):
18331 * Spinneret/Spinneret/WebView.h:
18333 2006-03-16 Eric Seidel <eseidel@apple.com>
18337 Make build-webkit print correctly to stdout on windows.
18339 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
18341 2006-03-15 Eric Seidel <eseidel@apple.com>
18345 Fix eventSender.mouseClick() to update lastClick timestamp.
18347 * DumpRenderTree/DumpRenderTree.m:
18348 (-[EventSendingController mouseClick]):
18350 2006-03-15 Darin Adler <darin@apple.com>
18352 Reviewed by Maciej.
18354 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
18355 that had a lowercase "i" in it so this builds on case-sensitive
18358 2006-03-15 Geoffrey Garen <ggaren@apple.com>
18362 Added run-testkjs and compare-timing-files scripts, to support super
18363 accurate JS iBench.
18365 * Scripts/compare-timing-files: Added.
18366 * Scripts/run-testkjs: Added.
18368 2006-03-14 Eric Seidel <eseidel@apple.com>
18372 Make the URL bar relinquish focus on page load.
18374 * Spinneret/Spinneret/Spinneret.cpp:
18377 2006-03-14 Eric Seidel <eseidel@apple.com>
18381 Fix WebView to allow KeyFocus.
18382 Add handling of space and shift-space for scrolling.
18384 * Spinneret/Spinneret/WebView.cpp:
18385 (WebKit::scrollMessageForKey):
18386 (WebKit::WebViewWndProc):
18388 2006-03-10 Eric Seidel <eseidel@apple.com>
18392 Add scrolling support into Spinneret.
18394 * Spinneret/Spinneret/WebFrame.cpp:
18395 (WebKit::WebFrame::paint):
18396 * Spinneret/Spinneret/WebView.cpp:
18397 (WebKit::WebView::createWebView):
18398 (WebKit::calculateScrollDelta):
18399 (WebKit::scrollMessageForKey):
18400 (WebKit::WebViewWndProc):
18402 2006-03-13 Eric Seidel <eseidel@apple.com>
18406 Fix checksum generation on Intel machines.
18407 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
18408 give a small speed boost now that it uses a shared buffer.
18410 * DumpRenderTree/DumpRenderTree.m:
18413 (md5HashStringForBitmap):
18414 * DumpRenderTree/ImageDiff.m:
18415 (computePercentageDifferent):
18417 2006-03-13 Darin Adler <darin@apple.com>
18419 Reviewed by Tim Hatcher.
18421 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
18422 have it named httpd-1.3 instead.
18424 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
18426 Fix proposed by Mitz Pettel, reviewed by Darin Adler.
18428 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
18429 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
18431 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
18432 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
18435 2006-03-09 Darin Adler <darin@apple.com>
18437 Reviewed by John Sullivan.
18439 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
18440 memory leak in the plug-in tests
18442 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
18443 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
18444 (NPP_SetWindow): Remove unneeded code to store the window pointer.
18446 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18447 Moved the browser global in here since it's declared in this file's header.
18448 Changed the code to set up the pluginClass structure to not use function
18449 pointer casts. Those are dangerous because they can hide many types of mismatch.
18450 And indeed when I did this I discovered that many functions were missing their
18451 boolean return values or had parameter declarations with the wrong types.
18452 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
18453 clarity. Added boolean return value: return true when successful and false when not.
18454 (pluginSetProperty): Added boolean return value, return false since we have no
18455 properties we can set.
18456 (pluginInvoke): Added boolean return value. Return true when successful and false
18457 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
18458 return value from calling the browser. Changed code to put the strings in malloc
18459 buffers instead of relying on GCC's extension that allows variable-sized arrays
18461 (pluginInvokeDefault): Added boolean return value, return false since we have no
18462 default function to call.
18463 (pluginInvalidate): Added missing parameter. Removed comment.
18464 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
18465 to cast the result of malloc.
18466 (pluginDeallocate): Removed uneeded cast.
18468 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
18469 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
18470 that match NPObject's fields. Removed unused NPWindow pointer.
18472 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
18474 Test: fast/events/event-sender-mouse-click.html
18476 Reviewed by Darin Adler.
18478 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
18479 DRT hangs when doing eventSender.mouseDown on native widgets
18481 * DumpRenderTree/DumpRenderTree.m:
18482 (+[EventSendingController isSelectorExcludedFromWebScript:]):
18483 (-[EventSendingController mouseClick]): Simulates a click in a native
18484 widget by queueing a mouseUp before sending the mouseDown, so that
18485 the widget's mouse tracking event loop doesn't hang indefinitely.
18487 2006-03-09 Maciej Stachowiak <mjs@apple.com>
18491 - make link clicks work by handling link click requests
18494 * Spinneret/Spinneret/Spinneret.cpp:
18495 (updateLocationBar):
18496 * Spinneret/Spinneret/Spinneret.h:
18497 * Spinneret/Spinneret/WebFrame.cpp:
18498 (WebKit::WebFrame::WebFrame):
18499 (WebKit::WebFrame::openURL):
18500 (WebKit::WebFrame::loadURL):
18501 * Spinneret/Spinneret/WebFrame.h:
18503 2006-03-08 Eric Seidel <eseidel@apple.com>
18507 Focus URL bar on Spinneret launch, remove border from WebView.
18508 Stop WebFrame from deleting the job (prevent crash).
18510 * Spinneret/Spinneret/Spinneret.cpp:
18512 * Spinneret/Spinneret/WebFrame.cpp:
18513 (WebKit::WebFrame::receivedAllData):
18514 (WebKit::WebFrame::paint):
18515 * Spinneret/Spinneret/WebView.cpp:
18516 (WebKit::WebView::createWebView):
18518 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
18520 Reviewed by Darin Adler.
18522 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18523 (pluginInvoke): Added a method to test getURL.
18525 2006-03-08 Maciej Stachowiak <mjs@apple.com>
18529 - load URLs, not file paths, in Spinneret
18531 * Spinneret/Spinneret/Spinneret.cpp:
18533 * Spinneret/Spinneret/Spinneret.vcproj:
18534 * Spinneret/Spinneret/WebFrame.cpp:
18535 (WebKit::WebFrame::loadURL):
18536 (WebKit::WebFrame::receivedData):
18537 (WebKit::WebFrame::receivedAllData):
18538 * Spinneret/Spinneret/WebFrame.h:
18539 * Spinneret/Spinneret/WebView.cpp:
18540 (WebKit::WebView::WebView):
18542 2006-03-08 Darin Adler <darin@apple.com>
18546 - fixed AppleScript layout test results to not be endian-dependent
18547 (Hyatt complained to me about this one)
18549 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
18550 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
18551 (which are endian-dependent).
18553 2006-03-07 Darin Adler <darin@apple.com>
18555 Reviewed by Anders.
18557 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
18558 unwanted output while running layout tests
18560 * DumpRenderTree/DumpRenderTree.m:
18561 (checkedMalloc): Added.
18562 (checkedRealloc): Added.
18563 (makeLargeMallocFailSilently): Added.
18564 (main): Call makeLargeMallocFailSilently.
18566 2006-03-06 Darin Adler <darin@apple.com>
18568 * Scripts/do-webcore-rename: Add some more planned renaming.
18570 2006-03-06 Eric Seidel <eseidel@apple.com>
18574 * Spinneret/Spinneret/WebFrame.cpp:
18575 (WebKit::WebFrame::paint): force layout before painting
18577 2006-03-06 Justin Garcia <justin.garcia@apple.com>
18581 Sent the windowNumber when sending events.
18582 Added leapForward so that we don't have to spend time waiting
18583 in layout tests that do mouse operations that require delays.
18585 * DumpRenderTree/DumpRenderTree.m:
18586 (+[EventSendingController isSelectorExcludedFromWebScript:]):
18587 (+[EventSendingController webScriptNameForSelector:]):
18588 (-[EventSendingController currentEventTime]):
18589 (-[EventSendingController leapForward:]):
18590 (-[EventSendingController mouseDown]):
18591 (-[EventSendingController mouseUp]):
18592 (-[EventSendingController mouseMoveToX:Y:]):
18594 2006-03-05 Darin Adler <darin@apple.com>
18596 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
18597 Script now works (after landing my two pending patches).
18599 2006-03-05 Darin Adler <darin@apple.com>
18601 - check in a script to do a "big" rename in WebCore
18602 (can be run whenever we're ready to do it)
18604 * Scripts/do-webcore-rename: Added.
18606 2006-03-05 Maciej Stachowiak <mjs@apple.com>
18610 * Spinneret/Spinneret/WebFrame.cpp:
18611 (WebKit::WebFrame::loadFilePath): Close file when done.
18613 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
18615 Reviewed by Darin, landed by ap.
18617 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
18618 Mouse moved events do not work in DumpRenderTree
18620 Test: fast/events/event-sender-mouse-moved.html
18622 * DumpRenderTree/DumpRenderTree.m:
18623 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
18625 2006-03-04 Eric Seidel <eseidel@apple.com>
18629 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
18630 Disable background erase to avoid tearing.
18631 Fix potential memory smasher from extra long urls.
18633 * Spinneret/Spinneret/Spinneret.cpp:
18635 * Spinneret/Spinneret/Spinneret.vcproj:
18636 * Spinneret/Spinneret/WebFrame.cpp:
18637 (WebKit::WebFrame::loadFilePath):
18638 (WebKit::WebFrame::paint):
18639 * Spinneret/Spinneret/WebView.cpp:
18640 (WebKit::registerWebViewWithInstance):
18642 2006-03-04 Eric Seidel <eseidel@apple.com>
18644 Reviewed by ggaren.
18646 Hang WebView pointer off of HWND (gets rid of global hack).
18647 Remove MessageBox displayed on url change.
18649 * Spinneret/Spinneret/Spinneret.cpp:
18652 * Spinneret/Spinneret/WebView.cpp:
18653 (WebKit::registerWebViewWithInstance):
18654 (WebKit::WebView::createWebView):
18655 (WebKit::WebViewWndProc):
18657 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
18661 Automatically kill httpd if it appears to be already running.
18663 * Scripts/run-webkit-tests:
18665 2006-03-04 Maciej Stachowiak <mjs@apple.com>
18669 * Spinneret/Spinneret/WebFrame.cpp:
18670 (WebKit::WebFrame::loadFilePath): Improved local file loading.
18672 2006-03-03 Eric Seidel <eseidel@apple.com>
18676 A few more fixes to make run-webkit-tests really work on win32.
18678 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18680 * Scripts/run-webkit-tests:
18682 2006-03-03 Eric Seidel <eseidel@apple.com>
18686 Make run-webkit-tests work on win32.
18688 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18690 (dumpRenderTreeMain):
18691 (dumpRenderTreeToStdOut):
18692 (serializeToStdOut):
18694 * Scripts/run-webkit-tests:
18695 * Scripts/webkitdirs.pm:
18696 * Spinneret/Spinneret/WebView.cpp:
18697 (WebKit::WebView::WebView):
18699 2006-03-03 Eric Seidel <eseidel@apple.com>
18703 Add WebFrame class (to hold Frame and FrameView).
18704 Add Location bar support to Spinneret.
18706 * Spinneret/Spinneret/Spinneret.cpp:
18711 * Spinneret/Spinneret/Spinneret.vcproj:
18712 * Spinneret/Spinneret/WebFrame.cpp: Added.
18713 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
18714 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
18715 (WebKit::WebFrame::WebFrame):
18716 (WebKit::WebFrame::loadFilePath):
18717 (WebKit::WebFrame::loadHTMLString):
18718 (WebKit::WebFrame::paint):
18719 (WebKit::WebFrame::impl):
18720 (WebKit::WebFrame::viewImpl):
18721 * Spinneret/Spinneret/WebFrame.h: Added.
18722 * Spinneret/Spinneret/WebView.cpp:
18723 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
18724 (WebKit::WebView::WebView):
18725 (WebKit::WebView::windowHandle):
18726 (WebKit::WebView::mainFrame):
18727 (WebKit::WebView::mouseMoved):
18728 (WebKit::WebView::mouseDown):
18729 (WebKit::WebView::mouseUp):
18730 (WebKit::WebView::mouseDoubleClick):
18731 (WebKit::WebViewWndProc):
18732 * Spinneret/Spinneret/WebView.h:
18734 2006-03-02 Eric Seidel <eseidel@apple.com>
18736 Reviewed by ggaren.
18738 * Spinneret/Spinneret/WebView.cpp:
18739 (WebKit::registerWebViewWithInstance):
18740 (WebKit::WebView::WebView):
18741 (WebKit::WebView::mouseMoved):
18742 (WebKit::WebView::mouseDown):
18743 (WebKit::WebView::mouseUp):
18744 (WebKit::WebView::mouseDoubleClick):
18745 (WebKit::WebViewWndProc):
18746 * Spinneret/Spinneret/WebView.h:
18748 2006-03-01 Eric Seidel <eseidel@apple.com>
18750 Reviewed by andersca.
18752 Make spinneret take advantage of the new GraphicsContextCairo.
18754 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18755 (main): updated to match style guidelines.
18756 * Spinneret/Spinneret/Spinneret.cpp:
18758 * Spinneret/Spinneret/WebView.cpp:
18759 (WebKit::registerWebViewWithInstance):
18760 (WebKit::WebView::WebView):
18761 (WebKit::WebView::~WebView):
18762 (WebKit::WebView::drawRect):
18764 * Spinneret/Spinneret/WebView.h:
18766 2006-03-01 Justin Garcia <justin.garcia@apple.com>
18770 Give the events that eventSender sends a unique eventNumber
18772 * DumpRenderTree/DumpRenderTree.m:
18773 (-[EventSendingController mouseDown]):
18774 (-[EventSendingController mouseUp]):
18775 (-[EventSendingController mouseMoveToX:Y:]):
18777 2006-03-01 Eric Seidel <eseidel@apple.com>
18781 Add a stub win32 application to test WebCore drawing on windows.
18783 * Spinneret: Added.
18784 * Spinneret/Spinneret: Added.
18785 * Spinneret/Spinneret.sln: Added.
18786 * Spinneret/Spinneret/Resource.h: Added.
18787 * Spinneret/Spinneret/Spinneret.cpp: Added.
18793 * Spinneret/Spinneret/Spinneret.h: Added.
18794 * Spinneret/Spinneret/Spinneret.ico: Added.
18795 * Spinneret/Spinneret/Spinneret.rc: Added.
18796 * Spinneret/Spinneret/Spinneret.vcproj: Added.
18797 * Spinneret/Spinneret/WebView.cpp: Added.
18798 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
18799 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
18800 (WebKit::registerWebViewWithInstance):
18801 (WebKit::WebView::createWebView):
18802 (WebKit::WebView::WebView):
18803 (WebKit::WebView::~WebView):
18804 (WebKit::WebView::drawRect):
18805 (WebKit::WebView::windowHandle):
18807 * Spinneret/Spinneret/WebView.h: Added.
18808 * Spinneret/Spinneret/small.ico: Added.
18809 * Spinneret/Spinneret/stdafx.cpp: Added.
18810 * Spinneret/Spinneret/stdafx.h: Added.
18812 2006-02-28 Eric Seidel <eseidel@apple.com>
18816 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18817 (main): add ability to dump render tree and read from a local file.
18819 2006-02-27 Eric Seidel <eseidel@apple.com>
18823 * Scripts/install-win-extras: fix dll permissions & download zlib too.
18825 2006-02-27 Eric Seidel <eseidel@apple.com>
18827 Reviewed by ggaren.
18829 Test new KConfig -> PlugInInfoStore change.
18830 http://bugs.webkit.org/show_bug.cgi?id=7498
18832 * DumpRenderTree/DumpRenderTree.m:
18833 (main): load test netscape plugin
18834 * Scripts/run-webkit-tests: style update
18836 2006-02-24 Eric Seidel <eseidel@apple.com>
18840 Make DumpRenderTree link against icu.
18842 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18844 2006-02-24 Eric Seidel <eseidel@apple.com>
18848 Make DumpRenderTree link against libxml, etc.
18850 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18852 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
18854 Reviewed and landed by Anders.
18856 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
18857 getting called from the run loop, making the view render each test and thus slowing
18860 * DumpRenderTree/DumpRenderTree.m:
18861 (main): Set the offscreen window to not autodisplay.
18863 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
18865 Reviewed by Darin Adler.
18867 - Turn http tests back on by default.
18868 - Wait for Apache to actually start serving requests.
18869 - Get user id from a built-in variable rather than an external command;
18870 don't pass the group.
18872 * Scripts/run-webkit-tests:
18874 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
18876 Suggested by Mitz Pettel, reviewed by Darin Adler.
18878 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
18879 can run CGIs even if the permissions are 700 or 600.
18881 2006-02-23 Darin Adler <darin@apple.com>
18883 Collaborating with Alexey.
18885 - turn off http tests by default until we figure out how to get them
18886 to run even when permissions on CGI files are 700 instead of 755
18888 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
18890 2006-02-23 Eric Seidel <eseidel@apple.com>
18892 Add *.user to ignore list.
18894 2006-02-23 Eric Seidel <eseidel@apple.com>
18896 Remove binary file which shouldn't have been commited (and add to ignore list).
18898 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
18899 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
18901 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
18905 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
18907 2006-02-22 Eric Seidel <eseidel@apple.com>
18909 Reviewed by Tim Hatcher.
18911 Fix install-win-extras to not try to re-install setx if installed.
18913 * Scripts/install-win-extras:
18915 2006-02-22 Eric Seidel <eseidel@apple.com>
18917 One more file possibly missing from previous commit?
18919 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
18920 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18922 2006-02-22 Eric Seidel <eseidel@apple.com>
18924 Reviewed by justing.
18926 Files missing from previous commit.
18928 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18929 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18931 2006-02-22 Eric Seidel <eseidel@apple.com>
18933 Rubber-stamped by justing.
18935 Corrected path for DumpRenderTree.intermediate files
18937 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18939 2006-02-22 Eric Seidel <eseidel@apple.com>
18941 Reviewed by justing.
18943 Fixed build-dumprendertree to exit with correct error codes.
18945 * Scripts/build-dumprendertree:
18947 2006-02-22 Eric Seidel <eseidel@apple.com>
18949 Reviewed by justing.
18951 Update build scripts to generalize building on Win32, and allow
18952 building of DumpRenderTree on Win32 from build-dumprendertree.
18954 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18956 * Scripts/build-dumprendertree:
18957 * Scripts/build-webkit:
18958 * Scripts/webkitdirs.pm:
18960 2006-02-22 Eric Seidel <eseidel@apple.com>
18964 * DumpRenderTree/DumpRenderTree.vcproj: Added.
18965 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
18966 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
18967 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
18968 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
18969 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
18971 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
18972 * Scripts/build-webkit: make build-webkit cleanup after itself
18974 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
18976 Reviewed by Darin Adler.
18978 - http://bugs.webkit.org/show_bug.cgi?id=7409
18979 Some minor fixes to http tests.
18981 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
18983 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
18985 Reviewed by Darin Adler.
18987 - http://bugs.webkit.org/show_bug.cgi?id=6197
18988 Would like to use locally installed Apache for testing.
18990 Added two run-webkit-tests options:
18991 --http (--nohttp) - whether to launch Apache (defaults to yes);
18992 --port - which port to listen on (defaults to 8000).
18994 Tests in LayoutTests/http are not run directly, and Apache is used instead.
18995 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
18996 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
18998 Also added support for .shtml and .text files. Text files give an empty
18999 *-expected.txt, but a correct image.
19001 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
19003 * Scripts/run-webkit-tests:
19005 2006-02-21 Darin Adler <darin@apple.com>
19007 Suggested by Mark Rowe.
19009 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
19010 reporting leak counts.
19012 2006-02-18 Maciej Stachowiak <mjs@apple.com>
19014 Reviewed by Darin Adler.
19016 - Added install-win-extras script which installs some extra
19017 programs and libraries, and does Windows first-time setup.
19019 * Scripts/build-webkit: Add a newline between build results.
19020 * Scripts/install-win-extras: Added.
19022 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
19024 Reviewed by Darin Adler.
19026 - http://bugs.webkit.org/show_bug.cgi?id=7308
19027 DumpRenderTree should be able to load files via HTTP
19029 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
19030 Handle tests starting with "http://" as real URLs, not file system paths.
19032 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
19034 Reviewed by Maciej.
19036 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
19037 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
19039 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
19041 2006-02-18 Darin Adler <darin@apple.com>
19043 * Scripts/commit-log-editor: Added.
19045 2006-02-17 Eric Seidel <eseidel@apple.com>
19049 Make Win32 have the same default "WebKitBuild" directory behavior.
19051 * Scripts/build-webkit:
19052 * Scripts/webkitdirs.pm:
19054 2006-02-17 Eric Seidel <eseidel@apple.com>
19058 * Scripts/build-webkit: make win32 actually report errors
19060 2006-02-17 Eric Seidel <eseidel@apple.com>
19064 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
19066 2006-02-17 Eric Seidel <eseidel@apple.com>
19070 * Scripts/run-webkit-tests: Ignore flash leaks
19072 2006-02-15 Justin Garcia <justin.garcia@apple.com>
19076 <http://bugs.webkit.org/show_bug.cgi?id=7148>
19077 Add drag and drop support to DumpRenderTree
19079 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
19080 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
19082 * DumpRenderTree/DumpRenderTree.m:
19084 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
19085 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
19086 (-[WaitUntilDoneDelegate webViewFocus:]):
19087 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19088 (+[LayoutTestController webScriptNameForSelector:]):
19089 (-[LayoutTestController setWindowIsKey:]):
19090 (-[LayoutTestController setMainFrameIsFirstResponder:]):
19091 (-[EventSendingController init]):
19092 (-[EventSendingController mouseDown]):
19093 (-[EventSendingController mouseUp]):
19094 (-[EventSendingController mouseMoveToX:Y:]):
19096 (-[DumpRenderTreeWindow isKeyWindow]):
19097 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
19098 (-[DumpRenderTreeDraggingInfo dealloc]):
19099 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
19100 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
19101 (-[DumpRenderTreeDraggingInfo draggingLocation]):
19102 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
19103 (-[DumpRenderTreeDraggingInfo draggedImage]):
19104 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
19105 (-[DumpRenderTreeDraggingInfo draggingSource]):
19106 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
19107 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
19108 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
19109 * DumpRenderTree/TextInputController.m:
19110 (-[TextInputController firstRectForCharactersFrom:length:]):
19111 (-[TextInputController characterIndexForPointX:Y:]):
19113 2006-02-15 Geoffrey Garen <ggaren@apple.com>
19117 * DumpRenderTree/DumpRenderTree.m:
19118 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
19119 Added a dummy method for the sake of LayoutTests/plugins/
19120 undefined-property-crash.html. (It tests a crash due to fallback
19121 object use. WebCore won't create a fallback object if the method is
19124 2006-02-14 Eric Seidel <eseidel@apple.com>
19128 * Scripts/run-webkit-tests: added --results-directory (-o) option
19130 2006-02-09 Eric Seidel <eseidel@apple.com>
19132 Rubber-stamped by mjs.
19134 Renamed split-class to split-file-by-class.
19136 * Scripts/build-webkit: Updated copyright.
19137 * Scripts/split-class: Removed.
19138 * Scripts/split-file-by-class: Added.
19140 2006-02-08 Eric Seidel <eseidel@apple.com>
19142 Rubber-stamped by mjs.
19144 Adding new script for splitting multi-class files.
19145 Also adding supporting perl module with space removing heuristics.
19147 * Scripts/SpacingHeuristics.pm: Added.
19148 * Scripts/build-drawtest: updated copyright header
19149 * Scripts/split-class: Added.
19151 2006-02-08 Justin Garcia <justin.garcia@apple.com>
19153 Reviewed by thatcher
19155 Changes to test fix for:
19156 <http://bugs.webkit.org/show_bug.cgi?id=3982>
19157 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
19159 * DumpRenderTree/DumpRenderTree.m:
19160 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
19161 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19162 (+[LayoutTestController webScriptNameForSelector:]):
19163 (-[LayoutTestController setWindowHasFocus:]):
19164 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
19166 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
19168 Reviewed by Timothy.
19170 Support automated testing of AppleScript "do JavaScript" command
19171 http://bugs.webkit.org/show_bug.cgi?id=7012
19173 * DumpRenderTree/AppleScriptController.h: Added.
19174 * DumpRenderTree/AppleScriptController.m: Added.
19175 * DumpRenderTree/DumpRenderTree.m:
19176 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19177 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19179 2006-02-06 Eric Seidel <eseidel@apple.com>
19183 Fix build-webkit for use on win32 (unblocks buildbot usage).
19184 http://bugs.webkit.org/show_bug.cgi?id=7122
19186 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
19187 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
19189 2006-02-06 Eric Seidel <eseidel@apple.com>
19191 Rubber-stamped by darin & mjs.
19193 Added new support directory for build slave scripts.
19194 Committing the first script, for use by the PLT's build slave.
19195 This script is used to kick of the PLT (Page Load Test) slave.
19197 * BuildSlaveSupport: Added.
19198 * BuildSlaveSupport/run-performance-tests: Added.
19200 2006-02-06 Eric Seidel <eseidel@apple.com>
19202 Rubber-stamped by darin.
19204 Adding setSourceDir for scripts stored in non-standard locations.
19206 * Scripts/webkitdirs.pm:
19208 2006-02-04 Darin Adler <darin@apple.com>
19210 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
19211 Configuration files that say Development or Deployment in them.
19213 2006-02-04 Darin Adler <darin@apple.com>
19215 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
19216 wrapper already in the directory.
19217 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
19218 these haven't been working at all.
19219 * Scripts/svn-unapply: Ditto.
19221 2006-02-03 Timothy Hatcher <timothy@apple.com>
19223 Reviewed by Justin.
19225 Renamed configuration names to Debug, Release and Production.
19227 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
19228 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19229 * Scripts/set-webkit-configuration:
19230 * Scripts/webkitdirs.pm:
19232 2006-02-02 Justin Garcia <justin.garcia@apple.com>
19234 Reviewed by thatcher
19236 Enabled spell checking for layout tests.
19238 * DumpRenderTree/DumpRenderTree.m:
19241 2006-01-29 Darin Adler <darin@apple.com>
19243 * Scripts/svn-apply: Added comments about things we should do to improve.
19244 * Scripts/svn-create-patch: Ditto.
19245 * Scripts/svn-unapply: Ditto.
19247 2006-01-28 Darin Adler <darin@apple.com>
19249 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
19250 already there, even if the checksum is correct.
19252 2006-01-27 Eric Seidel <eseidel@apple.com>
19256 * Scripts/run-webkit-tests: make new tests use absolute urls
19258 2006-01-27 Eric Seidel <eseidel@apple.com>
19262 make run-webkit-tests output total leaks count
19264 * Scripts/run-webkit-tests:
19266 2006-01-27 Eric Seidel <eseidel@apple.com>
19270 run-webkit-test --leaks crashes (malloc logging runs out of memory)
19271 http://bugs.webkit.org/show_bug.cgi?id=6869
19273 * Scripts/run-webkit-tests: fix --leaks to not crash
19275 2006-01-26 Eric Seidel <eseidel@apple.com>
19279 run-webkit-tests should produce a self-contained results directory
19280 http://bugs.webkit.org/show_bug.cgi?id=6864
19282 * Scripts/run-webkit-tests: copy failing items to results dir.
19284 2006-01-23 Darin Adler <darin@apple.com>
19286 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
19287 need script to update localizable strings file in WebKit
19289 * Scripts/update-webkit-localizable-strings: Added.
19291 2006-01-23 Darin Adler <darin@apple.com>
19293 - added a couple of scripts -- more about these two soon
19295 * Scripts/extract-localizable-strings: Added.
19296 * Scripts/merge-changelog: Added.
19298 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
19300 Reviewed by Anders.
19302 Build fix. build-webkit dies with "invalid build action: (empty string)"
19304 * Scripts/build-webkit:
19305 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
19307 2006-01-22 Eric Seidel <eseidel@apple.com>
19309 Reviewed by anders.
19311 Fix --no-svg option to use XCode flags instead of gcc flags.
19313 * Scripts/build-webkit:
19315 2006-01-22 Eric Seidel <eseidel@apple.com>
19317 Reviewed by anders.
19319 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
19321 * Scripts/build-webkit:
19323 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
19325 Reviewed by eseidel.
19327 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
19328 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
19330 * Scripts/build-drawtest: Changed bareword 'true' to 1.
19331 * Scripts/run-drawtest: Changed bareword 'true' to 1.
19333 2006-01-19 Darin Adler <darin@apple.com>
19335 * Scripts/report-include-statistics: Added a new script.
19337 2006-01-19 Timothy Hatcher <timothy@apple.com>
19339 * Scripts/build-webkit: include JavaScriptGlue in the build
19341 2006-01-19 Darin Adler <darin@apple.com>
19343 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
19344 spaces in it by using the form of open that treats each argument as a string
19345 rather than backtick syntax for reading the output of the nm tool.
19347 2006-01-12 Maciej Stachowiak <mjs@apple.com>
19349 Reviewed by Darin Adler.
19351 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
19352 detect if there are any new tests
19354 * Scripts/prepare-ChangeLog:
19356 2006-01-12 Darin Adler <darin@apple.com>
19358 - removed some of the cvs-specific scripts -- not needed for this project any more
19360 * Scripts/cvs-abandon: Removed.
19361 * Scripts/cvs-apply: Removed.
19362 * Scripts/cvs-create-patch: Removed.
19363 * Scripts/cvs-unapply: Removed.
19365 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
19367 Reviewed by eseidel. Committed by eseidel.
19369 - run-webkit-tests always launches Safari when tests fail
19370 http://bugs.webkit.org/show_bug.cgi?id=6456
19372 * Scripts/run-webkit-tests:
19373 Add a command-line flag to prevent Safari being launched to display failed
19374 tests. Always exit with non-zero status when tests have failed.
19376 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
19378 Reviewed by eseidel. Committed by eseidel.
19380 - build-webkit should exit with non-zero status when build fails
19381 http://bugs.webkit.org/show_bug.cgi?id=6459
19383 * Scripts/build-webkit:
19384 Use correct bits of subprocess exit code when passing back through
19385 as build-webkit's exit code.
19387 2006-01-10 Eric Seidel <eseidel@apple.com>
19389 Restored corrupted nibs from TOT CVS.
19391 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
19392 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
19393 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
19394 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
19395 * DrawTest/English.lproj/Inspector.nib: Replaced.
19396 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
19397 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
19398 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
19399 * DrawTest/English.lproj/MainMenu.nib: Replaced.
19400 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
19401 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
19402 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
19403 * DrawTest/English.lproj/TestViewer.nib: Replaced.
19404 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
19405 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
19406 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
19408 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
19410 Reviewed by eseidel. Committed by eseidel.
19412 DrawTestView now subclasses WebView instead of DrawView.
19414 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
19415 * DrawTest/DrawTestDocument.h:
19416 * DrawTest/DrawTestDocument.m:
19417 (-[DrawTestDocument dealloc]):
19418 (-[DrawTestDocument readFromFile:ofType:]):
19419 (-[DrawTestDocument windowControllerDidLoadNib:]):
19420 (-[DrawTestDocument dumpSVGToConsole:]):
19421 (-[DrawTestDocument openSourceForSelection:]):
19422 (-[DrawTestDocument dataRepresentationOfType:]):
19423 * DrawTest/DrawTestToolbarController.h:
19424 * DrawTest/DrawTestToolbarController.m:
19425 (-[DrawTestToolbarController initWithDrawView:]):
19426 (-[DrawTestToolbarController clickedToolbarItem:]):
19427 (-[DrawTestToolbarController validateToolbarItem:]):
19428 * DrawTest/DrawTestView.h:
19429 * DrawTest/DrawTestView.m:
19430 (-[DrawTestView initWithFrame:]):
19431 (-[DrawTestView setDocument:]):
19432 * DrawTest/SVGTest.h:
19433 * DrawTest/SVGTest.m:
19434 (+[SVGTest sharedDrawView]):
19435 (-[SVGTest generateCompositeIfNecessary]):
19436 * DrawTest/TestController.h:
19437 * DrawTest/TestController.m:
19438 (-[TestController awakeFromNib]):
19439 (-[TestController setSelectedTest:]):
19440 (-[TestController openTestViewerForSelection:]):
19441 (-[TestController toggleViewersScaleRule:]):
19442 * DrawTest/TestViewerSplitView.m:
19443 (-[TestViewerSplitView drawRect:]):
19445 2006-01-10 Anders Carlsson <andersca@mac.com>
19447 Reviewed by Timothy.
19449 * DumpRenderTree/DumpRenderTree.m:
19450 (main): Set the default language to "en", so language tests will work.
19452 2006-01-08 Maciej Stachowiak <mjs@apple.com>
19456 - script to generate HTML wrappers for JS tests
19457 http://bugs.webkit.org/show_bug.cgi?id=6441
19459 * Scripts/make-js-test-wrappers: Added.
19461 2006-01-08 Maciej Stachowiak <mjs@apple.com>
19465 * Scripts/svn-create-patch: Fix to work when passed directory names.
19467 2006-01-08 Geoffrey Garen <ggaren@apple.com>
19471 - Added back/forward navigation support to DumpRenderTree. Hopefully we
19472 can start writing automated loader tests now. I have one in the works.
19474 * DumpRenderTree/DumpRenderTree.m:
19475 (main): Construct global navigationController on entry, destroy on exit.
19476 Set frame to nil on exit too, to match all the other global objects.
19477 (Probably academic, since the process is exiting, anyway.)
19478 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
19479 navigationController, in case it wants to kick off a load.
19480 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
19481 the navigationController to scripting.
19483 New class, should be straightforward:
19485 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19486 * DumpRenderTree/NavigationController.h: Added.
19487 * DumpRenderTree/NavigationController.m: Added.
19489 (+[NavigationController isSelectorExcludedFromWebScript:]):
19490 (+[NavigationController webScriptNameForSelector:]):
19491 (-[NavigationController setPendingScript:]):
19492 (-[NavigationController setPendingRequest:]):
19493 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
19494 (-[NavigationController webView:didFinishLoadForFrame:]):
19495 (-[NavigationController dealloc]):
19497 2006-01-08 Timothy Hatcher <timothy@apple.com>
19499 Removed this script, no longer needs with the Subversion switch.
19501 * checkout: Removed.
19503 2006-01-08 Timothy Hatcher <timothy@apple.com>
19505 Removes some stray tabs.
19507 * Scripts/update-webkit:
19509 2005-01-07 Eric Seidel <eseidel@apple.com>
19513 build-webkit should pass on build arguments from command line
19514 http://bugs.webkit.org/show_bug.cgi?id=5854
19516 * Scripts/build-webkit:
19518 2006-01-07 Eric Seidel <eseidel@apple.com>
19520 Reviewed by mjs & xenon.
19522 * Scripts/update-webkit: support Internal updates as well
19524 2006-01-06 Geoffrey Garen <ggaren@apple.com>
19526 Temporarily rolling out plugin support from DumpRenderTree because it
19527 caused lots of layout test regressions.
19529 * DumpRenderTree/DumpRenderTree.m:
19530 (main): Remove invisible window added to support plugins.
19532 2006-01-06 Geoffrey Garen <ggaren@apple.com>
19536 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
19537 Add plugin support to DumpRenderTree
19539 Also wrote first test plugin.
19541 * DumpRenderTree/DumpRenderTree.m:
19543 (1) Put the WebView in an invisible window, because PlugIns are
19544 optimized not to load if there's no parent window.
19545 (2) Tell WebKit to load any PlugIns in the directory from which we
19546 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
19547 and they'll load automagically during layout testing, but they won't be
19548 added to the user's system, hosing apps like Safari.
19550 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
19551 test PlugIn to project.
19553 PlugIn added to project:
19555 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
19556 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
19558 (initializeIdentifiers):
19559 (pluginHasProperty):
19561 (pluginGetProperty):
19562 (pluginSetProperty):
19564 (pluginInvokeDefault):
19565 (pluginInvalidate):
19567 (pluginDeallocate):
19568 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
19569 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
19571 (NP_GetEntryPoints):
19577 (NPP_DestroyStream):
19580 (NPP_StreamAsFile):
19587 2006-01-04 Timothy Hatcher <timothy@apple.com>
19589 Reviewed by Darin Adler.
19591 Tweaked and tested by me.
19593 New scripts to work with Subversion when the switch happens.
19594 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
19596 * Scripts/svn-apply: Added.
19597 * Scripts/svn-create-patch: Added.
19598 * Scripts/svn-unapply: Added.
19600 2005-12-30 Eric Seidel <eseidel@apple.com>
19604 Move WebView width/height logic into DumpRenderTree to support
19605 running the W3C SVG 1.1 tests along side other tests. The W3C
19606 SVG 1.1 tests require a 480x360 view.
19608 * DumpRenderTree/DumpRenderTree.m:
19609 (main): don't accept width/height
19610 (dump): override width/height for SVG/W3C
19611 * Scripts/run-webkit-tests: don't pass width/height
19613 2005-12-30 Eric Seidel <eseidel@apple.com>
19615 No review, only removing dead code.
19617 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
19618 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
19620 2005-12-30 Eric Seidel <eseidel@apple.com>
19624 DumpRenderTree should set a consistent color profile while running
19625 http://bugs.webkit.org/show_bug.cgi?id=6155
19627 Creates consistent colormatched renderings on every test machine
19628 using the only way possible with Tiger APIs: by setting the
19629 system color profile on the test machine for the duration of the
19630 tests. This will (unfortunately) cause colors to change while
19631 running DumpRenderTree. This can also cause "permanent" color
19632 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
19633 This is far from ideal, but it's be best way we've found to deal
19634 with the issue for now.
19636 * DumpRenderTree/DumpRenderTree.m:
19637 (restoreColorSpace):
19638 (setDefaultColorProfileToRGB):
19641 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
19643 Reviewed by Darin Adler.
19645 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
19646 cvs-create-patch --include produces incorrect paths
19648 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
19650 2005-12-19 Eric Seidel <eseidel@apple.com>
19654 * Scripts/run-webkit-tests: stop /etc/catalog warnings
19656 2005-12-19 Darin Adler <darin@apple.com>
19658 Reviewed by Eric Seidel.
19660 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
19661 WebKit needs to use a local pasteboard during testing
19663 * DumpRenderTree/DumpRenderTree.m:
19664 (main): Call poseAs to substitute our NSPasteboard class for the default one.
19665 Create a local pasteboard (really a global one with a unique name) and release
19666 it when exiting from the function so we don't leave it in the pasteboard server.
19667 (dumpRenderTree): Added an autorelease pool around one small bit of code that
19668 ddn't have one. Fixed a leak in an unlikely error case.
19669 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
19670 of this method to return our local pasteboard.
19672 2005-12-15 Eric Seidel <eseidel@apple.com>
19674 Reviewed by Tim Hatcher.
19676 * Scripts/build-webkit: --svg is now default!
19678 2005-12-15 Eric Seidel <eseidel@apple.com>
19682 Don't run svg test automatically if +SVG is built (yet).
19684 * Scripts/run-webkit-tests:
19686 2005-12-15 Darin Adler <darin@apple.com>
19688 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
19689 support is not compiled in. Report the 10 slowest tests if "--slowest" is
19690 passed on the command line.
19692 2005-12-06 John Sullivan <sullivan@apple.com>
19694 Reviewed by Darin Adler.
19696 * Scripts/prepare-ChangeLog:
19697 Remove special-case handling for nib files. This avoided trouble with cvs diff
19698 when we were using wrappers for nib files. Now that we aren't using wrappers,
19699 there's no reason to avoid adding the modified nib files to the file list that
19702 2005-12-05 Eric Seidel <eseidel@apple.com>
19706 Script updates for SVG files move (remove references to SVGSupport)
19708 * Scripts/build-webkit: remove SVGSupport
19709 * Scripts/run-webkit-tests: Resources -> resources for --svg
19710 * Scripts/update-webkit: remove SVGSupport
19712 2005-12-05 Eric Seidel <eseidel@apple.com>
19716 * checkout: remove --svg support, SVG is now checked out by default
19718 2005-11-29 Eric Seidel <eseidel@apple.com>
19722 Update scripts to run SVG tests automatically (w/o --svg) if
19723 WebCore is built with SVG support.
19725 * Scripts/build-drawtest: SVG support required
19726 * Scripts/build-dumpkcanvastree: Removed.
19727 * Scripts/run-drawtest: SVG support required to run
19728 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
19729 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
19731 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
19733 Reviewed by Darin Adler. Committed by Maciej.
19735 - fixed "DumpRenderTree should test for Ahem before doing anything else"
19736 (http://bugs.webkit.org/show_bug.cgi?id=5838)
19738 * DumpRenderTree/DumpRenderTree.m:
19741 2005-11-28 Eric Seidel <eseidel@apple.com>
19743 Reviewed by sullivan and GGAREN.
19745 Minor additions to make error messages more clear from cvs-apply.
19747 * Scripts/cvs-apply: make errors more clear
19749 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
19751 Reviewed and committed by Maciej.
19753 - fixed cvs-create-patch --include produces incorrect paths
19754 (http://bugs.webkit.org/show_bug.cgi?id=5846)
19756 * Scripts/cvs-create-patch: produce proper paths for new files.
19758 2005-11-21 Eric Seidel <eseidel@apple.com>
19762 Some simple fixes to the build/test scripts now that SVG uses the
19763 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
19764 or symlinks for KDOM.
19766 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
19767 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
19768 * Scripts/run-webkit-tests: now runs SVG tests using DRT
19769 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
19770 * checkout: no longer symlink kdom
19772 2005-11-10 Eric Seidel <eseidel@apple.com>
19774 Reviewed by ggaren.
19776 * Scripts/build-webkit: Pass through options to xcodebuild
19778 2005-11-07 Darin Adler <darin@apple.com>
19780 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
19782 2005-11-03 John Sullivan <sullivan@apple.com>
19784 Reviewed by Darin Adler.
19786 * Scripts/run-safari:
19787 changed message to say "Starting Safari" instead of odd "Start Safari"
19788 * Scripts/run-webkit-tests:
19789 changed the way we pass the file parameter to use -NSOpen rather than relying on
19790 unlabeled arguments being treated as files. This was failing on some machines that
19791 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
19793 2005-10-27 Geoffrey Garen <ggaren@apple.com>
19795 Patch by Alexey Proskuryakov.
19797 Reviewed by Maciej.
19799 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
19800 TextInputController should support attributed strings
19802 * DumpRenderTree/TextInputController.m:
19803 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
19804 (+[NSMutableAttributedString webScriptNameForSelector:]):
19805 (-[NSMutableAttributedString getLength]):
19806 (-[NSMutableAttributedString attributeNamesAtIndex:]):
19807 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
19808 (-[NSMutableAttributedString addAttribute:value:]):
19809 (-[NSMutableAttributedString addAttribute:value:from:length:]):
19810 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
19811 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
19812 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
19813 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
19814 (+[TextInputController isSelectorExcludedFromWebScript:]):
19815 (+[TextInputController webScriptNameForSelector:]):
19816 (-[TextInputController insertText:]):
19817 (-[TextInputController attributedSubstringFrom:length:]):
19818 (-[TextInputController attributedStringWithString:]):
19820 2005-10-11 Eric Seidel <eseidel@apple.com>
19824 Checks for leaks in ImageDiff too.
19826 * Scripts/run-webkit-tests:
19828 2005-10-09 Darin Adler <darin@apple.com>
19830 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
19831 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
19832 * Scripts/cvs-unapply: Ditto.
19833 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
19835 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
19837 Reviewed, rearranged and landed by Darin Adler.
19839 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
19840 Need a way to automatically test for regressions in NSTextInput implementation
19842 * DumpRenderTree/DumpRenderTree.m:
19843 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19844 Create a text input controller and put it in a property of the window object.
19846 * DumpRenderTree/TextInputController.h: Added.
19847 * DumpRenderTree/TextInputController.m: Added.
19848 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
19850 2005-10-06 Darin Adler <darin@apple.com>
19852 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
19853 are controlled by cvs, or when changes cross multiple repositories.
19854 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
19856 2005-10-03 Eric Seidel <eseidel@apple.com>
19860 Make mouseDown and mouseUp force layout before acting.
19861 This is used by a new test case for 4233558.
19863 * DumpRenderTree/DumpRenderTree.m:
19864 (-[EventSendingController mouseDown]): force layout
19865 (-[EventSendingController mouseUp]): force layout
19867 2005-09-30 Eric Seidel <eseidel@apple.com>
19871 Updated all the scripts for the move:
19872 WebCore/layout-tests -> LayoutTests
19874 * Scripts/check-dom-results:
19875 * Scripts/prepare-ChangeLog:
19876 * Scripts/run-webkit-tests:
19877 * Scripts/update-webkit: added --no-tests
19878 * checkout: added --no-tests
19880 2005-09-28 Darin Adler <darin@apple.com>
19882 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
19883 pixel test should run even if render trees differ
19885 * Scripts/run-webkit-tests: Don't check if the text dump matches.
19887 2005-09-27 Eric Seidel <eseidel@apple.com>
19889 No review needed, SVG build fix only.
19891 * DumpKCanvasTree/DumpKCanvasTree.m:
19892 Missed one in my previous checkin.
19893 http://bugs.webkit.org/show_bug.cgi?id=5141
19895 2005-09-26 Eric Seidel <eseidel@apple.com>
19897 No review needed, SVG build fix only.
19899 * DrawTest/DrawTestDocument.m:
19900 * DrawTest/DrawTestToolbarController.m:
19901 * DrawTest/DrawTestView.h:
19902 * DrawTest/DrawTestView.m:
19903 * DrawTest/SVGTest.m:
19904 * DrawTest/TestController.m:
19905 Updated for WebCore+SVG -> WebCore rename.
19906 http://bugs.webkit.org/show_bug.cgi?id=5141
19908 2005-09-26 Eric Seidel <eseidel@apple.com>
19912 * DumpRenderTree/DumpRenderTree.m:
19913 (dump): updated error message
19914 * Scripts/check-dom-results: now includes xhtml
19915 Tool updates for xhtml.
19916 http://bugs.webkit.org/show_bug.cgi?id=4907
19918 2005-09-22 Duncan Wilcox <duncan@mclink.it>
19920 Reviewed by Maciej.
19921 Landed by Darin Adler.
19923 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
19924 "Would like to simulate human interaction with webview"
19926 * DumpRenderTree/DumpRenderTree.m:
19927 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19928 (+[EventSendingController isSelectorExcludedFromWebScript:]):
19929 (+[EventSendingController webScriptNameForSelector:]):
19930 (-[EventSendingController init]):
19931 (-[EventSendingController mouseDown]):
19932 (-[EventSendingController mouseUp]):
19933 (-[EventSendingController mouseMoveToX:Y:]):
19934 Add eventSender javascript object, that sends fake mouse events to the webview.
19936 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19937 link with Carbon.framework
19939 2005-09-22 Eric Seidel <eseidel@apple.com>
19943 Update tools for WebCore+SVG -> WebCore rename.
19944 Also fold several SVG specific tools into their original
19945 WebCore counterparts.
19946 http://bugs.webkit.org/show_bug.cgi?id=5003
19948 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
19949 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
19950 * Scripts/build-drawtest:
19951 * Scripts/build-dumpkcanvastree:
19952 * Scripts/build-webcore-svg: Removed.
19953 * Scripts/build-webkit: added --svg option
19954 * Scripts/run-drawtest:
19955 * Scripts/run-webkit-tests:
19956 * Scripts/webkitdirs.pm: various additions.
19957 * checkout: added --svg option
19958 * checkout-svg: Removed.
19960 2005-09-19 Eric Seidel <eseidel@apple.com>
19964 * Scripts/run-webkit-tests: added --guard-malloc option
19965 http://bugs.webkit.org/show_bug.cgi?id=4613
19967 2005-09-16 Justin Garcia <justin.garcia@apple.com>
19971 Removed a script that is only used by apple internal developers
19973 * Scripts/update-webkitsysteminterface: Removed.
19975 2005-09-16 Adele Peterson <adele@apple.com>
19977 Reviewed by Maciej.
19979 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
19981 2005-09-14 Darin Adler <darin@apple.com>
19983 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
19984 dumpAsText doesn't work with XHTML documents
19986 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
19987 rather than of the body element. This works with typical XHTML documents. We can probably
19988 do something even better in the long run, but this fixes the immediate issue.
19992 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
19993 run-safari instead of just using "open", which often runs another copy of Safari instead.
19995 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
19997 Reviewed, tweaked, and landed by Darin Adler.
19999 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
20000 .Mac prefpane crashes when Safari using CVS WebKit is running
20002 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
20003 * Scripts/run-webkit-app: Ditto.
20005 2005-09-11 Darin Adler <darin@apple.com>
20007 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
20009 2005-09-11 Darin Adler <darin@apple.com>
20013 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
20014 two ways: 1) puts all files in a directory before any files in a subdirectory, and
20015 2) sort file names with numeric digits in them in a logical way, so test-33 will come
20018 2005-09-08 Justin Garcia <justin.garcia@apple.com>
20022 * Scripts/update-webkitsysteminterface: Added.
20023 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
20025 2005-09-01 John Sullivan <sullivan@apple.com>
20027 * Scripts/run-webkit-tests:
20028 Excluded a known system leak to reduce noise; added comments about which leaks
20029 are being excluded.
20031 2005-09-01 Tim Omernick <tomernick@apple.com>
20033 Change made by Darin, reviewed by John and myself.
20035 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
20037 * Scripts/prepare-ChangeLog:
20039 2005-08-31 Maciej Stachowiak <mjs@apple.com>
20041 Reviewed by Darin Adler.
20043 - set color variant and font settings to a consistent value.
20044 (http://bugs.webkit.org/show_bug.cgi?id=4769)
20046 * DumpRenderTree/DumpRenderTree.m:
20049 2005-08-30 Eric Seidel <eseidel@apple.com>
20053 * Scripts/build-svg2png: Removed.
20054 * svg2png/ImageDiff.h: Removed.
20055 * svg2png/ImageDiff.m: Removed.
20056 * svg2png/svg2png.m: Removed.
20057 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
20058 * svg2png/svg2png_Prefix.pch: Removed.
20059 svg2png is no longer needed.
20061 2005-08-30 Darin Adler <darin@apple.com>
20063 * Scripts/check-dom-results: Special case 100% to say something nice.
20064 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
20065 applying the patch (need a better name).
20066 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
20068 2005-08-30 Darin Adler <darin@apple.com>
20070 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
20072 2005-08-29 Maciej Stachowiak <mjs@apple.com>
20074 Reviewed by Darin Adler.
20076 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
20077 (some pixel tests fail when AA settings are changed)
20079 * DumpRenderTree/DumpRenderTree.m:
20080 (main): set AA settings to the default values
20082 2005-08-29 Darin Adler <darin@apple.com>
20084 Reviewed by John Sullivan.
20086 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
20087 executable -- much slower but can help pinpoint leaks. Changed formatting of some
20090 2005-08-28 Maciej Stachowiak <mjs@apple.com>
20094 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
20095 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
20097 * DumpRenderTree/DumpRenderTree.m:
20098 (main): set scrollbar arrow setting to a consistent value
20100 2005-08-27 Jussi Hagman <juhagman@abo.fi>
20102 Reviewed and landed by Darin Adler.
20104 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
20105 output of update-webkit is too verbose
20107 * Scripts/update-webkit:
20108 Added option --quiet (-q) to decrease the amount of output.
20110 2005-08-27 Darin Adler <darin@apple.com>
20112 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
20113 cvs-create-patch --include-unknowns should ignore hidden files
20115 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
20117 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
20119 Reviewed, tweaked, and landed by Darin Adler.
20121 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
20122 update-webkit doesn't notice when you have SVGSupport and update properly
20124 * Scripts/update-webkit: Build SVGSupport directory if it's present.
20126 2005-08-25 Anders Carlsson <andersca@mac.com>
20128 Reviewed and landed by Darin Adler.
20130 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
20131 layout test machinery can't handle tests with applets that have code attributes
20133 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
20135 2005-08-24 Darin Adler <darin@apple.com>
20137 Reviewed by Maciej.
20139 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
20140 DumpRenderTree --pixel-tests crash
20141 - landed some other small changes I had sitting in my tree
20143 * DumpRenderTree/DumpRenderTree.m:
20144 (main): Don't bother saving and restoring the preferences. Not sure
20145 why this was ever done since the preferences are specific to DumpRenderTree.
20146 Clear delegates before releasing the WebView, because you can't count on the
20147 order of object deallocation.
20148 (dumpRenderTree): Fix code that releases a string before storing it in a
20151 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
20152 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
20154 2005-08-23 Eric Seidel <eseidel@apple.com>
20158 * Scripts/run-webkit-tests:
20159 Made --leaks option more readable by printing to a file.
20160 http://bugs.webkit.org/show_bug.cgi?id=4590
20162 2005-08-22 Eric Seidel <eseidel@apple.com>
20163 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
20167 * Scripts/run-webkit-tests: hides "expected actual diffs" links
20168 when they are not needed (for pixel-only failures)
20169 http://bugs.webkit.org/show_bug.cgi?id=4584
20171 2005-08-22 Eric Seidel <eseidel@apple.com>
20175 * Scripts/run-webkit-tests: Added the ability to display more than
20176 just two images as part of the image-diff "slideshow".
20177 Added display of "-w3c.png" baseline images for SVG.
20178 http://bugs.webkit.org/show_bug.cgi?id=4581
20180 2005-08-20 Eric Seidel <eseidel@apple.com>
20182 * Scripts/run-webkit-tests:
20183 "build" fix after committing incorrect version.
20185 2005-08-20 Eric Seidel <eseidel@apple.com>
20189 * DumpRenderTree/DumpRenderTree.m:
20190 (main): cleans up delegates
20191 (dumpRenderTree): closes CFString/CFURL leak
20192 * Scripts/run-webkit-tests:
20193 Adds --leaks option to run-webkit-tests
20194 http://bugs.webkit.org/show_bug.cgi?id=4542
20196 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
20198 Reviewed by Darin Adler.
20200 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
20201 new files to be included in the patch even without "cvs add".
20203 2005-08-19 Darin Adler <darin@apple.com>
20205 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
20206 non-cvs-generated patches. Anders has been creating these, so it's bad that
20207 the script can't handle them.
20208 * Scripts/cvs-unapply: Ditto.
20210 2005-08-18 Darin Adler <darin@apple.com>
20212 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
20213 "." in them -- based on complaint by someone here at Apple.
20215 2005-08-18 Eric Seidel <eseidel@apple.com>
20219 * Scripts/run-webkit-tests:
20220 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
20222 2005-08-17 Maciej Stachowiak <mjs@apple.com>
20224 - add file that I forgot in the last checkin
20226 * DumpRenderTree/ImageDiff.m: Added.
20228 (getImageFromStdin):
20230 (getDifferenceBitmap):
20231 (computePercentageDifferent):
20233 2005-08-17 Maciej Stachowiak <mjs@apple.com>
20235 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
20236 somewhat by me, and also tweaked by me a little bit.
20238 - better support for pixel-dumping
20239 - use checksums of the images so the tests are fast
20240 - change output format to make the tests run faster
20241 - don't dump pixel results for tests that dump as text
20243 * DumpKCanvasTree/DumpKCanvasTree.m:
20246 (md5HashStringForBitmap):
20248 (constrainSizeToMaximum):
20249 (getBitmapImageRepForSVGDocument):
20250 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
20251 * DumpRenderTree/DumpRenderTree.m:
20255 (md5HashStringForBitmap):
20256 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20257 * Scripts/run-webkit-tests:
20259 2005-08-17 Maciej Stachowiak <mjs@apple.com>
20261 Reviewed by Darin Adler.
20263 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
20265 * DumpRenderTree/DumpRenderTree.m:
20268 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
20270 Reviewed and landed by Darin Adler.
20272 - fixed http://bugs.webkit.org/show_bug.cgi?id=4251
20273 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
20275 * Scripts/run-safari: Pass arguments through to Safari on command line.
20276 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
20278 2005-08-11 Eric Seidel <eseidel@apple.com>
20279 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
20281 Reviewed by eseidel.
20283 * DrawTest/TestController.m:
20284 (-[TestController imagePathForSVGPath:]):
20285 Fixed support for using TextViewer with the layout-tests.
20286 http://bugs.webkit.org/show_bug.cgi?id=4385
20288 2005-08-11 Maciej Stachowiak <mjs@apple.com>
20290 At Least Roughly Glanced At by Anders.
20292 - fix change with totally breaks the layout tests.
20294 * DumpRenderTree/DumpRenderTree.m:
20295 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
20296 load, to avoid dumping twice accidentally.
20298 2005-08-10 Eric Seidel <eseidel@apple.com>
20299 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
20303 * DumpRenderTree/DumpRenderTree.m:
20304 Added support for rendering to a PNG file.
20305 http://bugs.webkit.org/show_bug.cgi?id=3840
20307 2005-08-07 Eric Seidel <eseidel@apple.com>
20311 * Scripts/run-webkit-tests: added --svg option
20312 * Scripts/run-webkit-tests-svg: Removed.
20313 http://bugs.webkit.org/show_bug.cgi?id=4300
20315 2005-08-07 Eric Seidel <eseidel@apple.com>
20316 Changes by Ben La Monica <ben.lamonica@gmail.com>
20320 * svg2png/ImageDiff.h: Added.
20321 * svg2png/ImageDiff.m: Added.
20322 (getDifferenceBitmap):
20323 (computePercentageDifferent):
20324 (saveAnimatedGIFToFile):
20325 * svg2png/svg2png.m:
20326 (usage): added several new options
20327 (getBitmapForSVG): added NSBitmapImageRep generation
20328 (main): various argument changes.
20329 * svg2png/svg2png.xcodeproj/project.pbxproj:
20330 Several additions to provide image differencing functionality.
20331 http://bugs.webkit.org/show_bug.cgi?id=4193
20333 2005-08-07 Eric Seidel <eseidel@apple.com>
20337 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
20338 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
20339 Adding the first SVG layout tests:
20340 http://bugs.webkit.org/show_bug.cgi?id=4303
20342 2005-08-07 Darin Adler <darin@apple.com>
20344 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
20346 2005-08-06 Eric Seidel <eseidel@apple.com>
20350 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
20351 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
20352 * Scripts/build-dumpkcanvastree: Added.
20353 * Scripts/run-webkit-tests-svg: Added.
20354 Adds a DumpRenderTree-like tool for SVG which allows us to do
20355 text-based layout regression testing. This (like most of the
20356 SVG specific stuff) is temporary and will be replaced by
20357 DumpRenderTree once the DOMs and RenderTrees merge.
20358 http://bugs.webkit.org/show_bug.cgi?id=3917
20360 2005-08-06 Eric Seidel <eseidel@apple.com>
20364 * DrawTest/DrawTestView.m:
20365 (-[DrawTestView toggleFilterSupport:]): missing negation.
20366 One half of fix for toggling filter support.
20367 http://bugs.webkit.org/show_bug.cgi?id=4252
20369 2005-08-04 Eric Seidel <eseidel@apple.com>
20373 * Scripts/build-drawtest:
20374 * Scripts/build-dumprendertree:
20375 * Scripts/build-svg2png:
20376 * Scripts/build-webcore-svg:
20377 * Scripts/build-webkit:
20378 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
20379 Added checkRequiredSystemConfig and made all the build-* scripts
20380 use it to print a pretty warning when trying to compile on an
20381 unsupported system (less than 10.4, Xcode 2.1).
20382 http://bugs.webkit.org/show_bug.cgi?id=4280
20384 2005-08-04 Darin Adler <darin@apple.com>
20386 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
20387 the dead. It was removed by accident when someone was trying to work on the branch.
20389 2005-07-31 Darin Adler <darin@apple.com>
20391 - a little tools cleanup
20393 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
20394 project as a whole. Removed unused Default configuration.
20396 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
20398 2005-07-31 Duncan Wilcox <duncan@mclink.it>
20400 Reviewed and landed by Darin Adler.
20402 Add logging of editing delegate calls for regression checking.
20404 * DumpRenderTree/DumpRenderTree.m:
20406 setup editing delegate
20408 (-[DOMNode dumpPath]):
20409 (-[DOMRange dump]):
20410 utility for editing delegate logging
20412 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
20413 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
20414 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
20415 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
20416 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
20417 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
20418 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
20419 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
20420 (-[EditingDelegate webViewDidBeginEditing:]):
20421 (-[EditingDelegate webViewDidChange:]):
20422 (-[EditingDelegate webViewDidEndEditing:]):
20423 (-[EditingDelegate webViewDidChangeTypingStyle:]):
20424 log corresponding editing delegate methods
20426 (-[EditingDelegate webViewDidChangeSelection:]):
20427 log selection except when clearing selection after end of test (uses existing "done" flag)
20430 added clearing of selection after test
20432 2005-07-31 Eric Seidel <eseidel@apple.com>
20436 * Scripts/build-drawtest: Added.
20437 * Scripts/build-svg2png: Added.
20438 * Scripts/build-webcore-svg: Added.
20439 * Scripts/run-drawtest: Added.
20440 * Scripts/webkitdirs.pm: added checkSVGFrameworks
20441 Made it much easier to build WebCore+SVG.
20442 http://bugs.webkit.org/show_bug.cgi?id=4208
20444 2005-07-29 Eric Seidel <eseidel@apple.com>
20448 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
20449 Build fix. Removed bad path.
20451 2005-07-29 Eric Seidel <eseidel@apple.com>
20453 Reviewed by sullivan.
20455 * DrawTest/AppDelegate.h: Added.
20456 * DrawTest/AppDelegate.m: Added.
20457 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
20458 * DrawTest/DrawTestDocument.h: Added.
20459 * DrawTest/DrawTestDocument.m: Added.
20460 * DrawTest/DrawTestInspectorController.h: Added.
20461 * DrawTest/DrawTestInspectorController.m: Added.
20462 * DrawTest/DrawTestToolbarController.h: Added.
20463 * DrawTest/DrawTestToolbarController.m: Added.
20464 * DrawTest/DrawTestView.h: Added.
20465 * DrawTest/DrawTestView.m: Added.
20466 * DrawTest/DrawTest_Prefix.pch: Added.
20467 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
20468 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
20469 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
20470 * DrawTest/English.lproj/InfoPlist.strings: Added.
20471 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
20472 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
20473 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
20474 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
20475 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
20476 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
20477 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
20478 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
20479 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
20480 * DrawTest/Info.plist: Added.
20481 * DrawTest/SVGTest.h: Added.
20482 * DrawTest/SVGTest.m: Added.
20483 * DrawTest/ScalingImageView.h: Added.
20484 * DrawTest/ScalingImageView.m: Added.
20485 * DrawTest/TestController.h: Added.
20486 * DrawTest/TestController.m: Added.
20487 * DrawTest/TestViewerSplitView.h: Added.
20488 * DrawTest/TestViewerSplitView.m: Added.
20489 * DrawTest/main.m: Added.
20490 Adding simple cocoa app for testing SVG rendering, interaction.
20491 http://bugs.webkit.org/show_bug.cgi?id=4157
20493 2005-07-28 Eric Seidel <eseidel@apple.com>
20495 Reviewed by ggaren.
20497 * svg2png/svg2png.m: Added.
20498 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
20499 * svg2png/svg2png_Prefix.pch: Added.
20500 Added a simple test tool which dumps a PNG from an SVG using
20501 WebCore+SVG's SVG rendering support.
20502 http://bugs.webkit.org/show_bug.cgi?id=4156
20504 2005-07-26 Maciej Stachowiak <mjs@apple.com>
20506 Reviewed by Darin Adler.
20508 - new script to review the DOM layout test results and see where we stand
20509 on actual success and failure
20511 * Scripts/check-dom-results: Added.
20513 2005-07-25 Darin Adler <darin@apple.com>
20515 * Scripts/webkitdirs.pm: Check in missing line of code.
20517 2005-07-25 Darin Adler <darin@apple.com>
20519 - fixed problem that was causing JavaScriptCore test to fail
20520 (except for people who had set DYLD_FRAMEWORK_PATH)
20522 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
20523 Add code to parse configuration parameter so you can pass --deployment if you like.
20524 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
20526 * Scripts/update-javascriptcore-test-results: Add license header.
20528 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
20529 from @ARGV. This lets us use this option in commands that take other options and
20530 pass them along to a subsequent tool.
20532 2005-07-25 Darin Adler <darin@apple.com>
20534 Reviewed by Geoff Garen.
20536 - Fixed run-safari and gdb-safari to use the Safari application in the build results
20537 directory, if any, falling back to the one in the Applications directory otherwise.
20538 Does no harm for open source contributors who don't build Safari, and helps out the
20539 Safari team, since we do build Safari.
20541 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
20542 variable, and if that's not present, looks in either the build results directory or
20543 /Applications; factors code that was in both scripts before into a shared function.
20544 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
20545 now in Xcode 2.1 format and incompatible with older versions of Xcode.
20547 * Scripts/gdb-safari: Use safariPath.
20548 * Scripts/run-safari: Use safariPath.
20550 2005-07-22 Geoffrey Garen <ggaren@apple.com>
20552 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
20553 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
20555 Moved Tools/Scripts/update-mozilla-js-test-results to
20556 WebKitTools/Scripts/update-javascriptcore-test-results.
20560 * Scripts/run-javascriptcore-tests: Added.
20562 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20564 Reviewed by Darin Adler.
20566 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
20568 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20570 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
20572 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20574 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
20576 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20578 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
20580 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20582 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
20584 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20586 * Scripts/build-webkit:
20588 2005-07-12 Eric Seidel <eseidel@apple.com>
20592 * checkout-svg: Fixed error with symlink creation.
20594 2005-07-12 Eric Seidel <eseidel@apple.com>
20598 * checkout-svg: Added.
20599 Script to check out WebCore+SVG
20601 2005-06-30 Darin Adler <darin@apple.com>
20603 Changes based on input from Michael Kahl.
20605 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
20606 specify different style of "diff".
20607 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
20608 determineConfigurationProductDir works in all cases.
20610 2005-06-29 Darin Adler <darin@apple.com>
20612 - fixed bug which would result in multiple unwanted dumps in a single layout test
20614 * DumpRenderTree/DumpRenderTree.m:
20615 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
20616 "readyToDump" flag.
20617 (-[LayoutTestController waitUntilDone]): Update for name change.
20618 (-[LayoutTestController notifyDone]): Dump only if ready.
20619 (dumpRenderTree): Set up new boolean and update for name change.
20621 2005-06-29 Darin Adler <darin@apple.com>
20623 Changes by Timothy Hatcher.
20626 * Scripts/run-webkit-app: Added script to open an arbritrary application with
20627 a CVS built WebKit. Example: ./run-webkit-app Colloquy
20629 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
20630 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
20631 * Scripts/run-safari: Ditto.
20633 2005-06-26 Darin Adler <darin@apple.com>
20635 * Scripts/build-dumprendertree: Pass -project option so that having a second
20636 copy of the project (like the one Xcode 2.1 offers to make for you) that's
20637 out of date won't screw you up.
20638 * Scripts/build-webkit: Ditto.
20640 2005-06-23 Darin Adler <darin@apple.com>
20642 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
20644 2005-06-23 Darin Adler <darin@apple.com>
20646 Changes based on input from Michael Kahl.
20648 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
20649 directory passed in.
20651 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
20652 getcwd() in the code to find the base product dir. Added code to handle unusual
20653 base product directory values that use SRCROOT.
20655 2005-06-22 Darin Adler <darin@apple.com>
20657 Change by Anders Carlsson.
20659 - added support for dumping title changes
20661 * DumpRenderTree/DumpRenderTree.m:
20662 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
20663 if requested by JavaScript.
20664 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
20665 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
20666 (dumpRenderTree): Start flag as NO.
20668 2005-06-20 Darin Adler <darin@apple.com>
20670 Reviewed by Justin Garcia.
20672 * Scripts/run-webkit-tests: Report number of tests when they succeed.
20674 2005-06-18 Darin Adler <darin@apple.com>
20676 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
20677 in the hope of making the tool use less memory and run faster.
20679 2005-06-18 Darin Adler <darin@apple.com>
20681 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
20682 * Scripts/cvs-unapply: Ditto.
20684 2005-06-17 Maciej Stachowiak <mjs@apple.com>
20686 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
20687 benefit of all WebKit hackerdom
20689 * Scripts/prepare-ChangeLog: Added.
20691 2005-06-16 Darin Adler <darin@apple.com>
20693 - recent changes to XcodeOptions made it depend on the current directory
20694 The intent was to have the WebKitBuild directory be next to WebKitTools,
20695 not inside the various build directories. Workaround for now is to call
20696 XcodeOptions when the directory is set to the WebKit directory.
20698 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
20699 at the start of the script.
20700 * Scripts/build-webkit: Ditto.
20702 2005-06-15 Darin Adler <darin@apple.com>
20704 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
20706 2005-06-14 Darin Adler <darin@apple.com>
20708 Changes by Anders Carlsson.
20711 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
20712 Add gdb-safari script to launch Safari under gdb
20714 * Scripts/gdb-safari: Added.
20716 2005-06-12 Darin Adler <darin@apple.com>
20718 Changes by Stuart Morgan.
20721 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
20722 * Scripts/cvs-apply: Ditto.
20723 * Scripts/cvs-create-patch: Ditto.
20724 * Scripts/cvs-unapply: Ditto.
20725 * Scripts/run-webkit-tests: Ditto.
20726 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
20728 2005-06-12 Darin Adler <darin@apple.com>
20730 * Scripts/cvs-apply: Handle case of an empty patch better.
20731 * Scripts/cvs-unapply: Ditto.
20733 2005-06-12 Darin Adler <darin@apple.com>
20735 Changes by Michael Gaiman.
20738 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
20739 WebKit no longer builds after configuration supporting build changes
20741 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
20743 2005-06-12 Darin Adler <darin@apple.com>
20745 * Scripts/update-webkit: Make this script work when called from any directory.
20747 2005-06-12 Darin Adler <darin@apple.com>
20749 Reviewed by Maciej.
20750 Includes changes by Stuart Morgan as well as my own.
20752 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
20753 symrootXcodeOptions to set the -buildstyle option.
20754 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
20755 The new --development option does the same thing.
20756 * Scripts/run-safari: Ditto.
20757 * Scripts/run-webkit-tests: Ditto.
20758 * Scripts/update-webkit: Ditto.
20759 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
20761 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
20762 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
20763 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
20764 product directory. Read the default configuration from a file, overridable by a passed-in command-line
20767 2005-06-11 Darin Adler <darin@apple.com>
20769 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
20770 to execute the cvs diff commands.
20772 2005-06-11 Darin Adler <darin@apple.com>
20774 - added first cuts at some cvs scripts
20776 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
20777 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
20778 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
20779 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
20781 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
20783 * Scripts/cvs-abandon: Added.
20784 * Scripts/cvs-apply: Added.
20785 * Scripts/cvs-create-patch: Added.
20786 * Scripts/cvs-unapply: Added.
20788 2005-06-09 Darin Adler <darin@apple.com>
20790 Reviewed by Maciej.
20792 - fixed http://bugs.webkit.org/show_bug.cgi?id=3397
20793 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
20795 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
20796 for Foundation.framework. How was it ever wrong?
20798 - finally, I tested making the default build directory work; it works now
20800 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
20801 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
20802 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
20803 * Scripts/build-dumprendertree: Ditto.
20805 2005-06-09 Darin Adler <darin@apple.com>
20807 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
20808 work. Someone should try building without setting the Xcode build product directory now,
20809 and let me know if it works.
20811 2005-06-08 Darin Adler <darin@apple.com>
20813 - quick fix to try to get build scripts working again
20815 * Scripts/build-dumprendertree: Add FindBin.
20816 * Scripts/build-webkit: Ditto.
20817 * Scripts/run-safari: Ditto.
20818 * Scripts/run-webkit-tests: Ditto.
20819 * Scripts/update-webkit: Ditto.
20821 2005-06-08 Darin Adler <darin@apple.com>
20823 Reviewed by Maciej.
20825 - some build script enhancements
20827 * Scripts/build-dumprendertree: Changed to use webkitdirs.
20828 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
20830 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
20831 before Deplyment in that case.
20832 * Scripts/run-webkit-tests: Changed to use webkitdirs.
20833 * Scripts/update-webkit: Changed to use webkitdirs.
20835 * Scripts/webkitdirs.pm: Added.
20837 2005-06-08 Maciej Stachowiak <mjs@apple.com>
20839 Code change by Toby Peterson <toby@opendarwin.org>
20842 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
20843 get confused because build-webkit now makes even 2.0 build directories look
20846 2005-06-07 Darin Adler <darin@apple.com>
20848 Reviewed by Adele Peterson.
20850 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
20851 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
20852 so we can run tests with Xcode 2.1.
20854 2005-06-07 Darin Adler <darin@apple.com>
20856 Reviewed by Adele Peterson.
20858 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
20859 layout-tests directory to include additional sets of tests.
20861 2005-06-07 Darin Adler <darin@apple.com>
20863 * checkout: Added license.
20864 * Scripts/build-dumprendertree: Ditto.
20865 * Scripts/run-webkit-tests: Ditto.
20866 * Scripts/update-webkit: Ditto.
20868 2005-06-07 Darin Adler <darin@apple.com>
20870 Change by Toby Peterson <toby@opendarwin.org>.
20873 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
20874 * Scripts/run-safari: Ditto.
20876 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20878 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
20880 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20882 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
20884 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20886 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
20888 2005-06-05 Darin Adler <darin@apple.com>
20890 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
20891 * Scripts/build-dumprendertree: Added.
20892 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
20893 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
20895 2005-06-05 Darin Adler <darin@apple.com>
20897 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
20899 2005-06-05 Darin Adler <darin@apple.com>
20901 - add run-webkit-tests script; not working yet but the pieces are there
20903 * Scripts/run-webkit-tests: Added.
20905 * DumpRenderTree/DumpRenderTree.m: Added.
20906 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
20907 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
20908 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
20910 2005-06-05 Darin Adler <darin@apple.com>
20912 - created module, first cut at Web Kit Open Source Project scripts
20914 * ChangeLog: Added.
20915 * Scripts/build-webkit: Added.
20916 * Scripts/run-safari: Added.
20917 * Scripts/update-webkit: Added.
20920 === creation of WebKitTools module ===