1 2008-11-03 Darin Adler <darin@apple.com>
3 Reviewed by Tim Hatcher.
5 - https://bugs.webkit.org/show_bug.cgi?id=22061
6 create script to check for exit-time destructors
8 * Scripts/check-for-exit-time-destructors: Added.
9 Started as a copy of check-for-global-initializers.
11 * Scripts/check-for-global-initializers: Added code to make
12 this script rerun any time it's modified, and also to properly
13 run again after the first time it reports an error.
15 2008-11-03 Pierre-Olivier Latour <pol@apple.com>
17 Reviewed by Dan Bernstein.
19 Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
21 https://bugs.webkit.org/show_bug.cgi?id=22054
23 * DumpRenderTree/mac/DumpRenderTree.mm:
24 (setDefaultsToConsistentValuesForTesting):
26 2008-10-31 Cameron Zwarich <zwarich@apple.com>
30 * Scripts/do-webcore-rename:
32 Add some renames to contemplate for the future.
34 2008-10-31 Darin Adler <darin@apple.com>
36 Requested by Mark Rowe.
38 * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
40 2008-10-31 David Kilzer <ddkilzer@apple.com>
42 Bug 21997: prepare-ChangeLog should filter out ChangeLog files
44 <https://bugs.webkit.org/show_bug.cgi?id=21997>
46 Reviewed by Darin Adler.
48 * Scripts/prepare-ChangeLog:
49 (generateFileList): Don't add ChangeLog files to %{$functionLists}.
50 This prevents them from showing up in the new ChangeLog entry. They
51 were already excluded from @{$changedFiles}.
53 2008-10-30 Mark Rowe <mrowe@apple.com>
55 Reviewed by Jon Homeycutt.
57 Explicitly default to building for only the native architecture in debug and release builds.
59 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
61 2008-10-30 Pierre-Olivier Latour <pol@apple.com>
63 Reviewed by Dan Bernstein.
65 Fixed 64 bit build failure.
67 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
68 (setupMainDisplayColorProfile):
69 (createBitmapContextFromWebView):
71 2008-10-28 Alp Toker <alp@nuanti.com>
73 Fix GTK DRT following build breakage in r37928.
75 * DumpRenderTree/gtk/DumpRenderTree.cpp:
80 2008-10-28 Alp Toker <alp@nuanti.com>
82 Reviewed by Mark Rowe.
84 Fix recently introduced double-free crashes in GTK DRT.
86 LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
87 were updated to call ->deref() but GTK DRT was still deleting
88 gLayoutTestController manually. This patch updates GTK to match the
89 other ports and resolves the memory allocation issues.
91 * DumpRenderTree/gtk/DumpRenderTree.cpp:
94 2008-10-28 Alp Toker <alp@nuanti.com>
96 Reviewed by Mark Rowe.
98 Fix GTK DRT hang when running the tests.
100 Update output from the DRT tool to print an additional '#EOF' to match
101 breaking changes that were made in r37434.
103 * DumpRenderTree/gtk/DumpRenderTree.cpp:
106 2008-10-28 Adele Peterson <adele@apple.com>
108 Reviewed by Sam Weinig.
110 Specify which Localizable.strings to update since we don't always want to update the file in the same
111 directory where we're searching for the strings to localize.
113 * Scripts/extract-localizable-strings:
114 * Scripts/update-webkit-localizable-strings:
116 2008-10-28 Timothy Hatcher <timothy@apple.com>
118 Add support for enabling the profiler, so the profiling tests can continue
119 work now that the profiler is not always enabled.
121 https://bugs.webkit.org/show_bug.cgi?id=21927
123 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
124 not slow down JavaScript all the time
126 Reviewed by Darin Adler and Kevin McCullough.
128 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
129 * DumpRenderTree/LayoutTestController.cpp:
130 (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
131 (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
132 * DumpRenderTree/LayoutTestController.h:
133 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
134 (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
135 * DumpRenderTree/mac/DumpRenderTree.mm:
136 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
137 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
138 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
139 * DumpRenderTree/win/DumpRenderTree.cpp:
140 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
141 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
142 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
144 2008-10-28 Pierre-Olivier Latour <pol@apple.com>
146 Reviewed by Dan Bernstein
148 Primary changes in DumpRenderTree:
149 - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
150 is different from regular font CG anti-aliasing) as font-smoothing settings
151 depends on the display and can also be changed by the user
152 - Use a new cleared buffer for each test instead of the reusing same one to
153 avoid potential result corruption across tests
154 - Can now receive the expected pixel hash as a suffix to the test path or
156 - Make sure hash is computed in a endian-independent way
157 - Improve the code that sets/restores the screen color profile
158 - Make the code more cross-platformy with std::string goodness
159 - Added an "on-screen" mode where the snapshot will take into account surfaces
160 on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
161 reading from the display framebuffer on 10.4. This mode is not active by
162 default for performance reason, but must be explicitly activated from the test
163 file using the new "testOnscreen()" JS API.
165 Primary changes in ImageDiff:
166 - Provide a new comparison algorithm that is more tolerant to "acceptable"
167 failures (i.e. very small differences in font rendering, which --threshold is
168 not really good at handling)
169 - Generate normalized intensity-only diff images
171 Primary changes in run-webkit-tests:
172 - Take advantage of hashes for pixel tests which makes them much faster by
173 minimizing image comparisons
174 - Removed repaint options as these should be set from within test files using
176 - Replaced "threshold" option in by "tolerance" expressed in percents
177 - Added more logging when in "verbose" mode
179 https://bugs.webkit.org/show_bug.cgi?id=21322
180 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
181 * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
182 * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
183 * DumpRenderTree/LayoutTestController.cpp:
184 (LayoutTestController::LayoutTestController):
185 (testOnscreenCallback):
186 (LayoutTestController::staticFunctions):
187 * DumpRenderTree/LayoutTestController.h:
188 (LayoutTestController::testOnscreen):
189 (LayoutTestController::setTestOnscreen):
190 (LayoutTestController::testPathOrURL):
191 (LayoutTestController::expectedPixelHash):
192 * DumpRenderTree/PixelDumpSupport.h:
193 * DumpRenderTree/cg/ImageDiffCG.cpp:
195 (releaseMallocBuffer):
196 (createDifferenceImage):
199 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
200 (computeMD5HashStringForBitmapContext):
201 (dumpWebViewAsPixelsAndCompareWithExpected):
202 * DumpRenderTree/cg/PixelDumpSupportCG.h:
203 (BitmapContext::createByAdoptingBitmapAndContext):
204 (BitmapContext::~BitmapContext):
205 (BitmapContext::cgContext):
206 (BitmapContext::BitmapContext):
207 * DumpRenderTree/mac/DumpRenderTree.mm:
208 (shouldIgnoreWebCoreNodeLeaks):
209 (setDefaultsToConsistentValuesForTesting):
211 (initializeGlobalsFromCommandLineOptions):
212 (prepareConsistentTestingEnvironment):
214 (sizeWebViewForCurrentTest):
217 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
218 (restoreMainDisplayColorProfile):
219 (setupMainDisplayColorProfile):
220 (createBitmapContextFromWebView):
221 * DumpRenderTree/win/DumpRenderTree.cpp:
224 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
225 (getBitmapContextFromWebView):
226 * Scripts/run-webkit-tests:
228 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
230 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
234 2008-10-24 Anders Carlsson <andersca@apple.com>
236 Try fixing the 64-bit build.
238 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
241 2008-10-24 Anders Carlsson <andersca@apple.com>
243 Reviewed by Sam Weinig.
245 <rdar://problem/5440917> Support NPN_Construct
247 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
252 New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
255 Handle testConstruct.
257 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
259 Add objectPointer property.
262 Only enumerate the two first properties.
265 Add a simple construct implementation that just returns the test object.
267 2008-10-24 David Kilzer <ddkilzer@apple.com>
269 Bug 21850: svn-apply and svn-unapply should preserve patch line endings
271 <https://bugs.webkit.org/show_bug.cgi?id=21850>
273 Reviewed by Adam Roben.
275 * Scripts/svn-apply: Save end-of-line characters when stripping them
276 off each line of a patch so that they may be restored after
278 * Scripts/svn-unapply: Ditto.
280 2008-10-23 David Kilzer <ddkilzer@apple.com>
282 Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
284 <https://bugs.webkit.org/show_bug.cgi?id=21832>
286 Reviewed by Sam Weinig.
288 * Scripts/bisect-builds: Use imported tempfile() from File::Temp
289 instead of 'new File::Temp' to make the script work with Perl 5.10.
290 * Scripts/sort-Xcode-project-file: Ditto.
292 2008-10-22 Brady Eidson <beidson@apple.com>
294 Reviewed by Adam Roben
296 <rdar://6261773> - autocomplete="off" doesn't work on Windows
298 Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
300 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
302 2008-10-22 Darin Adler <darin@apple.com>
304 * Scripts/do-webcore-rename: More renaming plans.
306 2008-10-21 Steve Falkenburg <sfalken@apple.com>
308 Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
310 * Scripts/extract-localizable-strings:
312 2008-10-17 Maciej Stachowiak <mjs@apple.com>
314 Reviewed by Mark Rowe.
316 - default to 1000 tests per dump tool instance again, now that CTI no longer causes
317 excess different stack logs.
319 (Also fix a small bug in my last change.)
321 * Scripts/run-webkit-tests:
323 2008-10-17 Stephanie Lewis <slewis@apple.com>
325 Reviewed by Mark Rowe.
327 Fix layout tests that use prologues and epilogues.
329 * Scripts/run-webkit-tests:
331 2008-10-17 Maciej Stachowiak <mjs@apple.com>
333 Reviewed by Mark Rowe.
335 - make sure MallocStackLogging is only on for tools we want to
336 leak check, not other random stuff as well.
338 * Scripts/run-webkit-tests:
340 2008-10-17 Maciej Stachowiak <mjs@apple.com>
342 Reviewed by Stephanie Lewis.
344 - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
346 This should reduce or eliminate crashes on the buildbot due to
347 running out of memory while stack logging.
349 * Scripts/run-webkit-tests:
351 2008-10-16 Jan Michael Alonzo <jmalonzo@webkit.org>
353 Gtk build fix. Not reviewed.
355 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
356 (LayoutTestController::setSmartInsertDeleteEnabled):
358 2008-10-15 Glenn Wilson <gwilson@google.com>
360 Added new method to allow tests to disable smart editing in the course of a test.
361 This is a possible solution to bug .20655
363 Reviewed by Tim Hatcher.
365 * DumpRenderTree/LayoutTestController.cpp:
366 (setSmartInsertDeleteEnabledCallback): new method
367 (LayoutTestController::staticFunctions): added new method to static list of callbacks
368 * DumpRenderTree/LayoutTestController.h: added signature of new method
369 * DumpRenderTree/mac/DumpRenderTree.mm:
370 (resetWebViewToConsistentStateBeforeTesting): added state resetting
371 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
372 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
373 * DumpRenderTree/win/DumpRenderTree.cpp:
374 (resetWebViewToConsistentStateBeforeTesting): added state resetting
375 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
376 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
378 2008-10-14 Ada Chan <adachan@apple.com>
382 Reviewed by Sam Weinig.
384 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
385 * DumpRenderTree/config.h:
386 * DumpRenderTree/win/DumpRenderTreeWin.h:
387 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
388 * DumpRenderTree/win/UIDelegate.cpp:
390 2008-10-13 Timothy Hatcher <timothy@apple.com>
392 Make prepare-ChangeLog populate the changed functions for JavaScript files.
394 https://bugs.webkit.org/show_bug.cgi?id=21567
396 Reviewed by David Kilzer.
398 * Scripts/prepare-ChangeLog:
399 (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
400 files that end with ".js".
401 (get_function_line_ranges_for_javascript): Find functions, anonymous functions
404 2008-10-14 Alp Toker <alp@nuanti.com>
406 Reviewed by Sam Weinig.
408 https://bugs.webkit.org/show_bug.cgi?id=16299
409 Add a config.h file to DRT
411 Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
412 an ad-hoc config header.
414 * DumpRenderTree/AccessibilityController.cpp:
415 * DumpRenderTree/AccessibilityUIElement.cpp:
416 * DumpRenderTree/AccessibilityUIElement.h:
417 * DumpRenderTree/DumpRenderTree.h:
418 * DumpRenderTree/GCController.cpp:
419 * DumpRenderTree/LayoutTestController.cpp:
420 * DumpRenderTree/WorkQueue.cpp:
421 * DumpRenderTree/config.h: Added.
422 * DumpRenderTree/gtk/DumpRenderTree.cpp:
423 * DumpRenderTree/gtk/GCControllerGtk.cpp:
424 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
425 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
426 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
427 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
428 * DumpRenderTree/win/DumpRenderTree.cpp:
429 * DumpRenderTree/win/DumpRenderTreeWin.h:
430 * DumpRenderTree/win/EditingDelegate.cpp:
431 * DumpRenderTree/win/EventSender.cpp:
432 * DumpRenderTree/win/FrameLoadDelegate.cpp:
433 * DumpRenderTree/win/GCControllerWin.cpp:
434 * DumpRenderTree/win/MD5.cpp:
435 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
436 * DumpRenderTree/win/PolicyDelegate.cpp:
437 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
438 * DumpRenderTree/win/WorkQueueItemWin.cpp:
441 2008-10-13 Chris Fleizach <cfleizach@apple.com>
443 Reviewed by Beth Dakin.
445 Added a method to get the links in a webpage
447 * DumpRenderTree/AccessibilityUIElement.cpp:
448 (attributesOfDocumentLinksCallback):
449 (AccessibilityUIElement::getJSClass):
450 * DumpRenderTree/AccessibilityUIElement.h:
451 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
452 (AccessibilityUIElement::getDocumentLinks):
453 (AccessibilityUIElement::attributesOfDocumentLinks):
454 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
455 (AccessibilityUIElement::getDocumentLinks):
456 (AccessibilityUIElement::attributesOfDocumentLinks):
458 2008-10-13 David Kilzer <ddkilzer@apple.com>
460 Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
462 <https://bugs.webkit.org/show_bug.cgi?id=21457>
466 * Scripts/resolve-ChangeLogs: Added optional parameter to
467 -f|--fix-merged switch to run the script on a revision range.
468 Updated command-line validation checks.
469 (findChangeLog): Fixed long-standing bug that should have used
471 (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated
472 to work when called from git filter-branch. It always restores a
473 copy of the previous revision before reapplying the patch.
474 (fixMergedChangeLogs): Added. Calls itself through git filter-branch
475 to re-merge ChangeLog files across a revision range. Removes
476 .git/refs/original directory on success.
477 (parseFixMerged): Added. Custom method to parse the -f|--fix-merged
479 (removeChangeLogArguments): Added. Removes items from @ARGV when
480 they are ChangeLog paths, and return a list of paths. This makes it
481 easier to validate the command-line.
482 (resolveChangeLog): Added. Extracted from main code block. Runs
483 the traditional single-file merge algorithm.
484 (usageAndExit): Added. Extracted from main code block. Prints
485 usage statement and exits with error status.
487 2008-10-12 Darin Adler <darin@apple.com>
489 * Scripts/make-js-test-wrappers: Update exceptions list so the script
490 won't overwrite files and mangle tests.
492 2008-10-11 Dan Bernstein <mitz@apple.com>
494 Reviewed by Sam Weinig and Anders Carlsson.
496 - update Mac DumpRenderTree to use the new WebView SPI for forcing the
497 complex text code path
498 - add --complex-text support to Windows DumpRenderTree
500 * DumpRenderTree/mac/DumpRenderTree.mm:
502 * DumpRenderTree/win/DumpRenderTree.cpp:
503 (createWebViewAndOffscreenWindow):
505 * Scripts/run-webkit-tests:
507 2008-10-09 Eric Seidel <eric@webkit.org>
509 Reviewed by Oliver Hunt.
511 https://bugs.webkit.org/show_bug.cgi?id=21498
513 * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
515 2008-10-09 Cameron Zwarich <zwarich@apple.com>
519 Add StructureID.o to the exclusion list in the global initializers
520 script to fix the Debug build.
522 * Scripts/check-for-global-initializers:
524 2008-10-08 Mark Rowe <mrowe@apple.com>
526 Fix the Windows build after r37434.
528 * DumpRenderTree/win/DumpRenderTree.cpp:
529 (dump): Update code to approximate valid C++ syntax.
531 2008-10-08 Timothy Hatcher <timothy@apple.com>
533 Add SVGElementInstance to the list of exceptions that have
534 global initializers in debug builds.
536 Rubber-stamped by Mark Rowe.
538 * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
540 2008-10-08 Simon Fraser <simon.fraser@apple.com>
542 Reviewed by Dan Bernstein
544 Avoid disconnect between DRT and run-webkit-tests
545 about whether to expect PNG dumps by having DRT always
546 print two blocks terminated by #EOF, the second of which
549 https://bugs.webkit.org/show_bug.cgi?id=21483
551 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
553 (dumpWebViewAsPixelsAndCompareWithExpected):
554 * DumpRenderTree/mac/DumpRenderTree.mm:
556 * DumpRenderTree/win/DumpRenderTree.cpp:
558 * Scripts/run-webkit-tests:
560 2008-10-07 Adam Roben <aroben@apple.com>
562 Make sure short functions get included in ChangeLog output for git
565 Reviewed by Dave Kilzer.
567 * Scripts/prepare-ChangeLog:
568 (sub diffCommand): Pass -U0 to git diff so that each contiguous change
569 will get its own chunk without any surrounding context.
570 (sub extractLineRange): Use the line numbers from the chunk header
571 without modifying them now that they're accurate.
573 2008-10-04 Mark Rowe <mrowe@apple.com>
575 Reviewed by Tim Hatcher.
577 Update check-for-weak-vtables to check only the final linked image for weak vtables.
578 This gives more useful results than checking each object file independently.
580 * Scripts/check-for-weak-vtables:
582 2008-10-03 Pierre-Olivier Latour <pol@apple.com>
584 Reviewed by Darin Adler
586 Render images to RGBA8 bitmaps independently of platform endianness.
588 Create image difference bitmap in reference image colorspace instead of device colorspace
589 (which depends on the main display profile), so that no color matching happens.
591 https://bugs.webkit.org/show_bug.cgi?id=21336
593 * DumpRenderTree/cg/ImageDiffCG.cpp:
594 (createDifferenceBitmap):
595 (computePercentageDifferent):
598 2008-10-02 Simon Fraser <simon.fraser@apple.com>
600 Reviewed by Darin Adler
602 Fix hang when running with --pixel --reset, which occurs
603 because DRT spews PNG data when the script does not expect it.
605 https://bugs.webkit.org/show_bug.cgi?id=21323
607 * Scripts/run-webkit-tests:
609 2008-09-30 Mark Rowe <mrowe@apple.com>
611 Reviewed by Dan Bernstein.
613 Add a leak counter for CachedResources since we've had two recent leaks involving them.
615 * Scripts/check-for-global-initializers:
617 2008-09-30 Mark Rowe <mrowe@apple.com>
619 Rubber-stamped by Dan Bernstein.
621 Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
623 JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
624 being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
625 We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
626 any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
627 torn down before we exit.
629 * DumpRenderTree/mac/DumpRenderTree.mm:
633 2008-09-30 Simon Fraser <simon.fraser@apple.com>
635 Reviewed by Dan Bernstein
637 Don't run pixel comparison for text-only tests.
638 https://bugs.webkit.org/show_bug.cgi?id=21124
640 * DumpRenderTree/mac/DumpRenderTree.mm:
642 * Scripts/run-webkit-tests:
644 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
648 Changed copyright from Trolltech ASA to Nokia.
650 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
653 * DumpRenderTree/qt/DumpRenderTree.cpp:
654 * DumpRenderTree/qt/jsobjects.cpp:
655 * DumpRenderTree/qt/jsobjects.h:
656 * DumpRenderTree/qt/main.cpp:
657 * DumpRenderTree/qt/testplugin.cpp:
658 * DumpRenderTree/qt/testplugin.h:
660 2008-09-28 David Kilzer <ddkilzer@apple.com>
662 Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
664 <https://bugs.webkit.org/show_bug.cgi?id=21185>
668 * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
669 will attempt to reapply the last commit to a ChangeLog file such
670 that the ChangeLog entry appears at the top of the file.
671 (findChangeLog): Added prototype and moved method below the exit
673 (fixMergedChangeLog): Added. Method to fix incorrectly merged
676 2008-09-27 Anders Carlsson <andersca@apple.com>
678 Reviewed by Sam Weinig.
680 https://bugs.webkit.org/show_bug.cgi?id=21178
681 <rdar://problem/6248651>
683 Return the result value from getURL.
685 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
688 2008-09-26 Matt Lilek <webkit@mattlilek.com>
690 Reviewed by Tim Hatcher.
692 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
694 * Scripts/build-webkit:
696 2008-09-26 Alice Liu <alice.liu@apple.com>
698 Remove usage of atlstr.h and CString for VCExpress compatibility
700 Reviewed by Stephanie Lewis.
702 * record-memory-win/main.cpp:
709 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
711 wx build fix. Update the version of libpng.
713 * wx/install-unix-extras:
715 2008-09-24 Sam Weinig <sam@webkit.org>
717 Reviewed by Darin Adler.
719 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
720 <rdar://problem/6243534>
721 Crash below Function.apply when using a runtime array as the argument list
723 Add method to ObjCController to return a runtime array.
725 * DumpRenderTree/mac/ObjCController.m:
726 (+[ObjCController isSelectorExcludedFromWebScript:]):
727 (+[ObjCController webScriptNameForSelector:]):
728 (-[ObjCController testArray]):
730 2008-09-24 Beth Dakin <bdakin@apple.com>
732 Reviewed by Sam Weinig.
734 Speculative build fix.
736 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
737 (AccessibilityUIElement::supportsPressAction):
739 2008-09-23 Beth Dakin <bdakin@apple.com>
741 Reviewed by Sam Weinig.
743 This patch extends DumpRenderTree's AccessibilityController to ask
744 if the focused element supports the press action.
746 * DumpRenderTree/AccessibilityUIElement.cpp:
747 (getSupportsPressActionCallback):
748 (AccessibilityUIElement::getJSClass):
749 * DumpRenderTree/AccessibilityUIElement.h:
750 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
751 (AccessibilityUIElement::supportsPressAction):
753 2008-09-22 Alice Liu <alice.liu@apple.com>
755 Adding a stand-alone Windows console application to record a process's memory usage
757 Reviewed by Steve Falkenburg.
759 * record-memory-win: Added.
760 * record-memory-win/main.cpp: Added.
761 * record-memory-win/record-memory-win.vcproj: Added.
763 2008-09-22 Chris Fleizach <cfleizach@apple.com>
765 Reviewed by Darin Adler.
767 Support ability to get/set selected text ranges for text controls through AX.
769 * DumpRenderTree/AccessibilityUIElement.cpp:
770 (setSelectedTextRangeCallback):
771 (getSelectedTextRangeCallback):
772 (AccessibilityUIElement::getJSClass):
773 * DumpRenderTree/AccessibilityUIElement.h:
774 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
775 (AccessibilityUIElement::attributesOfRowHeaders):
776 (AccessibilityUIElement::attributesOfVisibleCells):
777 (AccessibilityUIElement::rowIndexRange):
778 (AccessibilityUIElement::columnIndexRange):
779 (AccessibilityUIElement::cellForColumnAndRow):
780 (AccessibilityUIElement::selectedTextRange):
781 (AccessibilityUIElement::setSelectedTextRange):
782 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
783 (AccessibilityUIElement::selectedTextRange):
784 (AccessibilityUIElement::setSelectedTextRange):
786 2008-09-20 Darin Adler <darin@apple.com>
788 * DumpRenderTree/mac/DumpRenderTree.mm:
789 (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
791 2008-09-19 Alp Toker <alp@nuanti.com>
793 Build fix for the 'gold' linker and recent binutils. New behaviour
794 requires that we link to used libraries explicitly.
798 2008-09-19 Stephanie Lewis <slewis@apple.com>
800 Reviewed by Oliver Hunt.
802 Implement a workaround for an incorrect mime-type on machines with
803 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
804 See radar <rdar://problem/6234318>.
806 * DumpRenderTree/mac/DumpRenderTree.mm:
809 2008-09-19 Chris Fleizach <cfleizach@apple.com>
811 Fixed Windows bustage
813 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
814 (AccessibilityUIElement::titleUIElement):
816 2008-09-18 Chris Fleizach <cfleizach@apple.com>
818 Reviewed by Darin Adler.
820 Expose titleUIElement call for DumpRenderTree
823 * DumpRenderTree/AccessibilityUIElement.cpp:
824 (titleUIElementCallback):
825 (AccessibilityUIElement::getJSClass):
826 * DumpRenderTree/AccessibilityUIElement.h:
827 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
828 (AccessibilityUIElement::titleUIElement):
830 2008-09-18 Darin Adler <darin@apple.com>
832 * Scripts/do-webcore-rename: More renaming plans.
834 2008-09-18 Mark Rowe <mrowe@apple.com>
836 Reviewed by Dan Bernstein.
838 Clear the main frame's name between tests to get more consistent test results
839 when running the WebKit tests with --nthly.
841 * DumpRenderTree/mac/DumpRenderTree.mm:
842 (resetWebViewToConsistentStateBeforeTesting):
843 * DumpRenderTree/win/DumpRenderTree.cpp:
844 (resetWebViewToConsistentStateBeforeTesting):
846 2008-09-18 Stephanie Lewis <slewis@apple.com>
848 Really fix tiger jsc tests.
850 * Scripts/run-javascriptcore-tests:
852 2008-09-18 Stephanie Lewis <slewis@apple.com>
854 Reviewed by Maciej Stachowiak.
856 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
858 * Scripts/run-javascriptcore-tests:
859 * Scripts/webkitdirs.pm:
861 2008-09-18 Mark Rowe <mrowe@apple.com>
863 Rubber-stamped by Sam Weinig.
865 Print warning to stdout rather than stderr when a test attempts to access a remote resource.
866 This should make it more obvious when a test does this, as stderr output tends to be obscured
867 by noise in the test results.
869 Also fixes some coding style issues in ResourceLoadDelegate.mm.
871 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
872 (-[NSError _drt_descriptionSuitableForTestResult]):
873 (-[NSURL _drt_descriptionSuitableForTestResult]):
874 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
875 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
876 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
877 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
878 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
879 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
881 2008-09-18 Stephanie Lewis <slewis@apple.com>
883 Reviewed by Mark Rowe and Maciej Stachowiak..
885 add a --64-bit option and specify which architecture to run on Mac.
887 * Scripts/run-javascriptcore-tests:
889 2008-09-17 Mark Rowe <mrowe@apple.com>
891 Reviewed by Sam Weinig.
893 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
895 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
896 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
897 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
899 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
900 * DumpRenderTree/LayoutTestController.cpp:
901 (LayoutTestController::LayoutTestController):
902 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
903 (layoutTestControllerObjectFinalize): Deref the wrapped object.
904 (LayoutTestController::makeWindowObject): Ref the wrapped object.
905 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
906 * DumpRenderTree/mac/DumpRenderTree.mm:
907 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
908 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
909 * DumpRenderTree/win/DumpRenderTree.cpp:
910 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
912 2008-09-16 Sam Weinig <sam@webkit.org>
914 Reviewed by Mark Rowe.
916 Add flag to disable running sample on tests that timeout.
918 * Scripts/run-webkit-tests:
920 2008-09-16 Adam Roben <aroben@apple.com>
922 Windows build fix after r36511
924 Update for rename of layoutTestController to gLayoutTestController.
926 * DumpRenderTree/LayoutTestController.cpp:
927 * DumpRenderTree/win/EditingDelegate.cpp:
928 * DumpRenderTree/win/FrameLoadDelegate.cpp:
929 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
930 * DumpRenderTree/win/UIDelegate.cpp:
932 2008-09-16 Adam Roben <aroben@apple.com>
934 Add a script to print out the dependency tree of a Visual Studio
937 * Scripts/print-msvc-project-dependencies: Added.
939 2008-09-16 Mark Rowe <mrowe@apple.com>
943 * DumpRenderTree/LayoutTestController.cpp:
944 (notifyDoneCallback): Call fprintf in a safer manner.
946 2008-09-16 Simon Fraser <simon.fraser@apple.com>
948 Reviewed by Eric Seidel
950 Protect against tests that call layoutTestController.notifyDone()
951 more than once, which would lead to memory corruption, by nulling
952 out the LayoutTestController on the JSObjectRef on destruction. Also
953 add a finalize callback on the class so that if the LTC outlives
954 the JSObjectRef, the JSObjectRef backpointer on the LTC can be
957 https://bugs.webkit.org/show_bug.cgi?id=20875
959 * DumpRenderTree/LayoutTestController.cpp:
960 (LayoutTestController::LayoutTestController):
961 (notifyDoneCallback):
962 (layoutTestControllerObjectFinalize):
963 (LayoutTestController::makeWindowObject):
964 (LayoutTestController::getJSClass):
965 * DumpRenderTree/LayoutTestController.h:
966 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
967 (LayoutTestController::~LayoutTestController):
969 2008-09-16 Simon Fraser <simon.fraser@apple.com>
971 Reviewed by Eric Seidel
973 Step 1 patch: rename global variable for clarity.
974 https://bugs.webkit.org/show_bug.cgi?id=20875
976 * DumpRenderTree/DumpRenderTree.h:
977 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
978 (dumpWebViewAsPixelsAndCompareWithExpected):
979 * DumpRenderTree/gtk/DumpRenderTree.cpp:
984 (webViewLoadFinished):
985 (webViewWindowObjectCleared):
986 * DumpRenderTree/mac/DumpRenderTree.mm:
987 (allocateGlobalControllers):
988 (dumpFrameScrollPosition):
990 (methodNameStringForFailedTest):
993 * DumpRenderTree/mac/DumpRenderTreeMac.h:
994 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
995 * DumpRenderTree/mac/EditingDelegate.mm:
996 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
997 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
998 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
999 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1000 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1001 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1002 (-[EditingDelegate webViewDidBeginEditing:]):
1003 (-[EditingDelegate webViewDidChange:]):
1004 (-[EditingDelegate webViewDidEndEditing:]):
1005 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1006 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1007 (-[FrameLoadDelegate processWork:]):
1008 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1009 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1010 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1011 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1012 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1013 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1014 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1015 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1016 * DumpRenderTree/mac/UIDelegate.mm:
1017 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1018 (-[UIDelegate webViewFocus:]):
1019 (-[UIDelegate webViewUnfocus:]):
1020 (-[UIDelegate webView:createWebViewWithRequest:]):
1021 (-[UIDelegate webViewClose:]):
1022 * DumpRenderTree/win/DumpRenderTree.cpp:
1023 (dumpFrameScrollPosition):
1028 2008-09-15 Alice Liu <alice.liu@apple.com>
1030 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
1032 Reviewed by Stephanie Lewis.
1034 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1035 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
1036 but not Intel. Add a check for nil before calling.
1037 (AccessibilityUIElement::rowIndexRange):
1038 (AccessibilityUIElement::columnIndexRange):
1040 2008-09-14 Mark Rowe <mrowe@apple.com>
1044 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1045 (waitUntilDoneWatchdogFired):
1046 * DumpRenderTree/mac/ObjCPlugin.m:
1048 2008-09-08 Dan Bernstein <mitz@apple.com>
1050 Reviewed by Mark Rowe.
1052 - add an option to run-webkit-tests to always use the complex text code path
1054 * DumpRenderTree/mac/DumpRenderTree.mm:
1055 (initializeGlobalsFromCommandLineOptions):
1057 * Scripts/run-webkit-tests:
1059 2008-09-08 Steve Falkenburg <sfalken@apple.com>
1061 Another Windows nightly build fix.
1063 Reviewed by Sam Weinig.
1065 * FindSafari/FindSafari.cpp:
1066 (_tmain): Delete existing WebKitNightly directory in temp.
1067 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
1069 2008-09-07 Stephanie Lewis <slewis@apple.com>
1071 Reviewed by Mark Rowe.
1075 * DumpRenderTree/DumpRenderTreePrefix.h:
1076 * DumpRenderTree/win/DumpRenderTree.vcproj:
1078 2008-09-06 Steve Falkenburg <sfalken@apple.com>
1080 Fix Windows nightlies.
1082 Copy WebKit.dll alongside application so registry-free COM can find it.
1083 Update embedded manifest to force use registry-free COM.
1085 Reviewed by Dave Hyatt.
1087 * FindSafari/FindSafari.cpp:
1091 * FindSafari/FindSafari.rc: Added.
1092 * FindSafari/FindSafari.vcproj:
1093 * FindSafari/Safari.exe.manifest: Added.
1094 * FindSafari/resource.h: Added.
1096 === End merge of squirrelfish-extreme ===
1098 2008-08-31 Mark Rowe <mrowe@apple.com>
1100 Reviewed by Maciej Stachowiak.
1102 Add a --profile flag to run-sunspider.
1104 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
1105 to build scripts as indicating that we should use the "Profiling" configuration. At present
1106 this is only supported by JavaScriptCore, so using this argument to build any other project
1107 will likely result in unexpected behaviour.
1109 2008-08-27 Mark Rowe <mrowe@apple.com>
1111 Reviewed by Oliver Hunt.
1113 Fix run-webkit-tests to handle DRT exiting early.
1115 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
1117 === Start merge of squirrelfish-extreme ===
1119 2008-09-04 Mark Rowe <mrowe@apple.com>
1121 Reviewed by Eric Seidel.
1123 Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
1124 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
1126 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
1128 2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1130 Reviewed by Oliver Hunt.
1132 Bug 20616: Incorporate V8 benchmarks in testing
1133 <https://bugs.webkit.org/show_bug.cgi?id=20616>
1135 Add support for the --v8 option to run-sunspider.
1137 * Scripts/run-sunspider:
1139 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
1141 wx buildbot fix. More robust handling of clean when makefiles are not built or
1142 are not completely made.
1144 * wx/build-wxwebkit:
1146 2008-09-03 Mark Rowe <mrowe@apple.com>
1148 More Mac build fixes.
1150 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
1151 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
1152 default configuration specified in the .xcconfig files.
1154 * Scripts/build-webkit:
1156 2008-09-03 Mark Rowe <mrowe@apple.com>
1158 Mac build fix. Ensure that dashboard support is enabled.
1160 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1162 2008-08-25 Steve Falkenburg <sfalken@apple.com>
1164 Build fix. Copy correct version of ICU.
1166 * DumpRenderTree/win/DumpRenderTree.vcproj:
1168 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
1172 [run-webkit-tests] Use QtLauncher to show the results of the tests
1173 konqueror might not be installed, xdg-open might not be installed but the
1174 QtLauncher should be present.
1176 * Scripts/run-webkit-tests:
1178 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
1180 Initial support for accessibility layout tests on Windows.
1181 https://bugs.webkit.org/show_bug.cgi?id=20497
1183 Reviewed by Sam Weinig.
1185 * DumpRenderTree/AccessibilityController.h: Fix typos.
1186 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
1187 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
1188 prevent oleacc.h, which includes windows.h, from including winsock.h.
1190 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
1191 (AccessibilityController::AccessibilityController):
1192 (AccessibilityController::~AccessibilityController):
1193 (AccessibilityController::focusedElement): Get the root element, and
1194 request its focused object.
1195 (AccessibilityController::rootElement): Query Windows for the
1196 accessible client object for the WebView's window.
1197 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
1198 (AccessibilityUIElement::AccessibilityUIElement):
1199 (AccessibilityUIElement::~AccessibilityUIElement):
1200 (AccessibilityUIElement::getLinkedUIElements): Not implemented.
1201 (AccessibilityUIElement::getChildren): Get the child count, and append
1203 (AccessibilityUIElement::getChildAtIndex): Get the child at the given
1204 index offset by 1. In MSAA, child 0 is the object itself.
1205 (AccessibilityUIElement::allAttributes): Not implemented.
1206 (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
1207 (AccessibilityUIElement::attributesOfChildren): Same.
1208 (AccessibilityUIElement::parameterizedAttributeNames): Same.
1209 (self): Return a VARIANT representing the "self" object. This is used
1210 when calling methods that require a child variant.
1211 (AccessibilityUIElement::role): Get the MSAA role, a long value, and
1212 convert it into a string with GetRoleText().
1213 (AccessibilityUIElement::title): Get the element's title, and convert
1215 (AccessibilityUIElement::description): Same, for description.
1216 (AccessibilityUIElement::width):
1217 (AccessibilityUIElement::height):
1218 (AccessibilityUIElement::intValue): Get the object's value as a string,
1219 and convert the string to a double.
1220 (AccessibilityUIElement::minValue): Not implemented.
1221 (AccessibilityUIElement::maxValue): Same.
1222 (AccessibilityUIElement::insertionPointLineNumber): Same.
1223 (AccessibilityUIElement::attributesOfColumnHeaders): Same.
1224 (AccessibilityUIElement::attributesOfRowHeaders): Same.
1225 (AccessibilityUIElement::attributesOfColumns): Same.
1226 (AccessibilityUIElement::attributesOfRows): Same.
1227 (AccessibilityUIElement::attributesOfVisibleCells): Same.
1228 (AccessibilityUIElement::attributesOfHeader): Same.
1229 (AccessibilityUIElement::indexInTable): Same.
1230 (AccessibilityUIElement::rowIndexRange): Same.
1231 (AccessibilityUIElement::columnIndexRange): Same.
1232 (AccessibilityUIElement::lineForIndex): Same.
1233 (AccessibilityUIElement::boundsForRange): Same.
1234 (AccessibilityUIElement::cellForColumnAndRow): Same.
1235 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
1236 project. Link to oleacc.lib, the MSAA library.
1237 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1238 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
1240 (FrameLoadDelegate::didClearWindowObject): Create a new window object
1241 for the accessibility controller.
1242 * DumpRenderTree/win/FrameLoadDelegate.h:
1244 2008-08-21 Simon Fraser <simon.fraser@apple.com>
1246 Reviewed by Mark Rowe
1248 Make build-launcher-app work when run from a git repository.
1249 https://bugs.webkit.org/show_bug.cgi?id=20478
1251 * BuildSlaveSupport/build-launcher-app:
1253 2008-08-20 Maxime Britto <britto@apple.com>
1255 Reviewed by Ada Chan.
1258 Mouse events are sent to page while resizing window (affects Gmail)
1260 * DumpRenderTree/win/UIDelegate.h:
1261 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
1263 2008-08-19 Chris Fleizach <cfleizach@apple.com>
1265 Reviewed by Beth Dakin.
1267 Add snowleopard platform in layout tests
1269 Added support for accessing the attributes of
1270 accessibility tables through the accessibility controller
1273 * DumpRenderTree/AccessibilityUIElement.cpp:
1274 (attributesOfColumnHeadersCallback):
1275 (attributesOfRowHeadersCallback):
1276 (attributesOfColumnsCallback):
1277 (attributesOfRowsCallback):
1278 (attributesOfVisibleCellsCallback):
1279 (attributesOfHeaderCallback):
1280 (indexInTableCallback):
1281 (rowIndexRangeCallback):
1282 (columnIndexRangeCallback):
1283 (childAtIndexCallback):
1284 (cellForColumnAndRowCallback):
1285 (AccessibilityUIElement::getJSClass):
1286 * DumpRenderTree/AccessibilityUIElement.h:
1287 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1288 (convertNSArrayToVector):
1289 (descriptionOfElements):
1290 (AccessibilityUIElement::getLinkedUIElements):
1291 (AccessibilityUIElement::getChildren):
1292 (AccessibilityUIElement::attributesOfLinkedUIElements):
1293 (AccessibilityUIElement::attributesOfChildren):
1294 (AccessibilityUIElement::attributesOfColumnHeaders):
1295 (AccessibilityUIElement::attributesOfRowHeaders):
1296 (AccessibilityUIElement::attributesOfColumns):
1297 (AccessibilityUIElement::attributesOfRows):
1298 (AccessibilityUIElement::attributesOfVisibleCells):
1299 (AccessibilityUIElement::attributesOfHeader):
1300 (AccessibilityUIElement::indexInTable):
1301 (AccessibilityUIElement::rowIndexRange):
1302 (AccessibilityUIElement::columnIndexRange):
1303 (AccessibilityUIElement::cellForColumnAndRow):
1304 * Scripts/run-webkit-tests:
1306 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
1308 Reviewed by Darin Adler.
1310 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
1311 is waiting for crash reporter to let it exit.
1313 The fix does not work on Tiger, because the state of the process is indistinguishable from
1314 other waiting processes, at least not with this technique.
1316 * Scripts/run-webkit-tests:
1318 2008-08-18 Alp Toker <alp@nuanti.com>
1320 Reviewed by Holger Freyther.
1322 https://bugs.webkit.org/show_bug.cgi?id=20350
1323 [GTK] Get DumpRenderTree working
1325 Fixes and enhancements to DumpRenderTree. With these changes, the test
1326 suite can now complete a run producing text and render tree dumps.
1328 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1332 (webViewLoadFinished):
1333 (webViewWindowObjectCleared):
1334 (webViewConsoleMessage):
1335 (webViewScriptAlert):
1336 (webViewScriptPrompt):
1337 (webViewScriptConfirm):
1338 (webViewTitleChanged):
1340 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1341 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1342 (LayoutTestController::clearBackForwardList):
1343 (LayoutTestController::pathToLocalResource):
1344 (LayoutTestController::setAcceptsEditing):
1345 (LayoutTestController::setUserStyleSheetEnabled):
1346 (LayoutTestController::setUserStyleSheetLocation):
1347 (waitToDumpWatchdogFired):
1348 (LayoutTestController::windowCount):
1349 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1350 (JSStringCopyUTF8CString):
1351 (ScriptItem::invoke):
1353 2008-08-17 Geoffrey Garen <ggaren@apple.com>
1355 Reviewed by Cameron Zwarich.
1357 Updated project files to XCode 3.1.
1359 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1360 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1362 2008-08-15 Mark Rowe <mrowe@apple.com>
1364 Rubber-stamped by Geoff Garen.
1366 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
1368 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
1370 2008-08-13 Simon Hausmann <hausmann@webkit.org>
1372 Rubber-stamped by Holger.
1374 Revert r31585 and disable http tests for the Qt build again unless
1377 Running the http tests unfortunately currently still triggers
1378 failures in non-http tests due to side-effects. Disable them by default for
1379 now, for more reliable results.
1381 * Scripts/run-webkit-tests:
1383 2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
1385 Reviewed (and updated) by Alp Toker.
1387 https://bugs.webkit.org/show_bug.cgi?id=16620
1388 [GTK] Autotools make dist and make check support
1390 Get make dist working.
1392 Note that not all possible configurations have been tested yet.
1396 2008-08-10 Alp Toker <alp@nuanti.com>
1398 Remove leftover qmake/GTK+ build files.
1400 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
1401 * GtkLauncher/GtkLauncher.pro: Removed.
1403 2008-08-06 Chris Fleizach <cfleizach@apple.com>
1405 Reviewed by Beth Dakin
1407 AX functions shouldn't return position information because it changes
1408 based on the platform
1410 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1411 (AccessibilityUIElement::boundsForRange):
1413 2008-08-06 Eric Seidel <eric@webkit.org>
1417 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
1418 <https://bugs.webkit.org/show_bug.cgi?id=20297>
1419 <rdar://problem/6093153>
1421 I've made AccessibilityUIElement a stack object for now. It could be
1422 made RefCounted, but I figured that might be overkill for the moment.
1423 Essentially it's just a RefPtr itself. :)
1425 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
1426 which was causing additional leaks. :)
1428 I added toAXElement to remove a bunch of copy/paste code.
1430 * DumpRenderTree/AccessibilityController.h:
1431 * DumpRenderTree/AccessibilityUIElement.cpp:
1433 (allAttributesCallback):
1434 (attributesOfLinkedUIElementsCallback):
1435 (attributesOfChildrenCallback):
1436 (lineForIndexCallback):
1437 (boundsForRangeCallback):
1438 (childAtIndexCallback):
1441 (getDescriptionCallback):
1443 (getHeightCallback):
1444 (getIntValueCallback):
1445 (getMinValueCallback):
1446 (getMaxValueCallback):
1447 (getInsertionPointLineNumberCallback):
1449 * DumpRenderTree/AccessibilityUIElement.h:
1450 (AccessibilityUIElement::platformUIElement):
1451 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1452 (AccessibilityController::focusedElement):
1453 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1454 (AccessibilityUIElement::AccessibilityUIElement):
1455 (AccessibilityUIElement::getLinkedUIElements):
1456 (AccessibilityUIElement::getChildren):
1457 (AccessibilityUIElement::getChildAtIndex):
1458 (AccessibilityUIElement::attributesOfLinkedUIElements):
1459 (AccessibilityUIElement::attributesOfChildren):
1461 2008-08-06 Eric Seidel <eric@webkit.org>
1463 Reviewed by Cameron Zwarich.
1465 Speculative fix for an error I keep seeing in my Cygwin build
1467 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
1469 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
1471 Forgot to commit licensing correction in last commit.
1473 * wx/packaging/wxWebKitInstaller.iss.in:
1475 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
1477 Reviewed by Eric Seidel.
1479 Scripts for building a wxWebKit installer for wxPython on Win, eventually will
1480 be used for nightlies.
1482 https://bugs.webkit.org/show_bug.cgi?id=20036
1484 * wx/packaging: Added.
1485 * wx/packaging/build-win-installer.py: Added.
1486 * wx/packaging/wxWebKitInstaller.iss.in: Added.
1488 2008-07-31 Adam Roben <aroben@apple.com>
1492 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
1493 Release configuration, too.
1495 2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
1497 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
1500 <https://bugs.webkit.org/show_bug.cgi?id=20245>
1502 Reviewed by Adam Roben.
1504 * WinLauncher/WinLauncher.vcproj: adding the following properties to
1505 WinLauncher > Properties > Manifest Tool > Isolated COM
1506 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
1507 Component File Name: WebKit$(WebKitDLLConfigSuffix)
1508 Doing the change on "All Configurations"
1510 2008-07-31 Adam Roben <aroben@apple.com>
1512 Windows build bot fix
1514 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
1515 exist for people at Apple can't be found. Also updated the ICU version
1518 2008-07-31 David Kilzer <ddkilzer@apple.com>
1520 Fix layout test results for webarchive/test-xml-stylesheet.xml
1522 Reviewed by Darin Adler.
1524 * DumpRenderTree/mac/DumpRenderTree.mm:
1525 (convertMIMEType): Work around the "text/xml" local file type
1526 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
1527 stop mangling "application/x-javascript" into "text/javascript".
1528 (convertWebResourceDataToString): When checking whether to dump a
1529 resource as text, also check to see if the MIME type is in the
1530 -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
1531 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
1534 2008-07-31 Chris Fleizach <cfleizach@apple.com>
1536 Reviewed by Alice Liu
1538 Add AX support to get the bounds for a range of text
1539 Add AX support to get the child of an element
1540 Add AX support to get all the parameterized attribute names of an element
1542 * DumpRenderTree/AccessibilityUIElement.cpp:
1543 (parameterizedAttributeNamesCallback):
1544 (boundsForRangeCallback):
1545 (childAtIndexCallback):
1546 (AccessibilityUIElement::getJSClass):
1547 * DumpRenderTree/AccessibilityUIElement.h:
1548 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1549 (AccessibilityUIElement::getChildAtIndex):
1550 (AccessibilityUIElement::parameterizedAttributeNames):
1551 (AccessibilityUIElement::boundsForRange):
1553 2008-07-31 Erik Bunce <elbunce@thehive.com>
1557 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
1559 * Scripts/run-launcher:
1561 2008-07-30 Jessica Kahn <jess@apple.com>
1563 Reviewed by Adam Roben.
1565 Slightly stricter checking for previous change, suggested by Adam.
1567 * Scripts/extract-localizable-strings:
1569 2008-07-30 Jessica Kahn <jess@apple.com>
1571 Reviewed by Darin Adler.
1573 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
1575 * Scripts/extract-localizable-strings:
1577 2008-07-30 Anders Carlsson <andersca@apple.com>
1581 Copy icu38* files instead of icu36* files.
1583 * DumpRenderTree/win/DumpRenderTree.vcproj:
1585 2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
1587 DRT/Gtk build fix for r35362
1589 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1590 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
1592 2008-07-25 Brady Eidson <beidson@apple.com>
1596 Add the ability to dump whether-or-not an element should have autocomplete enabled,
1597 from the perspective of the WebKit API
1599 * DumpRenderTree/LayoutTestController.cpp:
1600 (elementDoesAutoCompleteForElementWithIdCallback):
1601 (LayoutTestController::staticFunctions):
1603 * DumpRenderTree/LayoutTestController.h:
1604 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1605 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
1606 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1607 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
1609 2008-07-25 Chris Fleizach <cfleizach@apple.com>
1611 Reviewed by Beth Dakin
1613 Add support for AXLineForIndex and AXInsertionPointIndex through the
1614 accessibility controller
1616 * DumpRenderTree/AccessibilityUIElement.cpp:
1617 (lineForIndexCallback):
1618 (getInsertionPointLineNumberCallback):
1619 (AccessibilityUIElement::getJSClass):
1620 * DumpRenderTree/AccessibilityUIElement.h:
1621 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1622 (AccessibilityUIElement::insertionPointLineNumber):
1623 (AccessibilityUIElement::lineForIndex):
1625 2008-07-25 Adam Roben <aroben@apple.com>
1627 Try to fix the Windows build bot
1629 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
1630 that don't exist for people outside of Apple.
1632 2008-07-18 Landry Breuil <landry@openbsd.org>
1634 Bug 19975: [OpenBSD] Patches to enable build of WebKit
1636 <https://bugs.webkit.org/show_bug.cgi?id=19975>
1638 Reviewed by David Kilzer.
1640 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
1642 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
1644 CygwinDownloader fails to install necessary packages
1645 https://bugs.webkit.org/show_bug.cgi?id=20075
1647 Reviewed by Mark Rowe.
1649 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
1650 mirrors removed in r34116. Set MIME type to application/octet-stream.
1652 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
1654 CygwinDownloader's make-zip.sh script fails
1655 https://bugs.webkit.org/show_bug.cgi?id=20074
1657 Reviewed by Mark Rowe.
1659 * CygwinDownloader/cygwin-downloader.py:
1661 2008-07-15 Sam Weinig <sam@webkit.org>
1663 Reviewed by Anders Carlsson.
1665 Refactor accessibility testing code.
1668 - AccessibilityController
1669 Controller which has access to the WebView and can provide the focused element, root element
1670 and in the future, elementAtPoint.
1672 - AccessibilityUIElement
1673 Object which provides access to the data provided by the Accessibility APIs.
1675 * DumpRenderTree/AccessibilityController.cpp:
1676 (getFocusedElementCallback):
1677 (getRootElementCallback):
1678 (AccessibilityController::getJSClass):
1679 * DumpRenderTree/AccessibilityController.h:
1680 * DumpRenderTree/AccessibilityUIElement.cpp: Added.
1681 (allAttributesCallback):
1682 (attributesOfLinkedUIElementsCallback):
1683 (attributesOfChildrenCallback):
1686 (getDescriptionCallback):
1688 (getHeightCallback):
1689 (getIntValueCallback):
1690 (getMinValueCallback):
1691 (getMaxValueCallback):
1693 (AccessibilityUIElement::makeJSAccessibilityUIElement):
1694 (AccessibilityUIElement::getJSClass):
1695 * DumpRenderTree/AccessibilityUIElement.h: Added.
1696 (AccessibilityUIElement::platformUIElement):
1697 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1698 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1699 (AccessibilityController::AccessibilityController):
1700 (AccessibilityController::~AccessibilityController):
1701 (AccessibilityController::focusedElement):
1702 (AccessibilityController::rootElement):
1703 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
1704 (AccessibilityUIElement::AccessibilityUIElement):
1705 (descriptionOfValue):
1706 (attributesOfElement):
1707 (nsStringToJSStringRef):
1708 (concatenateAttributeAndValue):
1709 (AccessibilityUIElement::getLinkedUIElements):
1710 (AccessibilityUIElement::getChildren):
1711 (AccessibilityUIElement::attributesOfLinkedUIElements):
1712 (AccessibilityUIElement::attributesOfChildren):
1713 (AccessibilityUIElement::allAttributes):
1714 (AccessibilityUIElement::role):
1715 (AccessibilityUIElement::title):
1716 (AccessibilityUIElement::description):
1717 (AccessibilityUIElement::width):
1718 (AccessibilityUIElement::height):
1719 (AccessibilityUIElement::intValue):
1720 (AccessibilityUIElement::minValue):
1721 (AccessibilityUIElement::maxValue):
1723 2008-07-14 Chris Fleizach <cfleizach@apple.com>
1725 Reviewed by Beth Dakin
1727 Add support to get attributes of the AXChildren of an objecty
1729 * DumpRenderTree/AccessibilityController.cpp:
1730 (attributesOfChildrenForFocusedElementCallback):
1731 (AccessibilityController::staticFunctions):
1732 * DumpRenderTree/AccessibilityController.h:
1733 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1734 (descriptionOfValue):
1735 (AccessibilityController::attributesOfChildrenForFocusedElement):
1737 2008-07-14 Steve Falkenburg <sfalken@apple.com>
1741 * DumpRenderTree/win/DumpRenderTree.vcproj:
1743 2008-07-14 Adam Roben <aroben@apple.com>
1745 Attempted Windows build fix
1747 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
1748 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
1751 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
1753 Reviewed by Geoff Garen.
1755 Eliminate per-thread JavaScript global data instance support and make arbitrary
1756 global data/global object combinations possible.
1758 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1759 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
1760 In this scenario, it was causing crashes after each 10-20 tests, because there was a large
1761 chance for a different thread to cause GC after the context was released.
1763 2008-07-11 Stephanie Lewis <slewis@apple.com>
1765 Reviewed by Darin Adler.
1767 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
1769 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
1771 * DumpRenderTree/mac/DumpRenderTree.mm:
1772 (setDefaultsToConsistentValuesForTesting):
1773 (resetWebViewToConsistentStateBeforeTesting):
1774 * Scripts/run-webkit-tests:
1776 2008-07-10 Steve Falkenburg <sfalken@apple.com>
1780 * DumpRenderTree/win/DumpRenderTree.vcproj:
1782 2008-07-09 Eric Seidel <eric@webkit.org>
1784 Reviewed by Mark Rowe.
1786 Print <div> backgrounds when printing from DRT.
1788 * DumpRenderTree/mac/DumpRenderTree.mm:
1789 (setDefaultsToConsistentValuesForTesting):
1791 2008-07-09 Eric Seidel <eric@webkit.org>
1793 Reviewed by Mark Rowe.
1795 Fix copying of expected results to correct location
1797 * Scripts/run-webkit-tests:
1799 2008-07-09 Eric Seidel <eric@webkit.org>
1803 * DumpRenderTree/LayoutTestController.cpp:
1804 (LayoutTestController::LayoutTestController):
1805 (dumpAsPDFCallback):
1806 (LayoutTestController::staticFunctions):
1807 * DumpRenderTree/LayoutTestController.h:
1808 (LayoutTestController::dumpAsPDF):
1809 (LayoutTestController::setDumpAsPDF):
1810 * DumpRenderTree/mac/DumpRenderTree.mm:
1814 2008-07-09 Eric Seidel <eric@webkit.org>
1818 Add Content-Type support to DumpRenderTree and run-webkit-tests
1819 and move expected.txt files to expected.webarchive
1821 https://bugs.webkit.org/show_bug.cgi?id=15565
1823 * DumpRenderTree/cg/ImageDiffCG.cpp:
1826 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1828 * DumpRenderTree/mac/DumpRenderTree.mm:
1830 * Scripts/run-webkit-tests:
1832 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
1836 Port r34988 to Mac: allow tests to define JavaScript to execute when
1837 NPP_DestroyStream or NPP_URLNotify is called.
1839 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1840 (NPP_New): Remove initialization that happens in pluginAllocate. Look
1841 for new arguments onStreamDestroy and onURLNotify.
1842 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
1843 (executeScript): Code moved from onStreamLoad.
1844 (NPP_NewStream): Call executeScript.
1845 (NPP_DestroyStream): Same.
1846 (NPP_URLNotify): Same.
1848 2008-07-07 Beth Dakin <bdakin@apple.com>
1852 This patch extends DRT accessibility tests to add the ability to
1853 query the intValue, minValue, and maxValue of the focused element.
1855 * DumpRenderTree/AccessibilityController.cpp:
1856 (intValueOfFocusedElementCallback):
1857 (minValueOfFocusedElementCallback):
1858 (maxValueOfFocusedElementCallback):
1859 (AccessibilityController::staticFunctions):
1860 * DumpRenderTree/AccessibilityController.h:
1861 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1862 (AccessibilityController::intValueOfFocusedElement):
1863 (AccessibilityController::minValueOfFocusedElement):
1864 (AccessibilityController::maxValueOfFocusedElement):
1866 2008-07-07 Steve Falkenburg <sfalken@apple.com>
1870 * DumpRenderTree/win/ImageDiff.vcproj:
1872 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
1874 Allow tests to define JavaScript to execute when NPP_DestroyStream or
1875 NPP_URLNotify is called.
1879 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
1880 property, "returnErrorFromNewStream." This is to support the test for
1881 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
1882 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
1883 error from NPP_NewStream.
1884 (pluginGetProperty):
1885 (pluginSetProperty):
1887 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
1888 members, onStreamDestroy and onURLNotify.
1889 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
1890 (NPP_New): Remove initialization of onStreamLoad; this was moved to
1891 pluginAllocate. Look for new arguments onStreamDestroy and
1892 onURLNotify, and store their values.
1893 (NPP_Destroy): Free new members.
1894 (executeScript): Code moved from onStreamLoad
1895 (NPP_NewStream): If returnErrorFromNewStream has been set to true,
1896 return a generic error code. If onStreamLoad is set, execute it as
1898 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
1899 (NPP_URLNotify): Same, for onURLNotify.
1901 2008-07-02 Brady Eidson <beidson@apple.com>
1903 Reviewed by Mitz Pettel and John Sullivan
1905 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
1908 Required to add a layout test for the fix for <rdar://problem/5549871>
1910 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1911 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
1912 [WebFrame stopLoading] to test for the crash reflected in 5549871
1914 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
1915 * DumpRenderTree/LayoutTestController.cpp:
1916 (LayoutTestController::LayoutTestController):
1917 (setStopProvisionalFrameLoadsCallback):
1918 (LayoutTestController::staticFunctions):
1919 * DumpRenderTree/LayoutTestController.h:
1920 (LayoutTestController::stopProvisionalFrameLoads):
1921 (LayoutTestController::setStopProvisionalFrameLoads):
1923 2008-07-01 Chris Fleizach <cfleizach@apple.com>
1925 Reviewed by Beth Dakin
1927 Support ability to get width and height of an element through accessibility
1929 * DumpRenderTree/AccessibilityController.cpp:
1930 (widthOfFocusedElementCallback):
1931 (heightOfFocusedElementCallback):
1932 (AccessibilityController::staticFunctions):
1933 * DumpRenderTree/AccessibilityController.h:
1934 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1935 (AccessibilityController::widthOfFocusedElement):
1936 (AccessibilityController::heightOfFocusedElement):
1938 2008-06-30 Chris Fleizach <cfleizach@apple.com>
1940 Reviewed by Beth Dakin
1942 Support the ability to get the linked ui elements of an object
1944 * DumpRenderTree/AccessibilityController.cpp:
1945 (attributesOfLinkedUIElementsForFocusedElementCallback):
1946 (AccessibilityController::staticFunctions):
1947 * DumpRenderTree/AccessibilityController.h:
1948 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1949 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
1950 (AccessibilityController::allAttributesOfFocusedElement):
1951 (attributesOfElement):
1952 (nsStringToJSStringRef):
1954 2008-06-29 Sam Weinig <sam@webkit.org>
1958 * DumpRenderTree/mac/EventSendingController.mm:
1959 (eventTypeForMouseButtonAndAction):
1961 2008-06-27 Eric Seidel <eric@webkit.org>
1965 Add multi-button mouseevent support to DRT
1966 https://bugs.webkit.org/show_bug.cgi?id=15173
1968 It's now possible to specify the mouse button with:
1969 eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
1971 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1972 * DumpRenderTree/mac/EventSendingController.h:
1973 * DumpRenderTree/mac/EventSendingController.mm:
1974 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1975 (+[EventSendingController webScriptNameForSelector:]):
1976 (eventTypeForMouseButtonAndAction):
1977 (-[EventSendingController updateClickCountForButton:]):
1978 (-[EventSendingController mouseDown:]):
1979 (-[EventSendingController mouseUp:]):
1980 (-[EventSendingController mouseMoveToX:Y:]):
1981 (-[EventSendingController contextClick]):
1983 2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
1987 Copy <test>-expected.png from the right location to /tmp/layout-test-results.
1988 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
1990 * Scripts/run-webkit-tests:
1992 2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
1994 Reviewed by Christian Dywan.
1996 [Gtk] Initialize webview settings before running DRT tests
1997 http://bugs.webkit.org/show_bug.cgi?id=19778
1999 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2000 (setDefaultsToConsistentStateValuesForTesting):
2003 2008-06-26 Darin Adler <darin@apple.com>
2005 * Scripts/check-for-weak-vtables: Fixed comment.
2007 2008-06-26 Darin Adler <darin@apple.com>
2009 * Scripts/check-for-weak-vtables: Added.
2011 2008-06-26 Beth Dakin <bdakin@apple.com>
2015 Do not include AXPosition in the dump of all of the accessibility
2016 attributes since it is screen-specific.
2018 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2019 (AccessibilityController::allAttributesOfFocusedElement):
2021 2008-06-26 Beth Dakin <bdakin@apple.com>
2025 This is a speculative fix for the failing layout test on the build
2026 bot. It seems that the problem that the Build Bot is having is
2027 Tiger-specific. On Tiger, [NSValue description] was not very smart.
2028 So I replaced our call to description with a hand-rolled equivalent
2029 that will match on both platforms.
2031 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2032 (descriptionOfValue):
2034 2008-06-25 Beth Dakin <bdakin@apple.com>
2036 Reviewed by Sam Weinig.
2038 This patch adds support to the AccessibilityController to query the
2039 following attributes specifically, without a full attribute dump:
2040 AXRole, AXTitle, and AXDescription.
2042 * DumpRenderTree/AccessibilityController.cpp:
2043 (allAttributesForFocusedElementCallback):
2044 (roleOfFocusedElementCallback):
2045 (titleOfFocusedElementCallback):
2046 (descriptionOfFocusedElementCallback):
2047 (AccessibilityController::staticFunctions):
2048 * DumpRenderTree/AccessibilityController.h:
2049 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2050 (AccessibilityController::allAttributesForFocusedElement):
2051 (concatenateAttributeAndValue):
2052 (AccessibilityController::roleOfFocusedElement):
2053 (AccessibilityController::titleOfFocusedElement):
2054 (AccessibilityController::descriptionOfFocusedElement):
2056 2008-06-24 Dan Bernstein <mitz@apple.com>
2058 Reviewed by Stephanie Lewis.
2060 - move the linker flags from the debug configuration in the project
2061 to the shared configuration
2063 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2064 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2066 2008-06-24 Dan Bernstein <mitz@apple.com>
2068 - try to fix the Tiger build
2070 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2072 2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
2074 Reviewed by Darin Adler.
2076 Fix for <rdar://problem/5884881> Make DumpRenderTree support
2079 This patch adds some basic support for accessibility layout tests
2082 * DumpRenderTree/AccessibilityController.cpp: Added.
2083 (AccessibilityController::AccessibilityController):
2084 (AccessibilityController::~AccessibilityController):
2085 (dumpCurrentAttributesCallback):
2086 (AccessibilityController::makeWindowObject):
2087 (AccessibilityController::getJSClass):
2088 (AccessibilityController::staticFunctions):
2089 * DumpRenderTree/AccessibilityController.h: Added.
2090 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2091 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
2092 (descriptionOfValue):
2093 (AccessibilityController::dumpCurrentAttributes):
2094 * DumpRenderTree/mac/DumpRenderTree.mm:
2095 * DumpRenderTree/mac/FrameLoadDelegate.h:
2096 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2097 (-[FrameLoadDelegate init]):
2098 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2100 2008-06-24 John Sullivan <sullivan@apple.com>
2102 Reviewed by Dan Bernstein
2104 * Scripts/extract-localizable-strings:
2105 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
2106 list of debugging macros, to avoid noise when keeping the list of localized string
2107 exceptions up to date
2109 2008-06-24 Dan Bernstein <mitz@apple.com>
2111 Rubber-stamped by Darin Adler.
2113 - add a font family for testing font-weight
2115 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
2116 flags to create data sections for the WeightWatcher fonts.
2117 * DumpRenderTree/fonts: Added.
2118 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
2119 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
2120 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
2121 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
2122 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
2123 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
2124 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
2125 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
2126 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
2127 * DumpRenderTree/mac/DumpRenderTree.mm:
2128 (activateFonts): Renamed activateAhemFont to this and made it activate
2129 the WeightWatcher fonts in addition to Ahem.
2130 (prepareConsistentTestingEnvironment): Adjusted for the name change.
2131 * DumpRenderTree/win/DumpRenderTree.cpp:
2132 (initialize): Added the WeightWatcher fonts.
2134 2008-06-20 Brent Fulgham <bfulgham@gmail.com>
2136 Reviewed by Darin Adler.
2138 Extend the build-webkit (and set-webkit-configuration) script to
2139 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
2141 * Scripts/build-webkit: Add --cairo-win32 to the help message
2142 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
2143 subroutine to recognize the --cairo-win32 flag. When present,
2144 the build configuration is changed from Debug/Release to
2145 Debug_Cairo/Release_Cairo. This flag is only active when the
2146 isCygwin() test is true.
2148 2008-06-17 Dan Bernstein <mitz@apple.com>
2150 Reviewed by Justin Garcia.
2152 - prefer Leopard results when running on Snow Leopard.
2154 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
2156 * Scripts/webkitdirs.pm: Added isSnowLeopard().
2158 2008-06-15 Darin Adler <darin@apple.com>
2160 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2162 2008-06-15 Darin Adler <darin@apple.com>
2164 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2166 2008-06-15 Darin Adler <darin@apple.com>
2168 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
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-file-rename: Updated.
2177 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2179 2008-06-15 Darin Adler <darin@apple.com>
2181 * Scripts/do-file-rename: Updated for the latest round of renaming.
2182 * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
2184 2008-06-15 Darin Adler <darin@apple.com>
2186 * Scripts/create-exports: Added.
2187 * Scripts/do-file-rename: Added some planned renames.
2188 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2190 2008-06-15 Darin Adler <darin@apple.com>
2192 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2194 2008-06-15 Maciej Stachowiak <mjs@apple.com>
2198 - rename testkjs to jsc
2200 * Scripts/build-jsc: Copied from Scripts/build-testkjs.
2201 * Scripts/build-testkjs: Removed.
2202 * Scripts/run-javascriptcore-tests:
2203 * Scripts/run-jsc: Copied from Scripts/run-testkjs.
2204 * Scripts/run-sunspider:
2205 * Scripts/run-testkjs: Removed.
2206 * Scripts/sunspider-compare-results:
2208 2008-06-14 Darin Adler <darin@apple.com>
2210 * Scripts/do-webcore-rename: Moved planned renames into a separate hash
2211 from the actual renames. Removed many renames that are either done or
2214 2008-06-14 Darin Adler <darin@apple.com>
2216 * Scripts/do-webcore-rename: Fixed obvious typo.
2218 2008-06-13 Darin Adler <darin@apple.com>
2220 * Scripts/make-js-test-wrappers: Added three more exceptions.
2222 2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
2226 For the qmake based build make it possible to build against makespecs where
2227 QMAKE_CC is defined in a configuration file included from qmake.conf.
2229 * Scripts/webkitdirs.pm: Added support for include() statements in
2232 2008-06-09 Alp Toker <alp@nuanti.com>
2234 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
2235 each of the tools since these are no longer set globally.
2239 2008-06-08 Darin Adler <darin@apple.com>
2241 * Scripts/make-js-test-wrappers: Added another exception.
2243 2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
2245 Reviewed by Timothy.
2247 Remove the --squirrelfish option from SunSpider, as it is no longer needed.
2249 * Scripts/run-sunspider:
2251 2008-06-05 Alp Toker <alp@nuanti.com>
2253 Build fix for r34387.
2257 2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
2261 Add an exception for Opcode.o to the global initializers check so that
2262 we can dump instruction statistics in the JavaScript virtual machine.
2264 * Scripts/check-for-global-initializers:
2266 2008-05-30 Steve Falkenburg <sfalken@apple.com>
2268 Generate an isolated COM manifest for registry free COM.
2270 * DumpRenderTree/win/DumpRenderTree.vcproj:
2272 2008-06-02 Anders Carlsson <andersca@apple.com>
2274 Reviewed by David Hyatt and Mitz.
2276 <rdar://problem/5704119>
2277 repro crash in WebCore::RenderPart::setWidget (plugin-related?)
2279 Call -[WebView display] in the "plug-in" failed delegate method, simulating
2280 the sheet that Safari puts up.
2282 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2283 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
2285 2008-05-30 Timothy Hatcher <timothy@apple.com>
2287 Made the starting line number of scripts be 1-based throughout the engine.
2288 This cleans up script line numbers so they are all consistent now.
2290 Reviewed by Oliver Hunt.
2292 * DumpRenderTree/mac/ObjCController.m:
2293 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
2294 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2295 (runJavaScriptThread): Ditto.
2296 * DumpRenderTree/win/DumpRenderTree.cpp:
2297 (runJavaScriptThread): Ditto.
2299 2008-05-29 Geoffrey Garen <ggaren@apple.com>
2301 Reviewed by Adam Roben.
2303 Fixed VCSUtils.pm to work with git repositories inside symlinks.
2305 * Scripts/VCSUtils.pm: Compute a relative path from the git repository
2306 root, instead of the root of the filesystem, to work around a bug in
2307 abs2rel when traversing symlinked home directories.
2309 2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
2311 Reviewed by Darin Adler.
2313 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
2315 https://bugs.webkit.org/show_bug.cgi?id=19311
2317 * Scripts/webkitdirs.pm:
2319 2008-05-29 Alexey Proskuryakov <ap@webkit.org>
2321 Reviewed by Adam Roben.
2323 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
2324 configuration files.
2326 * Scripts/run-iexploder-tests:
2327 * Scripts/run-mangleme-tests:
2328 Renamed runSafari to not conflict with the one in webkitdirs.
2329 Added SSLCertificateFile option for httpd, as now needed.
2331 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
2333 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
2335 * wx/browser/browser.cpp:
2338 2008-05-24 Andreia Gaita <shana@isninja.com>
2340 Reviewed by Alp Toker.
2342 cygwin-downloader.py fixes.
2344 Remove two non-working mirrors. Add a check for missing dependency
2345 packages to avoid bailing out on an inconsistent Cygwin package list.
2347 * CygwinDownloader/cygwin-downloader.py:
2349 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
2351 Reviewed by Darin Adler.
2353 Remove useQmake usage. QMake build doesn't support Gtk port
2356 Also fix 2 occurences of "Web Kit". Should be WebKit.
2358 * Scripts/build-webkit:
2359 * Scripts/run-javascriptcore-tests:
2360 * Scripts/run-launcher:
2361 * Scripts/run-webkit-tests:
2362 * Scripts/webkitdirs.pm:
2364 2008-05-22 Stephanie Lewis <slewis@apple.com>
2368 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
2370 * DumpRenderTree/mac/UIDelegate.mm:
2371 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
2372 * DumpRenderTree/win/UIDelegate.cpp:
2373 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
2375 2008-05-21 Adele Peterson <adele@apple.com>
2379 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
2381 * DumpRenderTree/win/UIDelegate.cpp:
2382 (UIDelegate::webViewFocus): Added.
2383 (UIDelegate::webViewUnfocus): Added.
2384 * DumpRenderTree/win/UIDelegate.h:
2386 2008-05-21 Mark Rowe <mrowe@apple.com>
2388 Rubber-stamped by Stephanie Lewis.
2390 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
2391 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
2394 * Scripts/run-safari:
2396 2008-05-21 Stephanie Lewis <slewis@apple.com>
2398 Reviewed by Maciej, Mark.
2400 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
2402 * Scripts/run-webkit-tests:
2403 * Scripts/webkitdirs.pm:
2405 2008-05-20 Mark Rowe <mrowe@apple.com>
2407 Reviewed by Stephanie Lewis.
2409 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
2411 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
2412 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
2413 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
2414 pass an argument to run-webkit-tests after having built with "make x86_64".
2416 * Scripts/gdb-safari:
2417 * Scripts/run-safari:
2418 * Scripts/run-webkit-tests:
2419 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
2420 preferred architecture, and exporting of the environment variables for 'arch' out into
2421 separate subroutines.
2423 2008-05-20 Mark Rowe <mrowe@apple.com>
2425 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
2429 === End merge of squirrelfish ===
2431 2008-04-14 Maciej Stachowiak <mjs@apple.com>
2435 - added support for --ubench mode
2437 * Scripts/run-sunspider:
2439 2008-03-26 Geoffrey Garen <ggaren@apple.com>
2441 Reviewed by Oliver Hunt.
2443 --squirrelfish mode: pared down tests for squirrelfish to chew on.
2445 * Scripts/run-sunspider:
2447 === Start merge of squirrelfish ===
2449 2008-05-21 Darin Adler <darin@apple.com>
2451 * Scripts/make-js-test-wrappers: Added another exception.
2453 2008-05-19 Stephanie Lewis <slewis@apple.com>
2457 Explicitly set run mode to 32bit unless overridden to avoid
2458 confusion when running tests
2460 * Scripts/build-dumprendertree:
2461 * Scripts/gdb-safari:
2462 * Scripts/run-webkit-tests:
2463 * Scripts/webkitdirs.pm:
2465 2008-05-16 Stephanie Lewis <slewis@apple.com>
2469 Print out pending unload event count. Also print out main frame name to match Mac.
2471 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2472 (descriptionSuitableForTestResult):
2473 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
2475 2008-05-16 Timothy Hatcher <timothy@apple.com>
2477 Remove the Drosera project, code and resources since it has been
2478 replaced with the Web Inspector's debugger. Removes references to
2479 Drosera in various scripts and makefiles.
2481 Rubber-stamped by Mark Rowe.
2483 * BuildSlaveSupport/build-launcher-app:
2484 * Drosera/DebuggerDocument.cpp: Removed.
2485 * Drosera/DebuggerDocument.h: Removed.
2486 * Drosera/Drosera.icns: Removed.
2487 * Drosera/DroseraWin.make: Removed.
2488 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
2489 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
2490 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
2491 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
2492 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
2493 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
2494 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2495 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
2496 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2497 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2498 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
2499 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
2500 * Drosera/Images/Drosera.ico: Removed.
2501 * Drosera/Images/SourceArrow.png: Removed.
2502 * Drosera/Images/SourceArrowBlank.png: Removed.
2503 * Drosera/Images/SourceArrowOpen.png: Removed.
2504 * Drosera/Images/background_stripe.png: Removed.
2505 * Drosera/Images/breakPoint.tif: Removed.
2506 * Drosera/Images/breakPointDisabled.tif: Removed.
2507 * Drosera/Images/breakpointeditor.png: Removed.
2508 * Drosera/Images/close.tif: Removed.
2509 * Drosera/Images/close_active.tif: Removed.
2510 * Drosera/Images/close_hover.tif: Removed.
2511 * Drosera/Images/console.png: Removed.
2512 * Drosera/Images/continue.tif: Removed.
2513 * Drosera/Images/fileIcon.jpg: Removed.
2514 * Drosera/Images/finishFunction.tif: Removed.
2515 * Drosera/Images/glossyFooterFill.tif: Removed.
2516 * Drosera/Images/glossyHeader.png: Removed.
2517 * Drosera/Images/glossyHeaderPressed.png: Removed.
2518 * Drosera/Images/gradientBackground.png: Removed.
2519 * Drosera/Images/gutter.png: Removed.
2520 * Drosera/Images/navLeftDisabled.png: Removed.
2521 * Drosera/Images/navLeftNormal.png: Removed.
2522 * Drosera/Images/navLeftPressed.png: Removed.
2523 * Drosera/Images/navRightDisabled.png: Removed.
2524 * Drosera/Images/navRightNormal.png: Removed.
2525 * Drosera/Images/navRightPressed.png: Removed.
2526 * Drosera/Images/pause.tif: Removed.
2527 * Drosera/Images/popUpArrows.png: Removed.
2528 * Drosera/Images/programCounter.tif: Removed.
2529 * Drosera/Images/programCounterBreakPoint.tif: Removed.
2530 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
2531 * Drosera/Images/run.tif: Removed.
2532 * Drosera/Images/siteCollapsed.tif: Removed.
2533 * Drosera/Images/siteExpanded.tif: Removed.
2534 * Drosera/Images/siteIcon.tif: Removed.
2535 * Drosera/Images/small.ico: Removed.
2536 * Drosera/Images/splitterBar.tif: Removed.
2537 * Drosera/Images/splitterDimple.tif: Removed.
2538 * Drosera/Images/step.tif: Removed.
2539 * Drosera/Images/stepOut.tif: Removed.
2540 * Drosera/Images/stepOver.tif: Removed.
2541 * Drosera/Images/stop.tif: Removed.
2542 * Drosera/Images/toolbarBackground.png: Removed.
2543 * Drosera/Images/verticalSplitterBar.tiff: Removed.
2544 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
2545 * Drosera/Makefile: Removed.
2546 * Drosera/breakpointEditor.html: Removed.
2547 * Drosera/config.h: Removed.
2548 * Drosera/console.css: Removed.
2549 * Drosera/console.html: Removed.
2550 * Drosera/console.js: Removed.
2551 * Drosera/debugger.css: Removed.
2552 * Drosera/debugger.html: Removed.
2553 * Drosera/debugger.js: Removed.
2554 * Drosera/mac/DebuggerApplication.h: Removed.
2555 * Drosera/mac/DebuggerApplication.mm: Removed.
2556 * Drosera/mac/DebuggerClient.h: Removed.
2557 * Drosera/mac/DebuggerClient.mm: Removed.
2558 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
2559 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
2560 * Drosera/mac/Info.plist: Removed.
2561 * Drosera/mac/LauncherInfo.plist: Removed.
2562 * Drosera/mac/Makefile: Removed.
2563 * Drosera/mac/ServerConnection.h: Removed.
2564 * Drosera/mac/ServerConnection.mm: Removed.
2565 * Drosera/mac/launcher.m: Removed.
2566 * Drosera/mac/main.m: Removed.
2567 * Drosera/viewer.css: Removed.
2568 * Drosera/viewer.html: Removed.
2569 * Drosera/win/BaseDelegate.h: Removed.
2570 * Drosera/win/DebuggerClient.cpp: Removed.
2571 * Drosera/win/DebuggerClient.h: Removed.
2572 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2573 * Drosera/win/Drosera.cpp: Removed.
2574 * Drosera/win/Drosera.h: Removed.
2575 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
2576 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
2577 * Drosera/win/DroseraPrefix.cpp: Removed.
2578 * Drosera/win/DroseraPrefix.h: Removed.
2579 * Drosera/win/Info.plist: Removed.
2580 * Drosera/win/ServerConnection.cpp: Removed.
2581 * Drosera/win/ServerConnection.h: Removed.
2582 * Drosera/win/resource.h: Removed.
2584 * Scripts/build-drosera: Removed.
2585 * Scripts/gdb-drosera: Removed.
2586 * Scripts/run-drosera: Removed.
2587 * Scripts/run-drosera-nightly.cmd: Removed.
2588 * Scripts/run-drosera.cmd: Removed.
2589 * Scripts/webkitdirs.pm:
2591 2008-05-15 Stephanie Lewis <slewis@apple.com>
2595 Dump the unload count for a frame after parsing is finished.
2597 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2598 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2600 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
2602 Reviewed by Dan Bernstein.
2604 https://bugs.webkit.org/show_bug.cgi?id=10707
2605 DumpRenderTree should not be able to access non-local resources
2607 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2608 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2609 Block them, and complain.
2611 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
2613 wx build fix. Update the version of libpng to download and instsall.
2615 * wx/install-unix-extras:
2617 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
2621 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
2622 We now force the return value to be numeric.
2624 - Removed platform checks as it was a work around the previous issue.
2626 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
2628 * Scripts/build-webkit:
2629 * Scripts/webkitdirs.pm:
2631 2008-05-12 Adam Roben <aroben@apple.com>
2633 Support for testing NPN_PostURL
2635 Reviewed by Anders Carlsson.
2637 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2638 (toCString): Added this helper function.
2639 (testPostURLFile): Added. Writes the passed-in content to the
2640 passed-in file and calls NPN_PostURL with the passed-in URL and
2642 (pluginInvoke): Added a case for testPostURLFile.
2643 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2644 (followShortcuts): Changed to allow paths that don't yet exist.
2646 2008-05-12 Mark Rowe <mrowe@apple.com>
2648 Reviewed by Sam Weinig.
2650 Minor cleanup of the DRT Xcode project.
2652 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
2653 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
2654 not need to be there.
2656 2008-05-12 Anders Carlsson <andersca@apple.com>
2660 Add support for testing application caches.
2662 * DumpRenderTree/mac/DumpRenderTree.mm:
2666 (resetWebViewToConsistentStateBeforeTesting):
2667 Turn on support for the application cache.
2669 2008-05-09 Mark Rowe <mrowe@apple.com>
2671 Reviewed by Anders Carlsson.
2673 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
2675 It currently does not attempt to print events which means that plugins/mouse-events.html
2676 will fail when run 64-bit. All other tests that use this plugin pass.
2678 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2679 (testGetIntIdentifier):
2680 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2684 2008-05-09 Brady Eidson <beidson@apple.com>
2686 Reviewed by Adam Roben
2688 Explicitly call shutDownWebKit() before quitting.
2690 * Drosera/win/Drosera.cpp:
2693 * DumpRenderTree/win/DumpRenderTree.cpp:
2696 2008-05-09 Mark Rowe <mrowe@apple.com>
2698 Fix the Tiger build of Drosera.
2700 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
2702 2008-05-09 Sam Weinig <sam@webkit.org>
2704 Rubber-stamped by Mark Rowe.
2706 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
2708 * Scripts/build-webkit:
2710 2008-05-08 Mark Rowe <mrowe@apple.com>
2712 Another attempt at a Tiger build fix.
2714 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
2716 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2718 2008-05-08 Mark Rowe <mrowe@apple.com>
2720 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
2722 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2724 2008-05-08 Mark Rowe <mrowe@apple.com>
2726 Reviewed by Oliver Hunt and Dan Bernstein.
2728 Update DumpRenderTree to build 64-bit.
2730 The three major changes here are:
2731 1) Use NSInteger in the appropriate places.
2732 2) Use ColorSync API that is available in 64-bit to switch display profiles.
2733 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
2735 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
2736 needs updated to successfully build.
2738 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
2739 * DumpRenderTree/mac/DumpRenderTree.mm:
2740 (swizzleAllMethods):
2742 (prepareConsistentTestingEnvironment):
2743 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2744 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2745 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2746 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2747 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2748 (restoreColorSpace):
2749 (failedGettingCurrentProfile):
2750 (setDefaultColorProfileToRGB):
2752 2008-05-08 Mark Rowe <mrowe@apple.com>
2754 Reviewed by Darin Adler.
2756 Clean up Drosera so that it will build 64-bit.
2758 * Drosera/mac/DebuggerApplication.mm:
2759 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
2760 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
2761 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
2763 2008-05-07 David Kilzer <ddkilzer@apple.com>
2765 Use File::Find and Getopt::Long in make-js-test-wrappers
2767 Reviewed by Darin Adler.
2769 * Scripts/make-js-test-wrappers:
2770 - Updated Apple copyright statement.
2771 - Added command-line switch parsing and -h|--help switch.
2772 - Allowed user to pass list of files/directories on which to do
2773 a restricted search for TEMPLATE.html files. The default
2774 behavior is still to search the entire LayoutTests directory.
2775 - Removed duplicate 'use strict' statement.
2776 - Replaced use of `find` statements with File::Find::find().
2777 - Remove unneeded chomp() calls now that we use File::Find.
2778 (directoryFilter): Added. Filters .svn directories when used
2779 with File::Find::find().
2780 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
2783 2008-05-05 Steve Falkenburg <sfalken@apple.com>
2785 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
2787 * DumpRenderTree/win/DumpRenderTree.vcproj:
2788 * DumpRenderTree/win/ImageDiff.vcproj:
2790 2008-05-05 Adele Peterson <adele@apple.com>
2794 Look for the right ImageDiff executable for debug builds.
2796 * Scripts/run-webkit-tests:
2798 2008-05-05 Darin Adler <darin@apple.com>
2800 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
2803 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
2807 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
2808 tests expect to be 480x360)
2810 * DumpRenderTree/qt/DumpRenderTree.cpp:
2811 (WebCore::DumpRenderTree::open):
2813 2008-05-02 Dan Bernstein <mitz@apple.com>
2815 Reviewed by Adam Roben.
2817 - add an option to svn-apply to set the reviewer name in change logs
2819 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
2821 2008-05-01 David Kilzer <ddkilzer@apple.com>
2823 Clean up configuration usage in run-webkit-tests
2827 * Scripts/run-webkit-tests: Parse configuration switches using
2828 passedConfiguration() from webkitdirs.pm like every other script.
2829 Note that we must still call setConfiguration() afterwards in
2830 case the --configuration switch was used. Use $configurationOption
2831 when running build-dumprendertree instead of recreating the switch.
2833 2008-04-29 Adam Roben <aroben@apple.com>
2835 Restore the beloved COMPtr::operator&
2837 2008-04-29 Adam Roben <aroben@apple.com>
2841 Replace COMPtr::operator& with COMPtr::adoptionPointer.
2843 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
2845 Reviewed by Darin Adler.
2847 Fix run-webkit-tests --threading
2848 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
2849 Proxy server issue in Sunday's Nightly
2851 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2852 (runJavaScriptThread):
2853 (startJavaScriptThreads):
2854 (stopJavaScriptThreads):
2855 Spawned threads were immediately detached, unlike the original ones, so joining them
2856 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
2857 waits for them all to exit.
2859 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
2863 Reset dumping resource load callbacks to false for the next test
2866 * DumpRenderTree/qt/jsobjects.cpp:
2867 (LayoutTestController::reset):
2869 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
2873 Adapt to the latest API changes in WebKit/qt/Api.
2875 * DumpRenderTree/qt/DumpRenderTree.cpp:
2876 (WebCore::DumpRenderTree::DumpRenderTree):
2877 * DumpRenderTree/qt/jsobjects.cpp:
2879 2008-04-26 Robin Dunn <robin@alldunn.com>
2881 Reviewed by Kevin Ollivier.
2883 Delete the DerivedSources after make clean has been done so that the DerivedSources
2884 don't get re-created. Also, use the proper extension for the Win wxPython extension.
2886 https://bugs.webkit.org/show_bug.cgi?id=18756
2888 * wx/build-wxwebkit:
2890 2008-04-26 Adam Barth <hk9565@gmail.com>
2892 Reviewed by Adam Roben and Sam Weinig.
2894 Updates LayoutTestController to use host instead of domain.
2896 Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
2898 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2899 (LayoutTestController::setDatabaseQuota):
2900 * DumpRenderTree/mac/UIDelegate.mm:
2901 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
2903 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
2905 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
2907 * wx/install-unix-extras:
2909 2008-04-26 Robin Dunn <robin@alldunn.com>
2911 Reviewed by Kevin Ollivier.
2913 Allow the user to set the path to SWIG using an environment variable.
2915 https://bugs.webkit.org/show_bug.cgi?id=18660
2917 * wx/build-wxwebkit:
2919 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
2921 wx build fix. Download the latest libpng version for building the
2924 * wx/install-unix-extras:
2926 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
2930 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
2932 Similar to Editing and Frameloading we do the dumping within WebCore
2935 * DumpRenderTree/qt/jsobjects.cpp:
2936 (LayoutTestController::dumpResourceLoadCallbacks):
2937 * DumpRenderTree/qt/jsobjects.h:
2939 2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2941 Reviewed by Maciej Stachowiak.
2943 http://bugs.webkit.org/show_bug.cgi?id=18485
2944 Typo and documentation fix for build-webkit
2946 * Scripts/build-webkit:
2948 2008-04-24 Anders Carlsson <andersca@apple.com>
2952 Don't call fprintf from the signal handler.
2954 * DumpRenderTree/mac/DumpRenderTree.mm:
2957 2008-04-23 Adam Roben <aroben@apple.com>
2959 Make crashes be reported as crashes, not hangs
2961 Reviewed by David Kilzer.
2963 * Scripts/run-webkit-tests:
2964 (top level): Use the new status field of the output from
2965 readFromDumpToolWithTimer to determine if the test crashed or hung.
2966 (sub readFromDumpToolWithTimer):
2967 - If we fail to read a line and $! is not EAGAIN, then we've crashed
2968 and should not try to read any more.
2969 - Changed the timedout field to a more general status field.
2971 2008-04-22 David Kilzer <ddkilzer@apple.com>
2973 Bug 18683: update-webkit returns 0 even if it fails
2975 <https://bugs.webkit.org/show_bug.cgi?id=18683>
2977 Reviewed by Mitz Pettel.
2979 * Scripts/update-webkit:
2980 (runSvnUpdate): Die if close() fails.
2982 2008-04-21 Adam Roben <aroben@apple.com>
2984 Flush stdout/stderr after printing every #EOF separator
2986 This fixes a hang when running the pixel tests on Windows
2988 Reviewed by Mitz Pettel.
2990 * DumpRenderTree/win/DumpRenderTree.cpp:
2992 (main): We don't have to flush stdout/stderr in the arguments loop
2993 anymore, as runTest flushes for us.
2995 2008-04-21 Adam Roben <aroben@apple.com>
2999 * Scripts/run-webkit-tests:
3000 (sub readFromDumpToolWithTimer): Use readline instead of read to
3001 ensure that we don't read past the #EOF marker.
3003 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3007 Build fix for Qt 4.3
3009 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
3010 always defined. Do this by adding defines to the compiler line
3012 * DumpRenderTree/qt/DumpRenderTree.pro:
3014 2008-04-19 Mike Hommey <glandium@debian.org>
3016 Reviewed by Alp Toker.
3018 Don't build GtkLauncher and DumpRenderTree with rpath.
3022 2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3024 Reviewed by Alp Toker.
3026 http://bugs.webkit.org/show_bug.cgi?id=16620
3027 [GTK] Autotools make dist and make check support
3033 2008-04-18 Adam Roben <aroben@apple.com>
3035 Drop the hang timer to 30 seconds
3037 This matches what DRT/mac was using.
3039 Reviewed by Mitz Pettel.
3041 * Scripts/run-webkit-tests:
3043 2008-04-18 Adam Roben <aroben@apple.com>
3045 Get rid of DRT's Watchdog
3047 run-webkit-tests now detects hangs and samples DRT as needed.
3049 Reviewed by Mitz Pettel.
3051 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
3052 Watchdog* files from the project.
3053 * DumpRenderTree/Watchdog.cpp: Removed.
3054 * DumpRenderTree/Watchdog.h: Removed.
3055 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
3058 * DumpRenderTree/mac/WatchdogMac.h: Removed.
3059 * DumpRenderTree/mac/WatchdogMac.mm: Removed.
3060 * Scripts/run-webkit-tests:
3061 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
3062 (sub sampleDumpTool): Added. Writes a sample report to
3063 ~/Library/Logs/DumpRenderTree/HangReport.txt.
3065 2008-04-18 Simon Hausmann <hausmann@webkit.org>
3069 Adapt to the API changes in WebKit/qt
3071 * DumpRenderTree/qt/DumpRenderTree.cpp:
3072 (WebCore::WebPage::WebPage):
3073 (WebCore::DumpRenderTree::DumpRenderTree):
3074 (WebCore::DumpRenderTree::initJSObjects):
3075 (WebCore::DumpRenderTree::dumpFramesAsText):
3076 (WebCore::DumpRenderTree::dump):
3078 2008-04-17 Adam Roben <aroben@apple.com>
3080 Fix many tests on Windows
3082 * Scripts/run-webkit-tests:
3083 (readFromDumpToolWithTimer):
3084 - Use read instead of sysread to ensure that we don't interfere with
3085 other uses of buffered IO in this script.
3086 (setFileHandleNonBlocking): Actually set the filehandle to blocking
3089 2008-04-17 Adam Roben <aroben@apple.com>
3093 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
3094 whatever newline happens to be at the end of what we've read.
3096 2008-04-17 Adam Roben <aroben@apple.com>
3098 Remove DRT/win's hang timer
3100 run-webkit-tests takes care of this for us now
3102 Reviewed by Anders Carlsson.
3104 * DumpRenderTree/win/DumpRenderTree.cpp:
3106 2008-04-17 Adam Roben <aroben@apple.com>
3108 Don't wait for the hang timer twice in the case of a hang
3110 Previously we'd wait for a hang while reading both stdout and stderr
3111 from DRT. Now we'll only wait for one or the other.
3113 Reviewed by Anders Carlsson.
3115 * Scripts/run-webkit-tests:
3116 (top level): Don't wait for stderr to time out if stdout already timed
3118 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
3119 after the first read that returns no data.
3121 2008-04-17 Adam Roben <aroben@apple.com>
3123 Don't throw away the output from timed out tests
3125 Reviewed by Anders Carlsson.
3127 * Scripts/run-webkit-tests:
3128 (top level): Updated for changes to readFromDumpToolWithTimer.
3129 (readFromDumpToolWithTimer): Return a hash that contains both the
3130 output and whether or not the test timed out.
3132 2008-04-17 Adam Roben <aroben@apple.com>
3134 Make the hang timer 60 seconds
3136 * Scripts/run-webkit-tests:
3138 2008-04-17 Adam Roben <aroben@apple.com>
3140 Get rid of carriage returns in DRT/win's stderr
3142 Reviewed by Eric Seidel.
3144 * DumpRenderTree/win/DumpRenderTree.cpp:
3145 (main): Mark stderr as binary like we already do for stdout.
3147 2008-04-17 Adam Roben <aroben@apple.com>
3149 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
3152 <https://bugs.webkit.org/show_bug.cgi?id=17678>
3154 We now abort tests that take longer than 60 seconds to produce output.
3155 This matches the watchdog timer in DRT/mac and DRT/win (which we can
3158 Reviewed by Eric Seidel.
3160 * Scripts/run-webkit-tests:
3161 (top level): Read DRT's output using the new readFromDumpToolWithTimer
3162 subroutine. If readFromDumpToolWithTimer returns undefined it means
3163 the test timed out, so we register the test as a hang and move on.
3164 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
3165 both crashed and timed out tests. If the test timed out, we kill DRT
3167 (sub linksForTimedOutTest): Added. We don't have any output to link to for
3168 tests that timed out.
3169 (sub recordActualResultsAndDiff): Don't call length on undefined.
3170 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
3171 from a filehandle until an #EOF is reached or
3172 $maximumSecondsWithoutOutput have elapsed.
3173 (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
3176 2008-04-17 Adam Roben <aroben@apple.com>
3178 Refactor test results page generation
3180 Reviewed by Eric Seidel.
3182 * Scripts/run-webkit-tests:
3183 (sub htmlForResultsSection): Added. Takes a set of tests, a
3184 description, and a subroutine to generate the links for each test, and
3185 creates a HTML string containing a table of the tests and their
3187 (sub linksForExpectedAndActualResults): Added. Replaces the
3188 htmlForExpectedAndActualResults subroutine.
3189 (sub linksForMismatchTest): Added.
3190 (sub linksForCrashOrErrorTest): Added.
3191 (sub linksForNewTest): Added.
3193 2008-04-17 Adam Roben <aroben@apple.com>
3195 Print the extension for all tests in the test results page
3197 Reviewed by Eric Seidel.
3199 * Scripts/run-webkit-tests:
3201 2008-04-17 Adam Roben <aroben@apple.com>
3203 Move code that counts finished tests into a subroutine
3205 Reviewed by Eric Seidel.
3207 * Scripts/run-webkit-tests:
3208 (sub countFinishedTest): Added.
3210 2008-04-17 Adam Roben <aroben@apple.com>
3212 Move code that handles a crash into a subroutine
3214 Reviewed by Eric Seidel.
3216 * Scripts/run-webkit-tests:
3217 (sub testCrashed): Added.
3219 2008-04-17 Eric Seidel <eric@webkit.org>
3223 Rename RenderView to RenderViewport in the next rename patch.
3225 * Scripts/do-webcore-rename:
3227 2008-04-17 Mario Bensi <mbensi@pleyo.com>
3229 Reviewed by Alp Toker.
3231 http://bugs.webkit.org/show_bug.cgi?id=18543
3232 DumpRenderTree gtk freeze
3234 fix DumpRenderTree gtk freeze
3236 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3239 2008-04-15 Anders Carlsson <andersca@apple.com>
3243 * Scripts/build-webkit:
3245 2008-04-15 Anders Carlsson <andersca@apple.com>
3249 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
3251 * Scripts/build-webkit:
3253 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
3257 Fix compilation with Qt namespaces
3259 Qt can be configured to have all of its classes inside a specified namespaces.
3260 This is for example used in plugin/component environments like Eclipse.
3262 This change makes it possible to let the Qt port compile against a namespaced
3263 Qt by the use of macros Qt provides to properly forward declare Qt classes in
3266 * DumpRenderTree/qt/DumpRenderTree.h:
3268 2008-04-08 Kevin Ollivier <kevino@theolliviers.com>
3270 Reviewed by Darin Adler.
3272 Add a script that propagates any file changes made to the Bakefiles
3273 over to GTK and Qt build systems. Still needs to be wired into
3276 * Scripts/update-sources-list.py: Added.
3278 2008-04-08 Mark Rowe <mrowe@apple.com>
3280 Clean up after Brady.
3282 * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
3284 2008-04-08 Brady Eidson <beidson@apple.com>
3286 Reviewed by Mitzpettel
3288 Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
3289 -WebArchive subresources dump in random order, intermittent failures
3291 * DumpRenderTree/mac/DumpRenderTree.mm:
3292 (compareResourceURLs): Sorting function based on the resource URLs
3293 (serializeWebArchiveToXML): Sort the subresource array
3295 2008-04-07 Brady Eidson <beidson@apple.com>
3297 OMG, BUILD - please!
3299 * Scripts/build-webkit:
3301 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3305 * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
3306 * Running these tests on windows and other platforms might need some work.
3308 * Scripts/run-webkit-tests:
3310 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3314 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
3315 is not exporting enough to create the output in DRT itself. Settle with the approach
3316 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
3317 * run-webkit-tests http/tests(/loading) can now be executed.
3318 * For tests in loading/ directories we are going to throw away the dirty
3319 QWebPage to start with something clean.
3322 * DumpRenderTree/qt/DumpRenderTree.cpp:
3324 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3328 * Treat http and https as special URLs as well. Change the main.cpp and
3329 DumpRenderTree.cpp to handle http and https URIs as input.
3330 * I'm not doing the clean up and merging of these two checks now.
3333 * DumpRenderTree/qt/DumpRenderTree.cpp:
3334 (WebCore::DumpRenderTree::readStdin):
3335 * DumpRenderTree/qt/main.cpp:
3338 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3342 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
3343 located in a directory with the name "loading". And this will autoamtically
3345 * Remove this method from the LayoutTestController as it is unused now and this
3346 avoids adding it to the DRT of the Qt port.
3349 * DumpRenderTree/LayoutTestController.cpp:
3350 (setPrivateBrowsingEnabledCallback):
3352 2008-04-01 Christian Dywan <christian@imendio.com>
3354 Build fix for GCC 4.3.
3356 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
3358 2008-04-01 Simon Hausmann <hausmann@webkit.org>
3362 Fix Qt DRT run by also printing EOF on stderr, as expected by
3365 * DumpRenderTree/qt/DumpRenderTree.cpp:
3366 (WebCore::DumpRenderTree::dump):
3368 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
3370 Reviewed by Darin Adler.
3372 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
3374 Remove trailing '/' in $sourceDir in determineSourceDir().
3376 Fix suggested by Dmitriy Kazachkov.
3378 * Scripts/webkitdirs.pm:
3380 2008-03-29 Adam Roben <aroben@apple.com>
3382 Update for rename of an IWebViewPrivate method
3384 Reviewed by Mitz Pettel.
3386 * DumpRenderTree/win/DumpRenderTree.cpp:
3387 (createWebViewAndOffscreenWindow):
3389 2008-03-26 Antti Koivisto <antti@apple.com>
3393 Enable SVG animation support by default.
3395 * Scripts/build-webkit:
3397 2008-03-25 Adam Roben <aroben@apple.com>
3401 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3402 Add $(WebKitLibrariesDir)\include to the include path so we can find
3405 2008-03-24 Eric Seidel <eric@webkit.org>
3409 Clean up SVG features message to be less confusing.
3411 * Scripts/build-webkit:
3413 2008-03-24 Sam Weinig <sam@webkit.org>
3415 Reviewed by Dave Hyatt.
3417 Add EventSender.zoomPageIn/zoomPageOut support to DRT.
3419 * DumpRenderTree/mac/DumpRenderTree.mm:
3420 (resetWebViewToConsistentStateBeforeTesting):
3421 * DumpRenderTree/mac/EventSendingController.mm:
3422 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3423 (-[EventSendingController zoomPageIn]):
3424 (-[EventSendingController zoomPageOut]):
3425 * DumpRenderTree/win/DumpRenderTree.cpp:
3426 (resetWebViewToConsistentStateBeforeTesting):
3427 * DumpRenderTree/win/EventSender.cpp:
3428 (textZoomInCallback):
3429 (textZoomOutCallback):
3430 (zoomPageInCallback):
3431 (zoomPageOutCallback):
3433 2008-03-24 Dan Bernstein <mitz@apple.com>
3435 Reviewed by Mark Rowe.
3437 - update bisect-builds for Safari 3.1
3439 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
3442 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
3446 http://bugs.webkit.org/show_bug.cgi?id=17981
3448 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
3452 2008-03-21 Adam Roben <aroben@apple.com>
3454 Remove a non-working mirror from cygwin-downloader and add the ruby package
3456 * CygwinDownloader/cygwin-downloader.py:
3457 * CygwinDownloader/cygwin-downloader.zip: Updated.
3459 2008-03-20 Mark Rowe <mrowe@apple.com>
3461 Reviewed by Sam Weinig.
3463 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
3464 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
3467 * Scripts/build-webkit:
3469 2008-03-17 Eric Seidel <eric@webkit.org>
3471 Reviewed by Dan Bernstein.
3473 Fix bogus argCount check breaking plugin test.
3475 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3477 2008-03-17 Eric Seidel <eric@webkit.org>
3481 Cleanup PluginObject.cpp and add support for testing
3482 converting from int -> identifier -> string
3483 and from string -> identifier -> int
3484 as well as round-tripping ints and stings through identifiers
3486 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3487 (pluginGetProperty):
3488 (pluginSetProperty):
3490 (stringVariantToIdentifier):
3491 (int32VariantToIdentifier):
3492 (doubleVariantToIdentifier):
3493 (variantToIdentifier):
3494 (testIdentifierToString):
3495 (testIdentifierToInt):
3498 (removeDefaultMethod):
3500 (testInvokeDefault):
3503 (testGetIntIdentifier):
3506 (testGetPropertyReturnValue):
3508 (pluginInvokeDefault):
3514 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
3516 Rubber stamped by Darin Adler.
3518 Add set-webkit-configuration support for wx port, and centralize
3519 build dir location setting.
3521 http://bugs.webkit.org/show_bug.cgi?id=17790
3523 * wx/browser/browser.bkl:
3524 * wx/build-wxwebkit:
3526 2008-03-15 Darin Adler <darin@apple.com>
3528 * Scripts/commit-log-editor: Include the name line of the change log entry.
3529 A long time ago I designed this script to not include the name because I
3530 thought it was redundant (same as the name of the person checking in), but
3531 nowadays it's more common for someone to check something in done by someone
3534 * Scripts/do-webcore-rename: Added some more planned renames and removed
3535 some that were already done "by hand".
3537 2008-03-13 Brent Fulgham <bfulgham@gmail.com>
3539 Reviewed by Darin Adler.
3541 Correct paths to vsprops files so they use the environment
3542 variable, rather than hard-coded path.
3543 http://bugs.webkit.org/show_bug.cgi?id=17797.
3545 * WinLauncher/WinLauncher.vcproj: Correct paths to vsprops.
3547 2008-03-12 Steve Falkenburg <sfalken@apple.com>
3551 * WinLauncher/WinLauncher.vcproj:
3553 2008-03-12 Holger Hans Peter Freyther <zecke@selfish.org>
3555 Reviewed by Alp Toker.
3557 Run testkjs in the correct productsDir in the GTK+ port.
3559 * Scripts/run-javascriptcore-tests:
3561 2008-03-11 Brent Fulgham <bfulgham@gmail.com>
3563 Reviewed by Adam Roben.
3565 Enabled WinLauncher as part of normal Windows build.
3566 http://bugs.webkit.org/show_bug.cgi?id=17715.
3568 * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
3569 it can find the proper libraries to link against.
3571 2008-03-10 Julien Chaffraix <julien.chaffraix@gmail.com>
3573 Reviewed and landed by Darin Adler.
3575 http://bugs.webkit.org/show_bug.cgi?id=17581
3576 Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
3578 Remove the previous warning which occurs when the --random option is used.
3580 * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
3583 2008-03-07 Simon Hausmann <hausmann@webkit.org>
3585 Reviewed by Darin Adler.
3589 Ported the netscape test plugin to QWebPluginFactory.
3591 * DumpRenderTree/qt/DumpRenderTree.cpp:
3592 (WebCore::WebPage::WebPage):
3593 * DumpRenderTree/qt/main.cpp:
3594 * DumpRenderTree/qt/testplugin.cpp:
3595 (TestPlugin::plugins):
3596 (TestPlugin::create):
3597 * DumpRenderTree/qt/testplugin.h:
3599 2008-03-09 Steve Falkenburg <sfalken@apple.com>
3601 Stop Windows build if an error occurs in a prior project.
3603 Rubber stamped by Darin Adler.
3605 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3606 * DumpRenderTree/win/DumpRenderTree.vcproj:
3607 * DumpRenderTree/win/ImageDiff.vcproj:
3608 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3610 2008-03-08 Julien Chaffraix <julien.chaffraix@gmail.com>
3612 Reviewed by Mark Rowe.
3614 DRT build fix for Tiger.
3616 * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
3618 2008-03-07 Mark Rowe <mrowe@apple.com>
3620 Reviewed by Oliver Hunt.
3622 Fix WebKit build with GCC 4.2.
3624 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
3626 2008-03-07 Stephanie Lewis <slewis@apple.com>
3630 Add Windows part of <rdar://problem/5693690>
3632 * DumpRenderTree/win/DumpRenderTree.cpp:
3636 2008-03-07 Alp Toker <alp@atoker.com>
3638 Back out the r30818, r30819 build fix attempts now the GTK+ build
3639 server has been upgraded.
3641 * Scripts/webkitdirs.pm:
3643 2008-03-07 Stephanie Lewis <slewis@apple.com>
3647 <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
3649 * DumpRenderTree/mac/DumpRenderTree.mm:
3650 (dump): push EOF to stderr after every test
3651 * Scripts/run-webkit-tests: collect stderr output and print it
3653 2008-03-07 Steve Falkenburg <sfalken@apple.com>
3655 Get pdevenv working with Visual Studio Express.
3661 2008-03-06 Adele Peterson <adele@apple.com>
3663 Reviewed by Darin Adler.
3665 Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
3667 * DumpRenderTree/mac/UIDelegate.mm:
3668 (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
3669 (-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one.
3670 To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
3672 2008-03-06 Matt Lilek <webkit@mattlilek.com>
3674 Reviewed by Adam Roben.
3676 Bug 17691: REGRESSION: FindSafari doesn't work
3677 http://bugs.webkit.org/show_bug.cgi?id=17691
3679 Swap my change from r30394 to use the Release libraries instead of Debug
3680 since some machines don't have the Debug version.
3682 * FindSafari/FindSafari.vcproj:
3684 2008-03-06 Kevin McCullough <kmccullough@apple.com>
3686 Reviewed by Sam and Tim.
3688 <rdar://5631450> Drosera: breakpoint indicators disappear after the
3689 script is finished running.
3690 - If there is a pre-existing breakpoint on a line when the file is
3691 updated we need to redraw it.
3693 * Drosera/debugger.js:
3695 2008-03-06 Brady Eidson <beidson@apple.com>
3699 * DumpRenderTree/mac/WatchdogMac.mm:
3701 2008-03-06 Brady Eidson <beidson@apple.com>
3705 Added a cross-platform Watchdog thread to DRT.
3707 The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running
3708 main thread hangs still affect DRT.
3710 By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
3711 and true deadlocks can be caught.
3713 There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has
3714 `sample` available, the Mac implementation of this hook samples the process before it is killed.
3716 I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
3718 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3719 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
3721 * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
3722 * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
3724 * DumpRenderTree/Watchdog.cpp: Added.
3725 (Watchdog::Watchdog):
3726 (Watchdog::~Watchdog):
3729 (Watchdog::checkIn):
3730 (Watchdog::setWatchdogInterval):
3731 (Watchdog::handleHang):
3732 (Watchdog::watchdogThreadStart):
3733 (Watchdog::watchdogThread):
3734 * DumpRenderTree/Watchdog.h: Added.
3736 * DumpRenderTree/mac/WatchdogMac.h: Added.
3737 * DumpRenderTree/mac/WatchdogMac.mm: Added.
3738 (WatchdogMac::handleHang): Sample the process and write it out to a file
3740 * DumpRenderTree/mac/DumpRenderTree.mm:
3741 (dumpRenderTree): Setup and start the watchdog before running any tests
3742 (runTest): Checkin with the watchdog after each test
3744 2008-03-05 Alp Toker <alp@atoker.com>
3746 Attempt to get the autotools build working again on the bot with
3749 Force the use of /bin/bash since we seem to have bash-isms in the
3750 configure script right now.
3752 * Scripts/webkitdirs.pm:
3754 2008-03-05 Alp Toker <alp@atoker.com>
3756 Re-attempt to switch to the autotools build system for GTK+.
3758 Change scripts to continue when distclean fails.
3760 * Scripts/webkitdirs.pm:
3762 2008-03-05 Alp Toker <alp@atoker.com>
3764 Force qmake for the GTK+ build until we get the build bot to succeed
3765 with autotools (currently dies at make distclean)
3767 * Scripts/webkitdirs.pm:
3769 2008-03-04 Alp Toker <alp@atoker.com>
3771 Reviewed by Mark Rowe.
3773 Switch the default GTK+ build system from qmake to autotools.
3775 qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
3777 * Scripts/build-webkit:
3778 * Scripts/run-launcher:
3779 * Scripts/run-webkit-tests:
3780 * Scripts/webkitdirs.pm:
3782 2008-03-04 Sam Weinig <sam@webkit.org>
3784 Reviewed by Darin Adler.
3786 * Scripts/do-webcore-rename: Update renaming plan.
3788 2008-03-02 Brent Fulgham <bfulgham@gmail.com>
3790 Reviewed by Alp Toker.
3792 Remove some needless LIBS.
3796 2008-03-02 Alp Toker <alp@atoker.com>
3798 Reviewed by Mark Rowe.
3800 Split the WebKit GTK+ build out of the WebCore build and change the
3801 shared object name to match the package name.
3805 2008-03-01 Mark Rowe <mrowe@apple.com>
3807 Reviewed by Tim Hatcher.
3809 Update Xcode configuration to support building debug and release from the mysterious future.
3811 * DumpRenderTree/mac/Configurations/Base.xcconfig:
3813 2008-02-29 David Kilzer <ddkilzer@apple.com>
3815 Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
3819 Originally broken in r26838.
3821 * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
3822 not local, unused @args variable.
3824 2008-02-29 David Kilzer <ddkilzer@apple.com>
3826 Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
3828 <http://bugs.webkit.org/show_bug.cgi?id=15754>
3830 Reviewed by Geoff and Darin.
3832 We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
3833 then removing that path from all file:/// URLs in the WebArchive output so these tests
3834 would pass no matter where they were run.
3836 The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
3837 current working directory, but the WebArchive does not. This left the current working
3838 directory in all file:/// URLs in the test output, and thus all tests failed, for any
3839 developer that used symlinks to get to their WebKit source directory.
3841 The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
3842 remove the current working directory path (no matter what it is) after "file://" but
3843 before "/LayoutTests/".
3845 * DumpRenderTree/mac/DumpRenderTree.mm:
3846 (normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the
3847 current working directory as described above.
3848 (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update
3849 calls to normalizeWebResourceURL().
3850 (serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to
3851 normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
3853 2008-02-26 Robin Dunn <robin@alldunn.com>
3855 Reviewed by Kevin Ollivier.
3857 Improvements to the wx build script.
3859 http://bugs.webkit.org/show_bug.cgi?id=17492
3861 * wx/build-wxwebkit:
3862 - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
3863 - Allow the build script to properly find wxPython includes under different setups
3864 - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
3866 2008-02-26 Timothy Hatcher <timothy@apple.com>
3868 Reviewed by Darin Adler.
3870 * Scripts/build-webkit: Add --universal and --64-bit flags to make building
3871 64-bit architectures easy. Combine the two flags to build 4-way universal.
3872 * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
3873 non-zero when the build failes.
3875 2008-02-26 Jessica Kahn <jess@apple.com>
3877 Reviewed by Darin Adler.
3879 * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
3880 so that Safari inherits it when launched. Preexisting code in WebKit checks this
3881 environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
3882 launched by Safari continue to use the standard system WebKit.
3884 2008-02-25 Adam Roben <aroben@apple.com>
3886 Fix run-webkit-tests after r30394
3888 * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
3891 2008-02-24 Darin Adler <darin@apple.com>
3893 * Scripts/do-webcore-rename: Make some updates based on a trial run of
3894 the renaming script.
3896 2008-02-24 Darin Adler <darin@apple.com>
3898 * Scripts/do-webcore-rename: More renaming plans.
3900 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3902 Rubber stamped by Darin Adler.
3904 Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
3905 whitespaces introduced in the previous commit.
3909 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3911 Rubber-stamped by Darin Adler.
3913 * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
3915 2008-02-23 David Kilzer <ddkilzer@apple.com>
3917 Please clarify licensing for some files
3918 <http://bugs.webkit.org/show_bug.cgi?id=14970>
3920 Reviewed by Darin Adler.
3922 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
3923 copyright statement. Replaced license with newer Apple BSD-style license.
3924 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
3925 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
3926 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
3927 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
3928 * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
3929 * mangleme/LICENSE: Added (LGPL).
3931 2008-02-22 Anders Carlsson <andersca@apple.com>
3935 <rdar://problem/5748781>
3936 https://bugs.webkit.org/show_bug.cgi?id=17413
3937 REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
3939 Copy the Java plug-in over to the new location.
3941 * FindSafari/FindSafari.cpp:
3944 2008-02-22 Anders Carlsson <andersca@apple.com>
3948 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
3950 * DumpRenderTree/win/DumpRenderTree.cpp:
3952 Init the URL request with the correct timeout.
3954 2008-02-21 Mike Auty <mike.auty@gmail.com>
3956 Reviewed by Alp Toker.
3958 http://bugs.webkit.org/show_bug.cgi?id=17445
3959 [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
3961 GTK+/autotools build system improvements
3963 The GNUmakefile.am files make use of the LDFLAGS variable to include library
3964 additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
3965 in LIBADD/LDADD variables, then they are mis-ordered during the linking.
3967 The as-needed flag discards libraries whose functions have not been needed by
3968 earlier libraries, which therefore makes the ordering important.
3970 This moves all -l library inclusion statements from LDFLAGS variables to
3971 LIBADD/LDADD variables.
3975 2008-02-20 Brent Fulgham <bfulgham@gmail.com>
3979 - http://bugs.webkit.org/show_bug.cgi?id=17428
3980 Reenable a Windows-based launcher
3982 This patch reenables the venerable Spinneret application,
3983 changing its name to match the other lanch applications.
3985 * WinLauncher: Added.
3986 * WinLauncher/WinLauncher.cpp: Added.
3987 (WinLauncherWebHost::updateAddressBar):
3988 (WinLauncherWebHost::QueryInterface):
3989 (WinLauncherWebHost::AddRef):
3990 (WinLauncherWebHost::Release):
3999 * WinLauncher/WinLauncher.h: Added.
4000 (WinLauncherWebHost::WinLauncherWebHost):
4001 (WinLauncherWebHost::didStartProvisionalLoadForFrame):
4002 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
4003 (WinLauncherWebHost::didFailProvisionalLoadWithError):
4004 (WinLauncherWebHost::didCommitLoadForFrame):
4005 (WinLauncherWebHost::didReceiveTitle):
4006 (WinLauncherWebHost::didReceiveIcon):
4007 (WinLauncherWebHost::didFinishLoadForFrame):
4008 (WinLauncherWebHost::didFailLoadWithError):
4009 (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
4010 (WinLauncherWebHost::willPerformClientRedirectToURL):
4011 (WinLauncherWebHost::didCancelClientRedirectForFrame):
4012 (WinLauncherWebHost::willCloseFrame):
4013 (WinLauncherWebHost::windowScriptObjectAvailable):
4014 * WinLauncher/WinLauncher.ico: Added.
4015 * WinLauncher/WinLauncher.rc: Added.
4016 * WinLauncher/WinLauncher.vcproj: Added.
4017 * WinLauncher/resource.h: Added.
4018 * WinLauncher/small.ico: Added.
4019 * WinLauncher/stdafx.cpp: Added.
4020 * WinLauncher/stdafx.h: Added.
4022 2008-02-19 Brady Eidson <beidson@apple.com>
4026 Fixed a bug in DRT --threaded mode
4028 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
4029 (startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries
4030 to pthread_join() each thread that had been created, but you can't join a detached thread!
4032 2008-02-18 Brady Eidson <beidson@apple.com>
4034 Changes by Geoff Garen, Reviewed by Darin
4036 Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
4038 DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
4040 [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
4041 This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked,
4042 this series of method calls will deadlock. If things are good, it will complete successfully.
4044 * DumpRenderTree/mac/ObjCController.m:
4045 (runJavaScriptThread):
4046 (+[ObjCController isSelectorExcludedFromWebScript:]):
4047 (+[ObjCController webScriptNameForSelector:]):
4048 (-[ObjCController testValueForKey]):
4050 2008-02-18 Matt Lilek <webkit@mattlilek.com>
4054 Remove FindSafari's Release configuration.
4056 * FindSafari/FindSafari.vcproj:
4058 2008-02-15 Adam Roben <aroben@apple.com>
4060 Fix a typo that broke the Mac build
4064 * Scripts/build-webkit:
4066 2008-02-14 Adam Roben <aroben@apple.com>
4068 Turn on cross-document messaging support by default
4070 Reviewed by Darin Adler.
4072 * Scripts/build-webkit:
4074 2008-02-14 Adam Roben <aroben@apple.com>
4076 Conditionalize cross-document messaging support
4078 The cross-document messaging parts of HTML 5 are in flux and we want
4079 ports to be able to turn off the support as needed.
4081 Note that the support is turned off by default right now. A subsequent
4082 commit will turn it on by default.
4084 Reviewed by Darin Adler.
4086 * Scripts/build-webkit:
4088 2008-02-14 Darin Adler <darin@apple.com>
4092 * DumpRenderTree/win/UIDelegate.cpp:
4093 (UIDelegate::setStatusText): Update parameter types to match declaration.
4095 2008-02-14 Oliver Hunt <oliver@apple.com>
4097 Reviewed by Geoff G and Weinig.
4099 Add ability for DRT to report tests setting the status text.
4101 * DumpRenderTree/LayoutTestController.cpp:
4102 (LayoutTestController::LayoutTestController):
4103 (dumpStatusCallbacksCallback):
4104 (LayoutTestController::staticFunctions):
4105 * DumpRenderTree/LayoutTestController.h:
4106 * DumpRenderTree/mac/UIDelegate.mm:
4107 (-[UIDelegate webView:setStatusText:]):
4108 * DumpRenderTree/win/UIDelegate.cpp:
4109 * DumpRenderTree/win/UIDelegate.h:
4111 2008-02-13 Adam Roben <aroben@apple.com>
4115 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
4117 2008-02-13 Adam Roben <aroben@apple.com>
4119 Windows/GTK+ build fix
4121 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
4124 2008-02-13 Brady Eidson <beidson@apple.com>
4126 Reviewed by Darin Adler
4128 Add some much needed Database support to DRT
4130 * DumpRenderTree/LayoutTestController.cpp:
4131 (LayoutTestController::LayoutTestController):
4132 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
4133 databases are called
4134 (clearAllDatabasesCallback): Allow a test to delete all databases
4135 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
4136 (LayoutTestController::staticFunctions):
4138 * DumpRenderTree/LayoutTestController.h:
4139 (LayoutTestController::dumpDatabaseCallbacks):
4140 (LayoutTestController::setDumpDatabaseCallbacks):
4142 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4143 (LayoutTestController::clearAllDatabases):
4144 (LayoutTestController::setDatabaseQuota):
4146 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4147 (LayoutTestController::clearAllDatabases): Stubbed out
4148 (LayoutTestController::setDatabaseQuota): Ditto
4149 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4150 (LayoutTestController::clearAllDatabases): Stubbed out with error message
4151 (LayoutTestController::setDatabaseQuota): Ditto
4153 * DumpRenderTree/mac/UIDelegate.mm:
4154 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
4155 message with details about the event then return a 5mb quota like before
4158 2008-02-12 Steve Falkenburg <sfalken@apple.com>
4160 Changes to support merged MIDL output.
4162 All COM interfaces are now generated to WebKit.h.
4164 Reviewed by Sam, Ada.
4166 * Drosera/win/BaseDelegate.h:
4167 * Drosera/win/DebuggerClient.cpp:
4168 * Drosera/win/DebuggerDocumentPlatform.cpp:
4169 * Drosera/win/Drosera.cpp:
4170 * Drosera/win/ServerConnection.cpp:
4171 * Drosera/win/ServerConnection.h:
4172 * DumpRenderTree/win/DumpRenderTree.cpp:
4173 * DumpRenderTree/win/EditingDelegate.h:
4174 * DumpRenderTree/win/EventSender.cpp:
4175 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4176 * DumpRenderTree/win/FrameLoadDelegate.h:
4177 * DumpRenderTree/win/GCControllerWin.cpp:
4178 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4179 * DumpRenderTree/win/PolicyDelegate.h:
4180 * DumpRenderTree/win/ResourceLoadDelegate.h:
4181 * DumpRenderTree/win/UIDelegate.cpp:
4182 * DumpRenderTree/win/UIDelegate.h:
4183 * DumpRenderTree/win/WorkQueueItemWin.cpp:
4185 2008-02-10 Dan Bernstein <mitz@apple.com>
4187 Reviewed by Oliver Hunt.
4191 * DumpRenderTree/cg/ImageDiffCG.cpp:
4192 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
4193 and leaking the buffer each time.
4195 2008-02-07 Adam Roben <aroben@apple.com>
4197 Fix error in bisect-builds when responding "broken" for the first
4200 Reviewed by Dave Kilzer.
4202 * Scripts/bisect-builds: Only try to test the build if the nightly
4203 info for the current index has not been deleted.
4205 2008-02-07 Geoffrey Garen <ggaren@apple.com>
4207 Reviewed by Alexey Proskuryakov.
4209 Fixed two minor typos in the --root option, to get it working.
4211 * Scripts/run-sunspider:
4212 1. Actually assign the function argument to our local variable.
4213 2. Actually set the $root variable, so we don't try to build later.
4215 2008-02-05 Oliver Hunt <oliver@apple.com>
4219 Re-enable foreignObject by default as it is needed for a number of non-fO
4220 related SVG tests and none of the old known crashes occur anymore.
4222 * Scripts/build-webkit:
4224 2008-02-05 Steve Falkenburg <sfalken@apple.com>
4226 Build fix. Don't override intermediate directory.
4228 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4230 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
4232 Build fix for Windows. willCloseFrame is a pure virtual and we are
4233 forced to have an implementation.
4235 This partially reverts r30014.
4237 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4238 (FrameLoadDelegate::willCloseFrame):
4239 * DumpRenderTree/win/FrameLoadDelegate.h:
4241 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
4245 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
4247 * Scripts/make-js-test-wrappers:
4249 2008-02-05 Holger Freyther <zecke@selfish.org>
4251 Reviewed by Darin Adler.
4253 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
4254 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
4255 depends on the order the tests are executed.
4257 Propose to remove willCloseFrame and didlCearWindowObject output from the
4258 FrameLoadDelegate and update the test results. The output of didClearWindowObject
4259 is not interesting for any of the current tests and we have other ways to find
4260 out if a frame was closed or not.
4262 * DumpRenderTree/mac/FrameLoadDelegate.mm:
4263 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4264 (FrameLoadDelegate::didClearWindowObject):
4265 * DumpRenderTree/win/FrameLoadDelegate.h:
4267 2008-02-04 Mark Rowe <mrowe@apple.com>
4269 Reviewed by Oliver Hunt.
4271 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
4272 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
4274 Don't install the signal handler unless we are running the pixel tests.
4275 It is currently only used to restore the color profile, but by catching
4276 signals we can trigger a deadlock in DRT while running leak tests.
4277 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
4278 and a more complete fix will need to be developed to address this for
4279 pixel tests as well.
4281 * DumpRenderTree/mac/DumpRenderTree.mm:
4284 2008-02-04 Mark Rowe <mrowe@apple.com>
4286 Gtk qmake build fix.
4288 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
4290 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
4292 Reviewed by Alp Toker and Mark Rowe.
4294 http://bugs.webkit.org/show_bug.cgi?id=16618
4295 [GTK] build-webkit and run-webkit-tests autootools support
4297 * Scripts/build-webkit: added --database and --icon-database options
4298 * Scripts/run-launcher:
4299 * Scripts/run-webkit-tests:
4300 * Scripts/webkitdirs.pm:
4302 2008-02-04 Oliver Hunt <oliver@apple.com>
4304 Reviewed by Steve F.
4306 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
4308 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
4310 * Uses Sleep() to implement leapForward reliably.
4311 * 3 DND tests still fail for reasons that i have not yet determined
4312 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
4314 * DumpRenderTree/win/EventSender.cpp:
4315 (leapForwardCallback):
4316 (mouseDownCallback):
4320 (mouseMoveToCallback):
4321 Minor updates to these functions to handle the different message queue structure.
4323 (replaySavedEvents):
4324 More complicated now. Where possible we just use the old while-loop model of execution,
4325 but when leapForward has been used we have to jump through some hoops and set up an
4326 inner event loop so that we can ensure messages get the correct time stamp.
4328 * DumpRenderTree/win/UIDelegate.cpp:
4329 (UIDelegate::doDragDrop):
4330 Call replaySavedEvents directly to force synchronous handling of drag and drop.
4332 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
4334 Reviewed by Alp Toker and Mark Rowe.
4336 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
4337 Bug 17175: Use of C++ compiler flags in CFLAGS
4339 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
4341 2008-02-04 Darin Adler <darin@apple.com>
4345 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
4346 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
4349 2008-02-04 Adam Roben <aroben@apple.com>
4351 Windows Apple-only build fix
4353 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
4356 2008-02-04 Alp Toker <alp@atoker.com>
4358 Rubber-stamped by Mark Rowe.
4360 Remove all trailing whitespace in the GTK+ port and related
4363 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
4364 * DumpRenderTree/gtk/GCControllerGtk.cpp:
4365 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4368 2008-02-01 Eric Seidel <eric@webkit.org>
4372 Also search LayoutTests/svg for js-based tests.
4374 * Scripts/make-js-test-wrappers:
4376 2008-01-31 Alp Toker <alp@atoker.com>
4378 Rubber-stamped by Adam Roben.
4380 http://bugs.webkit.org/show_bug.cgi?id=17006
4381 [GTK] Header path should be webkit/webkit.h
4383 Move the GTK+ API sources as needed and update the build systems.
4385 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4386 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
4387 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
4389 * GtkLauncher/main.c:
4391 2008-01-30 Stephanie <slewis@apple.com>
4395 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.
4397 * Scripts/run-webkit-tests:
4399 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
4401 Reviewed by Adam Roben.
4403 One more debug (external) fix.
4405 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
4406 and Debug configurations.
4408 2008-01-29 Geoffrey Garen <ggaren@apple.com>
4410 Reviewed by Sam Weinig. Sam Weinig.
4412 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
4413 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
4415 Modified our policy delegates not to output window.name. Since a
4416 previous test may have explicitly set window.name, we can't rely on its
4417 implicit value in test results.
4419 * DumpRenderTree/mac/PolicyDelegate.mm:
4420 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
4422 * DumpRenderTree/win/PolicyDelegate.cpp:
4423 (PolicyDelegate::decidePolicyForNavigationAction):
4425 2008-01-29 Mark Rowe <mrowe@apple.com>
4427 Reviewed by Tim Hatcher.
4429 <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).
4431 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
4433 2008-01-29 David Kilzer <ddkilzer@apple.com>
4435 Refactor ChangeLog path code
4439 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
4440 duplicate code in another foreach() loop.
4442 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
4444 Reviewed by Darin Adler.
4446 <rdar://problem/5710692> All storage tests fail/crash
4448 * DumpRenderTree/mac/UIDelegate.mm:
4449 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
4450 arbitrary quota of 5 megabytes.
4452 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
4453 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
4454 Removed unused (I think) code.
4456 * DumpRenderTree/win/UIDelegate.cpp:
4457 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
4458 (UIDelegate::webViewPainted): A stub implementation.
4459 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
4460 * DumpRenderTree/win/UIDelegate.h:
4462 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
4464 GTK+ DRT build fix for breakage introduced in r29822.
4466 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4467 (LayoutTestController::setPersistentUserStyleSheetLocation):
4468 (LayoutTestController::clearPersistentUserStyleSheet):
4470 2008-01-27 Dan Bernstein <mitz@apple.com>
4472 Reviewed by Darin Adler.
4474 - add support for directory prologues and epilogues to run-webkit-tests
4475 - allow setting a persistent user style sheet in DumpRenderTree
4476 - activate the WebKit Layout Tests font in Windows DumpRenderTree
4478 * DumpRenderTree/LayoutTestController.cpp:
4479 (clearPersistentUserStyleSheetCallback): Added.
4480 (setPersistentUserStyleSheetLocationCallback): Added.
4481 (LayoutTestController::staticFunctions): Added.
4482 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
4483 * DumpRenderTree/LayoutTestController.h:
4484 * DumpRenderTree/mac/DumpRenderTree.mm:
4485 (setPersistentUserStyleSheetLocation): Added.
4486 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
4487 to the set of things this function resets. Now it either disables the
4488 user style sheet or sets it to the persistent user style sheet and
4490 * DumpRenderTree/mac/DumpRenderTreeMac.h:
4491 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4492 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
4493 (LayoutTestController::clearPersistentUserStyleSheet): Added.
4494 * DumpRenderTree/win/DumpRenderTree.cpp:
4495 (setPersistentUserStyleSheetLocation): Added.
4496 (initialize): Added the WebKit Layout Tests font to the set of fonts to
4498 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
4499 * DumpRenderTree/win/DumpRenderTreeWin.h:
4500 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4501 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
4502 (LayoutTestController::clearPersistentUserStyleSheet): Added.
4503 * Scripts/run-webkit-tests: Changed to look for, and if found process in
4504 DumpRenderTree, files named run-webkit-tests-prologue.html and
4505 run-webkit-tests-epilogue.html in the resources subdirectory of any
4506 test directory and platform test results directory. The prologues are
4507 processed before the first test from the directory (and its
4508 subdirectories) is run, and the epilogues are processed after the last
4509 test from the directory is run. Platform-specific prologues and
4510 epilogues are processed in order of specificity.
4512 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
4514 Reviewed by Mark Rowe.
4516 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
4518 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
4520 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
4522 2008-01-24 Sam Weinig <sam@webkit.org>
4524 Reviewed by Ada Chan.
4526 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
4528 - Adds simplified UndoManager to windows DRT to allow testing the
4529 undo/redo code paths in WebCore and WebKit. This is a temporary
4530 solution to an issue that should eventually be solved by having a
4531 shared UndoManager in WebKit.
4533 * DumpRenderTree/win/DumpRenderTree.cpp:
4535 * DumpRenderTree/win/UIDelegate.cpp:
4536 (DRTUndoObject::DRTUndoObject):
4537 (DRTUndoObject::invoke):
4538 (DRTUndoStack::~DRTUndoStack):
4539 (DRTUndoStack::isEmpty):
4540 (DRTUndoStack::clear):
4541 (DRTUndoStack::push):
4542 (DRTUndoStack::pop):
4543 (DRTUndoManager::canRedo):
4544 (DRTUndoManager::canUndo):
4545 (DRTUndoManager::DRTUndoManager):
4546 (DRTUndoManager::removeAllActions):
4547 (DRTUndoManager::registerUndoWithTarget):
4548 (DRTUndoManager::redo):
4549 (DRTUndoManager::undo):
4550 (UIDelegate::UIDelegate):
4551 (UIDelegate::resetUndoManager):
4552 (UIDelegate::registerUndoWithTarget):
4553 (UIDelegate::removeAllActionsWithTarget):
4554 (UIDelegate::setActionTitle):
4557 (UIDelegate::canUndo):
4558 (UIDelegate::canRedo):
4559 * DumpRenderTree/win/UIDelegate.h:
4561 2008-01-23 Adam Roben <aroben@apple.com>
4563 Allow directories containing ChangeLogs to be passed to
4566 Reviewed by David Kilzer.
4568 * Scripts/resolve-ChangeLogs:
4569 (sub findChangeLog): Return a ChangeLog contained within the specified
4570 directory if one exists.
4572 2008-01-23 Steve Falkenburg <sfalken@apple.com>
4574 <rdar://problem/5698732> Copyright strings should include 2008
4578 * Drosera/win/Drosera.vcproj/Drosera.rc:
4579 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
4581 2008-01-23 Alp Toker <alp@atoker.com>
4583 Rubber-stamped by Mark Rowe.
4585 Remove whitespace after -I in automake include lists.
4589 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
4591 Reviewed by Lars Knoll <lars@trolltech.com>.
4593 Reworked the JavaScriptCore Qt bindings:
4595 * Update JS DRT controller for Qt JS binding changes.
4596 There were two functions that needed some changes
4597 so that the layout tests would work, so this makes
4598 a few tests pass again.
4600 * Bump the timeout for layout tests up to 11s.
4601 At least some tests have an internal timeout of
4602 10 seconds, so make the waitUntilDone approach
4603 wait at least 11s. fast/dom/open-and-close-by-DOM.html
4604 is one of these - now the failure message is more
4608 * DumpRenderTree/qt/jsobjects.cpp:
4609 (LayoutTestController::waitUntilDone):
4610 * DumpRenderTree/qt/jsobjects.h:
4612 2008-01-22 Anders Carlsson <andersca@apple.com>
4614 Reviewed by Darin and Adam.
4616 <rdar://problem/5688975>
4617 div element on microsoft site has wrong left offset.
4619 Add new method for testing the return vale of NPN_GetProperty.
4621 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4624 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
4626 Reviewed by Adam Roben.
4628 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
4630 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
4632 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
4634 Reviewed by Alp Toker.
4636 http://bugs.webkit.org/show_bug.cgi?id=16955
4637 Get errors when cross-compile webkit-gtk
4639 * GNUmakefile.am: Removed ICU_CFLAGS
4641 2008-01-21 Darin Adler <darin@apple.com>
4643 Reviewed by Mitz and Adam.
4645 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
4646 sorting speed by doing all sort criteria in a single pass instead of three sorts.
4648 2008-01-21 Simon Hausmann <hausmann@webkit.org>
4652 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
4654 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
4655 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
4656 and make the return value depend on whether we successfully determined a focusable
4658 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
4659 if we could not handle the focus chain ourselves.
4660 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
4661 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
4662 used to control the situation of stepping out of the focus chain inside the page.
4663 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
4664 The layout tests expect this to be disabled but for the user it seems sensible to have it
4665 on by default, hence the default in qwebsettings.cpp
4668 * DumpRenderTree/qt/DumpRenderTree.cpp:
4669 (WebCore::WebPage::WebPage):
4671 2008-01-19 Mark Rowe <mrowe@apple.com>
4673 Reviewed by Alp Toker.
4675 Allow the --http flag to run-webkit-tests to override
4676 the default behaviour of disabling HTTP tests for Qt,
4679 * Scripts/run-webkit-tests:
4681 2008-01-19 David Kilzer <ddkilzer@apple.com>
4683 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
4685 Reviewed by Darin Adler.
4687 We now touch a check-for-global-initializers.timestamp file in
4688 the TARGET_TEMP_DIR directory to determine when new object files
4689 have been compiled and thus need to be checked. If the timestamp
4690 file doesn't exist, all object files will be checked.
4692 Previously the modification time of the "executable" (the
4693 framework binary, e.g., WebKit.framework/WebKit) was used, but
4694 since this was the last file modified at the end of the compile
4695 phase, no object files would ever get checked!
4697 Also added JSCustomSQLTransactionCallback.o to the list of files
4698 since it has static initializers in Debug builds of WebCore.
4700 * Scripts/check-for-global-initializers:
4702 2008-01-18 Adam Roben <aroben@apple.com>
4706 * Scripts/build-webkit:
4708 2008-01-18 Beth Dakin <bdakin@apple.com>
4712 Update build-webkit to account for foreign-object being disabled by
4715 * Scripts/build-webkit:
4717 2008-01-18 Adam Roben <aroben@apple.com>
4719 Updated for method renames
4723 * DumpRenderTree/mac/FrameLoadDelegate.mm:
4724 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
4725 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4726 (LayoutTestController::setMainFrameIsFirstResponder):
4727 (LayoutTestController::setWindowIsKey):
4728 * DumpRenderTree/mac/UIDelegate.mm:
4729 (-[UIDelegate webViewFocus:]):
4730 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4731 (FrameLoadDelegate::didCommitLoadForFrame):
4733 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
4735 Reviewed by Adam Roben.
4737 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
4738 between DRT and TestNetscapePlugin.
4740 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
4741 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
4743 2008-01-18 Simon Hausmann <hausmann@webkit.org>
4747 Fix fast/dom/Window/window-resize.html
4749 In DRT connect the page's geometryChangeRequest signal to a slot that
4750 sets the geometry of the view widget.
4753 * DumpRenderTree/qt/DumpRenderTree.cpp:
4754 (WebCore::WebPage::setViewGeometry):
4755 (WebCore::WebPage::WebPage):
4757 2008-01-17 Steve Falkenburg <sfalken@apple.com>
4761 * Drosera/DroseraWin.make:
4763 2008-01-17 Darin Adler <darin@apple.com>
4765 * Scripts/run-webkit-tests: Fixed a bug number.
4767 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
4769 Reviewed by Adam Roben.
4771 http://bugs.webkit.org/show_bug.cgi?id=16908
4772 run-webkit-tests complains about missing FindSafari.exe
4774 * Scripts/webkitdirs.pm: Append _debug as appropriate.
4776 2008-01-17 Steve Falkenburg <sfalken@apple.com>
4778 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
4780 Rubber-stamped by Jon Honeycutt.
4782 * DumpRenderTree/win/DumpRenderTree.vcproj:
4784 2008-01-16 Alp Toker <alp@atoker.com>
4786 Reviewed by Mark Rowe.
4788 http://bugs.webkit.org/show_bug.cgi?id=16218
4789 [GTK] API: Should this entry point be called go_back rather than go_backward?
4791 Track back/forward API changes in the tools.
4793 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
4794 (BackForwardItem::invoke):
4795 * GtkLauncher/main.c:
4798 2008-01-16 Adam Roben <aroben@apple.com>
4800 Windows build fix after r29488
4802 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4803 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
4804 expects to find the plugin.
4806 2008-01-11 Geoffrey Garen <ggaren@apple.com>
4808 Reviewed by Sam Weinig.
4810 Fixed the waitUntilDone watchdog timer -- the old code never added the
4811 timer to the run loop, so it didn't do anything.
4813 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4814 (LayoutTestController::setWaitToDump):
4815 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4816 (LayoutTestController::setWaitToDump):
4818 2008-01-14 Steve Falkenburg <sfalken@apple.com>
4820 Use shared vsprops for most vcproj properties.
4822 Reviewed by Darin Adler.
4824 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4825 * DumpRenderTree/win/DumpRenderTree.vcproj:
4826 * DumpRenderTree/win/ImageDiff.vcproj:
4827 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4828 * FindSafari/FindSafari.vcproj:
4830 2008-01-14 Stephanie <slewis@apple.com>
4834 revert accidental character.
4836 * Scripts/run-webkit-tests:
4838 2008-01-14 Stephanie <slewis@apple.com>
4842 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
4844 * Scripts/run-webkit-tests:
4846 2008-01-14 Darin Adler <darin@apple.com>
4848 * Scripts/do-webcore-rename: Queue up another rename.
4850 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4852 Reviewed by Darin Adler.
4854 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
4856 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
4858 * Scripts/run-webkit-tests:
4860 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4862 Reviewed by Darin Adler.
4864 * Randomize tests array to spot test cases where the results depends on the order
4866 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
4868 * Scripts/run-webkit-tests:
4870 2008-01-14 Darin Adler <darin@apple.com>
4872 * Scripts/run-webkit-tests: More ignore list tweaking.
4874 2008-01-14 Darin Adler <darin@apple.com>
4876 * Scripts/run-webkit-tests: Add another leak to the ignore list.
4878 2008-01-14 Dan Bernstein <mitz@apple.com>
4880 Reviewed by Adam Roben.
4882 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
4885 * DumpRenderTree/win/DumpRenderTree.cpp:
4886 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
4888 2008-01-13 Steve Falkenburg <sfalken@apple.com>
4890 Share common files across projects.
4893 Debug: common.vsprops, debug.vsprops
4894 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
4895 Release: common.vsprops, release.vsprops
4897 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
4898 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
4900 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
4902 Reviewed by Adam Roben.
4904 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4905 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
4906 * Drosera/win/Drosera.vcproj/VERSION: Removed.
4907 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
4908 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
4909 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
4910 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
4911 * DumpRenderTree/win/DumpRenderTree.vcproj:
4912 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4913 * DumpRenderTree/win/debug.vsprops: Removed.
4914 * DumpRenderTree/win/debug_internal.vsprops: Removed.
4915 * DumpRenderTree/win/release.vsprops: Removed.
4917 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
4921 - http://bugs.webkit.org/show_bug.cgi?id=16314
4922 Script to launch Drosera
4924 * Scripts/gdb-drosera: Added.
4925 * Scripts/run-drosera: Added.
4926 * Scripts/run-drosera-nightly.cmd: Added.
4927 * Scripts/webkitdirs.pm: Added runDrosera function.
4929 2008-01-13 Dan Bernstein <mitz@apple.com>
4931 - fix breakage due to last-minute change
4933 * DumpRenderTree/win/DumpRenderTree.cpp:
4934 (runTest): Declare the loop variable.
4936 2008-01-13 Dan Bernstein <mitz@apple.com>
4938 Reviewed by Adam Roben.
4940 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
4942 * DumpRenderTree/win/DumpRenderTree.cpp:
4943 (DumpRenderTreeWndProc):
4945 (dumpBackForwardList):
4946 (dumpBackForwardListForAllWindows):
4948 (resetWebViewToConsistentStateBeforeTesting): Factored out of
4951 (allWindows): Added. Returns a vector of all open windows.
4952 (windowToWebViewMap): Added. Returns a map from open windows to their
4954 (createWebViewAndOffscreenWindow): Factored out of main() to be
4955 reusable for creating extra windows.
4957 * DumpRenderTree/win/DumpRenderTreeWin.h:
4958 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4959 (LayoutTestController::windowCount): Implemented.
4960 * DumpRenderTree/win/UIDelegate.cpp:
4961 (UIDelegate::createWebViewWithRequest): Implemented.
4962 (UIDelegate::webViewClose): Implemented.
4963 * DumpRenderTree/win/UIDelegate.h:
4965 2008-01-12 Alp Toker <alp@atoker.com>
4967 Reviewed by Mark Rowe.
4969 Hide non-public symbols in GTK+/autotools release builds.
4973 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4977 * Make launching of the WebKit httpd work on GNU/Debian/Linux
4979 The configuration of Apache2 and installation does not depend on
4980 the kernel but on the distribution policy. Make launching of httpd
4981 work for Debian derived distributions.
4983 * Scripts/run-webkit-httpd:
4984 * Scripts/run-webkit-tests:
4985 * Scripts/webkitdirs.pm:
4987 2008-01-12 Mark Rowe <mrowe@apple.com>
4989 Reviewed by Maciej Stachowiak.
4991 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
4993 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
4994 match the callers expectations that it can take ownership of the string.
4996 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
4998 Reviewed by Adam Roben.
5000 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
5002 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
5003 as these are only posted because the test window is not a normal visible one, and
5004 they confuse drag&drop machinery.
5006 2008-01-11 Adam Roben <aroben@apple.com>
5008 Fix a crash when pathToLocalResource fails and a leak
5010 Reviewed by Darin Adler.
5012 * DumpRenderTree/LayoutTestController.cpp:
5013 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
5014 sure not to pass null to JSValueMakeString.
5015 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5016 (LayoutTestController::pathToLocalResource): Print an error message if
5017 the conversion fails so it's clear what happened.
5019 2008-01-11 Geoffrey Garen <ggaren@apple.com>
5021 Reviewed by John Sullivan.
5023 * DumpRenderTree/mac/GCControllerMac.mm:
5024 (GCController::collectOnAlternateThread): Updated for name change.
5026 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
5028 wx build fix. Don't build dftables any longer since it's now a Perl
5031 * wx/build-wxwebkit:
5033 2008-01-10 Sam Weinig <sam@webkit.org>
5035 Reviewed by Anders Carlsson.
5037 Make DRT track open windows instead of allocated windows so that
5038 we can avoid ASSERTION due to late deallocs out of our control.
5040 * DumpRenderTree/mac/DumpRenderTree.mm:
5041 (dumpBackForwardListForAllWindows):
5043 * DumpRenderTree/mac/DumpRenderTreeMac.h:
5044 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
5045 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
5046 (+[DumpRenderTreeWindow openWindows]):
5047 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
5048 (-[DumpRenderTreeWindow close]):
5049 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5050 (LayoutTestController::windowCount):
5052 2008-01-10 Ada Chan <adachan@apple.com>
5054 Meta key is not the same as Alt key on windows.
5056 Reviewed by Darin Adler.
5058 * DumpRenderTree/win/EventSender.cpp:
5061 2008-01-09 Kevin McCullough <kmccullough@apple.com>
5063 Reviewed by Darin, Sam and Adam.
5065 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
5066 link in gmail message displays JavaScript alert falsely complaining
5067 about pop-up blocking.
5068 - Added the ability to enable the pop-up blocker via the
5069 LayoutTestController.
5071 * DumpRenderTree/LayoutTestController.cpp:
5072 (setPopupBlockingEnabledCallback):
5073 (LayoutTestController::staticFunctions):
5074 * DumpRenderTree/LayoutTestController.h:
5075 * DumpRenderTree/mac/DumpRenderTree.mm:
5076 (setDefaultsToConsistentValuesForTesting):
5077 (resetWebViewToConsistentStateBeforeTesting):
5078 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5079 (LayoutTestController::setPopupBlockingEnabled):
5081 2008-01-10 Lars Knoll <lars@trolltech.com>
5085 rename QWebPageHistory to QWebHistory.
5088 * DumpRenderTree/qt/jsobjects.cpp:
5090 2008-01-09 Maciej Stachowiak <mjs@apple.com>
5092 Reviewed by Darin Adler.
5094 - add some more renames, adjust some
5096 * Scripts/do-webcore-rename:
5098 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
5102 Enable SVG Fonts support by default.
5104 * Scripts/build-webkit:
5106 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
5110 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
5111 DRT doesn't handle platform specific pixel test results correctly.
5113 <test>-expected.txt files and <test>-expected.png files may now live
5114 in different directories (ie. a cross-platform <test>-expected.txt file
5115 and a platform-specific <test>-expected.png file).
5117 * Scripts/run-webkit-tests:
5119 2008-01-04 Kevin McCullough <kmccullough@apple.com>
5121 Reviewed by Darin Adler.
5123 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
5124 DRT did not correctly handle printing the '\0' char. Now it does.
5126 * DumpRenderTree/win/DumpRenderTree.cpp:
5130 2008-01-07 Simon Hausmann <hausmann@webkit.org>
5134 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
5137 * DumpRenderTree/qt/main.cpp:
5138 * DumpRenderTree/qt/testplugin.cpp:
5139 * DumpRenderTree/qt/testplugin.h:
5141 2008-01-05 Mark Rowe <mrowe@apple.com>
5143 Reviewed by Alp Toker.
5145 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
5147 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5148 (processWork): Process pending work.
5149 (webViewLoadFinished): Schedule processing of pending work.
5150 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
5152 2008-01-05 Darin Adler <darin@apple.com>
5154 * Scripts/do-webcore-rename: Some more renaming plans.
5156 2008-01-04 Alice Liu <alice.liu@apple.com>
5158 Reviewed by Alexey and Darin.
5160 Adding "home" and "end" to DRT's keydown since
5161 DOM key events can't handle keyIdentifiers at this point.
5163 * DumpRenderTree/mac/EventSendingController.mm:
5164 (-[EventSendingController keyDown:withModifiers:]):
5165 * DumpRenderTree/win/EventSender.cpp:
5168 2008-01-04 Lars Knoll <lars@trolltech.com>
5172 fix DRT after the changes to QWebPage.
5174 The great thing is that we actually don't have
5175 any regressions from the QWebPage change :)
5178 * DumpRenderTree/qt/DumpRenderTree.cpp:
5179 (WebCore::DumpRenderTree::DumpRenderTree):
5181 2008-01-04 Lars Knoll <lars@trolltech.com>
5185 make QWebPage a QObject and get things to compile.
5187 Nothing works currently though.
5190 * DumpRenderTree/qt/DumpRenderTree.cpp:
5191 (WebCore::DumpRenderTree::DumpRenderTree):
5193 2008-01-04 Lars Knoll <lars@trolltech.com>
5197 take a QString as identifier in QWebFrame::addToJSWindowObject.
5199 * DumpRenderTree/qt/DumpRenderTree.cpp:
5200 (WebCore::DumpRenderTree::initJSObjects):
5202 2008-01-04 Alp Toker <alp@atoker.com>
5204 GTK+ DRT build fix for breakage introduced in r29149.
5206 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5207 (LayoutTestController::execCommand):
5209 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
5211 Reviewed by Darin Adler.
5213 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
5215 Added layoutTestController.execCommand to access editor commands that are not available
5216 via document.execCommand.
5218 * DumpRenderTree/LayoutTestController.cpp:
5219 (execCommandCallback):
5220 (LayoutTestController::staticFunctions):
5221 * DumpRenderTree/LayoutTestController.h:
5222 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5223 (LayoutTestController::execCommand):
5224 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5225 (LayoutTestController::queueLoad):
5226 (LayoutTestController::execCommand):
5228 2008-01-03 Alice Liu <alice.liu@apple.com>
5230 Reviewed by Darin, Mitz.
5232 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
5234 the clickcount should not increase if the last click was at a different location. it's a new click.
5236 * DumpRenderTree/mac/DumpRenderTree.mm:
5238 * DumpRenderTree/mac/EventSendingController.h:
5239 * DumpRenderTree/mac/EventSendingController.mm:
5240 (-[EventSendingController mouseDown]):
5241 (-[EventSendingController mouseUp]):
5243 2008-01-03 Darin Adler <darin@apple.com>
5247 * Scripts/update-webkit: Make this work a little better for the people at Apple
5248 who have a directory named Internal.
5250 2008-01-03 Adam Roben <aroben@apple.com>
5252 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
5254 Rubberstamped by Mark.
5256 * Scripts/update-webkit-auxiliary-libs:
5258 2008-01-03 Adam Roben <aroben@apple.com>
5260 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
5262 http://bugs.webkit.org/show_bug.cgi?id=15663
5264 Added a fuzz factor into the Last-Modified comparison for downloading
5265 WebKitAuxiliaryLibrary.zip.
5267 The zip file is served from a set of mirrors who give Last-Modified
5268 times that are off by 1-3 seconds from each other. This was causing
5269 the build bots to redownload WebKitAuxiliaryLibrary for every build,
5270 which would then cause all of WebCore to rebuild each time.
5274 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
5275 at least 30 seconds newer than the old one -- otherwise we assume that
5276 the difference in time is due to the mirrors being slightly offset
5278 (sub lastModifiedToUnixTime): Added.
5280 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
5284 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
5286 2008-01-03 Simon Hausmann <hausmann@webkit.org>
5290 Moved QWebPage::open to QWebFrame::load and added setHtml.
5293 * DumpRenderTree/qt/DumpRenderTree.cpp:
5294 (WebCore::DumpRenderTree::open):
5296 2008-01-03 Simon Hausmann <hausmann@webkit.org>
5300 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
5303 * DumpRenderTree/qt/DumpRenderTree.cpp:
5304 (WebCore::DumpRenderTree::DumpRenderTree):
5306 2008-01-02 Sam Weinig <sam@webkit.org>
5308 * Scripts/do-webcore-rename: Yet more renaming ideas.
5310 2008-01-02 Darin Adler <darin@apple.com>
5312 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
5314 2008-01-02 Alice Liu <alice.liu@apple.com>
5316 Reviewed by Sam Weinig.
5318 fixing assertion hit with editing/selection/move-begin-end.html
5320 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
5321 * DumpRenderTree/win/DumpRenderTree.vcproj:
5322 * DumpRenderTree/win/EventSender.cpp:
5324 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
5326 2008-01-02 Darin Adler <darin@apple.com>
5328 * Scripts/do-webcore-rename: Some more name change plans.
5330 2008-01-02 Alice Liu <alice.liu@apple.com>
5334 Added handling for page up and page down in EventSender
5336 * DumpRenderTree/mac/EventSendingController.mm:
5337 (-[EventSendingController keyDown:withModifiers:]):
5338 * DumpRenderTree/win/EventSender.cpp:
5341 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
5343 Reviewed by Darin Adler.
5345 Fix fast/events/arrow-keys-on-body.html for real.
5347 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
5349 2008-01-02 Luca Bruno <lethalman88@gmail.com>
5351 Reviewed by Darin Adler.
5353 http://bugs.webkit.org/show_bug.cgi?id=16674
5354 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
5356 * Scripts/run-launcher:
5358 2007-12-31 Darin Adler <darin@apple.com>
5362 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
5363 we get it installed on the build bots.
5365 2007-12-30 Eric Seidel <eric@webkit.org>
5369 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
5371 2007-12-29 Darin Adler <darin@apple.com>
5375 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
5376 leak bot shows createCStringFromNPVariant result leaking
5378 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5379 (pluginInvoke): Added a missing free.
5381 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
5383 Reviewed by Alp Toker.
5385 http://bugs.webkit.org/show_bug.cgi?id=16390
5386 Use autotools or GNU make as the build system for the GTK port
5388 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
5389 * GNUmakefile.am: Added.
5391 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
5395 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
5397 * DumpRenderTree/win/EventSender.cpp:
5398 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
5399 of 1, even though WebKit currently ignores it.
5401 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
5403 wx buildbot fix. Update libpng dl script to the latest version.
5405 * wx/install-unix-extras:
5407 2007-12-22 Antti Koivisto <antti@apple.com>
5411 * Scripts/webkitdirs.pm:
5413 2007-12-21 Sam Weinig <sam@webkit.org>
5415 Reviewed by Mark Rowe.
5417 - Disable the back/forward cache using the new WebPreferences API
5418 instead of through the BackForwardList. This makes us match what
5421 * DumpRenderTree/mac/DumpRenderTree.mm:
5422 (createWebViewAndOffscreenWindow):
5423 (setDefaultsToConsistentValuesForTesting):
5425 2007-12-21 Dan Bernstein <mitz@apple.com>
5427 Reviewed by Mark Rowe.
5429 - disable the back/forward cache in Windows DumpRenderTree. It is
5430 already disabled in Mac DumpRenderTree.
5432 * DumpRenderTree/win/DumpRenderTree.cpp:
5433 (initializePreferences):
5435 2007-12-13 Antti Koivisto <antti@apple.com>
5437 Reviewed by Darin and Steve.
5439 - check for QuickTime SDK on Windows.
5440 - build media support on Windows by default
5442 * Scripts/build-webkit:
5443 * Scripts/webkitdirs.pm:
5445 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
5447 Build script fix for buildbot.
5449 * wx/build-wxwebkit:
5451 2007-12-20 Eric Seidel <eric@webkit.org>
5455 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
5457 2007-12-20 Kevin McCullough <kmccullough@apple.com>
5461 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
5464 - Drosera and Safari need to use the same ProgIDs in order for
5465 CoCreateInstance to work properly. The most robust way to do this is
5466 for WebKit to dynamically publish those ProgIDs.
5468 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
5469 (DebuggerClient::createWebViewWithRequest):
5470 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
5474 (Drosera::attemptToCreateServerConnection):
5475 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
5476 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
5477 make use of the published ProgIDs.
5478 (ServerConnection::attemptToCreateServerConnection):
5480 2007-12-20 Kevin McCullough <kmccullough@apple.com>
5482 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
5483 - Build bot and leak fix.
5485 * DumpRenderTree/LayoutTestController.cpp:
5486 (pathToLocalResourceCallback):
5488 2007-12-19 David Kilzer <ddkilzer@apple.com>
5490 Make svn-apply/svn-unapply work with patches from git-format-patch.
5492 Reviewed by Darin Adler.
5494 * Scripts/svn-apply:
5495 (patch): If 'Index:' can't be found in the text passed in, print it
5496 out with a warning and return early.
5497 * Scripts/svn-unapply:
5500 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
5502 Reviewed by Alp Toker.
5504 Build related fixes.
5506 * wx/build-wxwebkit:
5507 - Check to make sure the user is running a supported wx port
5508 - More robust checks for Cygwin
5509 - Only run install-unix-extras on Mac, it's not the right solution
5511 - Remove outdated Linux instructions after successful build
5512 - Clean Bakefile-generated files during a clean operation
5514 2007-12-18 Darin Adler <darin@apple.com>
5516 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
5518 2007-12-18 Steve Falkenburg <sfalken@apple.com>
5520 Add script to run Drosera as part of the nightly.
5522 Reviewed by Kevin M.
5524 * Scripts/run-drosera.cmd: Added.
5526 2007-12-18 Darin Adler <darin@apple.com>
5528 * Scripts/do-webcore-rename: Remove a stray K.
5530 2007-12-18 Darin Adler <darin@apple.com>
5532 * Scripts/do-webcore-rename: Plan more renaming.
5534 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
5536 Reviewed by Alp Toker.
5538 http://bugs.webkit.org/show_bug.cgi?id=16042
5539 [GTK] Eliminate webkit_init()
5541 Moving webkit initialization to WebView class init.
5543 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5545 * GtkLauncher/main.c:
5548 2007-12-17 Luca Bruno <lethalman88@gmail.com>
5550 Reviewed by Alp Toker.
5552 http://bugs.webkit.org/show_bug.cgi?id=13542
5553 gdklauncher doesnt change URL in adress GTKEntry.
5555 * GtkLauncher/main.c:
5556 (load_commit_cb): added
5560 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
5562 Reviewed by Adam Roben.
5564 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
5566 * FindSafari/FindSafari.cpp:
5569 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
5571 Reviewed by Adam Roben.
5573 http://bugs.webkit.org/show_bug.cgi?id=16315
5574 FindSafari needs a path-only option.
5576 * FindSafari/FindSafari.cpp:
5579 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
5581 Reviewed by Darin Adler.
5583 http://bugs.webkit.org/show_bug.cgi?id=16462
5584 REGRESSION: access keys broken on Windows
5586 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
5589 2007-12-15 Sam Weinig <sam@webkit.org>
5591 Reviewed by Mark Rowe.
5593 Fix urlSuitableForTestResult to correctly identify wstring::npos as
5594 the case when wstring.find doesn't find anything.
5596 * DumpRenderTree/win/DumpRenderTree.cpp:
5597 (urlSuitableForTestResult):
5599 2007-12-15 Alp Toker <alp@atoker.com>
5601 GTK+ DRT build fix for GLib < 2.14.
5603 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5604 (LayoutTestController::setWaitToDump):
5606 2007-12-05 Mark Rowe <mrowe@apple.com>
5608 Reviewed by Alp Toker.
5610 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
5611 many layout tests from hanging while waiting on user responses to dialogs.
5613 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5614 (invalidateAnyPreviousWaitToDumpWatchdog):
5615 (webViewScriptAlert):
5616 (webViewScriptPrompt):
5617 (webViewScriptConfirm):
5619 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
5620 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5621 (waitToDumpWatchdogFired):
5622 (LayoutTestController::setWaitToDump):
5624 2007-12-05 Mark Rowe <mrowe@apple.com>
5626 Reviewed by Alp Toker.
5628 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
5630 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5631 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
5634 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
5635 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
5636 work queue is empty.
5637 (webViewWindowObjectCleared): Set up window.layoutTestController.
5638 (webViewConsoleMessage): Match the console message format expected by the layout test results.
5639 (main): Hook up the new signals.
5640 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
5641 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
5642 dumping multiple times.
5643 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
5644 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
5646 2007-12-14 Anders Carlsson <andersca@apple.com>
5650 Assert that a web frame that's loading a resource always has either a data source or
5651 a provisional data source.
5653 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
5654 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
5656 2007-12-14 Darin Adler <darin@apple.com>
5658 - fix mistake causing nearly all tests to fail on Windows
5660 * DumpRenderTree/win/UIDelegate.cpp:
5661 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
5662 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
5664 * DumpRenderTree/mac/UIDelegate.mm:
5665 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
5666 than passing the entire message.
5668 2007-12-14 Darin Adler <darin@apple.com>
5672 * DumpRenderTree/mac/UIDelegate.mm:
5673 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
5674 new-to-Leopard methods.
5676 2007-12-14 Darin Adler <darin@apple.com>
5678 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
5679 since it now triggers unwanted icon loading. We only had it because we implemented "all"
5680 delegate methods here.
5682 2007-12-14 Anders Carlsson <andersca@apple.com>
5684 Reviewed by Darin and Geoff.
5686 <rdar://problem/5619295>
5687 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
5689 Add property getting methods to the plug-in.
5691 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5694 2007-12-14 Kevin McCullough <kmccullough@apple.com>
5696 Reviewed by Darin Adler.
5698 - Layout test fix for mac. When dumped to the console local file paths
5699 now only show the name of the resource not the whole path. This is to
5700 make the results machine and OS independent.
5702 * DumpRenderTree/mac/UIDelegate.mm:
5703 (-[UIDelegate webView:addMessageToConsole:]):
5705 2007-12-13 Kevin McCullough <kmccullough@apple.com>
5709 - Layout tests fix. We need a way to remove machine-dependent
5710 information from paths in layout test results. The UIDelegate now does
5713 * DumpRenderTree/DumpRenderTree.h:
5714 * DumpRenderTree/win/DumpRenderTree.cpp:
5715 (urlSuitableForTestResult):
5716 * DumpRenderTree/win/DumpRenderTreeWin.h:
5717 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
5718 * DumpRenderTree/win/UIDelegate.cpp:
5719 (UIDelegate::webViewAddMessageToConsole):
5721 2007-12-13 Alp Toker <alp@atoker.com>
5723 Build fix for DRT breakage introduced in r28690.
5725 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5726 (LayoutTestController::pathToLocalResource):
5728 2007-12-12 Kevin McCullough <kmccullough@apple.com>
5730 Reviewed by Alice and Sam.
5732 - <rdar://5621435> Need a way to specify local resources (being loaded
5733 from HTTP tests) on Windows.
5734 - Implemented pathToLocalResource which exposes the functionality of
5735 converting a given unix path to the correct location on Windows.
5737 * DumpRenderTree/LayoutTestController.cpp:
5738 (pathToLocalResourceCallback):
5739 (LayoutTestController::staticFunctions):
5740 * DumpRenderTree/LayoutTestController.h:
5741 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5742 (LayoutTestController::pathToLocalResource):
5743 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5744 (LayoutTestController::pathToLocalResource):
5746 2007-12-12 Anders Carlsson <andersca@apple.com>
5750 <rdar://problem/5132003>
5751 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
5753 * DumpRenderTree/win/DumpRenderTree.cpp:
5755 Set the resource load delegate.
5757 * DumpRenderTree/win/DumpRenderTree.vcproj:
5759 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
5760 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
5762 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
5764 Reviewed by Adam Roben.
5766 Fix conversion from double to LPARAM in dispatchMessage().
5768 * DumpRenderTree/win/EventSender.cpp:
5769 (dispatchMessageCallback):
5771 2007-12-11 Dan Bernstein <mitz@apple.com>
5773 Reviewed by Mark Rowe and Sam Weinig too!
5775 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
5776 fonts DumpRenderTree registers.
5778 * DumpRenderTree/win/DumpRenderTree.cpp:
5781 2007-12-11 Brady Eidson <beidson@apple.com>
5785 Make DumpRenderTree on mac use its own path for Databases testing
5787 * DumpRenderTree/mac/DumpRenderTree.mm:
5788 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
5789 for future DRT-only use, then use it to construct the Databases path and set that default
5791 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
5793 Reviewed by Darin Adler.
5795 <rdar://problem/5535636>
5796 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
5798 http://bugs.webkit.org/show_bug.cgi?id=13916
5799 JavaScript detects Tab as a character input on a textfield validation
5801 * DumpRenderTree/mac/EventSendingController.mm:
5802 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
5803 Dispatch a keyup to better match what happens when a key is physically pressed.
5805 * DumpRenderTree/win/EventSender.cpp:
5806 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
5807 returning from keyDown().
5808 (getConstantCallback): Fixed a couple copy/paste mistakes.
5810 2007-12-07 Kevin McCullough <kmccullough@apple.com>
5814 - <rdar://5599845> Drosera: Does not show loal files in the file list
5817 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
5818 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
5819 so the open source community can build.
5821 2007-12-10 Brady Eidson <beidson@apple.com>
5823 Rubberstamped by Sam Weinig
5825 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
5827 * DumpRenderTree/mac/UIDelegate.mm:
5828 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
5829 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
5831 2007-12-08 Oliver Hunt <oliver@apple.com>
5835 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
5837 Fixes <rdar://problem/5620249> Must disable SVG animation
5838 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
5840 In order to allow finer grained control over the set of SVG features
5841 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
5843 ENABLE_SVG_ANIMATION
5849 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
5851 Script handles all the new build flags, and allows --svg-experimental
5852 to automatically enable all features.
5854 * Scripts/build-webkit:
5856 2007-12-07 Steve Falkenburg <sfalken@apple.com>
5858 Fix version parsing.
5860 Rubber-stamped by Oliver.
5862 * Drosera/win/Drosera.vcproj/auto-version.sh:
5864 2007-12-07 Steve Falkenburg <sfalken@apple.com>
5866 Build modifications for Drosera.
5870 * Drosera/DroseraWin.make: Added.
5871 * Drosera/win/Drosera.vcproj/Drosera.rc:
5872 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
5873 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
5874 * Drosera/win/Drosera.vcproj/VERSION: Added.
5875 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
5877 2007-12-06 Adam Roben <aroben@apple.com>
5879 Explicitly turn on the Mac font ascent hack on Windows
5881 This keeps our font metrics matching those from Mac.
5885 * DumpRenderTree/win/DumpRenderTree.cpp:
5888 2007-12-06 Anders Carlsson <andersca@apple.com>
5890 Rename main.c to main.cpp here too.
5892 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
5894 2007-12-06 Sam Weinig <sam@webkit.org>
5896 Rubber stamped by Geoff.
5898 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
5900 2007-12-06 Darin Adler <darin@apple.com>
5902 * Scripts/do-webcore-rename: Some more renaming plans.
5904 2007-12-06 Anders Carlsson <andersca@apple.com>
5906 Restore implementation of testGetIntIdentifier that was accidentally
5907 removed somehow (possibly when I made PluginObject be a cpp file).
5909 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5912 2007-12-05 Anders Carlsson <andersca@apple.com>
5914 Make the entry points extern "C".
5915 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
5917 2007-12-05 Anders Carlsson <andersca@apple.com>
5921 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
5930 2007-12-05 Anders Carlsson <andersca@apple.com>
5932 Add the .cpp files to the TestNetscapePlugIn target.
5934 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5936 2007-12-05 Anders Carlsson <andersca@apple.com>
5940 Rename the TestNetscapePlugIn .c files to be .cpp.
5942 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5943 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
5944 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
5945 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
5946 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
5947 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
5948 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
5949 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
5951 2007-12-05 Adam Roben <aroben@apple.com>
5953 Fix case of keypresses from the Windows implementation of eventSender.keyDown
5955 This fixes several regression tests.
5959 * DumpRenderTree/win/EventSender.cpp:
5960 (keyDownCallback): Virtual keycodes for ASCII characters are always
5961 uppercase, so we need to check the case of the original character
5962 passed in to eventSender.keyDown.
5964 2007-12-05 Adam Roben <aroben@apple.com>
5966 Learn from Tim's mistakes
5968 * DumpRenderTree/win/DumpRenderTree.cpp:
5969 (runTest): Reset the authorAndUserStylesEnabled preference for each
5972 2007-12-05 Alp Toker <alp@atoker.com>
5974 Reviewed by Mark Rowe.
5976 Initialize GTK+ and WebKit so the tests can run.
5978 Reorganize the headers a little.
5980 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5983 2007-12-04 Anders Carlsson <andersca@apple.com>
5985 Remove IWebScriptScope include.
5987 * Drosera/win/DebuggerDocumentPlatform.cpp:
5989 2007-12-04 Sam Weinig <sam@webkit.org>
5991 Rubber stamped by Mark Rowe.
5993 Define CF as platform for mac and revert r28409
5995 * DumpRenderTree/DumpRenderTree.h:
5996 * DumpRenderTree/mac/DumpRenderTreeMac.h:
5998 2007-12-04 Sam Weinig <sam@webkit.org>
6000 Define CF as platform for windows.
6002 Reviewed by Adam Roben.
6004 * DumpRenderTree/win/DumpRenderTreeWin.h:
6006 2007-12-04 Kevin McCullough <kmccullough@apple.com>
6008 Reviewed by Adam and Darin.
6010 - Removed a needless BSTR cleanup.
6012 * Drosera/win/DebuggerDocumentPlatform.cpp:
6013 (DebuggerDocument::getPlatformCurrentFunctionStack):
6015 2007-11-27 Adam Roben <aroben@apple.com>
6017 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
6021 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6022 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
6024 2007-12-04 Alp Toker <alp@atoker.com>
6026 Prospective Win DRT build fix.
6028 * DumpRenderTree/DumpRenderTree.h:
6030 2007-12-04 Alp Toker <alp@atoker.com>
6032 Fix a clobbered copyright header.
6034 * DumpRenderTree/gtk/DumpRenderTree.cpp:
6036 2007-12-04 Xan Lopez <xan@gnome.org>
6038 Reviewed by Alp Toker.
6040 http://bugs.webkit.org/show_bug.cgi?id=15561
6041 GTK port needs DumpRenderTree implementation
6043 Start work on the GTK+ DRT.
6045 This does not work yet, and there are a few lingering style issues
6046 (nothing major) but this patch has been stuck in the bug tracker for
6049 * DumpRenderTree/DumpRenderTree.h:
6050 * DumpRenderTree/gtk: Added.
6051 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
6053 (shouldLogFrameLoadDelegates):
6054 (dumpFrameScrollPosition):
6058 (dumpRenderTreeAsText):
6062 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
6063 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
6064 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
6065 (GCController::collect):
6066 (GCController::collectOnAlternateThread):
6067 (GCController::getJSObjectCount):
6068 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
6069 (LayoutTestController::~LayoutTestController):
6070 (LayoutTestController::addDisallowedURL):
6071 (LayoutTestController::clearBackForwardList):
6072 (LayoutTestController::copyDecodedHostName):
6073 (LayoutTestController::copyEncodedHostName):
6074 (LayoutTestController::display):
6075 (LayoutTestController::keepWebHistory):
6076 (LayoutTestController::notifyDone):
6077 (LayoutTestController::queueBackNavigation):
6078 (LayoutTestController::queueForwardNavigation):
6079 (LayoutTestController::queueLoad):
6080 (LayoutTestController::queueReload):
6081 (LayoutTestController::queueScript):
6082 (LayoutTestController::setAcceptsEditing):
6083 (LayoutTestController::setCustomPolicyDelegate):
6084 (LayoutTestController::setMainFrameIsFirstResponder):
6085 (LayoutTestController::setTabKeyCyclesThroughElements):
6086 (LayoutTestController::setUseDashboardCompatibilityMode):
6087 (LayoutTestController::setUserStyleSheetEnabled):
6088 (LayoutTestController::setUserStyleSheetLocation):
6089 (LayoutTestController::setWindowIsKey):
6090 (LayoutTestController::setWaitToDump):
6091 (LayoutTestController::windowCount):
6092 (LayoutTestController::setPrivateBrowsingEnabled):
6093 (LayoutTestController::setAuthorAndUserStylesEnabled):
6094 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
6095 (JSStringCopyUTF8CString):
6097 (ReloadItem::invoke):
6098 (ScriptItem::invoke):
6099 (BackForwardItem::invoke):
6101 2007-12-03 Sam Weinig <sam@webkit.org>
6103 Move JavaScriptCore thread testing code to pthread specific directory
6104 and remove the dependance on CoreFoundation by using WTF::HashSet.
6106 Reviewed by Geoff and Oliver.
6108 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6109 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
6110 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
6111 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
6112 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
6113 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
6114 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
6115 * DumpRenderTree/pthreads: Added.
6116 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
6117 (javaScriptThreads):
6118 (runJavaScriptThread):
6119 (startJavaScriptThreads):
6120 (stopJavaScriptThreads):
6122 2007-12-03 Andrew Bonventre <andybons@google.com>
6124 Reviewed by Darin Adler.
6126 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
6127 Symbol lookup menu broken in debugger view
6129 * Drosera/debugger.js: Fixed javascript error where document property
6130 should have been used instead of contentDocument in switchFunction that
6131 was breaking the select symbol dropdown menu. This is because
6132 window.frames will return a Window object and not a frame object like
6133 the author was originally expecting.
6135 2007-12-03 Kevin McCullough <kmccullough@apple.com>
6139 - <rdar://5618942> Drosera: Console window does not process everything
6141 - <rdar://5619005> Drosera: could be sped up by moving the
6142 WebScriptScope stuff into the WebScriptCallFrame.
6143 - Now the console can correctly process objects and does not receive
6144 notifications from JavaScriptCore about the JavaScript in Drosera's
6147 * Drosera/win/DebuggerDocumentPlatform.cpp:
6148 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
6149 (DebuggerDocument::platformValueForScopeVariableNamed):
6151 2007-12-03 Stephanie <slewis@apple.com>
6153 Reviewed by Darin Adler.
6155 Check to see if we are building a debug root
6157 * Scripts/check-for-global-initializers:
6159 2007-12-03 Dan Bernstein <mitz@apple.com>
6161 Reviewed by Darin Adler.
6163 - added a testGetIntIdentifier() method to TestNetscapePlugIn
6165 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
6168 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
6172 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
6173 in a more fine-grained manner than eventSender.keyDown().
6175 * DumpRenderTree/win/EventSender.cpp:
6176 (getConstantCallback):
6177 (dispatchMessageCallback):
6179 2007-12-02 Darin Adler <darin@apple.com>
6181 * Scripts/do-webcore-rename: More planned renaming.
6183 2007-12-02 Sam Weinig <sam@webkit.org>
6185 Rubber stamped by Anders.
6187 Use [NSURL absoluteString] instead of [NSURL description] in order to get
6188 more uniform results cross platform.
6190 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
6191 (-[NSURL _drt_descriptionSuitableForTestResult]):
6193 2007-12-02 Sam Weinig <sam@webkit.org>
6195 Rubber stamped by Niko.
6197 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
6199 * DumpRenderTree/win/DumpRenderTree.cpp:
6200 * DumpRenderTree/win/DumpRenderTree.vcproj:
6201 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
6202 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
6203 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
6204 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
6206 2007-12-01 Alp Toker <alp@atoker.com>
6208 Reviewed by Adam Roben.
6210 Make use of the newly introduced webkit.h convenience header.
6212 * GtkLauncher/main.c:
6214 2007-12-01 Adam Treat <treat@kde.org>
6218 * Check to see if the directory exists and exit if not.
6220 * DumpRenderTree/qt/main.cpp:
6223 2007-12-01 Adam Treat <treat@kde.org>
6227 * Don't hide symbols when in Debug mode
6228 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
6231 * DumpRenderTree/qt/main.cpp:
6234 2007-11-30 Alp Toker <alp@atoker.com>
6236 Reviewed by Adam Roben.
6238 http://bugs.webkit.org/show_bug.cgi?id=15691
6239 [GTK] Public API does not follow GTK+ conventions
6241 Refactor the WebKit/GTK+ public API. Changes:
6242 WebKitPage -> WebKitWebView
6243 WebKitFrame -> WebKitWebFrame
6245 Public API source and header names have been updated to mirror the API
6248 The API is now kept in WebKit/gtk/WebView to match other ports in the
6249 same class such as Mac and Win.
6251 * GtkLauncher/main.c:
6252 (activate_uri_entry_cb):
6255 (progress_change_cb):
6261 2007-11-30 Adam Roben <aroben@apple.com>
6263 Hopefully the final build fix
6265 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
6266 pull in WTF's assertion/logging functions.
6268 2007-11-30 Adam Roben <aroben@apple.com>
6272 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
6275 2007-11-30 Adam Roben <aroben@apple.com>
6279 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
6281 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
6283 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
6284 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
6285 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
6287 2007-11-30 Sam Weinig <sam@webkit.org>
6289 Reviewed by Adam Roben.
6291 Fix drawSelectionRect to actually draw the selection rect.
6293 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
6294 (drawSelectionRect):
6296 2007-11-30 Darin Adler <darin@apple.com>
6298 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
6300 2007-11-30 Darin Adler <darin@apple.com>
6302 * Scripts/do-webcore-rename: Get ready for some future renaming.
6304 2007-11-29 Kevin McCullough <kmccullough@apple.com>
6308 - Removed some unnecessary functions and changed an unused return type.
6310 * Drosera/win/DebuggerClient.cpp:
6311 (registerConsoleClass):
6312 * Drosera/win/DebuggerClient.h:
6313 * Drosera/win/Drosera.cpp:
6314 (registerDroseraClass):
6316 2007-11-28 Alp Toker <alp@atoker.com>
6318 Reviewed by Timothy Hatcher.
6320 http://bugs.webkit.org/show_bug.cgi?id=16174
6321 [GTK] Use "URI" not "URL" in public API
6323 Replace use of the term "URL" with "URI" in public headers,
6324 documentation and some internal code to match GLib/GTK+ convention.
6326 This is now mentioned in the API guidelines:
6327 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
6329 * GtkLauncher/main.c:
6330 (activate_uri_entry_cb):
6335 2007-11-29 Anders Carlsson <andersca@apple.com>
6339 <rdar://problem/5230478>
6340 FrameLoadDelegate callbacks are not dumped in DRT.
6342 * DumpRenderTree/win/DumpRenderTree.cpp:
6343 (shouldLogFrameLoadDelegates):
6346 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
6348 (descriptionSuitableForTestResult):
6349 (FrameLoadDelegate::QueryInterface):
6350 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
6351 (FrameLoadDelegate::didFailProvisionalLoadWithError):
6352 (FrameLoadDelegate::didCommitLoadForFrame):
6353 (FrameLoadDelegate::didFinishLoadForFrame):
6354 (FrameLoadDelegate::willCloseFrame):
6355 (FrameLoadDelegate::didClearWindowObject):
6356 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
6357 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
6358 * DumpRenderTree/win/FrameLoaderDelegate.h:
6359 (FrameLoadDelegate::windowScriptObjectAvailable):
6360 (FrameLoadDelegate::didFirstLayoutInFrame):
6362 2007-11-29 Sam Weinig <sam@webkit.org>
6366 Add database quota UIDelegates methods to DRT UIDelegate.
6368 * DumpRenderTree/mac/UIDelegate.mm:
6369 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
6370 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
6372 2007-11-29 Kevin McCullough <kmccullough@apple.com>
6376 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
6377 dying and vice versa.
6378 - This fix will allow Drosera and Safari to reconnect if either of them
6379 closes correctly, but does not fix the case where one of them dies
6382 * Drosera/win/ServerConnection.cpp:
6383 (ServerConnection::attemptToCreateServerConnection): Added a safety
6384 check, because it's possilbe to try to connect to a server that's dying.
6385 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
6386 the server has died.
6387 * Drosera/win/ServerConnection.h: Added the new function and removed
6388 an unnecessary member.
6390 2007-11-29 Anders Carlsson <andersca@apple.com>
6392 * DumpRenderTree/win/DumpRenderTree.vcproj:
6393 Add shlwapi.lib to all configurations.
6395 2007-11-29 Kevin McCullough <kmccullough@apple.com>
6397 - Build fix. Added additional includes for VS Express to the Release
6400 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
6402 2007-11-29 Anders Carlsson <andersca@apple.com>
6406 <rdar://problem/5132005>
6407 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
6409 * DumpRenderTree/win/DumpRenderTree.vcproj:
6412 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6413 (LayoutTestController::setUserStyleSheetEnabled):
6416 (appendComponentToPath):
6417 New method which wraps the Win32 API PathAppend.
6420 New method which checks if a file points to a shortcut and
6421 follows the shortcut.
6423 (resolveCygwinPath):
6424 New method that takes a cygwin unix-style path and returns the Win32 path.
6426 (cfStringRefToWString):
6428 (LayoutTestController::setUserStyleSheetLocation):
6431 2007-11-29 Alice Liu <alice.liu@apple.com>
6435 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
6437 * DumpRenderTree/win/EventSender.cpp:
6439 uppercase letters were being sent as lowercase letters without the shift key down.
6441 2007-11-29 Kevin McCullough <kmccullough@apple.com>
6443 - Windows build fix. VS express needs some love.
6445 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
6447 2007-11-28 Darin Adler <darin@apple.com>
6449 Reviewed by Adam Roben.
6451 * DumpRenderTree/mac/EventSendingController.mm:
6452 (-[EventSendingController keyDown:withModifiers:]):
6453 Send capital letters through as lowercase letters with the shift key down
6454 rather than sending them as if they were highly unusual "capital letter keys".
6456 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
6457 where you need to update results and more tests are failing than before.
6459 2007-11-28 Anders Carlsson <andersca@apple.com>
6461 Reviewed by Darin Adler.
6463 <rdar://problem/5132001>
6464 contextClick is not implemented in DRT on Windows.
6466 * DumpRenderTree/win/EventSender.cpp:
6467 (contextClickCallback):
6468 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
6469 by a WM_RBUTTONUP message.
6471 * DumpRenderTree/win/UIDelegate.cpp:
6472 (UIDelegate::hasCustomMenuImplementation):
6473 (UIDelegate::trackCustomPopupMenu):
6474 * DumpRenderTree/win/UIDelegate.h:
6475 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
6476 menu from being shown (and causing the DRT to hang).
6478 2007-11-27 Maciej Stachowiak <mjs@apple.com>
6480 Reviewed by Darin Adler.
6482 Fix DumpRenderTree ObjC bug comparing strings.
6484 * DumpRenderTree/mac/ObjCController.m:
6485 (-[ObjCController identityIsEqual::]): Compare strings with string
6486 equality instead of identiy equality.
6488 2007-11-27 Timothy Hatcher <timothy@apple.com>
6492 Reset the authorAndUserStylesEnabled preference
6493 back to YES for each test. Fixes the broken tests.
6495 * DumpRenderTree/mac/DumpRenderTree.mm:
6496 (resetWebViewToConsistentStateBeforeTesting):
6498 2007-11-27 Kevin McCullough <kmccullough@apple.com>
6502 - Drosera now displays the console window, although it cannot currently
6505 * Drosera/win/DebuggerClient.cpp: Shows the console window.
6506 (registerConsoleClass): Implemented.
6507 (consoleWndProc): Implemented.
6508 (DebuggerClient::onSize): Implemented.
6509 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
6511 * Drosera/win/DebuggerClient.h: Added needed method and members for
6512 creating and maintaining a new window.
6513 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
6514 lines of code to more appropriate places.
6515 (Drosera::handleCommand):
6520 2007-11-27 Timothy Hatcher <timothy@apple.com>
6522 Reviewed by Dave Hyatt.
6524 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
6526 Add support for disabling author and user styles for testing.
6528 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6529 * DumpRenderTree/LayoutTestController.cpp:
6530 (setAuthorAndUserStylesEnabledCallback):
6531 (LayoutTestController::staticFunctions):
6532 * DumpRenderTree/LayoutTestController.h:
6533 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6534 (LayoutTestController::setAuthorAndUserStylesEnabled):
6535 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6536 (LayoutTestController::setAuthorAndUserStylesEnabled):
6538 2007-11-26 Dan Bernstein <mitz@apple.com>
6542 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6544 2007-11-26 Kevin McCullough <kmccullough@apple.com>
6548 - Implemented displaying variables for Drosera on Win.
6550 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
6551 that retrieve variables to not hold onto the return value since it's
6552 not returned. Also changed to use the new signatures of the retrieval
6554 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
6555 (DebuggerDocument::platformValueForScopeVariableNamed):
6556 * Drosera/win/Drosera.cpp: Removed a needless TODO.
6559 2007-11-26 Sam Weinig <sam@webkit.org>
6561 Cleanup names of painting and repainting functions.
6563 Reviewed by Adam Roben.
6565 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
6566 (drawSelectionRect): was drawSelectionRectIntoContext.
6567 (dumpWebViewAsPixelsAndCompareWithExpected):
6568 * DumpRenderTree/cg/PixelDumpSupportCG.h:
6569 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
6570 (paintWebView): was drawWebViewIntoContext.
6571 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
6573 2007-11-26 Sam Weinig <sam@webkit.org>
6575 Reviewed by Dan Bernstein.
6579 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6581 2007-11-26 Sam Weinig <sam@webkit.org>
6583 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
6584 Use shared PixelDumpSupport for Mac DRT
6586 Reviewed by Adam Roben.
6588 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6589 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
6590 * DumpRenderTree/cg/ImageDiffCG.cpp:
6591 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
6592 (drawSelectionRectIntoContext):
6593 (dumpWebViewAsPixelsAndCompareWithExpected):
6594 * DumpRenderTree/cg/PixelDumpSupportCG.h:
6595 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6596 * DumpRenderTree/mac/DumpRenderTree.mm:
6598 * DumpRenderTree/mac/ImageDiff.m: Removed.
6599 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
6600 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
6601 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
6602 (setDefaultColorProfileToRGB):
6603 (getBitmapContextFromWebView):
6604 (drawWebViewIntoContext):
6605 (repaintWithVerticalSweep):
6606 (repaintWithHorizontalSweep):
6608 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
6610 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
6612 Bug 16052: prepare-ChangeLog doesn't report deleted files
6613 <http://bugs.webkit.org/show_bug.cgi?id=16052>
6617 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
6619 2007-11-25 David Kilzer <ddkilzer@webkit.org>
6621 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
6622 <http://bugs.webkit.org/show_bug.cgi?id=15864>
6626 Roll functionality of merge-changelog into resolve-ChangeLogs
6627 script. The script now checks for ChangeLog.rej and
6628 ChangeLog.orig files first. If it finds them, it uses the
6629 ChangeLog.rej file as a patch (in old contextual diff format) to
6630 apply with --fuzz=3.
6632 * Scripts/merge-changelog: Removed.
6633 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
6635 2007-11-25 Sam Weinig <sam@webkit.org>
6637 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
6639 Reviewed by Mark Rowe.
6641 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6642 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6643 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
6644 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
6645 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
6647 2007-11-25 Sam Weinig <sam@webkit.org>
6649 Convert DumpRenderTree to ues .xcconfig files.
6651 Reviewed by Mark Rowe.
6653 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6654 * DumpRenderTree/mac/Configurations: Added.
6655 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
6656 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
6657 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
6659 2007-11-25 Sam Weinig <sam@webkit.org>
6661 Add ForwardingHeaders to wtf for DumpRenderTree.
6663 Reviewed by Mark Rowe.
6665 * DumpRenderTree/DumpRenderTree.h:
6666 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6667 * DumpRenderTree/ForwardingHeaders: Added.
6668 * DumpRenderTree/ForwardingHeaders/wtf: Added.
6669 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
6670 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
6671 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
6672 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
6673 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
6674 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
6675 * DumpRenderTree/LayoutTestController.cpp:
6676 * DumpRenderTree/WorkQueue.cpp:
6677 * DumpRenderTree/mac/DumpRenderTree.mm:
6678 * DumpRenderTree/mac/FrameLoadDelegate.mm:
6679 * DumpRenderTree/mac/JavaScriptThreading.cpp:
6680 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6681 * DumpRenderTree/mac/ObjCController.m:
6682 * DumpRenderTree/mac/UIDelegate.mm:
6683 * DumpRenderTree/mac/WorkQueueItemMac.mm:
6685 2007-11-25 Adam Roben <aroben@apple.com>
6687 Fix some test failures caused by r28019
6689 Now that stdout is in binary mode, we need to always use printf
6690 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
6695 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
6697 (UIDelegate::runJavaScriptAlertPanelWithMessage):
6698 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
6699 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
6700 (UIDelegate::webViewAddMessageToConsole):
6702 2007-11-25 Adam Roben <aroben@apple.com>
6704 Set the font smoothing preference in DRT
6706 This makes the pixel results on Windows closer to the Mac results.
6710 * DumpRenderTree/win/DumpRenderTree.cpp:
6711 (initializePreferences):
6713 2007-11-25 Adam Roben <aroben@apple.com>
6715 Port ImageDiff to CG and C++
6717 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
6722 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
6723 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
6725 (createImageFromStdin):
6727 (getDifferenceBitmap):
6728 (computePercentageDifferent):
6729 * DumpRenderTree/win/ImageDiff.vcproj: Added.
6731 2007-11-25 Adam Roben <aroben@apple.com>
6733 Fix image diff link generation on Windows
6737 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
6740 2007-11-25 Adam Roben <aroben@apple.com>
6742 Implement pixel dumping in Windows DRT
6744 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
6749 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
6750 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
6751 Content-Length header.
6752 (getMD5HashStringForBitmap):
6753 (dumpWebViewAsPixelsAndCompareWithExpected):
6754 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
6755 * DumpRenderTree/win/DumpRenderTree.cpp:
6756 (dump): Do a pixel dump if requested.
6757 (main): Parse pixel test options.
6758 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
6759 the cg/ subdirectory to the include path.
6760 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
6761 available in a header or import library, so we have to go through this
6762 LoadLibrary/GetProcAddress dance to use them.
6770 * DumpRenderTree/win/MD5.h: Added.
6771 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
6772 moved up to the top level to share it with Mac eventually.
6773 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
6774 (getBitmapContextFromWebView): Forces the WebView to paint using a
6775 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
6777 2007-11-25 Adam Roben <aroben@apple.com>
6779 Clean up Windows DRT's option parsing a little bit
6783 * DumpRenderTree/win/DumpRenderTree.cpp:
6784 (main): Put non-option arguments into a Vector.
6786 2007-11-25 Adam Roben <aroben@apple.com>
6788 Make Windows DRT stop changing LF into CRLF
6792 * DumpRenderTree/win/DumpRenderTree.cpp:
6793 (main): Put stdout in binary mode.
6794 * Scripts/run-webkit-tests: Remove the CRLF hack.
6796 2007-11-24 David Kilzer <ddkilzer@webkit.org>
6798 Removed empty directory.
6800 * Scripts/resources: Removed.
6802 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
6804 Fix bisect-builds to work with recent WebKit nightly builds.
6808 * Scripts/bisect-builds: Check for the
6809 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
6810 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
6811 to WebKit.app/Contents/Resources.
6813 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
6817 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
6818 not closed (affects digg.com)
6820 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
6821 one after finishing with a test to avoid having its delayed onload handler firing when
6822 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
6823 but it helps somewhat.
6825 2007-11-22 Mark Rowe <mrowe@apple.com>
6827 Reviewed by Alp Toker.
6829 Fix build-webkit to propagate make's exit status if it fails.
6831 * Scripts/webkitdirs.pm:
6833 2007-11-22 Dan Bernstein <mitz@apple.com>
6835 Reviewed by Mark Rowe.
6837 - fix crash when running pixel tests
6839 * DumpRenderTree/mac/DumpRenderTree.mm:
6840 (dumpRenderTree): Parse the command line options before setting up the
6841 environment so that we know if we need to set up the pixel dump
6844 2007-11-21 Eric Seidel <eric@webkit.org>
6846 Speculative build fix for Tiger.
6848 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
6850 2007-11-21 Eric Seidel <eric@webkit.org>
6852 Reviewed by Tim Hatcher.
6854 Break out more of DumpRenderTree.mm into individual files
6856 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6857 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
6860 (makeLargeMallocFailSilently):
6861 * DumpRenderTree/mac/CheckedMalloc.h: Added.
6862 * DumpRenderTree/mac/DumpRenderTree.mm:
6865 * DumpRenderTree/mac/DumpRenderTreeMac.h:
6866 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
6867 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
6868 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
6869 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
6870 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
6871 (javaScriptThreads):
6872 (runJavaScriptThread):
6873 (startJavaScriptThreads):
6874 (stopJavaScriptThreads):
6875 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
6876 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
6877 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
6878 (restoreColorSpace):
6879 (setDefaultColorProfileToRGB):
6880 (initializeColorSpaceAndScreeBufferForPixelTests):
6881 (md5HashStringForBitmap):
6882 (dumpWebViewAsPixelsAndCompareWithExpected):
6884 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
6886 Move install-unix-extras to wx directory as it seems only to be used by that
6887 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
6888 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
6889 have install-unix-extras install into WebKitLibraries as per
6892 Reviewed by Mark Rowe.
6894 * Scripts/install-unix-extras: Removed.
6895 * wx/build-wxwebkit:
6896 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
6898 2007-11-21 Eric Seidel <eric@webkit.org>
6902 More refactoring for greater code readability
6904 * DumpRenderTree/mac/DumpRenderTree.mm:
6905 (initializeGlobalsFromCommandLineOptions):
6906 (initializeColorSpaceAndScreeBufferForPixelTests):
6907 (addTestPluginsToPluginSearchPath):
6908 (useLongRunningServerMode):
6909 (runTestingServerLoop):
6910 (prepareConsistentTestingEnvironment):
6914 (dumpBackForwardListForWebView):
6915 (sizeWebViewForCurrentTest):
6916 (methodNameStringForFailedTest):
6917 (dumpBackForwardListForAllWindows):
6918 (dumpWebViewAsPixelsAndCompareWithExpected):
6919 (invalidateAnyPreviousWaitToDumpWatchdog):
6921 * DumpRenderTree/mac/DumpRenderTreeMac.h:
6922 * DumpRenderTree/mac/UIDelegate.mm:
6923 (-[UIDelegate webView:createWebViewWithRequest:]):
6925 2007-11-21 Eric Seidel <eric@webkit.org>
6927 Reviewed by Tim Hatcher.
6929 Abstract more of DRT into static methods
6931 * DumpRenderTree/mac/DumpRenderTree.mm:
6932 (setDefaultsToConsistentValuesForTesting):
6933 (setupSignalHandlers):
6934 (allocateGlobalControllers):
6936 (releaseGlobalControllers):
6938 (shouldLogFrameLoadDelegates):
6939 (createCFURLFromPathOrURL):
6940 (resetWebViewToConsistentStateBeforeTesting):
6943 2007-11-21 Eric Seidel <eric@webkit.org>
6945 Reviewed by Tim Hatcher.
6947 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
6949 * DumpRenderTree/DumpRenderTree.h:
6950 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6951 * DumpRenderTree/mac/DumpRenderTree.mm:
6955 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
6956 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
6957 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
6958 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
6959 (-[DumpRenderTreePasteboard declareType:owner:]):
6960 (+[LocalPasteboard alloc]):
6961 (-[LocalPasteboard init]):
6962 (-[LocalPasteboard dealloc]):
6963 (-[LocalPasteboard name]):
6964 (-[LocalPasteboard releaseGlobally]):
6965 (-[LocalPasteboard declareTypes:owner:]):
6966 (-[LocalPasteboard addTypes:owner:]):
6967 (-[LocalPasteboard changeCount]):
6968 (-[LocalPasteboard types]):
6969 (-[LocalPasteboard availableTypeFromArray:]):
6970 (-[LocalPasteboard setData:forType:]):
6971 (-[LocalPasteboard dataForType:]):
6972 (-[LocalPasteboard setPropertyList:forType:]):
6973 (-[LocalPasteboard setString:forType:]):
6974 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
6975 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
6976 (+[DumpRenderTreeWindow allWindows]):
6977 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
6978 (-[DumpRenderTreeWindow dealloc]):
6979 (-[DumpRenderTreeWindow isKeyWindow]):
6980 (-[DumpRenderTreeWindow keyDown:]):
6982 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
6984 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
6985 it indiscriminately copies any headers inside JavaScriptCore,
6986 which includes Tiger ICU headers.
6988 * wx/build-wxwebkit:
6989 Don't run WebCore/move-js-headers.sh any longer.
6991 2007-11-20 Adam Treat <treat@kde.org>
6993 Reviewed by David Kilzer.
6995 * Prepend git branch name to $baseProductDir
6997 * Scripts/VCSUtils.pm:
6998 * Scripts/webkitdirs.pm:
7000 2007-11-20 Mark Rowe <mrowe@apple.com>
7002 Reviewed by Simon Hausmann.
7004 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
7005 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
7006 Have it trigger a "make distclean" rather than "make clean" to ensure that the
7007 built product and generated Makefile's are removed.
7009 2007-11-19 Alp Toker <alp@atoker.com>
7011 Reviewed by Mark Rowe.
7013 http://bugs.webkit.org/show_bug.cgi?id=16040
7014 [GTK] GtkLauncher should be written in C
7016 Port GtkLauncher to plain C.
7018 Use a more conventional GTK+ coding style.
7020 Use a toolbar instead of menus.
7022 Various signature fixes and cleanups.
7024 Add a license header. Assume all previous modifications were copyright
7025 assigned to Apple Inc. by default.
7027 * GtkLauncher/GtkLauncher.pro:
7028 * GtkLauncher/main.c: Added.
7029 (activate_url_entry_cb):
7033 (progress_change_cb):
7042 * GtkLauncher/main.cpp: Removed.
7044 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
7046 Build script fixes to ensure they do the right thing for the
7047 wx port, and update build-wxwebkit to reflect the way the
7048 build scripts now work.
7052 * Scripts/build-testkjs:
7053 * Scripts/build-webkit:
7054 * Scripts/run-javascriptcore-tests:
7055 * Scripts/webkitdirs.pm:
7056 * wx/build-wxwebkit:
7058 2007-11-18 Eric Seidel <eric@webkit.org>
7062 Make run-javascriptcore-tests report failures on exit (to support git bisect)
7064 * Scripts/run-javascriptcore-tests:
7066 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
7068 Reviewed by Adam Roben.
7070 Make run-webkit-tests work with Windows debug build.
7072 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
7073 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
7074 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
7075 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
7076 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
7078 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
7080 Add wxWebKit sample and build script, and integrate it with
7081 build-webkit. Also make build-webkit --clean work for all
7084 Reviewed by Darin Adler.
7086 * Scripts/build-webkit:
7087 * Scripts/webkitdirs.pm:
7089 * wx/browser: Added.
7090 * wx/browser/browser.bkl: Added.
7091 * wx/browser/browser.cpp: Added.
7092 * wx/build-wxwebkit: Added.
7094 2007-11-17 Adam Roben <aroben@apple.com>
7096 Make it easy to run Safari in the debugger on Windows
7098 I've added a new script, debug-safari, which launches Safari in the
7099 debugger. On OS X it just calls gdb-safari.
7101 Reviewed by Mark Rowe.
7103 * FindSafari/FindSafari.cpp:
7104 (_tmain): Added a /debugger flag, which in combination with
7105 /printSafariLauncher will print a script that launches Safari in the
7107 * Scripts/debug-safari: Added.
7108 * Scripts/run-safari: Changed to call runSafari().
7109 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
7110 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
7111 first argument along to FindSafari.
7112 * Scripts/webkitdirs.pm:
7113 (sub runSafari): Added.
7115 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
7117 Reviewed by Adam Roben.
7119 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
7121 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
7123 Reviewed by David Kilzer.
7125 The git config command was renamed to repo-config at some point. This
7126 change tries git config and then git repo-config if the first fails.
7128 * Scripts/prepare-ChangeLog:
7131 2007-11-16 Dan Bernstein <mitz@apple.com>
7133 Reviewed by Darin Adler and Sam Weinig.
7135 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
7137 * DumpRenderTree/win/EventSender.cpp:
7138 (keyDownCallback): For characters that cannot be entered on the active
7139 keyboard layout, send a WM_CHAR message with the character along with
7140 a WM_KEYDOWN message with a virtual key code of 255.
7142 2007-11-16 Mark Rowe <mrowe@apple.com>
7144 Reviewed by Tim Hatcher.
7146 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
7148 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
7149 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7151 2007-11-15 Adam Roben <aroben@apple.com>
7153 Make run-safari actually work on Windows
7155 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
7158 2007-11-14 Adam Roben <aroben@apple.com>
7160 Updates to Safari launching now that 3.0.4 is released
7164 * FindSafari/FindSafari.cpp:
7165 (getWebViewCLSID): Use version-independent ProgID.
7166 * Scripts/run-safari: Use run-webkit-nightly.cmd.
7168 2007-11-14 Anders Carlsson <andersca@apple.com>
7172 <rdar://problem/5309081>
7173 In DRT, "plugin.logDestroy = true" not working on Windows.
7175 * DumpRenderTree/win/TestNetscapePlugin/main.c:
7178 2007-11-14 Eric Seidel <eric@webkit.org>
7182 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
7184 2007-11-14 Anders Carlsson <andersca@apple.com>
7188 <rdar://problem/5141186>
7189 window.layoutTestController.setWindowIsKey is not implemented in DRT.
7191 Implement setWindowIsKey.
7193 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7194 (LayoutTestController::setWindowIsKey):
7196 2007-11-13 Sam Weinig <sam@webkit.org>
7198 Reviewed by Adam Roben.
7200 Fix for <rdar://problem/5382579>
7201 http/tests/security/cross-frame-access-put.html reports large
7202 negative numbers for screenLeft and screenTop (Mac reports "0")
7204 * DumpRenderTree/win/UIDelegate.cpp:
7205 (UIDelegate::UIDelegate): Initialize the RECT.
7206 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
7207 (UIDelegate::webViewFrame): ditto.
7208 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
7210 2007-11-13 Kevin McCullough <kmccullough@apple.com>
7214 - Make Drosera show source, source URLs, and function stack on Windows,
7215 and some minor fixes.
7217 * Drosera/DebuggerDocument.cpp: Force source to always update display.
7218 (DebuggerDocument::updateFileSource):
7219 * Drosera/debugger.js: Force source to always update display.
7220 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
7222 (DebuggerClient::resume):
7223 (DebuggerClient::pause):
7224 (DebuggerClient::stepInto):
7225 (DebuggerClient::stepOver):
7226 (DebuggerClient::stepOut):
7227 (DebuggerClient::showConsole):
7228 (DebuggerClient::closeCurrentFile):
7229 * Drosera/win/DebuggerClient.h: Ditto.
7230 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
7231 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
7232 removed two bugs. 1) caller could be in a bad state when asked to
7233 assign into it. 2) BSTRs were not created correctly.
7234 (DebuggerDocument::getPlatformCurrentFunctionStack):
7235 * Drosera/win/Drosera.cpp: Hook up the menu controls.
7240 (Drosera::stepInto):
7241 (Drosera::stepOver):
7243 (Drosera::showConsole):
7244 (Drosera::closeCurrentFile):
7245 * Drosera/win/Drosera.h: Hook up the menu controls.
7246 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
7247 functions, added a null check, and fixed another bug where caller could
7248 be in a bad state when asked to assign into it.
7249 (ServerConnection::didLoadMainResourceForDataSource):
7250 (ServerConnection::getCallerFrame):
7251 * Drosera/win/ServerConnection.h: Safety first.
7253 2007-11-13 Dan Bernstein <mitz@apple.com>
7255 Reviewed by Darin Adler.
7257 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
7258 DumpRenderTree --pixel-tests renders each test twice
7260 * DumpRenderTree/mac/DumpRenderTree.mm:
7261 (dumpRenderTree): Removed the --paint option because the painting code
7262 is always exercised as a result of
7263 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
7264 calling -displayIfNeeded.
7265 (dump): Changed to always grab the image from the window since the view
7266 is always displayed.
7269 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
7270 because it always paints.
7272 2007-11-12 Antti Koivisto <antti@apple.com>
7276 Add support for http media tests
7278 * Scripts/run-webkit-tests:
7280 2007-11-12 Sam Weinig <sam@webkit.org>
7282 Reviewed by Adam Roben.
7284 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
7286 * DumpRenderTree/win/DumpRenderTree.cpp:
7288 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7289 (LayoutTestController::setPrivateBrowsingEnabled):
7291 2007-11-12 Adam Roben <aroben@apple.com>
7293 * Scripts/update-webkit-localizable-strings: Changed to only scan the
7294 mac and win subdirectories.
7296 2007-11-11 Adam Roben <aroben@apple.com>
7298 Fix <rdar://5133816> keepWebHistory is not implemented
7300 Fixes fast/history/clicked-link-is-visited.html.
7302 Reviewed by Darin Adler.
7304 * DumpRenderTree/win/DumpRenderTree.cpp:
7305 (runTest): Clear the optionalSharedHistory.
7306 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7307 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
7309 2007-11-10 Sam Weinig <sam@webkit.org>
7311 Reviewed by Tim Hatcher.
7313 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
7314 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
7317 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
7319 Added test: http/tests/security/cross-frame-access-private-browsing.html
7321 * DumpRenderTree/LayoutTestController.cpp:
7322 (setPrivateBrowsingEnabledCallback):
7323 (LayoutTestController::staticFunctions):
7324 * DumpRenderTree/LayoutTestController.h:
7325 * DumpRenderTree/mac/DumpRenderTree.mm:
7326 (runTest): Default to private browsing disabled.
7327 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7328 (LayoutTestController::setPrivateBrowsingEnabled):
7329 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7330 (LayoutTestController::setPrivateBrowsingEnabled):
7332 2007-11-08 Kevin McCullough <kmccullough@apple.com>
7336 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
7339 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
7340 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
7341 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
7342 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
7343 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
7344 * Drosera/win/Drosera.cpp:
7345 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
7347 2007-11-08 Kevin McCullough <kmccullough@apple.com>
7351 - Use the new IWebFrame [local] function signature and get the shared
7354 * Drosera/win/DebuggerClient.cpp:
7355 (DebuggerClient::didFinishLoadForFrame):
7356 * Drosera/win/ServerConnection.cpp:
7357 (ServerConnection::attemptToCreateServerConnection):
7359 2007-11-07 Dan Bernstein <mitz@apple.com>
7361 Reviewed by Darin Adler.
7363 - add an option to run-webkit-tests to ignore pixel test failures where
7364 all pixels differ by no more than a specified threshold
7366 * DumpRenderTree/mac/ImageDiff.m:
7369 (computePercentageDifferent):
7370 * Scripts/run-webkit-tests:
7372 2007-11-07 Simon Hausmann <hausmann@kde.org>
7376 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
7378 * DumpRenderTree/qt/DumpRenderTree.cpp:
7380 2007-11-07 Simon Hausmann <hausmann@kde.org>
7384 Reworked the QWebSettings API.
7385 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
7387 * DumpRenderTree/qt/DumpRenderTree.cpp:
7389 2007-11-07 Simon Hausmann <hausmann@kde.org>
7393 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
7395 * DumpRenderTree/qt/jsobjects.cpp:
7397 2007-11-07 Simon Hausmann <hausmann@kde.org>
7399 Reviewed by Lars Knoll <lars@trolltech.com>.
7401 Add a QWebPage::frameCreated() signal and fix DRT
7403 The removal of createFrame in QWebPage broke the re-implementation
7404 in DumpRenderTree. Instead emit a frameCreated() signal and
7405 connect to it in DumpRenderTree.
7408 * DumpRenderTree/qt/DumpRenderTree.cpp:
7409 (WebCore::WebPage::WebPage):
7410 (WebCore::DumpRenderTree::dump):
7411 (WebCore::DumpRenderTree::connectFrame):
7412 * DumpRenderTree/qt/DumpRenderTree.h:
7414 2007-11-07 Simon Hausmann <hausmann@kde.org>
7416 Reviewed by Lars Knoll <lars@trolltech.com>.
7418 Moved all the event handlers from QWebFrame into QWebPage.
7420 This cleans up the public API and allows us to remove the
7421 HackWebFrame hack in DumpRenderTree.
7424 * DumpRenderTree/qt/jsobjects.cpp:
7425 (EventSender::mouseDown):
7426 (EventSender::mouseUp):
7427 (EventSender::mouseMoveTo):
7429 2007-11-07 Simon Hausmann <hausmann@kde.org>
7433 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
7434 to prevent the default implementation from popping up messageboxes.
7436 * DumpRenderTree/qt/DumpRenderTree.cpp:
7437 (WebCore::WebPage::javaScriptConfirm):
7438 (WebCore::WebPage::javaScriptPrompt):
7440 2007-11-06 Eric Seidel <eric@webkit.org>
7442 * Scripts/build-testkjs: build fix... too many $$
7444 2007-11-06 Eric Seidel <eric@webkit.org>
7446 Reviewed by Mark Rowe.
7448 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
7450 2007-11-05 Adam Roben <aroben@apple.com>
7452 Add support on Windows for WEBKIT_TESTFONTS
7454 This environment variable lets you specify where the fonts to be used
7455 by DumpRenderTree reside. The Qt port is already using this, so I'm
7456 just following their lead.
7458 Reviewed by Darin Adler.
7460 * DumpRenderTree/win/DumpRenderTree.cpp:
7461 (exePath): Refactored code out of initialize().
7462 (fontsPath): Returns either $WEBKIT_TESTFONTS or
7463 DumpRenderTree.resources.
7464 (initialize): Use the new fontsPath function.
7465 (main): Use the new exePath function.
7466 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
7467 variable to DRT, like Qt does.
7469 2007-11-05 Mark Rowe <mrowe@apple.com>
7471 Rubber-stamped by Alp Toker.
7473 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
7475 * GtkLauncher/main.cpp:
7479 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
7481 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
7482 <http://bugs.webkit.org/show_bug.cgi?id=15830>
7484 Reviewed by Timothy.
7486 Restrict the range of nightly builds used by the bisect-builds script
7487 based on the version of Safari and the version of Mac OS X being used.
7489 Mac OS X 10.4: Safari 2.0: r11976 or newer
7490 Mac OS X 10.4: Safari 3.0: r19992 or newer
7492 Mac OS X 10.5: Safari 2.0: r19594 or newer
7493 Mac OS X 10.5: Safari 3.0: r25124 or newer
7495 * Scripts/bisect-builds:
7496 (findMacOSXVersion): Added.
7497 (makeNightlyList): Added argument to provide version of Mac OS X.
7498 Restrict range of nightly builds based on Safari and Mac OS X versions.
7500 2007-11-04 Kevin McCullough <kmccullough@apple.com>
7504 - This patch involves several changes, all of them were noticed that
7505 they were needed by the work being done in WebKit to get Drosera and
7506 WebKit working together on Windows.
7508 1) Added a debugger console for output messages.
7509 2) Drosera now listens for the WebKit server (before, the server would
7510 have to be running before Drosera was started.)
7511 3) Fixed a bug where the WebView started out as 0x0 pixels.
7512 4) Fixed a bug when there is no scope.
7513 5) Added the HTML, JS, and CSS to the project file to make them easy to
7515 6) Made the ServerConnection functions virtual.
7517 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
7518 for the WebKit server.
7519 (DebuggerClient::DebuggerClient):
7520 (DebuggerClient::~DebuggerClient):
7521 (DebuggerClient::didFinishLoadForFrame):
7522 (DebuggerClient::serverConnected):
7523 (DebuggerClient::attemptToCreateServerConnection):
7524 * Drosera/win/DebuggerClient.h: Ditto.
7525 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
7527 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7528 (DebuggerDocument::platformValueForScopeVariableNamed):
7529 * Drosera/win/Drosera.cpp:
7530 (_tWinMain): Added a console in debug for output messages.
7531 (Drosera::Drosera): Listen for server.
7532 (Drosera::initUI): The server now Initializes COM.
7533 (Drosera::serverConnected): Part of the listening for the server.
7534 (Drosera::attemptToCreateServerConnection): Ditto.
7535 * Drosera/win/Drosera.h: New interface for listening for the server.
7536 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
7537 files to the VS project.
7538 * Drosera/win/ServerConnection.cpp: Part of listening for the server
7540 (ServerConnection::ServerConnection):
7541 (ServerConnection::attemptToCreateServerConnection):
7542 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
7544 (ServerConnection::serverConnected):
7546 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
7550 http://bugs.webkit.org/show_bug.cgi?id=15832
7551 fast/dom/gc-10.html crashes when run alone
7553 Check for !done before using objects that can be already deallocated.
7555 * DumpRenderTree/mac/EditingDelegate.mm:
7556 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
7557 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
7558 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
7559 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
7560 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
7561 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
7562 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
7563 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
7564 (-[EditingDelegate webViewDidBeginEditing:]):
7565 (-[EditingDelegate webViewDidChange:]):
7566 (-[EditingDelegate webViewDidEndEditing:]):
7567 (-[EditingDelegate webViewDidChangeTypingStyle:]):
7568 (-[EditingDelegate webViewDidChangeSelection:]):
7569 * DumpRenderTree/mac/FrameLoadDelegate.mm:
7570 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
7571 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
7572 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
7573 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
7574 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
7575 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
7576 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
7577 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
7578 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
7579 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
7580 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
7581 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
7582 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
7583 (-[FrameLoadDelegate webView:willCloseFrame:]):
7584 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
7585 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
7586 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
7587 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
7588 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
7589 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
7590 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
7591 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
7592 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
7594 2007-11-04 Mark Rowe <mrowe@apple.com>
7596 Build fix. Don't use Carbon.h as the prefix header as it triggers
7597 warnings that would otherwise be suppressed due to it being a system header.
7599 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7601 2007-11-03 Maciej Stachowiak <mjs@apple.com>
7603 Rubber stamped by Adam.
7605 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
7607 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7609 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
7611 Sort files(...); sections of Xcode project files.
7613 Rubber-stamped by Darin Adler.
7615 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
7616 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
7617 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7618 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
7620 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
7622 Script to sort "files(...);" sections in Xcode project.pbxproj files.
7624 Reviewed by Darin Adler.
7626 * Scripts/sort-Xcode-project-file: Added.
7628 2007-11-02 Darin Adler <darin@apple.com>
7630 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
7632 2007-11-02 Darin Adler <darin@apple.com>
7636 * Scripts/run-sunspider: Pass the "--base" option through.
7638 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
7639 the real script do that. Default configuration to Release to match run-sunspider
7640 so we don't end up building Debug just to compare results.
7642 2007-11-01 Adam Roben <aroben@apple.com>
7644 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
7648 * Scripts/commit-log-editor: Show all the directories beneath the
7649 source root, instead of just the last one.
7651 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
7653 Reviewed by Adam Roben.
7655 Print out an error message when the Windows build fails
7656 and provide guidance on how to find out what went wrong.
7658 * Scripts/build-webkit:
7659 * Scripts/webkitdirs.pm:
7661 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
7663 Rubber-stamped by Adam Roben.
7665 Rolled out r27326 - debug CRT seems to cause no problems after all.
7667 * DumpRenderTree/win/DumpRenderTree.vcproj:
7669 2007-10-31 Adam Roben <aroben@apple.com>
7671 Switch the Debug configuration to using the non-debug CRT
7673 This matches WebKit.
7677 * DumpRenderTree/win/DumpRenderTree.vcproj:
7679 2007-10-31 Antti Koivisto <antti@apple.com>
7683 Disable media tests when doing leak checking on Tiger.
7684 They crash in QuickTime (rdar://problem/5537157).
7686 * Scripts/run-webkit-tests:
7688 2007-10-29 Antti Koivisto <antti@apple.com>
7692 Build media support by default on OSX only.
7694 * Scripts/build-webkit:
7696 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7698 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
7699 get caught by the pre-commit hooks.
7701 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7705 - This is a collection of relatively unrelated changes and cleanups
7706 to Drosera to prepare it for interacting with WebKit. A lot of these
7707 changes are just correcting mistakes, for example removing included
7708 headers that are no longer needed.
7710 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
7711 this will be needed by the DebuggerClient.
7712 (DebuggerDocument::server):
7713 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
7714 * Drosera/win/DebuggerClient.cpp:
7715 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
7716 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
7717 (DebuggerClient::createWebViewWithRequest): Added comment about its
7719 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
7721 (DebuggerClient::webViewLoaded): Moved.
7722 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
7723 file, since this was the only place it was used.
7725 * Drosera/win/Drosera.h: Cleaned up the includes.
7726 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
7727 * Drosera/win/HelperFunctions.h: Removed.
7729 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7733 - Small cleanup in the ServerConnection class.
7735 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
7736 and added an include.
7737 (ServerConnection::currentFrame):
7738 (ServerConnection::getCallerFrame):
7739 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
7740 made a pointer into a COMPtr, and cleaned up the includes.
7742 2007-10-29 Timothy Hatcher <timothy@apple.com>
7744 Reviewed by John Sullivan.
7746 - Place the Localizable.strings file in mac or win directories
7747 if that location exists.
7748 - Also look for UI_STRING in .c files.
7750 * Scripts/extract-localizable-strings:
7752 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7756 - Set the eol-style to native and made all the line endings the same
7757 so that I avoid messy diffs that show eol changes.
7759 * Drosera/win/ServerConnection.cpp:
7760 (ServerConnection::didParseSource):
7761 (ServerConnection::didEnterCallFrame):
7762 (ServerConnection::willExecuteStatement):
7763 (ServerConnection::willLeaveCallFrame):
7764 (ServerConnection::exceptionWasRaised):
7766 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7770 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
7771 functionality that could not have existed previously without the new
7773 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
7774 from a BSTR to a JSValueRef.
7775 (DebuggerDocument::platformEvaluateScript): Implemented.
7776 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
7777 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7779 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
7780 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
7781 * Drosera/win/ServerConnection.cpp: Added a helper function.
7782 (ServerConnection::getCallerFrame):
7783 * Drosera/win/ServerConnection.h: Added a helper function.
7785 2007-10-29 Kevin McCullough <kmccullough@apple.com>
7787 updated reviewers for my previous changelog.
7789 2007-10-29 Kevin McCullough <kmccullough@apple.com>
7790 Reviewed by Maciej and Adam and Geoff.
7792 - Minor mac-side improvements including moving a function to a more
7793 appropriate location, fixing a warning, and correctly checking
7796 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
7797 (DebuggerDocument::willExecuteStatement):
7798 (DebuggerDocument::didEnterCallFrame):
7799 (DebuggerDocument::willLeaveCallFrame):
7800 (DebuggerDocument::windowScriptObjectAvailable):
7801 (DebuggerDocument::callFunctionOnObject):
7802 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
7803 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
7804 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
7805 because it doesn't require the ServerConnection at all.
7806 (NSStringCreateWithJSStringRef): Made an argument const.
7807 (JSValueRefCreateWithNSString): Made an argument const.
7808 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
7809 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7810 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
7811 * Drosera/mac/ServerConnection.mm: Ditto.
7812 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
7814 2007-10-29 Sam Weinig <sam@webkit.org>
7816 Reviewed by Adam Roben.
7818 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
7820 * DumpRenderTree/LayoutTestController.cpp:
7821 (LayoutTestController::LayoutTestController):
7822 (getGlobalFlagCallback):
7823 (setGlobalFlagCallback):
7824 (LayoutTestController::getJSClass):
7825 (LayoutTestController::staticValues):
7826 * DumpRenderTree/LayoutTestController.h:
7827 (LayoutTestController::globalFlag):
7828 (LayoutTestController::setGlobalFlag):
7830 2007-10-29 Darin Adler <darin@apple.com>
7834 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
7835 resolution instead of its default.
7837 2007-10-29 David Kilzer <ddkilzer@webkit.org>
7839 Fixed showStatus() to print status for successfully resolved conflicts when using git.
7841 Reviewed by Mark Rowe.
7843 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
7844 was successfully resolved, but this would not show any status because the change had
7845 already been cached in the index using "git add". The solution is to add an optional
7846 second argument to showStatus() which adds the "--cached" switch to the command.
7848 * Scripts/resolve-ChangeLogs:
7851 2007-10-28 Eric Seidel <eric@webkit.org>
7853 Reviewed by Maciej and Geoff, in unison.
7855 * Scripts/run-webkit-tests: remove broken --svg option
7857 2007-10-28 Darin Adler <darin@apple.com>
7861 * Scripts/run-sunspider: Default to "Release" configuration rather than
7862 defaulting to the last configuration used as other scripts do. This can
7863 still be overriden on the command line with "--debug" if there's some
7864 reason to do so. Also fix a typo.
7866 * Scripts/sunspider-compare-results: Fix a typo.
7868 2007-10-26 Kevin McCullough <kmccullough@apple.com>
7872 - Implemented the WebScriptDebugListener functions now that the
7873 WebScriptDebugServer exists
7875 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
7877 (ServerConnection::currentFrame):
7878 (ServerConnection::didLoadMainResourceForDataSource):
7879 (ServerConnection::didParseSource):
7880 (ServerConnection::failedToParseSource):
7881 (ServerConnection::didEnterCallFrame):
7882 (ServerConnection::willExecuteStatement):
7883 (ServerConnection::willLeaveCallFrame):
7884 (ServerConnection::exceptionWasRaised):
7885 * Drosera/win/ServerConnection.h: Removed unused arguments from the
7886 members arguments list.
7888 2007-10-26 David Kilzer <ddkilzer@webkit.org>
7890 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
7891 <http://bugs.webkit.org/show_bug.cgi?id=15600>
7893 Reviewed by Darin Adler.
7895 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
7896 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
7897 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
7898 file. Note that it may also be used as a stand-alone script.
7900 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
7901 * Scripts/resolve-ChangeLogs: Added.
7902 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
7904 2007-10-26 Mark Rowe <mrowe@apple.com>
7906 Qt build fix. r27084 added a destructor implementation for LayoutTestController
7907 to the Qt port on the assumption that it was an implementation of the cross-platform
7908 LayoutTestController class. It is not, so it did not need to be changed.
7910 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
7912 2007-10-25 Mark Rowe <mrowe@apple.com>
7916 Fix builds with code coverage enabled.
7918 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
7920 2007-10-25 Darin Adler <darin@apple.com>
7922 Reviewed by Mark Rowe.
7924 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
7925 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
7927 2007-10-25 Stephanie <slewis@apple.com>
7931 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7933 2007-10-25 Stephanie <slewis@apple.com>
7935 Reviewed by Mark Rowe, Adam Roben.
7937 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
7939 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7941 2007-10-25 Alice Liu <alice.liu@apple.com>
7945 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
7947 Moving destructor into platform-specific files
7948 * DumpRenderTree/LayoutTestController.cpp:
7949 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7950 (LayoutTestController::~LayoutTestController):
7951 * DumpRenderTree/qt/jsobjects.cpp:
7952 (LayoutTestController::~LayoutTestController):
7954 LayoutTestController wasn't being destroyed
7955 * DumpRenderTree/win/DumpRenderTree.cpp:
7959 * DumpRenderTree/win/EditingDelegate.h:
7961 Reset certain values on the webview (or related delegate) that might
7962 have changed while running a test
7963 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7964 (LayoutTestController::~LayoutTestController):
7966 2007-10-25 Adam Roben <aroben@apple.com>
7968 Make sunspider-compare-results work with relative paths
7972 * Scripts/sunspider-compare-results: Convert arguments to absolute
7973 paths before we chdir.
7975 2007-10-25 Kevin McCullough <kmccullough@apple.com>
7979 - Implemented server calls now the WebScriptDebugServer exists.
7980 - Also removed no longer needed call to initialize CG.
7982 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
7985 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
7986 (ServerConnection::ServerConnection):
7987 (ServerConnection::~ServerConnection):
7988 (ServerConnection::pause):
7989 (ServerConnection::resume):
7990 (ServerConnection::stepInto):
7991 (ServerConnection::applicationTerminating):
7992 (ServerConnection::serverConnectionDidDie):
7993 * Drosera/win/ServerConnection.h: Now uses the COM class.
7995 2007-10-24 George Staikos <staikos@kde.org>
7999 * Scripts/build-webkit:
8001 2007-10-24 Adam Roben <aroben@apple.com>
8003 Remove now-unnecessary call to InitializeCoreGraphics
8005 WebKit takes care of this now.
8009 * DumpRenderTree/win/DumpRenderTree.cpp:
8012 2007-10-24 Adam Roben <aroben@apple.com>
8014 Use WebTextRenderer in DRT
8018 * DumpRenderTree/win/DumpRenderTree.cpp:
8019 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
8021 2007-10-24 Sven Herzberg <sven@imendio.com>
8023 Reviewed by Mark Rowe.
8025 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
8026 Bug 15614: [GTK] qmake based backends don't build on OS X
8028 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
8029 GTK backend on a Mac
8030 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
8031 isDarwin() to make it reusable in other places (like the workaround-
8032 for-prebuilt-qmake in build-webkit)
8034 2007-10-24 David Kilzer <ddkilzer@webkit.org>
8036 Refurbish update-webkit script.
8040 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
8041 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
8042 multi-argument version of system() for flexibility and security. Check for existence
8043 of Internal directory using -d test instead of -x.
8045 2007-10-24 David Kilzer <ddkilzer@webkit.org>
8047 Minor clean-up of prepare-ChangeLog script.
8051 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
8052 of a string. Use multi-argument versions of open() and system() for flexibility and
8055 2007-10-24 Alice Liu <alice.liu@apple.com>
8059 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
8061 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
8062 replay the saved events when we're still processing the mousedown that starts the drag
8063 * DumpRenderTree/win/EventSender.cpp:
8065 * DumpRenderTree/win/UIDelegate.cpp:
8066 (UIDelegate::doDragDrop):
8068 2007-10-24 Kevin McCullough <kmccullough@apple.com>
8070 Reviewed by Sam, Steve and Darin.
8072 - Stubbed out the WebScriptDebugListener functionality in the Server
8073 Connection class to prepare it for receiving those callbacks.
8074 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
8075 and the ServerConnection to not need to be initialized with a server
8076 name, since that is not the way we connect to the WebKit server.
8078 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
8079 no exception. Now it only loggs when there is an exception
8080 (DebuggerDocument::willExecuteStatement):
8081 (DebuggerDocument::didEnterCallFrame):
8082 (DebuggerDocument::willLeaveCallFrame):
8083 (DebuggerDocument::windowScriptObjectAvailable):
8084 (DebuggerDocument::callFunctionOnObject):
8085 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
8086 to be instantiated with a server's name.
8087 (DebuggerClient::DebuggerClient):
8088 (DebuggerClient::didFinishLoadForFrame):
8089 * Drosera/win/DebuggerClient.h: Removed unsued variable.
8090 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
8093 (Drosera::initServer):
8094 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
8095 instantiated with a server's name.
8096 * Drosera/win/ServerConnection.cpp:
8097 (ServerConnection::ServerConnection): No longer needs a server name
8098 (ServerConnection::~ServerConnection): Only release the global context
8100 (ServerConnection::serverConnectionDidDie): Stub for
8101 IWebScriptDebugListener
8102 (ServerConnection::QueryInterface): ditto
8103 (ServerConnection::AddRef): ditto
8104 (ServerConnection::Release): ditto
8105 (ServerConnection::didLoadMainResourceForDataSource): ditto
8106 (ServerConnection::didParseSource): ditto
8107 (ServerConnection::failedToParseSource): ditto
8108 (ServerConnection::didEnterCallFrame): ditto
8109 (ServerConnection::willExecuteStatement): ditto
8110 (ServerConnection::willLeaveCallFrame): ditto
8111 (ServerConnection::exceptionWasRaised): ditto
8112 * Drosera/win/ServerConnection.h: Stubbed out the
8113 IWebScriptDebugListener functions, and this class no longer needs to be
8114 instantiated with a server name.
8116 2007-10-24 Lars Knoll <lars@trolltech.com>
8120 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
8122 * DumpRenderTree/qt/jsobjects.h:
8124 2007-10-24 Lars Knoll <lars@trolltech.com>
8128 add another command.
8130 * DumpRenderTree/qt/jsobjects.cpp:
8131 (TextInputController::doCommand):
8133 2007-10-24 Lars Knoll <lars@trolltech.com>
8137 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
8139 * DumpRenderTree/qt/jsobjects.cpp:
8140 (EventSender::keyDown):
8141 * DumpRenderTree/qt/jsobjects.h:
8143 2007-10-24 Lars Knoll <lars@trolltech.com>
8147 implement eventSender.keyDown().
8149 * DumpRenderTree/qt/jsobjects.cpp:
8150 (EventSender::keyDown):
8152 2007-10-24 Lars Knoll <lars@trolltech.com>
8156 some smaller fixes to the editing support in DRT. Makes another few tests pass.
8158 * DumpRenderTree/qt/DumpRenderTree.cpp:
8159 (WebCore::DumpRenderTree::DumpRenderTree):
8160 (WebCore::DumpRenderTree::initJSObjects):
8161 * DumpRenderTree/qt/jsobjects.cpp:
8162 (TextInputController::doCommand):
8164 2007-10-24 Lars Knoll <lars@trolltech.com>
8168 first bit of implementation for the textinputcontroller.
8170 * DumpRenderTree/qt/DumpRenderTree.cpp:
8171 (WebCore::DumpRenderTree::DumpRenderTree):
8172 * DumpRenderTree/qt/DumpRenderTree.h:
8173 * DumpRenderTree/qt/jsobjects.cpp:
8174 (TextInputController::TextInputController):
8175 (TextInputController::doCommand):
8176 * DumpRenderTree/qt/jsobjects.h:
8178 2007-10-24 Lars Knoll <lars@trolltech.com>
8182 make the man webpage believe it has focus, so the editing tests work correctly.
8184 * DumpRenderTree/qt/DumpRenderTree.cpp:
8185 (WebCore::DumpRenderTree::DumpRenderTree):
8187 2007-10-24 Lars Knoll <lars@trolltech.com>
8191 implement layoutTestController.dumpEditingCallbacks() correctly.
8193 * DumpRenderTree/qt/DumpRenderTree.cpp:
8194 (WebCore::DumpRenderTree::DumpRenderTree):
8195 * DumpRenderTree/qt/jsobjects.cpp:
8196 (LayoutTestController::reset):
8197 (LayoutTestController::dumpEditingCallbacks):
8199 2007-10-24 Lars Knoll <lars@trolltech.com>
8203 Implement support for testing editing.
8205 * DumpRenderTree/qt/DumpRenderTree.cpp:
8206 (WebCore::DumpRenderTree::DumpRenderTree):
8208 2007-10-23 Sam Weinig <sam@webkit.org>
8210 Check for null BSTR that can be passed to the UIDelegate methods
8211 from javascript null and undefined. Fixes a failing test case on
8212 Windows (fast/dom/Window/alert-undefined.html)
8214 Reviewed by Eric Seidel.
8216 * DumpRenderTree/win/UIDelegate.cpp:
8217 (UIDelegate::runJavaScriptAlertPanelWithMessage):
8218 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
8219 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
8220 (UIDelegate::webViewAddMessageToConsole):
8222 2007-10-23 Maciej Stachowiak <mjs@apple.com>
8224 Reviewed by Darin Adler.
8226 Don't print a massive pile of setenvs from tools that automatically build testkjs.
8228 * Scripts/build-testkjs:
8230 2007-10-23 Maciej Stachowiak <mjs@apple.com>
8232 Reviewed by Darin Adler.
8234 - add wrapper that finds the right copy of testkjs
8236 * Scripts/sunspider-compare-results: Added.
8238 2007-10-23 Kevin McCullough <kmccullough@apple.com>
8242 - After talking with Steve I now see that the WebKit server must be
8243 running for DCOM to create the distributed objects, which makes sense
8244 and currently WebKit only allows one instance to be running at a time
8245 which avoids accidentally connecting to the wrong server
8246 - In light of this I have removed the code for the attach box and
8247 NotificationServer and known server names, since they are all extranious
8250 * Drosera/win/Drosera.cpp: Removed notification classes and known server
8252 (_tWinMain): Uses init instead of initUI.
8253 (droseraWndProc): No longer creats an attach dialog box.
8254 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
8255 it's not manditory to call init before doing COM stuff.
8256 (Drosera::init): calls initUI and will call attach when the
8257 functionality exists.
8258 (Drosera::initUI): Has changed very little.
8259 (Drosera::attach): Changed the signature to reflect that we no longer
8260 need the dictionary of known server names.
8261 * Drosera/win/Drosera.h: Removed notification classes and known server
8262 names. Also renamed and moved some functions.
8263 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
8264 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
8265 headers to the resources folder.
8266 * Drosera/win/resource.h: Removed the Attach box.
8268 2007-10-22 Adam Roben <aroben@apple.com>
8272 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
8274 2007-10-22 Kevin McCullough <kmccullough@apple.com>
8276 - Removed a leak that was fixed.
8278 * Scripts/run-webkit-tests:
8280 2007-10-19 Kevin McCullough <kmccullough@apple.com>
8282 Reviewed by Darin Adler.
8284 - Changed the Client so that the DebuggerDocument now own the
8285 ServerConnection. This simplifies ownership and cleanup.
8287 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
8289 (DebuggerClient::initWithServerName):
8290 (DebuggerClient::didFinishLoadForFrame):
8291 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
8293 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
8294 until after we have a server which we are attached to.
8297 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
8300 2007-10-22 Simon Hausmann <hausmann@kde.org>
8302 Reviewed by Nikolas.
8304 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
8306 * Scripts/run-javascriptcore-tests:
8308 2007-10-22 Simon Hausmann <hausmann@kde.org>
8310 Reviewed by Nikolas.
8312 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.
8314 * Scripts/build-drosera:
8315 * Scripts/build-dumprendertree:
8316 * Scripts/build-testkjs:
8317 * Scripts/build-webkit:
8318 * Scripts/run-javascriptcore-tests:
8319 * Scripts/run-sunspider:
8320 * Scripts/run-webkit-tests:
8321 * Scripts/webkitdirs.pm:
8323 2007-10-22 Andrew Wellington <proton@wiretapped.net>
8325 Reviewed by Mark Rowe.
8327 Fix for local database support after r26879
8328 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
8330 * Scripts/build-webkit:
8332 2007-10-22 Holger Freyther <zecke@selfish.org>
8334 Reviewed by Simon Hausmann <hausmann@kde.org>.
8336 - Do not build testkjs as an application bundle. This is
8337 needed for run-javascriptcore-tests on OSX.
8338 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
8339 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
8340 as we do not have -rpath on OSX.
8342 * DumpRenderTree/qt/DumpRenderTree.pro:
8343 * Scripts/run-webkit-tests:
8345 2007-10-22 Simon Hausmann <hausmann@kde.org>
8349 Fix support for Signed-off-by detection in prepare-ChangeLog
8350 --git-commit. The Signed-off-by tag does not appear in the header
8351 but usually at the end.
8353 * Scripts/prepare-ChangeLog:
8355 2007-10-21 Mark Rowe <mrowe@apple.com>
8359 Fix run-javascriptcore-tests for Gtk.
8361 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
8363 2007-10-20 Eric Seidel <eric@webkit.org>
8367 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
8369 2007-10-20 Eric Seidel <eric@webkit.org>
8373 Add improved argument handling to run-sunspider, including
8374 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
8375 Also re-factor code into subroutines
8377 * Scripts/build-dumprendertree: removed bogus comments
8378 * Scripts/build-testkjs: Added.
8379 * Scripts/run-javascriptcore-tests: use build-testkjs
8380 * Scripts/run-sunspider: improved argument handling, abstraction
8381 * Scripts/run-webkit-tests: improved abstraction
8383 2007-10-20 Matt Lilek <webkit@mattlilek.com>
8385 Not reviewed, Windows build fix.
8387 * DumpRenderTree/win/EventSender.cpp:
8390 2007-10-20 Darin Adler <darin@apple.com>
8392 Reviewed by Tim Hatcher.
8394 - http://bugs.webkit.org/show_bug.cgi?id=15544
8395 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
8396 not rely on Apple-specific key codes
8398 * DumpRenderTree/mac/EventSendingController.mm:
8399 (-[EventSendingController keyDown:withModifiers:]):
8400 Added named key "rightArrow". Later we could have a whole table of these.
8401 Also tweaked modifiers code a little.
8403 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
8405 2007-10-19 Darin Adler <darin@apple.com>
8409 - http://bugs.webkit.org/show_bug.cgi?id=15566
8410 possible fix for leak seen in DumpRenderTree
8412 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
8413 Delete the item if it's not put on the queue, since the caller has
8414 no way of knowing that. Would be better to have the parameter type
8415 be auto_ptr to express the fact that we take ownership.
8419 * Drosera/mac/main.m: Add missing include.
8421 2007-10-19 Kevin McCullough <kmccullough@apple.com>
8425 - This change should be identical but for some reason was not working
8428 * Scripts/prepare-ChangeLog:
8430 2007-10-19 Kevin McCullough <kmccullough@apple.com>
8432 Reviewed by Oliver and Tim.
8434 - Made use of RetainPtr to avoid retain and release issues and moved the
8435 log function to DebuggerDocumentPlatform, which seems to be a more
8436 logical place for it to live.
8437 - Also moved knownServers from the ServerConnection to
8438 DebuggerApplication to match the Windows code and because it makes sense
8439 that a connection knows its own server but not all of them.
8441 * Drosera/mac/DebuggerClient.h: Moved the log function to
8442 DebuggerDocumentPlatform.
8443 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
8444 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
8445 call for the server name up from the ServerConnection class.
8446 (-[DebuggerClient dealloc]):
8447 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
8448 for the server name up from the ServerConnection.
8449 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
8450 (DebuggerDocument::platformPause):
8451 (DebuggerDocument::platformResume):
8452 (DebuggerDocument::platformStepInto):
8453 (DebuggerDocument::platformEvaluateScript):
8454 (DebuggerDocument::getPlatformCurrentFunctionStack):
8455 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8456 (DebuggerDocument::platformValueForScopeVariableNamed):
8457 (DebuggerDocument::platformLog): Log directly from here. No need to call
8459 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
8460 way I see it, a ServerConnection should only know about its connection
8461 and the group of all possible servers should be kept by the
8463 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
8464 currentServerName, it makes sense that the connection should know that
8466 (-[ServerConnection currentServerName]):
8468 2007-10-19 Kevin McCullough <kmccullough@apple.com>
8472 - Integrated changes from mac drosera. Recently I've encapsulated
8473 out the server connection object from the rest of Drosera because
8474 it is very platform dependent right now and RPC is not implemented on
8475 windows. This functionality, of communicating with the WebKit server
8476 is the next area I will be focusing on in Windows.
8478 - Other changes and cleanup were made to organize the code and add notes
8479 on which parts still need work. Also some mac code is added and
8480 commented out, to act as pseudocode for the logic of those parts.
8482 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
8484 * Drosera/config.h: Added whitespace.
8485 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
8486 these files got moved into Drosera.h/cpp
8487 * Drosera/win/DebuggerApplication.h: Removed.
8488 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
8489 happened here to better match the logic flow of the same code on the
8490 mac side and to use the new ServerConnection class.
8491 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
8492 (DebuggerClient::initWithServerName): Initializer that will set up the
8493 class to use a ServerConnection object. This was necessary so I could
8494 create a DebuggerClient without having to initilaize it at
8496 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
8497 will be the UIDelegate and FrameLoadDelegate.
8498 (DebuggerClient::AddRef): For IUnknown.
8499 (DebuggerClient::Release): For IUnknown.
8500 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
8501 this still needs to set the global context of the server, but
8502 IWebFrame does not have an accessor for the global context yet.
8503 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
8504 this is a pass through for the same function in the document.
8505 (DebuggerClient::didReceiveTitle): Unimplemented part of
8506 FrameLoadDelegate this would change the title of the window.
8507 (DebuggerClient::createWebViewWithRequest): Part of the
8508 FrameLoadDelegate. This is about new windows via Window.open() and
8509 how their delegates are set.
8510 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
8511 UIDelegate. Just a debug function for printing messages.
8512 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
8513 because the Client should be the UIDelegate and FrameLoadDelegate
8514 to match the delegates on mac.
8515 (DebuggerClient::webViewLoaded): Added accessor method.
8516 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
8517 forgotten to add this file before. This is where the platform
8518 dependent versions of the Documents functions live. Most of these are
8519 unimplemented because some piece of functionality does not exist on
8521 (DebuggerDocument::platformPause):
8522 (DebuggerDocument::platformResume):
8523 (DebuggerDocument::platformStepInto):
8524 (DebuggerDocument::platformEvaluateScript):
8525 (DebuggerDocument::getPlatformCurrentFunctionStack):
8526 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8527 (DebuggerDocument::platformValueForScopeVariableNamed):
8528 (DebuggerDocument::platformLog):
8529 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
8530 responsibilities becaue they belong in the Client. Also I laid the
8531 groundwork for attaching Drosera to a WebKit process
8532 (attachWndProc): Now if a server is selected the Client becomes it's
8534 (Drosera::Drosera): Added the construction of the Client and dictionary
8536 (Drosera::initUI): This is no longer the delegates, the Client is.
8537 (Drosera::webViewLoaded): Now asks the Client instead of holding local
8539 (Drosera::applicationDidFinishLaunching): Placeholder for needed
8540 notification registration when it's possible to implement.
8541 (Drosera::serverLoaded): Ditto
8542 (Drosera::serverUnloaded): Ditto
8543 (Drosera::attach): Attach Drosera to the WebKit server.
8544 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
8547 (Drosera::knownServers):
8548 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
8549 and added the ServerConnection.
8550 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
8551 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
8552 Most of the functions are completely unimlemented because they cannot
8553 connect with the WebKit server, because one does not exist on Windows
8555 (ServerConnection::initWithServerName):
8556 (ServerConnection::~ServerConnection):
8557 (ServerConnection::setGlobalContext):
8558 (ServerConnection::pause):
8559 (ServerConnection::resume):
8560 (ServerConnection::stepInto):
8561 (ServerConnection::switchToServerNamed):
8562 (ServerConnection::applicationTerminating):
8563 (ServerConnection::serverConnectionDidDie):
8564 (ServerConnection::currentFrame):
8565 * Drosera/win/ServerConnection.h: Added. Ditto.
8566 (ServerConnection::ServerConnection):
8568 2007-10-19 Alice Liu <alice.liu@apple.com>
8570 Reviewed by Darin Adler.
8572 Fix for these broken layout tests on Windows:
8574 fast/forms/focus-selection-input.html
8575 fast/forms/focus-selection-textarea.html
8576 fast/forms/select-accesskey.html
8578 * DumpRenderTree/win/EventSender.cpp:
8580 correct the VK code for alt key.
8582 2007-10-19 Eric Seidel <eric@webkit.org>
8584 Reviewed by Mark Rowe.
8586 Make the GtkLauncher code slightly more readable.
8588 * GtkLauncher/main.cpp:
8589 (setupMainMenu): Added.
8590 (setupMainWindowUI): Added.
8593 2007-10-19 Maciej Stachowiak <mjs@apple.com>
8595 Rubber stamped by Adam.
8597 - don't delay-load WebKit in DumpRenderTree.
8599 * DumpRenderTree/win/DumpRenderTree.vcproj:
8601 2007-10-18 Dan Bernstein <mitz@apple.com>
8603 Reviewed by Adam Roben.
8605 - fix <rdar://problem/5313523>
8606 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
8608 * DumpRenderTree/mac/DumpRenderTree.mm:
8609 (dump): Changed to use _responseMIMEType.
8611 2007-10-17 Adam Roben <aroben@apple.com>
8613 Make it possible to have Windows-specific tests and results
8615 When searching for tests to run and the Skipped file, we will only
8616 look in platform/win and the cross-platform directory. When looking
8617 for expected results, we will look in platform/win, then
8618 platform/mac-leopard, then platform/mac, then finally the
8619 cross-platform directory.
8623 * Scripts/run-webkit-tests:
8624 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
8625 searching in the cross-platform directory.
8626 (sub buildPlatformHierarchy): Removed some unneeded calls to
8629 2007-10-17 Adam Roben <aroben@apple.com>
8631 Add back the call to register WebKit that we had before WebKitInitializer existed
8633 This is needed to ensure that the right WebKit is used when
8634 instantiating COM objects.
8638 * DumpRenderTree/win/debug_internal.vsprops: Define
8639 DEBUG_WEBKIT_HAS_SUFFIX.
8640 * DumpRenderTree/win/DumpRenderTree.cpp:
8643 2007-10-17 Adam Roben <aroben@apple.com>
8645 Import File::Basename in webkitdirs since we use it
8647 * Scripts/webkitdirs.pm:
8649 2007-10-17 Kevin McCullough <kmccullough@apple.com>
8651 - Updated the tiger leaks list to make the internal bots green.
8653 * Scripts/run-webkit-tests:
8655 2007-10-17 Adam Roben <aroben@apple.com>
8657 Build fix for VC++ Express
8659 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
8662 2007-10-16 Kevin McCullough <kmccullough@apple.com>
8666 - Minor mac improvements based on observations I made while implementing the
8669 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
8670 then hand it to the Client who will retain it, it should just be the client who
8671 creates and owns the server.
8672 (-[DebuggerApplication attach:]):
8673 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
8674 * Drosera/mac/DebuggerClient.mm: Creates the server.
8675 (-[DebuggerClient initWithServerName:]):
8676 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
8677 can instead forward declare what it needs.
8679 2007-10-16 Darin Adler <darin@apple.com>
8681 Reviewed by Geoff Garen.
8683 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
8684 want to turn failing tests into platform-specific test results. Also did a
8685 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
8686 would take the type of results into account only some of the time.
8688 2007-10-16 Adam Roben <aroben@apple.com>
8690 Add a new nightly launcher script for Windows
8692 This new script is for versions of Safari that don't delay-load
8693 WebKit. I had to make FindSafari be able to print out the nightly
8694 launcher script on stdout because Windows shell scripts can't capture
8695 the output from a command into an environment variable.
8699 * FindSafari/FindSafari.cpp:
8700 (_tmain): Added /printSafariLauncher option.
8701 * Scripts/run-webkit-nightly.cmd: Added.
8703 2007-10-16 Adam Roben <aroben@apple.com>
8705 Replace WebKitInitializer with FindSafari
8707 We now rely on setting the PATH environment variable to tell Windows
8708 where to find WebKit and its dependencies (similar to
8709 DYLD_FRAMEWORK_PATH on Mac).
8711 This change also make DumpRenderTree no longer delay-load WebKit.
8715 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
8717 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
8718 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
8719 WebKitInitializer, don't delay-load WebKit.
8720 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
8721 * Scripts/run-webkit-tests: Ditto.
8722 * Scripts/webkitdirs.pm:
8723 (sub setPathForRunningWebKitApp): Added.
8724 * WebKitInitializer/WebKitInitializer.cpp: Removed.
8725 * WebKitInitializer/WebKitInitializer.h: Removed.
8726 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
8727 * WebKitInitializer/debug.vsprops: Removed.
8728 * WebKitInitializer/debug_internal.vsprops: Removed.
8729 * WebKitInitializer/release.vsprops: Removed.
8731 2007-10-16 Adam Roben <aroben@apple.com>
8733 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
8735 http://bugs.webkit.org/show_bug.cgi?id=15532
8737 FindSafari simply prints the location of an installed Safari.exe on
8740 Reviewed by Darin Adler.
8742 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
8745 (getInstalledWebKitDirectory):
8747 * FindSafari/FindSafari.vcproj: Added.
8748 * Scripts/webkitdirs.pm:
8749 (sub installedSafariPath): Added. Calls FindSafari on Windows.
8751 2007-10-16 Adam Roben <aroben@apple.com>
8753 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
8755 Reviewed by Kevin McCullough.
8757 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
8758 when referring to WebKit.dll.
8759 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
8760 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
8761 * DumpRenderTree/win/release.vsprops: Ditto.
8762 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
8763 never have a _debug suffix on WebKit.dll.
8764 * WebKitInitializer/WebKitInitializer.cpp:
8765 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
8767 * WebKitInitializer/debug_internal.vsprops: Added
8768 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
8770 2007-10-16 Darin Adler <darin@apple.com>
8774 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
8775 Remove now-unneeded control/alt key hack; the tests have been updated.
8777 2007-10-16 Kevin McCullough <kmccullough@apple.com>
8779 - Updated leaks list because our internal bot upgraded it's version of leopard and
8780 one of the leaks was fixed between that revision and the bot's previous version of
8783 * Scripts/run-webkit-tests:
8785 2007-10-15 Kevin McCullough <kmccullough@apple.com>
8789 - I encapsulated out the server connecton functionality because it is a specific part
8790 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
8791 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
8792 Windows. So the majority of this patch is moving preexisting functionality.
8794 - Also I removed the prefix header and changed to use config.h because it is more
8795 standard on how we use config.h in windows and it didn't make much sense to keep
8796 the prefix header and the config.h
8798 * Drosera/DebuggerDocument.cpp:
8799 (DebuggerDocument::DebuggerDocument):
8800 * Drosera/DebuggerDocument.h:
8802 * Drosera/mac/DebuggerApplication.mm:
8803 (-[DebuggerApplication attach:]):
8804 * Drosera/mac/DebuggerClient.h:
8805 * Drosera/mac/DebuggerClient.mm:
8806 (-[DebuggerClient initWithServerConnection:]):
8807 (-[DebuggerClient dealloc]):
8808 (-[DebuggerClient windowDidLoad]):
8809 (-[DebuggerClient windowWillClose:]):
8810 (-[DebuggerClient webView:didFinishLoadForFrame:]):
8811 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
8812 * Drosera/mac/DebuggerDocumentPlatform.mm:
8813 (DebuggerDocument::platformPause):
8814 (DebuggerDocument::platformResume):
8815 (DebuggerDocument::platformStepInto):
8816 (DebuggerDocument::platformEvaluateScript):
8817 (DebuggerDocument::getPlatformCurrentFunctionStack):
8818 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8819 (DebuggerDocument::platformValueForScopeVariableNamed):
8820 (DebuggerDocument::platformLog):
8821 * Drosera/mac/Drosera.pch: Removed.
8822 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
8823 * Drosera/mac/ServerConnection.h: Added.
8824 * Drosera/mac/ServerConnection.mm: Added.
8825 (-[ServerConnection initWithServerName:]):
8826 (-[ServerConnection dealloc]):
8827 (-[ServerConnection setGlobalContext:]):
8828 (-[ServerConnection pause]):
8829 (-[ServerConnection resume]):
8830 (-[ServerConnection stepInto]):
8831 (-[ServerConnection switchToServerNamed:]):
8832 (-[ServerConnection applicationTerminating:]):
8833 (-[ServerConnection serverConnectionDidDie:]):
8834 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
8835 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
8836 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
8837 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
8838 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
8839 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
8840 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
8841 (-[ServerConnection currentFrame]):
8842 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
8843 (-[ServerConnection knownServers]):
8845 2007-10-15 David Kilzer <ddkilzer@webkit.org>
8849 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
8850 Script to automatically search nightly builds for regressions (bisect-builds)
8852 * Scripts/bisect-builds: Added.
8854 2007-10-14 Maciej Stachowiak <mjs@apple.com>
8856 Reviewed by Darin Adler.
8858 - New JavaScript benchmark
8859 http://bugs.webkit.org/show_bug.cgi?id=15515
8861 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
8862 current development or release build of JavaScriptCore.
8864 2007-10-15 Mark Rowe <mrowe@apple.com>
8868 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
8870 * Scripts/webkitdirs.pm:
8871 - Change checkArgv to remove the options from @ARGV to prevent
8872 them from interfering with further option processing.
8873 - Fix logic error in determineIsQt that would prevent it from bailing out early.
8874 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
8875 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
8876 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
8878 2007-10-15 Darin Adler <darin@apple.com>
8882 - added logging of window.prompt and window.confirm
8884 * DumpRenderTree/mac/UIDelegate.mm:
8885 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
8886 Implement the recommended delegate rather than the deprecated one.
8887 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
8889 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
8892 * DumpRenderTree/win/UIDelegate.h:
8893 * DumpRenderTree/win/UIDelegate.cpp:
8894 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
8895 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
8896 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
8897 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
8899 2007-10-15 Alice Liu <alice.liu@apple.com>
8901 Reviewed by Sam Weinig.
8903 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
8905 * DumpRenderTree/win/DumpRenderTree.cpp:
8906 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
8907 (main): allocate the global policy delegate for DRT's custom use
8908 * DumpRenderTree/win/DumpRenderTree.vcproj:
8909 Adding files to project
8910 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
8911 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8912 (LayoutTestController::setCustomPolicyDelegate):
8913 set the webview's policy delegate to DRT's custom one if the test requests it.
8914 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
8915 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
8916 (PolicyDelegate::PolicyDelegate):
8917 (PolicyDelegate::QueryInterface):
8918 (PolicyDelegate::AddRef):
8919 (PolicyDelegate::Release):
8920 (PolicyDelegate::decidePolicyForNavigationAction):
8921 * DumpRenderTree/win/PolicyDelegate.h: Added.
8922 (PolicyDelegate::decidePolicyForNewWindowAction):
8923 (PolicyDelegate::decidePolicyForMIMEType):
8924 (PolicyDelegate::unableToImplementPolicyWithError):
8926 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
8930 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
8931 when querying for QMAKE_MKSPECS.
8933 2007-10-14 Andrew Wellington <proton@wiretapped.net>
8935 Reviewed by Adam Roben.
8937 Fix run-webkit-tests is too greedy calculating platform hierarchy
8938 http://bugs.webkit.org/show_bug.cgi?id=15465
8940 Fix run-webkit-tests being too greedy in trying to split the platform name up
8941 causing it to try and find tests in every directory above the first "-" in the
8942 path to the LayoutTests
8944 * Scripts/run-webkit-tests:
8946 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
8948 Reviewed by Darin Adler.
8950 http://bugs.webkit.org/show_bug.cgi?id=15006
8951 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
8952 to reduce code duplication.
8954 * Scripts/build-webkit:
8955 * Scripts/webkitdirs.pm:
8956 buildQMakeProject() renamed to buildQMakeQtProject().
8957 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
8958 unused $colorize has been removed.
8960 === Start merge of feature-branch 2007-10-12 ===
8962 2007-10-08 Eric Seidel <eric@webkit.org>
8964 Reviewed by Mark Rowe.
8966 * Scripts/build-webkit: add --help, remove unused --color
8968 2007-10-07 Eric Seidel <eric@webkit.org>
8972 * Drosera/mac/DebuggerDocumentPlatform.mm:
8973 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
8975 2007-10-03 Rob Buis <buis@kde.org>
8979 Adapt to changed location of Ahem font.
8981 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8983 2007-10-02 Eric Seidel <eric@webkit.org>
8985 Reviewed by Adam Roben.
8987 Make pixel tests more useful!
8988 Finally fix the image diff 0.00% mystery problem
8989 Highlight any image differences in the image diff.
8990 Add a link from image diffs back to original test file.
8992 * DumpRenderTree/mac/ImageDiff.m:
8993 (compareImages): highlight any differences
8994 (computePercentageDifferent): round to two decimal places
8995 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
8997 2007-10-02 Eric Seidel <eric@webkit.org>
8999 Reviewed by Alexey Proskuryakov.
9001 * Scripts/run-webkit-tests: print the % image difference on main results page
9003 2007-10-02 Mark Rowe <mrowe@apple.com>
9007 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
9009 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
9010 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
9012 2007-10-01 Mark Rowe <mrowe@apple.com>
9014 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
9016 2007-09-25 Eric Seidel <eric@webkit.org>
9018 Reviewed by Mark Rowe.
9020 DerivedSources.make was finding "ENABLE_SVG" in the string
9021 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
9024 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
9026 2007-09-25 Mark Rowe <mrowe@apple.com>
9028 Rubber-stamped by Eric.
9030 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
9031 This makes it possible to automate nightly builds for the feature-branch.
9033 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
9035 Rubber stamped by Mark.
9037 Enable svg experimental features as default here in feature-branch.
9039 * Scripts/build-webkit:
9041 2007-06-29 Antti Koivisto <antti@apple.com>
9045 Add VIDEO flag for timed media features
9047 * Scripts/build-webkit
9049 === End merge of feature-branch 2007-10-12 ===
9051 2007-10-11 Kevin McCullough <kmccullough@apple.com>
9053 Reviewed by Darin Adler.
9055 - Updated rational for the leaks list to be more clear.
9057 * Scripts/run-webkit-tests:
9059 2007-10-11 Kevin McCullough <kmccullough@apple.com>
9061 Rubber Stamp by Sam.
9063 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
9064 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
9066 * Scripts/run-webkit-tests:
9068 2007-10-10 Simon Hausmann <hausmann@kde.org>
9072 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
9073 includes are needed for INT_MAX, std::auto_ptr and the like.
9075 * DumpRenderTree/qt/main.cpp:
9077 2007-10-09 Lars Knoll <lars@trolltech.com>
9081 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
9083 * DumpRenderTree/qt/jsobjects.cpp:
9084 (LayoutTestController::encodeHostName):
9085 (LayoutTestController::decodeHostName):
9086 * DumpRenderTree/qt/jsobjects.h:
9088 2007-10-09 Lars Knoll <lars@trolltech.com>
9092 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.
9094 * DumpRenderTree/qt/DumpRenderTree.cpp:
9095 (WebCore::WebPage::createFrame):
9096 (WebCore::DumpRenderTree::DumpRenderTree):
9097 (WebCore::DumpRenderTree::titleChanged):
9098 * DumpRenderTree/qt/DumpRenderTree.h:
9099 * DumpRenderTree/qt/jsobjects.cpp:
9100 (LayoutTestController::reset):
9101 * DumpRenderTree/qt/jsobjects.h:
9103 2007-10-09 Lars Knoll <lars@trolltech.com>
9107 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
9109 * DumpRenderTree/qt/DumpRenderTree.h:
9110 * DumpRenderTree/qt/jsobjects.cpp:
9111 (LayoutTestController::clearBackForwardList):
9112 * DumpRenderTree/qt/jsobjects.h:
9114 2007-10-09 Lars Knoll <lars@trolltech.com>
9118 make --git-reviewer work again.
9120 * Scripts/prepare-ChangeLog:
9122 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
9124 Rubber stamped by Eric.
9126 Connect to the "hovering-over-link" signal emitted by WebKitPage and
9127 show the current link inside the statusbar.
9128 This shows how to make use of this signal and allows to easily test
9129 http://bugs.webkit.org/show_bug.cgi?id=15299.
9131 * GtkLauncher/main.cpp:
9135 2007-10-05 Lars Knoll <lars@trolltech.com>
9137 add proper error messages to the FrameLoaderClient.
9138 Implement ChromeClientQt::closeWindowSoon and
9139 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
9140 Some fixes in DRT to make it work correctly with multiple windows.
9144 * DumpRenderTree/qt/DumpRenderTree.cpp:
9145 (WebCore::DumpRenderTree::DumpRenderTree):
9146 (WebCore::DumpRenderTree::createWindow):
9147 (WebCore::DumpRenderTree::windowCount):
9148 * DumpRenderTree/qt/DumpRenderTree.h:
9149 * DumpRenderTree/qt/jsobjects.cpp:
9150 (LayoutTestController::maybeDump):
9151 (LayoutTestController::windowCount):
9152 * DumpRenderTree/qt/jsobjects.h:
9154 2007-10-05 Lars Knoll <lars@trolltech.com>
9156 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
9157 Add support for layoutTextController.setCanOpenWindows() to DRT
9158 fixing another 2 test cases in fast/dom/Window.
9162 * DumpRenderTree/qt/DumpRenderTree.cpp:
9163 (WebCore::WebPage::WebPage):
9164 (WebCore::WebPage::createWindow):
9165 (WebCore::DumpRenderTree::resetJSObjects):
9166 (WebCore::DumpRenderTree::createWindow):
9167 * DumpRenderTree/qt/DumpRenderTree.h:
9168 * DumpRenderTree/qt/DumpRenderTree.pro:
9169 * DumpRenderTree/qt/jsobjects.cpp:
9170 (LayoutTestController::LayoutTestController):
9171 (LayoutTestController::reset):
9172 * DumpRenderTree/qt/jsobjects.h:
9173 * DumpRenderTree/qt/main.cpp:
9174 * DumpRenderTree/qt/testplugin.cpp: Added.
9175 * DumpRenderTree/qt/testplugin.h: Added.
9177 2007-10-04 Sam Weinig <sam@webkit.org>
9179 Rubber stamped by Adam.
9181 Remove empty directories.
9183 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
9184 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
9186 2007-10-03 Darin Adler <darin@apple.com>
9190 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
9191 we find the internal libraries in the libraries directory. This
9192 is helpful for Safari team engineers at Apple.
9194 2007-10-03 Adam Roben <aroben@apple.com>
9196 Update the location of AHEM___.TTF after r25968
9200 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9202 2007-10-03 Alp Toker <alp@atoker.com>
9206 http://bugs.webkit.org/show_bug.cgi?id=14726
9207 [gtk] API design. Mapping the WebView delegates to signals.
9209 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
9211 * GtkLauncher/main.cpp:
9215 (menuMainBackCallback):
9216 (menuMainForwardCallback):
9219 2007-10-03 Lars Knoll <lars@trolltech.com>
9223 This fixes --strict mode in run-webkit-tests again after
9224 the platform dependent test results have been moved.
9226 * Scripts/run-webkit-tests:
9228 2007-10-03 Lars Knoll <lars@trolltech.com>
9232 remove the hack in run-webkit-tests that forced text only test
9233 to be taken from the platform independent dir. It was only left
9234 there from early days.
9236 Remove platform dependent results for tests that are text only nowadays,
9237 and add one platform dependent result for a text only test that requires it.
9239 * Scripts/run-webkit-tests:
9241 2007-10-03 Lars Knoll <lars@trolltech.com>
9245 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
9247 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
9248 (WebCore::WebFrame::WebFrame):
9249 (WebCore::WebPage::WebPage):
9250 (WebCore::WebPage::createFrame):
9251 (WebCore::WebPage::javaScriptAlert):
9252 (WebCore::WebPage::javaScriptConsoleMessage):
9253 (WebCore::DumpRenderTree::DumpRenderTree):
9254 (WebCore::DumpRenderTree::~DumpRenderTree):
9255 (WebCore::DumpRenderTree::open):
9256 (WebCore::DumpRenderTree::readStdin):
9257 (WebCore::DumpRenderTree::resetJSObjects):
9258 (WebCore::DumpRenderTree::initJSObjects):
9259 (WebCore::DumpRenderTree::dumpFramesAsText):
9260 (WebCore::DumpRenderTree::dump):
9261 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
9262 (WebCore::DumpRenderTree::layoutTestController):
9263 (WebCore::DumpRenderTree::eventSender):
9264 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
9265 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
9266 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
9267 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
9268 (HackWebFrame::mousePressEvent):
9269 (HackWebFrame::mouseReleaseEvent):
9270 (HackWebFrame::mouseMoveEvent):
9271 (HackWebFrame::HackWebFrame):
9272 (HackWebFrame::~HackWebFrame):
9273 (LayoutTestController::LayoutTestController):
9274 (LayoutTestController::reset):
9275 (LayoutTestController::maybeDump):
9276 (LayoutTestController::waitUntilDone):
9277 (LayoutTestController::notifyDone):
9278 (LayoutTestController::dumpEditingCallbacks):
9279 (LayoutTestController::queueReload):
9280 (LayoutTestController::provisionalLoad):
9281 (LayoutTestController::timerEvent):
9282 (EventSender::EventSender):
9283 (EventSender::mouseDown):
9284 (EventSender::mouseUp):
9285 (EventSender::mouseMoveTo):
9286 (EventSender::leapForward):
9287 (EventSender::keyDown):
9288 (EventSender::frameUnderMouse):
9289 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
9290 (LayoutTestController::isLoading):
9291 (LayoutTestController::setLoading):
9292 (LayoutTestController::shouldDumpAsText):
9293 (LayoutTestController::shouldDumpChildrenAsText):
9294 (LayoutTestController::shouldWaitUntilDone):
9295 (LayoutTestController::dumpAsText):
9296 (LayoutTestController::dumpChildFramesAsText):
9297 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
9301 * Scripts/run-webkit-tests:
9303 2007-10-03 Mark Rowe <mrowe@apple.com>
9305 Reviewed by Alp Toker.
9307 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
9308 should take precedence over QTDIR when determining which port we are working with.
9310 * Scripts/webkitdirs.pm:
9312 2007-10-02 Adam Roben <aroben@apple.com>
9314 Add keychain to the list of default packages to install
9316 Rubberstamped by Sam.
9318 * CygwinDownloader/cygwin-downloader.py:
9319 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
9321 2007-10-02 David Kilzer <ddkilzer@webkit.org>
9325 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
9326 Also makes WebCore regression test case logic work when using git.
9328 * Scripts/prepare-ChangeLog:
9329 (reviewerAndDescriptionForGitCommit): Added.
9331 2007-10-02 Lars Knoll <lars@trolltech.com>
9335 Add API to retrieve the frame name from QWebFrame.
9336 Implement support for DRT::dumpChildrenAsText.
9338 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9339 (WebCore::DumpRenderTree::dumpFramesAsText):
9340 (WebCore::DumpRenderTree::dump):
9341 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
9342 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
9343 (LayoutTestController::LayoutTestController):
9344 (LayoutTestController::reset):
9345 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
9347 2007-10-02 Lars Knoll <lars@trolltech.com>
9351 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
9353 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9354 (WebCore::DumpRenderTree::readStdin):
9356 2007-10-02 Mark Rowe <mrowe@apple.com>
9360 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
9362 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
9363 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
9365 2007-10-02 Mark Rowe <mrowe@apple.com>
9367 Rubber-stamped by Maciej.
9369 Configuration changes from build.webkit.org. The major change is refactoring to work
9370 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
9373 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
9374 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
9375 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
9376 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
9377 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
9378 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
9379 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
9380 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
9382 2007-10-02 Lars Knoll <lars@trolltech.com>
9386 Add support for eventSender.mouseMove to DRT.
9387 Fixes fast/css/hover-affects-child.html
9389 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
9390 (EventSender::mouseMoveTo):
9392 2007-10-01 Mark Rowe <mrowe@apple.com>
9394 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
9396 2007-10-01 David Kilzer <ddkilzer@webkit.org>
9400 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
9402 * Scripts/svn-apply:
9403 (gitdiff2svndiff): Ignore lines beginning with "new file".
9404 * Scripts/svn-unapply:
9405 (gitdiff2svndiff): Ditto.
9407 2007-09-30 George Staikos <staikos@kde.org>
9409 Qt build fix (Mac OS X specific)
9411 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
9413 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
9417 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
9418 Remove Bakefiles from svn.
9420 * GtkLauncher/Bakefiles.bkgen: Removed.
9421 * GtkLauncher/ENV: Removed.
9422 * GtkLauncher/gdklauncher.bkl: Removed.
9423 * GtkLauncher/mk: Removed.
9424 * Scripts/regenerate-makefiles: Removed.
9426 2007-09-25 Kevin McCullough <kmccullough@apple.com>
9430 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
9432 * Scripts/run-webkit-tests:
9434 2007-09-26 Adam Roben <aroben@apple.com>
9436 Make not finding an installed WebKit non-fatal
9438 What really matters is that we are able to load WebKit and its
9439 dependencies, not whether we think we've found an installed WebKit.
9443 * WebKitInitializer/WebKitInitializer.cpp:
9444 (getWebViewCLSID): Use new LOG_WARNING macro.
9445 (getInstalledWebKitDirectory): Ditto.
9446 (initializeWebKit): Don't die if we didn't find an installed WebKit,
9448 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
9450 2007-09-26 Adam Roben <aroben@apple.com>
9452 Committed this file before saving it
9454 * WebKitInitializer/debug_internal.vsprops:
9456 2007-09-26 Adam Roben <aroben@apple.com>
9458 Load WebKit and its dependencies manually so they come from DllDirectory
9460 I had to change WebKitInitializer to use malloc/free instead of
9461 new/delete to avoid pulling in WebKit (and its dependencies) early
9462 through use of fastMalloc.
9466 * WebKitInitializer/WebKitInitializer.cpp:
9467 (getStringValue): Changed to use malloc/free.
9468 (getInstalledWebKitDirectory): Ditto.
9469 (initializeWebKit): Call SetDllDirectory first, then load all of
9470 WebKit's dependencies manually, finally followed by WebKit itself.
9471 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
9472 configuration to match our other projects.
9473 * WebKitInitializer/debug_internal.vsprops: Added.
9475 2007-09-25 Adam Roben <aroben@apple.com>
9477 Actually define DEBUG/NDEBUG so that we load WebKit correctly
9479 Rubberstamped by Sam.
9481 * WebKitInitializer/WebKitInitializer.vcproj:
9483 2007-09-25 Adam Roben <aroben@apple.com>
9485 Make DumpRenderTree delay-load its dependencies
9487 This lets WebKitInitializer re-route the dependencies to be loaded out
9488 of the Safari installation directory.
9490 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
9491 same thing), since we can't import the kCFAllocatorDefault symbol when
9492 delay-loading CoreFoundation.dll.
9494 Rubberstamped by Sam.
9496 * DumpRenderTree/win/DumpRenderTree.cpp:
9498 (javaScriptThreads):
9499 * DumpRenderTree/win/DumpRenderTree.vcproj:
9500 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9501 (LayoutTestController::setWaitToDump):
9503 2007-09-25 Adam Roben <aroben@apple.com>
9505 Pull ole32.lib into WebKitInitializer
9507 Rubberstamped by Sam.
9509 * WebKitInitializer/WebKitInitializer.vcproj:
9511 2007-09-25 David Kilzer <ddkilzer@webkit.org>
9515 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
9516 LGPL'ed files contain incorrect FSF address
9520 2007-09-25 David Kilzer <ddkilzer@webkit.org>
9524 Make svn-apply and svn-unapply work with git-diff formatted patches.
9526 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
9527 (gitdiff2svndiff): Added.
9528 * Scripts/svn-unapply: Ditto.
9529 (gitdiff2svndiff): Added.
9531 2007-09-25 Adam Roben <aroben@apple.com>
9533 Pull advapi32.lib into WebKitInitializer
9535 This is needed to get the registry functions we use.
9537 Rubberstamped by Sam.
9539 * WebKitInitializer/WebKitInitializer.vcproj:
9541 2007-09-25 Adam Roben <aroben@apple.com>
9543 Add python and rsync to cygwin-downloader
9545 Our build slaves need this, and it can't hurt for everyone else to
9550 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
9551 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
9553 2007-09-25 Adam Roben <aroben@apple.com>
9555 Add WebKitInitializer and use it in DumpRenderTree
9557 WebKitInitializer is a static library that has one function,
9558 initializeWebKit(). This registers WebKit and sets up the DLL search
9559 path so that WebKit's dependencies that are installed with Safari can
9564 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
9565 DumpRenderTree depend on it.
9566 * DumpRenderTree/win/DumpRenderTree.cpp:
9567 (initialize): Call initializeWebKit.
9568 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
9569 WebKitInitializer.lib.
9570 * WebKitInitializer/WebKitInitializer.cpp: Added.
9573 (getInstalledWebKitDirectory):
9575 * WebKitInitializer/WebKitInitializer.h: Added.
9576 * WebKitInitializer/WebKitInitializer.vcproj: Added.
9577 * WebKitInitializer/debug.vsprops: Added.
9578 * WebKitInitializer/release.vsprops: Added.
9580 2007-09-25 Adam Roben <aroben@apple.com>
9582 Make run-webkit-tests respect set-webkit-configuration
9586 * Scripts/run-webkit-tests: Initialize $configuration to whatever
9587 set-webkit-configuration was last set to.
9589 2007-09-25 Mark Rowe <mrowe@apple.com>
9591 Rubber-stamped by Eric.
9593 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
9594 This makes it possible to automate nightly builds for the feature-branch.
9596 2007-09-25 Adam Roben <aroben@apple.com>
9598 A couple of fixes/enhancements to update-webkit-*-libs
9600 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
9601 to tell update-webkit-support-libraries where it should find the
9602 WebKitSupportLibrary.zip file you downloaded.
9604 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
9609 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
9610 to $auxiliaryLibsURL and removed an irrelevant comment.
9611 * Scripts/update-webkit-support-libs:
9613 2007-09-25 Adam Treat <treat@kde.org>
9615 Reviewed by Simon and Lars.
9617 Refactors and cleans up Qt DRT member variable names, member variable
9618 initialization, style fixes and general code cleanup.
9620 Adds queueReload slot to LayoutTestController that some tests require.
9622 Subclasses QWebFrame to make sure that all frames have an associated
9623 LayoutTestController JS window object.
9625 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
9626 aren't dumped twice.
9630 Together, this patch fixes some 20+ layout tests in QtWebKit.
9632 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9633 (WebCore::WebFrame::WebFrame):
9634 (WebCore::WebPage::WebPage):
9635 (WebCore::WebPage::createFrame):
9636 (WebCore::DumpRenderTree::DumpRenderTree):
9637 (WebCore::DumpRenderTree::open):
9638 (WebCore::DumpRenderTree::readStdin):
9639 (WebCore::DumpRenderTree::initJSObjects):
9640 (WebCore::DumpRenderTree::dump):
9641 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
9642 (WebCore::DumpRenderTree::layoutTestController):
9643 (WebCore::DumpRenderTree::eventSender):
9644 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
9645 (LayoutTestController::LayoutTestController):
9646 (LayoutTestController::reset):
9647 (LayoutTestController::maybeDump):
9648 (LayoutTestController::waitUntilDone):
9649 (LayoutTestController::notifyDone):
9650 (LayoutTestController::queueReload):
9651 (LayoutTestController::provisionalLoad):
9652 (EventSender::EventSender):
9653 (EventSender::mouseDown):
9654 (EventSender::mouseUp):
9655 (EventSender::mouseMoveTo):
9656 (EventSender::frameUnderMouse):
9657 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
9658 (LayoutTestController::isLoading):
9659 (LayoutTestController::setLoading):
9660 (LayoutTestController::dumpAsText):
9661 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
9664 2007-09-24 Kevin McCullough <kmccullough@apple.com>
9667 - Reverted an accidentally checked in file.
9669 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
9671 2007-09-24 Kevin McCullough <kmccullough@apple.com>
9674 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
9676 * DumpRenderTree/win/DumpRenderTree.vcproj:
9677 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9679 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
9681 Rubber stamped by Adam.
9683 * GdkLauncher: Removed.
9684 * GdkLauncher/Bakefiles.bkgen: Removed.
9685 * GdkLauncher/ENV: Removed.
9686 * GdkLauncher/GdkLauncher.pro: Removed.
9687 * GdkLauncher/gdklauncher.bkl: Removed.
9688 * GdkLauncher/main.cpp: Removed.
9689 * GdkLauncher/mk: Removed.
9690 * GdkLauncher/simple.svg: Removed.
9691 * GdkLauncher/text.html: Removed.
9692 * GtkLauncher: Added.
9693 * GtkLauncher/GdkLauncher.pro: Removed.
9694 * GtkLauncher/GtkLauncher.pro: Added.
9695 * GtkLauncher/main.cpp:
9696 (updateWindowTitle):
9698 * Scripts/build-webkit:
9699 * Scripts/regenerate-makefiles:
9700 * Scripts/run-javascriptcore-tests:
9701 * Scripts/run-launcher:
9702 * Scripts/run-webkit-tests:
9703 * Scripts/webkitdirs.pm:
9705 2007-09-21 Timothy Hatcher <timothy@apple.com>
9707 Reviewed by Darin Adler.
9709 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
9711 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
9712 This is tested by plugins/root-object-premature-delete-crash.html.
9714 * DumpRenderTree/mac/ObjCController.m:
9715 (-[ObjCController accessStoredWebScriptObject]):
9717 2007-09-21 Kevin McCullough <kmccullough@apple.com>
9721 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
9723 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
9724 (FrameLoadDelegate::FrameLoadDelegate):
9726 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
9730 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
9731 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
9733 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
9734 Now isQt() and isGdk() use global variables that are only set once.
9736 An array of all the parameters is now given to build-dumprender which includes
9737 the platform on linux.
9739 * Scripts/build-dumprendertree:
9740 * Scripts/run-webkit-tests:
9741 * Scripts/webkitdirs.pm:
9743 2007-09-19 Adam Roben <aroben@apple.com>
9745 Rubberstamped by Hyatt.
9747 * Spinneret: Removed.
9749 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
9751 Reviewed by David Kilzer.
9753 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
9755 2007-09-18 Sam Weinig <sam@webkit.org>
9757 Add JSRetainPtr.h #include to fix some builds.
9759 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9761 2007-09-18 Mike Hommey <glandium@debian.org>
9765 * Scripts/prepare-ChangeLog:
9766 - Properly parse GECOS field.
9767 - Use git configuration for user name and email when appropriate.
9769 2007-09-17 Sam Weinig <sam@webkit.org>
9773 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9775 2007-09-17 Sam Weinig <sam@webkit.org>
9777 Reviewed by Adam Roben.
9779 Share more code between mac and windows DRT.
9780 - GCController is now shared.
9781 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
9783 * DumpRenderTree/GCController.cpp:
9784 * DumpRenderTree/win/DumpRenderTree.cpp:
9785 * DumpRenderTree/win/DumpRenderTree.vcproj:
9786 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
9787 (FrameLoadDelegate::FrameLoadDelegate):
9788 (FrameLoadDelegate::~FrameLoadDelegate):
9789 (FrameLoadDelegate::windowScriptObjectAvailable):
9790 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
9791 * DumpRenderTree/win/GCController.cpp: Removed.
9792 * DumpRenderTree/win/GCController.h: Removed.
9793 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
9794 (GCController::collect):
9795 (GCController::collectOnAlternateThread):
9796 (GCController::getJSObjectCount):
9797 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
9798 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
9800 2007-09-17 Sam Weinig <sam@webkit.org>
9802 Reviewed by Adam Roben.
9804 Begin sharing code between mac and windows DRT.
9805 - both now share LayoutTestController.h/cpp and implement platform dependant
9806 operations in LayoutTestControllerMac/Win.
9807 - DumpRenderTree.h is now shared.
9808 - WorkQueue and WorkQueueItem are also shared.
9810 * DumpRenderTree/DumpRenderTree.h:
9811 * DumpRenderTree/LayoutTestController.cpp:
9812 * DumpRenderTree/win/DumpRenderTree.cpp:
9814 (dumpFrameScrollPosition):
9818 * DumpRenderTree/win/DumpRenderTree.h: Removed.
9819 * DumpRenderTree/win/DumpRenderTree.vcproj:
9820 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
9821 * DumpRenderTree/win/EditingDelegate.cpp:
9822 (EditingDelegate::shouldBeginEditingInDOMRange):
9823 (EditingDelegate::shouldEndEditingInDOMRange):
9824 (EditingDelegate::shouldInsertNode):
9825 (EditingDelegate::shouldInsertText):
9826 (EditingDelegate::shouldDeleteDOMRange):
9827 (EditingDelegate::shouldChangeSelectedDOMRange):
9828 (EditingDelegate::shouldApplyStyle):
9829 (EditingDelegate::shouldChangeTypingStyle):
9830 (EditingDelegate::doPlatformCommand):
9831 (EditingDelegate::webViewDidBeginEditing):
9832 (EditingDelegate::webViewDidChange):
9833 (EditingDelegate::webViewDidEndEditing):
9834 (EditingDelegate::webViewDidChangeTypingStyle):
9835 (EditingDelegate::webViewDidChangeSelection):
9836 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
9837 * DumpRenderTree/win/LayoutTestController.h: Removed.
9838 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
9839 (LayoutTestController::addDisallowedURL):
9840 (LayoutTestController::clearBackForwardList):
9841 (LayoutTestController::copyDecodedHostName):
9842 (LayoutTestController::copyEncodedHostName):
9843 (LayoutTestController::display):
9844 (LayoutTestController::keepWebHistory):
9845 (LayoutTestController::notifyDone):
9846 (LayoutTestController::queueBackNavigation):
9847 (LayoutTestController::queueForwardNavigation):
9848 (jsStringRefToWString):
9849 (LayoutTestController::queueLoad):
9850 (LayoutTestController::queueReload):
9851 (LayoutTestController::queueScript):
9852 (LayoutTestController::setAcceptsEditing):
9853 (LayoutTestController::setCustomPolicyDelegate):
9854 (LayoutTestController::setMainFrameIsFirstResponder):
9855 (LayoutTestController::setTabKeyCyclesThroughElements):
9856 (LayoutTestController::setUseDashboardCompatibilityMode):
9857 (LayoutTestController::setUserStyleSheetEnabled):
9858 (LayoutTestController::setUserStyleSheetLocation):
9859 (LayoutTestController::setWindowIsKey):
9860 (waitUntilDoneWatchdogFired):
9861 (LayoutTestController::setWaitToDump):
9862 (LayoutTestController::windowCount):
9863 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
9864 (FrameLoadDelegate::didReceiveTitle):
9865 (FrameLoadDelegate::processWork):
9866 (FrameLoadDelegate::locationChangeDone):
9867 (FrameLoadDelegate::windowScriptObjectAvailable):
9868 * DumpRenderTree/win/WorkQueue.cpp: Removed.
9869 * DumpRenderTree/win/WorkQueue.h: Removed.
9870 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
9871 * DumpRenderTree/win/WorkQueueItem.h: Removed.
9872 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
9873 (jsStringRefToWString):
9875 (ScriptItem::invoke):
9877 2007-09-17 Sam Weinig <sam@webkit.org>
9879 Reviewed by Adam Roben.
9881 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
9883 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
9884 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
9885 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
9886 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
9887 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
9888 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
9889 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
9890 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
9891 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
9892 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
9893 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
9894 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
9895 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
9896 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
9897 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
9898 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
9899 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
9900 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
9901 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
9902 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
9903 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
9904 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
9905 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
9906 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
9907 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
9908 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
9909 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
9910 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
9911 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
9912 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
9913 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
9914 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
9915 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
9916 * DumpRenderTree/win: Added.
9917 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
9918 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
9919 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
9920 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
9921 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
9922 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
9923 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
9924 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
9925 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
9926 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
9927 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
9928 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
9929 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
9930 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9931 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
9932 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
9933 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
9934 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
9935 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
9936 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
9937 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
9938 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
9939 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
9940 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
9941 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
9942 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
9944 2007-09-15 Mark Rowe <mrowe@apple.com>
9946 Build fix for DumpRenderTree.
9948 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
9950 2007-09-14 Sam Weinig <sam@webkit.org>
9952 Rubber stamped by Adam Roben.
9954 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
9955 - The UIDelegate was put into a new file while the FrameLoadDelegate was
9956 kept in the WaitUntilDoneDelegate file for the time being.
9958 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
9960 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
9961 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
9962 (UIDelegate::QueryInterface):
9963 (UIDelegate::AddRef):
9964 (UIDelegate::Release):
9965 (UIDelegate::hasCustomMenuImplementation):
9966 (UIDelegate::setFrame):
9967 (UIDelegate::webViewFrame):
9968 (UIDelegate::runJavaScriptAlertPanelWithMessage):
9969 (UIDelegate::webViewAddMessageToConsole):
9970 (UIDelegate::doDragDrop):
9971 (UIDelegate::webViewGetDlgCode):
9972 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
9973 (UIDelegate::UIDelegate):
9974 (UIDelegate::createWebViewWithRequest):
9975 (UIDelegate::webViewShow):
9976 (UIDelegate::webViewClose):
9977 (UIDelegate::webViewFocus):
9978 (UIDelegate::webViewUnfocus):
9979 (UIDelegate::webViewFirstResponder):
9980 (UIDelegate::makeFirstResponder):
9981 (UIDelegate::setStatusText):
9982 (UIDelegate::webViewStatusText):
9983 (UIDelegate::webViewAreToolbarsVisible):
9984 (UIDelegate::setToolbarsVisible):
9985 (UIDelegate::webViewIsStatusBarVisible):
9986 (UIDelegate::setStatusBarVisible):
9987 (UIDelegate::webViewIsResizable):
9988 (UIDelegate::setResizable):
9989 (UIDelegate::setContentRect):
9990 (UIDelegate::webViewContentRect):
9991 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
9992 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
9993 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
9994 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
9995 (UIDelegate::mouseDidMoveOverElement):
9996 (UIDelegate::contextMenuItemsForElement):
9997 (UIDelegate::validateUserInterfaceItem):
9998 (UIDelegate::shouldPerformAction):
9999 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
10000 (UIDelegate::willPerformDragDestinationAction):
10001 (UIDelegate::dragSourceActionMaskForPoint):
10002 (UIDelegate::willPerformDragSourceAction):
10003 (UIDelegate::contextMenuItemSelected):
10004 (UIDelegate::trackCustomPopupMenu):
10005 (UIDelegate::measureCustomMenuItem):
10006 (UIDelegate::drawCustomMenuItem):
10007 (UIDelegate::addCustomMenuDrawingData):
10008 (UIDelegate::cleanUpCustomMenuDrawingData):
10009 (UIDelegate::canTakeFocus):
10010 (UIDelegate::takeFocus):
10011 (UIDelegate::registerUndoWithTarget):
10012 (UIDelegate::removeAllActionsWithTarget):
10013 (UIDelegate::setActionTitle):
10014 (UIDelegate::undo):
10015 (UIDelegate::redo):
10016 (UIDelegate::canUndo):
10017 (UIDelegate::canRedo):
10018 (UIDelegate::webViewResizerRect):
10019 (UIDelegate::webViewDrawResizer):
10020 (UIDelegate::webViewScrolled):
10021 (UIDelegate::webViewShouldInterruptJavaScript):
10022 (UIDelegate::webViewReceivedFocus):
10023 (UIDelegate::webViewLostFocus):
10024 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
10025 (FrameLoadDelegate::QueryInterface):
10026 (FrameLoadDelegate::AddRef):
10027 (FrameLoadDelegate::Release):
10028 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
10029 (FrameLoadDelegate::didCommitLoadForFrame):
10030 (FrameLoadDelegate::didReceiveTitle):
10031 (FrameLoadDelegate::processWork):
10032 (processWorkTimer):
10033 (FrameLoadDelegate::locationChangeDone):
10034 (FrameLoadDelegate::didFinishLoadForFrame):
10035 (FrameLoadDelegate::didFailLoadWithError):
10036 (FrameLoadDelegate::windowScriptObjectAvailable):
10037 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
10038 (FrameLoadDelegate::FrameLoadDelegate):
10040 2007-09-14 Sam Weinig <sam@webkit.org>
10042 Reviewed by Kevin McCullough.
10044 Move mac specific globals in to mac/DumpRenderTreeMac.h
10046 * DumpRenderTree/DumpRenderTree.h:
10047 * DumpRenderTree/DumpRenderTree.mm: Removed.
10048 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10049 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
10050 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
10052 2007-09-14 Brady Eidson <beidson@apple.com>
10054 Rubberstamped by Weinig
10056 You know, Sam, some of us use case-sensitve filesystems...
10058 * DumpRenderTree/DumpRenderTree.h:
10059 * DumpRenderTree/mac/UIDelegate.mm:
10061 2007-09-14 Sam Weinig <sam@webkit.org>
10063 Rubber stamped by Adam Roben.
10065 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
10066 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
10068 * DumpRenderTree/AppleScriptController.h: Removed.
10069 * DumpRenderTree/AppleScriptController.m: Removed.
10070 * DumpRenderTree/DumpRenderTree.h:
10071 * DumpRenderTree/DumpRenderTree.mm:
10072 (startJavaScriptThreads):
10073 (stopJavaScriptThreads):
10074 (activateAhemFont):
10075 (setDefaultColorProfileToRGB):
10076 (makeLargeMallocFailSilently):
10077 (dumpFrameScrollPosition):
10078 (dumpFramesAsText):
10081 (-[DumpRenderTreeWindow isKeyWindow]):
10082 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10083 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
10084 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
10085 * DumpRenderTree/EditingDelegate.h: Removed.
10086 * DumpRenderTree/EditingDelegate.m: Removed.
10087 * DumpRenderTree/EventSendingController.h: Removed.
10088 * DumpRenderTree/EventSendingController.m: Removed.
10089 * DumpRenderTree/FrameLoadDelegate.h: Removed.
10090 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
10091 * DumpRenderTree/GCController.mm: Removed.
10092 * DumpRenderTree/ImageDiff.m: Removed.
10093 * DumpRenderTree/LayoutTestController.cpp:
10094 (LayoutTestController::LayoutTestController):
10095 (dumpAsTextCallback):
10096 (dumpBackForwardListCallback):
10097 (dumpChildFramesAsTextCallback):
10098 (dumpChildFrameScrollPositionsCallback):
10099 (dumpDOMAsWebArchiveCallback):
10100 (dumpEditingCallbacksCallback):
10101 (dumpFrameLoadCallbacksCallback):
10102 (dumpResourceLoadCallbacksCallback):
10103 (dumpSelectionRectCallback):
10104 (dumpSourceAsWebArchiveCallback):
10105 (dumpTitleChangesCallback):
10106 (repaintSweepHorizontallyCallback):
10107 (setCallCloseOnWebViewsCallback):
10108 (setCanOpenWindowsCallback):
10109 (setCloseRemainingWindowsWhenCompleteCallback):
10110 (testRepaintCallback):
10111 (addFileToPasteboardOnDragCallback):
10112 (waitUntilDoneCallback):
10113 * DumpRenderTree/LayoutTestController.h:
10114 (LayoutTestController::dumpAsText):
10115 (LayoutTestController::setDumpAsText):
10116 (LayoutTestController::dumpBackForwardList):
10117 (LayoutTestController::setDumpBackForwardList):
10118 (LayoutTestController::dumpChildFrameScrollPositions):
10119 (LayoutTestController::setDumpChildFrameScrollPositions):
10120 (LayoutTestController::dumpChildFramesAsText):
10121 (LayoutTestController::setDumpChildFramesAsText):
10122 (LayoutTestController::dumpDOMAsWebArchive):
10123 (LayoutTestController::setDumpDOMAsWebArchive):
10124 (LayoutTestController::dumpSelectionRect):
10125 (LayoutTestController::setDumpSelectionRect):
10126 (LayoutTestController::dumpSourceAsWebArchive):
10127 (LayoutTestController::setDumpSourceAsWebArchive):
10128 (LayoutTestController::dumpTitleChanges):
10129 (LayoutTestController::setDumpTitleChanges):
10130 (LayoutTestController::dumpEditingCallbacks):
10131 (LayoutTestController::setDumpEditingCallbacks):
10132 (LayoutTestController::dumpResourceLoadCallbacks):
10133 (LayoutTestController::setDumpResourceLoadCallbacks):
10134 (LayoutTestController::dumpFrameLoadCallbacks):
10135 (LayoutTestController::setDumpFrameLoadCallbacks):
10136 (LayoutTestController::addFileToPasteboardOnDrag):
10137 (LayoutTestController::setAddFileToPasteboardOnDrag):
10138 (LayoutTestController::callCloseOnWebViews):
10139 (LayoutTestController::setCallCloseOnWebViews):
10140 (LayoutTestController::canOpenWindows):
10141 (LayoutTestController::setCanOpenWindows):
10142 (LayoutTestController::closeRemainingWindowsWhenComplete):
10143 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
10144 (LayoutTestController::testRepaint):
10145 (LayoutTestController::setTestRepaint):
10146 (LayoutTestController::testRepaintSweepHorizontally):
10147 (LayoutTestController::setTestRepaintSweepHorizontally):
10148 (LayoutTestController::waitToDump):
10149 (LayoutTestController::windowIsKey):
10150 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
10151 * DumpRenderTree/NavigationController.h: Removed.
10152 * DumpRenderTree/NavigationController.m: Removed.
10153 * DumpRenderTree/ObjCController.h: Removed.
10154 * DumpRenderTree/ObjCController.m: Removed.
10155 * DumpRenderTree/ObjCPlugin.h: Removed.
10156 * DumpRenderTree/ObjCPlugin.m: Removed.
10157 * DumpRenderTree/ObjCPluginFunction.h: Removed.
10158 * DumpRenderTree/ObjCPluginFunction.m: Removed.
10159 * DumpRenderTree/PolicyDelegate.h: Removed.
10160 * DumpRenderTree/PolicyDelegate.m: Removed.
10161 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
10162 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
10163 * DumpRenderTree/TextInputController.h: Removed.
10164 * DumpRenderTree/TextInputController.m: Removed.
10165 * DumpRenderTree/UIDelegate.h: Removed.
10166 * DumpRenderTree/UIDelegate.mm: Removed.
10167 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
10168 * DumpRenderTree/mac: Added.
10169 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
10170 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
10171 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
10172 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
10173 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
10174 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
10175 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
10176 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
10177 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
10178 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
10179 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
10180 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
10181 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
10182 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
10183 (-[EditingDelegate webViewDidBeginEditing:]):
10184 (-[EditingDelegate webViewDidChange:]):
10185 (-[EditingDelegate webViewDidEndEditing:]):
10186 (-[EditingDelegate webViewDidChangeTypingStyle:]):
10187 (-[EditingDelegate webViewDidChangeSelection:]):
10188 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
10189 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
10190 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
10191 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
10192 (-[FrameLoadDelegate init]):
10193 (-[FrameLoadDelegate dealloc]):
10194 (-[FrameLoadDelegate processWork:]):
10195 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
10196 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
10197 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
10198 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
10199 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
10200 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
10201 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
10202 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10203 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
10204 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
10205 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
10206 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
10207 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
10208 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
10209 (-[FrameLoadDelegate webView:willCloseFrame:]):
10210 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
10211 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
10212 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
10213 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
10214 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
10215 (LayoutTestController::notifyDone):
10216 (LayoutTestController::setWindowIsKey):
10217 (LayoutTestController::setWaitToDump):
10218 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
10219 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
10220 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
10221 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
10222 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
10223 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
10224 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
10225 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
10226 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
10227 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
10228 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
10229 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
10230 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
10231 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
10232 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
10233 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
10234 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
10235 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
10236 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
10237 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
10238 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
10239 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
10240 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
10241 (-[UIDelegate webViewFocus:]):
10242 (-[UIDelegate webView:createWebViewWithRequest:]):
10243 (-[UIDelegate webViewClose:]):
10244 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
10246 2007-09-14 Kevin McCullough <kmccullough@apple.com>
10250 - Changing Win version of Drosera work with recent changes.
10252 * Drosera/DebuggerDocument.cpp:
10253 * Drosera/DebuggerDocument.h:
10254 * Drosera/mac/DebuggerDocumentPlatform.mm:
10255 (NSStringCreateWithJSStringRef):
10256 (JSValueRefCreateWithNSString):
10257 * Drosera/win/DebuggerClient.cpp:
10258 (DebuggerClient::stepInto):
10259 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10261 2007-09-13 Kevin McCullough <kmccullough@apple.com>
10265 - Moved isPaused into the JS for efficiency and simplicity.
10267 * Drosera/DebuggerDocument.cpp:
10268 (DebuggerDocument::DebuggerDocument):
10269 (DebuggerDocument::pauseCallback):
10270 (DebuggerDocument::resumeCallback):
10271 (DebuggerDocument::isPaused):
10272 (DebuggerDocument::staticFunctions):
10273 * Drosera/DebuggerDocument.h:
10274 * Drosera/console.js:
10275 * Drosera/debugger.js:
10276 * Drosera/mac/DebuggerClient.mm:
10277 (-[DebuggerClient validateUserInterfaceItem:]):
10279 2007-09-13 Sam Weinig <sam@webkit.org>
10281 Rubber stamped by Darin Adler.
10283 Make DumpRenderTree more cross platform ready.
10284 - Convert GCController to use the JSCore API instead of the WebScriptObject.
10285 - Use CF types instead of NS objects.
10288 * DumpRenderTree/DumpRenderTree.h:
10289 * DumpRenderTree/DumpRenderTree.mm:
10293 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10294 * DumpRenderTree/EditingDelegate.m:
10295 * DumpRenderTree/FrameLoadDelegate.h:
10296 * DumpRenderTree/FrameLoadDelegate.mm:
10297 (-[FrameLoadDelegate init]):
10298 (-[FrameLoadDelegate dealloc]):
10299 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10300 * DumpRenderTree/GCController.cpp: Added.
10301 (GCController::GCController):
10302 (GCController::~GCController):
10304 (collectOnAlternateThreadCallback):
10305 (getJSObjectCountCallback):
10306 (GCController::makeWindowObject):
10307 (GCController::getJSClass):
10308 (GCController::staticFunctions):
10309 * DumpRenderTree/GCController.h:
10310 * DumpRenderTree/GCController.mm:
10311 (GCController::collect):
10312 (GCController::collectOnAlternateThread):
10313 (GCController::getJSObjectCount):
10314 * DumpRenderTree/LayoutTestController.cpp:
10315 (LayoutTestController::makeWindowObject):
10316 (LayoutTestController::getJSClass):
10317 * DumpRenderTree/LayoutTestController.h:
10318 * DumpRenderTree/LayoutTestControllerMac.mm:
10319 (LayoutTestController::addDisallowedURL):
10320 (waitUntilDoneWatchdogFired):
10321 (LayoutTestController::waitUntilDone):
10322 * DumpRenderTree/ResourceLoadDelegate.m:
10323 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
10325 2007-09-12 Sam Weinig <sam@webkit.org>
10327 Reviewed by Stephanie.
10329 Fix leaks in mac DumpRenderTree.
10331 * DumpRenderTree/FrameLoadDelegate.mm:
10332 (-[FrameLoadDelegate init]): Initalize in the correct order.
10333 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
10334 * DumpRenderTree/LayoutTestController.cpp:
10335 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
10336 (encodeHostNameCallback): ditto.
10337 * DumpRenderTree/LayoutTestController.h:
10338 * DumpRenderTree/LayoutTestControllerMac.mm:
10339 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
10340 (LayoutTestController::copyEncodedHostName): ditto
10341 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
10343 2007-09-12 Kevin McCullough <kmccullough@apple.com>
10347 - 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.
10349 * Scripts/run-webkit-tests:
10351 2007-09-12 Kevin McCullough <kmccullough@apple.com>
10353 Reviewed by Darin Adler.
10355 - Simplified code paths and extracted out functions to increase encapsulation.
10357 * Drosera/DebuggerDocument.cpp:
10358 (DebuggerDocument::breakpointEditorHTMLCallback):
10359 (DebuggerDocument::isPausedCallback):
10360 (DebuggerDocument::pauseCallback):
10361 (DebuggerDocument::resumeCallback):
10362 (DebuggerDocument::stepIntoCallback):
10363 (DebuggerDocument::evaluateScriptCallback):
10364 (DebuggerDocument::currentFunctionStackCallback):
10365 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
10366 (DebuggerDocument::valueForScopeVariableNamedCallback):
10367 (DebuggerDocument::logCallback):
10368 * Drosera/DebuggerDocument.h:
10369 (DebuggerDocument::getPaused):
10370 * Drosera/mac/DebuggerClient.mm:
10371 (-[DebuggerClient pause:]):
10372 (-[DebuggerClient resume:]):
10373 (-[DebuggerClient stepInto:]):
10374 (-[DebuggerClient stepOver:]):
10375 (-[DebuggerClient stepOut:]):
10376 (-[DebuggerClient showConsole:]):
10377 (-[DebuggerClient closeCurrentFile:]):
10378 (-[DebuggerClient validateUserInterfaceItem:]):
10379 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
10380 (+[NSString stringOrNilFromWebScriptResult:]):
10381 (DebuggerDocument::platformPause):
10382 (DebuggerDocument::platformResume):
10383 (DebuggerDocument::platformStepInto):
10384 (DebuggerDocument::platformEvaluateScript):
10385 (DebuggerDocument::getPlatformCurrentFunctionStack):
10386 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10387 (DebuggerDocument::platformValueForScopeVariableNamed):
10388 (DebuggerDocument::platformLog):
10389 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10391 2007-09-12 Sam Weinig <sam@webkit.org>
10393 Build fix for Buildbot.
10395 * DumpRenderTree/DumpRenderTree.mm:
10398 2007-09-12 Kevin McCullough <kmccullough@apple.com>
10402 - Updated the leaks list for leopard to help identify regressions.
10404 * Scripts/run-webkit-tests:
10406 2007-09-12 Sam Weinig <sam@webkit.org>
10408 Rubber stamped by Darin Adler.
10410 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
10412 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
10413 * DumpRenderTree/DumpRenderTree.m: Removed.
10414 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
10415 (stopJavaScriptThreads): Fix initialization.
10416 (setDefaultColorProfileToRGB): Add explicit cast from void*.
10417 (dumpRenderTree): Ditto.
10419 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
10421 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10422 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
10423 * DumpRenderTree/FrameLoadDelegate.m: Removed.
10424 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
10425 (-[FrameLoadDelegate init]):
10426 (-[FrameLoadDelegate dealloc]):
10427 (-[FrameLoadDelegate processWork:]):
10428 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
10429 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10430 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
10432 * DumpRenderTree/LayoutTestController.cpp: Added.
10433 (LayoutTestController::LayoutTestController):
10434 (LayoutTestController::~LayoutTestController):
10435 (dumpAsTextCallback):
10436 (dumpBackForwardListCallback):
10437 (dumpChildFramesAsTextCallback):
10438 (dumpChildFrameScrollPositionsCallback):
10439 (dumpDOMAsWebArchiveCallback):
10440 (dumpEditingCallbacksCallback):
10441 (dumpFrameLoadCallbacksCallback):
10442 (dumpResourceLoadCallbacksCallback):
10443 (dumpSelectionRectCallback):
10444 (dumpSourceAsWebArchiveCallback):
10445 (dumpTitleChangesCallback):
10446 (repaintSweepHorizontallyCallback):
10447 (setCallCloseOnWebViewsCallback):
10448 (setCanOpenWindowsCallback):
10449 (setCloseRemainingWindowsWhenCompleteCallback):
10450 (testRepaintCallback):
10451 (addFileToPasteboardOnDragCallback):
10452 (addDisallowedURLCallback):
10453 (clearBackForwardListCallback):
10454 (decodeHostNameCallback):
10456 (encodeHostNameCallback):
10457 (keepWebHistoryCallback):
10458 (notifyDoneCallback):
10459 (queueBackNavigationCallback):
10460 (queueForwardNavigationCallback):
10461 (queueLoadCallback):
10462 (queueReloadCallback):
10463 (queueScriptCallback):
10464 (setAcceptsEditingCallback):
10465 (setCustomPolicyDelegateCallback):
10466 (setMainFrameIsFirstResponderCallback):
10467 (setTabKeyCyclesThroughElementsCallback):
10468 (setUseDashboardCompatibilityModeCallback):
10469 (setUserStyleSheetEnabledCallback):
10470 (setUserStyleSheetLocationCallback):
10471 (setWindowIsKeyCallback):
10472 (waitUntilDoneCallback):
10473 (windowCountCallback):
10474 (LayoutTestController::makeWindowObject):
10475 (LayoutTestController::getLayoutTestControllerJSClass):
10476 (LayoutTestController::staticFunctions):
10477 * DumpRenderTree/LayoutTestController.h: Replaced.
10478 * DumpRenderTree/LayoutTestController.m: Removed.
10479 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
10480 (LayoutTestController::dumpAsText):
10481 (LayoutTestController::dumpBackForwardList):
10482 (LayoutTestController::dumpChildFramesAsText):
10483 (LayoutTestController::dumpChildFrameScrollPositions):
10484 (LayoutTestController::dumpDOMAsWebArchive):
10485 (LayoutTestController::dumpEditingCallbacks):
10486 (LayoutTestController::dumpFrameLoadCallbacks):
10487 (LayoutTestController::dumpResourceLoadCallbacks):
10488 (LayoutTestController::dumpSelectionRect):
10489 (LayoutTestController::dumpSourceAsWebArchive):
10490 (LayoutTestController::dumpTitleChanges):
10491 (LayoutTestController::repaintSweepHorizontally):
10492 (LayoutTestController::setCallCloseOnWebViews):
10493 (LayoutTestController::setCanOpenWindows):
10494 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
10495 (LayoutTestController::testRepaint):
10496 (LayoutTestController::addFileToPasteboardOnDrag):
10497 (LayoutTestController::addDisallowedURL):
10498 (LayoutTestController::clearBackForwardList):
10499 (LayoutTestController::decodeHostName):
10500 (LayoutTestController::encodeHostName):
10501 (LayoutTestController::display):
10502 (LayoutTestController::keepWebHistory):
10503 (LayoutTestController::notifyDone):
10504 (LayoutTestController::queueBackNavigation):
10505 (LayoutTestController::queueForwardNavigation):
10506 (LayoutTestController::queueLoad):
10507 (LayoutTestController::queueReload):
10508 (LayoutTestController::queueScript):
10509 (LayoutTestController::setAcceptsEditing):
10510 (LayoutTestController::setCustomPolicyDelegate):
10511 (LayoutTestController::setMainFrameIsFirstResponder):
10512 (LayoutTestController::setTabKeyCyclesThroughElements):
10513 (LayoutTestController::setUseDashboardCompatibilityMode):
10514 (LayoutTestController::setUserStyleSheetEnabled):
10515 (LayoutTestController::setUserStyleSheetLocation):
10516 (LayoutTestController::setWindowIsKey):
10517 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
10518 (LayoutTestController::waitUntilDone):
10519 (LayoutTestController::windowCount):
10520 Use the JSCore API to implement the LayoutTestController.
10522 * DumpRenderTree/ObjCController.h:
10523 * DumpRenderTree/ObjCController.m:
10524 (+[ObjCController isSelectorExcludedFromWebScript:]):
10525 (+[ObjCController webScriptNameForSelector:]):
10526 (-[ObjCController accessStoredWebScriptObject]):
10527 (-[ObjCController storeWebScriptObject:]):
10528 (-[ObjCController dealloc]):
10529 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
10530 Move WebScriptObject tests to ObjCController.
10532 * DumpRenderTree/UIDelegate.m: Removed.
10533 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
10535 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
10536 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
10537 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
10538 (WorkQueueItem::~WorkQueueItem):
10539 (LoadItem::LoadItem):
10541 (LoadItem::target):
10542 (ScriptItem::ScriptItem):
10543 (ScriptItem::script):
10544 * DumpRenderTree/WorkQueueItemMac.mm: Added.
10545 (LoadItem::invoke):
10546 (ReloadItem::invoke):
10547 (ScriptItem::invoke):
10548 (BackForwardItem::invoke):
10549 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
10550 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
10553 2007-09-11 Kevin McCullough <kmccullough@apple.com>
10555 Reviewed by Maciej.
10557 - Updated Win side to take advantage of the platform separating changes.
10559 * Drosera/DebuggerDocument.cpp:
10560 (DebuggerDocument::localScopeVariableNamesForCallFrame):
10561 * Drosera/DebuggerDocument.h:
10562 * Drosera/win/DebuggerClient.cpp:
10563 (DebuggerClient::pause):
10564 (DebuggerClient::resume):
10565 (DebuggerClient::stepInto):
10566 (DebuggerDocument::platformPause):
10567 (DebuggerDocument::platformResume):
10568 (DebuggerDocument::platformStepInto):
10569 (DebuggerDocument::platformEvaluateScript):
10570 (DebuggerDocument::getPlatformCurrentFunctionStack):
10571 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10572 (DebuggerDocument::platformValueForScopeVariableNamed):
10573 (DebuggerDocument::platformLog):
10574 * Drosera/win/DebuggerClient.h:
10575 * Drosera/win/Drosera.cpp:
10576 (Drosera::Drosera):
10577 (Drosera::windowScriptObjectAvailable):
10578 (Drosera::initWithServerName):
10579 (Drosera::switchToServerNamed):
10580 * Drosera/win/Drosera.h:
10581 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10583 2007-09-11 Kevin McCullough <kmccullough@apple.com>
10587 - Just doing the moves in a separate patch so the changes are easier to see.
10589 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
10590 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
10591 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
10592 * Drosera/win/DebuggerDocumentWin.h: Removed.
10593 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10595 2007-09-11 Sven Herzberg <sven@imendio.com>
10597 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
10598 http://bugs.webkit.org/show_bug.cgi?id=15176
10600 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
10601 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
10602 other paths eg. from jhbuild)
10604 2007-09-10 Kevin McCullough <kmccullough@apple.com>
10608 - Made an order-of-deletion mistake.
10610 * Drosera/DebuggerDocument.h:
10611 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
10612 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
10613 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
10614 * Drosera/mac/DebuggerClient.mm:
10615 (DebuggerDocument::platformPause):
10616 (DebuggerDocument::platformResume):
10617 (DebuggerDocument::platformStepInto):
10618 (DebuggerDocument::platformEvaluateScript):
10619 (DebuggerDocument::getPlatformCurrentFunctionStack):
10620 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10621 (DebuggerDocument::platformValueForScopeVariableNamed):
10622 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10624 2007-09-10 Kevin McCullough <kmccullough@apple.com>
10626 Reviewed by Darin Adler.
10628 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
10630 * Drosera/DebuggerDocument.cpp:
10631 (DebuggerDocument::DebuggerDocument):
10632 * Drosera/DebuggerDocument.h:
10633 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
10634 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
10635 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
10636 * Drosera/mac/DebuggerApplication.mm:
10637 (-[DebuggerApplication attach:]):
10638 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
10639 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
10640 (DebuggerDocument::platformPause):
10641 (DebuggerDocument::platformResume):
10642 (DebuggerDocument::platformStepInto):
10643 (DebuggerDocument::platformEvaluateScript):
10644 (DebuggerDocument::getPlatformCurrentFunctionStack):
10645 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10646 (DebuggerDocument::platformValueForScopeVariableNamed):
10647 (DebuggerDocument::platformLog):
10648 * Drosera/mac/DebuggerDocumentMac.h: Removed.
10649 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
10650 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10652 2007-09-09 Sam Weinig <sam@webkit.org>
10654 Reviewed by Mark Rowe.
10656 Remove 'objC' prefix from methods now in the ObjCController.
10658 * DumpRenderTree/ObjCController.m:
10659 (+[ObjCController isSelectorExcludedFromWebScript:]):
10660 (+[ObjCController webScriptNameForSelector:]):
10661 (-[ObjCController classNameOf:]):
10662 (-[ObjCController objectOfClass:]):
10663 (-[ObjCController identityIsEqual::]):
10664 (-[ObjCController longLongRoundTrip:]):
10665 (-[ObjCController unsignedLongLongRoundTrip:]):
10667 2007-09-09 Sam Weinig <sam@webkit.org>
10669 Reviewed by Oliver.
10671 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
10672 - Move LayoutTestController into its own file.
10673 - Move Objective-C only functions on LayoutTestController into a new controller called the
10676 * DumpRenderTree/DumpRenderTree.h:
10677 * DumpRenderTree/DumpRenderTree.m:
10679 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10680 * DumpRenderTree/FrameLoadDelegate.m:
10681 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10682 * DumpRenderTree/LayoutTestController.h: Added.
10683 * DumpRenderTree/LayoutTestController.m: Added.
10684 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10685 (+[LayoutTestController webScriptNameForSelector:]):
10686 (-[LayoutTestController clearBackForwardList]):
10687 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
10688 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
10689 (-[LayoutTestController setCustomPolicyDelegate:]):
10690 (-[LayoutTestController keepWebHistory]):
10691 (-[LayoutTestController setCallCloseOnWebViews:]):
10692 (-[LayoutTestController setCanOpenWindows]):
10693 (-[LayoutTestController waitUntilDone]):
10694 (-[LayoutTestController waitUntilDoneWatchdogFired]):
10695 (-[LayoutTestController notifyDone]):
10696 (-[LayoutTestController dumpAsText]):
10697 (-[LayoutTestController addFileToPasteboardOnDrag]):
10698 (-[LayoutTestController addDisallowedURL:]):
10699 (-[LayoutTestController setUserStyleSheetLocation:]):
10700 (-[LayoutTestController setUserStyleSheetEnabled:]):
10701 (-[LayoutTestController dumpDOMAsWebArchive]):
10702 (-[LayoutTestController dumpSourceAsWebArchive]):
10703 (-[LayoutTestController dumpSelectionRect]):
10704 (-[LayoutTestController dumpTitleChanges]):
10705 (-[LayoutTestController dumpBackForwardList]):
10706 (-[LayoutTestController windowCount]):
10707 (-[LayoutTestController dumpChildFrameScrollPositions]):
10708 (-[LayoutTestController dumpChildFramesAsText]):
10709 (-[LayoutTestController dumpEditingCallbacks]):
10710 (-[LayoutTestController dumpResourceLoadCallbacks]):
10711 (-[LayoutTestController dumpFrameLoadCallbacks]):
10712 (-[LayoutTestController setWindowIsKey:]):
10713 (-[LayoutTestController setMainFrameIsFirstResponder:]):
10714 (-[LayoutTestController display]):
10715 (-[LayoutTestController testRepaint]):
10716 (-[LayoutTestController repaintSweepHorizontally]):
10717 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
10718 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
10719 (-[LayoutTestController _doLoad:target:]):
10720 (-[LayoutTestController _doBackOrForwardNavigation:]):
10721 (-[LayoutTestController queueBackNavigation:]):
10722 (-[LayoutTestController queueForwardNavigation:]):
10723 (-[LayoutTestController queueReload]):
10724 (-[LayoutTestController queueScript:]):
10725 (-[LayoutTestController queueLoad:target:]):
10726 (-[LayoutTestController setAcceptsEditing:]):
10727 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
10728 (-[LayoutTestController storeWebScriptObject:]):
10729 (-[LayoutTestController accessStoredWebScriptObject]):
10730 (-[LayoutTestController dealloc]):
10731 (-[LayoutTestController decodeHostName:]):
10732 (-[LayoutTestController encodeHostName:]):
10733 * DumpRenderTree/ObjCController.h: Added.
10734 * DumpRenderTree/ObjCController.m: Added.
10735 (+[ObjCController isSelectorExcludedFromWebScript:]):
10736 (+[ObjCController webScriptNameForSelector:]):
10737 (-[ObjCController objCClassNameOf:]):
10738 (-[ObjCController objCObjectOfClass:]):
10739 (-[ObjCController objCIdentityIsEqual::]):
10740 (-[ObjCController objCLongLongRoundTrip:]):
10741 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
10742 (-[ObjCController testWrapperRoundTripping:]):
10744 2007-09-07 Sam Weinig <sam@webkit.org>
10748 Strip trailing and leading space/newline characters from skiplist file names.
10750 * Scripts/run-webkit-tests:
10752 2007-09-06 Kevin McCullough <kmccullough@apple.com>
10754 Reviewed by Maciej.
10756 - Changed Drosera to take advantage of the JSRetainPtr changes.
10758 * Drosera/DebuggerDocument.cpp:
10759 (DebuggerDocument::breakpointEditorHTML):
10760 (DebuggerDocument::evaluateScript):
10761 (DebuggerDocument::valueForScopeVariableNamed):
10762 (DebuggerDocument::log):
10763 (DebuggerDocument::windowScriptObjectAvailable):
10764 (DebuggerDocument::toJSArray):
10765 (DebuggerDocument::callFunctionOnObject):
10766 (DebuggerDocument::logException):
10767 * Drosera/mac/DebuggerDocumentMac.mm:
10768 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
10769 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
10770 (DebuggerDocument::platformEvaluateScript):
10771 (DebuggerDocument::getPlatformCurrentFunctionStack):
10772 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10773 (DebuggerDocument::platformValueForScopeVariableNamed):
10775 2007-09-05 Kevin McCullough <kmccullough@apple.com>
10777 Reviewed by Adam, Sam, Darin.
10779 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
10781 * Drosera/Debugger.h: Added.
10782 * Drosera/DebuggerDocument.cpp:
10783 (DebuggerDocument::breakpointEditorHTMLCallback):
10784 (DebuggerDocument::isPausedCallback):
10785 (DebuggerDocument::pauseCallback):
10786 (DebuggerDocument::resumeCallback):
10787 (DebuggerDocument::stepIntoCallback):
10788 (DebuggerDocument::evaluateScriptCallback):
10789 (DebuggerDocument::currentFunctionStackCallback):
10790 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
10791 (DebuggerDocument::valueForScopeVariableNamedCallback):
10792 (DebuggerDocument::logCallback):
10793 (DebuggerDocument::breakpointEditorHTML):
10794 (DebuggerDocument::isPaused):
10795 (DebuggerDocument::pause):
10796 (DebuggerDocument::resume):
10797 (DebuggerDocument::stepInto):
10798 (DebuggerDocument::evaluateScript):
10799 (DebuggerDocument::currentFunctionStack):
10800 (DebuggerDocument::localScopeVariableNamesForCallFrame):
10801 (DebuggerDocument::valueForScopeVariableNamed):
10802 (DebuggerDocument::log):
10803 (DebuggerDocument::toolbarPause):
10804 (DebuggerDocument::toolbarResume):
10805 (DebuggerDocument::toolbarStepInto):
10806 (DebuggerDocument::toolbarStepOver):
10807 (DebuggerDocument::toolbarStepOut):
10808 (DebuggerDocument::toolbarShowConsole):
10809 (DebuggerDocument::toolbarCloseCurrentFile):
10810 (DebuggerDocument::updateFileSource):
10811 (DebuggerDocument::didParseScript):
10812 (DebuggerDocument::willExecuteStatement):
10813 (DebuggerDocument::didEnterCallFrame):
10814 (DebuggerDocument::willLeaveCallFrame):
10815 (DebuggerDocument::exceptionWasRaised):
10816 (DebuggerDocument::windowScriptObjectAvailable):
10817 (DebuggerDocument::toJSArray):
10818 (DebuggerDocument::callGlobalFunction):
10819 (DebuggerDocument::callFunctionOnObject):
10820 (DebuggerDocument::getDroseraJSClass):
10821 (DebuggerDocument::staticFunctions):
10822 (DebuggerDocument::logException):
10823 * Drosera/DebuggerDocument.h:
10824 (DebuggerDocument::DebuggerDocument):
10825 * Drosera/ForwardingHeaders: Added.
10826 * Drosera/ForwardingHeaders/wtf: Added.
10827 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
10828 * Drosera/config.h:
10829 * Drosera/console.html:
10830 * Drosera/console.js:
10831 * Drosera/debugger.js:
10832 * Drosera/mac/DebuggerApplication.mm:
10833 (-[DebuggerApplication attach:]):
10834 * Drosera/mac/DebuggerDocumentMac.h:
10835 * Drosera/mac/DebuggerDocumentMac.mm:
10836 (+[NSString stringOrNilFromWebScriptResult:]):
10837 (+[DebuggerClientMac log:]):
10838 (-[DebuggerClientMac initWithServerName:]):
10839 (-[DebuggerClientMac dealloc]):
10840 (-[DebuggerClientMac pause]):
10841 (-[DebuggerClientMac resume]):
10842 (-[DebuggerClientMac pause:]):
10843 (-[DebuggerClientMac resume:]):
10844 (-[DebuggerClientMac stepInto:]):
10845 (-[DebuggerClientMac stepOver:]):
10846 (-[DebuggerClientMac stepOut:]):
10847 (-[DebuggerClientMac showConsole:]):
10848 (-[DebuggerClientMac closeCurrentFile:]):
10849 (-[DebuggerClientMac validateUserInterfaceItem:]):
10850 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
10851 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
10852 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
10853 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
10854 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
10855 (DebuggerDocument::platformPause):
10856 (DebuggerDocument::platformResume):
10857 (DebuggerDocument::platformStepInto):
10858 (DebuggerDocument::platformEvaluateScript):
10859 (DebuggerDocument::platformCurrentFunctionStack):
10860 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
10861 (DebuggerDocument::platformValueForScopeVariableNamed):
10862 (DebuggerDocument::platformLog):
10863 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10865 2007-09-06 Sam Weinig <sam@webkit.org>
10867 Reviewed by Adam Roben.
10869 Register the WebKit DLL on initialization of the DumpRenderTree.
10871 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10874 2007-09-05 Sam Weinig <sam@webkit.org>
10876 Reviewed by Oliver.
10878 Fix many layout test failures caused by r25364.
10879 Set text size to standand size at the begining of each test matching the mac.
10881 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10884 2007-09-04 Sam Weinig <sam@webkit.org>
10888 Fix for <rdar://problem/5382277>
10889 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
10891 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
10892 (textZoomInCallback):
10893 (textZoomOutCallback):
10895 2007-08-29 David Kilzer <ddkilzer@apple.com>
10899 Added case-insensitivity to checks for adding regression tests.
10901 * Scripts/prepare-ChangeLog:
10902 (generateFileList):
10904 2007-08-28 David Kilzer <ddkilzer@apple.com>
10906 Reviewed by Maciej.
10908 Ignore files in /resources/ subdirectories when creating a list of added tests.
10910 * Scripts/prepare-ChangeLog:
10911 (generateFileList):
10913 2007-08-27 Kevin McCullough <kmccullough@apple.com>
10917 - Removed Leopard leaks list since all of those radars were fixed.
10919 * Scripts/run-webkit-tests:
10921 2007-08-27 Adam Roben <aroben@apple.com>
10923 Rubberstamped by Mark.
10925 * Scripts/pdevenv: Pass arguments along to devenv.com.
10927 2007-08-26 David Kilzer <ddkilzer@webkit.org>
10929 Reviewed by Mark Rowe.
10931 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
10933 * Scripts/prepare-ChangeLog:
10934 (changeLogDate): Added.
10936 2007-08-24 Sam Weinig <sam@webkit.org>
10938 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
10940 2007-08-24 Sam Weinig <sam@webkit.org>
10942 Rubber-stamped by Adam Roben.
10944 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
10946 Rename COM DOM bindings to use Deprecated prefix.
10948 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10949 (dumpFramesAsText):
10951 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
10954 (EditingDelegate::shouldBeginEditingInDOMRange):
10955 (EditingDelegate::shouldEndEditingInDOMRange):
10956 (EditingDelegate::shouldInsertNode):
10957 (EditingDelegate::shouldInsertText):
10958 (EditingDelegate::shouldDeleteDOMRange):
10959 (EditingDelegate::shouldChangeSelectedDOMRange):
10960 (EditingDelegate::shouldApplyStyle):
10961 (EditingDelegate::shouldChangeTypingStyle):
10962 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
10964 2007-08-24 Oliver Hunt <oliver@apple.com>
10966 Reviewed by John H.
10968 WebDataSource::response can legitimately have a null response, so we
10969 must check that case.
10971 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
10972 (queueLoadCallback):
10974 2007-08-23 Mitz Pettel <mitz@webkit.org>
10976 Reviewed by Darin and Adam.
10978 - DumpRenderTree changes to allow testing for
10979 http://bugs.webkit.org/show_bug.cgi?id=11756
10980 REGRESSION: link targeting a frame in another window does not work
10981 <rdar://problem/5286420>
10983 Use a frame group name for all WebViews created by DumpRenderTree to
10984 allow testing of cross-page frame lookup.
10986 * DumpRenderTree/DumpRenderTree.m:
10987 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
10988 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10989 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
10991 2007-08-23 David Kilzer <ddkilzer@webkit.org>
10995 Quote the $sslCertificate path in case it contains a space.
10997 * Scripts/run-webkit-httpd:
10998 * Scripts/run-webkit-tests:
11000 2007-08-22 Oliver Hunt <oliver@apple.com>
11002 Reviewed by John and Adam.
11004 WebDataSource::response can legitimately have a null response, so we
11005 must check that case.
11007 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11010 2007-08-21 Kevin McCullough <kmccullough@apple.com>
11014 - Changing the usage to be more clear.
11016 * Scripts/run-testkjs:
11018 2007-08-20 John Sullivan <sullivan@apple.com>
11020 Reviewed by Adam Roben
11022 * DumpRenderTree/DumpRenderTree.m:
11024 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
11025 in layout tests on Tiger and Leopard
11027 2007-08-20 Adam Roben <aroben@apple.com>
11029 Put LayoutTests after all other ChangeLogs in commit logs
11031 We use "~" to sort LayoutTests after all the other ChangeLogs because
11032 "~" is the last ASCII character (other than "DEL").
11036 * Scripts/commit-log-editor:
11038 2007-08-20 Adam Roben <aroben@apple.com>
11040 Detect that DRT crashed even if a crash dialog is running
11042 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
11043 process is still running at this point, so run-webkit-tests wouldn't
11044 detect that DRT had crashed. We now record the crash in our SIGPIPE
11045 handler so that we know if DRT crashed even if the crash dialog is up.
11049 * Scripts/run-webkit-tests:
11050 (sub catch_pipe): Set the crashed bit.
11051 (sub openDumpTool): Reset the crashed bit.
11052 (sub dumpToolDidCrash): Check the crashed bit.
11054 2007-08-20 Adam Roben <aroben@apple.com>
11056 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
11058 http://bugs.webkit.org/show_bug.cgi?id=15026
11060 Reviewed by David Kilzer and Darin Adler.
11062 * Scripts/prepare-ChangeLog:
11063 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
11064 (sub isAddedStatus): Ditto.
11065 (sub testListForChangeLog): Added.
11067 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
11071 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
11073 * Scripts/webkitdirs.pm:
11074 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
11076 2007-08-17 Darin Adler <darin@apple.com>
11078 Reviewed by Oliver Hunt.
11080 - don't look for Apple-style localizable strings in the GTK version of WebKit
11082 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
11083 name of subdirectories to skip.
11084 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
11087 2007-08-17 Anders Carlsson <andersca@apple.com>
11091 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11094 2007-08-17 Anders Carlsson <andersca@apple.com>
11096 Reviewed by Dave Hyatt.
11098 <rdar://problem/5379040>
11099 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
11101 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
11103 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11105 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
11106 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11110 2007-08-16 Alice Liu <alice.liu@apple.com>
11112 Reviewed by Maciej.
11114 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
11116 * DumpRenderTree/DumpRenderTree.m:
11118 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
11120 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
11122 2007-08-16 Kevin McCullough <kmccullough@apple.com>
11126 - 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.
11128 * Scripts/run-webkit-tests:
11130 2007-08-15 Timothy Hatcher <timothy@apple.com>
11132 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
11133 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
11135 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
11136 this prevents making "build" directories in each project folder.
11138 * Scripts/webkitdirs.pm:
11140 2007-08-14 Geoffrey Garen <ggaren@apple.com>
11142 Reviewed by Kevin Mccullough.
11144 Removed special case that didn't belong. (It would allow a global
11145 initializer to sneak into production builds, which would cause a
11146 system-wide performance regression on Mac OS X.)
11148 * Scripts/check-for-global-initializers:
11150 2007-08-14 Justin Garcia <justin.garcia@apple.com>
11154 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
11156 * DumpRenderTree/EditingDelegate.m:
11157 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
11158 only for elements with the class needsDeletionUI.
11160 2007-08-14 David Kilzer <ddkilzer@webkit.org>
11162 Reviewed by Darin Adler.
11164 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
11165 svn-create-patch uses deprecated tail switch
11167 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
11169 2007-08-13 Sam Weinig <sam@webkit.org>
11171 Reviewed by Adam Roben.
11173 Use the cygwin specific Apache config file under cygwin.
11175 * Scripts/run-webkit-httpd:
11177 2007-08-12 Adam Roben <aroben@apple.com>
11179 Generate results for new tests in a more logical location
11181 New platform-specific tests always have their results generated right
11182 next to the test. New cross-platform tests will have their results
11183 generated a) in the cross-platform directory, if they are text-only,
11184 or b) in the least-specific platform directory, if they are render
11189 * Scripts/run-webkit-tests:
11191 2007-08-12 Adam Roben <aroben@apple.com>
11193 Print the actual directory where new results are generated.
11195 Before, we were printing an unpredictable, context-specific substring
11200 * Scripts/run-webkit-tests:
11202 2007-08-12 Adam Roben <aroben@apple.com>
11204 Factor some common code into a stripExtension() subroutine.
11208 * Scripts/run-webkit-tests: Also removed some debugging output.
11210 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
11212 Reviewed over and over and over by Adam Roben.
11214 Bug 14740: Hierarchical layout tests and platform organization
11215 http://bugs.webkit.org/show_bug.cgi?id=14740
11217 Add support for platform-specific layout tests and results.
11219 * Scripts/run-webkit-tests:
11221 2007-08-11 David Kilzer <ddkilzer@webkit.org>
11225 Refactored svn-create-path to use a hash-of-hashes data structure to keep
11226 track of changed files. In the top level hash, keys are paths to files and
11227 values are 'fileData' hashes with the following keys and values:
11229 - isBinary: boolean value (set to true for non-text files like images, etc.)
11230 - isTestFile: boolean value (set to true if file exists within a known test
11232 - modificationType: string equal to one of 'addition', 'additionWithHistory',
11233 'modification' or 'deletion'
11234 - path: string equal to the path to the file (this may seem redundant, but it
11235 is required to use the second-level 'fileData' hash independent of the
11237 - sourceFile: [optional] string equal to the path of the original file that was
11239 - sourceRevision: [optional] string equal to the revision of the original file
11240 that was copied or moved
11242 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
11243 that saves the return value in $result, then checks it before printing help.
11244 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
11245 and eliminated two for() loops.
11246 (binarycmp): Added. Used with sort() to order non-binary files before binary
11248 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
11249 (findMimeType): Added optional second argument that takes a revision number.
11250 (generateDiff): Updated to take one fileData argument instead of three ($file,
11251 $modificationType, $isBinary).
11252 (generateFileList): Updated to take one hash ref argument (%diffFiles)
11253 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
11254 %diffFiles using paths for keys and fileData hashes for values.
11255 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
11257 (pathcmp): Updated to take two fileData arguments instead of two strings.
11258 (testfilecmp): Added. Used with sort() to order non-test files before test
11261 2007-08-11 Darin Adler <darin@apple.com>
11263 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
11265 2007-08-06 Nigel Tao <nigeltao@gnome.org>
11267 Reviewed by David Kilzer.
11269 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
11270 http://bugs.webkit.org/show_bug.cgi?id=14745
11272 * Scripts/run-launcher:
11273 Scrub the "--gdk" out of the command line args, if given, so that
11274 GdkLauncher doesn't try to interpret it as a URL.
11276 2007-08-03 Adam Roben <aroben@apple.com>
11278 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
11282 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
11284 2007-08-03 Sam Weinig <sam@webkit.org>
11286 Reviewed by Darin Adler.
11288 Recursively dump all frames as text using new
11289 layoutTestController.dumpChildFramesAsText() function.
11291 * DumpRenderTree/DumpRenderTree.m:
11292 (dumpFramesAsText):
11294 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11295 (-[LayoutTestController dumpChildFramesAsText]):
11297 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11298 (dumpFramesAsText):
11301 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
11302 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
11303 (dumpChildFramesAsTextCallback):
11304 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11306 2007-08-02 Adam Roben <aroben@apple.com>
11308 Fix fast/dom/Window/alert-undefined.html
11312 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
11313 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
11314 Windows translate a null BSTR into "(null)"
11316 2007-08-02 Kevin McCullough <kmccullough@apple.com>
11320 - It would help if I actually called the right function.
11322 * Drosera/DebuggerDocument.cpp:
11323 (DebuggerDocument::showConsole):
11325 2007-08-02 Adam Roben <aroben@apple.com>
11327 Don't delete the stderr file right after creating it
11329 * Scripts/run-webkit-tests:
11331 2007-08-01 Adam Roben <aroben@apple.com>
11333 When DRT crashes, record stderr and restart DRT
11335 This prevents a DRT crash from causing the next few hundred tests to
11336 "fail" because DRT is no longer running.
11338 I also changed the terminology that run-webkit-tests uses in its
11339 output a bit, so that crashing tests are referred to as "crashes"
11340 instead of "failures".
11344 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
11346 (sub openDumpTool): Use open3 so that we can access stderr.
11347 (sub dumpToolCrashed): Added.
11348 (sub printFailureMessageForTest): Added.
11349 (sub htmlForExpectedAndActualResults): Added.
11350 (sub deleteExpectedAndActualResults): Added.
11351 (sub recordActualResultsAndDiff): Added.
11353 2007-07-30 Darin Adler <darin@apple.com>
11355 Reviewed by Tim Hatcher.
11357 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
11358 characters. This turned out not to be needed for the test case that motivated me to
11359 do it, but it's nice to have this for the future.
11361 2007-07-30 Simon Hausmann <hausmann@kde.org>
11365 Link QtLauncher into $$OUTPUT_DIR/bin
11367 * Scripts/run-launcher:
11369 2007-07-27 David Kilzer <ddkilzer@apple.com>
11371 Reviewed by Geoff and Darin.
11373 Use a subroutine for validating the --skipped switch.
11375 * Scripts/run-webkit-tests:
11377 2007-07-27 Darin Adler <darin@apple.com>
11381 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
11383 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
11387 Correct the path of GdkLauncher and make checkFrameworks work on OSX
11388 when building the Qt or Gtk+ port.
11390 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
11391 * Scripts/run-launcher:
11392 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
11394 2007-07-27 Simon Hausmann <hausmann@kde.org>
11396 Done with and reviewed by Lars and Zack.
11398 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.
11400 * Scripts/webkitdirs.pm:
11402 2007-07-27 Simon Hausmann <hausmann@kde.org>
11404 Done with and reviewed by Lars and Zack.
11406 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.
11408 * Scripts/webkitdirs.pm:
11410 2007-07-26 Kevin McCullough <kmccullough@apple.com>
11412 Reviewed by Darin, Geoff, Sam.
11414 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
11416 - 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.
11418 * DumpRenderTree/UIDelegate.h:
11419 * DumpRenderTree/UIDelegate.m:
11420 (-[UIDelegate webView:setFrame:]):
11421 (-[UIDelegate webViewFrame:]):
11423 2007-07-26 Kevin McCullough <kmccullough@apple.com>
11427 - Lars wanted this check for Qt but it breaks platform specific layout tests.
11429 * Scripts/run-webkit-tests:
11431 2007-07-25 Kevin McCullough <kmccullough@apple.com>
11433 Reviewed by Tim, Darin, Oliver.
11435 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
11436 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
11439 * DumpRenderTree/DumpRenderTree.m:
11442 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11443 (+[LayoutTestController webScriptNameForSelector:]):
11444 (-[LayoutTestController setCustomPolicyDelegate:]):
11445 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11446 * DumpRenderTree/FrameLoadDelegate.h:
11447 * DumpRenderTree/PolicyDelegate.h: Added.
11448 * DumpRenderTree/PolicyDelegate.m: Added.
11449 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
11450 * DumpRenderTree/ResourceLoadDelegate.h:
11452 2007-07-25 Adam Treat <treat@kde.org>
11456 Fix build for some reported systems.
11458 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11460 2007-07-23 Adam Treat <treat@kde.org>
11462 Reviewed by Nikolas.
11464 Fix qt DRT to suppress js popup alerts and log instead.
11466 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11467 (WebCore::WebPage::javaScriptAlert):
11469 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
11473 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
11474 honor --qmakearg for the Gdk/Gtk build as well.
11476 * GdkLauncher/main.cpp: Switch to the new API
11477 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
11479 2007-07-22 Darin Adler <darin@apple.com>
11481 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
11482 Fix a leak by releasing the array used here.
11484 2007-07-22 David Kilzer <ddkilzer@webkit.org>
11486 Reviewed by Darin Adler.
11488 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
11489 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
11491 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
11492 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
11494 * Scripts/update-iexploder-cssproperties: Added.
11495 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
11496 Added new CSS3 property section and Moved box-sizing property to it.
11498 2007-07-22 Oliver Hunt <oliver@apple.com>
11500 Reviewed by Darin Adler.
11502 http://bugs.webkit.org/show_bug.cgi?id=14710
11504 Add preliminary support for testing Input Method/WebKit behaviour and interaction
11505 in DRT. This provides the NSTextInput API which is most of what should be necessary
11506 to mimic the event sequences Input Methods trigger.
11508 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11509 * DumpRenderTree/TextInputController.h:
11510 * DumpRenderTree/TextInputController.m:
11511 (-[WebHTMLView interpretKeyEvents:]):
11512 (+[TextInputController isSelectorExcludedFromWebScript:]):
11513 (+[TextInputController webScriptNameForSelector:]):
11514 (-[TextInputController initWithWebView:]):
11515 (-[TextInputController dealloc]):
11516 (-[TextInputController textInput]):
11517 (-[TextInputController setInputMethodHandler:]):
11518 (-[TextInputController interpretKeyEvents:withSender:]):
11520 2007-07-20 Adam Roben <aroben@apple.com>
11522 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
11523 message not count as an existing log.
11525 2007-07-19 Geoffrey Garen <ggaren@apple.com>
11527 Reviewed by Darin Adler.
11529 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
11530 value behavior of stringByEvaluatingJavaScriptFromString
11532 * DumpRenderTree/DumpRenderTree.m:
11533 (testStringByEvaluatingJavaScriptFromString):
11534 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11536 2007-07-19 Adam Roben <aroben@apple.com>
11538 Make commit-log-editor work with git
11542 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
11543 commit message template. Also removed the unused $breakPoint variable.
11545 2007-07-19 Adam Roben <aroben@apple.com>
11547 Move generally-useful VCS code into a new VCSUtils.pm module
11549 This is in preparation for making commit-log-editor git-friendly.
11553 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
11554 * Scripts/prepare-ChangeLog: Use VCSUtils.
11556 2007-07-19 Lars Knoll <lars@trolltech.com>
11558 Fix a crash on exit when running DRT against a current
11563 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
11566 2007-07-18 Adam Roben <aroben@apple.com>
11568 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
11572 * Scripts/run-webkit-httpd:
11573 * Scripts/run-webkit-tests:
11575 2007-07-18 Adam Roben <aroben@apple.com>
11577 More git friendliness for prepare-ChangeLog
11579 The overall change is to remove the use of git-status and replace it
11580 with git-diff --name-status (which we were already using in the
11581 --git-commit case).
11583 This lets us respect directories specified on the command line when
11584 using git, just as we do for Subversion. It also speeds things up a
11585 bit, especially in the subdirectory case, as git-status is pretty slow.
11587 I also fixed some issues where we wouldn't detect copied files and
11588 would reverse the new filename and the original filename for renamed files.
11592 * Scripts/prepare-ChangeLog:
11593 (sub diffFromToString): Added.
11594 (sub diffCommand): Don't append the paths in the --git-commit case, as
11595 we should be operating on the entire commit.
11596 (sub statusCommand): Always use git-diff --name-status, and added an
11597 extra -C option to git-diff to make it find a few more copied files.
11598 (sub createPatchCommand): Collapsed the two git cases a bit, and added
11599 the extra -C option as above.
11600 (sub generateFileList): Remove the git-status codepath, and recognize
11601 file copies in the --name-status output.
11602 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
11604 (sub isConflictStatus): Updated the git dictionary.
11605 (sub statusDescription): Updated the git dictionary.
11607 2007-07-18 Timothy Hatcher <timothy@apple.com>
11609 * Scripts/build-drosera: Update where we look for the Xcode project.
11611 2007-07-18 Adam Treat <treat@kde.org>
11615 Use the old wording for Safari.
11617 * Scripts/build-webkit:
11618 * Scripts/webkitdirs.pm:
11620 2007-07-18 Adam Treat <treat@kde.org>
11624 Add convenience script for launching test apps for Qt and Gdk ports.
11625 Change the build-webkit script accordingly.
11627 * Scripts/build-webkit:
11628 * Scripts/run-launcher: Added.
11629 * Scripts/webkitdirs.pm:
11631 2007-07-18 Timothy Hatcher <timothy@apple.com>
11635 Make the Page with the now required InspectorClient.
11637 * GdkLauncher/main.cpp:
11640 2007-07-18 Timothy Hatcher <timothy@apple.com>
11642 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
11643 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
11645 * Drosera/Makefile: Added.
11646 * Drosera/mac/Makefile:
11647 * DumpRenderTree/Makefile:
11649 * Makefile.Drosera: Removed.
11650 * Makefile.shared: Removed.
11652 2007-07-18 Timothy Hatcher <timothy@apple.com>
11654 The console log was 20px down from the top for no reason, move it up.
11656 * Drosera/console.css:
11658 2007-07-18 Timothy Hatcher <timothy@apple.com>
11660 Use contentDocument to get the source view's iframe document.
11661 Also adds a null/undefined check for localVariableNames.
11663 * Drosera/debugger.js:
11665 2007-07-18 Lars Knoll <lars@trolltech.com>
11667 We really don't want to compare non text only tests to the
11668 Mac results if we don't have a result for Qt, as this would
11669 give a failure and not a notification that the test is new.
11673 * Scripts/run-webkit-tests:
11675 2007-07-18 Lars Knoll <lars@trolltech.com>
11677 Reviewed by Zack & Simon
11679 Adjust to changed API in QWebFrame
11681 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11682 (WebCore::DumpRenderTree::DumpRenderTree):
11684 2007-07-18 Mark Rowe <mrowe@apple.com>
11686 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
11688 * BuildSlaveSupport/build-launcher-app:
11690 2007-07-17 Geoffrey Garen <ggaren@apple.com>
11692 Reviewed by Antti Koivisto.
11694 Added watchdog timer to waitUntilDone to prevent a run-away test from
11695 hanging the test harness.
11697 * DumpRenderTree/DumpRenderTree.m:
11699 (-[LayoutTestController waitUntilDone]):
11700 (-[LayoutTestController waitUntilDoneWatchdogFired]):
11701 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11703 2007-07-17 Kevin McCullough <kmccullough@apple.com>
11707 - Implemented cross-platform code for functions calling into the JavaScript.
11709 * Drosera/DebuggerDocument.cpp:
11710 (DebuggerDocument::callAsFunction):
11711 (DebuggerDocument::pauseJS):
11712 (DebuggerDocument::resumeJS):
11713 (DebuggerDocument::stepIntoJS):
11714 (DebuggerDocument::stepOverJS):
11715 (DebuggerDocument::stepOutJS):
11716 (DebuggerDocument::showConsoleJS):
11717 (DebuggerDocument::closeCurrentFileJS):
11718 (DebuggerDocument::updateFileSource):
11719 (DebuggerDocument::didParseScript):
11720 (DebuggerDocument::willExecuteStatement):
11721 (DebuggerDocument::didEnterCallFrame):
11722 (DebuggerDocument::willLeaveCallFrame):
11723 (DebuggerDocument::exceptionWasRaised):
11724 * Drosera/DebuggerDocument.h:
11725 * Drosera/mac/DebuggerDocumentMac.mm:
11726 (-[DebuggerDocumentMac pause:]):
11727 (-[DebuggerDocumentMac resume:]):
11728 (-[DebuggerDocumentMac stepInto:]):
11729 (-[DebuggerDocumentMac stepOver:]):
11730 (-[DebuggerDocumentMac stepOut:]):
11731 (-[DebuggerDocumentMac showConsole:]):
11732 (-[DebuggerDocumentMac closeCurrentFile:]):
11733 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
11734 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
11735 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
11736 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
11737 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
11738 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
11740 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11742 Reviewed by Darin Adler.
11744 - Continued x-platform modifications.
11746 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
11747 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
11748 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
11749 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
11750 * Drosera/win/Drosera.cpp:
11751 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
11752 * Drosera/win/stdafx.cpp: Removed.
11753 * Drosera/win/stdafx.h: Removed.
11755 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11759 - Modified files to use cross-platform code.
11761 * Drosera/DebuggerDocument.cpp: Added.
11762 (DebuggerDocument::breakpointEditorHTML):
11763 (DebuggerDocument::isPaused):
11764 (DebuggerDocument::pause):
11765 (DebuggerDocument::resume):
11766 (DebuggerDocument::stepInto):
11767 (DebuggerDocument::evaluateScript):
11768 (DebuggerDocument::currentFunctionStack):
11769 (DebuggerDocument::localScopeVariableNamesForCallFrame):
11770 (DebuggerDocument::valueForScopeVariableNamed):
11771 * Drosera/DebuggerDocument.h: Added.
11772 (DebuggerDocument::DebuggerDocument):
11773 * Drosera/config.h: Added.
11774 * Drosera/mac/DebuggerApplication.mm:
11775 (-[DebuggerApplication attach:]):
11776 * Drosera/mac/DebuggerDocument.h: Removed.
11777 * Drosera/mac/DebuggerDocument.mm: Removed.
11778 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
11779 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
11780 (-[DebuggerDocumentMac initWithServerName:]):
11781 (-[DebuggerDocumentMac dealloc]):
11782 (-[DebuggerDocumentMac breakpointEditorHTML]):
11783 (-[DebuggerDocumentMac isPaused]):
11784 (-[DebuggerDocumentMac pause]):
11785 (-[DebuggerDocumentMac resume]):
11786 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11787 * Drosera/win/DebuggerApplication.cpp:
11788 * Drosera/win/DebuggerObjectCallbacks.cpp:
11789 (breakpointEditorHTMLCallback):
11790 (currentFunctionStackCallback):
11791 (evaluateScript_inCallFrame_Callback):
11792 (isPausedCallback):
11793 (localScopeVariableNamesForCallFrame_Callback):
11796 (stepIntoCallback):
11797 (valueForScopeVariableNamed_inCallFrame_Callback):
11799 * Drosera/win/Drosera.cpp:
11800 * Drosera/win/DroseraPrefix.cpp: Added.
11801 * Drosera/win/DroseraPrefix.h: Added.
11803 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11805 Reviewed by Adam, Sam and Tim.
11807 - Moving files to prepare for cross-platform architecture.
11809 * Drosera/DebuggerApplication.h: Removed.
11810 * Drosera/DebuggerApplication.m: Removed.
11811 * Drosera/DebuggerDocument.h: Removed.
11812 * Drosera/DebuggerDocument.m: Removed.
11813 * Drosera/Drosera.pch: Removed.
11814 * Drosera/Drosera.xcodeproj: Removed.
11815 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
11816 * Drosera/Info.plist: Removed.
11817 * Drosera/LauncherInfo.plist: Removed.
11818 * Drosera/Makefile: Removed.
11819 * Drosera/launcher.m: Removed.
11820 * Drosera/mac: Added.
11821 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
11822 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
11823 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
11824 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
11825 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
11826 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
11827 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11828 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
11829 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
11830 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
11831 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
11832 * Drosera/mac/main.m: Copied from Drosera/main.m.
11833 * Drosera/main.m: Removed.
11835 * Makefile.Drosera: Added.
11837 2007-07-15 Mark Rowe <mrowe@apple.com>
11839 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
11841 2007-07-13 Sam Weinig <sam@webkit.org>
11843 Reviewed by Geoff Garen.
11845 Add support for running SSL tests over HTTPS.
11847 * DumpRenderTree/DumpRenderTree.m:
11849 * DumpRenderTree/FrameLoadDelegate.m:
11850 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
11851 * Scripts/run-webkit-httpd:
11852 * Scripts/run-webkit-tests:
11854 2007-07-13 David Kilzer <ddkilzer@apple.com>
11856 Reviewed by Darin Adler.
11858 Added support for -h|--help argument and verify that all command line arguments parse
11861 * Scripts/run-webkit-httpd:
11863 2007-07-12 Mark Rowe <mrowe@apple.com>
11867 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
11869 * Scripts/run-webkit-tests:
11871 2007-07-12 Geoffrey Garen <ggaren@apple.com>
11873 Reviewed by Oliver Hunt.
11875 Made the leaks tests pass on Leopard.
11877 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
11878 * Scripts/run-leaks: Updated parser for slight change in text output.
11880 2007-07-11 David Kilzer <ddkilzer@apple.com>
11882 Reviewed by Maciej.
11884 Update the iExploder list of CSS properties after box-sizing was renamed to
11885 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
11887 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
11888 -moz-box-sizing remain.
11890 2007-07-10 Darin Adler <darin@apple.com>
11892 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
11893 Foundation's multipart/mixed-replace support -- I already verified that
11894 the bug has been fixed.
11896 2007-07-10 Alice Liu <alice.liu@apple.com>
11898 rubber stamped by Maciej.
11900 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
11902 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11903 (initializePreferences):
11904 set editable link behavior to match Mac DRT.
11906 2007-07-10 Geoffrey Garen <ggaren@apple.com>
11908 Reviewed by Tim Hatcher.
11910 Ignore Page.o in debug builds because it now has a static PageCounter
11913 * Scripts/check-for-global-initializers:
11915 2007-07-09 Darin Adler <darin@apple.com>
11917 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
11919 2007-07-09 Alice Liu <alice.liu@apple.com>
11921 Reviewed by Adam Roben.
11923 setting DOM Paste Allowed Pref
11925 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11926 (initializePreferences):
11928 2007-07-05 Kevin McCullough <kmccullough@apple.com>
11930 Reviewed by Adam, Sam, and Ada.
11932 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
11934 * Drosera/Images/Drosera.ico: Added.
11935 * Drosera/Images/small.ico: Added.
11936 * Drosera/win: Added.
11937 * Drosera/win/BaseDelegate.h: Added.
11938 (BaseDelegate::QueryInterface):
11939 (BaseDelegate::didFinishLoadForFrame):
11940 (BaseDelegate::windowScriptObjectAvailable):
11941 (BaseDelegate::didStartProvisionalLoadForFrame):
11942 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
11943 (BaseDelegate::didFailProvisionalLoadWithError):
11944 (BaseDelegate::didCommitLoadForFrame):
11945 (BaseDelegate::didReceiveTitle):
11946 (BaseDelegate::didReceiveIcon):
11947 (BaseDelegate::didFailLoadWithError):
11948 (BaseDelegate::didChangeLocationWithinPageForFrame):
11949 (BaseDelegate::willPerformClientRedirectToURL):
11950 (BaseDelegate::didCancelClientRedirectForFrame):
11951 (BaseDelegate::willCloseFrame):
11952 (BaseDelegate::createWebViewWithRequest):
11953 (BaseDelegate::webViewShow):
11954 (BaseDelegate::webViewClose):
11955 (BaseDelegate::webViewFocus):
11956 (BaseDelegate::webViewUnfocus):
11957 (BaseDelegate::webViewFirstResponder):
11958 (BaseDelegate::makeFirstResponder):
11959 (BaseDelegate::setStatusText):
11960 (BaseDelegate::webViewStatusText):
11961 (BaseDelegate::webViewAreToolbarsVisible):
11962 (BaseDelegate::setToolbarsVisible):
11963 (BaseDelegate::webViewIsStatusBarVisible):
11964 (BaseDelegate::setStatusBarVisible):
11965 (BaseDelegate::webViewIsResizable):
11966 (BaseDelegate::setResizable):
11967 (BaseDelegate::setFrame):
11968 (BaseDelegate::webViewFrame):
11969 (BaseDelegate::setContentRect):
11970 (BaseDelegate::webViewContentRect):
11971 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
11972 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
11973 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
11974 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
11975 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
11976 (BaseDelegate::mouseDidMoveOverElement):
11977 (BaseDelegate::contextMenuItemsForElement):
11978 (BaseDelegate::validateUserInterfaceItem):
11979 (BaseDelegate::shouldPerformAction):
11980 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
11981 (BaseDelegate::willPerformDragDestinationAction):
11982 (BaseDelegate::dragSourceActionMaskForPoint):
11983 (BaseDelegate::willPerformDragSourceAction):
11984 (BaseDelegate::contextMenuItemSelected):
11985 (BaseDelegate::hasCustomMenuImplementation):
11986 (BaseDelegate::trackCustomPopupMenu):
11987 (BaseDelegate::measureCustomMenuItem):
11988 (BaseDelegate::drawCustomMenuItem):
11989 (BaseDelegate::addCustomMenuDrawingData):
11990 (BaseDelegate::cleanUpCustomMenuDrawingData):
11991 (BaseDelegate::canTakeFocus):
11992 (BaseDelegate::takeFocus):
11993 (BaseDelegate::registerUndoWithTarget):
11994 (BaseDelegate::removeAllActionsWithTarget):
11995 (BaseDelegate::setActionTitle):
11996 (BaseDelegate::undo):
11997 (BaseDelegate::redo):
11998 (BaseDelegate::canUndo):
11999 (BaseDelegate::canRedo):
12000 * Drosera/win/DebuggerApplication.cpp: Added.
12001 (DebuggerApplication::serverLoaded):
12002 (DebuggerApplication::serverUnloaded):
12003 (DebuggerApplication::attach):
12004 (DebuggerApplication::numberOfRowsInTableView):
12005 (DebuggerApplication::tableView):
12006 * Drosera/win/DebuggerApplication.h: Added.
12007 (DebuggerApplication::DebuggerApplication):
12008 (DebuggerApplication::knownServers):
12009 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
12010 (breakpointEditorHTMLCallback):
12011 (currentFunctionStackCallback):
12012 (doubleClickMillisecondsCallback):
12013 (evaluateScript_inCallFrame_Callback):
12014 (isPausedCallback):
12015 (localScopeVariableNamesForCallFrame_Callback):
12018 (stepIntoCallback):
12019 (valueForScopeVariableNamed_inCallFrame_Callback):
12021 * Drosera/win/DebuggerObjectCallbacks.h: Added.
12022 * Drosera/win/Drosera.cpp: Added.
12024 (RegisterDroseraClass):
12028 (Drosera::Drosera):
12030 (Drosera::QueryInterface):
12032 (Drosera::Release):
12033 (Drosera::didFinishLoadForFrame):
12034 (getDroseraJSClass):
12035 (Drosera::windowScriptObjectAvailable):
12036 (Drosera::webViewClose):
12037 (Drosera::validateUserInterfaceItem):
12038 (Drosera::runJavaScriptAlertPanelWithMessage):
12040 * Drosera/win/Drosera.h: Added.
12041 (Drosera::webViewLoaded):
12042 * Drosera/win/Drosera.vcproj: Added.
12043 * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
12044 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
12045 * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
12046 * Drosera/win/Drosera.vcproj/release.vsprops: Added.
12047 * Drosera/win/HelperFunctions.h: Added.
12049 * Drosera/win/Info.plist: Added.
12050 * Drosera/win/resource.h: Added.
12051 * Drosera/win/stdafx.cpp: Added.
12052 * Drosera/win/stdafx.h: Added.
12054 2007-07-09 Adam Treat <adam@staikos.net>
12056 Reviewed by George Staikos.
12058 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
12061 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12062 (WebCore::DumpRenderTree::DumpRenderTree):
12064 2007-07-09 Anders Carlsson <andersca@apple.com>
12066 Reviewed by Oliver.
12068 <rdar://problem/4954319>
12069 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
12070 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
12072 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
12073 return an error from NPP_NewStream.
12075 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12077 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
12078 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
12082 2007-07-08 Mark Rowe <mrowe@apple.com>
12084 Change name from WebKit/Qt to WebKit.
12086 * CodeCoverage/regenerate-coverage-display:
12088 2007-07-08 Rob Buis <buis@kde.org>
12092 http://bugs.webkit.org/show_bug.cgi?id=14209
12093 DRT should be able to deal with text zoom
12095 Allow increasing/decreasing text zoom using eventSender.
12097 * DumpRenderTree/DumpRenderTree.m:
12099 * DumpRenderTree/EventSendingController.m:
12100 (+[EventSendingController initialize]):
12101 (+[EventSendingController isSelectorExcludedFromWebScript:]):
12102 (-[EventSendingController textZoomIn]):
12103 (-[EventSendingController textZoomOut]):
12105 2007-07-07 Mark Rowe <mrowe@apple.com>
12107 Reviewed by Oliver.
12109 * DumpRenderTree/DumpRenderTree.m:
12110 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
12112 2007-07-06 Anders Carlsson <andersca@apple.com>
12114 Reviewed by David Kilzer.
12116 <rdar://problem/5313502>
12117 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
12119 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
12120 response's attributes. Also change the JavaScript MIME type to be "text/javascript".
12122 * DumpRenderTree/DumpRenderTree.m:
12124 (convertWebResourceDataToString):
12125 (convertWebResourceResponseToDictionary):
12126 (serializeWebArchiveToXML):
12128 2007-07-06 Timothy Hatcher <timothy@apple.com>
12130 Reviewed by Oliver.
12132 Initialize the NSMutableAttributedString directly instead of creating
12133 a NSAttributedString first.
12135 * DumpRenderTree/TextInputController.m:
12136 (-[TextInputController attributedStringWithString:]):
12138 2007-07-06 Anders Carlsson <andersca@apple.com>
12140 Reviewed by David Kilzer.
12142 Replace "Apple Computer" with "Apple" in the DTD declaration.
12144 * DumpRenderTree/DumpRenderTree.m:
12145 (serializeWebArchiveToXML):
12147 2007-07-06 Adam Treat <adam@staikos.net>
12149 Reviewed by George Staikos.
12151 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
12153 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12154 (WebCore::DumpRenderTree::DumpRenderTree):
12156 2007-07-06 George Staikos <staikos@kde.org>
12158 Reviewed by Anders.
12160 Allow passing of additional arguments to qmake with --qmakearg=
12162 * Scripts/webkitdirs.pm:
12164 2007-07-05 George Staikos <staikos@kde.org>
12166 Reviewed by Maciej.
12168 Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
12169 give a path to a specific qmake binary. Both are optional.
12171 * Scripts/webkitdirs.pm:
12173 2007-07-05 Adam Roben <aroben@apple.com>
12175 Warn about tests in the Skipped file that succeeded
12177 * Scripts/run-webkit-tests:
12179 2007-07-05 Adam Roben <aroben@apple.com>
12181 Removed unused install-win-extras script
12183 Rubberstamped by Mark.
12185 * Scripts/install-win-extras: Removed.
12187 2007-07-05 Adam Roben <aroben@apple.com>
12189 Show the test's extension in the results page
12191 * Scripts/run-webkit-tests:
12193 2007-07-05 Adam Roben <aroben@apple.com>
12195 Add more options for controlling the interpretation of the Skipped file
12199 * Scripts/run-webkit-tests:
12201 2007-07-04 Adam Roben <aroben@apple.com>
12203 Add --skipped-only option to run-webkit-tests
12205 When this option is specified, only those tests listed in the Skipped
12210 * Scripts/run-webkit-tests:
12212 2007-07-04 Adam Roben <aroben@apple.com>
12214 Clean up/alphabetize the run-webkit-tests help message
12216 * Scripts/run-webkit-tests:
12218 2007-07-04 Adam Roben <aroben@apple.com>
12220 Enable a Leopard-specific Skipped list.
12224 * Scripts/run-webkit-tests: Check for Leopard.
12225 * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
12227 2007-07-03 Adam Roben <aroben@apple.com>
12229 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
12231 Got rid of extract-webkit-localizable-strings because it was trying to
12232 do update-webkit-localizable-strings' job.
12234 Rubberstamped by Darin Adler.
12236 * Scripts/extract-webkit-localizable-strings: Removed.
12237 * Scripts/update-webkit-localizable-strings: Renamed from
12238 extract-localizable-strings.
12240 2007-07-03 Adam Roben <aroben@apple.com>
12242 Modify scripts to keep Mac/Windows localized strings in sync
12244 extract-webkit-localizable-strings now handles extracting strings from
12245 both the Mac and Windows WebKit ports and updating their respective
12246 Localizable.strings files. extract-localizable-strings is now really a
12247 piece of plumbing rather than a top-level tool.
12249 Reviewed by Darin and Anders.
12251 * Scripts/extract-localizable-strings: Changed to handle multiple
12253 * Scripts/extract-webkit-localizable-strings: Added.
12255 2007-07-03 Adele Peterson <adele@apple.com>
12257 Reviewed by Darin Adler.
12259 Extended DumpRenderTree to test encoding and decoding host names.
12261 * DumpRenderTree/DumpRenderTree.m:
12262 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
12263 (+[LayoutTestController webScriptNameForSelector:]): ditto.
12264 (-[LayoutTestController decodeHostName:]): Added.
12265 (-[LayoutTestController encodeHostName:]): Added.
12267 2007-07-03 Sam Weinig <sam@webkit.org>
12269 Reviewed by Darin Adler.
12271 Eleventh round of fixes for implicit 64-32 bit conversion errors.
12272 <rdar://problem/5292262>
12274 Add functions to test long long and unsigned long long.
12276 * DumpRenderTree/DumpRenderTree.m:
12277 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12278 (+[LayoutTestController webScriptNameForSelector:]):
12279 (-[LayoutTestController objCLongLongRoundTrip:]):
12280 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
12282 2007-07-01 Adam Roben <aroben@apple.com>
12284 Fix some paths to make http tests work again on Windows
12286 Rubberstamped by Sam.
12288 * Scripts/run-webkit-tests:
12290 2007-06-28 Stephanie <slewis@apple.com>
12294 Allow tests to use pre-built roots instead of building the tests.
12296 * Scripts/run-javascriptcore-tests: added --root option
12297 * Scripts/run-webkit-tests: added --root option
12298 * Scripts/webkitdirs.pm: added support for using a root
12300 2007-06-25 Adam Roben <aroben@apple.com>
12302 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
12303 http://bugs.webkit.org/show_bug.cgi?id=14405
12305 Reviewed by Anders.
12307 * Scripts/run-webkit-tests:
12309 2007-06-25 Adam Roben <aroben@apple.com>
12311 Enable running the regression tests on Windows.
12313 These changes were developed alongside the Windows WebKit port and
12314 have been well tested.
12316 Rubberstamped by Sam.
12318 * Scripts/run-webkit-tests:
12320 2007-06-25 Adam Roben <aroben@apple.com>
12322 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
12323 http://bugs.webkit.org/show_bug.cgi?id=14403
12325 Reviewed by Mark Rowe.
12327 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
12328 (sub createPatchCommand): Generate a correct diff in the $gitCommit
12331 2007-06-25 Adam Roben <aroben@apple.com>
12333 Land pdevenv and supporting scripts/programs
12335 pdevenv is a script that will open an instance of Visual Studio that
12336 can compile multiple files in parallel, similar to make -jN. It uses
12337 the following scripts/programs to accomplish this:
12339 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
12341 parallelcl: Actually performs the parallel compilation by forking
12342 multiple instances of the Microsoft-supplied cl.exe.
12344 MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
12345 Microsoft-supplied midl.exe. This avoids having to invoke perl for
12346 every invocation of midl.exe, which would be quite slow.
12348 Rubberstamped by Sam.
12350 * CLWrapper/CLWrapper.cpp: Added.
12352 * CLWrapper/CLWrapper.sln: Added.
12353 * CLWrapper/CLWrapper.vcproj: Added.
12354 * MIDLWrapper/MIDLWrapper.cpp: Added.
12356 * MIDLWrapper/MIDLWrapper.sln: Added.
12357 * MIDLWrapper/MIDLWrapper.vcproj: Added.
12358 * Scripts/parallelcl: Added.
12359 * Scripts/pdevenv: Added.
12360 * vcbin/cl.exe: Added.
12361 * vcbin/midl.exe: Added.
12363 2007-06-23 Adam Roben <aroben@apple.com>
12365 Land num-cpus for the Windows build.
12367 Reviewed by Mark Rowe.
12369 * Scripts/num-cpus: Added.
12371 2007-06-22 Simon Hausmann <hausmann@kde.org>
12373 Reviewed by Adam Roben.
12375 Added support for populating ChangeLog entries from given git commits
12376 using --git-commit=<commitish> and --git-reviewer=<name>.
12378 * Scripts/prepare-ChangeLog:
12380 2007-06-22 Timothy Hatcher <timothy@apple.com>
12382 Reviewed by Anders.
12384 <rdar://problem/5228168> Leopard regression test failures: fast/applescript
12386 There were some changes in Leopard that made our test output inconsistent with Tiger.
12388 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
12389 on Leopard, so output our own readable string for typeType descriptors.
12391 NSArray's description also changed on Leopard to output more whitespace, so
12392 make our own string representation for typeAEList descriptors. This requires
12393 a special case typeUnicodeText too, so the output is a quoted string.
12395 * DumpRenderTree/AppleScriptController.m:
12396 (convertAEDescToObject):
12398 2007-06-21 Anders Carlsson <andersca@apple.com>
12402 Don't dump didFirstLayout callbacks, they happen intermittently.
12404 * DumpRenderTree/FrameLoadDelegate.m:
12406 2007-06-21 Lars Knoll <lars@trolltech.com>
12410 look for the Qt library in the installed location
12412 * Scripts/webkitdirs.pm:
12414 2007-06-20 Geoffrey Garen <ggaren@apple.com>
12416 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
12418 Added tests for stringByEvaluatingJavaScriptFromString.
12420 * DumpRenderTree/DumpRenderTree.m:
12421 (testStringByEvaluatingJavaScriptFromString):
12424 2007-06-19 Andrew Wellington <proton@wiretapped.net>
12426 Reviewed by Mark Rowe.
12428 Support applications with spaces or special characters in their names
12430 * Scripts/run-webkit-app:
12432 2007-06-18 Anders Carlsson <andersca@apple.com>
12434 Reviewed by John Sullivan.
12436 Assert that the frame has a dataSource.
12438 * DumpRenderTree/FrameLoadDelegate.m:
12439 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
12441 2007-06-18 Adam Treat <adam@staikos.net>
12443 Reviewed by George.
12445 Reflect the library name change.
12447 * Scripts/webkitdirs.pm:
12449 2007-06-18 Jake Helfert <jake@jakeonthenet.com>
12453 - fix http://bugs.webkit.org/show_bug.cgi?id=14154
12454 Spinneret doesn't build against the new Win32 port.
12456 * Spinneret/Spinneret/Spinneret.cpp:
12458 -Changed IWebViewExt to IWebViewPrivate
12459 -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
12460 the WIN32 function RegisterDragDrop which requires the Ole* calls.
12461 * Spinneret/Spinneret/Spinneret.h:
12462 (SpinneretWebHost::didReceiveIcon): Updated method signature.
12463 (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
12464 (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
12466 2007-06-14 Sam Weinig <sam@webkit.org>
12470 Update set of files to download for cygwin to include
12471 diffutils and regenerate the zip file. This should fix
12472 an issue on vista where svn-create-patch doesn't work.
12474 * CygwinDownloader/cygwin-downloader.py:
12475 * CygwinDownloader/cygwin-downloader.zip:
12477 2007-06-14 Mark Rowe <mrowe@apple.com>
12479 Update script to match new nightly.webkit.org infrastructure.
12481 * BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build.
12483 2007-06-12 Adam Roben <aroben@apple.com>
12485 Land CygwinDownloader.
12487 Rubberstamped by Hyatt.
12489 * CygwinDownloader/cygwin-downloader.py: Added.
12490 * CygwinDownloader/cygwin-downloader.zip: Added.
12491 * CygwinDownloader/make-zip.sh: Added.
12492 * CygwinDownloader/setup.py: Added.
12494 2007-06-06 Vladimir Olexa <vladimir.olexa@gmail.com>
12496 Reviewed by Mark Rowe.
12498 Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
12499 [Drosera] Items in the file list don't get un-highlighted when
12500 files are selected from the file drop-down
12502 * Drosera/debugger.js: currentFile was getting modified before file in the file
12503 browser got un-highlighted. Changed the order in which the functions execute.
12505 2007-06-06 Mark Rowe <mrowe@apple.com>
12507 Reviewed by Maciej.
12509 http://bugs.webkit.org/show_bug.cgi?id=13988
12510 Bug 13988: Colon in file path crashes WebKit Nightly
12512 The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
12513 the bundled WebKit framework. Both of these variables are interpreted as containing a
12514 colon-delimited list of paths. There is no escaping mechanism defined, so if we detect
12515 a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
12516 when we execute Safari.
12518 * WebKitLauncher/main.m:
12521 2007-06-05 Mark Rowe <mrowe@apple.com>
12523 Reviewed by Anders.
12525 * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
12527 2007-05-30 Alp Toker <alp.toker@collabora.co.uk>
12531 Enable logging in the Gdk port.
12532 http://bugs.webkit.org/show_bug.cgi?id=13936
12534 * GdkLauncher/main.cpp:
12537 2007-05-29 Holger Freyther <zecke@selfish.org>
12539 Reviewed by Anders.
12541 Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
12542 to provide ScrollBars for the FrameView.
12544 * GdkLauncher/main.cpp:
12545 (registerRenderingAreaEvents):
12546 (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
12547 (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
12550 2007-05-29 David Kilzer <ddkilzer@webkit.org>
12552 Reviewed by Darin Adler.
12554 - fix http://bugs.webkit.org/show_bug.cgi?id=13901
12555 run-pageloadtest does not obey testName on command-line
12557 * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
12558 otherwise default to "svg". Added dummy check to make sure $testName.pltsuite
12561 2007-05-29 David Kilzer <ddkilzer@webkit.org>
12563 Reviewed by Darin Adler.
12565 - fix http://bugs.webkit.org/show_bug.cgi?id=13900
12566 svnStatus($) subroutine in svn-[un]apply does not work properly with directories
12568 This patch also fixes an instance of the "broken pipe" warning that happened when
12569 a directory contained modified files that were not part of an applied or unapplied
12572 * Scripts/svn-apply:
12573 (svnStatus($)): If we're trying to get status on a directory (instead of a file),
12574 make sure we actually get the directory's status (if it has one), not the first
12575 file's status reported within the directory. Fix "broken pipe" warnings by
12576 reading all of the output from the SVN filehandle before closing it.
12577 * Scripts/svn-unapply:
12578 (svnStatus($)): Ditto.
12580 2007-05-28 David Kilzer <ddkilzer@webkit.org>
12582 Reviewed by Darin Adler.
12584 - fix http://bugs.webkit.org/show_bug.cgi?id=10342
12585 prepare-ChangeLog only shows removed files but not added files when files are moved
12586 - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
12587 prepare-ChangeLog and svn-create-patch don't show replaced files
12589 Switched method used to find list of changed files from "diff" to "status". This
12590 makes added and replaced files with history appear in the changed file list for svn.
12591 Added check for "+" in output from the svn status command to detect file history, and
12592 handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
12594 * Scripts/prepare-ChangeLog:
12595 (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
12596 (statusCommand(@)): Switched argument from array ref to array. Necessary to use
12597 the output of "keys $paths" without creating a temporary array variable.
12598 (findOriginalFileFromSvn($)): Added. Based on findSourceFileAndRevision($)
12599 subroutine in svn-create-patch.
12600 (generateFileList(\@\@\%)): Added. Extracted from main body of script. Runs status
12601 command using command-line arguments instead of list of changed files from the diff
12602 command. Changed svn regex to only accept file statuses that we know how to handle.
12603 Identify original file when an added/replaced status with history is present.
12604 (statusDescription($$)): Handled added/replaced statuses with history. Added
12605 fall-through return statement.
12607 2007-05-28 Holger Freyther <zecke@selfish.org>
12609 Reviewed by Mark Rowe.
12611 Add scripts and data to generate a coverage data for WebKit.
12613 * CodeCoverage/README: Added.
12614 * CodeCoverage/amber.png: Added.
12615 * CodeCoverage/cov.py: Added.
12616 * CodeCoverage/emerald.png: Added.
12617 * CodeCoverage/gcov.css: Added.
12618 * CodeCoverage/glass.png: Added.
12619 * CodeCoverage/regenerate-coverage-display: Added.
12620 * CodeCoverage/ruby.png: Added.
12621 * CodeCoverage/run-generate-coverage-data: Added.
12622 * CodeCoverage/snow.png: Added.
12623 * Scripts/build-webkit: Add --coverage by Niko
12624 * Scripts/check-for-global-initializers: Skip the check on coverage builds
12625 * Scripts/generate-coverage-data: Added.
12626 * Scripts/run-javascriptcore-tests: Add --coverage by Niko
12628 2007-05-29 Mark Rowe <mrowe@apple.com>
12630 Build fix after r21745.
12632 * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
12634 2007-05-25 Anders Carlsson <andersca@apple.com>
12638 * DumpRenderTree/DumpRenderTree.m:
12639 * DumpRenderTree/FrameLoadDelegate.m:
12641 2007-05-25 Simon Hausmann <hausmann@kde.org>
12645 For the keyDown binding use QStringList instead of QList<QString>. The former is a default
12646 registered metatype. Also print out critical messages in dumprendertree's qt message handler.
12648 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12649 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
12650 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12652 2007-05-20 David Kilzer <ddkilzer@webkit.org>
12654 Reviewed by Adam Roben.
12656 - fix http://bugs.webkit.org/show_bug.cgi?id=13565
12657 Change svn-create-patch to put LayoutTests in the end
12659 In addition to reordering test files under the LayoutTests directory so that they
12660 appear after source code files, this patch fixes an issue with prepare-ChangeLog
12661 if the first argument passed to it is a file name instead of a directory name.
12663 * Scripts/prepare-ChangeLog:
12664 (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
12666 * Scripts/svn-create-patch:
12667 (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
12670 2007-05-18 Mark Rowe <mrowe@apple.com>
12672 Reviewed by Oliver.
12674 Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
12676 * Scripts/svn-create-patch:
12677 * Scripts/webkitdirs.pm:
12679 2007-05-18 Holger Freyther <zecke@selfish.org>
12681 Reviewed by Maciej.
12683 * GdkLauncher/main.cpp: Call setGtkWidget
12686 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
12688 Reviewed by Mark Rowe.
12690 * GdkLauncher/main.cpp:
12691 (main): Call Frame::init to catch up with Maciej's changes.
12692 * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
12693 passed to the helper scripts.
12695 2007-05-16 Brady Eidson <beidson@apple.com>
12697 Build fix for some dev configurations
12699 * DumpRenderTree/DumpRenderTree.m:
12701 2007-05-16 Maciej Stachowiak <mjs@apple.com>
12703 Reviewed by Justin.
12705 - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
12707 The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
12708 that happen before the load commits.
12710 Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
12711 optional logging for every FrameLoadDelegate callback, including SPI callbacks.
12713 * DumpRenderTree/DumpRenderTree.h:
12714 * DumpRenderTree/DumpRenderTree.m:
12718 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12719 (-[LayoutTestController clearBackForwardList]):
12720 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
12721 (-[LayoutTestController dumpFrameLoadCallbacks]):
12722 (-[LayoutTestController setWindowIsKey:]):
12723 (-[LayoutTestController setMainFrameIsFirstResponder:]):
12724 (-[LayoutTestController _doLoad:target:]):
12725 (-[LayoutTestController _doBackOrForwardNavigation:]):
12726 (-[LayoutTestController queueReload]):
12727 (-[LayoutTestController queueScript:]):
12728 (-[LayoutTestController queueLoad:target:]):
12729 (-[LayoutTestController setAcceptsEditing:]):
12730 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
12731 (shouldLogFrameLoadDelegates):
12734 (+[DumpRenderTreeEvent mouseLocation]):
12735 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12736 * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
12737 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
12738 * DumpRenderTree/EventSendingController.m:
12739 (-[EventSendingController mouseDown]):
12740 (-[EventSendingController mouseUp]):
12741 (-[EventSendingController mouseMoveToX:Y:]):
12742 (-[EventSendingController contextClick]):
12743 * DumpRenderTree/FrameLoadDelegate.h: Added.
12744 * DumpRenderTree/FrameLoadDelegate.m: Added.
12745 (-[WebFrame _drt_descriptionSuitableForTestResult]):
12746 (-[FrameLoadDelegate processWork:]):
12747 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
12748 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
12749 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
12750 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
12751 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
12752 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
12753 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
12754 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12755 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
12756 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
12757 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
12758 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
12759 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
12760 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
12761 (-[FrameLoadDelegate webView:willCloseFrame:]):
12762 (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
12763 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
12764 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
12765 * DumpRenderTree/ResourceLoadDelegate.m:
12766 (-[NSURL _drt_descriptionSuitableForTestResult]):
12767 * DumpRenderTree/UIDelegate.m:
12768 (-[UIDelegate webViewFocus:]):
12770 2007-05-16 Kevin McCullough <kmccullough@apple.com>
12772 Reviewed by Darin and Geoff.
12774 - rdar://problem/4981886
12775 - Now windows opened by the DOM can be closed by JS.
12777 * DumpRenderTree/DumpRenderTree.m:
12778 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12779 (-[LayoutTestController windowCount]):
12781 2007-05-15 Adam Roben <aroben@apple.com>
12783 Reviewed by David Kilzer.
12785 http://bugs.webkit.org/show_bug.cgi?id=13732
12786 prepare-ChangeLog should work with git
12788 * Scripts/prepare-ChangeLog: Added support for Git.
12790 2007-05-15 Lars Knoll <lars@trolltech.com>
12794 Add the EventSender object to DRT. Currently it implements
12795 mouseDown, mouseUp and mouseMoveTo.
12797 Make run-webkit-tests --strict work somewhat better for form elements.
12799 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12800 (WebCore::DumpRenderTree::DumpRenderTree):
12801 (WebCore::DumpRenderTree::initJSObjects):
12802 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12803 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12804 (HackWebFrame::mousePressEvent):
12805 (HackWebFrame::mouseReleaseEvent):
12806 (EventSender::EventSender):
12807 (EventSender::mouseDown):
12808 (EventSender::mouseUp):
12809 (EventSender::mouseMoveTo):
12810 (EventSender::leapForward):
12811 (EventSender::keyDown):
12812 (EventSender::frameUnderMouse):
12813 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
12814 * Scripts/run-webkit-tests:
12816 2007-05-12 Oliver Hunt <oliver@apple.com>
12820 Add new api to DRT to allow us to test a file being dragged
12821 onto <input type="file">
12823 * DumpRenderTree/DumpRenderTree.h:
12824 * DumpRenderTree/DumpRenderTree.m:
12825 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12826 (-[LayoutTestController addFileToPasteboardOnDrag]):
12828 * DumpRenderTree/UIDelegate.m:
12829 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
12831 2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
12833 Reviewed by Maciej.
12835 Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
12836 http://bugs.webkit.org/show_bug.cgi?id=13656
12838 * GdkLauncher/main.cpp: Handle resizing the drawing area
12839 (frameResizeCallback):
12842 2007-05-11 Geoffrey Garen <ggaren@apple.com>
12844 Reviewed by Darin Adler.
12846 Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
12849 * DumpRenderTree/DumpRenderTree.m:
12850 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12851 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12852 (+[LayoutTestController webScriptNameForSelector:]):
12853 (-[LayoutTestController testWrapperRoundTripping:]):
12855 2007-05-08 Maciej Stachowiak <mjs@apple.com>
12857 Reviewed by Oliver.
12859 - don't clear events whenever an EventSendingController goes away, only do it at predictable times,
12860 since destroying a subframe can make one go away
12862 (Discovered while fixing:
12864 <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
12865 <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
12867 * DumpRenderTree/DumpRenderTree.m:
12868 (runTest): explicitly clear saved events after every page load
12869 * DumpRenderTree/EventSendingController.h:
12870 * DumpRenderTree/EventSendingController.m:
12871 (-[EventSendingController dealloc]): don't clear saved events here...
12872 (+[EventSendingController clearSavedEvents]): do it here
12873 * Scripts/check-for-global-initializers:
12875 2007-05-10 Mark Rowe <mrowe@apple.com>
12877 Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
12879 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12881 2007-05-09 Geoffrey Garen <ggaren@apple.com>
12883 Reviewed by Maciej Stachowiak.
12885 Added support for testing ObjC/JS type bridging.
12887 Added ASSERT that -JSObject returns nil when the underlying JSObject
12888 is no longer GC protected.
12890 * DumpRenderTree/DumpRenderTree.m:
12891 (returnThisCallback):
12893 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12894 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12895 (+[LayoutTestController webScriptNameForSelector:]):
12896 (-[LayoutTestController accessStoredWebScriptObject]):
12897 (-[LayoutTestController testWrapperRoundTripping]):
12898 (-[LayoutTestController objCClassNameOf:]):
12899 (-[LayoutTestController objCObjectOfClass:]):
12900 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12902 2007-05-10 Lars Knoll <lars@trolltech.com>
12906 Move setting of the DPI value a few lines up. Should fix
12907 the last two remaining failures in the layout tests.
12909 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12912 2007-05-09 Holger Freyther <zecke@selfish.org>
12914 Reviewed by Mark Rowe.
12916 * GdkLauncher/main.cpp: Always include config.h.
12918 2007-05-08 Geoffrey Garen <ggaren@apple.com>
12920 Reviewed by Darin Adler.
12922 Added support for testing ObjC object identity.
12924 Added ASSERT to verify that you can round-trip the object passed to you
12925 in -didClearWindowObject:forFrame:.
12927 * DumpRenderTree/DumpRenderTree.m:
12928 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12929 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12930 (+[LayoutTestController webScriptNameForSelector:]):
12931 (-[LayoutTestController accessStoredWebScriptObject]):
12932 (-[LayoutTestController objCIdentityIsEqual::]):
12934 2007-05-07 Geoffrey Garen <ggaren@apple.com>
12936 Reviewed by Maciej Stachowiak.
12938 Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
12939 and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
12940 forFrame:(WebFrame *)frame, in the form of ASSERTs.
12942 * DumpRenderTree/DumpRenderTree.m:
12943 (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
12946 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
12947 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12948 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12950 2007-05-08 Lars Knoll <lars@trolltech.com>
12954 Dump JavaScript console messages as well. Also requires a slight
12955 change in run-webkit-tests, so we still correctly differentiate
12956 between text only and rendertree tests.
12958 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12959 (WebCore::WebPage::WebPage):
12960 (WebCore::WebPage::javaScriptConsoleMessage):
12961 (WebCore::DumpRenderTree::DumpRenderTree):
12962 (WebCore::DumpRenderTree::dump):
12963 * Scripts/run-webkit-tests:
12965 2007-05-08 Lars Knoll <lars@trolltech.com>
12969 Specify what the serif, sans-serif and monospace aliases
12970 should map to and explicitly select the Gui style of
12971 DRT to be plastique.
12973 Fixes most of the test failures still seen on the build bot.
12975 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
12976 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12979 2007-05-07 Lars Knoll <lars@trolltech.com>
12983 Fix the default font to 9pt Sans Serif.
12985 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12988 2007-05-04 Lars Knoll <lars@trolltech.com>
12992 Revert on line of the last commit. We still want to keep the RPATH
12993 support in the pro file.
12995 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12997 2007-05-04 Lars Knoll <lars@trolltech.com>
13001 Remove the old bitmap fonts I tried using to get reliable results from
13002 DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
13003 ghostscript. I've added a mirror to simply check them out at
13004 svn://labs.trolltech.com/svn/webkit/testfonts.
13006 Fixed DumpRenderTree to make sure these fonts are the only ones we use
13007 on X11 and added a fonts.conf file to get a well defined fontconfig
13010 Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
13011 I use to find the fonts to DumpRenderTree.
13013 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
13014 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
13015 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
13016 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
13017 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
13018 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
13019 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
13020 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
13021 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
13022 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
13023 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
13024 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
13025 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
13026 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
13027 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
13028 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
13029 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
13030 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13032 * Scripts/run-webkit-tests:
13034 2007-05-03 Holger Freyther <freyther@kde.org>
13036 Reviewed by Zack, landed by Simon.
13037 This is bugzilla bug 13499.
13039 * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
13040 * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
13041 * Scripts/build-webkit: Add --gdk for the Gdk port
13042 * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
13044 2007-05-03 Geoffrey Garen <ggaren@apple.com>
13046 Build fix: Add AllInOneFile.o to the ignore list, since it includes files
13047 in the ignore list.
13049 * Scripts/check-for-global-initializers:
13051 2007-05-02 Holger Freyther <freyther@kde.org>
13053 Reviewed by Mark Rowe.
13055 * Scripts/build-webkit: Remove the CMake call.
13056 * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
13057 buildsystem for the Qt port.
13059 2007-04-27 Kevin McCullough <kmccullough@apple.com>
13061 - Removed debugging statements and took out the removal of the deletion
13062 of the symlink. This is because multiple instances of run-webkit-tests
13063 can be running at the same time.
13064 * Scripts/run-webkit-tests:
13066 2007-04-27 Adam Roben <aroben@apple.com>
13068 Reviewed by Maciej.
13070 Cleaned up prepare-ChangeLog
13072 * Scripts/prepare-ChangeLog: No code changes, but style now matches
13073 the prevalent style of our perl scripts.
13075 2007-04-27 Nazar Kulyk <schamane@myeburg.net>
13077 Reviewed by Mark Rowe.
13079 Basic auto-correction of user-entered URLs.
13081 * GdkLauncher/main.cpp:
13086 2007-04-28 Mark Rowe <mrowe@apple.com>
13088 Rubber-stamped by Anders.
13090 Rename some methods and variables to match the style guidelines.
13092 * GdkLauncher/main.cpp:
13096 (goButtonClickedCallback):
13097 (urlBarEnterCallback):
13098 (frameResizeCallback):
13099 (frameDestroyCallback):
13100 (menuMainBackCallback):
13101 (menuMainForwardCallback):
13102 (menuMainQuitCallback):
13105 2007-04-27 Holger Freyther <freyther@kde.org>
13107 Reviewed by Maciej.
13109 Remove unmaintained CMake build system.
13111 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
13112 * Scripts/build-webkit: Remove references to CMake.
13113 * Scripts/webkitdirs.pm: Remove references to CMake.
13115 2007-04-26 Alp Toker <alp@atoker.com>
13117 Reviewed by Mark Rowe.
13119 * GdkLauncher/main.cpp:
13120 (main): Avoid use of deprecated API.
13122 2007-04-26 Kevin McCullough <kmccullough@apple.com>
13124 - Changed debugging statements for more information.
13126 * Scripts/run-webkit-tests:
13128 2007-04-26 Kevin McCullough <kmccullough@apple.com>
13130 - Adding debugging statements to see why these tests fail. These will be removed.
13132 * Scripts/run-webkit-tests:
13134 2007-04-25 Anders Carlsson <andersca@apple.com>
13138 Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
13139 the dashboard compatibility mode.
13141 * DumpRenderTree/DumpRenderTree.m:
13142 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13143 (+[LayoutTestController webScriptNameForSelector:]):
13144 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
13146 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13148 2007-04-24 Timothy Hatcher <timothy@apple.com>
13150 Setting the valid architectures to 32-bit only, so these projects
13151 will ignore requests to build them 64-bit. Once they can be built 64-bit,
13152 the valid architectures can be updated.
13154 * Drosera/Drosera.xcodeproj/project.pbxproj:
13155 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13157 2007-04-23 Adam Roben <aroben@apple.com>
13159 Reviewed by Mark Rowe and David Kilzer.
13161 * Scripts/build-webkit: Print the path to the run-safari script when
13162 finished building so that users can copy-and-paste the command to
13165 2007-04-23 Darin Adler <darin@apple.com>
13169 - rename box-sizing to -webkit-box-sizing
13171 * Drosera/console.css: Here.
13172 * Drosera/debugger.css: And here.
13173 * Drosera/viewer.css: And here.
13175 2007-04-21 Mitz Pettel <mitz@webkit.org>
13177 Reviewed by Darin Adler.
13179 - http://bugs.webkit.org/show_bug.cgi?id=13350
13180 Build Ahem into DumpRenderTree
13182 * DumpRenderTree/DumpRenderTree.m:
13183 (activateAhemFont): Added. Activates the copy of Ahem included in the
13184 DumpRenderTree binary.
13185 (dumpRenderTree): Replaced the check that Ahem is available with a call
13186 to activateAhemFont().
13187 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13188 Added linker options to include Ahem in the data section of the
13189 DumpRenderTree binary.
13191 2007-04-20 Adam Roben <aroben@apple.com>
13193 Reviewed by Darin Adler.
13195 http://bugs.webkit.org/show_bug.cgi?id=13421
13196 Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
13198 * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
13200 2007-04-18 Brady Eidson <beidson@apple.com>
13204 <rdar://problem/5008925>
13205 Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
13207 * DumpRenderTree/ResourceLoadDelegate.m:
13208 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
13209 Add the willCacheResponse delegate call
13211 2007-04-18 Adam Roben <aroben@apple.com>
13213 Reviewed by David Kilzer.
13215 * Scripts/webkitdirs.pm:
13216 (sub setConfiguration): Added an optional argument to set the
13217 configuration instead of parsing it from ARGV.
13219 2007-04-17 Adam Roben <aroben@apple.com>
13221 * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
13224 2007-04-17 Adam Roben <aroben@apple.com>
13226 Added a simple shell script to find all the headers from a specified
13227 framework or frameworks that are included by files beneath the working
13230 * Scripts/find-included-framework-headers: Added.
13232 2007-04-16 Timothy Hatcher <timothy@apple.com>
13234 * Drosera/debugger.css: hide the borders for iframes
13236 2007-04-13 Adam Roben <aroben@apple.com>
13238 Rubberstamped by Anders.
13240 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
13241 stdio.h so that snprintf is defined.
13243 2007-04-13 Brady Eidson <beidson@apple.com>
13247 Add the ability to dump the back/forward history of all windows open at the end of a test
13249 * DumpRenderTree/DumpRenderTree.m:
13250 (dumpBackForwardListForWebView): Dump B/F list for the given WebView
13251 (dump): Call dumpBackForwardListForWebView for each WebView open after the test
13253 2007-04-13 Anders Carlsson <andersca@apple.com>
13257 By default, close any windows that have been opened during a test. This can be overridden by
13258 calling setCloseRemainingWindowsWhenComplete(false).
13260 Change the windows set to an array so we can gurantee the enumeration order.
13262 * DumpRenderTree/DumpRenderTree.m:
13263 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13264 (+[LayoutTestController webScriptNameForSelector:]):
13265 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
13267 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
13268 (-[DumpRenderTreeWindow dealloc]):
13270 2007-04-13 Geoffrey Garen <ggaren@apple.com>
13274 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13275 (handleCallback): Explicitly cast the void* returned by malloc.
13277 2007-04-12 Deneb Meketa <dmeketa@adobe.com>
13279 Reviewed by Darin Adler.
13281 http://bugs.webkit.org/show_bug.cgi?id=13029
13282 rdar://problem/4994849
13283 Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
13284 Changes in WebKitTools are only for the NPAPI test plugin.
13286 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
13287 (pluginInvoke): support null window argument for NPStream creation.
13288 (pluginAllocate): initialization.
13289 (pluginDeallocate): cleanup.
13290 (handleCallback): add second JS callback arg: header dump.
13291 (notifyStream): added; hook from NPP_NewStream to record headers.
13292 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
13293 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
13294 (NPP_NewStream): call new header hook.
13296 2007-04-09 Geoffrey Garen <ggaren@apple.com>
13298 Reviewed by Maciej Stachowiak.
13300 Fixed fast/forms/textarea-paste-newline.html.
13302 This failure was pretty funny. run-webkit-tests kills and respawns
13303 DumpRenderTree once every 1000 runs. Adding a few tests caused
13304 textarea-paste-newline.html to run right at the beginning of DumpRenderTree's
13305 lifetime, before any render tree dumps had occurred. However, WebCore
13306 used a render tree dump as the hook that set a global flag to allow
13307 pasting through the DOM API, so running before any render tree dumps had
13308 occurred caused this test to fail.
13310 * DumpRenderTree/DumpRenderTree.m:
13311 (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
13312 API, instead of hoping it will read the tea leaves.
13314 2007-04-07 Mark Rowe <mrowe@apple.com>
13316 Not reviewed. Update to match some configuration changes that have been active on build.webkit.org.
13318 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
13320 2007-04-05 Anders Carlsson <andersca@apple.com>
13324 Add support for opening new windows in DumpRenderTree.
13326 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13327 (+[LayoutTestController webScriptNameForSelector:]):
13328 (-[LayoutTestController setCallCloseOnWebViews:]):
13329 (-[LayoutTestController setCanOpenWindows]):
13330 Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
13331 can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on
13332 web views that are about to be closed.
13335 Make sure that only the main window is around when a test has finished running.
13337 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
13338 (-[DumpRenderTreeWindow dealloc]):
13339 Manage the set of windows.
13341 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13342 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13343 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13345 Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
13347 * DumpRenderTree/UIDelegate.m:
13348 (-[UIDelegate webView:createWebViewWithRequest:]):
13349 Create new windows.
13351 (-[UIDelegate webViewClose:]):
13354 2007-04-05 Anders Carlsson <andersca@apple.com>
13356 Reviewed by Maciej.
13358 Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
13361 * DumpRenderTree/DumpRenderTree.m:
13365 2007-04-03 Anders Carlsson <andersca@apple.com>
13367 Reviewed by Darin Adler.
13369 Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
13371 * DumpRenderTree/DumpRenderTree.h:
13372 * DumpRenderTree/DumpRenderTree.m:
13374 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13375 (+[LayoutTestController webScriptNameForSelector:]):
13376 (-[LayoutTestController addDisallowedURL:]):
13378 * DumpRenderTree/ResourceLoadDelegate.m:
13379 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
13381 2007-04-03 Mark Rowe <mrowe@apple.com>
13385 * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
13387 2007-04-02 Anders Carlsson <andersca@apple.com>
13389 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13390 Don't use #import in a header included by C files.
13392 2007-03-31 Mark Rowe <mrowe@apple.com>
13396 Fix http://bugs.webkit.org/show_bug.cgi?id=13239
13397 Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
13399 Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
13400 rather than -[WebScriptObject count].
13402 * Drosera/DebuggerDocument.m:
13403 (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
13405 2007-03-30 Anders Carlsson <andersca@apple.com>
13409 Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
13411 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13412 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13414 Look for the onstreamload attribute.
13417 Free the onstreamload attribute.
13420 Call the onstreamload handler.
13422 2007-03-30 Geoffrey Garen <ggaren@apple.com>
13424 Removing an assertion I just added because it's crashing the Leopard
13425 buildbot. The related layout test will still report a failure, so we
13426 don't really need this assertion.
13428 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13431 2007-03-30 Anders Carlsson <andersca@apple.com>
13435 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
13440 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
13441 Don't use #import, use #include.
13443 2007-03-30 Anders Carlsson <andersca@apple.com>
13445 Reviewed by Alexey.
13447 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13449 Free the identifier string.
13451 2007-03-30 Anders Carlsson <andersca@apple.com>
13455 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13456 Add TestObject.c and TestObject.h
13458 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13459 (pluginGetProperty):
13460 Implement the testObject property.
13463 Implement testEnumerate which takes an object and an array and enumerates
13464 the properties of the object and adds them to the array.
13467 Allocate the test object.
13469 (pluginDeallocate):
13470 Free the test object.
13472 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
13473 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
13474 Add a test object with two enumerable properties.
13476 2007-03-29 Geoffrey Garen <ggaren@apple.com>
13478 Reviewed by Beth Dakin.
13480 Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in
13481 -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:]
13482 navigating away from page with DivX movie plug-in (13203)
13484 Added hasStream property and destroyStream function, used by layout test.
13486 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13487 (pluginGetProperty):
13490 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13491 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13494 2007-03-27 Anders Carlsson <acarlsson@apple.com>
13498 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13500 Add new function which takes a function and calls it using NPN_InvokeDefault.
13502 2007-03-27 Adele Peterson <adele@apple.com>
13506 * DumpRenderTree/DumpRenderTree.m:
13507 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
13509 2007-03-27 Adele Peterson <adele@apple.com>
13511 Fix svg tests by calling displayIfNeeded.
13513 * DumpRenderTree/DumpRenderTree.m:
13514 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
13516 2007-03-26 Mark Rowe <mrowe@apple.com>
13518 Reviewed by Sam Weinig.
13520 Upload crash logs from DumpRenderTree as part of the test results to ease debugging
13521 of hard-to-reproduce crashes.
13523 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
13525 2007-03-23 Adam Treat <adam@staikos.net>
13527 Reviewed and committed by George.
13529 Patch by Adam Treat. Removes hardcoded path to .pro file.
13531 2007-03-22 Adam Roben <aroben@apple.com>
13535 Removed eventSender.mouseClick because it was only useful for AppKit
13536 controls, which we don't use anymore.
13538 * DumpRenderTree/EventSendingController.m:
13539 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
13542 2007-03-22 Adam Roben <aroben@apple.com>
13546 Make eventSender.mouseClick actually send a mouse up event.
13548 * DumpRenderTree/EventSendingController.m:
13549 (-[EventSendingController mouseClick]):
13551 2007-03-19 David Hyatt <hyatt@apple.com>
13553 Update the minimum font size pref to match the actual default setting in Safari. It should have been 1
13554 all this time and not 9.
13558 * DumpRenderTree/DumpRenderTree.m:
13561 2007-03-18 Dan Waylonis <waylonis@mac.com>
13563 Reviewed by Tim Hatcher.
13565 DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
13566 Bug 13005: WebScriptObject +throwException needs NULL check.
13568 Add tests to ensure that a plugin can safely throw an exception in dealloc.
13570 * DumpRenderTree/ObjCPlugin.h:
13571 * DumpRenderTree/ObjCPlugin.m:
13572 (+[ObjCPlugin webScriptNameForKey:]):
13573 (+[ObjCPlugin isKeyExcludedFromWebScript:]):
13574 (-[ObjCPlugin dealloc]):
13576 2007-03-13 Mark Rowe <mrowe@apple.com>
13578 Reviewed by Maciej.
13580 Have the nightly launcher prefer Safari found in /Applications or ~/Applications
13581 if present, otherwise fall back on using LaunchServices to locate it elsewhere
13582 on the system. The motivation for this is to make the behaviour of the nightly
13583 builds more predictable on machines with multiple copies of Safari present.
13585 * WebKitLauncher/main.m:
13586 (locateSafariBundle):
13589 2007-03-12 Darin Adler <darin@apple.com>
13591 Reviewed by Tim Hatcher.
13593 - add a DumpRenderTree feature where you can get the Objective-C
13594 class name of a JavaScript object
13596 * DumpRenderTree/DumpRenderTree.m:
13597 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
13598 objCClassNameOf: selector.
13599 (+[LayoutTestController webScriptNameForSelector:]): Add the
13600 objCClassNameOf: selector, with the name "objCClassName".
13601 (-[LayoutTestController objCClassNameOf:]): Added.
13603 2007-03-11 Geoffrey Garen <ggaren@apple.com>
13605 Reviewed by Oliver Hunt.
13607 Beefed up --threaded mode in light of <rdar://problem/4681051> Installer
13608 crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
13609 trying to install iLife 06 using Rosetta on an Intel Machine
13611 --threaded mode now runs a bunch of different JavaScript threads, randomly
13612 killing and respawning them. This was sufficient for reproducing the
13613 bug on my MacBook Pro.
13615 * DumpRenderTree/DumpRenderTree.m:
13616 (javaScriptThreads):
13617 (runJavaScriptThread):
13618 (startJavaScriptThreads):
13619 (stopJavaScriptThreads):
13622 2007-03-11 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13624 Reviewed by Brady Eidson.
13626 Add forward/backward/quit menus for easier testing.
13628 * GdkLauncher/main.cpp:
13630 (menuMainForwardCb):
13634 2007-03-09 Andrew Wellington <proton@wiretapped.net>
13636 Reviewed by Darin Adler.
13638 - fix http://bugs.webkit.org/show_bug.cgi?id=13007
13639 svn-create-patch doesn't handle UTF files with BOMs as text
13641 Force diff to treat files that svn-create-patch thinks are text as text.
13643 * Scripts/svn-create-patch: Added -a switch to diff command.
13645 2007-03-09 Mark Rowe <mrowe@apple.com>
13647 Unreviewed. Use the new SVN URL on the buildbot.
13649 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
13651 2007-03-08 Mark Rowe <mrowe@apple.com>
13655 Fix compiler warnings when building Drosera as 64-bit.
13657 * Drosera/DebuggerDocument.m:
13658 (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
13659 (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
13660 (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
13662 2007-03-07 Mark Rowe <mrowe@apple.com>
13664 Reviewed by Maciej.
13666 Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
13668 * Scripts/check-for-global-initializers:
13670 2007-03-07 Anders Carlsson <acarlsson@apple.com>
13674 Add some assertions.
13676 * DumpRenderTree/DumpRenderTree.m:
13677 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
13678 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
13679 (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
13680 (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
13682 2007-03-07 David Kilzer <ddkilzer@webkit.org>
13684 Reviewed by Darin Adler.
13686 - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
13687 WebArchiver - attempt to insert nil exception when archive empty iframe
13689 The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
13690 a webarchive while the dumpSourceAsWebArchive() test method uses the original
13691 dataSource (page source) to create a webarchive. Most tests currently use
13692 dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
13695 * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
13696 Added dumpSourceAsWebArchive.
13698 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13699 (-[LayoutTestController dumpDOMAsWebArchive]):
13700 (-[LayoutTestController dumpSourceAsWebArchive]):
13703 2007-03-05 Kevin McCullough <kmccullough@apple.com>
13705 Reviewed by Mark and Dave H.
13707 - rdar://problem/4922454
13708 - This fixes a security issue by making remote referrers not able to access local
13709 resources, unless they register their schemes to be treated as local. The result is
13710 that those schemes can access local resources and cannot be accessed by remote
13712 Because this behavior is new a link-on-or-after check is made to determine if the
13713 app should use the older, less safe, behavior.
13715 * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
13716 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13717 (+[LayoutTestController webScriptNameForSelector:]):
13718 (-[LayoutTestController setUserStyleSheetLocation:]):
13719 (-[LayoutTestController setUserStyleSheetEnabled:]):
13721 2007-03-05 Anders Carlsson <acarlsson@apple.com>
13723 Reviewed by Adam, Darin.
13725 <rdar://problem/5025212>
13726 In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
13728 Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
13729 to be run when the URL has finished (or failed) loading.
13731 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13734 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13735 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13738 2007-03-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13740 Reviewed by Nikolas Zimmermann.
13742 Load a url given on a command line in a way that also
13743 works for local (file://) urls.
13745 * GdkLauncher/main.cpp:
13748 2007-03-02 Geoffrey Garen <ggaren@apple.com>
13750 Tweaked parse-malloc-history to work with new malloc_history output format.
13752 * Scripts/parse-malloc-history:
13754 2007-02-28 Vladimir Olexa <vladimir.olexa@gmail.com>
13758 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
13759 Bug#12887: [Drosera] Add ability to close loaded files
13761 * Drosera/DebuggerDocument.h:
13762 * Drosera/DebuggerDocument.m:
13763 (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
13764 * Drosera/Drosera.xcodeproj/project.pbxproj:
13765 * Drosera/English.lproj/MainMenu.nib/classes.nib:
13766 * Drosera/English.lproj/MainMenu.nib/info.nib:
13767 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
13768 * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
13769 * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
13771 2007-02-28 Nikolas Zimmermann <zimmermann@kde.org>
13773 Reviewed by Maciej.
13775 Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
13777 * Scripts/build-webkit:
13779 2007-02-27 Geoffrey Garen <ggaren@apple.com>
13781 Small tweak to run-webkit-tests.
13783 * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
13784 1000 MallocStackLogging tests at a time.
13786 2007-02-26 Maciej Stachowiak <mjs@apple.com>
13790 - set ENABLE_XSLT even when compiling without SVG support, since that is no
13791 longer hardcoded into config.h.
13793 * Scripts/build-webkit:
13795 2007-02-26 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13797 Reviewed by Adam Roben.
13799 Rename *_SUPPORT defines to ENABLE_*.
13801 * GdkLauncher/gdklauncher.bkl:
13803 2007-02-24 Geoffrey Garen <ggaren@apple.com>
13805 Reviewed by Darin Adler.
13807 * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
13810 2007-02-24 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13812 Reviewed by Adam Roben.
13814 Improve gdklauncher: add text field for entering url.
13816 * GdkLauncher/gdklauncher.bkl:
13817 * GdkLauncher/main.cpp:
13822 (goButtonClickedCb):
13824 (registerRenderingAreaEvents):
13829 2007-02-22 Vladimir Olexa <vladimir.olexa@gmail.com>
13833 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
13834 Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
13835 * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
13837 2007-02-22 Adele Peterson <adele@apple.com>
13839 Reviewed by Darin Adler.
13841 Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
13842 can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
13844 * DumpRenderTree/DumpRenderTree.m:
13845 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13846 (+[LayoutTestController webScriptNameForSelector:]):
13847 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
13849 2007-02-22 Geoffrey Garen <ggaren@apple.com>
13851 Used svn merge -r19786:19785 to roll out previous hack to work around
13852 SVG painting issue in DRT.
13854 Implemented new work-around, which makes --paint paint *after* dumping
13855 the render tree instead of before, so that painting doesn't influence
13856 the SVG render tree.
13858 This should fix the ~400 new pixel failures introduced in r19786.
13860 * DumpRenderTree/DumpRenderTree.m:
13862 * Scripts/run-webkit-tests:
13864 2007-02-22 Geoffrey Garen <ggaren@apple.com>
13866 Resetting --leaks mode default to run 1000 tests at a time because setting it
13867 to 750 didn't stop the stack logging related crashes, and running more tests
13868 at a time is faster. The crashes seem to be a real bug in stack logging,
13869 not an out of memory condition.
13871 * Scripts/run-webkit-tests:
13873 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13875 Reviewed by Adam Roben.
13877 Added hack to force painting when running an SVG test. This is a work-around
13878 for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at
13879 paint time instead of style resolution time.
13881 We need this so that --leaks mode, which always paints, doesn't appear to
13882 fail SVG tests. We also need this if we ever want to test style application
13883 in SVG, since many SVGs don't apply style to their renderers until they paint.
13885 * Scripts/run-webkit-tests:
13887 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13889 Reduced --leaks mode to running only 750 tests at a time, in the hopes
13890 of fixing intermittent crasher that may be caused by out of memory
13893 * Scripts/run-webkit-tests:
13895 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13897 Reviewed by Darin Adler.
13899 Made DRT paint when running run-webkit-tests in --leaks mode, to check
13900 for painting leaks.
13902 * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
13903 that's the default for statics.
13904 (dumpRenderTree): Added --paint command line option, which specifies that
13905 DRT should paint at the end of every test.
13906 (displayWebView): New function, called by dump() and -[LayoutTestController display].
13907 * Scripts/run-webkit-tests: Use the --paint command line option when checking
13910 * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list.
13911 Removed stale comment about THRD leaks -- we now ignore them reliably.
13913 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13915 Tools tweak. No review necessary.
13917 * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
13918 arguments. Changed command line argument variables from special implicit
13919 no-op values to specific empty values that we test explicitly.
13921 2007-02-21 Vladimir Olexa <vladimir.olexa@gmail.com>
13925 Bug 12834: Drosera should remember scroll position of open files like Xcode
13926 http://bugs.webkit.org/show_bug.cgi?id=12834
13928 * Drosera/debugger.js: Implemented scrolling memory
13930 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13932 Tools tweak. No review necessary.
13934 Made parse-malloc-history executable. (Oops!)
13936 Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
13939 Added the ability to merge callstacks by regexp, not just depth, so you
13940 can ask questions like, "How many of these allocations were due to that one
13943 * Scripts/parse-malloc-history:
13945 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13947 * Scripts/parse-malloc-history: Added copyright info.
13949 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13951 Reviewed by Darin Adler.
13953 New script to parse the output from malloc_history, so we can determine
13954 what's using memory in WebKit.
13956 * Scripts/parse-malloc-history: Added.
13958 2007-02-20 Graham Dennis <graham.dennis@gmail.com>
13960 Reviewed by Darin Adler.
13962 Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
13963 WebKit.framework is built with SVG_SUPPORT for No-SVG build
13965 * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
13967 2007-02-19 Geoffrey Garen <ggaren@apple.com>
13971 * Scripts/check-for-global-initializers: Ignore the global counter I added
13972 for SubresourceLoaders.
13974 2007-02-19 Darin Adler <darin@apple.com>
13976 Reviewed by Tim Hatcher.
13978 * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
13979 Without this, you only see the global initializer error once, which makes it very easy
13982 2007-02-16 Mark Rowe <mrowe@apple.com>
13986 <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
13988 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
13990 2007-02-15 Geoffrey Garen <ggaren@apple.com>
13992 Reviewed by Beth Dakin.
13994 * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
13995 leaks anymore, either, since r19486 fixed them, too.
13996 (shouldIgnoreWebCoreNodeLeaks):
13998 2007-02-15 Darin Adler <darin@apple.com>
14000 * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
14001 fixed by change 19486.
14003 2007-02-15 Geoffrey Garen <ggaren@apple.com>
14005 Reviewed by Beth Dakin.
14007 Ignore another leak, seen recently on the buildbot.
14009 * Scripts/run-webkit-tests:
14011 2007-02-14 Geoffrey Garen <ggaren@apple.com>
14013 Reviewed by Beth Dakin.
14015 Ignore another leak, seen recently on the buildbot.
14017 * Scripts/run-webkit-tests:
14019 2007-02-13 Darin Adler <darin@apple.com>
14021 * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
14024 2007-02-11 Maciej Stachowiak <mjs@apple.com>
14028 - add contextClick() operation to eventSender to be able to test this
14030 * DumpRenderTree/EventSendingController.m:
14031 (+[EventSendingController isSelectorExcludedFromWebScript:]):
14032 (-[EventSendingController contextClick]):
14034 2007-02-11 Darin Adler <darin@apple.com>
14036 * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
14037 so it doesn't give a perl exception (happens in clean builds, for example).
14039 2007-02-10 David Kilzer <ddkilzer@webkit.org>
14043 * Scripts/svn-create-patch:
14044 (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
14045 a relative path to the copied file.
14047 2007-02-10 Timothy Hatcher <timothy@apple.com>
14049 Reviewed by Sam Weinig.
14051 * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
14053 2007-02-10 David Kilzer <ddkilzer@webkit.org>
14055 Reviewed by Timothy.
14057 * Scripts/svn-apply:
14058 (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
14061 2007-02-10 Brady Eidson <beidson@apple.com>
14065 <rdar://problem/4965133> WebKit sends file:// url referrers
14067 * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
14068 on local files, but have an httpd for remote resources
14070 2007-02-08 Geoffrey Garen <ggaren@apple.com>
14072 Reviewed by Beth Dakin.
14074 Ignore another false leak report.
14076 * Scripts/run-webkit-tests:
14078 2007-02-08 Geoffrey Garen <ggaren@apple.com>
14080 Reviewed by Kevin McCullough.
14082 * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
14083 already exists, to avoid confusing error message.
14085 Also, remove /tmp/LayoutTests after running so unsupecting fools don't
14086 try to rm -rf it, only later to discover that they have completely hosed
14089 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
14091 Reviewed by Adam Roben.
14093 Linux/gdk build fixes.
14095 * GdkLauncher/main.cpp: Add -exit-after-loading and
14096 -dump-render-tree as debugging aid.
14100 2007-02-08 Geoffrey Garen <ggaren@apple.com>
14102 Minor fixup based on Maciej's review last night.
14104 * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
14105 and do a little math to make it work.
14107 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
14109 Reviewed by Adam Roben.
14111 Linux/gdk build fixes.
14113 * GdkLauncher/gdklauncher.bkl:
14115 2007-02-08 Kevin McCullough <KMcCullough@apple.com>
14117 - Fix layout test failures.
14119 * Scripts/run-webkit-tests:
14121 2007-02-08 Darin Adler <darin@apple.com>
14123 Reviewed by Anders.
14125 * Scripts/check-for-global-initializers: For speed, only check files that
14126 have been modified since the last time we linked. For tidiness, capture
14127 stderr from nm, and prevent "nm: no name list" messages from going out.
14129 2007-02-08 Geoffrey Garen <ggaren@apple.com>
14131 Reviewed by Maciej Stachowiak, Adam Roben.
14133 Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
14134 arbitrary number n.
14137 - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
14138 - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
14139 - tool => dumpTool (to match abstraction elsewhere)
14140 - httpdOpen => isHttpdOpen (to match style guidelines)
14142 Plus a few logic fixups:
14143 - Don't check isDumpToolOpen when we know we've called openDumpTool().
14144 - Use a single code path to decide when to shut down dumpTool and
14145 when to check for leaks, since the operations are coincidental.
14146 - Use a single code path for running the leaks tool, since the only
14147 thing that varies between configurations is the output file name.
14148 - Increment $count after each test finishes, instead of at the end
14149 of the loop, to help with comparing to the length of the array
14151 - Use a more robust test inside the loop to determine if we need to
14152 close dumpTool, instead of copying the closing code outside the loop.
14156 * Scripts/run-webkit-tests:
14158 2007-02-06 Geoffrey Garen <ggaren@apple.com>
14160 Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
14162 Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
14163 catch all reports of them, not just those inside pthread_create.
14165 Also, use "\\" instead of "\" because we need the actual \ to get into the
14166 regexp string if it's going to do any escaping. (Oops!)
14168 * Scripts/run-webkit-tests:
14170 2007-02-06 Geoffrey Garen <ggaren@apple.com>
14172 Reviewed by Bethany P. Dakin.
14174 The 's' is optional when the leaks tool reports 'leaks'.
14176 * Scripts/run-leaks:
14178 2007-02-06 Geoffrey Garen <ggaren@apple.com>
14180 Reviewed by Bethany P. Dakin.
14182 Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
14184 * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
14186 2007-02-06 David Smith <catfish.man@gmail.com>
14188 Reviewed by Darin Adler.
14190 Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
14191 [Drosera] Console history fixups
14193 * Drosera/console.js: assorted cleanups and fixes
14195 2007-02-05 Geoffrey Garen <ggaren@apple.com>
14197 Reviewed by Darin Adler.
14199 New script that allows you to ignore leaks by regular expression.
14201 * Scripts/run-leaks: Added.
14203 2007-02-03 Sam Weinig <sam@webkit.org>
14207 Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
14208 Drosera doesn't handle CR ( carriage returns ) well
14210 - Normalize all the line endings.
14212 * Drosera/debugger.js:
14214 2007-02-02 Geoffrey Garen <ggaren@apple.com>
14216 Reviewed by Darin Adler.
14218 Added some more known leaks to the leaks ignore list.
14220 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
14221 hate itself so much?
14222 * Scripts/run-webkit-tests:
14224 2007-02-02 Geoffrey Garen <ggaren@apple.com>
14226 Even better build fix than the last.
14229 * DumpRenderTree/DumpRenderTree.m:
14230 (shouldIgnoreWebCoreNodeLeaks):
14232 2007-02-02 Geoffrey Garen <ggaren@apple.com>
14234 Fixed build. Added work-around for GCC bug.
14236 * DumpRenderTree/DumpRenderTree.m:
14237 (shouldIgnoreWebCoreNodeLeaks):
14239 2007-02-01 Geoffrey Garen <ggaren@apple.com>
14241 Reviewed by Maciej Stachowiak.
14243 Added support for selectively ignoring WebCore::Node leaks during layout
14244 tests, so that we can ignore known leaks in other components.
14246 * DumpRenderTree/DumpRenderTree.m:
14247 (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
14248 WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
14249 confuse anyone else?
14252 2007-02-01 Anders Carlsson <acarlsson@apple.com>
14254 Reviewed by Darin Adler.
14256 * DumpRenderTree/UIDelegate.m:
14257 (-[UIDelegate webView:addMessageToConsole:]):
14258 Dump console messages.
14260 2007-01-31 Anders Carlsson <acarlsson@apple.com>
14262 * DumpRenderTree/ResourceLoadDelegate.m:
14263 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
14264 Use an NSString here so we can guarantee that -description always returns the same value.
14266 2007-01-31 Geoffrey Garen <ggaren@apple.com>
14268 Reviewed by Darin Adler.
14270 Added Selection::toRange to the leaks -exclude list, since it comes up
14271 as a false positive (Radar 4967949).
14273 Also added RangeCounter to the global initializer exclude list. I added
14274 a RangeCounter since leaks won't detect all Range leaks anymore.
14276 * Scripts/check-for-global-initializers:
14277 * Scripts/run-webkit-tests:
14279 2007-01-31 Anders Carlsson <acarlsson@apple.com>
14281 * DumpRenderTree/ResourceLoadDelegate.m:
14282 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
14283 Don't try to create an identifier if resource loads shouldn't be dumped.
14285 2007-01-31 Anders Carlsson <acarlsson@apple.com>
14289 Add dumping of resource loads. This isn't completely tweaked yet since the test results would
14290 rely on resources being delivered in the same order which might not always be true. However, it works good
14291 enough for the simple webarchive tests I want to do right now.
14293 * DumpRenderTree/DumpRenderTree.h:
14294 * DumpRenderTree/DumpRenderTree.m:
14296 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14297 (-[LayoutTestController dumpResourceLoadCallbacks]):
14300 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14301 * DumpRenderTree/ResourceLoadDelegate.h: Added.
14302 * DumpRenderTree/ResourceLoadDelegate.m: Added.
14303 Add new resource load delegate.
14305 2007-01-31 Geoffrey Garen <ggaren@apple.com>
14307 Backing out the CFRunLoopRunSpecific exclude command because it was overly
14308 broad. We'll either need to work around this leak in DRT, or do some
14309 custom grep-based leak ignoring.
14311 * Scripts/run-webkit-tests:
14313 2007-01-30 Geoffrey Garen <ggaren@apple.com>
14315 Reviewed by Beth Dakin.
14317 Filed some more Radars in other components, added some more leaks to the
14320 * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
14321 CFRunLoopRunSpecific, and NSSpellChecker.
14323 2007-01-30 David Kilzer <ddkilzer@webkit.org>
14325 Reviewed by Darin Adler.
14327 http://bugs.webkit.org/show_bug.cgi?id=11882
14328 Need a way to regression test .webarchive output files
14330 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
14331 Alters WebResourceResponse and WebResourceURL properties within WebArchive format
14332 to normalize URLs to remove path where WebKit was checked out. Also converts
14333 WebDataResource properties from data to string if the corresponding
14334 WebResourceMIMEType property starts with "text/" or equals
14335 "application/x-javascript".
14337 * DumpRenderTree/DumpRenderTree.m:
14338 (convertWebResourceDataToString): Added.
14339 (normalizeWebResourceURL): Added.
14340 (normalizeWebResourceResponse): Added.
14341 (serializeWebArchiveToXML): Added.
14343 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14344 (-[LayoutTestController dumpAsWebArchive]): Added.
14347 2007-01-30 David Kilzer <ddkilzer@webkit.org>
14349 Reviewed by Mark Rowe.
14351 http://bugs.webkit.org/show_bug.cgi?id=12470
14352 svn-create-patch creates duplicate patches for files within an added/modified directory
14354 * Scripts/svn-create-patch:
14355 (sub generateFileList($\%\%)): Ignore directories when generating the file list.
14357 2007-01-29 Geoffrey Garen <ggaren@apple.com>
14359 Reviewed by Maciej Stachowiak.
14361 Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
14363 No more mollycoddling for you, FastMalloc.o!
14365 * Scripts/check-for-global-initializers:
14367 2007-01-29 Graham Dennis <graham.dennis@gmail.com>
14369 Reviewed by Maciej.
14371 Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
14372 Image data in from RTFD clipboard data thrown away
14374 - This method is needed because NSArrays are bridged to JS Arrays,
14375 which in turn are bridged back to WebScriptObjects when passed from
14376 JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
14378 * DumpRenderTree/DumpRenderTree.m:
14379 (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
14381 2007-01-25 Geoffrey Garen <ggaren@apple.com>
14383 Reviewed by Maciej Stachowiak.
14385 Added support for test for <rdar://problem/4608404> WebScriptObject's
14386 _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
14388 * DumpRenderTree/DumpRenderTree.m:
14389 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14390 (+[LayoutTestController webScriptNameForSelector:]):
14391 (-[LayoutTestController storeWebScriptObject:]):
14392 (-[LayoutTestController accessStoredWebScriptObject]):
14393 (-[LayoutTestController dealloc]):
14395 2007-01-26 Lars Knoll <lars@trolltech.com>
14399 Small hack to ensure that our top level frame actually has the
14400 correct size. Unfortunately this means I'll have to regenerate
14403 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14404 (WebCore::DumpRenderTree::DumpRenderTree):
14406 2007-01-25 Lars Knoll <lars@trolltech.com>
14408 Reviewed by Darin and Zack
14410 Move the test results for Qt into a directory of it's own
14411 (WebKit/LayoutTestResults/qt). Leave the Mac results where
14412 they are for now and share the text only results between
14415 Add support for a LayoutTestResults/platform/Skipped file
14416 to run-webkit-tests to be able to ignore certain tests
14418 Remove the old tests-skipped.txt from Qts DumpRenderTree
14421 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14422 (WebCore::DumpRenderTree::DumpRenderTree):
14423 (WebCore::DumpRenderTree::open):
14424 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14425 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
14426 * Scripts/run-webkit-tests:
14428 2007-01-24 Darin Adler <darin@apple.com>
14430 Reviewed by Oliver.
14432 - fix crash seen in layout tests
14434 * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
14435 Add back the line of code that sets savedMouseEvents to nil. I thought it was
14436 a field of the EventSendingController, but it's actually a global.
14438 2007-01-24 Darin Adler <darin@apple.com>
14440 Reviewed by Maciej.
14442 - changed dragMode to be a property instead of a function
14444 * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
14445 * DumpRenderTree/EventSendingController.m:
14446 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
14447 (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
14448 (-[EventSendingController init]): Updated for name change.
14449 (-[EventSendingController leapForward:]): Ditto.
14450 (-[EventSendingController mouseUp]): Ditto.
14451 (-[EventSendingController mouseMoveToX:Y:]): Ditto.
14453 2007-01-24 Darin Adler <darin@apple.com>
14455 Reviewed by Maciej.
14457 - made the deferral of mouse events until drag completes conditional
14458 it's needed for drag testing, and harmful for selection testing
14460 * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
14461 * DumpRenderTree/EventSendingController.m:
14462 (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
14463 (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
14464 and remove unneeded clearKillRing name.
14465 (-[EventSendingController init]): Initialize inDragMode to true.
14466 (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
14467 not be asserting things that are dependent on the test content!
14468 (-[EventSendingController leapForward:]): Only queue events in drag mode.
14469 (-[EventSendingController setDragMode:]): Added.
14470 (-[EventSendingController mouseDown]): Removed overzealous assertion.
14471 (-[EventSendingController mouseUp]): Removed overzealous assertions.
14472 Only queue events in drag mode.
14473 (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
14475 2007-01-24 Lars Knoll <lars@trolltech.com>
14479 Add a signal handler, always dump immediately if we get an
14480 error during a page load and raise the timeout to 5 seconds
14481 (as we get a lot less such failures now)
14483 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14484 (WebCore::DumpRenderTree::DumpRenderTree):
14485 (WebCore::DumpRenderTree::maybeDump):
14486 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14487 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14488 (LayoutTestController::waitUntilDone):
14489 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14492 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14494 2007-01-22 Darin Adler <darin@apple.com>
14498 - a couple tiny tweaks to make --reset-results work better
14500 * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
14501 Don't make a separate "new" entry while generating results when --reset-results
14502 is specified since new results are the norm in that case.
14504 2007-01-21 Sanjay Madhav <sanjay12@gmail.com>
14506 Reviewed by Darin Adler.
14508 Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
14510 This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
14512 * DumpRenderTree/GCController.h:
14513 * DumpRenderTree/GCController.mm:
14514 (+[GCController isSelectorExcludedFromWebScript:]):
14515 (-[GCController getJSObjectCount]):
14517 2007-01-20 Mark Rowe <mrowe@apple.com>
14519 Reviewed by Maciej.
14521 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
14522 catch single regressions, and don't generate tests results for new tests.
14524 2007-01-20 Adam Roben <aroben@apple.com>
14526 Rubberstamped by Maciej.
14528 * Scripts/run-webkit-tests: Change the default behavior back to
14529 generating results for new tests (this can be disabled with
14530 --no-new-test-results)
14532 2007-01-19 Lars Knoll <lars@trolltech.com>
14534 Reviewed by Adam Roben.
14536 run-webkit-tests does now not generate new results by default anymore.
14537 You'll have to pass the --new-tests flag to it to force it to do so.
14539 This is required to make it possible to have tests running on multiple
14540 platforms peacefully together.
14542 * Scripts/run-webkit-tests:
14544 2007-01-18 Darin Adler <darin@apple.com>
14546 Reviewed by John Sullivan.
14548 * Scripts/run-webkit-tests: Fix handling of configuration so it
14549 does the right thing when no explicit configuration is passed in.
14550 The old code assumed that the result of setConfiguration() was the
14551 configuration, but it's undefined when no configuration is
14552 explicitly passed in. The correct function to use is
14553 configuration(), and I also streamlined the code.
14555 2007-01-17 Lars Knoll <lars@trolltech.com>
14557 Fix my last commit to actually work in all cases.
14559 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14560 (WebCore::DumpRenderTree::readStdin):
14562 2007-01-17 Lars Knoll <lars@trolltech.com>
14566 Make sure DumpRenderTree exits when run-webkit-tests
14569 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14570 (WebCore::DumpRenderTree::readStdin):
14572 2007-01-17 Lars Knoll <lars@trolltech.com>
14576 Small fixes in DumpRenderTree, so we don't by
14577 accident dump twice for the same test.
14579 Exclude one more test as it currently causes DumpRenderTree to
14582 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14583 (WebCore::DumpRenderTree::readStdin):
14584 (WebCore::DumpRenderTree::dump):
14585 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14586 (LayoutTestController::notifyDone):
14587 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14589 2007-01-17 Lars Knoll <lars@trolltech.com>
14593 Add a message handler to DumpRenderTree that will
14594 suppress all debug output coming from qDebug() statements.
14595 Like this we can get rid of all the noise coming
14596 from the notImplemented() macro when running the
14597 layout tests. You can get it back by adding -v to
14598 DumpRenderTree's command line.
14600 Changed run-webkit-tests slightly, so we by default
14601 don't fail anymore when our output differs from what
14602 is generated on the Mac. Added a --strict option, so
14603 that we can still see this cases and fix them one by one.
14605 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14608 * Scripts/run-webkit-tests:
14610 2007-01-16 Lars Knoll <lars@trolltech.com>
14614 Use the new public API for the Qt build, and don't rely on
14615 WebKit internals anymore.
14617 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14618 (WebCore::DumpRenderTree::DumpRenderTree):
14619 (WebCore::DumpRenderTree::~DumpRenderTree):
14620 (WebCore::DumpRenderTree::open):
14621 (WebCore::DumpRenderTree::readStdin):
14622 (WebCore::DumpRenderTree::initJSObjects):
14623 (WebCore::DumpRenderTree::dump):
14624 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14625 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14626 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
14627 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
14628 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14629 (LayoutTestController::notifyDone):
14630 (LayoutTestController::timerEvent):
14631 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14633 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14635 2007-01-15 Justin Garcia <justin.garcia@apple.com>
14639 <rdar://problem/4810960>
14640 Gmail Editor: window.focus() called on keyDown (9640)
14642 * DumpRenderTree/EventSendingController.m: Send the keyDown event
14643 to the firstResponder, not the event's locationInWindow. A
14644 key press's locationInWindow is meaningless and just a dummy
14647 2007-01-15 Eric Seidel <eric@webkit.org>
14651 Add a script to keep our header guards squeaky clean.
14653 * Scripts/clean-header-guards: Added.
14655 2007-01-15 Lars Knoll <lars@trolltech.com>
14659 Fix a few smaller issues in here, and update
14660 our list of skipped tests.
14662 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14663 (WebCore::DumpRenderTree::DumpRenderTree):
14664 (WebCore::DumpRenderTree::readStdin):
14665 (WebCore::DumpRenderTree::dump):
14666 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14667 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14668 (LayoutTestController::LayoutTestController):
14669 (LayoutTestController::reset):
14670 (LayoutTestController::waitUntilDone):
14671 (LayoutTestController::notifyDone):
14672 (LayoutTestController::dumpEditingCallbacks):
14673 (LayoutTestController::timerEvent):
14674 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
14675 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14677 2007-01-14 Mark Rowe <mrowe@apple.com>
14681 <rdar://problem/4908909> Need to create Leopard nightly build
14683 * 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.
14684 * WebKitLauncher/WebKitNightlyEnabler.m:
14685 (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables. The smaller timeframe where the
14686 CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
14687 (enableWebKitNightlyBehaviour):
14688 * WebKitLauncher/main.m:
14689 (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
14690 * Drosera/launcher.m:
14693 2007-01-12 Lars Knoll <lars@trolltech.com>
14697 Get DumpRenderTree to work again for the Qt build.
14699 Make run-webkit-tests a little less verbose when testing
14700 Qt, and add an option to run DumpRenderTree inside valgrind
14701 (useful for debugging)
14703 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14704 (WebCore::DumpRenderTree::DumpRenderTree):
14705 (WebCore::DumpRenderTree::~DumpRenderTree):
14706 (WebCore::DumpRenderTree::open):
14707 (WebCore::DumpRenderTree::dump):
14708 (WebCore::DumpRenderTree::maybeDump):
14709 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14710 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
14711 (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
14712 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
14713 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14714 * Scripts/run-webkit-tests:
14716 2007-01-12 Zack Rusin <zack@kde.org>
14718 Add WEBKIT_FULLBUILD env variable to get the
14719 build do a make clean before make to cleanout the
14720 stale depenendencies (for buildbot mainly).
14722 * Scripts/webkitdirs.pm:
14724 2007-01-11 Mitz Pettel <mitz@webkit.org>
14728 - http://bugs.webkit.org/show_bug.cgi?id=10249
14729 Temporarily disable tests that are causing kernel panics
14731 Changed the ImageDiff tool not to use CoreImage filters.
14733 * DumpRenderTree/ImageDiff.m:
14735 (createImageFromStdin):
14737 (getDifferenceBitmap):
14739 2007-01-11 Lars Knoll <lars@trolltech.com>
14743 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14745 2007-01-11 Lars Knoll <lars@trolltech.com>
14747 Reviewed by Darin Adler.
14749 Adjust to loader changes.
14751 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14752 (WebCore::DumpRenderTree::DumpRenderTree):
14754 2007-01-06 George Staikos <staikos@kde.org>
14756 This doesn't build on all unix platforms!
14758 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14760 2007-01-05 Zack Rusin <zack@kde.org>
14764 Fix the undefined warnings and try to detect
14765 the DISPLAY properly.
14767 * Scripts/run-webkit-tests:
14769 2007-01-05 David Kilzer <ddkilzer@webkit.org>
14771 Reviewed by Mark Rowe.
14773 Speed up svn-create-patch for copied and moved files.
14775 * Scripts/svn-create-patch:
14776 (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
14777 so svn pulls original from local disk.
14779 2007-01-04 Lars Knoll <lars@trolltech.com>
14781 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14782 Link with RPATH to (hopefully) get the automatic tests working.
14784 2007-01-03 Mark Rowe <bdash@webkit.org>
14786 Reviewed by Anders.
14788 * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
14790 2007-01-02 Zack Rusin <zack@kde.org>
14792 Make it work after javascriptcore/bindings changes.
14794 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14795 (WebCore::DumpRenderTree::initJSObjects):
14796 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14798 2007-01-01 David Kilzer <ddkilzer@webkit.org>
14800 Reviewed by Darin Adler.
14802 http://bugs.webkit.org/show_bug.cgi?id=12023
14803 svn-create-patch and friends should handle moved/copied files
14805 * Scripts/svn-apply: Identify copied files and handle those before all other patches.
14806 * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
14807 (findMimeType($)): Added.
14808 (findModificationTime($)): Added.
14809 (findSourceFileAndRevision($)): Added.
14810 (generateDiff($$$)): Changed to use svn stat instead of svn diff.
14811 (isBinaryMimeType($)): Added.
14812 (manufacturePatchForAdditionWithHistory($$)): Added.
14813 * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
14815 2006-12-29 Eric Seidel <eric@webkit.org>
14817 Reviewed by olliej.
14819 Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
14821 * DumpRenderTree/DumpRenderTree.m:
14822 (dumpRenderTree): clear WebCore cache before exiting
14824 2006-12-29 David Kilzer <ddkilzer@webkit.org>
14826 Reverted last commit until WebResourceData issue is fixed.
14828 http://bugs.webkit.org/show_bug.cgi?id=11882
14829 Need a way to regression test .webarchive output files
14831 * DumpRenderTree/DumpRenderTree.m:
14832 (serializeWebArchiveToXML): Removed.
14834 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14835 (-[LayoutTestController dumpAsWebArchive]): Removed.
14838 2006-12-28 David Kilzer <ddkilzer@webkit.org>
14840 Reviewed by Darin Adler.
14842 http://bugs.webkit.org/show_bug.cgi?id=11882
14843 Need a way to regression test .webarchive output files
14845 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
14846 Saves WebArchive plist in xml format, then alters file:// URLs to remove path
14847 where WebKit was checked out.
14849 * DumpRenderTree/DumpRenderTree.m:
14850 (serializeWebArchiveToXML): Added.
14852 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14853 (-[LayoutTestController dumpAsWebArchive]): Added.
14856 2006-12-28 George Staikos <staikos@kde.org>
14858 Reviewed by Olliej.
14860 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
14862 2006-12-27 Geoffrey Garen <ggaren@apple.com>
14864 Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
14866 Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
14868 No behavior change. Layout tests pass.
14870 * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
14871 doneLoading() accessor function. This matches the rest of DRT's exports and
14872 makes it easier to search for clients who check (!done).
14874 * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
14875 it would cover both code paths for calling runTest().
14877 (dumpRenderTree): "doneLoading()" => "done"
14879 * DumpRenderTree/EditingDelegate.m: ditto
14880 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
14881 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
14882 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
14883 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
14884 (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
14885 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
14886 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
14887 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
14888 (-[EditingDelegate webViewDidBeginEditing:]): ditto
14889 (-[EditingDelegate webViewDidChange:]): ditto
14890 (-[EditingDelegate webViewDidEndEditing:]): ditto
14891 (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
14892 (-[EditingDelegate webViewDidChangeSelection:]): ditto
14893 * DumpRenderTree/UIDelegate.m: ditto
14894 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
14896 2006-12-26 Eric Seidel <eric@webkit.org>
14898 Reviewed by bradee-oh.
14900 Add very simple run-pageloadtest script for running SVG page load test.
14902 * Scripts/run-pageloadtest: Added.
14904 2006-12-26 Geoffrey Garen <ggaren@apple.com>
14906 Reviewed by Eric Seidel.
14908 Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
14909 crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
14911 (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
14913 2006-12-23 Geoffrey Garen <ggaren@apple.com>
14915 Reviewed by Maciej Stachowiak.
14917 Added --threaded support to run-webkit-tests and DumpRenderTree.
14919 In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
14920 stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore
14921 interface. This is useful for tracking down bugs you might see on a system
14922 configured to use a PAC file.
14924 Ironically, I can proudly state that very few layout tests pass.
14926 * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
14927 for starting and stopping it.
14928 (runJavaScriptThread): helper function
14929 (startJavaScriptThread): helper function
14930 (stopJavaScriptThread): helper function
14932 (dumpRenderTree): Added --threaded command line argument.
14933 * Scripts/run-webkit-tests: ditto
14935 2006-12-22 Mark Rowe <bdash@webkit.org>
14939 Fix for <rdar://problem/4265976>
14940 prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
14942 * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
14944 2006-12-21 Mark Rowe <bdash@webkit.org>
14946 Reviewed by Tim Hatcher.
14948 http://bugs.webkit.org/show_bug.cgi?id=11922
14949 Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
14951 * Drosera/DebuggerDocument.m:
14952 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
14953 ensure that the properties are being retrieved from the correct scope object.
14955 2006-12-21 Lars Knoll <lars@trolltech.com>
14959 Add support for the layoutTestController JavaScript object
14960 to be able to get textOnly dumps.
14961 Added a Qt specific hack to always get the same fonts (the ones
14962 added in this submit) and the same dpi when running the layout tests.
14963 Modified the run-webkit-tests script to also do a comparison to the
14964 Mac generated outputs (by stripping out positioning information).
14966 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14967 (WebCore::DumpRenderTree::DumpRenderTree):
14968 (WebCore::DumpRenderTree::open):
14969 (WebCore::DumpRenderTree::resetJSObjects):
14970 (WebCore::DumpRenderTree::initJSObjects):
14971 (WebCore::DumpRenderTree::dump):
14972 (WebCore::DumpRenderTree::checkLoaded):
14973 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14974 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14975 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
14976 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
14977 (WebCore::DumpRenderTreeClient::partClearedInBegin):
14978 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
14979 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
14980 (QX11Info::appDpiY):
14981 (QX11Info::appDpiX):
14982 (qt_x11ft_convert_pattern):
14983 (LayoutTestController::LayoutTestController):
14984 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
14985 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
14986 (LayoutTestController::shouldDumpAsText):
14987 (LayoutTestController::shouldWaitUntilDone):
14988 (LayoutTestController::reset):
14989 (LayoutTestController::dumpAsText):
14990 (LayoutTestController::waitUntilDone):
14991 (LayoutTestController::notifyDone):
14992 * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
14993 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
14994 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
14995 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
14996 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
14997 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
14998 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
14999 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
15000 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
15001 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
15002 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
15003 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
15004 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
15005 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
15006 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
15007 * Scripts/run-webkit-tests:
15009 2006-12-21 Mark Rowe <bdash@webkit.org>
15013 http://bugs.webkit.org/show_bug.cgi?id=11888
15014 Bug 11888: REGRESSION (r18320): Web Inspector panes broken
15016 * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
15018 2006-12-18 Geoffrey Garen <ggaren@apple.com>
15020 Reviewed by Beth Dakin.
15022 Updated EventSender to be able to send mouse up events outside the WebView.
15023 This is a minor tweak to a hackish implementation. The real solution
15024 should be to use NSApplication's event sending model instead of rolling
15025 our own, but I don't have time for that right now.
15027 * DumpRenderTree/EventSendingController.m:
15028 (-[EventSendingController mouseUp]):
15030 2006-12-15 Marvin Decker <marv.decker@gmail.com>
15032 Reviewed by Darin and Alexey.
15034 Fix the Windows build, move various Client implementations out of
15035 WebCore and into WebKit.
15037 * Spinneret/Spinneret.sln:
15039 2006-12-14 Timothy Hatcher <timothy@apple.com>
15043 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
15045 2006-12-13 Zack Rusin <zack@kde.org>
15047 Reviewed by rwlbuis
15049 Use the qmake build by default with Qt - it's the one that works
15052 * Scripts/build-webkit:
15053 * Scripts/webkitdirs.pm:
15055 2006-12-10 Lars Knoll <lars@trolltech.com>
15059 Some more fixes to the dumprendertree application.
15060 Fix the run-webkit-tests script for Qt.
15062 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15063 (WebCore::DumpRenderTree::open):
15064 (WebCore::DumpRenderTree::readStdin):
15065 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
15066 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
15067 * Scripts/run-webkit-tests:
15068 * Scripts/webkitdirs.pm:
15070 2006-12-10 Rob Buis <buis@kde.org>
15072 Reviewed by Darin Adler.
15074 * DumpRenderTree/DumpRenderTree.m:
15077 2006-12-10 Lars Knoll <lars@trolltech.com>
15081 Get the DumpRenderTree app to compile again
15083 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15084 (WebCore::DumpRenderTree::DumpRenderTree):
15085 (WebCore::DumpRenderTree::open):
15086 (WebCore::DumpRenderTree::readStdin):
15087 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
15088 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
15089 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
15090 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
15091 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15094 2006-12-09 George Staikos <staikos@kde.org>
15098 Repair QMake build on OS X.
15100 * Scripts/build-webkit:
15102 2006-12-09 Zack Rusin <zack@kde.org>
15104 Fixing small mistakes in the build scripts for
15107 * Scripts/build-webkit:
15108 * Scripts/webkitdirs.pm:
15110 2006-12-09 Simon Hausmann <hausmann@kde.org>
15114 Add support for a QMake build using build-webkit --qmake
15116 * Scripts/build-webkit:
15117 * Scripts/webkitdirs.pm:
15119 2006-12-09 George Staikos <staikos@kde.org>
15123 Remove reference to Unity.
15125 * Scripts/webkitdirs.pm:
15127 2006-12-08 Zack Rusin <zack@kde.org>
15129 Reviewed by Maciej.
15131 Fix the compile after recent API changes.
15133 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15134 (WebCore::DumpRenderTree::DumpRenderTree):
15135 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15138 2006-12-08 George Staikos <staikos@kde.org>
15140 Reviewed by Maciej.
15142 Build Qt webkit on non-linux, and prefer it if $QTDIR is set
15144 * Scripts/build-webkit:
15145 * Scripts/webkitdirs.pm:
15147 2006-12-06 Steve Falkenburg <sfalken@apple.com>
15149 Support C strings for localization
15151 * Scripts/extract-localizable-strings:
15153 2006-12-04 Steve Falkenburg <sfalken@apple.com>
15155 Reviewed by Darin Adler.
15157 Make extract-localizable-strings compatible with cpp file extensions.
15159 * Scripts/extract-localizable-strings:
15161 2006-11-21 Darin Adler <darin@apple.com>
15163 Reviewed by Maciej.
15165 - a couple changes to reduce the chance of false positives on the leakbot
15167 * DumpRenderTree/DumpRenderTree.m:
15168 (dumpRenderTree): Move the main function into a separate function so we can run
15169 a final garbage collect afterward without any stray values on the stack. Replaced
15170 the old way of closing down a WebView (setting the delegates to nil) with the new
15171 way (calling the close method), which does a more complete job of shutting
15172 everything down without waiting for the WebView object to be deallocated.
15173 (main): Put auto-release pool here and added an explicit call to garbage collect.
15174 With a separate function, we greatly reduce the chance that a stray address on the
15175 stack will keep an object alive.
15177 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
15178 because I don't have what it takes to fight the power.
15180 2006-11-17 Zack Rusin <zack@kde.org>
15182 Reviewed by Mitz. Landed by Niko.
15184 Fixing compilation.
15186 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15187 (WebCore::DumpRenderTree::DumpRenderTree): Adding
15188 ContextMenuClient to the constructor
15190 2006-11-12 Mark Rowe <bdash@webkit.org>
15194 Clean up of GdkLauncher bakefile.
15196 * GdkLauncher/gdklauncher.bkl:
15198 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
15200 Reviewed and landed by Anders.
15202 Make DRT work again on Qt/Linux.
15204 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15205 (WebCore::DumpRenderTree::DumpRenderTree):
15207 2006-11-10 Zack Rusin <zack@kde.org>
15209 Reviewed and landed by Anders.
15211 Adjusting to the recent loader changes, making it compile
15214 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15215 (WebCore::DumpRenderTree::DumpRenderTree):
15216 (WebCore::DumpRenderTree::checkLoaded):
15217 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15219 2006-11-10 Zack Rusin <zack@kde.org>
15221 Reviewed by Anders.
15223 Making the Qt code work after refactorings in WebCore.
15225 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15226 (WebCore::DumpRenderTree::DumpRenderTree):
15227 (WebCore::DumpRenderTree::checkLoaded):
15228 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15230 2006-11-08 Darin Adler <darin@apple.com>
15232 Reviewed by Anders.
15234 - same change as below, only tested this time
15236 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
15237 mode off. I think we need to do this because WebPreferences saves things
15238 for us automatically. It would be good to turn that off for DumpRenderTree,
15239 but for now lets handle this like the other preferences (set it explicitly
15242 2006-11-08 Darin Adler <darin@apple.com>
15244 Reviewed by Anders.
15246 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
15247 "tab to links" mode. No current tests depend on this, and there's a new
15248 test I want to land that depends on the default setting.
15250 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15252 Reviewed by Maciej.
15254 Linux\gdk build fixes.
15256 * GdkLauncher/main.cpp:
15257 (LauncherFrameGdk::LauncherFrameGdk):
15260 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
15262 Build fix, approved in principle by Tim H.
15264 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15265 Disable deprecated warnings for main.c (TestNetscapePlugin),
15266 as it now uses QuickDraw to convert mouse event coordinates.
15268 2006-11-05 Timothy Hatcher <timothy@apple.com>
15270 Reviewed by Maciej.
15272 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
15273 http://bugs.webkit.org/show_bug.cgi?id=11525
15275 * Drosera/debugger.js: imporved the function name code
15277 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
15279 Reviewed by Maciej.
15281 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
15282 being attributed to the next test.
15284 * DumpRenderTree/EditingDelegate.m:
15285 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
15286 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
15287 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
15288 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
15289 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
15290 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
15291 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
15292 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
15293 (-[EditingDelegate webViewDidBeginEditing:]):
15294 (-[EditingDelegate webViewDidChange:]):
15295 (-[EditingDelegate webViewDidEndEditing:]):
15296 (-[EditingDelegate webViewDidChangeTypingStyle:]):
15297 (-[EditingDelegate webViewDidChangeSelection:]):
15298 * DumpRenderTree/UIDelegate.m:
15299 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
15301 2006-11-06 Mark Rowe <bdash@webkit.org>
15303 Reviewed by Alexey.
15305 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
15307 * Scripts/run-webkit-tests: import the POSIX module.
15309 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
15311 Reviewed by Maciej.
15313 Test for http://bugs.webkit.org/show_bug.cgi?id=11517
15314 REGRESSION: Flash clicks/interactivity not working properly
15316 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
15318 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
15320 plg.eventLoggingEnabled = true;
15321 // use eventSender to simulate events...
15324 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15325 (pluginGetProperty):
15326 (pluginSetProperty):
15328 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15329 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15332 2006-11-04 David Smith <catfish.man@gmail.com>
15336 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
15337 Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
15339 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
15341 2006-11-04 David Smith <catfish.man@gmail.com>
15345 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
15346 Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
15348 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
15350 2006-11-04 David Smith <catfish.man@gmail.com>
15354 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
15355 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
15357 * Drosera/debugger.js: blur() the function popup when we're done with it.
15359 2006-11-04 Mark Rowe <bdash@webkit.org>
15361 Reviewed by Darin Adler.
15363 Fix use of uninitialized value in pattern match.
15365 * Scripts/webkitdirs.pm:
15367 2006-11-04 Darin Adler <darin@apple.com>
15369 Reviewed by Tim Hatcher.
15371 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
15373 2006-11-03 David Smith <catfish.man@gmail.com>
15377 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
15378 Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
15380 * Drosera/DebuggerApplication.m:
15381 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
15383 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
15387 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
15388 Bug 9596: [Drosera] add a function popup to the source pane
15390 * Drosera/debugger.css: Added styles for function popup
15391 * Drosera/debugger.html: Added function popup button and select
15392 * Drosera/debugger.js: Added function popup functionality
15394 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
15396 Reviewed by Maciej.
15398 http://bugs.webkit.org/show_bug.cgi?id=9671
15401 Adds astyle sed script formats according to most of the style guidelines.
15403 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
15407 http://bugs.webkit.org/show_bug.cgi?id=7323
15408 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
15410 When dragging, do not send EventSendingController's events immediately. Dragging
15411 is supposed to be modal, so we need to perform it from within the delegate, without
15412 returning to JS to make the next mouse movement.
15414 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
15416 * DumpRenderTree/EventSendingController.h:
15417 * DumpRenderTree/EventSendingController.m:
15418 (-[EventSendingController dealloc]):
15419 (-[EventSendingController leapForward:]):
15420 (-[EventSendingController mouseDown]):
15421 (-[EventSendingController mouseUp]):
15422 (-[EventSendingController mouseMoveToX:Y:]):
15423 (+[EventSendingController saveEvent:]):
15424 (+[EventSendingController replaySavedEvents]):
15425 * DumpRenderTree/UIDelegate.m:
15426 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
15428 2006-11-02 Geoffrey Garen <ggaren@apple.com>
15430 Reviewed by Justin Garcia.
15432 Made dumping of editing callbacks opt-in, so that editing spew doesn't
15433 cloud non-editing tests.
15435 * DumpRenderTree/DumpRenderTree.m:
15436 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15437 (-[LayoutTestController shouldDumpEditingCallbacks]):
15439 * DumpRenderTree/EditingDelegate.m:
15440 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
15441 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
15442 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
15443 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
15444 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
15445 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
15446 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
15447 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
15448 (-[EditingDelegate webViewDidBeginEditing:]):
15449 (-[EditingDelegate webViewDidChange:]):
15450 (-[EditingDelegate webViewDidEndEditing:]):
15451 (-[EditingDelegate webViewDidChangeTypingStyle:]):
15452 (-[EditingDelegate webViewDidChangeSelection:]):
15454 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
15456 Reviewed by Maciej, landed by Anders.
15458 - http://bugs.webkit.org/show_bug.cgi?id=7802
15459 devenv.com not available in VC++ Express installations
15461 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
15462 * Scripts/install-win-extras: Make setx.exe actually run.
15464 2006-11-01 Stephanie Lewis <slewis@apple.com>
15468 Fixed bug where additional arguments got fed to xcode and jsdriver.pl
15469 Since testkjs is being built before the tests are run, we don't need
15470 to build it with webkit.
15473 http://bugs.webkit.org/show_bug.cgi?id=11462
15474 http://bugs.webkit.org/show_bug.cgi?id=6168
15476 * Scripts/build-webkit:
15477 * Scripts/run-javascriptcore-tests:
15479 2006-11-01 Brady Eidson <beidson@apple.com>
15481 Reviewed by Tim Hatcher
15483 Added accessor to get the source directory for use in client scripts
15485 * Scripts/webkitdirs.pm:
15487 2006-11-01 Mark Rowe <bdash@webkit.org>
15491 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
15493 * Spinneret/Spinneret/Spinneret.cpp:
15495 * WebKitLauncher/WebKitNightlyEnabler.m:
15496 (cleanUpAfterOurselves):
15498 2006-10-31 Mark Rowe <bdash@webkit.org>
15500 Reviewed by Stephanie.
15502 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
15504 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
15505 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
15507 2006-10-31 Darin Adler <darin@apple.com>
15509 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
15510 pasteboard, allocate any number of local pasteboards.
15511 (main): Allocate the dictionary of pasteboards.
15512 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
15514 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
15515 explicitly elsewhere.
15516 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
15517 to the selector rather than calling unconditionally.
15519 2006-10-30 Darin Adler <darin@apple.com>
15523 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
15524 Don't use CFPasteboard.
15526 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
15530 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
15532 * Drosera/debugger.js: ParsedURL() object now recognizes local files
15534 2006-10-30 Darin Adler <darin@apple.com>
15536 Reviewed by Tim Hatcher.
15538 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
15539 This should make our buildbot tests no longer need a pasteboard server.
15541 2006-10-30 Geoffrey Garen <ggaren@apple.com>
15545 Reorganized project file into Delegates and Controllers groups, and split
15546 UIDelegate stuff into a UIDelegate class.
15548 A little birdy told me that I might end up adding some UIDelegate methods
15551 * DumpRenderTree/DumpRenderTree.m:
15554 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15556 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
15558 Reviewed by Oliver.
15560 Add new platform/graphics include directory.
15562 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
15564 2006-10-30 Timothy Hatcher <timothy@apple.com>
15566 Reviewed by Stephanie.
15568 Add a special case for the Internal makefiles, so it can find the OepnSource.
15570 * Scripts/webkitdirs.pm:
15572 2006-10-30 Stephanie Lewis <slewis@apple.com>
15574 Reviewed by Darin Adler.
15576 Change Makefiles to return non-zero when module make fails.
15577 Fix bug where if xcode options are not set, modules can build in the
15581 * Scripts/webkitdirs.pm:
15583 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
15587 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
15588 [Drosera] The Console toolbar button should bring the console window to the front.
15590 The console now gets focus when its activated but already open. Command + L also
15591 now activates/focuses the console.
15593 * Drosera/English.lproj/MainMenu.nib/classes.nib:
15594 * Drosera/English.lproj/MainMenu.nib/info.nib:
15595 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
15596 * Drosera/debugger.js:
15598 2006-10-29 Darin Adler <darin@apple.com>
15600 * Scripts/do-file-rename: Renames done, ready for the next round.
15601 * Scripts/do-webcore-rename: Ditto.
15603 2006-10-29 Darin Adler <darin@apple.com>
15605 * Scripts/do-file-rename: And again.
15607 2006-10-29 Darin Adler <darin@apple.com>
15609 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
15611 2006-10-29 Darin Adler <darin@apple.com>
15615 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
15616 Added. Does nothing, which prevents a beep.
15618 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
15620 2006-10-27 Brady Eidson <beidson@apple.com>
15622 Rubber stamped by Tim Hatcher
15624 Added "make universal" to build universal binaries
15629 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
15633 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
15634 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
15635 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
15637 * DumpRenderTree/EventSendingController.m:
15638 (-[EventSendingController mouseMoveToX:Y:]):
15640 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
15642 Reviewed by Darin Adler.
15644 Fix Qt/Linux build.
15646 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15647 (WebCore::DumpRenderTree::open):
15649 2006-10-24 Stephanie Lewis <slewis@apple.com>
15651 Reviewed by Maciej.
15653 - Changed run-javascriptcore tests to build testkjs before running.
15655 * Scripts/run-javascriptcore-tests:
15657 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
15659 Reviewed by Maciej.
15661 Fix Qt/Linux build.
15663 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
15664 - Fix CMakeLists.txt to include platform/network.
15666 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
15668 2006-10-24 David Smith <catfish.man@gmail.com>
15672 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
15673 http://bugs.webkit.org/show_bug.cgi?id=11382
15675 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
15677 2006-10-21 Darin Adler <darin@apple.com>
15679 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
15680 This was still using "symroots" so it almost never worked!
15682 2006-10-21 Darin Adler <darin@apple.com>
15684 * Makefile: Build DumpRenderTree too.
15685 * Scripts/do-webcore-rename: Removed bogus comment.
15687 2006-10-20 David Smith <catfish.man@gmail.com>
15691 Bug 11367: Inline Breakpoint Editor Improvements: Act III
15692 http://bugs.webkit.org/show_bug.cgi?id=11367
15694 Major breakpoint editor changes:
15695 * Breakpoints can now either pause or log to console
15696 * Code cleanup through use of XPath and converting breakpoints to objects
15697 * Breakpoints now track how many times they've been reached
15699 * The breakpoint editor now saves changes as they're entered
15700 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
15701 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
15703 * Drosera/DebuggerDocument.m:
15704 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
15705 * Drosera/Drosera.xcodeproj/project.pbxproj:
15706 * Drosera/Images/close.tif: Added.
15707 * Drosera/Images/close_active.tif: Added.
15708 * Drosera/Images/close_hover.tif: Added.
15709 * Drosera/breakpointEditor.html: Added.
15710 * Drosera/console.js: Added a way to append messages from outside the console window.
15711 * Drosera/debugger.js:
15712 * Drosera/viewer.css:
15713 * Drosera/viewer.html:
15715 2006-10-18 David Smith <catfish.man@gmail.com>
15719 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.
15721 * Drosera/DebuggerDocument.m:
15722 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
15723 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
15724 * Drosera/debugger.js:
15726 2006-10-18 Timothy Hatcher <timothy@apple.com>
15728 Reviewed by Anders.
15730 Bug 10851: Crash with Drosera
15731 http://bugs.webkit.org/show_bug.cgi?id=10851
15733 This crash results in an assert in debug builds.
15735 assert(implementsCall());
15737 The __drosera_introspection propery was not callable. Now we just assign
15738 this.__drosera_introspection in the evaluateWebScript call.
15739 This change also removes one DO message.
15741 * Drosera/DebuggerDocument.m:
15742 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
15744 2006-10-18 Mark Rowe <bdash@webkit.org>
15748 http://bugs.webkit.org/show_bug.cgi?id=11304
15749 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
15751 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
15752 when they are not part of the WebKit umbrella framework.
15754 2006-10-18 Adam Roben <aroben@apple.com>
15756 fixo el buildo II: Release's Pride.
15758 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15760 2006-10-18 Geoffrey Garen <ggaren@apple.com>
15764 Work around #import of <PDFKit/PDFView.h>.
15766 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15768 2006-10-18 David Smith <catfish.man@gmail.com>
15772 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
15774 * Drosera/Drosera.xcodeproj/project.pbxproj:
15775 * Drosera/Images/breakpointeditor.png: Added.
15776 * Drosera/breakpointEditor.css: Removed.
15777 * Drosera/breakpointEditor.html: Removed.
15778 * Drosera/breakpointEditor.js: Removed.
15779 * Drosera/debugger.js:
15780 * Drosera/viewer.css:
15782 2006-10-18 David Harrison <harrison@apple.com>
15786 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
15787 http://bugs.webkit.org/show_bug.cgi?id=11341
15789 Link editing behavior became a preference. DumpRenderTree needs to specify the
15790 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
15792 * DumpRenderTree/DumpRenderTree.m:
15795 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15797 Reviewed by Anders.
15799 Make compiler not complain about unused gk. SpinneretWebHost was not setting
15800 initial refcount upon creation, so it is completely bogus.
15802 * GdkLauncher/main.cpp:
15804 * Spinneret/Spinneret/Spinneret.h:
15805 (SpinneretWebHost::SpinneretWebHost):
15807 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
15809 Reviewed by Oliver.
15811 Add another hanging test, to the "to be skipped" list.
15813 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
15815 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
15817 Reviewed by Anders.
15819 Some fixes to get the Qt BuildSlave to run the LayoutTests.
15821 * Scripts/build-dumprendertree: No need to call cmake again.
15822 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
15824 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
15828 Force --no-http on Qt/Linux.
15830 * Scripts/run-webkit-tests:
15832 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
15836 Gets JavaScripCore tests running on windows.
15838 * Scripts/run-javascriptcore-tests:
15839 * Scripts/webkitdirs.pm:
15841 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
15843 Reviewed by Maciej.
15845 Exclude some tests which crash or hang from Qt/Linux DRT.
15846 These are known to fail, and will be fixed at some point :-)
15848 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15849 (WebCore::DumpRenderTree::DumpRenderTree):
15850 (WebCore::DumpRenderTree::open):
15851 (WebCore::DumpRenderTree::readStdin):
15852 (WebCore::DumpRenderTree::readSkipFile):
15853 (WebCore::DumpRenderTree::checkLoaded):
15854 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
15855 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
15857 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
15859 Reviewed by Maciej.
15861 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
15863 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
15864 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
15865 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
15867 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15869 Reviewed by Maciej.
15871 Also regenerate GdkLauncher makefiles, since not doing that might
15872 lead to mismatch between WebCore and GdkLauncher compiler settings.
15874 * Scripts/regenerate-makefiles:
15876 2006-10-10 David Smith <catfish.man@gmail.com>
15880 Bug 11246: Minor Drosera code cleanup
15881 http://bugs.webkit.org/show_bug.cgi?id=11246
15883 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
15885 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
15889 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
15891 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
15892 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
15893 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
15894 * Drosera/Images/SourceArrowOpen.png: Added.
15895 * Drosera/Images/fileIcon.jpg: Added.
15896 * Drosera/Images/siteCollapsed.tif: Added.
15897 * Drosera/Images/siteExpanded.tif: Added.
15898 * Drosera/Images/siteIcon.tif: Added.
15899 * Drosera/debugger.css: Added File Browser styles
15900 * Drosera/debugger.html: Added File Browser UI
15901 * Drosera/debugger.js: Added File Browser functionality
15903 2006-10-10 Darin Adler <darin@apple.com>
15905 * Scripts/do-file-rename: Added.
15907 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15911 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
15912 a page. This allows automatic testing via e.g. valgrind.
15914 * GdkLauncher/gdklauncher.bkl:
15915 * GdkLauncher/main.cpp:
15916 (LauncherFrameGdk::LauncherFrameGdk):
15917 (LauncherFrameGdk::setExitAfterLoading):
15918 (LauncherFrameGdk::handledOnloadEvents):
15922 2006-10-06 David Smith <catfish.man@gmail.com>
15924 Reviewed by Timothy.
15926 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
15928 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
15929 * Drosera/breakpointEditor.css: Added.
15930 * Drosera/breakpointEditor.html: Added.
15931 * Drosera/breakpointEditor.js: Added.
15932 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
15934 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
15938 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
15940 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15941 (WebCore::DumpRenderTree::DumpRenderTree):
15943 2006-10-05 Oliver Hunt <ohunt@apple.com>
15945 Reviewed by Anders.
15947 * Scripts/run-webkit-tests:
15950 2006-10-04 Anders Carlsson <acarlsson@apple.com>
15952 Reviewed by Darin Adler.
15954 * Scripts/run-webkit-tests:
15955 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
15958 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
15960 Reviewed and landed by ap.
15962 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
15963 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
15965 * Scripts/webkitdirs.pm:
15967 2006-10-04 Mark Rowe <bdash@webkit.org>
15969 Reviewed by Stephanie.
15971 Switch the Qt buildbot to the standard set of build steps.
15972 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
15973 see if any regressions were spotted, and fail the test if so.
15975 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
15976 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
15977 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
15979 2006-10-04 Timothy Hatcher <timothy@apple.com>
15981 Reviewed by Mitz Pettel!
15983 Bug 10708: [Drosera] Make the console input plaintext-only
15984 http://bugs.webkit.org/show_bug.cgi?id=10708
15986 Change the console input -webkit-user-modify property to
15987 read-write-plaintext-only.
15989 * Drosera/console.css:
15991 2006-10-04 David Smith <catfish.man@gmail.com>
15995 Bug 10473: [Drosera] Overlapping text in JavaScript Console
15996 http://bugs.webkit.org/show_bug.cgi?id=10473
15998 Using min-height instead of height to avoid overlapping text.
16000 * Drosera/console.css:
16002 2006-10-04 David Smith <catfish.man@gmail.com>
16006 Added a bash-style command history.
16008 * Drosera/console.js:
16010 2006-10-03 Anders Carlsson <acarlsson@apple.com>
16012 Reviewed by Adam and Brady.
16014 * DumpRenderTree/DumpRenderTree.m:
16016 Update URL to Ahem.ttf
16018 2006-10-03 Darin Adler <darin@apple.com>
16020 * Scripts/commit-log-editor: Added missing "close" call. Oops!
16022 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
16024 Reviewed by eseidel. Landed by eseidel.
16026 Offer a way for BuildBot to not colorize the cmake output, when building
16027 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
16029 Default is colorize output, though only Qt platform handles this for now.
16031 * Scripts/build-dumprendertree:
16032 * Scripts/build-webkit:
16033 * Scripts/webkitdirs.pm:
16035 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
16037 Reviewed by eseidel. Landed by eseidel.
16039 Make all important scripts work with Qt/Linux.
16041 You can safely use this now:
16042 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
16044 * Scripts/build-dumprendertree:
16045 * Scripts/run-javascriptcore-tests:
16046 * Scripts/run-webkit-tests:
16047 * Scripts/webkitdirs.pm:
16049 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
16053 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
16055 * Scripts/webkitdirs.pm:
16057 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
16059 Reviewed/landed by Adam.
16061 Proper build-webkit support for Qt/Linux.
16063 Compilation process is similar to OSX now, aka.
16064 the build directory is RootCheckoutDir/WebKitBuild now.
16066 * Scripts/build-webkit: Recognize Qt.
16067 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
16069 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
16071 Reviewed by Maciej.
16073 Add QT build slave to Buildbot.
16075 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
16076 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
16077 * 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.
16078 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
16080 2006-09-28 David Harrison <harrison@apple.com>
16082 Suggested by Darin Adler.
16084 Moved an extern declaration from inside a method to the top of the file.
16086 * DumpRenderTree/EventSendingController.m:
16087 (-[EventSendingController clearKillRing]):
16089 2006-09-28 David Harrison <harrison@apple.com>
16091 Reviewed by Justin.
16093 Add clearKillRing so we can test emacs support with empty kill ring.
16095 * DumpRenderTree/EventSendingController.m:
16096 (+[EventSendingController isSelectorExcludedFromWebScript:]):
16097 (+[EventSendingController webScriptNameForSelector:]):
16098 (-[EventSendingController clearKillRing]):
16100 2006-09-27 MorganL <morganl.webkit@yahoo.com>
16102 Reviewed by Maciej, landed by Brady
16104 Fix URL bar updating.
16106 * Spinneret/Spinneret/Spinneret.h:
16107 (SpinneretWebHost::didStartProvisionalLoadForFrame):
16108 (SpinneretWebHost::didCommitLoadForFrame):
16109 (SpinneretWebHost::didFinishLoadForFrame):
16111 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
16117 * DumpRenderTree/EventSendingController.m:
16118 (-[EventSendingController enableDOMUIEventLogging:]):
16120 2006-09-22 Justin Garcia <justin.garcia@apple.com>
16124 * Scripts/do-webcore-rename:
16126 2006-09-21 Timothy Hatcher <timothy@apple.com>
16130 Bug 10923: Frame scroll layout test failures on the buildbot
16131 http://bugs.webkit.org/show_bug.cgi?id=10923
16133 Added a new method that will toggle on the recursive dump of
16134 child frame scroll positions.
16136 * DumpRenderTree/DumpRenderTree.m:
16137 (dumpFrameScrollPosition):
16138 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16139 (-[LayoutTestController dumpChildFrameScrollPositions]):
16141 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
16143 Reviewed by eseidel. Landed by eseidel.
16145 Detect that close button was pressed and exit cleanly.
16147 * GdkLauncher/main.cpp:
16151 2006-09-17 Adam Roben <aroben@apple.com>
16153 Reviewed by hyatt, sfalken.
16155 Get DumpRenderTree compiling and limping along on Windows.
16157 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16158 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
16159 (main): Add NULL argument to Page constructor.
16160 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
16161 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
16163 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
16167 http://bugs.webkit.org/show_bug.cgi?id=10635
16168 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
16170 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
16171 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
16172 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
16174 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
16178 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
16179 Even More Objective-C DOM auto-generation cleanup
16181 - Change to use new, more Objectice-C'ish version of
16182 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
16183 regression test for fast/events/dblclick-addEventListener.html.
16185 * DumpRenderTree/EventSendingController.m:
16186 (-[EventSendingController fireKeyboardEventsToElement:]):
16188 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
16192 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
16193 Move QtLauncher down to WebKitQt.
16195 * QtLauncher/CMakeLists.txt: Removed.
16196 * QtLauncher/main.cpp: Removed.
16198 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
16200 Reviewed by Darin Adler.
16202 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
16203 Adjust DumpRenderTree to the FrameQtClient changes.
16205 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
16206 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16207 (WebCore::DumpRenderTree::DumpRenderTree):
16208 (WebCore::DumpRenderTree::~DumpRenderTree):
16209 (WebCore::DumpRenderTree::frame):
16210 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16211 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
16212 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
16213 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
16214 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
16216 2006-09-03 Darin Adler <darin@apple.com>
16218 * Scripts/do-webcore-rename: More renaming plans.
16220 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
16224 http://bugs.webkit.org/show_bug.cgi?id=10693
16225 Convert JavaScript arrays to AppleScript lists
16227 * DumpRenderTree/AppleScriptController.m:
16228 (convertAEDescToObject):
16229 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
16231 2006-08-31 Darin Adler <darin@apple.com>
16233 * Scripts/do-webcore-rename: Prepare for another round of renaming.
16235 2006-08-29 Dan Waylonis <waylonis@google.com>
16237 Reviewed by ggaren.
16239 - Verification of exceptions thrown in a plugin. Test for bug 10114.
16240 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16241 * DumpRenderTree/ObjCPlugin.m:
16242 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
16243 (+[ObjCPlugin webScriptNameForSelector:]):
16244 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
16246 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
16250 Commit KDE related tweaks, to be able to
16251 differentiate between a Qt-only or a KDE build.
16253 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
16254 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
16256 2006-08-29 Darin Adler <darin@apple.com>
16258 Reviewed by Tim Hatcher.
16260 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
16261 to work around what seems to be a bug in some versions of gdb.
16263 2006-08-16 Tim Omernick <timo@apple.com>
16265 Reviewed by John Sullivan.
16267 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
16268 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
16271 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
16273 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
16274 are expected to be retained by the plug-in, and released by the caller.
16276 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
16278 Reviewed by Tim Hatcher.
16280 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
16282 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16283 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
16284 Qt's DumpRenderTree.
16286 * Scripts/run-webkit-tests:
16287 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
16289 2006-08-28 Darin Adler <darin@apple.com>
16291 Reviewed by Tim Hatcher.
16293 * Scripts/build-drosera: Fix behavior when there are multiple options.
16295 2006-08-27 Timothy Hatcher <timothy@apple.com>
16297 Reviewed by Anders.
16299 Drosera will be built when you type make.
16301 * Drosera/Makefile: Added.
16303 * Makefile.shared: Added.
16305 2006-08-27 Anders Carlsson <acarlsson@apple.com>
16307 Forgot to add these.
16309 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
16310 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
16311 (WebCore::DumpRenderTree::DumpRenderTree):
16312 (WebCore::DumpRenderTree::~DumpRenderTree):
16313 (WebCore::DumpRenderTree::open):
16314 (WebCore::DumpRenderTree::readStdin):
16315 (WebCore::DumpRenderTree::checkLoaded):
16316 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
16317 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
16320 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
16322 Reviewed by Eric, landed by Anders.
16324 Add DumpRenderTree support for Qt/Linux.
16326 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
16327 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
16328 (WebCore::DumpRenderTree::DumpRenderTree):
16329 (WebCore::DumpRenderTree::~DumpRenderTree):
16330 (WebCore::DumpRenderTree::open):
16331 (WebCore::DumpRenderTree::readStdin):
16332 (WebCore::DumpRenderTree::checkLoaded):
16333 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
16334 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
16336 * Scripts/build-dumprendertree:
16337 * Scripts/run-webkit-tests:
16338 * Scripts/webkitdirs.pm:
16340 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
16342 Reviewed by Eric. Landed by rwlbuis.
16344 Add QtLauncher (was testunity before), which provides a
16345 standalone "browser" to test the Qt platform stuff.
16347 * QtLauncher/CMakeLists.txt: Added.
16348 * QtLauncher/main.cpp: Added.
16351 2006-08-22 Trey Matteson <trey@usa.net>
16353 Reviewed by ggaren.
16355 Added support for a new set of browser navigation tests. The main feature
16356 is the ability for a test to queue up a set of future actions that will
16357 happen after that first page is loaded. This is used to simulate a sequence
16358 of user actions such as filling out forms, loading additional pages or
16359 going back. In addition we can now dump out the state of the back/forward
16360 list, and the scroll position is dumped if not at 0,0.
16362 * DumpRenderTree/DumpRenderTree.m:
16363 (main): Init new state
16364 (compareHistoryItems): New utility to support sorting.
16365 (dumpHistoryItem): Write out a WebHistoryItem and kids.
16366 (dumpFrameScrollPosition): Write out the scroll position.
16367 (dump): Optionally write b/f list or scroll position.
16368 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
16369 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
16370 Kick off any queued actions. Fixed for the case of loads started in
16371 a subframe instead of the root frame.
16372 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
16373 Grab the topmost frame that is being loaded. Do this as early as possible,
16374 instead of in didCommitLoadForFrame.
16375 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
16376 Noting a load has started now happens in previous method.
16377 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
16378 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
16379 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
16381 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
16382 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
16383 Add new work to the queue.
16384 (-[LayoutTestController _doLoad:target:]): Do a queued load.
16385 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
16386 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
16387 (-[LayoutTestController scheduleForwardNav:]):
16388 (-[LayoutTestController scheduleReload]):
16389 (-[LayoutTestController scheduleScript:]):
16390 (-[LayoutTestController scheduleLoad:target:]):
16391 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
16392 since it's not one of the functions that does any dumping.
16394 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
16396 Reviewed by Darin Adler.
16398 - added a function to create a few DOMKeyboardEvents and dispatch
16399 them to a specified HTML element
16400 http://bugs.webkit.org/show_bug.cgi?id=9736
16402 * DumpRenderTree/EventSendingController.m:
16403 (+[EventSendingController isSelectorExcludedFromWebScript:]):
16404 (+[EventSendingController webScriptNameForSelector:]):
16405 (-[EventSendingController fireKeyboardEventsToElement:]):
16407 2006-08-15 Duncan Wilcox <duncan@mclink.it>
16409 Reviewed and tweaked by Darin Adler.
16411 - added DumpRenderTree support so editing delegate can be made to refuse edits
16412 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
16414 * DumpRenderTree/DumpRenderTree.m:
16415 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
16416 to the list of methods.
16417 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
16418 without the colon, for the JavaScript name.
16419 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
16421 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
16423 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
16424 setter methods to the class.
16425 * DumpRenderTree/EditingDelegate.m:
16426 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
16427 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
16428 return the value of acceptsEditing.
16429 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
16430 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
16431 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
16432 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
16433 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
16435 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
16436 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
16437 (-[EditingDelegate setAcceptsEditing:]): Added.
16439 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
16441 Reviewed by Darin Adler.
16443 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
16444 http://bugs.webkit.org/show_bug.cgi?id=10224
16446 * Drosera/Drosera.xcodeproj/project.pbxproj:
16447 * Drosera/LauncherInfo.plist:
16449 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
16451 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
16452 when a test performs an unsuccessful drag and drop operation.
16454 * DumpRenderTree/EventSendingController.m:
16455 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
16456 drag operation for the mouse release is NSDragOperationNone.
16458 2006-08-02 Timothy Hatcher <timothy@apple.com>
16460 Reviewed by Darin Adler.
16462 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
16463 http://bugs.webkit.org/show_bug.cgi?id=9632
16465 Do not change the file source when normalizing the line endings.
16466 We use this file source to compare against new versions of the source
16467 as it comes in, so we can skip re-syntax highlighting if they are the same.
16468 The problem is apparent on yahoo.com since they have mixed line endings and
16469 once we normalize them the source will always be different. This was
16470 compounded by the fact that yahoo has around 40 inline scripts. Each
16471 inline script causes us to check if the main document has more loaded,
16472 that is when we compare the source strings. Since they are always different
16473 we would syntax highlight yahoo.com 40 times! We do check source length before
16474 doing a more expensive string comparison, but the lengths were the same.
16476 * Drosera/debugger.js:
16478 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
16480 Reviewed by Timothy.
16482 Bug 9931: [Drosera] Needs a cool icon
16483 http://bugs.webkit.org/show_bug.cgi?id=9931
16485 * Drosera/Drosera.icns: Added.
16486 * Drosera/Drosera.xcodeproj/project.pbxproj:
16487 * Drosera/Info.plist:
16489 2006-08-01 Darin Adler <darin@apple.com>
16491 - fix a bug in my recent change where the mouse position at the end of
16492 the last test would affect the results of the next test
16494 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
16496 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
16498 Reviewed by Maciej.
16500 http://bugs.webkit.org/show_bug.cgi?id=10182
16501 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
16503 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
16504 Correct the logic to not reload local variable list unless an '=' character is in the expression.
16506 2006-07-31 Darin Adler <darin@apple.com>
16508 Reviewed by Maciej.
16510 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
16511 REGRESSION: failing layout test: fast/events/objc-event-api.html
16513 * DumpRenderTree/DumpRenderTree.m:
16514 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
16515 location in flipped coordinates, since those are the coordinates that we use.
16516 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
16517 inside WebHTMLView.
16519 * DumpRenderTree/EventSendingController.m:
16520 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
16521 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
16522 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
16523 probably worked OK, but this is needed to be correct.
16524 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
16525 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
16526 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
16527 dump the screenY as-is.
16529 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
16531 Reviewed by Darin Adler.
16533 http://bugs.webkit.org/show_bug.cgi?id=10178
16534 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
16536 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
16537 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
16539 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
16541 Reviewed by Darin Adler.
16543 http://bugs.webkit.org/show_bug.cgi?id=10175
16544 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
16546 * Drosera/DebuggerDocument.m:
16547 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
16549 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
16551 Reviewed by Darin Adler.
16553 http://bugs.webkit.org/show_bug.cgi?id=10167
16554 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
16556 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
16557 in keyDown handler.
16559 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
16561 Reviewed by Maciej.
16563 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
16564 http://bugs.webkit.org/show_bug.cgi?id=9686
16566 * Drosera/DebuggerDocument.m:
16567 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
16568 ensure that the server does not try and notify us of events related to the resumption.
16569 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
16570 call through to JavaScript.
16571 * Drosera/debugger.js: Pause debugger when exception is raised.
16573 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
16575 Reviewed by Darin Adler.
16577 - fixes for Linux build
16579 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
16580 * GdkLauncher/gdklauncher.bkl: Tweak comment.
16582 2006-07-24 Dan Waylonis <waylonis@google.com>
16584 Reviewed and tweaked a bit by Darin Adler.
16586 * DumpRenderTree/ObjCPlugin.m:
16587 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
16588 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
16589 "echo:" so it's nice to call from JavaScript.
16590 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
16591 to test a round trip through Objective-C types.
16593 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
16595 Reviewed by Darin Adler.
16597 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
16598 Improve iExploder results parsing
16600 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
16601 in random mode, too.
16603 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
16605 Reviewed by Timothy.
16607 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
16608 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
16610 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
16612 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
16614 Reviewed by Darin Adler.
16616 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
16617 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
16619 Removed "Property changes" that snuck in as part of the "apply patch" process.
16621 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
16623 Reviewed by Darin Adler.
16625 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
16626 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
16628 * Scripts/svn-apply:
16629 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
16631 (patch): Use patch(1) for non-binary additions and deletions.
16632 * Scripts/svn-unapply:
16634 (patch): Use patch(1) for reverting non-binary additions and deletions.
16635 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
16637 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
16639 Reviewed by Timothy.
16641 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
16642 http://bugs.webkit.org/show_bug.cgi?id=9889
16644 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
16645 so, have stepOut pause on the next call to willExecuteStatement rather than second.
16647 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
16649 Reviewed by Darin Adler.
16651 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
16652 Teach svn-create-patch and friends to fix ChangeLog patches
16654 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
16655 * Scripts/svn-create-patch: Ditto.
16656 * Scripts/svn-unapply: Ditto.
16658 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
16660 Reviewed by ggaren.
16662 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
16663 http://bugs.webkit.org/show_bug.cgi?id=9869
16665 * Drosera/DebuggerDocument.m:
16666 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
16668 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
16670 Reviewed by ggaren.
16672 Bug 9863: Drosera needs to show something at launch
16673 http://bugs.webkit.org/show_bug.cgi?id=9863
16675 * Drosera/DebuggerApplication.m:
16676 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
16678 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
16680 Reviewed by Timothy.
16682 Lets Drosera build universal for the nightlies. Right now it is not
16683 possible to build a universal binary on a PPC machine because of a
16684 conflict with the universal SDK.
16686 * BuildSlaveSupport/build-launcher-app:
16687 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
16689 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
16693 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
16694 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
16696 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16697 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
16698 should open a new stream and deliver the data to the current instance.
16700 2006-07-11 Timothy Hatcher <timothy@apple.com>
16702 Reviewed by Darin Adler.
16704 Bug 9598: [Drosera] add a JavaScript evaluator console
16705 http://bugs.webkit.org/show_bug.cgi?id=9598
16707 * Drosera/DebuggerApplication.h:
16708 * Drosera/DebuggerApplication.m:
16709 (-[DebuggerApplication knownServers]):
16710 * Drosera/DebuggerDocument.h:
16711 * Drosera/DebuggerDocument.m:
16712 (-[WebScriptObject evaluateScript:inCallFrame:]):
16713 (-[WebScriptObject showConsole:]):
16714 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
16715 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
16716 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
16717 (-[WebScriptObject webView:createWebViewWithRequest:]):
16718 (-[WebScriptObject webViewShow:]):
16719 (-[WebScriptObject webViewAreToolbarsVisible:]):
16720 (-[WebScriptObject webView:setToolbarsVisible:]):
16721 (-[WebScriptObject webView:setResizable:]):
16722 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
16723 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
16724 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
16725 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
16726 (-[WebScriptObject webView:didFinishLoadForFrame:]):
16727 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
16728 * Drosera/Drosera.xcodeproj/project.pbxproj:
16729 * Drosera/Images/console.png: Added.
16730 * Drosera/console.css: Added.
16731 * Drosera/console.html: Added.
16732 * Drosera/console.js: Added.
16734 2006-07-11 Timothy Hatcher <timothy@apple.com>
16736 Reviewed by a tired Geoff.
16738 Bug 9597: [Drosera] hook up the variables table to show stack variables
16739 http://bugs.webkit.org/show_bug.cgi?id=9597
16741 * Drosera/DebuggerDocument.m:
16742 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
16743 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
16744 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
16745 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
16746 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
16747 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
16748 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
16749 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
16750 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
16751 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
16752 * Drosera/debugger.css:
16753 * Drosera/debugger.html:
16754 * Drosera/debugger.js:
16756 2006-07-10 Tim Omernick <timo@apple.com>
16758 Reviewed by Beth Dakin.
16760 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
16761 Add DOM access test to DumpRenderTree's Netscape plug-in
16763 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16767 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
16769 Reviewed by Darin Adler.
16771 - http://bugs.webkit.org/show_bug.cgi?id=9839
16772 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
16774 Now track three states: initializing, running, and closed. If we are launched and the previous
16775 state was initializing then we likely just experienced a crash on launch.
16777 * WebKitLauncher/WebKitNightlyEnabler.m:
16778 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
16779 (myApplicationWillTerminate): Update to use new states.
16780 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
16781 initializing as early as practical.
16782 (symbol_lookup): Bring code up to speed with formatting guidelines.
16783 (GDSymbolLookup): Ditto.
16785 2006-07-10 Darin Adler <darin@apple.com>
16787 - try to fix Windows build
16789 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
16790 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
16792 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16796 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
16797 devenv.com not available in VC++ Express installations
16799 * Scripts/webkitdirs.pm: Backed out previous change.
16801 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16803 Reviewed by Darin Adler.
16805 - http://bugs.webkit.org/show_bug.cgi?id=9693
16806 svn-apply should set ChangeLog date correctly when applying patches
16808 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
16809 before applying the patch.
16810 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
16812 2006-07-09 Darin Adler <darin@apple.com>
16814 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
16816 2006-07-09 Darin Adler <darin@apple.com>
16818 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
16820 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16822 - http://bugs.webkit.org/show_bug.cgi?id=7802
16823 devenv.com not available in VC++ Express installations
16825 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
16826 work again. Add VC++ Express check as the fallback.
16828 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
16830 Reviewed by Timothy Hatcher.
16832 - http://bugs.webkit.org/show_bug.cgi?id=7802
16833 devenv.com not available in VC++ Express installations
16835 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
16837 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
16841 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
16842 Patch by coldwinter@katamail.com.
16844 In the congratulations message, "capatibilies" should be "capabilities".
16846 * Scripts/build-webkit:
16848 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16850 Reviewed by Timothy Hatcher.
16852 - http://bugs.webkit.org/show_bug.cgi?id=9794
16853 Teach run-webkit-tests how to ignore tests with performance improvements
16855 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
16856 feature, and minor clean up.
16858 2006-07-08 Darin Adler <darin@apple.com>
16860 Reviewed by Geoff (well, half of it at least).
16862 - http://bugs.webkit.org/show_bug.cgi?id=9788
16863 storage leaks in Objective-C tests
16865 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
16866 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
16867 Add a release to fix a storage leak.
16869 2006-07-08 Darin Adler <darin@apple.com>
16871 * Scripts/do-webcore-rename: A few more.
16873 2006-07-08 Darin Adler <darin@apple.com>
16875 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
16877 2006-07-04 Maciej Stachowiak <mjs@apple.com>
16879 Reviewed by Darin Adler.
16881 http://bugs.webkit.org/show_bug.cgi?id=9734
16882 - add support for dumping non-HTML as text - in this case use textContent
16883 instead of innerText
16885 * DumpRenderTree/DumpRenderTree.m:
16888 2006-07-02 Timothy Hatcher <timothy@apple.com>
16892 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
16893 http://bugs.webkit.org/show_bug.cgi?id=9631
16895 Adds step over and step out. Along with a little code cleanup
16896 that was minor enough to piggyback on this fix.
16898 * Drosera/DebuggerDocument.h:
16899 * Drosera/DebuggerDocument.m:
16900 (-[DebuggerDocument stepOver:]):
16901 (-[DebuggerDocument stepOut:]):
16902 (-[DebuggerDocument windowDidLoad]):
16903 (-[DebuggerDocument windowWillClose:]):
16904 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
16905 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
16906 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
16907 (-[DebuggerDocument validateUserInterfaceItem:]):
16908 * Drosera/Drosera.xcodeproj/project.pbxproj:
16909 * Drosera/debugger.html:
16910 * Drosera/debugger.js:
16911 * Drosera/viewer.css:
16913 2006-07-02 Timothy Hatcher <timothy@apple.com>
16917 Bug 9628: [Drosera] Split Views acting oddly
16918 http://bugs.webkit.org/show_bug.cgi?id=9628
16920 Only update the last X or Y coordinate if the new
16921 size was not constrained. Also adds the resize cursor to
16922 the body during the drag incase there is a constrained
16923 over drag off of the resizer element.
16925 * Drosera/debugger.js:
16927 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16929 Reviewed by Alexey Proskuryakov.
16931 Bug 9692: Warning about Safari extensions on every launch is obnoxious
16932 http://bugs.webkit.org/show_bug.cgi?id=9692
16934 * WebKitLauncher/WebKitNightlyEnabler.m:
16935 (myApplicationWillTerminate): Note that we are exiting cleanly.
16936 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
16937 to exit cleanly on our last invocation. This doesn't play nicely with
16938 multiple concurrent instances of WebKit.app so it can be disabled via
16939 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
16941 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16943 Reviewed by Alexey Proskuryakov.
16945 Bug 9654: Refresh Loop when accessing feed URLs
16946 http://bugs.webkit.org/show_bug.cgi?id=9654
16948 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
16950 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16952 Reviewed by Timothy Hatcher.
16954 Bug 9689: Nightly builds should warn a user about potential problems when using
16955 "Safari extensions"
16956 http://bugs.webkit.org/show_bug.cgi?id=9689
16958 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
16959 * WebKitLauncher/WebKitNightlyEnabler.m:
16960 (myBundleDidLoad): Keep track of if any bundles that are loaded.
16961 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
16962 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
16963 NSApplicationWillFinishLaunchingNotification notifications so that we can
16964 track bundle loads and notify the user at launch completion.
16966 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
16968 Reviewed by Darin Adler.
16970 - first check-in of a Gdk shell for testing WebKit
16972 * GdkLauncher: Added.
16974 2006-06-29 Timothy Hatcher <timothy@apple.com>
16976 Reviewed by Darin Adler.
16978 Need to call window close so WebView tears-down completly.
16980 * DumpRenderTree/DumpRenderTree.m:
16981 (main): call [window close]
16983 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
16985 Reviewed by Darin Adler.
16987 Bug 9615: Buildbot configuration should be in SVN repository
16988 http://bugs.webkit.org/show_bug.cgi?id=9615
16990 Import BuildBot configuration files as used by build.webkit.org.
16991 auth.py has been stubbed out so that slave passwords are not disclosed.
16993 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
16994 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
16995 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
16996 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
16997 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
16998 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
16999 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
17000 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
17001 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
17002 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
17003 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
17004 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
17006 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
17008 Reviewed by Darin Adler.
17010 Bug 9614: Nightly builds should notify user if a newer build is available
17011 http://bugs.webkit.org/show_bug.cgi?id=9614
17013 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
17014 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
17015 script so it can keep track of the latest revision.
17016 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
17017 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
17018 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
17019 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
17020 the nightly start page.
17022 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
17024 Reviewed by Darin Adler.
17026 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
17027 http://bugs.webkit.org/show_bug.cgi?id=9579
17029 Report screenY values as (height of zero screen - screenY)
17031 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
17033 2006-06-25 Timothy Hatcher <timothy@apple.com>
17037 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
17038 http://bugs.webkit.org/show_bug.cgi?id=9591
17040 Makes breakpoints dragable. If dragged off the gutter they are deleted.
17042 * Drosera/debugger.js:
17043 * Drosera/viewer.css:
17045 2006-06-25 Timothy Hatcher <timothy@apple.com>
17047 Reviewed by Darin Adler.
17049 Bug 9568: assertion failure in Safari after quitting Drosera
17050 http://bugs.webkit.org/show_bug.cgi?id=9568
17052 Call switchToServerNamed:nil and not removeLister to make sure
17053 the server object is set to nil to prevent further removeListener calls.
17055 * Drosera/DebuggerDocument.m:
17056 (-[DebuggerDocument applicationTerminating:]):
17058 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
17060 Reviewed by Darin Adler.
17062 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
17063 that the directory is not empty instead of reading in every single file and directory first,
17064 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
17067 2006-06-25 Darin Adler <darin@apple.com>
17069 * Scripts/svn-apply: Tweak comments.
17070 * Scripts/svn-create-patch: Ditto.
17071 * Scripts/svn-unapply: Ditto.
17073 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
17075 Formatting fix per Bug 9571 Comment #2.
17077 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
17079 * Scripts/svn-apply: Formatting fix.
17081 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
17083 Reviewed by Darin Adler.
17085 http://bugs.webkit.org/show_bug.cgi?id=9571
17086 Teach svn-apply and svn-unapply to handle directory adds and removes better
17088 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
17089 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
17091 2006-06-25 Timothy Hatcher <timothy@apple.com>
17093 Reviewed by Darin Adler.
17095 Bug 9574: Drosera should show inline scripts within the original HTML
17096 http://bugs.webkit.org/show_bug.cgi?id=9574
17098 Refactor the JavaScript code to have a distinction between files
17099 and scripts. Show the script in the context of the HTML file if
17100 it's URL is the same as the frame's main resource. At the time of
17101 the disParseScript callback the main resource might not be completely
17102 loaded, but Drosera needs to show whatever we have at the time. Once
17103 the main resource is finished, update the file source and reload the file.
17105 * Drosera/DebuggerDocument.m:
17106 (-[DebuggerDocument pause]):
17107 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
17108 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
17109 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
17110 * Drosera/debugger.css:
17111 * Drosera/debugger.js:
17113 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
17115 Reviewed by Darin Adler.
17117 http://bugs.webkit.org/show_bug.cgi?id=9570
17118 Teach prepare-ChangeLog to operate on a list of files or directories
17120 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
17121 * Scripts/svn-create-patch: Code refactoring.
17123 2006-06-24 James G. Speth <speth@end.com>
17125 Reviewed by Darin Adler.
17127 - http://bugs.webkit.org/show_bug.cgi?id=8843
17128 add a way to build Objective-C test cases in HTML
17130 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
17131 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
17132 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
17135 * DumpRenderTree/ObjCPlugin.h:
17136 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
17137 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
17138 (+[ObjCPlugin webScriptNameForSelector:]):
17139 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
17140 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
17141 (+[NSObject allowsScriptsFullAccess]):
17142 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
17143 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
17144 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
17145 (+[JSObjC webScriptNameForSelector:]):
17146 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
17147 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
17148 (-[JSObjC log:]): access to NSLog function
17149 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
17150 (-[JSObjC classOfObject:]):
17151 (-[JSObjC classNameOfObject:]):
17153 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
17155 Reviewed by Timothy.
17157 * DrawTest/Info.plist: Added copyright statement.
17158 * Drosera/Info.plist: Ditto.
17159 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
17160 * WebKitLauncher/Info.plist: Ditto.
17162 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
17166 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
17167 devenv.com not available in VC++ Express installations
17169 * Scripts/webkitdirs.pm: Backed out previous change.
17171 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
17173 Reviewed by Maciej.
17175 - http://bugs.webkit.org/show_bug.cgi?id=7802
17176 devenv.com not available in VC++ Express installations
17178 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
17180 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
17182 Reviewed by Darin Adler.
17184 - http://bugs.webkit.org/show_bug.cgi?id=9564
17185 A bunch of fixes to run-webkit-httpd
17187 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
17188 127.0.0.1. Useful for testing with WinIE running on another machine;
17189 - don't call checkFrameworks() - we do not need a built WebKit here;
17190 - changed tabs to spaces;
17191 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
17192 interactive mode, they were a hassle when testing with several browsers, as one
17193 had to wait for connection to expire);
17194 - remove httpd.pid when done, so that Apache doesn't complain next time.
17196 * Scripts/run-webkit-httpd:
17198 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
17200 Reviewed by ggaren, landed by ap.
17202 - http://bugs.webkit.org/show_bug.cgi?id=9181
17203 Complete DOMUIEvent Obj-C API to reflect UIEvent
17205 Add function to enable logging of all events of one DOM node to stdout.
17207 * DumpRenderTree/EventSendingController.h:
17208 * DumpRenderTree/EventSendingController.m:
17209 (+[EventSendingController initialize]):
17210 (+[EventSendingController isSelectorExcludedFromWebScript:]):
17211 (+[EventSendingController webScriptNameForSelector:]):
17212 (-[EventSendingController enableDOMUIEventLogging:]):
17213 (-[EventSendingController handleEvent:]):
17215 2006-06-23 Kevin Decker <kdecker@apple.com>
17217 Reviewed by Tim Hatcher.
17219 - Made column headers in Drosera resizable.
17221 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
17223 Reviewed by ggaren.
17225 - see http://bugs.webkit.org/show_bug.cgi?id=9539
17226 Another case error preventing build
17228 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
17230 2006-06-22 Timothy Hatcher <timothy@apple.com>
17234 Adds a native toolbar to Drosera to be a good citizen.
17235 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
17236 Fixes a dragging bug from an earlier fix to the divider code.
17237 Fixes some poor indenting in debugger.js.
17239 * Drosera/DebuggerDocument.h:
17240 * Drosera/DebuggerDocument.m:
17241 (-[DebuggerDocument stepInto]):
17242 (-[DebuggerDocument pause:]):
17243 (-[DebuggerDocument resume:]):
17244 (-[DebuggerDocument stepInto:]):
17245 (-[DebuggerDocument windowDidLoad]):
17246 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
17247 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
17248 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
17249 (-[DebuggerDocument validateUserInterfaceItem:]):
17250 * Drosera/English.lproj/MainMenu.nib/classes.nib:
17251 * Drosera/English.lproj/MainMenu.nib/info.nib:
17252 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
17253 * Drosera/debugger.css:
17254 * Drosera/debugger.html:
17255 * Drosera/debugger.js:
17256 * Drosera/viewer.html:
17258 2006-06-22 Kevin Decker <kdecker@apple.com>
17260 Reviewed by Anders.
17262 - Added pressed column header image.
17263 - Made column headers behave more like Xcode.
17265 2006-06-22 Timothy Hatcher <timothy@apple.com>
17267 Reviewed by Kevin Decker.
17269 Code clean up. Adds the stackframe and makes only the body
17270 of the tables scrollable keeping the header visible.
17271 Shows the current function stack when paused or stepping.
17273 * Drosera/DebuggerApplication.m:
17274 (-[DebuggerApplication awakeFromNib]):
17275 (-[DebuggerApplication numberOfRowsInTableView:]):
17276 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
17277 * Drosera/DebuggerDocument.h:
17278 * Drosera/DebuggerDocument.m:
17279 (-[DebuggerDocument dealloc]):
17280 (-[DebuggerDocument currentFrame]):
17281 (-[DebuggerDocument currentFrameFunctionName]):
17282 (-[DebuggerDocument currentFunctionStack]):
17283 (-[DebuggerDocument log:]):
17284 (-[DebuggerDocument windowWillClose:]):
17285 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
17286 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
17287 * Drosera/Drosera.xcodeproj/project.pbxproj:
17288 * Drosera/debugger.css:
17289 * Drosera/debugger.html:
17290 * Drosera/debugger.js:
17292 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
17294 Reviewed by Anders.
17296 Teach run-webkit-httpd to properly look for webkitdirs.pm.
17298 * Scripts/run-webkit-httpd:
17300 2006-06-22 Kevin Decker <kdecker@apple.com>
17302 Reviewed by Tim Hatcher.
17304 - More progress toward Javascript Debugger.
17305 - Added some new images to the project.
17307 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
17309 Reviewed by Anders.
17311 - http://bugs.webkit.org/show_bug.cgi?id=9516
17312 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
17314 * Scripts/run-webkit-httpd: Added.
17316 2006-06-20 Timothy Hatcher <timothy@apple.com>
17320 Builds Drosera and a launcher to include with the nightly.
17322 * BuildSlaveSupport/build-launcher-app:
17323 * BuildSlaveSupport/build-launcher-dmg:
17324 * Drosera/Drosera.xcodeproj/project.pbxproj:
17325 * Drosera/Info.plist:
17326 * Drosera/LauncherInfo.plist: Added.
17327 * Drosera/launcher.m: Added.
17328 (displayErrorAndQuit):
17329 (checkMacOSXVersion):
17332 * Scripts/build-drosera
17333 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
17334 * WebKitLauncher/main.m:
17337 2006-06-20 Timothy Hatcher <timothy@apple.com>
17339 Reviewed by Darin Adler.
17341 Adds a JavaScript debugger, called Drosera. Named after
17342 a genus of bug eating plants.
17344 * Drosera/DebuggerApplication.h: Added.
17345 * Drosera/DebuggerApplication.m: Added.
17346 (-[DebuggerApplication applicationDidFinishLaunching:]):
17347 (-[DebuggerApplication serverLoaded:]):
17348 (-[DebuggerApplication serverUnloaded:]):
17349 (-[DebuggerApplication awakeFromNib]):
17350 (-[DebuggerApplication showAttachPanel:]):
17351 (-[DebuggerApplication attach:]):
17352 (-[DebuggerApplication numberOfRowsInTableView:]):
17353 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
17354 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
17355 (-[DebuggerApplication tableViewSelectionDidChange:]):
17356 * Drosera/DebuggerDocument.h: Added.
17357 * Drosera/DebuggerDocument.m: Added.
17358 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
17359 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
17360 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
17361 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
17362 (-[DebuggerDocument initWithServerName:]):
17363 (-[DebuggerDocument windowWillClose:]):
17364 (-[DebuggerDocument dealloc]):
17365 (-[DebuggerDocument isPaused]):
17366 (-[DebuggerDocument pause]):
17367 (-[DebuggerDocument resume]):
17368 (-[DebuggerDocument step]):
17369 (-[DebuggerDocument windowNibName]):
17370 (-[DebuggerDocument windowDidLoad]):
17371 (-[DebuggerDocument switchToServerNamed:]):
17372 (-[DebuggerDocument applicationTerminating:]):
17373 (-[DebuggerDocument serverConnectionDidDie:]):
17374 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
17375 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
17376 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
17377 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
17378 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
17379 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
17380 * Drosera/Drosera.pch: Added.
17381 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
17382 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
17383 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
17384 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
17385 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
17386 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
17387 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
17388 * Drosera/Images/breakPoint.tif: Added.
17389 * Drosera/Images/breakPointDisabled.tif: Added.
17390 * Drosera/Images/continue.tif: Added.
17391 * Drosera/Images/finishFunction.tif: Added.
17392 * Drosera/Images/glossyFooterFill.tif: Added.
17393 * Drosera/Images/glossyHeader.png: Added.
17394 * Drosera/Images/gradientBackground.png: Added.
17395 * Drosera/Images/gutter.png: Added.
17396 * Drosera/Images/navLeftDisabled.png: Added.
17397 * Drosera/Images/navLeftNormal.png: Added.
17398 * Drosera/Images/navLeftPressed.png: Added.
17399 * Drosera/Images/navRightDisabled.png: Added.
17400 * Drosera/Images/navRightNormal.png: Added.
17401 * Drosera/Images/navRightPressed.png: Added.
17402 * Drosera/Images/pause.tif: Added.
17403 * Drosera/Images/popUpArrows.png: Added.
17404 * Drosera/Images/programCounter.tif: Added.
17405 * Drosera/Images/programCounterBreakPoint.tif: Added.
17406 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
17407 * Drosera/Images/run.tif: Added.
17408 * Drosera/Images/splitterBar.tif: Added.
17409 * Drosera/Images/splitterDimple.tif: Added.
17410 * Drosera/Images/step.tif: Added.
17411 * Drosera/Images/stepOver.tif: Added.
17412 * Drosera/Images/stop.tif: Added.
17413 * Drosera/Images/toolbarBackground.png: Added.
17414 * Drosera/Info.plist: Added.
17415 * Drosera/debugger.css: Added.
17416 * Drosera/debugger.html: Added.
17417 * Drosera/debugger.js: Added.
17418 * Drosera/main.m: Added.
17420 * Drosera/viewer.css: Added.
17421 * Drosera/viewer.html: Added.
17423 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
17427 http://bugs.webkit.org/show_bug.cgi?id=9485
17428 Teach svn-apply and svn-unapply to use full path names
17430 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
17431 * Scripts/svn-unapply: Ditto.
17433 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
17435 Reviewed by ggaren.
17437 - http://bugs.webkit.org/show_bug.cgi?id=9150
17438 DumpRenderTree should be able to keep URL history during runs
17440 Test: LayoutTests/fast/history/clicked-link-is-visited.html
17442 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
17443 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
17444 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
17445 it is currently nil since keepWebHistory() might be called more than once incidentally
17447 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
17448 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
17450 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
17454 http://bugs.webkit.org/show_bug.cgi?id=9395
17455 Make prepare-ChangeLog faster
17457 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
17458 then save the diff output for reuse. Keep a status variable if changes are made to
17459 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
17460 WebCore is updated. Added -h|--help command-line switch and help message. Move test
17461 for no changed files closer to the beginning of the program.
17463 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
17465 Reviewed and landed by ap.
17467 - make DumpRenderTree build
17469 * DumpRenderTree/DumpRenderTree.m:
17470 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
17471 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
17472 (-[LayoutTestController setWindowIsKey:]): Ditto.
17473 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
17475 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
17477 Reviewed by Darin, landed by Geoff.
17479 http://bugs.webkit.org/show_bug.cgi?id=9350
17480 Use pathcmp() when sorting paths in svn-create-patch
17482 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
17483 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
17484 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
17485 switch and printUsage() subroutine.
17487 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
17491 http://bugs.webkit.org/show_bug.cgi?id=9322
17492 Teach svn-create-patch to sort its output
17494 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
17495 by text files first, then by binary files.
17497 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
17501 http://bugs.webkit.org/show_bug.cgi?id=9299
17502 Teach svn-create-patch and friends to work with binary files
17504 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
17505 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
17506 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
17508 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
17510 Reviewed by Maciej.
17512 http://bugs.webkit.org/show_bug.cgi?id=9296
17513 Performance improvement for svn-create-patch
17515 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
17517 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
17521 http://bugs.webkit.org/show_bug.cgi?id=9290
17522 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
17524 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
17525 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
17527 2006-06-03 Steve Falkenburg <sfalken@apple.com>
17531 Switch Spinneret to new hosting mechanism
17533 * Spinneret/Spinneret.sln:
17534 * Spinneret/Spinneret/Spinneret.cpp:
17535 (SpinneretWebHost::updateAddressBar):
17536 (SpinneretWebHost::QueryInterface):
17537 (SpinneretWebHost::AddRef):
17538 (SpinneretWebHost::Release):
17545 * Spinneret/Spinneret/Spinneret.h:
17546 (SpinneretWebHost::didStartProvisionalLoadForFrame):
17547 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
17548 (SpinneretWebHost::didFailProvisionalLoadWithError):
17549 (SpinneretWebHost::didCommitLoadForFrame):
17550 (SpinneretWebHost::didReceiveTitle):
17551 (SpinneretWebHost::didReceiveIcon):
17552 (SpinneretWebHost::didFinishLoadForFrame):
17553 (SpinneretWebHost::didFailLoadWithError):
17554 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
17555 (SpinneretWebHost::willPerformClientRedirectToURL):
17556 (SpinneretWebHost::didCancelClientRedirectForFrame):
17557 (SpinneretWebHost::willCloseFrame):
17558 (SpinneretWebHost::windowScriptObjectAvailable):
17559 * Spinneret/Spinneret/Spinneret.vcproj:
17561 2006-06-02 Steve Falkenburg <sfalken@apple.com>
17565 Updated build script
17567 * Scripts/build-webkit:
17569 2006-06-01 Anders Carlsson <acarlsson@apple.com>
17571 Reviewed by Darin Adler.
17573 * DumpRenderTree/DumpRenderTree.m:
17574 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17575 (-[LayoutTestController clearBackForwardList]):
17576 Add clearBackForwardList function to layoutTestController
17578 2006-06-01 Anders Carlsson <acarlsson@apple.com>
17580 Reviewed by Darin Adler.
17582 http://bugs.webkit.org/show_bug.cgi?id=8996
17583 slow-utf8-text layout test case failing (no longer deterministic?)
17585 * DumpRenderTree/DumpRenderTree.m:
17587 Dump as text when the response MIME type is text/plain
17589 2006-05-26 Steve Falkenburg <sfalken@apple.com>
17593 * Spinneret/Spinneret.sln:
17594 * Spinneret/Spinneret/Spinneret.vcproj:
17596 2006-05-24 Geoffrey Garen <ggaren@apple.com>
17600 Added 'GCController' to DRT to support garbage collection layout tests.
17602 GCController.collect() and GCController.collectOnAlternateThread() do
17603 what you would expect. The latter takes a boolean argument sepcifying
17604 whether to wait for garbage collection to finish before continuing to
17607 * DumpRenderTree/DumpRenderTree.m:
17608 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
17609 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17610 * DumpRenderTree/GCController.h: Added.
17611 * DumpRenderTree/GCController.mm: Added.
17612 (+[GCController isSelectorExcludedFromWebScript:]):
17613 (+[GCController webScriptNameForSelector:]):
17614 (-[GCController collect]):
17615 (-[GCController collectOnAlternateThread:]):
17617 2006-05-23 John Sullivan <sullivan@apple.com>
17619 Reviewed by Maciej.
17621 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17622 Newer Xcode removed some obsolete cruft
17624 * DumpRenderTree/TextInputController.m:
17625 (-[TextInputController textInput]):
17626 added (id) cast to make newer compiler happy
17628 2006-05-22 Steve Falkenburg <sfalken@apple.com>
17634 * Spinneret/Spinneret.sln:
17636 2006-05-18 Darin Adler <darin@apple.com>
17638 - try to fix no-SVG, no-XPATH build, again
17640 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
17642 2006-05-18 Darin Adler <darin@apple.com>
17644 - try to fix no-SVG, no-XPATH build
17646 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
17647 since the former is what's used in the WebCore project now.
17649 2006-05-17 Darin Adler <darin@apple.com>
17651 * Scripts/do-webcore-rename: Some more future renames.
17653 2006-05-16 Adele Peterson <adele@apple.com>
17657 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
17658 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
17660 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
17662 * Scripts/install-unix-extras: Changed to be executable and removed
17663 text in the file generated by "svn diff".
17664 * Scripts/regenerate-makefiles: Ditto.
17666 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
17668 Reviewed by Darin, landed by ap.
17670 - http://bugs.webkit.org/show_bug.cgi?id=8528
17671 Bakefiles (and generated Makefiles) for wx and gdk ports
17673 * Scripts/install-unix-extras: Added.
17674 * Scripts/regenerate-makefiles: Added.
17676 2006-05-10 Steve Falkenburg <sfalken@apple.com>
17678 Reviewed by Maciej.
17680 Fix registry usage from perl script. Turns out libwin32's
17681 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
17683 * Scripts/install-win-extras:
17685 2006-05-09 Steve Falkenburg <sfalken@apple.com>
17688 Add load ended callback.
17692 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
17693 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
17694 * Spinneret/Spinneret/Spinneret.cpp:
17695 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
17696 (_tWinMain): Load built-in test content here instead of in lower-level code.
17697 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
17699 2006-05-08 Maciej Stachowiak <mjs@apple.com>
17701 Reviewed by Anders.
17703 * Scripts/extract-localizable-strings: Update for correct names of log macros.
17705 2006-05-09 Anders Carlsson <acarlsson@apple.com>
17707 Reviewed by Maciej.
17709 * Scripts/check-dom-results:
17710 Add XPath to the list of results.
17712 2006-05-08 Darin Adler <darin@apple.com>
17714 * Scripts/do-webcore-rename: Add another rename.
17716 2006-05-01 Steve Falkenburg <sfalken@apple.com>
17720 Spinneret now links against the new separate lib.
17722 * Spinneret/Spinneret.sln:
17723 * Spinneret/Spinneret/Spinneret.cpp:
17724 (SpinneretWebHost::updateLocationBar):
17726 * Spinneret/Spinneret/Spinneret.h:
17727 * Spinneret/Spinneret/Spinneret.vcproj:
17728 * Spinneret/Spinneret/WebFrame.cpp: Removed.
17729 * Spinneret/Spinneret/WebFrame.h: Removed.
17730 * Spinneret/Spinneret/WebView.cpp: Removed.
17731 * Spinneret/Spinneret/WebView.h: Removed.
17733 2006-04-28 Steve Falkenburg <sfalken@apple.com>
17735 Reviewed by kdecker
17737 Modify error reporting registry keys to disable Dr. Watson.
17738 This allows Javascript test cases to complete without blocking UI.
17740 * Scripts/install-win-extras:
17741 - Use Perl Win32 registry functions to disable blocking UI
17744 2006-04-28 Steve Falkenburg <sfalken@apple.com>
17748 Turned off C++ exceptions, fixed memory leaks
17750 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
17751 * Spinneret/Spinneret.sln:
17752 * Spinneret/Spinneret/Spinneret.cpp:
17754 * Spinneret/Spinneret/Spinneret.vcproj:
17755 * Spinneret/Spinneret/WebFrame.cpp:
17756 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
17757 (WebKit::WebFrame::WebFrame):
17758 (WebKit::WebFrame::~WebFrame):
17759 (WebKit::WebFrame::impl):
17760 * Spinneret/Spinneret/WebFrame.h:
17761 * Spinneret/Spinneret/WebView.cpp:
17762 * Spinneret/Spinneret/stdafx.h:
17764 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
17766 Reviewed by Darin Adler.
17768 - http://bugs.webkit.org/show_bug.cgi?id=8633
17769 DumpRenderTree should reset the URL cache
17771 * DumpRenderTree/DumpRenderTree.m:
17772 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
17774 2006-04-28 Eric Seidel <eseidel@apple.com>
17776 Reviewed by andersca.
17778 * Scripts/do-webcore-rename: rename KCanvasContainer too
17779 * Scripts/run-webkit-tests: output total time
17781 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
17783 Reviewed by hyatt. Landed by eseidel.
17785 - http://bugs.webkit.org/show_bug.cgi?id=8549
17786 Enable detection of excessive repainting with DumpRenderTree
17788 * DumpRenderTree/DumpRenderTree.m:
17789 (-[LayoutTestController display]):
17791 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
17793 Reviewed by Darin Adler.
17795 - http://bugs.webkit.org/show_bug.cgi?id=6905
17796 DumpRenderTree needs a way to force painting (to allow invalidation tests)
17798 * DumpRenderTree/DumpRenderTree.m:
17799 (dump): If display() has been called during the test, grab the pixels from
17800 the view, after letting it repaint invalidated rects.
17801 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17802 (-[LayoutTestController display]): Added. Calls -display on the view
17803 and changes the subsequent behavior of dump().
17806 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
17808 Reviewed by Maciej.
17810 - http://bugs.webkit.org/show_bug.cgi?id=8532
17811 Update iExploder to 1.3.2
17813 Test case numbers are not compatible with iExploder 1.2.
17815 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
17817 * iExploder/CHANGELOG.txt: Added.
17818 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
17819 * iExploder/README.txt: Added some performance hints.
17821 * iExploder/htdocs/config.rb: Added.
17822 * iExploder/htdocs/cssproperties.in:
17823 * iExploder/htdocs/cssvalues.in:
17824 * iExploder/htdocs/htmlattrs.in:
17825 * iExploder/htdocs/htmltags.in:
17826 * iExploder/htdocs/iexploder.cgi:
17827 - Updated to support the latest HTML & CSS tags, properties, and values from both
17828 the WebKit and Mozilla CVS tree
17829 - cssproperties.in cleanup
17830 - Modularized the code a little bit.
17831 - Fix subtest bug that was causing last 5 tags to be missed
17832 - new subtest algorithm to deal better with larger tag counts
17833 - default HTML_MAX_TAGS increased from 32 to 96
17835 * iExploder/htdocs/index.html: Updated version to 1.3.2.
17836 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
17837 alternative to our run-iexploder-tests.
17838 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
17839 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
17840 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
17842 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
17844 - commit Scripts/run-mangleme-tests (missed it the previous time).
17846 2006-04-18 Darin Adler <darin@apple.com>
17848 - attempt to fix Windows buildbot
17850 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
17851 We need a better long-term solution for this.
17853 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17855 Reviewed by Darin Adler.
17857 - http://bugs.webkit.org/show_bug.cgi?id=8444
17858 Integrate mangleme test script.
17860 Works in a similar way to run-iexploder-tests.
17862 * Scripts/run-mangleme-tests: Added.
17864 * mangleme/Makefile: Added.
17865 * mangleme/README: Added.
17866 * mangleme/mangle.cgi.c: Added.
17867 * mangleme/remangle.cgi.c: Added.
17868 * mangleme/tags.h: Added.
17870 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17872 Reviewed by Darin Adler.
17874 - http://bugs.webkit.org/show_bug.cgi?id=8443
17875 An easier way to save iExploder tests.
17877 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
17879 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17881 Reviewed by Darin Adler.
17883 - http://bugs.webkit.org/show_bug.cgi?id=8421
17884 Integrate iExploder test script.
17886 This script generates artificially mangled HTML documents, to test that the browser
17887 doesn't crash when handling ill-formed code.
17890 run-iexploder-tests Open an interactive test page in Safari+ToT.
17891 run-iexploder-tests nnnnn Open test #nnnnn.
17893 Command line options:
17894 --guard-malloc (-g) Use Guard Malloc.
17895 --port=nnnn Run Apache on port nnnn (default is 8000).
17897 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
17898 (thus, Apache is still running), e.g.:
17899 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
17901 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
17903 * Scripts/run-iexploder-tests: Added.
17904 * iExploder: Added.
17905 * iExploder/LICENSE.txt: Added.
17906 * iExploder/README.txt: Added.
17907 * iExploder/htdocs: Added.
17908 * iExploder/htdocs/cssproperties.in: Added.
17909 * iExploder/htdocs/cssvalues.in: Added.
17910 * iExploder/htdocs/htmlattrs.in: Added.
17911 * iExploder/htdocs/htmltags.in: Added.
17912 * iExploder/htdocs/htmlvalues.in: Added.
17913 * iExploder/htdocs/iexploder.cgi: Added.
17914 * iExploder/htdocs/index.html: Added.
17915 * iExploder/tools: Added.
17916 * iExploder/tools/lasthit.rb: Added.
17917 * iExploder/tools/osx_last_crash.rb: Added.
17919 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
17921 Reviewed by Darin Adler.
17923 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
17924 Restore color profile after a crash
17926 * DumpRenderTree/DumpRenderTree.m:
17927 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
17928 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
17929 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
17930 and this code may change significantly.
17932 (main): Install crashHandler.
17934 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
17935 (CFStringGetCStringPtr should NEVER EVER be used!).
17937 2006-04-15 Darin Adler <darin@apple.com>
17941 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
17942 Seems xmlsoft.org's HTTP no longer has what we need.
17944 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
17946 Rubber-stamped by Darin Adler.
17948 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
17949 upload-disk-image stage on buildslaves fail with "No space left on device"
17951 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
17952 'hdiutil create'. This creates the initial disk image based on the size of
17953 the source folder, and copies the contents to the new disk image. The file
17954 extension on the temporary uncompressed disk image has also been altered from
17955 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
17956 the extension is not ".dmg".
17958 2006-04-12 Eric Seidel <eseidel@apple.com>
17962 * Scripts/update-webkit: Make this return non-zero when svn fails.
17964 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
17966 Reviewed by Darin Adler.
17968 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
17969 Make HTTP tests using Perl use .pl extension
17971 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
17972 removed support for .text. Reduced the number of places that explicitly list supported
17973 extensions. Some of the changes come from bug 8121, the patch for which got landed only
17976 2006-04-06 Darin Adler <darin@apple.com>
17978 Changes requested by Mark Rowe.
17980 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
17981 trash at the end of the file.
17982 * BuildSlaveSupport/build-launcher-dmg: Ditto.
17984 * WebKitLauncher/main.m: Removed trash at end of file.
17986 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
17987 to make name match.
17989 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
17991 Reviewed by Darin, landed by Maciej.
17993 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
17994 and bundles the WebKit frameworks inside it.
17995 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
17996 containing WebKit.app.
17997 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
17998 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
17999 number of the SVN working copy.
18000 * WebKitLauncher: Added.
18001 * WebKitLauncher/Info.plist: Added.
18002 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
18003 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
18004 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
18005 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
18006 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
18007 the nightly launcher.
18008 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
18009 It sets up the environment to have Safari use the bundled frameworks
18010 and load the WebKitNightlyEnabler dylib before exec'ing Safari
18011 * WebKitLauncher/start.html: Added.
18012 * WebKitLauncher/webkit.icns: Added.
18014 2006-04-05 Darin Adler <darin@apple.com>
18016 Reviewed by Maciej.
18018 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
18019 are allowed to have global initializers.
18021 2006-04-05 Geoffrey Garen <ggaren@apple.com>
18023 Reviewed by OMG BETH
18025 * Scripts/run-testkjs:
18026 - pipe STDERR to /dev/null by default; new --verbose option overrides
18028 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
18029 - output run command in a format that can be copied and pasted into the
18030 terminal to run manually
18032 2006-04-03 Justin Garcia <justin.garcia@apple.com>
18034 Reviewed by harrison
18036 <http://bugs.webkit.org/show_bug.cgi?id=7567>
18037 A drag and drop in DumpRenderTree copies the source, instead of cutting it
18039 Tell the source that the drag is over after the drag is performed, not before.
18041 * DumpRenderTree/EventSendingController.m:
18042 (-[EventSendingController mouseUp]):
18044 2006-04-01 Darin Adler <darin@apple.com>
18046 Reviewed by Justin.
18048 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
18049 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
18050 elements in that array are not strings.
18052 2006-03-31 Darin Adler <darin@apple.com>
18054 Reviewed by John Sullivan.
18056 - added a "--reset-results" option to run-webkit-tests so you can reset
18057 the results without first deleting expected results
18058 - <rdar://problem/4185878> add scroll position to dumpRenderTree
18060 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
18061 more logical. Moved all the subroutines to the end of the file. Added a
18064 * DumpRenderTree/DumpRenderTree.m:
18065 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
18066 to generate new output for all tests it runs.
18067 (dump): Dump the scroll position if it's non-zero. Always dump the image when
18068 the --dump-all-pixels option is passed. Also tightened up the image dumping
18069 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
18070 with code to save and restore the context.
18072 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
18073 * DumpRenderTree/EventSendingController.m: Added now-needed include.
18075 2006-03-30 Tim Omernick <timo@apple.com>
18077 * DumpRenderTree/ObjCPlugin.h:
18079 * DumpRenderTree/ObjCPlugin.m: ditto
18080 * DumpRenderTree/ObjCPluginFunction.h: ditto
18081 * DumpRenderTree/ObjCPluginFunction.m: ditto
18083 2006-03-30 Tim Omernick <timo@apple.com>
18087 * DumpRenderTree/DumpRenderTree.m:
18088 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
18089 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
18090 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
18091 exposed to JS as a callable object.
18093 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18094 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
18096 * DumpRenderTree/ObjCPlugin.h: Added.
18097 * DumpRenderTree/ObjCPlugin.m: Added.
18098 * DumpRenderTree/ObjCPluginFunction.h: Added.
18099 * DumpRenderTree/ObjCPluginFunction.m: Added.
18101 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18102 Added a new method, "removeDefaultMethod", which removes the default method from the
18103 plugin object's class. The effect is that the plugin object is mutated from a callable
18104 function to a simple object.
18106 Handle "removeDefaultMethod".
18107 (pluginInvokeDefault):
18108 Made the default method actually do something (return 1).
18110 2006-03-30 Eric Seidel <eseidel@apple.com>
18112 Reviewed by ggaren.
18114 Remove WebFrame::viewImpl(), setMainFrame on page.
18116 * Spinneret/Spinneret/WebFrame.cpp:
18117 (WebKit::WebFrame::WebFrame):
18118 * Spinneret/Spinneret/WebFrame.h:
18119 * Spinneret/Spinneret/WebView.cpp:
18120 (WebKit::WebView::mouseMoved):
18121 (WebKit::WebView::mouseDown):
18122 (WebKit::WebView::mouseUp):
18123 (WebKit::WebView::mouseDoubleClick):
18124 (WebKit::WebViewWndProc):
18126 2006-03-30 Eric Seidel <eseidel@apple.com>
18130 Fix html editing input & basic form submission.
18132 * Spinneret/Spinneret/WebFrame.cpp:
18133 (WebKit::WebFrame::submitForm):
18134 (WebKit::WebFrame::loadURL):
18135 * Spinneret/Spinneret/WebFrame.h:
18136 * Spinneret/Spinneret/WebView.cpp:
18137 (WebKit::WebView::keyPress):
18138 (WebKit::WebViewWndProc):
18140 2006-03-28 Justin Garcia <justin.garcia@apple.com>
18144 <rdar://problem/4402375>
18145 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
18147 Added an option to draw the selectionRect.
18149 * DumpRenderTree/DumpRenderTree.m:
18151 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18152 (-[LayoutTestController dumpSelectionRect]):
18155 2006-03-29 Darin Adler <darin@apple.com>
18157 Reviewed by Tim Hatcher.
18159 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
18161 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
18163 2006-03-28 Eric Seidel <eseidel@apple.com>
18167 * Scripts/check-for-global-initializers: remove svg exceptions.
18169 2006-03-28 Timothy Hatcher <timothy@apple.com>
18171 Reviewed by Darin Adler.
18173 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
18175 * Scripts/check-for-global-initializers:
18177 2006-03-28 Timothy Hatcher <timothy@apple.com>
18179 Build fix. Turn off uninitialized warnings for the first block of code.
18181 * Scripts/check-for-global-initializers:
18183 2006-03-28 Darin Adler <darin@apple.com>
18187 * Scripts/check-for-global-initializers: Added.
18189 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
18191 Reviewed by darin. Landed by eseidel.
18193 - http://bugs.webkit.org/show_bug.cgi?id=7947
18194 Add repaint testing support to run-webkit-tests
18196 * DumpRenderTree/DumpRenderTree.m:
18197 (main): Added --repaint and --horizontal-sweep options.
18198 (dump): Repaint line-by-line or column-by-column when the appropriate option
18200 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
18201 and repaintSweepHorizontally() methods to layoutTestController.
18202 (-[LayoutTestController testRepaint]):
18203 (-[LayoutTestController repaintSweepHorizontally]):
18205 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
18206 to force these settings on tests that do not ask for them.
18208 2006-03-24 Eric Seidel <eseidel@apple.com>
18214 * Spinneret/Spinneret/WebFrame.cpp:
18215 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
18217 2006-03-21 Beth Dakin <bdakin@apple.com>
18221 Add support for keyDown() to DumpRenderTree.
18223 * DumpRenderTree/DumpRenderTree.m:
18224 (main): Set the preference for tabbing to links.
18225 * DumpRenderTree/EventSendingController.m:
18226 (+[EventSendingController isSelectorExcludedFromWebScript:]):
18227 (+[EventSendingController webScriptNameForSelector:]):
18228 (-[EventSendingController keyDown:withModifiers:]):
18230 2006-03-20 Eric Seidel <eseidel@apple.com>
18236 * Spinneret/Spinneret/Spinneret.vcproj:
18237 * Spinneret/Spinneret/WebFrame.h:
18238 * Spinneret/Spinneret/WebView.cpp:
18239 (WebKit::WebView::mouseMoved):
18240 (WebKit::WebView::mouseDown):
18241 (WebKit::WebView::mouseUp):
18242 (WebKit::WebView::mouseDoubleClick):
18243 (WebKit::WebView::keyPress):
18244 (WebKit::WebViewWndProc):
18246 2006-03-19 Darin Adler <darin@apple.com>
18248 Reviewed by Anders.
18250 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
18251 we can test it in layout tests. We don't really need tests that run with
18252 pop-up blocking off at the moment. If we do some day, we can add some
18253 API for turning it off in the layout test controller.
18255 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
18256 don't ignore the leak; it should no longer show up.
18258 2006-03-17 Anders Carlsson <andersca@mac.com>
18262 * Scripts/install-win-extras:
18263 Fetch "Program Files" location from the environment.
18265 2006-03-17 Eric Seidel <eseidel@apple.com>
18267 Reviewed by ggaren.
18269 Fix Spinneret to pass Events as const & not as pointers.
18271 * Spinneret/Spinneret/WebView.cpp:
18272 (WebKit::WebView::mouseMoved):
18273 (WebKit::WebView::mouseDown):
18274 (WebKit::WebView::mouseUp):
18275 (WebKit::WebView::mouseDoubleClick):
18276 (WebKit::WebView::keyPress):
18278 2006-03-17 Eric Seidel <eseidel@apple.com>
18280 Reviewed by justing.
18282 Add support for basic HTML editing.
18284 * Spinneret/Spinneret/WebView.cpp:
18285 (WebKit::WebView::WebView):
18286 (WebKit::WebView::keyPress):
18288 2006-03-17 Eric Seidel <eseidel@apple.com>
18290 Rubber-stamped by ggaren.
18292 Break DumpRenderTree.m up into several files to make the code more readable.
18294 * DumpRenderTree/DumpRenderTree.h: Added.
18295 * DumpRenderTree/DumpRenderTree.m:
18296 (doneLoading): new accessor function for "done" global.
18297 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18298 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
18299 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
18300 * DumpRenderTree/EditingDelegate.h: Added.
18301 * DumpRenderTree/EditingDelegate.m: Added.
18302 (-[EditingDelegate webViewDidChangeSelection:]):
18303 * DumpRenderTree/EventSendingController.h: Added.
18304 * DumpRenderTree/EventSendingController.m: Added.
18306 2006-03-16 Eric Seidel <eseidel@apple.com>
18310 Add resize, scroll event support.
18312 * Spinneret/Spinneret/WebView.cpp:
18313 (WebKit::WebView::mouseMoved):
18314 (WebKit::WebView::mouseDown):
18315 (WebKit::WebView::mouseUp):
18316 (WebKit::WebView::mouseDoubleClick):
18317 (WebKit::WebView::keyPress):
18318 (WebKit::WebViewWndProc):
18319 * Spinneret/Spinneret/WebView.h:
18321 2006-03-16 Eric Seidel <eseidel@apple.com>
18325 Make build-webkit print correctly to stdout on windows.
18327 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
18329 2006-03-15 Eric Seidel <eseidel@apple.com>
18333 Fix eventSender.mouseClick() to update lastClick timestamp.
18335 * DumpRenderTree/DumpRenderTree.m:
18336 (-[EventSendingController mouseClick]):
18338 2006-03-15 Darin Adler <darin@apple.com>
18340 Reviewed by Maciej.
18342 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
18343 that had a lowercase "i" in it so this builds on case-sensitive
18346 2006-03-15 Geoffrey Garen <ggaren@apple.com>
18350 Added run-testkjs and compare-timing-files scripts, to support super
18351 accurate JS iBench.
18353 * Scripts/compare-timing-files: Added.
18354 * Scripts/run-testkjs: Added.
18356 2006-03-14 Eric Seidel <eseidel@apple.com>
18360 Make the URL bar relinquish focus on page load.
18362 * Spinneret/Spinneret/Spinneret.cpp:
18365 2006-03-14 Eric Seidel <eseidel@apple.com>
18369 Fix WebView to allow KeyFocus.
18370 Add handling of space and shift-space for scrolling.
18372 * Spinneret/Spinneret/WebView.cpp:
18373 (WebKit::scrollMessageForKey):
18374 (WebKit::WebViewWndProc):
18376 2006-03-10 Eric Seidel <eseidel@apple.com>
18380 Add scrolling support into Spinneret.
18382 * Spinneret/Spinneret/WebFrame.cpp:
18383 (WebKit::WebFrame::paint):
18384 * Spinneret/Spinneret/WebView.cpp:
18385 (WebKit::WebView::createWebView):
18386 (WebKit::calculateScrollDelta):
18387 (WebKit::scrollMessageForKey):
18388 (WebKit::WebViewWndProc):
18390 2006-03-13 Eric Seidel <eseidel@apple.com>
18394 Fix checksum generation on Intel machines.
18395 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
18396 give a small speed boost now that it uses a shared buffer.
18398 * DumpRenderTree/DumpRenderTree.m:
18401 (md5HashStringForBitmap):
18402 * DumpRenderTree/ImageDiff.m:
18403 (computePercentageDifferent):
18405 2006-03-13 Darin Adler <darin@apple.com>
18407 Reviewed by Tim Hatcher.
18409 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
18410 have it named httpd-1.3 instead.
18412 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
18414 Fix proposed by Mitz Pettel, reviewed by Darin Adler.
18416 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
18417 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
18419 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
18420 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
18423 2006-03-09 Darin Adler <darin@apple.com>
18425 Reviewed by John Sullivan.
18427 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
18428 memory leak in the plug-in tests
18430 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
18431 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
18432 (NPP_SetWindow): Remove unneeded code to store the window pointer.
18434 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18435 Moved the browser global in here since it's declared in this file's header.
18436 Changed the code to set up the pluginClass structure to not use function
18437 pointer casts. Those are dangerous because they can hide many types of mismatch.
18438 And indeed when I did this I discovered that many functions were missing their
18439 boolean return values or had parameter declarations with the wrong types.
18440 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
18441 clarity. Added boolean return value: return true when successful and false when not.
18442 (pluginSetProperty): Added boolean return value, return false since we have no
18443 properties we can set.
18444 (pluginInvoke): Added boolean return value. Return true when successful and false
18445 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
18446 return value from calling the browser. Changed code to put the strings in malloc
18447 buffers instead of relying on GCC's extension that allows variable-sized arrays
18449 (pluginInvokeDefault): Added boolean return value, return false since we have no
18450 default function to call.
18451 (pluginInvalidate): Added missing parameter. Removed comment.
18452 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
18453 to cast the result of malloc.
18454 (pluginDeallocate): Removed uneeded cast.
18456 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
18457 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
18458 that match NPObject's fields. Removed unused NPWindow pointer.
18460 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
18462 Test: fast/events/event-sender-mouse-click.html
18464 Reviewed by Darin Adler.
18466 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
18467 DRT hangs when doing eventSender.mouseDown on native widgets
18469 * DumpRenderTree/DumpRenderTree.m:
18470 (+[EventSendingController isSelectorExcludedFromWebScript:]):
18471 (-[EventSendingController mouseClick]): Simulates a click in a native
18472 widget by queueing a mouseUp before sending the mouseDown, so that
18473 the widget's mouse tracking event loop doesn't hang indefinitely.
18475 2006-03-09 Maciej Stachowiak <mjs@apple.com>
18479 - make link clicks work by handling link click requests
18482 * Spinneret/Spinneret/Spinneret.cpp:
18483 (updateLocationBar):
18484 * Spinneret/Spinneret/Spinneret.h:
18485 * Spinneret/Spinneret/WebFrame.cpp:
18486 (WebKit::WebFrame::WebFrame):
18487 (WebKit::WebFrame::openURL):
18488 (WebKit::WebFrame::loadURL):
18489 * Spinneret/Spinneret/WebFrame.h:
18491 2006-03-08 Eric Seidel <eseidel@apple.com>
18495 Focus URL bar on Spinneret launch, remove border from WebView.
18496 Stop WebFrame from deleting the job (prevent crash).
18498 * Spinneret/Spinneret/Spinneret.cpp:
18500 * Spinneret/Spinneret/WebFrame.cpp:
18501 (WebKit::WebFrame::receivedAllData):
18502 (WebKit::WebFrame::paint):
18503 * Spinneret/Spinneret/WebView.cpp:
18504 (WebKit::WebView::createWebView):
18506 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
18508 Reviewed by Darin Adler.
18510 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18511 (pluginInvoke): Added a method to test getURL.
18513 2006-03-08 Maciej Stachowiak <mjs@apple.com>
18517 - load URLs, not file paths, in Spinneret
18519 * Spinneret/Spinneret/Spinneret.cpp:
18521 * Spinneret/Spinneret/Spinneret.vcproj:
18522 * Spinneret/Spinneret/WebFrame.cpp:
18523 (WebKit::WebFrame::loadURL):
18524 (WebKit::WebFrame::receivedData):
18525 (WebKit::WebFrame::receivedAllData):
18526 * Spinneret/Spinneret/WebFrame.h:
18527 * Spinneret/Spinneret/WebView.cpp:
18528 (WebKit::WebView::WebView):
18530 2006-03-08 Darin Adler <darin@apple.com>
18534 - fixed AppleScript layout test results to not be endian-dependent
18535 (Hyatt complained to me about this one)
18537 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
18538 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
18539 (which are endian-dependent).
18541 2006-03-07 Darin Adler <darin@apple.com>
18543 Reviewed by Anders.
18545 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
18546 unwanted output while running layout tests
18548 * DumpRenderTree/DumpRenderTree.m:
18549 (checkedMalloc): Added.
18550 (checkedRealloc): Added.
18551 (makeLargeMallocFailSilently): Added.
18552 (main): Call makeLargeMallocFailSilently.
18554 2006-03-06 Darin Adler <darin@apple.com>
18556 * Scripts/do-webcore-rename: Add some more planned renaming.
18558 2006-03-06 Eric Seidel <eseidel@apple.com>
18562 * Spinneret/Spinneret/WebFrame.cpp:
18563 (WebKit::WebFrame::paint): force layout before painting
18565 2006-03-06 Justin Garcia <justin.garcia@apple.com>
18569 Sent the windowNumber when sending events.
18570 Added leapForward so that we don't have to spend time waiting
18571 in layout tests that do mouse operations that require delays.
18573 * DumpRenderTree/DumpRenderTree.m:
18574 (+[EventSendingController isSelectorExcludedFromWebScript:]):
18575 (+[EventSendingController webScriptNameForSelector:]):
18576 (-[EventSendingController currentEventTime]):
18577 (-[EventSendingController leapForward:]):
18578 (-[EventSendingController mouseDown]):
18579 (-[EventSendingController mouseUp]):
18580 (-[EventSendingController mouseMoveToX:Y:]):
18582 2006-03-05 Darin Adler <darin@apple.com>
18584 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
18585 Script now works (after landing my two pending patches).
18587 2006-03-05 Darin Adler <darin@apple.com>
18589 - check in a script to do a "big" rename in WebCore
18590 (can be run whenever we're ready to do it)
18592 * Scripts/do-webcore-rename: Added.
18594 2006-03-05 Maciej Stachowiak <mjs@apple.com>
18598 * Spinneret/Spinneret/WebFrame.cpp:
18599 (WebKit::WebFrame::loadFilePath): Close file when done.
18601 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
18603 Reviewed by Darin, landed by ap.
18605 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
18606 Mouse moved events do not work in DumpRenderTree
18608 Test: fast/events/event-sender-mouse-moved.html
18610 * DumpRenderTree/DumpRenderTree.m:
18611 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
18613 2006-03-04 Eric Seidel <eseidel@apple.com>
18617 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
18618 Disable background erase to avoid tearing.
18619 Fix potential memory smasher from extra long urls.
18621 * Spinneret/Spinneret/Spinneret.cpp:
18623 * Spinneret/Spinneret/Spinneret.vcproj:
18624 * Spinneret/Spinneret/WebFrame.cpp:
18625 (WebKit::WebFrame::loadFilePath):
18626 (WebKit::WebFrame::paint):
18627 * Spinneret/Spinneret/WebView.cpp:
18628 (WebKit::registerWebViewWithInstance):
18630 2006-03-04 Eric Seidel <eseidel@apple.com>
18632 Reviewed by ggaren.
18634 Hang WebView pointer off of HWND (gets rid of global hack).
18635 Remove MessageBox displayed on url change.
18637 * Spinneret/Spinneret/Spinneret.cpp:
18640 * Spinneret/Spinneret/WebView.cpp:
18641 (WebKit::registerWebViewWithInstance):
18642 (WebKit::WebView::createWebView):
18643 (WebKit::WebViewWndProc):
18645 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
18649 Automatically kill httpd if it appears to be already running.
18651 * Scripts/run-webkit-tests:
18653 2006-03-04 Maciej Stachowiak <mjs@apple.com>
18657 * Spinneret/Spinneret/WebFrame.cpp:
18658 (WebKit::WebFrame::loadFilePath): Improved local file loading.
18660 2006-03-03 Eric Seidel <eseidel@apple.com>
18664 A few more fixes to make run-webkit-tests really work on win32.
18666 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18668 * Scripts/run-webkit-tests:
18670 2006-03-03 Eric Seidel <eseidel@apple.com>
18674 Make run-webkit-tests work on win32.
18676 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18678 (dumpRenderTreeMain):
18679 (dumpRenderTreeToStdOut):
18680 (serializeToStdOut):
18682 * Scripts/run-webkit-tests:
18683 * Scripts/webkitdirs.pm:
18684 * Spinneret/Spinneret/WebView.cpp:
18685 (WebKit::WebView::WebView):
18687 2006-03-03 Eric Seidel <eseidel@apple.com>
18691 Add WebFrame class (to hold Frame and FrameView).
18692 Add Location bar support to Spinneret.
18694 * Spinneret/Spinneret/Spinneret.cpp:
18699 * Spinneret/Spinneret/Spinneret.vcproj:
18700 * Spinneret/Spinneret/WebFrame.cpp: Added.
18701 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
18702 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
18703 (WebKit::WebFrame::WebFrame):
18704 (WebKit::WebFrame::loadFilePath):
18705 (WebKit::WebFrame::loadHTMLString):
18706 (WebKit::WebFrame::paint):
18707 (WebKit::WebFrame::impl):
18708 (WebKit::WebFrame::viewImpl):
18709 * Spinneret/Spinneret/WebFrame.h: Added.
18710 * Spinneret/Spinneret/WebView.cpp:
18711 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
18712 (WebKit::WebView::WebView):
18713 (WebKit::WebView::windowHandle):
18714 (WebKit::WebView::mainFrame):
18715 (WebKit::WebView::mouseMoved):
18716 (WebKit::WebView::mouseDown):
18717 (WebKit::WebView::mouseUp):
18718 (WebKit::WebView::mouseDoubleClick):
18719 (WebKit::WebViewWndProc):
18720 * Spinneret/Spinneret/WebView.h:
18722 2006-03-02 Eric Seidel <eseidel@apple.com>
18724 Reviewed by ggaren.
18726 * Spinneret/Spinneret/WebView.cpp:
18727 (WebKit::registerWebViewWithInstance):
18728 (WebKit::WebView::WebView):
18729 (WebKit::WebView::mouseMoved):
18730 (WebKit::WebView::mouseDown):
18731 (WebKit::WebView::mouseUp):
18732 (WebKit::WebView::mouseDoubleClick):
18733 (WebKit::WebViewWndProc):
18734 * Spinneret/Spinneret/WebView.h:
18736 2006-03-01 Eric Seidel <eseidel@apple.com>
18738 Reviewed by andersca.
18740 Make spinneret take advantage of the new GraphicsContextCairo.
18742 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18743 (main): updated to match style guidelines.
18744 * Spinneret/Spinneret/Spinneret.cpp:
18746 * Spinneret/Spinneret/WebView.cpp:
18747 (WebKit::registerWebViewWithInstance):
18748 (WebKit::WebView::WebView):
18749 (WebKit::WebView::~WebView):
18750 (WebKit::WebView::drawRect):
18752 * Spinneret/Spinneret/WebView.h:
18754 2006-03-01 Justin Garcia <justin.garcia@apple.com>
18758 Give the events that eventSender sends a unique eventNumber
18760 * DumpRenderTree/DumpRenderTree.m:
18761 (-[EventSendingController mouseDown]):
18762 (-[EventSendingController mouseUp]):
18763 (-[EventSendingController mouseMoveToX:Y:]):
18765 2006-03-01 Eric Seidel <eseidel@apple.com>
18769 Add a stub win32 application to test WebCore drawing on windows.
18771 * Spinneret: Added.
18772 * Spinneret/Spinneret: Added.
18773 * Spinneret/Spinneret.sln: Added.
18774 * Spinneret/Spinneret/Resource.h: Added.
18775 * Spinneret/Spinneret/Spinneret.cpp: Added.
18781 * Spinneret/Spinneret/Spinneret.h: Added.
18782 * Spinneret/Spinneret/Spinneret.ico: Added.
18783 * Spinneret/Spinneret/Spinneret.rc: Added.
18784 * Spinneret/Spinneret/Spinneret.vcproj: Added.
18785 * Spinneret/Spinneret/WebView.cpp: Added.
18786 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
18787 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
18788 (WebKit::registerWebViewWithInstance):
18789 (WebKit::WebView::createWebView):
18790 (WebKit::WebView::WebView):
18791 (WebKit::WebView::~WebView):
18792 (WebKit::WebView::drawRect):
18793 (WebKit::WebView::windowHandle):
18795 * Spinneret/Spinneret/WebView.h: Added.
18796 * Spinneret/Spinneret/small.ico: Added.
18797 * Spinneret/Spinneret/stdafx.cpp: Added.
18798 * Spinneret/Spinneret/stdafx.h: Added.
18800 2006-02-28 Eric Seidel <eseidel@apple.com>
18804 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18805 (main): add ability to dump render tree and read from a local file.
18807 2006-02-27 Eric Seidel <eseidel@apple.com>
18811 * Scripts/install-win-extras: fix dll permissions & download zlib too.
18813 2006-02-27 Eric Seidel <eseidel@apple.com>
18815 Reviewed by ggaren.
18817 Test new KConfig -> PlugInInfoStore change.
18818 http://bugs.webkit.org/show_bug.cgi?id=7498
18820 * DumpRenderTree/DumpRenderTree.m:
18821 (main): load test netscape plugin
18822 * Scripts/run-webkit-tests: style update
18824 2006-02-24 Eric Seidel <eseidel@apple.com>
18828 Make DumpRenderTree link against icu.
18830 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18832 2006-02-24 Eric Seidel <eseidel@apple.com>
18836 Make DumpRenderTree link against libxml, etc.
18838 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18840 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
18842 Reviewed and landed by Anders.
18844 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
18845 getting called from the run loop, making the view render each test and thus slowing
18848 * DumpRenderTree/DumpRenderTree.m:
18849 (main): Set the offscreen window to not autodisplay.
18851 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
18853 Reviewed by Darin Adler.
18855 - Turn http tests back on by default.
18856 - Wait for Apache to actually start serving requests.
18857 - Get user id from a built-in variable rather than an external command;
18858 don't pass the group.
18860 * Scripts/run-webkit-tests:
18862 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
18864 Suggested by Mitz Pettel, reviewed by Darin Adler.
18866 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
18867 can run CGIs even if the permissions are 700 or 600.
18869 2006-02-23 Darin Adler <darin@apple.com>
18871 Collaborating with Alexey.
18873 - turn off http tests by default until we figure out how to get them
18874 to run even when permissions on CGI files are 700 instead of 755
18876 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
18878 2006-02-23 Eric Seidel <eseidel@apple.com>
18880 Add *.user to ignore list.
18882 2006-02-23 Eric Seidel <eseidel@apple.com>
18884 Remove binary file which shouldn't have been commited (and add to ignore list).
18886 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
18887 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
18889 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
18893 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
18895 2006-02-22 Eric Seidel <eseidel@apple.com>
18897 Reviewed by Tim Hatcher.
18899 Fix install-win-extras to not try to re-install setx if installed.
18901 * Scripts/install-win-extras:
18903 2006-02-22 Eric Seidel <eseidel@apple.com>
18905 One more file possibly missing from previous commit?
18907 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
18908 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18910 2006-02-22 Eric Seidel <eseidel@apple.com>
18912 Reviewed by justing.
18914 Files missing from previous commit.
18916 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18917 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18919 2006-02-22 Eric Seidel <eseidel@apple.com>
18921 Rubber-stamped by justing.
18923 Corrected path for DumpRenderTree.intermediate files
18925 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18927 2006-02-22 Eric Seidel <eseidel@apple.com>
18929 Reviewed by justing.
18931 Fixed build-dumprendertree to exit with correct error codes.
18933 * Scripts/build-dumprendertree:
18935 2006-02-22 Eric Seidel <eseidel@apple.com>
18937 Reviewed by justing.
18939 Update build scripts to generalize building on Win32, and allow
18940 building of DumpRenderTree on Win32 from build-dumprendertree.
18942 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18944 * Scripts/build-dumprendertree:
18945 * Scripts/build-webkit:
18946 * Scripts/webkitdirs.pm:
18948 2006-02-22 Eric Seidel <eseidel@apple.com>
18952 * DumpRenderTree/DumpRenderTree.vcproj: Added.
18953 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
18954 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
18955 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
18956 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
18957 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
18959 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
18960 * Scripts/build-webkit: make build-webkit cleanup after itself
18962 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
18964 Reviewed by Darin Adler.
18966 - http://bugs.webkit.org/show_bug.cgi?id=7409
18967 Some minor fixes to http tests.
18969 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
18971 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
18973 Reviewed by Darin Adler.
18975 - http://bugs.webkit.org/show_bug.cgi?id=6197
18976 Would like to use locally installed Apache for testing.
18978 Added two run-webkit-tests options:
18979 --http (--nohttp) - whether to launch Apache (defaults to yes);
18980 --port - which port to listen on (defaults to 8000).
18982 Tests in LayoutTests/http are not run directly, and Apache is used instead.
18983 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
18984 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
18986 Also added support for .shtml and .text files. Text files give an empty
18987 *-expected.txt, but a correct image.
18989 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
18991 * Scripts/run-webkit-tests:
18993 2006-02-21 Darin Adler <darin@apple.com>
18995 Suggested by Mark Rowe.
18997 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
18998 reporting leak counts.
19000 2006-02-18 Maciej Stachowiak <mjs@apple.com>
19002 Reviewed by Darin Adler.
19004 - Added install-win-extras script which installs some extra
19005 programs and libraries, and does Windows first-time setup.
19007 * Scripts/build-webkit: Add a newline between build results.
19008 * Scripts/install-win-extras: Added.
19010 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
19012 Reviewed by Darin Adler.
19014 - http://bugs.webkit.org/show_bug.cgi?id=7308
19015 DumpRenderTree should be able to load files via HTTP
19017 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
19018 Handle tests starting with "http://" as real URLs, not file system paths.
19020 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
19022 Reviewed by Maciej.
19024 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
19025 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
19027 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
19029 2006-02-18 Darin Adler <darin@apple.com>
19031 * Scripts/commit-log-editor: Added.
19033 2006-02-17 Eric Seidel <eseidel@apple.com>
19037 Make Win32 have the same default "WebKitBuild" directory behavior.
19039 * Scripts/build-webkit:
19040 * Scripts/webkitdirs.pm:
19042 2006-02-17 Eric Seidel <eseidel@apple.com>
19046 * Scripts/build-webkit: make win32 actually report errors
19048 2006-02-17 Eric Seidel <eseidel@apple.com>
19052 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
19054 2006-02-17 Eric Seidel <eseidel@apple.com>
19058 * Scripts/run-webkit-tests: Ignore flash leaks
19060 2006-02-15 Justin Garcia <justin.garcia@apple.com>
19064 <http://bugs.webkit.org/show_bug.cgi?id=7148>
19065 Add drag and drop support to DumpRenderTree
19067 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
19068 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
19070 * DumpRenderTree/DumpRenderTree.m:
19072 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
19073 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
19074 (-[WaitUntilDoneDelegate webViewFocus:]):
19075 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19076 (+[LayoutTestController webScriptNameForSelector:]):
19077 (-[LayoutTestController setWindowIsKey:]):
19078 (-[LayoutTestController setMainFrameIsFirstResponder:]):
19079 (-[EventSendingController init]):
19080 (-[EventSendingController mouseDown]):
19081 (-[EventSendingController mouseUp]):
19082 (-[EventSendingController mouseMoveToX:Y:]):
19084 (-[DumpRenderTreeWindow isKeyWindow]):
19085 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
19086 (-[DumpRenderTreeDraggingInfo dealloc]):
19087 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
19088 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
19089 (-[DumpRenderTreeDraggingInfo draggingLocation]):
19090 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
19091 (-[DumpRenderTreeDraggingInfo draggedImage]):
19092 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
19093 (-[DumpRenderTreeDraggingInfo draggingSource]):
19094 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
19095 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
19096 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
19097 * DumpRenderTree/TextInputController.m:
19098 (-[TextInputController firstRectForCharactersFrom:length:]):
19099 (-[TextInputController characterIndexForPointX:Y:]):
19101 2006-02-15 Geoffrey Garen <ggaren@apple.com>
19105 * DumpRenderTree/DumpRenderTree.m:
19106 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
19107 Added a dummy method for the sake of LayoutTests/plugins/
19108 undefined-property-crash.html. (It tests a crash due to fallback
19109 object use. WebCore won't create a fallback object if the method is
19112 2006-02-14 Eric Seidel <eseidel@apple.com>
19116 * Scripts/run-webkit-tests: added --results-directory (-o) option
19118 2006-02-09 Eric Seidel <eseidel@apple.com>
19120 Rubber-stamped by mjs.
19122 Renamed split-class to split-file-by-class.
19124 * Scripts/build-webkit: Updated copyright.
19125 * Scripts/split-class: Removed.
19126 * Scripts/split-file-by-class: Added.
19128 2006-02-08 Eric Seidel <eseidel@apple.com>
19130 Rubber-stamped by mjs.
19132 Adding new script for splitting multi-class files.
19133 Also adding supporting perl module with space removing heuristics.
19135 * Scripts/SpacingHeuristics.pm: Added.
19136 * Scripts/build-drawtest: updated copyright header
19137 * Scripts/split-class: Added.
19139 2006-02-08 Justin Garcia <justin.garcia@apple.com>
19141 Reviewed by thatcher
19143 Changes to test fix for:
19144 <http://bugs.webkit.org/show_bug.cgi?id=3982>
19145 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
19147 * DumpRenderTree/DumpRenderTree.m:
19148 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
19149 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19150 (+[LayoutTestController webScriptNameForSelector:]):
19151 (-[LayoutTestController setWindowHasFocus:]):
19152 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
19154 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
19156 Reviewed by Timothy.
19158 Support automated testing of AppleScript "do JavaScript" command
19159 http://bugs.webkit.org/show_bug.cgi?id=7012
19161 * DumpRenderTree/AppleScriptController.h: Added.
19162 * DumpRenderTree/AppleScriptController.m: Added.
19163 * DumpRenderTree/DumpRenderTree.m:
19164 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19165 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19167 2006-02-06 Eric Seidel <eseidel@apple.com>
19171 Fix build-webkit for use on win32 (unblocks buildbot usage).
19172 http://bugs.webkit.org/show_bug.cgi?id=7122
19174 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
19175 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
19177 2006-02-06 Eric Seidel <eseidel@apple.com>
19179 Rubber-stamped by darin & mjs.
19181 Added new support directory for build slave scripts.
19182 Committing the first script, for use by the PLT's build slave.
19183 This script is used to kick of the PLT (Page Load Test) slave.
19185 * BuildSlaveSupport: Added.
19186 * BuildSlaveSupport/run-performance-tests: Added.
19188 2006-02-06 Eric Seidel <eseidel@apple.com>
19190 Rubber-stamped by darin.
19192 Adding setSourceDir for scripts stored in non-standard locations.
19194 * Scripts/webkitdirs.pm:
19196 2006-02-04 Darin Adler <darin@apple.com>
19198 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
19199 Configuration files that say Development or Deployment in them.
19201 2006-02-04 Darin Adler <darin@apple.com>
19203 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
19204 wrapper already in the directory.
19205 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
19206 these haven't been working at all.
19207 * Scripts/svn-unapply: Ditto.
19209 2006-02-03 Timothy Hatcher <timothy@apple.com>
19211 Reviewed by Justin.
19213 Renamed configuration names to Debug, Release and Production.
19215 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
19216 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19217 * Scripts/set-webkit-configuration:
19218 * Scripts/webkitdirs.pm:
19220 2006-02-02 Justin Garcia <justin.garcia@apple.com>
19222 Reviewed by thatcher
19224 Enabled spell checking for layout tests.
19226 * DumpRenderTree/DumpRenderTree.m:
19229 2006-01-29 Darin Adler <darin@apple.com>
19231 * Scripts/svn-apply: Added comments about things we should do to improve.
19232 * Scripts/svn-create-patch: Ditto.
19233 * Scripts/svn-unapply: Ditto.
19235 2006-01-28 Darin Adler <darin@apple.com>
19237 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
19238 already there, even if the checksum is correct.
19240 2006-01-27 Eric Seidel <eseidel@apple.com>
19244 * Scripts/run-webkit-tests: make new tests use absolute urls
19246 2006-01-27 Eric Seidel <eseidel@apple.com>
19250 make run-webkit-tests output total leaks count
19252 * Scripts/run-webkit-tests:
19254 2006-01-27 Eric Seidel <eseidel@apple.com>
19258 run-webkit-test --leaks crashes (malloc logging runs out of memory)
19259 http://bugs.webkit.org/show_bug.cgi?id=6869
19261 * Scripts/run-webkit-tests: fix --leaks to not crash
19263 2006-01-26 Eric Seidel <eseidel@apple.com>
19267 run-webkit-tests should produce a self-contained results directory
19268 http://bugs.webkit.org/show_bug.cgi?id=6864
19270 * Scripts/run-webkit-tests: copy failing items to results dir.
19272 2006-01-23 Darin Adler <darin@apple.com>
19274 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
19275 need script to update localizable strings file in WebKit
19277 * Scripts/update-webkit-localizable-strings: Added.
19279 2006-01-23 Darin Adler <darin@apple.com>
19281 - added a couple of scripts -- more about these two soon
19283 * Scripts/extract-localizable-strings: Added.
19284 * Scripts/merge-changelog: Added.
19286 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
19288 Reviewed by Anders.
19290 Build fix. build-webkit dies with "invalid build action: (empty string)"
19292 * Scripts/build-webkit:
19293 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
19295 2006-01-22 Eric Seidel <eseidel@apple.com>
19297 Reviewed by anders.
19299 Fix --no-svg option to use XCode flags instead of gcc flags.
19301 * Scripts/build-webkit:
19303 2006-01-22 Eric Seidel <eseidel@apple.com>
19305 Reviewed by anders.
19307 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
19309 * Scripts/build-webkit:
19311 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
19313 Reviewed by eseidel.
19315 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
19316 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
19318 * Scripts/build-drawtest: Changed bareword 'true' to 1.
19319 * Scripts/run-drawtest: Changed bareword 'true' to 1.
19321 2006-01-19 Darin Adler <darin@apple.com>
19323 * Scripts/report-include-statistics: Added a new script.
19325 2006-01-19 Timothy Hatcher <timothy@apple.com>
19327 * Scripts/build-webkit: include JavaScriptGlue in the build
19329 2006-01-19 Darin Adler <darin@apple.com>
19331 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
19332 spaces in it by using the form of open that treats each argument as a string
19333 rather than backtick syntax for reading the output of the nm tool.
19335 2006-01-12 Maciej Stachowiak <mjs@apple.com>
19337 Reviewed by Darin Adler.
19339 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
19340 detect if there are any new tests
19342 * Scripts/prepare-ChangeLog:
19344 2006-01-12 Darin Adler <darin@apple.com>
19346 - removed some of the cvs-specific scripts -- not needed for this project any more
19348 * Scripts/cvs-abandon: Removed.
19349 * Scripts/cvs-apply: Removed.
19350 * Scripts/cvs-create-patch: Removed.
19351 * Scripts/cvs-unapply: Removed.
19353 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
19355 Reviewed by eseidel. Committed by eseidel.
19357 - run-webkit-tests always launches Safari when tests fail
19358 http://bugs.webkit.org/show_bug.cgi?id=6456
19360 * Scripts/run-webkit-tests:
19361 Add a command-line flag to prevent Safari being launched to display failed
19362 tests. Always exit with non-zero status when tests have failed.
19364 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
19366 Reviewed by eseidel. Committed by eseidel.
19368 - build-webkit should exit with non-zero status when build fails
19369 http://bugs.webkit.org/show_bug.cgi?id=6459
19371 * Scripts/build-webkit:
19372 Use correct bits of subprocess exit code when passing back through
19373 as build-webkit's exit code.
19375 2006-01-10 Eric Seidel <eseidel@apple.com>
19377 Restored corrupted nibs from TOT CVS.
19379 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
19380 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
19381 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
19382 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
19383 * DrawTest/English.lproj/Inspector.nib: Replaced.
19384 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
19385 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
19386 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
19387 * DrawTest/English.lproj/MainMenu.nib: Replaced.
19388 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
19389 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
19390 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
19391 * DrawTest/English.lproj/TestViewer.nib: Replaced.
19392 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
19393 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
19394 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
19396 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
19398 Reviewed by eseidel. Committed by eseidel.
19400 DrawTestView now subclasses WebView instead of DrawView.
19402 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
19403 * DrawTest/DrawTestDocument.h:
19404 * DrawTest/DrawTestDocument.m:
19405 (-[DrawTestDocument dealloc]):
19406 (-[DrawTestDocument readFromFile:ofType:]):
19407 (-[DrawTestDocument windowControllerDidLoadNib:]):
19408 (-[DrawTestDocument dumpSVGToConsole:]):
19409 (-[DrawTestDocument openSourceForSelection:]):
19410 (-[DrawTestDocument dataRepresentationOfType:]):
19411 * DrawTest/DrawTestToolbarController.h:
19412 * DrawTest/DrawTestToolbarController.m:
19413 (-[DrawTestToolbarController initWithDrawView:]):
19414 (-[DrawTestToolbarController clickedToolbarItem:]):
19415 (-[DrawTestToolbarController validateToolbarItem:]):
19416 * DrawTest/DrawTestView.h:
19417 * DrawTest/DrawTestView.m:
19418 (-[DrawTestView initWithFrame:]):
19419 (-[DrawTestView setDocument:]):
19420 * DrawTest/SVGTest.h:
19421 * DrawTest/SVGTest.m:
19422 (+[SVGTest sharedDrawView]):
19423 (-[SVGTest generateCompositeIfNecessary]):
19424 * DrawTest/TestController.h:
19425 * DrawTest/TestController.m:
19426 (-[TestController awakeFromNib]):
19427 (-[TestController setSelectedTest:]):
19428 (-[TestController openTestViewerForSelection:]):
19429 (-[TestController toggleViewersScaleRule:]):
19430 * DrawTest/TestViewerSplitView.m:
19431 (-[TestViewerSplitView drawRect:]):
19433 2006-01-10 Anders Carlsson <andersca@mac.com>
19435 Reviewed by Timothy.
19437 * DumpRenderTree/DumpRenderTree.m:
19438 (main): Set the default language to "en", so language tests will work.
19440 2006-01-08 Maciej Stachowiak <mjs@apple.com>
19444 - script to generate HTML wrappers for JS tests
19445 http://bugs.webkit.org/show_bug.cgi?id=6441
19447 * Scripts/make-js-test-wrappers: Added.
19449 2006-01-08 Maciej Stachowiak <mjs@apple.com>
19453 * Scripts/svn-create-patch: Fix to work when passed directory names.
19455 2006-01-08 Geoffrey Garen <ggaren@apple.com>
19459 - Added back/forward navigation support to DumpRenderTree. Hopefully we
19460 can start writing automated loader tests now. I have one in the works.
19462 * DumpRenderTree/DumpRenderTree.m:
19463 (main): Construct global navigationController on entry, destroy on exit.
19464 Set frame to nil on exit too, to match all the other global objects.
19465 (Probably academic, since the process is exiting, anyway.)
19466 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
19467 navigationController, in case it wants to kick off a load.
19468 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
19469 the navigationController to scripting.
19471 New class, should be straightforward:
19473 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19474 * DumpRenderTree/NavigationController.h: Added.
19475 * DumpRenderTree/NavigationController.m: Added.
19477 (+[NavigationController isSelectorExcludedFromWebScript:]):
19478 (+[NavigationController webScriptNameForSelector:]):
19479 (-[NavigationController setPendingScript:]):
19480 (-[NavigationController setPendingRequest:]):
19481 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
19482 (-[NavigationController webView:didFinishLoadForFrame:]):
19483 (-[NavigationController dealloc]):
19485 2006-01-08 Timothy Hatcher <timothy@apple.com>
19487 Removed this script, no longer needs with the Subversion switch.
19489 * checkout: Removed.
19491 2006-01-08 Timothy Hatcher <timothy@apple.com>
19493 Removes some stray tabs.
19495 * Scripts/update-webkit:
19497 2005-01-07 Eric Seidel <eseidel@apple.com>
19501 build-webkit should pass on build arguments from command line
19502 http://bugs.webkit.org/show_bug.cgi?id=5854
19504 * Scripts/build-webkit:
19506 2006-01-07 Eric Seidel <eseidel@apple.com>
19508 Reviewed by mjs & xenon.
19510 * Scripts/update-webkit: support Internal updates as well
19512 2006-01-06 Geoffrey Garen <ggaren@apple.com>
19514 Temporarily rolling out plugin support from DumpRenderTree because it
19515 caused lots of layout test regressions.
19517 * DumpRenderTree/DumpRenderTree.m:
19518 (main): Remove invisible window added to support plugins.
19520 2006-01-06 Geoffrey Garen <ggaren@apple.com>
19524 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
19525 Add plugin support to DumpRenderTree
19527 Also wrote first test plugin.
19529 * DumpRenderTree/DumpRenderTree.m:
19531 (1) Put the WebView in an invisible window, because PlugIns are
19532 optimized not to load if there's no parent window.
19533 (2) Tell WebKit to load any PlugIns in the directory from which we
19534 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
19535 and they'll load automagically during layout testing, but they won't be
19536 added to the user's system, hosing apps like Safari.
19538 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
19539 test PlugIn to project.
19541 PlugIn added to project:
19543 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
19544 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
19546 (initializeIdentifiers):
19547 (pluginHasProperty):
19549 (pluginGetProperty):
19550 (pluginSetProperty):
19552 (pluginInvokeDefault):
19553 (pluginInvalidate):
19555 (pluginDeallocate):
19556 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
19557 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
19559 (NP_GetEntryPoints):
19565 (NPP_DestroyStream):
19568 (NPP_StreamAsFile):
19575 2006-01-04 Timothy Hatcher <timothy@apple.com>
19577 Reviewed by Darin Adler.
19579 Tweaked and tested by me.
19581 New scripts to work with Subversion when the switch happens.
19582 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
19584 * Scripts/svn-apply: Added.
19585 * Scripts/svn-create-patch: Added.
19586 * Scripts/svn-unapply: Added.
19588 2005-12-30 Eric Seidel <eseidel@apple.com>
19592 Move WebView width/height logic into DumpRenderTree to support
19593 running the W3C SVG 1.1 tests along side other tests. The W3C
19594 SVG 1.1 tests require a 480x360 view.
19596 * DumpRenderTree/DumpRenderTree.m:
19597 (main): don't accept width/height
19598 (dump): override width/height for SVG/W3C
19599 * Scripts/run-webkit-tests: don't pass width/height
19601 2005-12-30 Eric Seidel <eseidel@apple.com>
19603 No review, only removing dead code.
19605 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
19606 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
19608 2005-12-30 Eric Seidel <eseidel@apple.com>
19612 DumpRenderTree should set a consistent color profile while running
19613 http://bugs.webkit.org/show_bug.cgi?id=6155
19615 Creates consistent colormatched renderings on every test machine
19616 using the only way possible with Tiger APIs: by setting the
19617 system color profile on the test machine for the duration of the
19618 tests. This will (unfortunately) cause colors to change while
19619 running DumpRenderTree. This can also cause "permanent" color
19620 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
19621 This is far from ideal, but it's be best way we've found to deal
19622 with the issue for now.
19624 * DumpRenderTree/DumpRenderTree.m:
19625 (restoreColorSpace):
19626 (setDefaultColorProfileToRGB):
19629 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
19631 Reviewed by Darin Adler.
19633 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
19634 cvs-create-patch --include produces incorrect paths
19636 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
19638 2005-12-19 Eric Seidel <eseidel@apple.com>
19642 * Scripts/run-webkit-tests: stop /etc/catalog warnings
19644 2005-12-19 Darin Adler <darin@apple.com>
19646 Reviewed by Eric Seidel.
19648 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
19649 WebKit needs to use a local pasteboard during testing
19651 * DumpRenderTree/DumpRenderTree.m:
19652 (main): Call poseAs to substitute our NSPasteboard class for the default one.
19653 Create a local pasteboard (really a global one with a unique name) and release
19654 it when exiting from the function so we don't leave it in the pasteboard server.
19655 (dumpRenderTree): Added an autorelease pool around one small bit of code that
19656 ddn't have one. Fixed a leak in an unlikely error case.
19657 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
19658 of this method to return our local pasteboard.
19660 2005-12-15 Eric Seidel <eseidel@apple.com>
19662 Reviewed by Tim Hatcher.
19664 * Scripts/build-webkit: --svg is now default!
19666 2005-12-15 Eric Seidel <eseidel@apple.com>
19670 Don't run svg test automatically if +SVG is built (yet).
19672 * Scripts/run-webkit-tests:
19674 2005-12-15 Darin Adler <darin@apple.com>
19676 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
19677 support is not compiled in. Report the 10 slowest tests if "--slowest" is
19678 passed on the command line.
19680 2005-12-06 John Sullivan <sullivan@apple.com>
19682 Reviewed by Darin Adler.
19684 * Scripts/prepare-ChangeLog:
19685 Remove special-case handling for nib files. This avoided trouble with cvs diff
19686 when we were using wrappers for nib files. Now that we aren't using wrappers,
19687 there's no reason to avoid adding the modified nib files to the file list that
19690 2005-12-05 Eric Seidel <eseidel@apple.com>
19694 Script updates for SVG files move (remove references to SVGSupport)
19696 * Scripts/build-webkit: remove SVGSupport
19697 * Scripts/run-webkit-tests: Resources -> resources for --svg
19698 * Scripts/update-webkit: remove SVGSupport
19700 2005-12-05 Eric Seidel <eseidel@apple.com>
19704 * checkout: remove --svg support, SVG is now checked out by default
19706 2005-11-29 Eric Seidel <eseidel@apple.com>
19710 Update scripts to run SVG tests automatically (w/o --svg) if
19711 WebCore is built with SVG support.
19713 * Scripts/build-drawtest: SVG support required
19714 * Scripts/build-dumpkcanvastree: Removed.
19715 * Scripts/run-drawtest: SVG support required to run
19716 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
19717 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
19719 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
19721 Reviewed by Darin Adler. Committed by Maciej.
19723 - fixed "DumpRenderTree should test for Ahem before doing anything else"
19724 (http://bugs.webkit.org/show_bug.cgi?id=5838)
19726 * DumpRenderTree/DumpRenderTree.m:
19729 2005-11-28 Eric Seidel <eseidel@apple.com>
19731 Reviewed by sullivan and GGAREN.
19733 Minor additions to make error messages more clear from cvs-apply.
19735 * Scripts/cvs-apply: make errors more clear
19737 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
19739 Reviewed and committed by Maciej.
19741 - fixed cvs-create-patch --include produces incorrect paths
19742 (http://bugs.webkit.org/show_bug.cgi?id=5846)
19744 * Scripts/cvs-create-patch: produce proper paths for new files.
19746 2005-11-21 Eric Seidel <eseidel@apple.com>
19750 Some simple fixes to the build/test scripts now that SVG uses the
19751 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
19752 or symlinks for KDOM.
19754 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
19755 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
19756 * Scripts/run-webkit-tests: now runs SVG tests using DRT
19757 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
19758 * checkout: no longer symlink kdom
19760 2005-11-10 Eric Seidel <eseidel@apple.com>
19762 Reviewed by ggaren.
19764 * Scripts/build-webkit: Pass through options to xcodebuild
19766 2005-11-07 Darin Adler <darin@apple.com>
19768 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
19770 2005-11-03 John Sullivan <sullivan@apple.com>
19772 Reviewed by Darin Adler.
19774 * Scripts/run-safari:
19775 changed message to say "Starting Safari" instead of odd "Start Safari"
19776 * Scripts/run-webkit-tests:
19777 changed the way we pass the file parameter to use -NSOpen rather than relying on
19778 unlabeled arguments being treated as files. This was failing on some machines that
19779 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
19781 2005-10-27 Geoffrey Garen <ggaren@apple.com>
19783 Patch by Alexey Proskuryakov.
19785 Reviewed by Maciej.
19787 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
19788 TextInputController should support attributed strings
19790 * DumpRenderTree/TextInputController.m:
19791 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
19792 (+[NSMutableAttributedString webScriptNameForSelector:]):
19793 (-[NSMutableAttributedString getLength]):
19794 (-[NSMutableAttributedString attributeNamesAtIndex:]):
19795 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
19796 (-[NSMutableAttributedString addAttribute:value:]):
19797 (-[NSMutableAttributedString addAttribute:value:from:length:]):
19798 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
19799 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
19800 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
19801 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
19802 (+[TextInputController isSelectorExcludedFromWebScript:]):
19803 (+[TextInputController webScriptNameForSelector:]):
19804 (-[TextInputController insertText:]):
19805 (-[TextInputController attributedSubstringFrom:length:]):
19806 (-[TextInputController attributedStringWithString:]):
19808 2005-10-11 Eric Seidel <eseidel@apple.com>
19812 Checks for leaks in ImageDiff too.
19814 * Scripts/run-webkit-tests:
19816 2005-10-09 Darin Adler <darin@apple.com>
19818 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
19819 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
19820 * Scripts/cvs-unapply: Ditto.
19821 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
19823 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
19825 Reviewed, rearranged and landed by Darin Adler.
19827 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
19828 Need a way to automatically test for regressions in NSTextInput implementation
19830 * DumpRenderTree/DumpRenderTree.m:
19831 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19832 Create a text input controller and put it in a property of the window object.
19834 * DumpRenderTree/TextInputController.h: Added.
19835 * DumpRenderTree/TextInputController.m: Added.
19836 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
19838 2005-10-06 Darin Adler <darin@apple.com>
19840 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
19841 are controlled by cvs, or when changes cross multiple repositories.
19842 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
19844 2005-10-03 Eric Seidel <eseidel@apple.com>
19848 Make mouseDown and mouseUp force layout before acting.
19849 This is used by a new test case for 4233558.
19851 * DumpRenderTree/DumpRenderTree.m:
19852 (-[EventSendingController mouseDown]): force layout
19853 (-[EventSendingController mouseUp]): force layout
19855 2005-09-30 Eric Seidel <eseidel@apple.com>
19859 Updated all the scripts for the move:
19860 WebCore/layout-tests -> LayoutTests
19862 * Scripts/check-dom-results:
19863 * Scripts/prepare-ChangeLog:
19864 * Scripts/run-webkit-tests:
19865 * Scripts/update-webkit: added --no-tests
19866 * checkout: added --no-tests
19868 2005-09-28 Darin Adler <darin@apple.com>
19870 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
19871 pixel test should run even if render trees differ
19873 * Scripts/run-webkit-tests: Don't check if the text dump matches.
19875 2005-09-27 Eric Seidel <eseidel@apple.com>
19877 No review needed, SVG build fix only.
19879 * DumpKCanvasTree/DumpKCanvasTree.m:
19880 Missed one in my previous checkin.
19881 http://bugs.webkit.org/show_bug.cgi?id=5141
19883 2005-09-26 Eric Seidel <eseidel@apple.com>
19885 No review needed, SVG build fix only.
19887 * DrawTest/DrawTestDocument.m:
19888 * DrawTest/DrawTestToolbarController.m:
19889 * DrawTest/DrawTestView.h:
19890 * DrawTest/DrawTestView.m:
19891 * DrawTest/SVGTest.m:
19892 * DrawTest/TestController.m:
19893 Updated for WebCore+SVG -> WebCore rename.
19894 http://bugs.webkit.org/show_bug.cgi?id=5141
19896 2005-09-26 Eric Seidel <eseidel@apple.com>
19900 * DumpRenderTree/DumpRenderTree.m:
19901 (dump): updated error message
19902 * Scripts/check-dom-results: now includes xhtml
19903 Tool updates for xhtml.
19904 http://bugs.webkit.org/show_bug.cgi?id=4907
19906 2005-09-22 Duncan Wilcox <duncan@mclink.it>
19908 Reviewed by Maciej.
19909 Landed by Darin Adler.
19911 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
19912 "Would like to simulate human interaction with webview"
19914 * DumpRenderTree/DumpRenderTree.m:
19915 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19916 (+[EventSendingController isSelectorExcludedFromWebScript:]):
19917 (+[EventSendingController webScriptNameForSelector:]):
19918 (-[EventSendingController init]):
19919 (-[EventSendingController mouseDown]):
19920 (-[EventSendingController mouseUp]):
19921 (-[EventSendingController mouseMoveToX:Y:]):
19922 Add eventSender javascript object, that sends fake mouse events to the webview.
19924 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19925 link with Carbon.framework
19927 2005-09-22 Eric Seidel <eseidel@apple.com>
19931 Update tools for WebCore+SVG -> WebCore rename.
19932 Also fold several SVG specific tools into their original
19933 WebCore counterparts.
19934 http://bugs.webkit.org/show_bug.cgi?id=5003
19936 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
19937 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
19938 * Scripts/build-drawtest:
19939 * Scripts/build-dumpkcanvastree:
19940 * Scripts/build-webcore-svg: Removed.
19941 * Scripts/build-webkit: added --svg option
19942 * Scripts/run-drawtest:
19943 * Scripts/run-webkit-tests:
19944 * Scripts/webkitdirs.pm: various additions.
19945 * checkout: added --svg option
19946 * checkout-svg: Removed.
19948 2005-09-19 Eric Seidel <eseidel@apple.com>
19952 * Scripts/run-webkit-tests: added --guard-malloc option
19953 http://bugs.webkit.org/show_bug.cgi?id=4613
19955 2005-09-16 Justin Garcia <justin.garcia@apple.com>
19959 Removed a script that is only used by apple internal developers
19961 * Scripts/update-webkitsysteminterface: Removed.
19963 2005-09-16 Adele Peterson <adele@apple.com>
19965 Reviewed by Maciej.
19967 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
19969 2005-09-14 Darin Adler <darin@apple.com>
19971 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
19972 dumpAsText doesn't work with XHTML documents
19974 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
19975 rather than of the body element. This works with typical XHTML documents. We can probably
19976 do something even better in the long run, but this fixes the immediate issue.
19980 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
19981 run-safari instead of just using "open", which often runs another copy of Safari instead.
19983 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
19985 Reviewed, tweaked, and landed by Darin Adler.
19987 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
19988 .Mac prefpane crashes when Safari using CVS WebKit is running
19990 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
19991 * Scripts/run-webkit-app: Ditto.
19993 2005-09-11 Darin Adler <darin@apple.com>
19995 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
19997 2005-09-11 Darin Adler <darin@apple.com>
20001 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
20002 two ways: 1) puts all files in a directory before any files in a subdirectory, and
20003 2) sort file names with numeric digits in them in a logical way, so test-33 will come
20006 2005-09-08 Justin Garcia <justin.garcia@apple.com>
20010 * Scripts/update-webkitsysteminterface: Added.
20011 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
20013 2005-09-01 John Sullivan <sullivan@apple.com>
20015 * Scripts/run-webkit-tests:
20016 Excluded a known system leak to reduce noise; added comments about which leaks
20017 are being excluded.
20019 2005-09-01 Tim Omernick <tomernick@apple.com>
20021 Change made by Darin, reviewed by John and myself.
20023 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
20025 * Scripts/prepare-ChangeLog:
20027 2005-08-31 Maciej Stachowiak <mjs@apple.com>
20029 Reviewed by Darin Adler.
20031 - set color variant and font settings to a consistent value.
20032 (http://bugs.webkit.org/show_bug.cgi?id=4769)
20034 * DumpRenderTree/DumpRenderTree.m:
20037 2005-08-30 Eric Seidel <eseidel@apple.com>
20041 * Scripts/build-svg2png: Removed.
20042 * svg2png/ImageDiff.h: Removed.
20043 * svg2png/ImageDiff.m: Removed.
20044 * svg2png/svg2png.m: Removed.
20045 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
20046 * svg2png/svg2png_Prefix.pch: Removed.
20047 svg2png is no longer needed.
20049 2005-08-30 Darin Adler <darin@apple.com>
20051 * Scripts/check-dom-results: Special case 100% to say something nice.
20052 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
20053 applying the patch (need a better name).
20054 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
20056 2005-08-30 Darin Adler <darin@apple.com>
20058 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
20060 2005-08-29 Maciej Stachowiak <mjs@apple.com>
20062 Reviewed by Darin Adler.
20064 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
20065 (some pixel tests fail when AA settings are changed)
20067 * DumpRenderTree/DumpRenderTree.m:
20068 (main): set AA settings to the default values
20070 2005-08-29 Darin Adler <darin@apple.com>
20072 Reviewed by John Sullivan.
20074 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
20075 executable -- much slower but can help pinpoint leaks. Changed formatting of some
20078 2005-08-28 Maciej Stachowiak <mjs@apple.com>
20082 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
20083 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
20085 * DumpRenderTree/DumpRenderTree.m:
20086 (main): set scrollbar arrow setting to a consistent value
20088 2005-08-27 Jussi Hagman <juhagman@abo.fi>
20090 Reviewed and landed by Darin Adler.
20092 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
20093 output of update-webkit is too verbose
20095 * Scripts/update-webkit:
20096 Added option --quiet (-q) to decrease the amount of output.
20098 2005-08-27 Darin Adler <darin@apple.com>
20100 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
20101 cvs-create-patch --include-unknowns should ignore hidden files
20103 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
20105 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
20107 Reviewed, tweaked, and landed by Darin Adler.
20109 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
20110 update-webkit doesn't notice when you have SVGSupport and update properly
20112 * Scripts/update-webkit: Build SVGSupport directory if it's present.
20114 2005-08-25 Anders Carlsson <andersca@mac.com>
20116 Reviewed and landed by Darin Adler.
20118 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
20119 layout test machinery can't handle tests with applets that have code attributes
20121 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
20123 2005-08-24 Darin Adler <darin@apple.com>
20125 Reviewed by Maciej.
20127 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
20128 DumpRenderTree --pixel-tests crash
20129 - landed some other small changes I had sitting in my tree
20131 * DumpRenderTree/DumpRenderTree.m:
20132 (main): Don't bother saving and restoring the preferences. Not sure
20133 why this was ever done since the preferences are specific to DumpRenderTree.
20134 Clear delegates before releasing the WebView, because you can't count on the
20135 order of object deallocation.
20136 (dumpRenderTree): Fix code that releases a string before storing it in a
20139 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
20140 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
20142 2005-08-23 Eric Seidel <eseidel@apple.com>
20146 * Scripts/run-webkit-tests:
20147 Made --leaks option more readable by printing to a file.
20148 http://bugs.webkit.org/show_bug.cgi?id=4590
20150 2005-08-22 Eric Seidel <eseidel@apple.com>
20151 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
20155 * Scripts/run-webkit-tests: hides "expected actual diffs" links
20156 when they are not needed (for pixel-only failures)
20157 http://bugs.webkit.org/show_bug.cgi?id=4584
20159 2005-08-22 Eric Seidel <eseidel@apple.com>
20163 * Scripts/run-webkit-tests: Added the ability to display more than
20164 just two images as part of the image-diff "slideshow".
20165 Added display of "-w3c.png" baseline images for SVG.
20166 http://bugs.webkit.org/show_bug.cgi?id=4581
20168 2005-08-20 Eric Seidel <eseidel@apple.com>
20170 * Scripts/run-webkit-tests:
20171 "build" fix after committing incorrect version.
20173 2005-08-20 Eric Seidel <eseidel@apple.com>
20177 * DumpRenderTree/DumpRenderTree.m:
20178 (main): cleans up delegates
20179 (dumpRenderTree): closes CFString/CFURL leak
20180 * Scripts/run-webkit-tests:
20181 Adds --leaks option to run-webkit-tests
20182 http://bugs.webkit.org/show_bug.cgi?id=4542
20184 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
20186 Reviewed by Darin Adler.
20188 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
20189 new files to be included in the patch even without "cvs add".
20191 2005-08-19 Darin Adler <darin@apple.com>
20193 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
20194 non-cvs-generated patches. Anders has been creating these, so it's bad that
20195 the script can't handle them.
20196 * Scripts/cvs-unapply: Ditto.
20198 2005-08-18 Darin Adler <darin@apple.com>
20200 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
20201 "." in them -- based on complaint by someone here at Apple.
20203 2005-08-18 Eric Seidel <eseidel@apple.com>
20207 * Scripts/run-webkit-tests:
20208 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
20210 2005-08-17 Maciej Stachowiak <mjs@apple.com>
20212 - add file that I forgot in the last checkin
20214 * DumpRenderTree/ImageDiff.m: Added.
20216 (getImageFromStdin):
20218 (getDifferenceBitmap):
20219 (computePercentageDifferent):
20221 2005-08-17 Maciej Stachowiak <mjs@apple.com>
20223 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
20224 somewhat by me, and also tweaked by me a little bit.
20226 - better support for pixel-dumping
20227 - use checksums of the images so the tests are fast
20228 - change output format to make the tests run faster
20229 - don't dump pixel results for tests that dump as text
20231 * DumpKCanvasTree/DumpKCanvasTree.m:
20234 (md5HashStringForBitmap):
20236 (constrainSizeToMaximum):
20237 (getBitmapImageRepForSVGDocument):
20238 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
20239 * DumpRenderTree/DumpRenderTree.m:
20243 (md5HashStringForBitmap):
20244 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20245 * Scripts/run-webkit-tests:
20247 2005-08-17 Maciej Stachowiak <mjs@apple.com>
20249 Reviewed by Darin Adler.
20251 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
20253 * DumpRenderTree/DumpRenderTree.m:
20256 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
20258 Reviewed and landed by Darin Adler.
20260 - fixed http://bugs.webkit.org/show_bug.cgi?id=4251
20261 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
20263 * Scripts/run-safari: Pass arguments through to Safari on command line.
20264 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
20266 2005-08-11 Eric Seidel <eseidel@apple.com>
20267 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
20269 Reviewed by eseidel.
20271 * DrawTest/TestController.m:
20272 (-[TestController imagePathForSVGPath:]):
20273 Fixed support for using TextViewer with the layout-tests.
20274 http://bugs.webkit.org/show_bug.cgi?id=4385
20276 2005-08-11 Maciej Stachowiak <mjs@apple.com>
20278 At Least Roughly Glanced At by Anders.
20280 - fix change with totally breaks the layout tests.
20282 * DumpRenderTree/DumpRenderTree.m:
20283 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
20284 load, to avoid dumping twice accidentally.
20286 2005-08-10 Eric Seidel <eseidel@apple.com>
20287 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
20291 * DumpRenderTree/DumpRenderTree.m:
20292 Added support for rendering to a PNG file.
20293 http://bugs.webkit.org/show_bug.cgi?id=3840
20295 2005-08-07 Eric Seidel <eseidel@apple.com>
20299 * Scripts/run-webkit-tests: added --svg option
20300 * Scripts/run-webkit-tests-svg: Removed.
20301 http://bugs.webkit.org/show_bug.cgi?id=4300
20303 2005-08-07 Eric Seidel <eseidel@apple.com>
20304 Changes by Ben La Monica <ben.lamonica@gmail.com>
20308 * svg2png/ImageDiff.h: Added.
20309 * svg2png/ImageDiff.m: Added.
20310 (getDifferenceBitmap):
20311 (computePercentageDifferent):
20312 (saveAnimatedGIFToFile):
20313 * svg2png/svg2png.m:
20314 (usage): added several new options
20315 (getBitmapForSVG): added NSBitmapImageRep generation
20316 (main): various argument changes.
20317 * svg2png/svg2png.xcodeproj/project.pbxproj:
20318 Several additions to provide image differencing functionality.
20319 http://bugs.webkit.org/show_bug.cgi?id=4193
20321 2005-08-07 Eric Seidel <eseidel@apple.com>
20325 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
20326 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
20327 Adding the first SVG layout tests:
20328 http://bugs.webkit.org/show_bug.cgi?id=4303
20330 2005-08-07 Darin Adler <darin@apple.com>
20332 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
20334 2005-08-06 Eric Seidel <eseidel@apple.com>
20338 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
20339 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
20340 * Scripts/build-dumpkcanvastree: Added.
20341 * Scripts/run-webkit-tests-svg: Added.
20342 Adds a DumpRenderTree-like tool for SVG which allows us to do
20343 text-based layout regression testing. This (like most of the
20344 SVG specific stuff) is temporary and will be replaced by
20345 DumpRenderTree once the DOMs and RenderTrees merge.
20346 http://bugs.webkit.org/show_bug.cgi?id=3917
20348 2005-08-06 Eric Seidel <eseidel@apple.com>
20352 * DrawTest/DrawTestView.m:
20353 (-[DrawTestView toggleFilterSupport:]): missing negation.
20354 One half of fix for toggling filter support.
20355 http://bugs.webkit.org/show_bug.cgi?id=4252
20357 2005-08-04 Eric Seidel <eseidel@apple.com>
20361 * Scripts/build-drawtest:
20362 * Scripts/build-dumprendertree:
20363 * Scripts/build-svg2png:
20364 * Scripts/build-webcore-svg:
20365 * Scripts/build-webkit:
20366 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
20367 Added checkRequiredSystemConfig and made all the build-* scripts
20368 use it to print a pretty warning when trying to compile on an
20369 unsupported system (less than 10.4, Xcode 2.1).
20370 http://bugs.webkit.org/show_bug.cgi?id=4280
20372 2005-08-04 Darin Adler <darin@apple.com>
20374 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
20375 the dead. It was removed by accident when someone was trying to work on the branch.
20377 2005-07-31 Darin Adler <darin@apple.com>
20379 - a little tools cleanup
20381 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
20382 project as a whole. Removed unused Default configuration.
20384 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
20386 2005-07-31 Duncan Wilcox <duncan@mclink.it>
20388 Reviewed and landed by Darin Adler.
20390 Add logging of editing delegate calls for regression checking.
20392 * DumpRenderTree/DumpRenderTree.m:
20394 setup editing delegate
20396 (-[DOMNode dumpPath]):
20397 (-[DOMRange dump]):
20398 utility for editing delegate logging
20400 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
20401 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
20402 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
20403 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
20404 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
20405 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
20406 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
20407 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
20408 (-[EditingDelegate webViewDidBeginEditing:]):
20409 (-[EditingDelegate webViewDidChange:]):
20410 (-[EditingDelegate webViewDidEndEditing:]):
20411 (-[EditingDelegate webViewDidChangeTypingStyle:]):
20412 log corresponding editing delegate methods
20414 (-[EditingDelegate webViewDidChangeSelection:]):
20415 log selection except when clearing selection after end of test (uses existing "done" flag)
20418 added clearing of selection after test
20420 2005-07-31 Eric Seidel <eseidel@apple.com>
20424 * Scripts/build-drawtest: Added.
20425 * Scripts/build-svg2png: Added.
20426 * Scripts/build-webcore-svg: Added.
20427 * Scripts/run-drawtest: Added.
20428 * Scripts/webkitdirs.pm: added checkSVGFrameworks
20429 Made it much easier to build WebCore+SVG.
20430 http://bugs.webkit.org/show_bug.cgi?id=4208
20432 2005-07-29 Eric Seidel <eseidel@apple.com>
20436 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
20437 Build fix. Removed bad path.
20439 2005-07-29 Eric Seidel <eseidel@apple.com>
20441 Reviewed by sullivan.
20443 * DrawTest/AppDelegate.h: Added.
20444 * DrawTest/AppDelegate.m: Added.
20445 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
20446 * DrawTest/DrawTestDocument.h: Added.
20447 * DrawTest/DrawTestDocument.m: Added.
20448 * DrawTest/DrawTestInspectorController.h: Added.
20449 * DrawTest/DrawTestInspectorController.m: Added.
20450 * DrawTest/DrawTestToolbarController.h: Added.
20451 * DrawTest/DrawTestToolbarController.m: Added.
20452 * DrawTest/DrawTestView.h: Added.
20453 * DrawTest/DrawTestView.m: Added.
20454 * DrawTest/DrawTest_Prefix.pch: Added.
20455 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
20456 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
20457 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
20458 * DrawTest/English.lproj/InfoPlist.strings: Added.
20459 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
20460 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
20461 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
20462 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
20463 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
20464 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
20465 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
20466 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
20467 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
20468 * DrawTest/Info.plist: Added.
20469 * DrawTest/SVGTest.h: Added.
20470 * DrawTest/SVGTest.m: Added.
20471 * DrawTest/ScalingImageView.h: Added.
20472 * DrawTest/ScalingImageView.m: Added.
20473 * DrawTest/TestController.h: Added.
20474 * DrawTest/TestController.m: Added.
20475 * DrawTest/TestViewerSplitView.h: Added.
20476 * DrawTest/TestViewerSplitView.m: Added.
20477 * DrawTest/main.m: Added.
20478 Adding simple cocoa app for testing SVG rendering, interaction.
20479 http://bugs.webkit.org/show_bug.cgi?id=4157
20481 2005-07-28 Eric Seidel <eseidel@apple.com>
20483 Reviewed by ggaren.
20485 * svg2png/svg2png.m: Added.
20486 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
20487 * svg2png/svg2png_Prefix.pch: Added.
20488 Added a simple test tool which dumps a PNG from an SVG using
20489 WebCore+SVG's SVG rendering support.
20490 http://bugs.webkit.org/show_bug.cgi?id=4156
20492 2005-07-26 Maciej Stachowiak <mjs@apple.com>
20494 Reviewed by Darin Adler.
20496 - new script to review the DOM layout test results and see where we stand
20497 on actual success and failure
20499 * Scripts/check-dom-results: Added.
20501 2005-07-25 Darin Adler <darin@apple.com>
20503 * Scripts/webkitdirs.pm: Check in missing line of code.
20505 2005-07-25 Darin Adler <darin@apple.com>
20507 - fixed problem that was causing JavaScriptCore test to fail
20508 (except for people who had set DYLD_FRAMEWORK_PATH)
20510 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
20511 Add code to parse configuration parameter so you can pass --deployment if you like.
20512 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
20514 * Scripts/update-javascriptcore-test-results: Add license header.
20516 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
20517 from @ARGV. This lets us use this option in commands that take other options and
20518 pass them along to a subsequent tool.
20520 2005-07-25 Darin Adler <darin@apple.com>
20522 Reviewed by Geoff Garen.
20524 - Fixed run-safari and gdb-safari to use the Safari application in the build results
20525 directory, if any, falling back to the one in the Applications directory otherwise.
20526 Does no harm for open source contributors who don't build Safari, and helps out the
20527 Safari team, since we do build Safari.
20529 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
20530 variable, and if that's not present, looks in either the build results directory or
20531 /Applications; factors code that was in both scripts before into a shared function.
20532 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
20533 now in Xcode 2.1 format and incompatible with older versions of Xcode.
20535 * Scripts/gdb-safari: Use safariPath.
20536 * Scripts/run-safari: Use safariPath.
20538 2005-07-22 Geoffrey Garen <ggaren@apple.com>
20540 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
20541 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
20543 Moved Tools/Scripts/update-mozilla-js-test-results to
20544 WebKitTools/Scripts/update-javascriptcore-test-results.
20548 * Scripts/run-javascriptcore-tests: Added.
20550 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20552 Reviewed by Darin Adler.
20554 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
20556 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20558 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
20560 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20562 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
20564 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20566 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
20568 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20570 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
20572 2005-07-21 Geoffrey Garen <ggaren@apple.com>
20574 * Scripts/build-webkit:
20576 2005-07-12 Eric Seidel <eseidel@apple.com>
20580 * checkout-svg: Fixed error with symlink creation.
20582 2005-07-12 Eric Seidel <eseidel@apple.com>
20586 * checkout-svg: Added.
20587 Script to check out WebCore+SVG
20589 2005-06-30 Darin Adler <darin@apple.com>
20591 Changes based on input from Michael Kahl.
20593 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
20594 specify different style of "diff".
20595 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
20596 determineConfigurationProductDir works in all cases.
20598 2005-06-29 Darin Adler <darin@apple.com>
20600 - fixed bug which would result in multiple unwanted dumps in a single layout test
20602 * DumpRenderTree/DumpRenderTree.m:
20603 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
20604 "readyToDump" flag.
20605 (-[LayoutTestController waitUntilDone]): Update for name change.
20606 (-[LayoutTestController notifyDone]): Dump only if ready.
20607 (dumpRenderTree): Set up new boolean and update for name change.
20609 2005-06-29 Darin Adler <darin@apple.com>
20611 Changes by Timothy Hatcher.
20614 * Scripts/run-webkit-app: Added script to open an arbritrary application with
20615 a CVS built WebKit. Example: ./run-webkit-app Colloquy
20617 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
20618 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
20619 * Scripts/run-safari: Ditto.
20621 2005-06-26 Darin Adler <darin@apple.com>
20623 * Scripts/build-dumprendertree: Pass -project option so that having a second
20624 copy of the project (like the one Xcode 2.1 offers to make for you) that's
20625 out of date won't screw you up.
20626 * Scripts/build-webkit: Ditto.
20628 2005-06-23 Darin Adler <darin@apple.com>
20630 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
20632 2005-06-23 Darin Adler <darin@apple.com>
20634 Changes based on input from Michael Kahl.
20636 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
20637 directory passed in.
20639 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
20640 getcwd() in the code to find the base product dir. Added code to handle unusual
20641 base product directory values that use SRCROOT.
20643 2005-06-22 Darin Adler <darin@apple.com>
20645 Change by Anders Carlsson.
20647 - added support for dumping title changes
20649 * DumpRenderTree/DumpRenderTree.m:
20650 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
20651 if requested by JavaScript.
20652 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
20653 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
20654 (dumpRenderTree): Start flag as NO.
20656 2005-06-20 Darin Adler <darin@apple.com>
20658 Reviewed by Justin Garcia.
20660 * Scripts/run-webkit-tests: Report number of tests when they succeed.
20662 2005-06-18 Darin Adler <darin@apple.com>
20664 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
20665 in the hope of making the tool use less memory and run faster.
20667 2005-06-18 Darin Adler <darin@apple.com>
20669 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
20670 * Scripts/cvs-unapply: Ditto.
20672 2005-06-17 Maciej Stachowiak <mjs@apple.com>
20674 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
20675 benefit of all WebKit hackerdom
20677 * Scripts/prepare-ChangeLog: Added.
20679 2005-06-16 Darin Adler <darin@apple.com>
20681 - recent changes to XcodeOptions made it depend on the current directory
20682 The intent was to have the WebKitBuild directory be next to WebKitTools,
20683 not inside the various build directories. Workaround for now is to call
20684 XcodeOptions when the directory is set to the WebKit directory.
20686 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
20687 at the start of the script.
20688 * Scripts/build-webkit: Ditto.
20690 2005-06-15 Darin Adler <darin@apple.com>
20692 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
20694 2005-06-14 Darin Adler <darin@apple.com>
20696 Changes by Anders Carlsson.
20699 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
20700 Add gdb-safari script to launch Safari under gdb
20702 * Scripts/gdb-safari: Added.
20704 2005-06-12 Darin Adler <darin@apple.com>
20706 Changes by Stuart Morgan.
20709 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
20710 * Scripts/cvs-apply: Ditto.
20711 * Scripts/cvs-create-patch: Ditto.
20712 * Scripts/cvs-unapply: Ditto.
20713 * Scripts/run-webkit-tests: Ditto.
20714 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
20716 2005-06-12 Darin Adler <darin@apple.com>
20718 * Scripts/cvs-apply: Handle case of an empty patch better.
20719 * Scripts/cvs-unapply: Ditto.
20721 2005-06-12 Darin Adler <darin@apple.com>
20723 Changes by Michael Gaiman.
20726 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
20727 WebKit no longer builds after configuration supporting build changes
20729 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
20731 2005-06-12 Darin Adler <darin@apple.com>
20733 * Scripts/update-webkit: Make this script work when called from any directory.
20735 2005-06-12 Darin Adler <darin@apple.com>
20737 Reviewed by Maciej.
20738 Includes changes by Stuart Morgan as well as my own.
20740 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
20741 symrootXcodeOptions to set the -buildstyle option.
20742 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
20743 The new --development option does the same thing.
20744 * Scripts/run-safari: Ditto.
20745 * Scripts/run-webkit-tests: Ditto.
20746 * Scripts/update-webkit: Ditto.
20747 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
20749 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
20750 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
20751 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
20752 product directory. Read the default configuration from a file, overridable by a passed-in command-line
20755 2005-06-11 Darin Adler <darin@apple.com>
20757 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
20758 to execute the cvs diff commands.
20760 2005-06-11 Darin Adler <darin@apple.com>
20762 - added first cuts at some cvs scripts
20764 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
20765 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
20766 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
20767 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
20769 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
20771 * Scripts/cvs-abandon: Added.
20772 * Scripts/cvs-apply: Added.
20773 * Scripts/cvs-create-patch: Added.
20774 * Scripts/cvs-unapply: Added.
20776 2005-06-09 Darin Adler <darin@apple.com>
20778 Reviewed by Maciej.
20780 - fixed http://bugs.webkit.org/show_bug.cgi?id=3397
20781 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
20783 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
20784 for Foundation.framework. How was it ever wrong?
20786 - finally, I tested making the default build directory work; it works now
20788 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
20789 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
20790 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
20791 * Scripts/build-dumprendertree: Ditto.
20793 2005-06-09 Darin Adler <darin@apple.com>
20795 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
20796 work. Someone should try building without setting the Xcode build product directory now,
20797 and let me know if it works.
20799 2005-06-08 Darin Adler <darin@apple.com>
20801 - quick fix to try to get build scripts working again
20803 * Scripts/build-dumprendertree: Add FindBin.
20804 * Scripts/build-webkit: Ditto.
20805 * Scripts/run-safari: Ditto.
20806 * Scripts/run-webkit-tests: Ditto.
20807 * Scripts/update-webkit: Ditto.
20809 2005-06-08 Darin Adler <darin@apple.com>
20811 Reviewed by Maciej.
20813 - some build script enhancements
20815 * Scripts/build-dumprendertree: Changed to use webkitdirs.
20816 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
20818 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
20819 before Deplyment in that case.
20820 * Scripts/run-webkit-tests: Changed to use webkitdirs.
20821 * Scripts/update-webkit: Changed to use webkitdirs.
20823 * Scripts/webkitdirs.pm: Added.
20825 2005-06-08 Maciej Stachowiak <mjs@apple.com>
20827 Code change by Toby Peterson <toby@opendarwin.org>
20830 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
20831 get confused because build-webkit now makes even 2.0 build directories look
20834 2005-06-07 Darin Adler <darin@apple.com>
20836 Reviewed by Adele Peterson.
20838 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
20839 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
20840 so we can run tests with Xcode 2.1.
20842 2005-06-07 Darin Adler <darin@apple.com>
20844 Reviewed by Adele Peterson.
20846 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
20847 layout-tests directory to include additional sets of tests.
20849 2005-06-07 Darin Adler <darin@apple.com>
20851 * checkout: Added license.
20852 * Scripts/build-dumprendertree: Ditto.
20853 * Scripts/run-webkit-tests: Ditto.
20854 * Scripts/update-webkit: Ditto.
20856 2005-06-07 Darin Adler <darin@apple.com>
20858 Change by Toby Peterson <toby@opendarwin.org>.
20861 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
20862 * Scripts/run-safari: Ditto.
20864 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20866 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
20868 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20870 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
20872 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20874 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
20876 2005-06-05 Darin Adler <darin@apple.com>
20878 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
20879 * Scripts/build-dumprendertree: Added.
20880 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
20881 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
20883 2005-06-05 Darin Adler <darin@apple.com>
20885 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
20887 2005-06-05 Darin Adler <darin@apple.com>
20889 - add run-webkit-tests script; not working yet but the pieces are there
20891 * Scripts/run-webkit-tests: Added.
20893 * DumpRenderTree/DumpRenderTree.m: Added.
20894 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
20895 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
20896 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
20898 2005-06-05 Darin Adler <darin@apple.com>
20900 - created module, first cut at Web Kit Open Source Project scripts
20902 * ChangeLog: Added.
20903 * Scripts/build-webkit: Added.
20904 * Scripts/run-safari: Added.
20905 * Scripts/update-webkit: Added.
20908 === creation of WebKitTools module ===