1 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
3 * Scripts/install-unix-extras: Changed to be executable and removed
4 text in the file generated by "svn diff".
5 * Scripts/regenerate-makefiles: Ditto.
7 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
9 Reviewed by Darin, landed by ap.
11 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
12 Bakefiles (and generated Makefiles) for wx and gdk ports
14 * Scripts/install-unix-extras: Added.
15 * Scripts/regenerate-makefiles: Added.
17 2006-05-10 Steve Falkenburg <sfalken@apple.com>
21 Fix registry usage from perl script. Turns out libwin32's
22 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
24 * Scripts/install-win-extras:
26 2006-05-09 Steve Falkenburg <sfalken@apple.com>
29 Add load ended callback.
33 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
34 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
35 * Spinneret/Spinneret/Spinneret.cpp:
36 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
37 (_tWinMain): Load built-in test content here instead of in lower-level code.
38 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
40 2006-05-08 Maciej Stachowiak <mjs@apple.com>
44 * Scripts/extract-localizable-strings: Update for correct names of log macros.
46 2006-05-09 Anders Carlsson <acarlsson@apple.com>
50 * Scripts/check-dom-results:
51 Add XPath to the list of results.
53 2006-05-08 Darin Adler <darin@apple.com>
55 * Scripts/do-webcore-rename: Add another rename.
57 2006-05-01 Steve Falkenburg <sfalken@apple.com>
61 Spinneret now links against the new separate lib.
63 * Spinneret/Spinneret.sln:
64 * Spinneret/Spinneret/Spinneret.cpp:
65 (SpinneretWebHost::updateLocationBar):
67 * Spinneret/Spinneret/Spinneret.h:
68 * Spinneret/Spinneret/Spinneret.vcproj:
69 * Spinneret/Spinneret/WebFrame.cpp: Removed.
70 * Spinneret/Spinneret/WebFrame.h: Removed.
71 * Spinneret/Spinneret/WebView.cpp: Removed.
72 * Spinneret/Spinneret/WebView.h: Removed.
74 2006-04-28 Steve Falkenburg <sfalken@apple.com>
78 Modify error reporting registry keys to disable Dr. Watson.
79 This allows Javascript test cases to complete without blocking UI.
81 * Scripts/install-win-extras:
82 - Use Perl Win32 registry functions to disable blocking UI
85 2006-04-28 Steve Falkenburg <sfalken@apple.com>
89 Turned off C++ exceptions, fixed memory leaks
91 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
92 * Spinneret/Spinneret.sln:
93 * Spinneret/Spinneret/Spinneret.cpp:
95 * Spinneret/Spinneret/Spinneret.vcproj:
96 * Spinneret/Spinneret/WebFrame.cpp:
97 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
98 (WebKit::WebFrame::WebFrame):
99 (WebKit::WebFrame::~WebFrame):
100 (WebKit::WebFrame::impl):
101 * Spinneret/Spinneret/WebFrame.h:
102 * Spinneret/Spinneret/WebView.cpp:
103 * Spinneret/Spinneret/stdafx.h:
105 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
109 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
110 DumpRenderTree should reset the URL cache
112 * DumpRenderTree/DumpRenderTree.m:
113 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
115 2006-04-28 Eric Seidel <eseidel@apple.com>
117 Reviewed by andersca.
119 * Scripts/do-webcore-rename: rename KCanvasContainer too
120 * Scripts/run-webkit-tests: output total time
122 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
124 Reviewed by hyatt. Landed by eseidel.
126 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
127 Enable detection of excessive repainting with DumpRenderTree
129 * DumpRenderTree/DumpRenderTree.m:
130 (-[LayoutTestController display]):
132 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
136 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
137 DumpRenderTree needs a way to force painting (to allow invalidation tests)
139 * DumpRenderTree/DumpRenderTree.m:
140 (dump): If display() has been called during the test, grab the pixels from
141 the view, after letting it repaint invalidated rects.
142 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
143 (-[LayoutTestController display]): Added. Calls -display on the view
144 and changes the subsequent behavior of dump().
147 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
151 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
152 Update iExploder to 1.3.2
154 Test case numbers are not compatible with iExploder 1.2.
156 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
158 * iExploder/CHANGELOG.txt: Added.
159 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
160 * iExploder/README.txt: Added some performance hints.
162 * iExploder/htdocs/config.rb: Added.
163 * iExploder/htdocs/cssproperties.in:
164 * iExploder/htdocs/cssvalues.in:
165 * iExploder/htdocs/htmlattrs.in:
166 * iExploder/htdocs/htmltags.in:
167 * iExploder/htdocs/iexploder.cgi:
168 - Updated to support the latest HTML & CSS tags, properties, and values from both
169 the WebKit and Mozilla CVS tree
170 - cssproperties.in cleanup
171 - Modularized the code a little bit.
172 - Fix subtest bug that was causing last 5 tags to be missed
173 - new subtest algorithm to deal better with larger tag counts
174 - default HTML_MAX_TAGS increased from 32 to 96
176 * iExploder/htdocs/index.html: Updated version to 1.3.2.
177 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
178 alternative to our run-iexploder-tests.
179 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
180 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
181 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
183 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
185 - commit Scripts/run-mangleme-tests (missed it the previous time).
187 2006-04-18 Darin Adler <darin@apple.com>
189 - attempt to fix Windows buildbot
191 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
192 We need a better long-term solution for this.
194 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
198 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
199 Integrate mangleme test script.
201 Works in a similar way to run-iexploder-tests.
203 * Scripts/run-mangleme-tests: Added.
205 * mangleme/Makefile: Added.
206 * mangleme/README: Added.
207 * mangleme/mangle.cgi.c: Added.
208 * mangleme/remangle.cgi.c: Added.
209 * mangleme/tags.h: Added.
211 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
215 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
216 An easier way to save iExploder tests.
218 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
220 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
224 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
225 Integrate iExploder test script.
227 This script generates artificially mangled HTML documents, to test that the browser
228 doesn't crash when handling ill-formed code.
231 run-iexploder-tests Open an interactive test page in Safari+ToT.
232 run-iexploder-tests nnnnn Open test #nnnnn.
234 Command line options:
235 --guard-malloc (-g) Use Guard Malloc.
236 --port=nnnn Run Apache on port nnnn (default is 8000).
238 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
239 (thus, Apache is still running), e.g.:
240 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
242 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
244 * Scripts/run-iexploder-tests: Added.
246 * iExploder/LICENSE.txt: Added.
247 * iExploder/README.txt: Added.
248 * iExploder/htdocs: Added.
249 * iExploder/htdocs/cssproperties.in: Added.
250 * iExploder/htdocs/cssvalues.in: Added.
251 * iExploder/htdocs/htmlattrs.in: Added.
252 * iExploder/htdocs/htmltags.in: Added.
253 * iExploder/htdocs/htmlvalues.in: Added.
254 * iExploder/htdocs/iexploder.cgi: Added.
255 * iExploder/htdocs/index.html: Added.
256 * iExploder/tools: Added.
257 * iExploder/tools/lasthit.rb: Added.
258 * iExploder/tools/osx_last_crash.rb: Added.
260 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
264 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
265 Restore color profile after a crash
267 * DumpRenderTree/DumpRenderTree.m:
268 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
269 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
270 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
271 and this code may change significantly.
273 (main): Install crashHandler.
275 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
276 (CFStringGetCStringPtr should NEVER EVER be used!).
278 2006-04-15 Darin Adler <darin@apple.com>
282 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
283 Seems xmlsoft.org's HTTP no longer has what we need.
285 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
287 Rubber-stamped by Darin.
289 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
290 upload-disk-image stage on buildslaves fail with "No space left on device"
292 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
293 'hdiutil create'. This creates the initial disk image based on the size of
294 the source folder, and copies the contents to the new disk image. The file
295 extension on the temporary uncompressed disk image has also been altered from
296 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
297 the extension is not ".dmg".
299 2006-04-12 Eric Seidel <eseidel@apple.com>
303 * Scripts/update-webkit: Make this return non-zero when svn fails.
305 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
309 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
310 Make HTTP tests using Perl use .pl extension
312 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
313 removed support for .text. Reduced the number of places that explicitly list supported
314 extensions. Some of the changes come from bug 8121, the patch for which got landed only
317 2006-04-06 Darin Adler <darin@apple.com>
319 Changes requested by Mark Rowe.
321 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
322 trash at the end of the file.
323 * BuildSlaveSupport/build-launcher-dmg: Ditto.
325 * WebKitLauncher/main.m: Removed trash at end of file.
327 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
330 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
332 Reviewed by Darin, landed by Maciej.
334 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
335 and bundles the WebKit frameworks inside it.
336 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
337 containing WebKit.app.
338 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
339 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
340 number of the SVN working copy.
341 * WebKitLauncher: Added.
342 * WebKitLauncher/Info.plist: Added.
343 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
344 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
345 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
346 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
347 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
348 the nightly launcher.
349 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
350 It sets up the environment to have Safari use the bundled frameworks
351 and load the WebKitNightlyEnabler dylib before exec'ing Safari
352 * WebKitLauncher/start.html: Added.
353 * WebKitLauncher/webkit.icns: Added.
355 2006-04-05 Darin Adler <darin@apple.com>
359 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
360 are allowed to have global initializers.
362 2006-04-05 Geoffrey Garen <ggaren@apple.com>
366 * Scripts/run-testkjs:
367 - pipe STDERR to /dev/null by default; new --verbose option overrides
369 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
370 - output run command in a format that can be copied and pasted into the
371 terminal to run manually
373 2006-04-03 Justin Garcia <justin.garcia@apple.com>
377 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
378 A drag and drop in DumpRenderTree copies the source, instead of cutting it
380 Tell the source that the drag is over after the drag is performed, not before.
382 * DumpRenderTree/EventSendingController.m:
383 (-[EventSendingController mouseUp]):
385 2006-04-01 Darin Adler <darin@apple.com>
389 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
390 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
391 elements in that array are not strings.
393 2006-03-31 Darin Adler <darin@apple.com>
395 Reviewed by John Sullivan.
397 - added a "--reset-results" option to run-webkit-tests so you can reset
398 the results without first deleting expected results
399 - <rdar://problem/4185878> add scroll position to dumpRenderTree
401 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
402 more logical. Moved all the subroutines to the end of the file. Added a
405 * DumpRenderTree/DumpRenderTree.m:
406 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
407 to generate new output for all tests it runs.
408 (dump): Dump the scroll position if it's non-zero. Always dump the image when
409 the --dump-all-pixels option is passed. Also tightened up the image dumping
410 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
411 with code to save and restore the context.
413 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
414 * DumpRenderTree/EventSendingController.m: Added now-needed include.
416 2006-03-30 Tim Omernick <timo@apple.com>
418 Reviewed by NOBODY (just fixing copyrights)
420 * DumpRenderTree/ObjCPlugin.h:
422 * DumpRenderTree/ObjCPlugin.m: ditto
423 * DumpRenderTree/ObjCPluginFunction.h: ditto
424 * DumpRenderTree/ObjCPluginFunction.m: ditto
426 2006-03-30 Tim Omernick <timo@apple.com>
430 * DumpRenderTree/DumpRenderTree.m:
431 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
432 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
433 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
434 exposed to JS as a callable object.
436 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
437 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
439 * DumpRenderTree/ObjCPlugin.h: Added.
440 * DumpRenderTree/ObjCPlugin.m: Added.
441 * DumpRenderTree/ObjCPluginFunction.h: Added.
442 * DumpRenderTree/ObjCPluginFunction.m: Added.
444 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
445 Added a new method, "removeDefaultMethod", which removes the default method from the
446 plugin object's class. The effect is that the plugin object is mutated from a callable
447 function to a simple object.
449 Handle "removeDefaultMethod".
450 (pluginInvokeDefault):
451 Made the default method actually do something (return 1).
453 2006-03-30 Eric Seidel <eseidel@apple.com>
457 Remove WebFrame::viewImpl(), setMainFrame on page.
459 * Spinneret/Spinneret/WebFrame.cpp:
460 (WebKit::WebFrame::WebFrame):
461 * Spinneret/Spinneret/WebFrame.h:
462 * Spinneret/Spinneret/WebView.cpp:
463 (WebKit::WebView::mouseMoved):
464 (WebKit::WebView::mouseDown):
465 (WebKit::WebView::mouseUp):
466 (WebKit::WebView::mouseDoubleClick):
467 (WebKit::WebViewWndProc):
469 2006-03-30 Eric Seidel <eseidel@apple.com>
473 Fix html editing input & basic form submission.
475 * Spinneret/Spinneret/WebFrame.cpp:
476 (WebKit::WebFrame::submitForm):
477 (WebKit::WebFrame::loadURL):
478 * Spinneret/Spinneret/WebFrame.h:
479 * Spinneret/Spinneret/WebView.cpp:
480 (WebKit::WebView::keyPress):
481 (WebKit::WebViewWndProc):
483 2006-03-28 Justin Garcia <justin.garcia@apple.com>
487 <rdar://problem/4402375>
488 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
490 Added an option to draw the selectionRect.
492 * DumpRenderTree/DumpRenderTree.m:
494 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
495 (-[LayoutTestController dumpSelectionRect]):
498 2006-03-29 Darin Adler <darin@apple.com>
500 Reviewed by Tim Hatcher.
502 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
504 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
506 2006-03-28 Eric Seidel <eseidel@apple.com>
510 * Scripts/check-for-global-initializers: remove svg exceptions.
512 2006-03-28 Timothy Hatcher <timothy@apple.com>
516 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
518 * Scripts/check-for-global-initializers:
520 2006-03-28 Timothy Hatcher <timothy@apple.com>
522 Build fix. Turn off uninitialized warnings for the first block of code.
524 * Scripts/check-for-global-initializers:
526 2006-03-28 Darin Adler <darin@apple.com>
530 * Scripts/check-for-global-initializers: Added.
532 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
534 Reviewed by darin. Landed by eseidel.
536 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
537 Add repaint testing support to run-webkit-tests
539 * DumpRenderTree/DumpRenderTree.m:
540 (main): Added --repaint and --horizontal-sweep options.
541 (dump): Repaint line-by-line or column-by-column when the appropriate option
543 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
544 and repaintSweepHorizontally() methods to layoutTestController.
545 (-[LayoutTestController testRepaint]):
546 (-[LayoutTestController repaintSweepHorizontally]):
548 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
549 to force these settings on tests that do not ask for them.
551 2006-03-24 Eric Seidel <eseidel@apple.com>
557 * Spinneret/Spinneret/WebFrame.cpp:
558 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
560 2006-03-21 Beth Dakin <bdakin@apple.com>
564 Add support for keyDown() to DumpRenderTree.
566 * DumpRenderTree/DumpRenderTree.m:
567 (main): Set the preference for tabbing to links.
568 * DumpRenderTree/EventSendingController.m:
569 (+[EventSendingController isSelectorExcludedFromWebScript:]):
570 (+[EventSendingController webScriptNameForSelector:]):
571 (-[EventSendingController keyDown:withModifiers:]):
573 2006-03-20 Eric Seidel <eseidel@apple.com>
579 * Spinneret/Spinneret/Spinneret.vcproj:
580 * Spinneret/Spinneret/WebFrame.h:
581 * Spinneret/Spinneret/WebView.cpp:
582 (WebKit::WebView::mouseMoved):
583 (WebKit::WebView::mouseDown):
584 (WebKit::WebView::mouseUp):
585 (WebKit::WebView::mouseDoubleClick):
586 (WebKit::WebView::keyPress):
587 (WebKit::WebViewWndProc):
589 2006-03-19 Darin Adler <darin@apple.com>
593 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
594 we can test it in layout tests. We don't really need tests that run with
595 pop-up blocking off at the moment. If we do some day, we can add some
596 API for turning it off in the layout test controller.
598 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
599 don't ignore the leak; it should no longer show up.
601 2006-03-17 Anders Carlsson <andersca@mac.com>
605 * Scripts/install-win-extras:
606 Fetch "Program Files" location from the environment.
608 2006-03-17 Eric Seidel <eseidel@apple.com>
612 Fix Spinneret to pass Events as const & not as pointers.
614 * Spinneret/Spinneret/WebView.cpp:
615 (WebKit::WebView::mouseMoved):
616 (WebKit::WebView::mouseDown):
617 (WebKit::WebView::mouseUp):
618 (WebKit::WebView::mouseDoubleClick):
619 (WebKit::WebView::keyPress):
621 2006-03-17 Eric Seidel <eseidel@apple.com>
625 Add support for basic HTML editing.
627 * Spinneret/Spinneret/WebView.cpp:
628 (WebKit::WebView::WebView):
629 (WebKit::WebView::keyPress):
631 2006-03-17 Eric Seidel <eseidel@apple.com>
633 Rubber-stamped by ggaren.
635 Break DumpRenderTree.m up into several files to make the code more readable.
637 * DumpRenderTree/DumpRenderTree.h: Added.
638 * DumpRenderTree/DumpRenderTree.m:
639 (doneLoading): new accessor function for "done" global.
640 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
641 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
642 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
643 * DumpRenderTree/EditingDelegate.h: Added.
644 * DumpRenderTree/EditingDelegate.m: Added.
645 (-[EditingDelegate webViewDidChangeSelection:]):
646 * DumpRenderTree/EventSendingController.h: Added.
647 * DumpRenderTree/EventSendingController.m: Added.
649 2006-03-16 Eric Seidel <eseidel@apple.com>
653 Add resize, scroll event support.
655 * Spinneret/Spinneret/WebView.cpp:
656 (WebKit::WebView::mouseMoved):
657 (WebKit::WebView::mouseDown):
658 (WebKit::WebView::mouseUp):
659 (WebKit::WebView::mouseDoubleClick):
660 (WebKit::WebView::keyPress):
661 (WebKit::WebViewWndProc):
662 * Spinneret/Spinneret/WebView.h:
664 2006-03-16 Eric Seidel <eseidel@apple.com>
668 Make build-webkit print correctly to stdout on windows.
670 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
672 2006-03-15 Eric Seidel <eseidel@apple.com>
676 Fix eventSender.mouseClick() to update lastClick timestamp.
678 * DumpRenderTree/DumpRenderTree.m:
679 (-[EventSendingController mouseClick]):
681 2006-03-15 Darin Adler <darin@apple.com>
685 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
686 that had a lowercase "i" in it so this builds on case-sensitive
689 2006-03-15 Geoffrey Garen <ggaren@apple.com>
693 Added run-testkjs and compare-timing-files scripts, to support super
696 * Scripts/compare-timing-files: Added.
697 * Scripts/run-testkjs: Added.
699 2006-03-14 Eric Seidel <eseidel@apple.com>
703 Make the URL bar relinquish focus on page load.
705 * Spinneret/Spinneret/Spinneret.cpp:
708 2006-03-14 Eric Seidel <eseidel@apple.com>
712 Fix WebView to allow KeyFocus.
713 Add handling of space and shift-space for scrolling.
715 * Spinneret/Spinneret/WebView.cpp:
716 (WebKit::scrollMessageForKey):
717 (WebKit::WebViewWndProc):
719 2006-03-10 Eric Seidel <eseidel@apple.com>
723 Add scrolling support into Spinneret.
725 * Spinneret/Spinneret/WebFrame.cpp:
726 (WebKit::WebFrame::paint):
727 * Spinneret/Spinneret/WebView.cpp:
728 (WebKit::WebView::createWebView):
729 (WebKit::calculateScrollDelta):
730 (WebKit::scrollMessageForKey):
731 (WebKit::WebViewWndProc):
733 2006-03-13 Eric Seidel <eseidel@apple.com>
737 Fix checksum generation on Intel machines.
738 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
739 give a small speed boost now that it uses a shared buffer.
741 * DumpRenderTree/DumpRenderTree.m:
744 (md5HashStringForBitmap):
745 * DumpRenderTree/ImageDiff.m:
746 (computePercentageDifferent):
748 2006-03-13 Darin Adler <darin@apple.com>
750 Reviewed by Tim Hatcher.
752 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
753 have it named httpd-1.3 instead.
755 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
757 Fix proposed by Mitz Pettel, reviewed by Darin.
759 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
760 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
762 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
763 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
766 2006-03-09 Darin Adler <darin@apple.com>
768 Reviewed by John Sullivan.
770 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
771 memory leak in the plug-in tests
773 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
774 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
775 (NPP_SetWindow): Remove unneeded code to store the window pointer.
777 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
778 Moved the browser global in here since it's declared in this file's header.
779 Changed the code to set up the pluginClass structure to not use function
780 pointer casts. Those are dangerous because they can hide many types of mismatch.
781 And indeed when I did this I discovered that many functions were missing their
782 boolean return values or had parameter declarations with the wrong types.
783 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
784 clarity. Added boolean return value: return true when successful and false when not.
785 (pluginSetProperty): Added boolean return value, return false since we have no
786 properties we can set.
787 (pluginInvoke): Added boolean return value. Return true when successful and false
788 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
789 return value from calling the browser. Changed code to put the strings in malloc
790 buffers instead of relying on GCC's extension that allows variable-sized arrays
792 (pluginInvokeDefault): Added boolean return value, return false since we have no
793 default function to call.
794 (pluginInvalidate): Added missing parameter. Removed comment.
795 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
796 to cast the result of malloc.
797 (pluginDeallocate): Removed uneeded cast.
799 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
800 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
801 that match NPObject's fields. Removed unused NPWindow pointer.
803 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
805 Test: fast/events/event-sender-mouse-click.html
809 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
810 DRT hangs when doing eventSender.mouseDown on native widgets
812 * DumpRenderTree/DumpRenderTree.m:
813 (+[EventSendingController isSelectorExcludedFromWebScript:]):
814 (-[EventSendingController mouseClick]): Simulates a click in a native
815 widget by queueing a mouseUp before sending the mouseDown, so that
816 the widget's mouse tracking event loop doesn't hang indefinitely.
818 2006-03-09 Maciej Stachowiak <mjs@apple.com>
822 - make link clicks work by handling link click requests
825 * Spinneret/Spinneret/Spinneret.cpp:
827 * Spinneret/Spinneret/Spinneret.h:
828 * Spinneret/Spinneret/WebFrame.cpp:
829 (WebKit::WebFrame::WebFrame):
830 (WebKit::WebFrame::openURL):
831 (WebKit::WebFrame::loadURL):
832 * Spinneret/Spinneret/WebFrame.h:
834 2006-03-08 Eric Seidel <eseidel@apple.com>
838 Focus URL bar on Spinneret launch, remove border from WebView.
839 Stop WebFrame from deleting the job (prevent crash).
841 * Spinneret/Spinneret/Spinneret.cpp:
843 * Spinneret/Spinneret/WebFrame.cpp:
844 (WebKit::WebFrame::receivedAllData):
845 (WebKit::WebFrame::paint):
846 * Spinneret/Spinneret/WebView.cpp:
847 (WebKit::WebView::createWebView):
849 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
853 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
854 (pluginInvoke): Added a method to test getURL.
856 2006-03-08 Maciej Stachowiak <mjs@apple.com>
860 - load URLs, not file paths, in Spinneret
862 * Spinneret/Spinneret/Spinneret.cpp:
864 * Spinneret/Spinneret/Spinneret.vcproj:
865 * Spinneret/Spinneret/WebFrame.cpp:
866 (WebKit::WebFrame::loadURL):
867 (WebKit::WebFrame::receivedData):
868 (WebKit::WebFrame::receivedAllData):
869 * Spinneret/Spinneret/WebFrame.h:
870 * Spinneret/Spinneret/WebView.cpp:
871 (WebKit::WebView::WebView):
873 2006-03-08 Darin Adler <darin@apple.com>
877 - fixed AppleScript layout test results to not be endian-dependent
878 (Hyatt complained to me about this one)
880 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
881 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
882 (which are endian-dependent).
884 2006-03-07 Darin Adler <darin@apple.com>
888 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
889 unwanted output while running layout tests
891 * DumpRenderTree/DumpRenderTree.m:
892 (checkedMalloc): Added.
893 (checkedRealloc): Added.
894 (makeLargeMallocFailSilently): Added.
895 (main): Call makeLargeMallocFailSilently.
897 2006-03-06 Darin Adler <darin@apple.com>
899 * Scripts/do-webcore-rename: Add some more planned renaming.
901 2006-03-06 Eric Seidel <eseidel@apple.com>
905 * Spinneret/Spinneret/WebFrame.cpp:
906 (WebKit::WebFrame::paint): force layout before painting
908 2006-03-06 Justin Garcia <justin.garcia@apple.com>
912 Sent the windowNumber when sending events.
913 Added leapForward so that we don't have to spend time waiting
914 in layout tests that do mouse operations that require delays.
916 * DumpRenderTree/DumpRenderTree.m:
917 (+[EventSendingController isSelectorExcludedFromWebScript:]):
918 (+[EventSendingController webScriptNameForSelector:]):
919 (-[EventSendingController currentEventTime]):
920 (-[EventSendingController leapForward:]):
921 (-[EventSendingController mouseDown]):
922 (-[EventSendingController mouseUp]):
923 (-[EventSendingController mouseMoveToX:Y:]):
925 2006-03-05 Darin Adler <darin@apple.com>
927 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
928 Script now works (after landing my two pending patches).
930 2006-03-05 Darin Adler <darin@apple.com>
932 - check in a script to do a "big" rename in WebCore
933 (can be run whenever we're ready to do it)
935 * Scripts/do-webcore-rename: Added.
937 2006-03-05 Maciej Stachowiak <mjs@apple.com>
941 * Spinneret/Spinneret/WebFrame.cpp:
942 (WebKit::WebFrame::loadFilePath): Close file when done.
944 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
946 Reviewed by Darin, landed by ap.
948 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
949 Mouse moved events do not work in DumpRenderTree
951 Test: fast/events/event-sender-mouse-moved.html
953 * DumpRenderTree/DumpRenderTree.m:
954 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
956 2006-03-04 Eric Seidel <eseidel@apple.com>
960 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
961 Disable background erase to avoid tearing.
962 Fix potential memory smasher from extra long urls.
964 * Spinneret/Spinneret/Spinneret.cpp:
966 * Spinneret/Spinneret/Spinneret.vcproj:
967 * Spinneret/Spinneret/WebFrame.cpp:
968 (WebKit::WebFrame::loadFilePath):
969 (WebKit::WebFrame::paint):
970 * Spinneret/Spinneret/WebView.cpp:
971 (WebKit::registerWebViewWithInstance):
973 2006-03-04 Eric Seidel <eseidel@apple.com>
977 Hang WebView pointer off of HWND (gets rid of global hack).
978 Remove MessageBox displayed on url change.
980 * Spinneret/Spinneret/Spinneret.cpp:
983 * Spinneret/Spinneret/WebView.cpp:
984 (WebKit::registerWebViewWithInstance):
985 (WebKit::WebView::createWebView):
986 (WebKit::WebViewWndProc):
988 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
992 Automatically kill httpd if it appears to be already running.
994 * Scripts/run-webkit-tests:
996 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1000 * Spinneret/Spinneret/WebFrame.cpp:
1001 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1003 2006-03-03 Eric Seidel <eseidel@apple.com>
1007 A few more fixes to make run-webkit-tests really work on win32.
1009 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1011 * Scripts/run-webkit-tests:
1013 2006-03-03 Eric Seidel <eseidel@apple.com>
1017 Make run-webkit-tests work on win32.
1019 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1021 (dumpRenderTreeMain):
1022 (dumpRenderTreeToStdOut):
1023 (serializeToStdOut):
1025 * Scripts/run-webkit-tests:
1026 * Scripts/webkitdirs.pm:
1027 * Spinneret/Spinneret/WebView.cpp:
1028 (WebKit::WebView::WebView):
1030 2006-03-03 Eric Seidel <eseidel@apple.com>
1034 Add WebFrame class (to hold Frame and FrameView).
1035 Add Location bar support to Spinneret.
1037 * Spinneret/Spinneret/Spinneret.cpp:
1042 * Spinneret/Spinneret/Spinneret.vcproj:
1043 * Spinneret/Spinneret/WebFrame.cpp: Added.
1044 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1045 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1046 (WebKit::WebFrame::WebFrame):
1047 (WebKit::WebFrame::loadFilePath):
1048 (WebKit::WebFrame::loadHTMLString):
1049 (WebKit::WebFrame::paint):
1050 (WebKit::WebFrame::impl):
1051 (WebKit::WebFrame::viewImpl):
1052 * Spinneret/Spinneret/WebFrame.h: Added.
1053 * Spinneret/Spinneret/WebView.cpp:
1054 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1055 (WebKit::WebView::WebView):
1056 (WebKit::WebView::windowHandle):
1057 (WebKit::WebView::mainFrame):
1058 (WebKit::WebView::mouseMoved):
1059 (WebKit::WebView::mouseDown):
1060 (WebKit::WebView::mouseUp):
1061 (WebKit::WebView::mouseDoubleClick):
1062 (WebKit::WebViewWndProc):
1063 * Spinneret/Spinneret/WebView.h:
1065 2006-03-02 Eric Seidel <eseidel@apple.com>
1069 * Spinneret/Spinneret/WebView.cpp:
1070 (WebKit::registerWebViewWithInstance):
1071 (WebKit::WebView::WebView):
1072 (WebKit::WebView::mouseMoved):
1073 (WebKit::WebView::mouseDown):
1074 (WebKit::WebView::mouseUp):
1075 (WebKit::WebView::mouseDoubleClick):
1076 (WebKit::WebViewWndProc):
1077 * Spinneret/Spinneret/WebView.h:
1079 2006-03-01 Eric Seidel <eseidel@apple.com>
1081 Reviewed by andersca.
1083 Make spinneret take advantage of the new GraphicsContextCairo.
1085 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1086 (main): updated to match style guidelines.
1087 * Spinneret/Spinneret/Spinneret.cpp:
1089 * Spinneret/Spinneret/WebView.cpp:
1090 (WebKit::registerWebViewWithInstance):
1091 (WebKit::WebView::WebView):
1092 (WebKit::WebView::~WebView):
1093 (WebKit::WebView::drawRect):
1095 * Spinneret/Spinneret/WebView.h:
1097 2006-03-01 Justin Garcia <justin.garcia@apple.com>
1101 Give the events that eventSender sends a unique eventNumber
1103 * DumpRenderTree/DumpRenderTree.m:
1104 (-[EventSendingController mouseDown]):
1105 (-[EventSendingController mouseUp]):
1106 (-[EventSendingController mouseMoveToX:Y:]):
1108 2006-03-01 Eric Seidel <eseidel@apple.com>
1112 Add a stub win32 application to test WebCore drawing on windows.
1115 * Spinneret/Spinneret: Added.
1116 * Spinneret/Spinneret.sln: Added.
1117 * Spinneret/Spinneret/Resource.h: Added.
1118 * Spinneret/Spinneret/Spinneret.cpp: Added.
1124 * Spinneret/Spinneret/Spinneret.h: Added.
1125 * Spinneret/Spinneret/Spinneret.ico: Added.
1126 * Spinneret/Spinneret/Spinneret.rc: Added.
1127 * Spinneret/Spinneret/Spinneret.vcproj: Added.
1128 * Spinneret/Spinneret/WebView.cpp: Added.
1129 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1130 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1131 (WebKit::registerWebViewWithInstance):
1132 (WebKit::WebView::createWebView):
1133 (WebKit::WebView::WebView):
1134 (WebKit::WebView::~WebView):
1135 (WebKit::WebView::drawRect):
1136 (WebKit::WebView::windowHandle):
1138 * Spinneret/Spinneret/WebView.h: Added.
1139 * Spinneret/Spinneret/small.ico: Added.
1140 * Spinneret/Spinneret/stdafx.cpp: Added.
1141 * Spinneret/Spinneret/stdafx.h: Added.
1143 2006-02-28 Eric Seidel <eseidel@apple.com>
1147 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1148 (main): add ability to dump render tree and read from a local file.
1150 2006-02-27 Eric Seidel <eseidel@apple.com>
1154 * Scripts/install-win-extras: fix dll permissions & download zlib too.
1156 2006-02-27 Eric Seidel <eseidel@apple.com>
1160 Test new KConfig -> PlugInInfoStore change.
1161 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1163 * DumpRenderTree/DumpRenderTree.m:
1164 (main): load test netscape plugin
1165 * Scripts/run-webkit-tests: style update
1167 2006-02-24 Eric Seidel <eseidel@apple.com>
1171 Make DumpRenderTree link against icu.
1173 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1175 2006-02-24 Eric Seidel <eseidel@apple.com>
1179 Make DumpRenderTree link against libxml, etc.
1181 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1183 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1185 Reviewed and landed by Anders.
1187 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1188 getting called from the run loop, making the view render each test and thus slowing
1191 * DumpRenderTree/DumpRenderTree.m:
1192 (main): Set the offscreen window to not autodisplay.
1194 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1198 - Turn http tests back on by default.
1199 - Wait for Apache to actually start serving requests.
1200 - Get user id from a built-in variable rather than an external command;
1201 don't pass the group.
1203 * Scripts/run-webkit-tests:
1205 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1207 Suggested by Mitz Pettel, reviewed by Darin.
1209 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1210 can run CGIs even if the permissions are 700 or 600.
1212 2006-02-23 Darin Adler <darin@apple.com>
1214 Collaborating with Alexey.
1216 - turn off http tests by default until we figure out how to get them
1217 to run even when permissions on CGI files are 700 instead of 755
1219 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1221 2006-02-23 Eric Seidel <eseidel@apple.com>
1223 Add *.user to ignore list.
1225 2006-02-23 Eric Seidel <eseidel@apple.com>
1227 Remove binary file which shouldn't have been commited (and add to ignore list).
1229 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1230 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1232 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1236 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1238 2006-02-22 Eric Seidel <eseidel@apple.com>
1240 Reviewed by Tim Hatcher.
1242 Fix install-win-extras to not try to re-install setx if installed.
1244 * Scripts/install-win-extras:
1246 2006-02-22 Eric Seidel <eseidel@apple.com>
1248 One more file possibly missing from previous commit?
1250 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1251 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1253 2006-02-22 Eric Seidel <eseidel@apple.com>
1255 Reviewed by justing.
1257 Files missing from previous commit.
1259 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1260 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1262 2006-02-22 Eric Seidel <eseidel@apple.com>
1264 Rubber-stamped by justing.
1266 Corrected path for DumpRenderTree.intermediate files
1268 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1270 2006-02-22 Eric Seidel <eseidel@apple.com>
1272 Reviewed by justing.
1274 Fixed build-dumprendertree to exit with correct error codes.
1276 * Scripts/build-dumprendertree:
1278 2006-02-22 Eric Seidel <eseidel@apple.com>
1280 Reviewed by justing.
1282 Update build scripts to generalize building on Win32, and allow
1283 building of DumpRenderTree on Win32 from build-dumprendertree.
1285 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1287 * Scripts/build-dumprendertree:
1288 * Scripts/build-webkit:
1289 * Scripts/webkitdirs.pm:
1291 2006-02-22 Eric Seidel <eseidel@apple.com>
1295 * DumpRenderTree/DumpRenderTree.vcproj: Added.
1296 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1297 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1298 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1299 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1300 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1302 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1303 * Scripts/build-webkit: make build-webkit cleanup after itself
1305 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1309 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1310 Some minor fixes to http tests.
1312 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1314 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
1318 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1319 Would like to use locally installed Apache for testing.
1321 Added two run-webkit-tests options:
1322 --http (--nohttp) - whether to launch Apache (defaults to yes);
1323 --port - which port to listen on (defaults to 8000).
1325 Tests in LayoutTests/http are not run directly, and Apache is used instead.
1326 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1327 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1329 Also added support for .shtml and .text files. Text files give an empty
1330 *-expected.txt, but a correct image.
1332 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1334 * Scripts/run-webkit-tests:
1336 2006-02-21 Darin Adler <darin@apple.com>
1338 Suggested by Mark Rowe.
1340 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1341 reporting leak counts.
1343 2006-02-18 Maciej Stachowiak <mjs@apple.com>
1347 - Added install-win-extras script which installs some extra
1348 programs and libraries, and does Windows first-time setup.
1350 * Scripts/build-webkit: Add a newline between build results.
1351 * Scripts/install-win-extras: Added.
1353 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1357 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1358 DumpRenderTree should be able to load files via HTTP
1360 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1361 Handle tests starting with "http://" as real URLs, not file system paths.
1363 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1367 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1368 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1370 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1372 2006-02-18 Darin Adler <darin@apple.com>
1374 * Scripts/commit-log-editor: Added.
1376 2006-02-17 Eric Seidel <eseidel@apple.com>
1380 Make Win32 have the same default "WebKitBuild" directory behavior.
1382 * Scripts/build-webkit:
1383 * Scripts/webkitdirs.pm:
1385 2006-02-17 Eric Seidel <eseidel@apple.com>
1389 * Scripts/build-webkit: make win32 actually report errors
1391 2006-02-17 Eric Seidel <eseidel@apple.com>
1395 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1397 2006-02-17 Eric Seidel <eseidel@apple.com>
1401 * Scripts/run-webkit-tests: Ignore flash leaks
1403 2006-02-15 Justin Garcia <justin.garcia@apple.com>
1407 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1408 Add drag and drop support to DumpRenderTree
1410 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1411 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
1413 * DumpRenderTree/DumpRenderTree.m:
1415 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1416 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1417 (-[WaitUntilDoneDelegate webViewFocus:]):
1418 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1419 (+[LayoutTestController webScriptNameForSelector:]):
1420 (-[LayoutTestController setWindowIsKey:]):
1421 (-[LayoutTestController setMainFrameIsFirstResponder:]):
1422 (-[EventSendingController init]):
1423 (-[EventSendingController mouseDown]):
1424 (-[EventSendingController mouseUp]):
1425 (-[EventSendingController mouseMoveToX:Y:]):
1427 (-[DumpRenderTreeWindow isKeyWindow]):
1428 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1429 (-[DumpRenderTreeDraggingInfo dealloc]):
1430 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1431 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1432 (-[DumpRenderTreeDraggingInfo draggingLocation]):
1433 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1434 (-[DumpRenderTreeDraggingInfo draggedImage]):
1435 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1436 (-[DumpRenderTreeDraggingInfo draggingSource]):
1437 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1438 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1439 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1440 * DumpRenderTree/TextInputController.m:
1441 (-[TextInputController firstRectForCharactersFrom:length:]):
1442 (-[TextInputController characterIndexForPointX:Y:]):
1444 2006-02-15 Geoffrey Garen <ggaren@apple.com>
1448 * DumpRenderTree/DumpRenderTree.m:
1449 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
1450 Added a dummy method for the sake of LayoutTests/plugins/
1451 undefined-property-crash.html. (It tests a crash due to fallback
1452 object use. WebCore won't create a fallback object if the method is
1455 2006-02-14 Eric Seidel <eseidel@apple.com>
1459 * Scripts/run-webkit-tests: added --results-directory (-o) option
1461 2006-02-09 Eric Seidel <eseidel@apple.com>
1463 Rubber-stamped by mjs.
1465 Renamed split-class to split-file-by-class.
1467 * Scripts/build-webkit: Updated copyright.
1468 * Scripts/split-class: Removed.
1469 * Scripts/split-file-by-class: Added.
1471 2006-02-08 Eric Seidel <eseidel@apple.com>
1473 Rubber-stamped by mjs.
1475 Adding new script for splitting multi-class files.
1476 Also adding supporting perl module with space removing heuristics.
1478 * Scripts/SpacingHeuristics.pm: Added.
1479 * Scripts/build-drawtest: updated copyright header
1480 * Scripts/split-class: Added.
1482 2006-02-08 Justin Garcia <justin.garcia@apple.com>
1484 Reviewed by thatcher
1486 Changes to test fix for:
1487 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1488 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1490 * DumpRenderTree/DumpRenderTree.m:
1491 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1492 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1493 (+[LayoutTestController webScriptNameForSelector:]):
1494 (-[LayoutTestController setWindowHasFocus:]):
1495 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1497 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
1499 Reviewed by Timothy.
1501 Support automated testing of AppleScript "do JavaScript" command
1502 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1504 * DumpRenderTree/AppleScriptController.h: Added.
1505 * DumpRenderTree/AppleScriptController.m: Added.
1506 * DumpRenderTree/DumpRenderTree.m:
1507 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1508 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1510 2006-02-06 Eric Seidel <eseidel@apple.com>
1514 Fix build-webkit for use on win32 (unblocks buildbot usage).
1515 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1517 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1518 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1520 2006-02-06 Eric Seidel <eseidel@apple.com>
1522 Rubber-stamped by darin & mjs.
1524 Added new support directory for build slave scripts.
1525 Committing the first script, for use by the PLT's build slave.
1526 This script is used to kick of the PLT (Page Load Test) slave.
1528 * BuildSlaveSupport: Added.
1529 * BuildSlaveSupport/run-performance-tests: Added.
1531 2006-02-06 Eric Seidel <eseidel@apple.com>
1533 Rubber-stamped by darin.
1535 Adding setSourceDir for scripts stored in non-standard locations.
1537 * Scripts/webkitdirs.pm:
1539 2006-02-04 Darin Adler <darin@apple.com>
1541 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1542 Configuration files that say Development or Deployment in them.
1544 2006-02-04 Darin Adler <darin@apple.com>
1546 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1547 wrapper already in the directory.
1548 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1549 these haven't been working at all.
1550 * Scripts/svn-unapply: Ditto.
1552 2006-02-03 Timothy Hatcher <timothy@apple.com>
1556 Renamed configuration names to Debug, Release and Production.
1558 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1559 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1560 * Scripts/set-webkit-configuration:
1561 * Scripts/webkitdirs.pm:
1563 2006-02-02 Justin Garcia <justin.garcia@apple.com>
1565 Reviewed by thatcher
1567 Enabled spell checking for layout tests.
1569 * DumpRenderTree/DumpRenderTree.m:
1572 2006-01-29 Darin Adler <darin@apple.com>
1574 * Scripts/svn-apply: Added comments about things we should do to improve.
1575 * Scripts/svn-create-patch: Ditto.
1576 * Scripts/svn-unapply: Ditto.
1578 2006-01-28 Darin Adler <darin@apple.com>
1580 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1581 already there, even if the checksum is correct.
1583 2006-01-27 Eric Seidel <eseidel@apple.com>
1587 * Scripts/run-webkit-tests: make new tests use absolute urls
1589 2006-01-27 Eric Seidel <eseidel@apple.com>
1593 make run-webkit-tests output total leaks count
1595 * Scripts/run-webkit-tests:
1597 2006-01-27 Eric Seidel <eseidel@apple.com>
1601 run-webkit-test --leaks crashes (malloc logging runs out of memory)
1602 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
1604 * Scripts/run-webkit-tests: fix --leaks to not crash
1606 2006-01-26 Eric Seidel <eseidel@apple.com>
1610 run-webkit-tests should produce a self-contained results directory
1611 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
1613 * Scripts/run-webkit-tests: copy failing items to results dir.
1615 2006-01-23 Darin Adler <darin@apple.com>
1617 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
1618 need script to update localizable strings file in WebKit
1620 * Scripts/update-webkit-localizable-strings: Added.
1622 2006-01-23 Darin Adler <darin@apple.com>
1624 - added a couple of scripts -- more about these two soon
1626 * Scripts/extract-localizable-strings: Added.
1627 * Scripts/merge-changelog: Added.
1629 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
1633 Build fix. build-webkit dies with "invalid build action: (empty string)"
1635 * Scripts/build-webkit:
1636 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
1638 2006-01-22 Eric Seidel <eseidel@apple.com>
1642 Fix --no-svg option to use XCode flags instead of gcc flags.
1644 * Scripts/build-webkit:
1646 2006-01-22 Eric Seidel <eseidel@apple.com>
1650 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
1652 * Scripts/build-webkit:
1654 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
1656 Reviewed by eseidel.
1658 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
1659 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
1661 * Scripts/build-drawtest: Changed bareword 'true' to 1.
1662 * Scripts/run-drawtest: Changed bareword 'true' to 1.
1664 2006-01-19 Darin Adler <darin@apple.com>
1666 * Scripts/report-include-statistics: Added a new script.
1668 2006-01-19 Timothy Hatcher <timothy@apple.com>
1670 * Scripts/build-webkit: include JavaScriptGlue in the build
1672 2006-01-19 Darin Adler <darin@apple.com>
1674 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
1675 spaces in it by using the form of open that treats each argument as a string
1676 rather than backtick syntax for reading the output of the nm tool.
1678 2006-01-12 Maciej Stachowiak <mjs@apple.com>
1682 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
1683 detect if there are any new tests
1685 * Scripts/prepare-ChangeLog:
1687 2006-01-12 Darin Adler <darin@apple.com>
1689 - removed some of the cvs-specific scripts -- not needed for this project any more
1691 * Scripts/cvs-abandon: Removed.
1692 * Scripts/cvs-apply: Removed.
1693 * Scripts/cvs-create-patch: Removed.
1694 * Scripts/cvs-unapply: Removed.
1696 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1698 Reviewed by eseidel. Committed by eseidel.
1700 - run-webkit-tests always launches Safari when tests fail
1701 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
1703 * Scripts/run-webkit-tests:
1704 Add a command-line flag to prevent Safari being launched to display failed
1705 tests. Always exit with non-zero status when tests have failed.
1707 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1709 Reviewed by eseidel. Committed by eseidel.
1711 - build-webkit should exit with non-zero status when build fails
1712 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
1714 * Scripts/build-webkit:
1715 Use correct bits of subprocess exit code when passing back through
1716 as build-webkit's exit code.
1718 2006-01-10 Eric Seidel <eseidel@apple.com>
1720 Restored corrupted nibs from TOT CVS.
1722 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
1723 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
1724 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
1725 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
1726 * DrawTest/English.lproj/Inspector.nib: Replaced.
1727 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
1728 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
1729 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
1730 * DrawTest/English.lproj/MainMenu.nib: Replaced.
1731 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
1732 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
1733 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
1734 * DrawTest/English.lproj/TestViewer.nib: Replaced.
1735 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
1736 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
1737 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
1739 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
1741 Reviewed by eseidel. Committed by eseidel.
1743 DrawTestView now subclasses WebView instead of DrawView.
1745 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1746 * DrawTest/DrawTestDocument.h:
1747 * DrawTest/DrawTestDocument.m:
1748 (-[DrawTestDocument dealloc]):
1749 (-[DrawTestDocument readFromFile:ofType:]):
1750 (-[DrawTestDocument windowControllerDidLoadNib:]):
1751 (-[DrawTestDocument dumpSVGToConsole:]):
1752 (-[DrawTestDocument openSourceForSelection:]):
1753 (-[DrawTestDocument dataRepresentationOfType:]):
1754 * DrawTest/DrawTestToolbarController.h:
1755 * DrawTest/DrawTestToolbarController.m:
1756 (-[DrawTestToolbarController initWithDrawView:]):
1757 (-[DrawTestToolbarController clickedToolbarItem:]):
1758 (-[DrawTestToolbarController validateToolbarItem:]):
1759 * DrawTest/DrawTestView.h:
1760 * DrawTest/DrawTestView.m:
1761 (-[DrawTestView initWithFrame:]):
1762 (-[DrawTestView setDocument:]):
1763 * DrawTest/SVGTest.h:
1764 * DrawTest/SVGTest.m:
1765 (+[SVGTest sharedDrawView]):
1766 (-[SVGTest generateCompositeIfNecessary]):
1767 * DrawTest/TestController.h:
1768 * DrawTest/TestController.m:
1769 (-[TestController awakeFromNib]):
1770 (-[TestController setSelectedTest:]):
1771 (-[TestController openTestViewerForSelection:]):
1772 (-[TestController toggleViewersScaleRule:]):
1773 * DrawTest/TestViewerSplitView.m:
1774 (-[TestViewerSplitView drawRect:]):
1776 2006-01-10 Anders Carlsson <andersca@mac.com>
1778 Reviewed by Timothy.
1780 * DumpRenderTree/DumpRenderTree.m:
1781 (main): Set the default language to "en", so language tests will work.
1783 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1787 - script to generate HTML wrappers for JS tests
1788 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
1790 * Scripts/make-js-test-wrappers: Added.
1792 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1796 * Scripts/svn-create-patch: Fix to work when passed directory names.
1798 2006-01-08 Geoffrey Garen <ggaren@apple.com>
1802 - Added back/forward navigation support to DumpRenderTree. Hopefully we
1803 can start writing automated loader tests now. I have one in the works.
1805 * DumpRenderTree/DumpRenderTree.m:
1806 (main): Construct global navigationController on entry, destroy on exit.
1807 Set frame to nil on exit too, to match all the other global objects.
1808 (Probably academic, since the process is exiting, anyway.)
1809 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
1810 navigationController, in case it wants to kick off a load.
1811 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
1812 the navigationController to scripting.
1814 New class, should be straightforward:
1816 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1817 * DumpRenderTree/NavigationController.h: Added.
1818 * DumpRenderTree/NavigationController.m: Added.
1820 (+[NavigationController isSelectorExcludedFromWebScript:]):
1821 (+[NavigationController webScriptNameForSelector:]):
1822 (-[NavigationController setPendingScript:]):
1823 (-[NavigationController setPendingRequest:]):
1824 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
1825 (-[NavigationController webView:didFinishLoadForFrame:]):
1826 (-[NavigationController dealloc]):
1828 2006-01-08 Timothy Hatcher <timothy@apple.com>
1830 Removed this script, no longer needs with the Subversion switch.
1832 * checkout: Removed.
1834 2006-01-08 Timothy Hatcher <timothy@apple.com>
1836 Removes some stray tabs.
1838 * Scripts/update-webkit:
1840 2005-01-07 Eric Seidel <eseidel@apple.com>
1844 build-webkit should pass on build arguments from command line
1845 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
1847 * Scripts/build-webkit:
1849 2006-01-07 Eric Seidel <eseidel@apple.com>
1851 Reviewed by mjs & xenon.
1853 * Scripts/update-webkit: support Internal updates as well
1855 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1857 Temporarily rolling out plugin support from DumpRenderTree because it
1858 caused lots of layout test regressions.
1860 * DumpRenderTree/DumpRenderTree.m:
1861 (main): Remove invisible window added to support plugins.
1863 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1867 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
1868 Add plugin support to DumpRenderTree
1870 Also wrote first test plugin.
1872 * DumpRenderTree/DumpRenderTree.m:
1874 (1) Put the WebView in an invisible window, because PlugIns are
1875 optimized not to load if there's no parent window.
1876 (2) Tell WebKit to load any PlugIns in the directory from which we
1877 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
1878 and they'll load automagically during layout testing, but they won't be
1879 added to the user's system, hosing apps like Safari.
1881 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
1882 test PlugIn to project.
1884 PlugIn added to project:
1886 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
1887 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
1889 (initializeIdentifiers):
1890 (pluginHasProperty):
1892 (pluginGetProperty):
1893 (pluginSetProperty):
1895 (pluginInvokeDefault):
1899 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
1900 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
1902 (NP_GetEntryPoints):
1908 (NPP_DestroyStream):
1918 2006-01-04 Timothy Hatcher <timothy@apple.com>
1922 Tweaked and tested by me.
1924 New scripts to work with Subversion when the switch happens.
1925 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
1927 * Scripts/svn-apply: Added.
1928 * Scripts/svn-create-patch: Added.
1929 * Scripts/svn-unapply: Added.
1931 2005-12-30 Eric Seidel <eseidel@apple.com>
1935 Move WebView width/height logic into DumpRenderTree to support
1936 running the W3C SVG 1.1 tests along side other tests. The W3C
1937 SVG 1.1 tests require a 480x360 view.
1939 * DumpRenderTree/DumpRenderTree.m:
1940 (main): don't accept width/height
1941 (dump): override width/height for SVG/W3C
1942 * Scripts/run-webkit-tests: don't pass width/height
1944 2005-12-30 Eric Seidel <eseidel@apple.com>
1946 No review, only removing dead code.
1948 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
1949 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
1951 2005-12-30 Eric Seidel <eseidel@apple.com>
1955 DumpRenderTree should set a consistent color profile while running
1956 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
1958 Creates consistent colormatched renderings on every test machine
1959 using the only way possible with Tiger APIs: by setting the
1960 system color profile on the test machine for the duration of the
1961 tests. This will (unfortunately) cause colors to change while
1962 running DumpRenderTree. This can also cause "permanent" color
1963 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
1964 This is far from ideal, but it's be best way we've found to deal
1965 with the issue for now.
1967 * DumpRenderTree/DumpRenderTree.m:
1968 (restoreColorSpace):
1969 (setDefaultColorProfileToRGB):
1972 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
1974 Reviewed by Darin Adler.
1976 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
1977 cvs-create-patch --include produces incorrect paths
1979 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
1981 2005-12-19 Eric Seidel <eseidel@apple.com>
1985 * Scripts/run-webkit-tests: stop /etc/catalog warnings
1987 2005-12-19 Darin Adler <darin@apple.com>
1989 Reviewed by Eric Seidel.
1991 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
1992 WebKit needs to use a local pasteboard during testing
1994 * DumpRenderTree/DumpRenderTree.m:
1995 (main): Call poseAs to substitute our NSPasteboard class for the default one.
1996 Create a local pasteboard (really a global one with a unique name) and release
1997 it when exiting from the function so we don't leave it in the pasteboard server.
1998 (dumpRenderTree): Added an autorelease pool around one small bit of code that
1999 ddn't have one. Fixed a leak in an unlikely error case.
2000 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2001 of this method to return our local pasteboard.
2003 2005-12-15 Eric Seidel <eseidel@apple.com>
2005 Reviewed by Tim Hatcher.
2007 * Scripts/build-webkit: --svg is now default!
2009 2005-12-15 Eric Seidel <eseidel@apple.com>
2013 Don't run svg test automatically if +SVG is built (yet).
2015 * Scripts/run-webkit-tests:
2017 2005-12-15 Darin Adler <darin@apple.com>
2019 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2020 support is not compiled in. Report the 10 slowest tests if "--slowest" is
2021 passed on the command line.
2023 2005-12-06 John Sullivan <sullivan@apple.com>
2025 Reviewed by Darin Adler.
2027 * Scripts/prepare-ChangeLog:
2028 Remove special-case handling for nib files. This avoided trouble with cvs diff
2029 when we were using wrappers for nib files. Now that we aren't using wrappers,
2030 there's no reason to avoid adding the modified nib files to the file list that
2033 2005-12-05 Eric Seidel <eseidel@apple.com>
2037 Script updates for SVG files move (remove references to SVGSupport)
2039 * Scripts/build-webkit: remove SVGSupport
2040 * Scripts/run-webkit-tests: Resources -> resources for --svg
2041 * Scripts/update-webkit: remove SVGSupport
2043 2005-12-05 Eric Seidel <eseidel@apple.com>
2047 * checkout: remove --svg support, SVG is now checked out by default
2049 2005-11-29 Eric Seidel <eseidel@apple.com>
2053 Update scripts to run SVG tests automatically (w/o --svg) if
2054 WebCore is built with SVG support.
2056 * Scripts/build-drawtest: SVG support required
2057 * Scripts/build-dumpkcanvastree: Removed.
2058 * Scripts/run-drawtest: SVG support required to run
2059 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2060 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2062 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
2064 Reviewed by Darin. Committed by Maciej.
2066 - fixed "DumpRenderTree should test for Ahem before doing anything else"
2067 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2069 * DumpRenderTree/DumpRenderTree.m:
2072 2005-11-28 Eric Seidel <eseidel@apple.com>
2074 Reviewed by sullivan and GGAREN.
2076 Minor additions to make error messages more clear from cvs-apply.
2078 * Scripts/cvs-apply: make errors more clear
2080 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2082 Reviewed and committed by Maciej.
2084 - fixed cvs-create-patch --include produces incorrect paths
2085 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2087 * Scripts/cvs-create-patch: produce proper paths for new files.
2089 2005-11-21 Eric Seidel <eseidel@apple.com>
2093 Some simple fixes to the build/test scripts now that SVG uses the
2094 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
2095 or symlinks for KDOM.
2097 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2098 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2099 * Scripts/run-webkit-tests: now runs SVG tests using DRT
2100 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
2101 * checkout: no longer symlink kdom
2103 2005-11-10 Eric Seidel <eseidel@apple.com>
2107 * Scripts/build-webkit: Pass through options to xcodebuild
2109 2005-11-07 Darin Adler <darin@apple.com>
2111 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2113 2005-11-03 John Sullivan <sullivan@apple.com>
2117 * Scripts/run-safari:
2118 changed message to say "Starting Safari" instead of odd "Start Safari"
2119 * Scripts/run-webkit-tests:
2120 changed the way we pass the file parameter to use -NSOpen rather than relying on
2121 unlabeled arguments being treated as files. This was failing on some machines that
2122 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2124 2005-10-27 Geoffrey Garen <ggaren@apple.com>
2126 Patch by Alexey Proskuryakov.
2130 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2131 TextInputController should support attributed strings
2133 * DumpRenderTree/TextInputController.m:
2134 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2135 (+[NSMutableAttributedString webScriptNameForSelector:]):
2136 (-[NSMutableAttributedString getLength]):
2137 (-[NSMutableAttributedString attributeNamesAtIndex:]):
2138 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2139 (-[NSMutableAttributedString addAttribute:value:]):
2140 (-[NSMutableAttributedString addAttribute:value:from:length:]):
2141 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2142 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2143 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2144 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2145 (+[TextInputController isSelectorExcludedFromWebScript:]):
2146 (+[TextInputController webScriptNameForSelector:]):
2147 (-[TextInputController insertText:]):
2148 (-[TextInputController attributedSubstringFrom:length:]):
2149 (-[TextInputController attributedStringWithString:]):
2151 2005-10-11 Eric Seidel <eseidel@apple.com>
2155 Checks for leaks in ImageDiff too.
2157 * Scripts/run-webkit-tests:
2159 2005-10-09 Darin Adler <darin@apple.com>
2161 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2162 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2163 * Scripts/cvs-unapply: Ditto.
2164 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2166 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
2168 Reviewed, rearranged and landed by Darin.
2170 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2171 Need a way to automatically test for regressions in NSTextInput implementation
2173 * DumpRenderTree/DumpRenderTree.m:
2174 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2175 Create a text input controller and put it in a property of the window object.
2177 * DumpRenderTree/TextInputController.h: Added.
2178 * DumpRenderTree/TextInputController.m: Added.
2179 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2181 2005-10-06 Darin Adler <darin@apple.com>
2183 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2184 are controlled by cvs, or when changes cross multiple repositories.
2185 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2187 2005-10-03 Eric Seidel <eseidel@apple.com>
2191 Make mouseDown and mouseUp force layout before acting.
2192 This is used by a new test case for 4233558.
2194 * DumpRenderTree/DumpRenderTree.m:
2195 (-[EventSendingController mouseDown]): force layout
2196 (-[EventSendingController mouseUp]): force layout
2198 2005-09-30 Eric Seidel <eseidel@apple.com>
2202 Updated all the scripts for the move:
2203 WebCore/layout-tests -> LayoutTests
2205 * Scripts/check-dom-results:
2206 * Scripts/prepare-ChangeLog:
2207 * Scripts/run-webkit-tests:
2208 * Scripts/update-webkit: added --no-tests
2209 * checkout: added --no-tests
2211 2005-09-28 Darin Adler <darin@apple.com>
2213 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2214 pixel test should run even if render trees differ
2216 * Scripts/run-webkit-tests: Don't check if the text dump matches.
2218 2005-09-27 Eric Seidel <eseidel@apple.com>
2220 No review needed, SVG build fix only.
2222 * DumpKCanvasTree/DumpKCanvasTree.m:
2223 Missed one in my previous checkin.
2224 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2226 2005-09-26 Eric Seidel <eseidel@apple.com>
2228 No review needed, SVG build fix only.
2230 * DrawTest/DrawTestDocument.m:
2231 * DrawTest/DrawTestToolbarController.m:
2232 * DrawTest/DrawTestView.h:
2233 * DrawTest/DrawTestView.m:
2234 * DrawTest/SVGTest.m:
2235 * DrawTest/TestController.m:
2236 Updated for WebCore+SVG -> WebCore rename.
2237 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2239 2005-09-26 Eric Seidel <eseidel@apple.com>
2243 * DumpRenderTree/DumpRenderTree.m:
2244 (dump): updated error message
2245 * Scripts/check-dom-results: now includes xhtml
2246 Tool updates for xhtml.
2247 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2249 2005-09-22 Duncan Wilcox <duncan@mclink.it>
2254 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2255 "Would like to simulate human interaction with webview"
2257 * DumpRenderTree/DumpRenderTree.m:
2258 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2259 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2260 (+[EventSendingController webScriptNameForSelector:]):
2261 (-[EventSendingController init]):
2262 (-[EventSendingController mouseDown]):
2263 (-[EventSendingController mouseUp]):
2264 (-[EventSendingController mouseMoveToX:Y:]):
2265 Add eventSender javascript object, that sends fake mouse events to the webview.
2267 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2268 link with Carbon.framework
2270 2005-09-22 Eric Seidel <eseidel@apple.com>
2274 Update tools for WebCore+SVG -> WebCore rename.
2275 Also fold several SVG specific tools into their original
2276 WebCore counterparts.
2277 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2279 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2280 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2281 * Scripts/build-drawtest:
2282 * Scripts/build-dumpkcanvastree:
2283 * Scripts/build-webcore-svg: Removed.
2284 * Scripts/build-webkit: added --svg option
2285 * Scripts/run-drawtest:
2286 * Scripts/run-webkit-tests:
2287 * Scripts/webkitdirs.pm: various additions.
2288 * checkout: added --svg option
2289 * checkout-svg: Removed.
2291 2005-09-19 Eric Seidel <eseidel@apple.com>
2295 * Scripts/run-webkit-tests: added --guard-malloc option
2296 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2298 2005-09-16 Justin Garcia <justin.garcia@apple.com>
2302 Removed a script that is only used by apple internal developers
2304 * Scripts/update-webkitsysteminterface: Removed.
2306 2005-09-16 Adele Peterson <adele@apple.com>
2310 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2312 2005-09-14 Darin Adler <darin@apple.com>
2314 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2315 dumpAsText doesn't work with XHTML documents
2317 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2318 rather than of the body element. This works with typical XHTML documents. We can probably
2319 do something even better in the long run, but this fixes the immediate issue.
2323 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2324 run-safari instead of just using "open", which often runs another copy of Safari instead.
2326 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
2328 Reviewed, tweaked, and landed by Darin.
2330 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2331 .Mac prefpane crashes when Safari using CVS WebKit is running
2333 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2334 * Scripts/run-webkit-app: Ditto.
2336 2005-09-11 Darin Adler <darin@apple.com>
2338 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2340 2005-09-11 Darin Adler <darin@apple.com>
2344 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2345 two ways: 1) puts all files in a directory before any files in a subdirectory, and
2346 2) sort file names with numeric digits in them in a logical way, so test-33 will come
2349 2005-09-08 Justin Garcia <justin.garcia@apple.com>
2353 * Scripts/update-webkitsysteminterface: Added.
2354 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2356 2005-09-01 John Sullivan <sullivan@apple.com>
2358 * Scripts/run-webkit-tests:
2359 Excluded a known system leak to reduce noise; added comments about which leaks
2362 2005-09-01 Tim Omernick <tomernick@apple.com>
2364 Change made by Darin, reviewed by John and myself.
2366 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2368 * Scripts/prepare-ChangeLog:
2370 2005-08-31 Maciej Stachowiak <mjs@apple.com>
2374 - set color variant and font settings to a consistent value.
2375 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2377 * DumpRenderTree/DumpRenderTree.m:
2380 2005-08-30 Eric Seidel <eseidel@apple.com>
2384 * Scripts/build-svg2png: Removed.
2385 * svg2png/ImageDiff.h: Removed.
2386 * svg2png/ImageDiff.m: Removed.
2387 * svg2png/svg2png.m: Removed.
2388 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2389 * svg2png/svg2png_Prefix.pch: Removed.
2390 svg2png is no longer needed.
2392 2005-08-30 Darin Adler <darin@apple.com>
2394 * Scripts/check-dom-results: Special case 100% to say something nice.
2395 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2396 applying the patch (need a better name).
2397 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2399 2005-08-30 Darin Adler <darin@apple.com>
2401 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2403 2005-08-29 Maciej Stachowiak <mjs@apple.com>
2407 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2408 (some pixel tests fail when AA settings are changed)
2410 * DumpRenderTree/DumpRenderTree.m:
2411 (main): set AA settings to the default values
2413 2005-08-29 Darin Adler <darin@apple.com>
2415 Reviewed by John Sullivan.
2417 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2418 executable -- much slower but can help pinpoint leaks. Changed formatting of some
2421 2005-08-28 Maciej Stachowiak <mjs@apple.com>
2425 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2426 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2428 * DumpRenderTree/DumpRenderTree.m:
2429 (main): set scrollbar arrow setting to a consistent value
2431 2005-08-27 Jussi Hagman <juhagman@abo.fi>
2433 Reviewed and landed by Darin.
2435 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2436 output of update-webkit is too verbose
2438 * Scripts/update-webkit:
2439 Added option --quiet (-q) to decrease the amount of output.
2441 2005-08-27 Darin Adler <darin@apple.com>
2443 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2444 cvs-create-patch --include-unknowns should ignore hidden files
2446 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2448 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
2450 Reviewed, tweaked, and landed by Darin.
2452 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2453 update-webkit doesn't notice when you have SVGSupport and update properly
2455 * Scripts/update-webkit: Build SVGSupport directory if it's present.
2457 2005-08-25 Anders Carlsson <andersca@mac.com>
2459 Reviewed and landed by Darin.
2461 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2462 layout test machinery can't handle tests with applets that have code attributes
2464 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2466 2005-08-24 Darin Adler <darin@apple.com>
2470 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2471 DumpRenderTree --pixel-tests crash
2472 - landed some other small changes I had sitting in my tree
2474 * DumpRenderTree/DumpRenderTree.m:
2475 (main): Don't bother saving and restoring the preferences. Not sure
2476 why this was ever done since the preferences are specific to DumpRenderTree.
2477 Clear delegates before releasing the WebView, because you can't count on the
2478 order of object deallocation.
2479 (dumpRenderTree): Fix code that releases a string before storing it in a
2482 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2483 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2485 2005-08-23 Eric Seidel <eseidel@apple.com>
2489 * Scripts/run-webkit-tests:
2490 Made --leaks option more readable by printing to a file.
2491 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2493 2005-08-22 Eric Seidel <eseidel@apple.com>
2494 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2498 * Scripts/run-webkit-tests: hides "expected actual diffs" links
2499 when they are not needed (for pixel-only failures)
2500 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2502 2005-08-22 Eric Seidel <eseidel@apple.com>
2506 * Scripts/run-webkit-tests: Added the ability to display more than
2507 just two images as part of the image-diff "slideshow".
2508 Added display of "-w3c.png" baseline images for SVG.
2509 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2511 2005-08-20 Eric Seidel <eseidel@apple.com>
2513 * Scripts/run-webkit-tests:
2514 "build" fix after committing incorrect version.
2516 2005-08-20 Eric Seidel <eseidel@apple.com>
2520 * DumpRenderTree/DumpRenderTree.m:
2521 (main): cleans up delegates
2522 (dumpRenderTree): closes CFString/CFURL leak
2523 * Scripts/run-webkit-tests:
2524 Adds --leaks option to run-webkit-tests
2525 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2527 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
2531 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2532 new files to be included in the patch even without "cvs add".
2534 2005-08-19 Darin Adler <darin@apple.com>
2536 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2537 non-cvs-generated patches. Anders has been creating these, so it's bad that
2538 the script can't handle them.
2539 * Scripts/cvs-unapply: Ditto.
2541 2005-08-18 Darin Adler <darin@apple.com>
2543 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2544 "." in them -- based on complaint by someone here at Apple.
2546 2005-08-18 Eric Seidel <eseidel@apple.com>
2550 * Scripts/run-webkit-tests:
2551 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2553 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2555 - add file that I forgot in the last checkin
2557 * DumpRenderTree/ImageDiff.m: Added.
2559 (getImageFromStdin):
2561 (getDifferenceBitmap):
2562 (computePercentageDifferent):
2564 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2566 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2567 somewhat by me, and also tweaked by me a little bit.
2569 - better support for pixel-dumping
2570 - use checksums of the images so the tests are fast
2571 - change output format to make the tests run faster
2572 - don't dump pixel results for tests that dump as text
2574 * DumpKCanvasTree/DumpKCanvasTree.m:
2577 (md5HashStringForBitmap):
2579 (constrainSizeToMaximum):
2580 (getBitmapImageRepForSVGDocument):
2581 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2582 * DumpRenderTree/DumpRenderTree.m:
2586 (md5HashStringForBitmap):
2587 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2588 * Scripts/run-webkit-tests:
2590 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2594 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2596 * DumpRenderTree/DumpRenderTree.m:
2599 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2601 Reviewed and landed by Darin.
2603 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
2604 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
2606 * Scripts/run-safari: Pass arguments through to Safari on command line.
2607 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2609 2005-08-11 Eric Seidel <eseidel@apple.com>
2610 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2612 Reviewed by eseidel.
2614 * DrawTest/TestController.m:
2615 (-[TestController imagePathForSVGPath:]):
2616 Fixed support for using TextViewer with the layout-tests.
2617 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2619 2005-08-11 Maciej Stachowiak <mjs@apple.com>
2621 At Least Roughly Glanced At by Anders.
2623 - fix change with totally breaks the layout tests.
2625 * DumpRenderTree/DumpRenderTree.m:
2626 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
2627 load, to avoid dumping twice accidentally.
2629 2005-08-10 Eric Seidel <eseidel@apple.com>
2630 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
2634 * DumpRenderTree/DumpRenderTree.m:
2635 Added support for rendering to a PNG file.
2636 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2638 2005-08-07 Eric Seidel <eseidel@apple.com>
2642 * Scripts/run-webkit-tests: added --svg option
2643 * Scripts/run-webkit-tests-svg: Removed.
2644 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2646 2005-08-07 Eric Seidel <eseidel@apple.com>
2647 Changes by Ben La Monica <ben.lamonica@gmail.com>
2651 * svg2png/ImageDiff.h: Added.
2652 * svg2png/ImageDiff.m: Added.
2653 (getDifferenceBitmap):
2654 (computePercentageDifferent):
2655 (saveAnimatedGIFToFile):
2656 * svg2png/svg2png.m:
2657 (usage): added several new options
2658 (getBitmapForSVG): added NSBitmapImageRep generation
2659 (main): various argument changes.
2660 * svg2png/svg2png.xcodeproj/project.pbxproj:
2661 Several additions to provide image differencing functionality.
2662 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
2664 2005-08-07 Eric Seidel <eseidel@apple.com>
2668 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
2669 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
2670 Adding the first SVG layout tests:
2671 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
2673 2005-08-07 Darin Adler <darin@apple.com>
2675 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
2677 2005-08-06 Eric Seidel <eseidel@apple.com>
2681 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
2682 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
2683 * Scripts/build-dumpkcanvastree: Added.
2684 * Scripts/run-webkit-tests-svg: Added.
2685 Adds a DumpRenderTree-like tool for SVG which allows us to do
2686 text-based layout regression testing. This (like most of the
2687 SVG specific stuff) is temporary and will be replaced by
2688 DumpRenderTree once the DOMs and RenderTrees merge.
2689 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
2691 2005-08-06 Eric Seidel <eseidel@apple.com>
2695 * DrawTest/DrawTestView.m:
2696 (-[DrawTestView toggleFilterSupport:]): missing negation.
2697 One half of fix for toggling filter support.
2698 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
2700 2005-08-04 Eric Seidel <eseidel@apple.com>
2704 * Scripts/build-drawtest:
2705 * Scripts/build-dumprendertree:
2706 * Scripts/build-svg2png:
2707 * Scripts/build-webcore-svg:
2708 * Scripts/build-webkit:
2709 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
2710 Added checkRequiredSystemConfig and made all the build-* scripts
2711 use it to print a pretty warning when trying to compile on an
2712 unsupported system (less than 10.4, Xcode 2.1).
2713 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
2715 2005-08-04 Darin Adler <darin@apple.com>
2717 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
2718 the dead. It was removed by accident when someone was trying to work on the branch.
2720 2005-07-31 Darin Adler <darin@apple.com>
2722 - a little tools cleanup
2724 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
2725 project as a whole. Removed unused Default configuration.
2727 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2729 2005-07-31 Duncan Wilcox <duncan@mclink.it>
2731 Reviewed and landed by Darin Adler.
2733 Add logging of editing delegate calls for regression checking.
2735 * DumpRenderTree/DumpRenderTree.m:
2737 setup editing delegate
2739 (-[DOMNode dumpPath]):
2741 utility for editing delegate logging
2743 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2744 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2745 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2746 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2747 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2748 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2749 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2750 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2751 (-[EditingDelegate webViewDidBeginEditing:]):
2752 (-[EditingDelegate webViewDidChange:]):
2753 (-[EditingDelegate webViewDidEndEditing:]):
2754 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2755 log corresponding editing delegate methods
2757 (-[EditingDelegate webViewDidChangeSelection:]):
2758 log selection except when clearing selection after end of test (uses existing "done" flag)
2761 added clearing of selection after test
2763 2005-07-31 Eric Seidel <eseidel@apple.com>
2767 * Scripts/build-drawtest: Added.
2768 * Scripts/build-svg2png: Added.
2769 * Scripts/build-webcore-svg: Added.
2770 * Scripts/run-drawtest: Added.
2771 * Scripts/webkitdirs.pm: added checkSVGFrameworks
2772 Made it much easier to build WebCore+SVG.
2773 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2775 2005-07-29 Eric Seidel <eseidel@apple.com>
2779 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2780 Build fix. Removed bad path.
2782 2005-07-29 Eric Seidel <eseidel@apple.com>
2784 Reviewed by sullivan.
2786 * DrawTest/AppDelegate.h: Added.
2787 * DrawTest/AppDelegate.m: Added.
2788 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
2789 * DrawTest/DrawTestDocument.h: Added.
2790 * DrawTest/DrawTestDocument.m: Added.
2791 * DrawTest/DrawTestInspectorController.h: Added.
2792 * DrawTest/DrawTestInspectorController.m: Added.
2793 * DrawTest/DrawTestToolbarController.h: Added.
2794 * DrawTest/DrawTestToolbarController.m: Added.
2795 * DrawTest/DrawTestView.h: Added.
2796 * DrawTest/DrawTestView.m: Added.
2797 * DrawTest/DrawTest_Prefix.pch: Added.
2798 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
2799 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
2800 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
2801 * DrawTest/English.lproj/InfoPlist.strings: Added.
2802 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
2803 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
2804 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
2805 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
2806 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
2807 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2808 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
2809 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
2810 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
2811 * DrawTest/Info.plist: Added.
2812 * DrawTest/SVGTest.h: Added.
2813 * DrawTest/SVGTest.m: Added.
2814 * DrawTest/ScalingImageView.h: Added.
2815 * DrawTest/ScalingImageView.m: Added.
2816 * DrawTest/TestController.h: Added.
2817 * DrawTest/TestController.m: Added.
2818 * DrawTest/TestViewerSplitView.h: Added.
2819 * DrawTest/TestViewerSplitView.m: Added.
2820 * DrawTest/main.m: Added.
2821 Adding simple cocoa app for testing SVG rendering, interaction.
2822 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
2824 2005-07-28 Eric Seidel <eseidel@apple.com>
2828 * svg2png/svg2png.m: Added.
2829 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
2830 * svg2png/svg2png_Prefix.pch: Added.
2831 Added a simple test tool which dumps a PNG from an SVG using
2832 WebCore+SVG's SVG rendering support.
2833 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
2835 2005-07-26 Maciej Stachowiak <mjs@apple.com>
2839 - new script to review the DOM layout test results and see where we stand
2840 on actual success and failure
2842 * Scripts/check-dom-results: Added.
2844 2005-07-25 Darin Adler <darin@apple.com>
2846 * Scripts/webkitdirs.pm: Check in missing line of code.
2848 2005-07-25 Darin Adler <darin@apple.com>
2850 - fixed problem that was causing JavaScriptCore test to fail
2851 (except for people who had set DYLD_FRAMEWORK_PATH)
2853 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
2854 Add code to parse configuration parameter so you can pass --deployment if you like.
2855 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
2857 * Scripts/update-javascriptcore-test-results: Add license header.
2859 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
2860 from @ARGV. This lets us use this option in commands that take other options and
2861 pass them along to a subsequent tool.
2863 2005-07-25 Darin Adler <darin@apple.com>
2865 Reviewed by Geoff Garen.
2867 - Fixed run-safari and gdb-safari to use the Safari application in the build results
2868 directory, if any, falling back to the one in the Applications directory otherwise.
2869 Does no harm for open source contributors who don't build Safari, and helps out the
2870 Safari team, since we do build Safari.
2872 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
2873 variable, and if that's not present, looks in either the build results directory or
2874 /Applications; factors code that was in both scripts before into a shared function.
2875 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
2876 now in Xcode 2.1 format and incompatible with older versions of Xcode.
2878 * Scripts/gdb-safari: Use safariPath.
2879 * Scripts/run-safari: Use safariPath.
2881 2005-07-22 Geoffrey Garen <ggaren@apple.com>
2883 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
2884 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
2886 Moved Tools/Scripts/update-mozilla-js-test-results to
2887 WebKitTools/Scripts/update-javascriptcore-test-results.
2891 * Scripts/run-javascriptcore-tests: Added.
2893 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2897 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2899 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2901 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
2903 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2905 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
2907 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2909 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
2911 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2913 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
2915 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2917 * Scripts/build-webkit:
2919 2005-07-12 Eric Seidel <eseidel@apple.com>
2923 * checkout-svg: Fixed error with symlink creation.
2925 2005-07-12 Eric Seidel <eseidel@apple.com>
2929 * checkout-svg: Added.
2930 Script to check out WebCore+SVG
2932 2005-06-30 Darin Adler <darin@apple.com>
2934 Changes based on input from Michael Kahl.
2936 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
2937 specify different style of "diff".
2938 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
2939 determineConfigurationProductDir works in all cases.
2941 2005-06-29 Darin Adler <darin@apple.com>
2943 - fixed bug which would result in multiple unwanted dumps in a single layout test
2945 * DumpRenderTree/DumpRenderTree.m:
2946 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
2948 (-[LayoutTestController waitUntilDone]): Update for name change.
2949 (-[LayoutTestController notifyDone]): Dump only if ready.
2950 (dumpRenderTree): Set up new boolean and update for name change.
2952 2005-06-29 Darin Adler <darin@apple.com>
2954 Changes by Timothy Hatcher.
2957 * Scripts/run-webkit-app: Added script to open an arbritrary application with
2958 a CVS built WebKit. Example: ./run-webkit-app Colloquy
2960 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
2961 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
2962 * Scripts/run-safari: Ditto.
2964 2005-06-26 Darin Adler <darin@apple.com>
2966 * Scripts/build-dumprendertree: Pass -project option so that having a second
2967 copy of the project (like the one Xcode 2.1 offers to make for you) that's
2968 out of date won't screw you up.
2969 * Scripts/build-webkit: Ditto.
2971 2005-06-23 Darin Adler <darin@apple.com>
2973 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
2975 2005-06-23 Darin Adler <darin@apple.com>
2977 Changes based on input from Michael Kahl.
2979 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
2980 directory passed in.
2982 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
2983 getcwd() in the code to find the base product dir. Added code to handle unusual
2984 base product directory values that use SRCROOT.
2986 2005-06-22 Darin Adler <darin@apple.com>
2988 Change by Anders Carlsson.
2990 - added support for dumping title changes
2992 * DumpRenderTree/DumpRenderTree.m:
2993 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
2994 if requested by JavaScript.
2995 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
2996 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
2997 (dumpRenderTree): Start flag as NO.
2999 2005-06-20 Darin Adler <darin@apple.com>
3001 Reviewed by Justin Garcia.
3003 * Scripts/run-webkit-tests: Report number of tests when they succeed.
3005 2005-06-18 Darin Adler <darin@apple.com>
3007 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
3008 in the hope of making the tool use less memory and run faster.
3010 2005-06-18 Darin Adler <darin@apple.com>
3012 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
3013 * Scripts/cvs-unapply: Ditto.
3015 2005-06-17 Maciej Stachowiak <mjs@apple.com>
3017 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
3018 benefit of all WebKit hackerdom
3020 * Scripts/prepare-ChangeLog: Added.
3022 2005-06-16 Darin Adler <darin@apple.com>
3024 - recent changes to XcodeOptions made it depend on the current directory
3025 The intent was to have the WebKitBuild directory be next to WebKitTools,
3026 not inside the various build directories. Workaround for now is to call
3027 XcodeOptions when the directory is set to the WebKit directory.
3029 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
3030 at the start of the script.
3031 * Scripts/build-webkit: Ditto.
3033 2005-06-15 Darin Adler <darin@apple.com>
3035 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
3037 2005-06-14 Darin Adler <darin@apple.com>
3039 Changes by Anders Carlsson.
3042 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
3043 Add gdb-safari script to launch Safari under gdb
3045 * Scripts/gdb-safari: Added.
3047 2005-06-12 Darin Adler <darin@apple.com>
3049 Changes by Stuart Morgan.
3052 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
3053 * Scripts/cvs-apply: Ditto.
3054 * Scripts/cvs-create-patch: Ditto.
3055 * Scripts/cvs-unapply: Ditto.
3056 * Scripts/run-webkit-tests: Ditto.
3057 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
3059 2005-06-12 Darin Adler <darin@apple.com>
3061 * Scripts/cvs-apply: Handle case of an empty patch better.
3062 * Scripts/cvs-unapply: Ditto.
3064 2005-06-12 Darin Adler <darin@apple.com>
3066 Changes by Michael Gaiman.
3069 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
3070 WebKit no longer builds after configuration supporting build changes
3072 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
3074 2005-06-12 Darin Adler <darin@apple.com>
3076 * Scripts/update-webkit: Make this script work when called from any directory.
3078 2005-06-12 Darin Adler <darin@apple.com>
3081 Includes changes by Stuart Morgan as well as my own.
3083 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
3084 symrootXcodeOptions to set the -buildstyle option.
3085 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
3086 The new --development option does the same thing.
3087 * Scripts/run-safari: Ditto.
3088 * Scripts/run-webkit-tests: Ditto.
3089 * Scripts/update-webkit: Ditto.
3090 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
3092 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
3093 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
3094 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
3095 product directory. Read the default configuration from a file, overridable by a passed-in command-line
3098 2005-06-11 Darin Adler <darin@apple.com>
3100 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
3101 to execute the cvs diff commands.
3103 2005-06-11 Darin Adler <darin@apple.com>
3105 - added first cuts at some cvs scripts
3107 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
3108 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
3109 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
3110 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
3112 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
3114 * Scripts/cvs-abandon: Added.
3115 * Scripts/cvs-apply: Added.
3116 * Scripts/cvs-create-patch: Added.
3117 * Scripts/cvs-unapply: Added.
3119 2005-06-09 Darin Adler <darin@apple.com>
3123 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
3124 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
3126 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
3127 for Foundation.framework. How was it ever wrong?
3129 - finally, I tested making the default build directory work; it works now
3131 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
3132 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
3133 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
3134 * Scripts/build-dumprendertree: Ditto.
3136 2005-06-09 Darin Adler <darin@apple.com>
3138 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
3139 work. Someone should try building without setting the Xcode build product directory now,
3140 and let me know if it works.
3142 2005-06-08 Darin Adler <darin@apple.com>
3144 - quick fix to try to get build scripts working again
3146 * Scripts/build-dumprendertree: Add FindBin.
3147 * Scripts/build-webkit: Ditto.
3148 * Scripts/run-safari: Ditto.
3149 * Scripts/run-webkit-tests: Ditto.
3150 * Scripts/update-webkit: Ditto.
3152 2005-06-08 Darin Adler <darin@apple.com>
3156 - some build script enhancements
3158 * Scripts/build-dumprendertree: Changed to use webkitdirs.
3159 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
3161 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
3162 before Deplyment in that case.
3163 * Scripts/run-webkit-tests: Changed to use webkitdirs.
3164 * Scripts/update-webkit: Changed to use webkitdirs.
3166 * Scripts/webkitdirs.pm: Added.
3168 2005-06-08 Maciej Stachowiak <mjs@apple.com>
3170 Code change by Toby Peterson <toby@opendarwin.org>
3173 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
3174 get confused because build-webkit now makes even 2.0 build directories look
3177 2005-06-07 Darin Adler <darin@apple.com>
3179 Reviewed by Adele Peterson.
3181 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
3182 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
3183 so we can run tests with Xcode 2.1.
3185 2005-06-07 Darin Adler <darin@apple.com>
3187 Reviewed by Adele Peterson.
3189 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
3190 layout-tests directory to include additional sets of tests.
3192 2005-06-07 Darin Adler <darin@apple.com>
3194 * checkout: Added license.
3195 * Scripts/build-dumprendertree: Ditto.
3196 * Scripts/run-webkit-tests: Ditto.
3197 * Scripts/update-webkit: Ditto.
3199 2005-06-07 Darin Adler <darin@apple.com>
3201 Change by Toby Peterson <toby@opendarwin.org>.
3204 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
3205 * Scripts/run-safari: Ditto.
3207 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3209 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
3211 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3213 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
3215 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3217 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
3219 2005-06-05 Darin Adler <darin@apple.com>
3221 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
3222 * Scripts/build-dumprendertree: Added.
3223 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
3224 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
3226 2005-06-05 Darin Adler <darin@apple.com>
3228 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
3230 2005-06-05 Darin Adler <darin@apple.com>
3232 - add run-webkit-tests script; not working yet but the pieces are there
3234 * Scripts/run-webkit-tests: Added.
3236 * DumpRenderTree/DumpRenderTree.m: Added.
3237 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
3238 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
3239 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
3241 2005-06-05 Darin Adler <darin@apple.com>
3243 - created module, first cut at Web Kit Open Source Project scripts
3246 * Scripts/build-webkit: Added.
3247 * Scripts/run-safari: Added.
3248 * Scripts/update-webkit: Added.
3251 === creation of WebKitTools module ===