1 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
5 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
6 Update iExploder to 1.3.2
8 Test case numbers are not compatible with iExploder 1.2.
10 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
12 * iExploder/CHANGELOG.txt: Added.
13 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
14 * iExploder/README.txt: Added some performance hints.
16 * iExploder/htdocs/config.rb: Added.
17 * iExploder/htdocs/cssproperties.in:
18 * iExploder/htdocs/cssvalues.in:
19 * iExploder/htdocs/htmlattrs.in:
20 * iExploder/htdocs/htmltags.in:
21 * iExploder/htdocs/iexploder.cgi:
22 - Updated to support the latest HTML & CSS tags, properties, and values from both
23 the WebKit and Mozilla CVS tree
24 - cssproperties.in cleanup
25 - Modularized the code a little bit.
26 - Fix subtest bug that was causing last 5 tags to be missed
27 - new subtest algorithm to deal better with larger tag counts
28 - default HTML_MAX_TAGS increased from 32 to 96
30 * iExploder/htdocs/index.html: Updated version to 1.3.2.
31 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
32 alternative to our run-iexploder-tests.
33 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
34 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
35 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
37 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
39 - commit Scripts/run-mangleme-tests (missed it the previous time).
41 2006-04-18 Darin Adler <darin@apple.com>
43 - attempt to fix Windows buildbot
45 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
46 We need a better long-term solution for this.
48 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
52 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
53 Integrate mangleme test script.
55 Works in a similar way to run-iexploder-tests.
57 * Scripts/run-mangleme-tests: Added.
59 * mangleme/Makefile: Added.
60 * mangleme/README: Added.
61 * mangleme/mangle.cgi.c: Added.
62 * mangleme/remangle.cgi.c: Added.
63 * mangleme/tags.h: Added.
65 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
69 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
70 An easier way to save iExploder tests.
72 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
74 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
78 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
79 Integrate iExploder test script.
81 This script generates artificially mangled HTML documents, to test that the browser
82 doesn't crash when handling ill-formed code.
85 run-iexploder-tests Open an interactive test page in Safari+ToT.
86 run-iexploder-tests nnnnn Open test #nnnnn.
89 --guard-malloc (-g) Use Guard Malloc.
90 --port=nnnn Run Apache on port nnnn (default is 8000).
92 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
93 (thus, Apache is still running), e.g.:
94 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
96 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
98 * Scripts/run-iexploder-tests: Added.
100 * iExploder/LICENSE.txt: Added.
101 * iExploder/README.txt: Added.
102 * iExploder/htdocs: Added.
103 * iExploder/htdocs/cssproperties.in: Added.
104 * iExploder/htdocs/cssvalues.in: Added.
105 * iExploder/htdocs/htmlattrs.in: Added.
106 * iExploder/htdocs/htmltags.in: Added.
107 * iExploder/htdocs/htmlvalues.in: Added.
108 * iExploder/htdocs/iexploder.cgi: Added.
109 * iExploder/htdocs/index.html: Added.
110 * iExploder/tools: Added.
111 * iExploder/tools/lasthit.rb: Added.
112 * iExploder/tools/osx_last_crash.rb: Added.
114 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
118 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
119 Restore color profile after a crash
121 * DumpRenderTree/DumpRenderTree.m:
122 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
123 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
124 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
125 and this code may change significantly.
127 (main): Install crashHandler.
129 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
130 (CFStringGetCStringPtr should NEVER EVER be used!).
132 2006-04-15 Darin Adler <darin@apple.com>
136 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
137 Seems xmlsoft.org's HTTP no longer has what we need.
139 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
141 Rubber-stamped by Darin.
143 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
144 upload-disk-image stage on buildslaves fail with "No space left on device"
146 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
147 'hdiutil create'. This creates the initial disk image based on the size of
148 the source folder, and copies the contents to the new disk image. The file
149 extension on the temporary uncompressed disk image has also been altered from
150 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
151 the extension is not ".dmg".
153 2006-04-12 Eric Seidel <eseidel@apple.com>
157 * Scripts/update-webkit: Make this return non-zero when svn fails.
159 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
163 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
164 Make HTTP tests using Perl use .pl extension
166 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
167 removed support for .text. Reduced the number of places that explicitly list supported
168 extensions. Some of the changes come from bug 8121, the patch for which got landed only
171 2006-04-06 Darin Adler <darin@apple.com>
173 Changes requested by Mark Rowe.
175 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
176 trash at the end of the file.
177 * BuildSlaveSupport/build-launcher-dmg: Ditto.
179 * WebKitLauncher/main.m: Removed trash at end of file.
181 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
184 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
186 Reviewed by Darin, landed by Maciej.
188 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
189 and bundles the WebKit frameworks inside it.
190 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
191 containing WebKit.app.
192 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
193 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
194 number of the SVN working copy.
195 * WebKitLauncher: Added.
196 * WebKitLauncher/Info.plist: Added.
197 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
198 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
199 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
200 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
201 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
202 the nightly launcher.
203 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
204 It sets up the environment to have Safari use the bundled frameworks
205 and load the WebKitNightlyEnabler dylib before exec'ing Safari
206 * WebKitLauncher/start.html: Added.
207 * WebKitLauncher/webkit.icns: Added.
209 2006-04-05 Darin Adler <darin@apple.com>
213 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
214 are allowed to have global initializers.
216 2006-04-05 Geoffrey Garen <ggaren@apple.com>
220 * Scripts/run-testkjs:
221 - pipe STDERR to /dev/null by default; new --verbose option overrides
223 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
224 - output run command in a format that can be copied and pasted into the
225 terminal to run manually
227 2006-04-03 Justin Garcia <justin.garcia@apple.com>
231 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
232 A drag and drop in DumpRenderTree copies the source, instead of cutting it
234 Tell the source that the drag is over after the drag is performed, not before.
236 * DumpRenderTree/EventSendingController.m:
237 (-[EventSendingController mouseUp]):
239 2006-04-01 Darin Adler <darin@apple.com>
243 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
244 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
245 elements in that array are not strings.
247 2006-03-31 Darin Adler <darin@apple.com>
249 Reviewed by John Sullivan.
251 - added a "--reset-results" option to run-webkit-tests so you can reset
252 the results without first deleting expected results
253 - <rdar://problem/4185878> add scroll position to dumpRenderTree
255 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
256 more logical. Moved all the subroutines to the end of the file. Added a
259 * DumpRenderTree/DumpRenderTree.m:
260 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
261 to generate new output for all tests it runs.
262 (dump): Dump the scroll position if it's non-zero. Always dump the image when
263 the --dump-all-pixels option is passed. Also tightened up the image dumping
264 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
265 with code to save and restore the context.
267 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
268 * DumpRenderTree/EventSendingController.m: Added now-needed include.
270 2006-03-30 Tim Omernick <timo@apple.com>
272 Reviewed by NOBODY (just fixing copyrights)
274 * DumpRenderTree/ObjCPlugin.h:
276 * DumpRenderTree/ObjCPlugin.m: ditto
277 * DumpRenderTree/ObjCPluginFunction.h: ditto
278 * DumpRenderTree/ObjCPluginFunction.m: ditto
280 2006-03-30 Tim Omernick <timo@apple.com>
284 * DumpRenderTree/DumpRenderTree.m:
285 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
286 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
287 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
288 exposed to JS as a callable object.
290 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
291 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
293 * DumpRenderTree/ObjCPlugin.h: Added.
294 * DumpRenderTree/ObjCPlugin.m: Added.
295 * DumpRenderTree/ObjCPluginFunction.h: Added.
296 * DumpRenderTree/ObjCPluginFunction.m: Added.
298 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
299 Added a new method, "removeDefaultMethod", which removes the default method from the
300 plugin object's class. The effect is that the plugin object is mutated from a callable
301 function to a simple object.
303 Handle "removeDefaultMethod".
304 (pluginInvokeDefault):
305 Made the default method actually do something (return 1).
307 2006-03-30 Eric Seidel <eseidel@apple.com>
311 Remove WebFrame::viewImpl(), setMainFrame on page.
313 * Spinneret/Spinneret/WebFrame.cpp:
314 (WebKit::WebFrame::WebFrame):
315 * Spinneret/Spinneret/WebFrame.h:
316 * Spinneret/Spinneret/WebView.cpp:
317 (WebKit::WebView::mouseMoved):
318 (WebKit::WebView::mouseDown):
319 (WebKit::WebView::mouseUp):
320 (WebKit::WebView::mouseDoubleClick):
321 (WebKit::WebViewWndProc):
323 2006-03-30 Eric Seidel <eseidel@apple.com>
327 Fix html editing input & basic form submission.
329 * Spinneret/Spinneret/WebFrame.cpp:
330 (WebKit::WebFrame::submitForm):
331 (WebKit::WebFrame::loadURL):
332 * Spinneret/Spinneret/WebFrame.h:
333 * Spinneret/Spinneret/WebView.cpp:
334 (WebKit::WebView::keyPress):
335 (WebKit::WebViewWndProc):
337 2006-03-28 Justin Garcia <justin.garcia@apple.com>
341 <rdar://problem/4402375>
342 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
344 Added an option to draw the selectionRect.
346 * DumpRenderTree/DumpRenderTree.m:
348 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
349 (-[LayoutTestController dumpSelectionRect]):
352 2006-03-29 Darin Adler <darin@apple.com>
354 Reviewed by Tim Hatcher.
356 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
358 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
360 2006-03-28 Eric Seidel <eseidel@apple.com>
364 * Scripts/check-for-global-initializers: remove svg exceptions.
366 2006-03-28 Timothy Hatcher <timothy@apple.com>
370 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
372 * Scripts/check-for-global-initializers:
374 2006-03-28 Timothy Hatcher <timothy@apple.com>
376 Build fix. Turn off uninitialized warnings for the first block of code.
378 * Scripts/check-for-global-initializers:
380 2006-03-28 Darin Adler <darin@apple.com>
384 * Scripts/check-for-global-initializers: Added.
386 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
388 Reviewed by darin. Landed by eseidel.
390 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
391 Add repaint testing support to run-webkit-tests
393 * DumpRenderTree/DumpRenderTree.m:
394 (main): Added --repaint and --horizontal-sweep options.
395 (dump): Repaint line-by-line or column-by-column when the appropriate option
397 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
398 and repaintSweepHorizontally() methods to layoutTestController.
399 (-[LayoutTestController testRepaint]):
400 (-[LayoutTestController repaintSweepHorizontally]):
402 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
403 to force these settings on tests that do not ask for them.
405 2006-03-24 Eric Seidel <eseidel@apple.com>
411 * Spinneret/Spinneret/WebFrame.cpp:
412 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
414 2006-03-21 Beth Dakin <bdakin@apple.com>
418 Add support for keyDown() to DumpRenderTree.
420 * DumpRenderTree/DumpRenderTree.m:
421 (main): Set the preference for tabbing to links.
422 * DumpRenderTree/EventSendingController.m:
423 (+[EventSendingController isSelectorExcludedFromWebScript:]):
424 (+[EventSendingController webScriptNameForSelector:]):
425 (-[EventSendingController keyDown:withModifiers:]):
427 2006-03-20 Eric Seidel <eseidel@apple.com>
433 * Spinneret/Spinneret/Spinneret.vcproj:
434 * Spinneret/Spinneret/WebFrame.h:
435 * Spinneret/Spinneret/WebView.cpp:
436 (WebKit::WebView::mouseMoved):
437 (WebKit::WebView::mouseDown):
438 (WebKit::WebView::mouseUp):
439 (WebKit::WebView::mouseDoubleClick):
440 (WebKit::WebView::keyPress):
441 (WebKit::WebViewWndProc):
443 2006-03-19 Darin Adler <darin@apple.com>
447 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
448 we can test it in layout tests. We don't really need tests that run with
449 pop-up blocking off at the moment. If we do some day, we can add some
450 API for turning it off in the layout test controller.
452 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
453 don't ignore the leak; it should no longer show up.
455 2006-03-17 Anders Carlsson <andersca@mac.com>
459 * Scripts/install-win-extras:
460 Fetch "Program Files" location from the environment.
462 2006-03-17 Eric Seidel <eseidel@apple.com>
466 Fix Spinneret to pass Events as const & not as pointers.
468 * Spinneret/Spinneret/WebView.cpp:
469 (WebKit::WebView::mouseMoved):
470 (WebKit::WebView::mouseDown):
471 (WebKit::WebView::mouseUp):
472 (WebKit::WebView::mouseDoubleClick):
473 (WebKit::WebView::keyPress):
475 2006-03-17 Eric Seidel <eseidel@apple.com>
479 Add support for basic HTML editing.
481 * Spinneret/Spinneret/WebView.cpp:
482 (WebKit::WebView::WebView):
483 (WebKit::WebView::keyPress):
485 2006-03-17 Eric Seidel <eseidel@apple.com>
487 Rubber-stamped by ggaren.
489 Break DumpRenderTree.m up into several files to make the code more readable.
491 * DumpRenderTree/DumpRenderTree.h: Added.
492 * DumpRenderTree/DumpRenderTree.m:
493 (doneLoading): new accessor function for "done" global.
494 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
495 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
496 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
497 * DumpRenderTree/EditingDelegate.h: Added.
498 * DumpRenderTree/EditingDelegate.m: Added.
499 (-[EditingDelegate webViewDidChangeSelection:]):
500 * DumpRenderTree/EventSendingController.h: Added.
501 * DumpRenderTree/EventSendingController.m: Added.
503 2006-03-16 Eric Seidel <eseidel@apple.com>
507 Add resize, scroll event support.
509 * Spinneret/Spinneret/WebView.cpp:
510 (WebKit::WebView::mouseMoved):
511 (WebKit::WebView::mouseDown):
512 (WebKit::WebView::mouseUp):
513 (WebKit::WebView::mouseDoubleClick):
514 (WebKit::WebView::keyPress):
515 (WebKit::WebViewWndProc):
516 * Spinneret/Spinneret/WebView.h:
518 2006-03-16 Eric Seidel <eseidel@apple.com>
522 Make build-webkit print correctly to stdout on windows.
524 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
526 2006-03-15 Eric Seidel <eseidel@apple.com>
530 Fix eventSender.mouseClick() to update lastClick timestamp.
532 * DumpRenderTree/DumpRenderTree.m:
533 (-[EventSendingController mouseClick]):
535 2006-03-15 Darin Adler <darin@apple.com>
539 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
540 that had a lowercase "i" in it so this builds on case-sensitive
543 2006-03-15 Geoffrey Garen <ggaren@apple.com>
547 Added run-testkjs and compare-timing-files scripts, to support super
550 * Scripts/compare-timing-files: Added.
551 * Scripts/run-testkjs: Added.
553 2006-03-14 Eric Seidel <eseidel@apple.com>
557 Make the URL bar relinquish focus on page load.
559 * Spinneret/Spinneret/Spinneret.cpp:
562 2006-03-14 Eric Seidel <eseidel@apple.com>
566 Fix WebView to allow KeyFocus.
567 Add handling of space and shift-space for scrolling.
569 * Spinneret/Spinneret/WebView.cpp:
570 (WebKit::scrollMessageForKey):
571 (WebKit::WebViewWndProc):
573 2006-03-10 Eric Seidel <eseidel@apple.com>
577 Add scrolling support into Spinneret.
579 * Spinneret/Spinneret/WebFrame.cpp:
580 (WebKit::WebFrame::paint):
581 * Spinneret/Spinneret/WebView.cpp:
582 (WebKit::WebView::createWebView):
583 (WebKit::calculateScrollDelta):
584 (WebKit::scrollMessageForKey):
585 (WebKit::WebViewWndProc):
587 2006-03-13 Eric Seidel <eseidel@apple.com>
591 Fix checksum generation on Intel machines.
592 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
593 give a small speed boost now that it uses a shared buffer.
595 * DumpRenderTree/DumpRenderTree.m:
598 (md5HashStringForBitmap):
599 * DumpRenderTree/ImageDiff.m:
600 (computePercentageDifferent):
602 2006-03-13 Darin Adler <darin@apple.com>
604 Reviewed by Tim Hatcher.
606 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
607 have it named httpd-1.3 instead.
609 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
611 Fix proposed by Mitz Pettel, reviewed by Darin.
613 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
614 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
616 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
617 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
620 2006-03-09 Darin Adler <darin@apple.com>
622 Reviewed by John Sullivan.
624 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
625 memory leak in the plug-in tests
627 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
628 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
629 (NPP_SetWindow): Remove unneeded code to store the window pointer.
631 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
632 Moved the browser global in here since it's declared in this file's header.
633 Changed the code to set up the pluginClass structure to not use function
634 pointer casts. Those are dangerous because they can hide many types of mismatch.
635 And indeed when I did this I discovered that many functions were missing their
636 boolean return values or had parameter declarations with the wrong types.
637 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
638 clarity. Added boolean return value: return true when successful and false when not.
639 (pluginSetProperty): Added boolean return value, return false since we have no
640 properties we can set.
641 (pluginInvoke): Added boolean return value. Return true when successful and false
642 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
643 return value from calling the browser. Changed code to put the strings in malloc
644 buffers instead of relying on GCC's extension that allows variable-sized arrays
646 (pluginInvokeDefault): Added boolean return value, return false since we have no
647 default function to call.
648 (pluginInvalidate): Added missing parameter. Removed comment.
649 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
650 to cast the result of malloc.
651 (pluginDeallocate): Removed uneeded cast.
653 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
654 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
655 that match NPObject's fields. Removed unused NPWindow pointer.
657 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
659 Test: fast/events/event-sender-mouse-click.html
663 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
664 DRT hangs when doing eventSender.mouseDown on native widgets
666 * DumpRenderTree/DumpRenderTree.m:
667 (+[EventSendingController isSelectorExcludedFromWebScript:]):
668 (-[EventSendingController mouseClick]): Simulates a click in a native
669 widget by queueing a mouseUp before sending the mouseDown, so that
670 the widget's mouse tracking event loop doesn't hang indefinitely.
672 2006-03-09 Maciej Stachowiak <mjs@apple.com>
676 - make link clicks work by handling link click requests
679 * Spinneret/Spinneret/Spinneret.cpp:
681 * Spinneret/Spinneret/Spinneret.h:
682 * Spinneret/Spinneret/WebFrame.cpp:
683 (WebKit::WebFrame::WebFrame):
684 (WebKit::WebFrame::openURL):
685 (WebKit::WebFrame::loadURL):
686 * Spinneret/Spinneret/WebFrame.h:
688 2006-03-08 Eric Seidel <eseidel@apple.com>
692 Focus URL bar on Spinneret launch, remove border from WebView.
693 Stop WebFrame from deleting the job (prevent crash).
695 * Spinneret/Spinneret/Spinneret.cpp:
697 * Spinneret/Spinneret/WebFrame.cpp:
698 (WebKit::WebFrame::receivedAllData):
699 (WebKit::WebFrame::paint):
700 * Spinneret/Spinneret/WebView.cpp:
701 (WebKit::WebView::createWebView):
703 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
707 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
708 (pluginInvoke): Added a method to test getURL.
710 2006-03-08 Maciej Stachowiak <mjs@apple.com>
714 - load URLs, not file paths, in Spinneret
716 * Spinneret/Spinneret/Spinneret.cpp:
718 * Spinneret/Spinneret/Spinneret.vcproj:
719 * Spinneret/Spinneret/WebFrame.cpp:
720 (WebKit::WebFrame::loadURL):
721 (WebKit::WebFrame::receivedData):
722 (WebKit::WebFrame::receivedAllData):
723 * Spinneret/Spinneret/WebFrame.h:
724 * Spinneret/Spinneret/WebView.cpp:
725 (WebKit::WebView::WebView):
727 2006-03-08 Darin Adler <darin@apple.com>
731 - fixed AppleScript layout test results to not be endian-dependent
732 (Hyatt complained to me about this one)
734 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
735 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
736 (which are endian-dependent).
738 2006-03-07 Darin Adler <darin@apple.com>
742 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
743 unwanted output while running layout tests
745 * DumpRenderTree/DumpRenderTree.m:
746 (checkedMalloc): Added.
747 (checkedRealloc): Added.
748 (makeLargeMallocFailSilently): Added.
749 (main): Call makeLargeMallocFailSilently.
751 2006-03-06 Darin Adler <darin@apple.com>
753 * Scripts/do-webcore-rename: Add some more planned renaming.
755 2006-03-06 Eric Seidel <eseidel@apple.com>
759 * Spinneret/Spinneret/WebFrame.cpp:
760 (WebKit::WebFrame::paint): force layout before painting
762 2006-03-06 Justin Garcia <justin.garcia@apple.com>
766 Sent the windowNumber when sending events.
767 Added leapForward so that we don't have to spend time waiting
768 in layout tests that do mouse operations that require delays.
770 * DumpRenderTree/DumpRenderTree.m:
771 (+[EventSendingController isSelectorExcludedFromWebScript:]):
772 (+[EventSendingController webScriptNameForSelector:]):
773 (-[EventSendingController currentEventTime]):
774 (-[EventSendingController leapForward:]):
775 (-[EventSendingController mouseDown]):
776 (-[EventSendingController mouseUp]):
777 (-[EventSendingController mouseMoveToX:Y:]):
779 2006-03-05 Darin Adler <darin@apple.com>
781 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
782 Script now works (after landing my two pending patches).
784 2006-03-05 Darin Adler <darin@apple.com>
786 - check in a script to do a "big" rename in WebCore
787 (can be run whenever we're ready to do it)
789 * Scripts/do-webcore-rename: Added.
791 2006-03-05 Maciej Stachowiak <mjs@apple.com>
795 * Spinneret/Spinneret/WebFrame.cpp:
796 (WebKit::WebFrame::loadFilePath): Close file when done.
798 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
800 Reviewed by Darin, landed by ap.
802 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
803 Mouse moved events do not work in DumpRenderTree
805 Test: fast/events/event-sender-mouse-moved.html
807 * DumpRenderTree/DumpRenderTree.m:
808 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
810 2006-03-04 Eric Seidel <eseidel@apple.com>
814 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
815 Disable background erase to avoid tearing.
816 Fix potential memory smasher from extra long urls.
818 * Spinneret/Spinneret/Spinneret.cpp:
820 * Spinneret/Spinneret/Spinneret.vcproj:
821 * Spinneret/Spinneret/WebFrame.cpp:
822 (WebKit::WebFrame::loadFilePath):
823 (WebKit::WebFrame::paint):
824 * Spinneret/Spinneret/WebView.cpp:
825 (WebKit::registerWebViewWithInstance):
827 2006-03-04 Eric Seidel <eseidel@apple.com>
831 Hang WebView pointer off of HWND (gets rid of global hack).
832 Remove MessageBox displayed on url change.
834 * Spinneret/Spinneret/Spinneret.cpp:
837 * Spinneret/Spinneret/WebView.cpp:
838 (WebKit::registerWebViewWithInstance):
839 (WebKit::WebView::createWebView):
840 (WebKit::WebViewWndProc):
842 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
846 Automatically kill httpd if it appears to be already running.
848 * Scripts/run-webkit-tests:
850 2006-03-04 Maciej Stachowiak <mjs@apple.com>
854 * Spinneret/Spinneret/WebFrame.cpp:
855 (WebKit::WebFrame::loadFilePath): Improved local file loading.
857 2006-03-03 Eric Seidel <eseidel@apple.com>
861 A few more fixes to make run-webkit-tests really work on win32.
863 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
865 * Scripts/run-webkit-tests:
867 2006-03-03 Eric Seidel <eseidel@apple.com>
871 Make run-webkit-tests work on win32.
873 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
875 (dumpRenderTreeMain):
876 (dumpRenderTreeToStdOut):
879 * Scripts/run-webkit-tests:
880 * Scripts/webkitdirs.pm:
881 * Spinneret/Spinneret/WebView.cpp:
882 (WebKit::WebView::WebView):
884 2006-03-03 Eric Seidel <eseidel@apple.com>
888 Add WebFrame class (to hold Frame and FrameView).
889 Add Location bar support to Spinneret.
891 * Spinneret/Spinneret/Spinneret.cpp:
896 * Spinneret/Spinneret/Spinneret.vcproj:
897 * Spinneret/Spinneret/WebFrame.cpp: Added.
898 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
899 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
900 (WebKit::WebFrame::WebFrame):
901 (WebKit::WebFrame::loadFilePath):
902 (WebKit::WebFrame::loadHTMLString):
903 (WebKit::WebFrame::paint):
904 (WebKit::WebFrame::impl):
905 (WebKit::WebFrame::viewImpl):
906 * Spinneret/Spinneret/WebFrame.h: Added.
907 * Spinneret/Spinneret/WebView.cpp:
908 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
909 (WebKit::WebView::WebView):
910 (WebKit::WebView::windowHandle):
911 (WebKit::WebView::mainFrame):
912 (WebKit::WebView::mouseMoved):
913 (WebKit::WebView::mouseDown):
914 (WebKit::WebView::mouseUp):
915 (WebKit::WebView::mouseDoubleClick):
916 (WebKit::WebViewWndProc):
917 * Spinneret/Spinneret/WebView.h:
919 2006-03-02 Eric Seidel <eseidel@apple.com>
923 * Spinneret/Spinneret/WebView.cpp:
924 (WebKit::registerWebViewWithInstance):
925 (WebKit::WebView::WebView):
926 (WebKit::WebView::mouseMoved):
927 (WebKit::WebView::mouseDown):
928 (WebKit::WebView::mouseUp):
929 (WebKit::WebView::mouseDoubleClick):
930 (WebKit::WebViewWndProc):
931 * Spinneret/Spinneret/WebView.h:
933 2006-03-01 Eric Seidel <eseidel@apple.com>
935 Reviewed by andersca.
937 Make spinneret take advantage of the new GraphicsContextCairo.
939 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
940 (main): updated to match style guidelines.
941 * Spinneret/Spinneret/Spinneret.cpp:
943 * Spinneret/Spinneret/WebView.cpp:
944 (WebKit::registerWebViewWithInstance):
945 (WebKit::WebView::WebView):
946 (WebKit::WebView::~WebView):
947 (WebKit::WebView::drawRect):
949 * Spinneret/Spinneret/WebView.h:
951 2006-03-01 Justin Garcia <justin.garcia@apple.com>
955 Give the events that eventSender sends a unique eventNumber
957 * DumpRenderTree/DumpRenderTree.m:
958 (-[EventSendingController mouseDown]):
959 (-[EventSendingController mouseUp]):
960 (-[EventSendingController mouseMoveToX:Y:]):
962 2006-03-01 Eric Seidel <eseidel@apple.com>
966 Add a stub win32 application to test WebCore drawing on windows.
969 * Spinneret/Spinneret: Added.
970 * Spinneret/Spinneret.sln: Added.
971 * Spinneret/Spinneret/Resource.h: Added.
972 * Spinneret/Spinneret/Spinneret.cpp: Added.
978 * Spinneret/Spinneret/Spinneret.h: Added.
979 * Spinneret/Spinneret/Spinneret.ico: Added.
980 * Spinneret/Spinneret/Spinneret.rc: Added.
981 * Spinneret/Spinneret/Spinneret.vcproj: Added.
982 * Spinneret/Spinneret/WebView.cpp: Added.
983 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
984 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
985 (WebKit::registerWebViewWithInstance):
986 (WebKit::WebView::createWebView):
987 (WebKit::WebView::WebView):
988 (WebKit::WebView::~WebView):
989 (WebKit::WebView::drawRect):
990 (WebKit::WebView::windowHandle):
992 * Spinneret/Spinneret/WebView.h: Added.
993 * Spinneret/Spinneret/small.ico: Added.
994 * Spinneret/Spinneret/stdafx.cpp: Added.
995 * Spinneret/Spinneret/stdafx.h: Added.
997 2006-02-28 Eric Seidel <eseidel@apple.com>
1001 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1002 (main): add ability to dump render tree and read from a local file.
1004 2006-02-27 Eric Seidel <eseidel@apple.com>
1008 * Scripts/install-win-extras: fix dll permissions & download zlib too.
1010 2006-02-27 Eric Seidel <eseidel@apple.com>
1014 Test new KConfig -> PlugInInfoStore change.
1015 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1017 * DumpRenderTree/DumpRenderTree.m:
1018 (main): load test netscape plugin
1019 * Scripts/run-webkit-tests: style update
1021 2006-02-24 Eric Seidel <eseidel@apple.com>
1025 Make DumpRenderTree link against icu.
1027 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1029 2006-02-24 Eric Seidel <eseidel@apple.com>
1033 Make DumpRenderTree link against libxml, etc.
1035 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1037 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1039 Reviewed and landed by Anders.
1041 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1042 getting called from the run loop, making the view render each test and thus slowing
1045 * DumpRenderTree/DumpRenderTree.m:
1046 (main): Set the offscreen window to not autodisplay.
1048 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1052 - Turn http tests back on by default.
1053 - Wait for Apache to actually start serving requests.
1054 - Get user id from a built-in variable rather than an external command;
1055 don't pass the group.
1057 * Scripts/run-webkit-tests:
1059 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1061 Suggested by Mitz Pettel, reviewed by Darin.
1063 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1064 can run CGIs even if the permissions are 700 or 600.
1066 2006-02-23 Darin Adler <darin@apple.com>
1068 Collaborating with Alexey.
1070 - turn off http tests by default until we figure out how to get them
1071 to run even when permissions on CGI files are 700 instead of 755
1073 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1075 2006-02-23 Eric Seidel <eseidel@apple.com>
1077 Add *.user to ignore list.
1079 2006-02-23 Eric Seidel <eseidel@apple.com>
1081 Remove binary file which shouldn't have been commited (and add to ignore list).
1083 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1084 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1086 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1090 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1092 2006-02-22 Eric Seidel <eseidel@apple.com>
1094 Reviewed by Tim Hatcher.
1096 Fix install-win-extras to not try to re-install setx if installed.
1098 * Scripts/install-win-extras:
1100 2006-02-22 Eric Seidel <eseidel@apple.com>
1102 One more file possibly missing from previous commit?
1104 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1105 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1107 2006-02-22 Eric Seidel <eseidel@apple.com>
1109 Reviewed by justing.
1111 Files missing from previous commit.
1113 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1114 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1116 2006-02-22 Eric Seidel <eseidel@apple.com>
1118 Rubber-stamped by justing.
1120 Corrected path for DumpRenderTree.intermediate files
1122 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1124 2006-02-22 Eric Seidel <eseidel@apple.com>
1126 Reviewed by justing.
1128 Fixed build-dumprendertree to exit with correct error codes.
1130 * Scripts/build-dumprendertree:
1132 2006-02-22 Eric Seidel <eseidel@apple.com>
1134 Reviewed by justing.
1136 Update build scripts to generalize building on Win32, and allow
1137 building of DumpRenderTree on Win32 from build-dumprendertree.
1139 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1141 * Scripts/build-dumprendertree:
1142 * Scripts/build-webkit:
1143 * Scripts/webkitdirs.pm:
1145 2006-02-22 Eric Seidel <eseidel@apple.com>
1149 * DumpRenderTree/DumpRenderTree.vcproj: Added.
1150 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1151 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1152 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1153 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1154 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1156 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1157 * Scripts/build-webkit: make build-webkit cleanup after itself
1159 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1163 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1164 Some minor fixes to http tests.
1166 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1168 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
1172 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1173 Would like to use locally installed Apache for testing.
1175 Added two run-webkit-tests options:
1176 --http (--nohttp) - whether to launch Apache (defaults to yes);
1177 --port - which port to listen on (defaults to 8000).
1179 Tests in LayoutTests/http are not run directly, and Apache is used instead.
1180 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1181 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1183 Also added support for .shtml and .text files. Text files give an empty
1184 *-expected.txt, but a correct image.
1186 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1188 * Scripts/run-webkit-tests:
1190 2006-02-21 Darin Adler <darin@apple.com>
1192 Suggested by Mark Rowe.
1194 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1195 reporting leak counts.
1197 2006-02-18 Maciej Stachowiak <mjs@apple.com>
1201 - Added install-win-extras script which installs some extra
1202 programs and libraries, and does Windows first-time setup.
1204 * Scripts/build-webkit: Add a newline between build results.
1205 * Scripts/install-win-extras: Added.
1207 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1211 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1212 DumpRenderTree should be able to load files via HTTP
1214 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1215 Handle tests starting with "http://" as real URLs, not file system paths.
1217 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1221 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1222 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1224 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1226 2006-02-18 Darin Adler <darin@apple.com>
1228 * Scripts/commit-log-editor: Added.
1230 2006-02-17 Eric Seidel <eseidel@apple.com>
1234 Make Win32 have the same default "WebKitBuild" directory behavior.
1236 * Scripts/build-webkit:
1237 * Scripts/webkitdirs.pm:
1239 2006-02-17 Eric Seidel <eseidel@apple.com>
1243 * Scripts/build-webkit: make win32 actually report errors
1245 2006-02-17 Eric Seidel <eseidel@apple.com>
1249 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1251 2006-02-17 Eric Seidel <eseidel@apple.com>
1255 * Scripts/run-webkit-tests: Ignore flash leaks
1257 2006-02-15 Justin Garcia <justin.garcia@apple.com>
1261 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1262 Add drag and drop support to DumpRenderTree
1264 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1265 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
1267 * DumpRenderTree/DumpRenderTree.m:
1269 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1270 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1271 (-[WaitUntilDoneDelegate webViewFocus:]):
1272 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1273 (+[LayoutTestController webScriptNameForSelector:]):
1274 (-[LayoutTestController setWindowIsKey:]):
1275 (-[LayoutTestController setMainFrameIsFirstResponder:]):
1276 (-[EventSendingController init]):
1277 (-[EventSendingController mouseDown]):
1278 (-[EventSendingController mouseUp]):
1279 (-[EventSendingController mouseMoveToX:Y:]):
1281 (-[DumpRenderTreeWindow isKeyWindow]):
1282 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1283 (-[DumpRenderTreeDraggingInfo dealloc]):
1284 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1285 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1286 (-[DumpRenderTreeDraggingInfo draggingLocation]):
1287 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1288 (-[DumpRenderTreeDraggingInfo draggedImage]):
1289 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1290 (-[DumpRenderTreeDraggingInfo draggingSource]):
1291 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1292 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1293 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1294 * DumpRenderTree/TextInputController.m:
1295 (-[TextInputController firstRectForCharactersFrom:length:]):
1296 (-[TextInputController characterIndexForPointX:Y:]):
1298 2006-02-15 Geoffrey Garen <ggaren@apple.com>
1302 * DumpRenderTree/DumpRenderTree.m:
1303 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
1304 Added a dummy method for the sake of LayoutTests/plugins/
1305 undefined-property-crash.html. (It tests a crash due to fallback
1306 object use. WebCore won't create a fallback object if the method is
1309 2006-02-14 Eric Seidel <eseidel@apple.com>
1313 * Scripts/run-webkit-tests: added --results-directory (-o) option
1315 2006-02-09 Eric Seidel <eseidel@apple.com>
1317 Rubber-stamped by mjs.
1319 Renamed split-class to split-file-by-class.
1321 * Scripts/build-webkit: Updated copyright.
1322 * Scripts/split-class: Removed.
1323 * Scripts/split-file-by-class: Added.
1325 2006-02-08 Eric Seidel <eseidel@apple.com>
1327 Rubber-stamped by mjs.
1329 Adding new script for splitting multi-class files.
1330 Also adding supporting perl module with space removing heuristics.
1332 * Scripts/SpacingHeuristics.pm: Added.
1333 * Scripts/build-drawtest: updated copyright header
1334 * Scripts/split-class: Added.
1336 2006-02-08 Justin Garcia <justin.garcia@apple.com>
1338 Reviewed by thatcher
1340 Changes to test fix for:
1341 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1342 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1344 * DumpRenderTree/DumpRenderTree.m:
1345 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1346 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1347 (+[LayoutTestController webScriptNameForSelector:]):
1348 (-[LayoutTestController setWindowHasFocus:]):
1349 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1351 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
1353 Reviewed by Timothy.
1355 Support automated testing of AppleScript "do JavaScript" command
1356 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1358 * DumpRenderTree/AppleScriptController.h: Added.
1359 * DumpRenderTree/AppleScriptController.m: Added.
1360 * DumpRenderTree/DumpRenderTree.m:
1361 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1362 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1364 2006-02-06 Eric Seidel <eseidel@apple.com>
1368 Fix build-webkit for use on win32 (unblocks buildbot usage).
1369 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1371 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1372 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1374 2006-02-06 Eric Seidel <eseidel@apple.com>
1376 Rubber-stamped by darin & mjs.
1378 Added new support directory for build slave scripts.
1379 Committing the first script, for use by the PLT's build slave.
1380 This script is used to kick of the PLT (Page Load Test) slave.
1382 * BuildSlaveSupport: Added.
1383 * BuildSlaveSupport/run-performance-tests: Added.
1385 2006-02-06 Eric Seidel <eseidel@apple.com>
1387 Rubber-stamped by darin.
1389 Adding setSourceDir for scripts stored in non-standard locations.
1391 * Scripts/webkitdirs.pm:
1393 2006-02-04 Darin Adler <darin@apple.com>
1395 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1396 Configuration files that say Development or Deployment in them.
1398 2006-02-04 Darin Adler <darin@apple.com>
1400 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1401 wrapper already in the directory.
1402 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1403 these haven't been working at all.
1404 * Scripts/svn-unapply: Ditto.
1406 2006-02-03 Timothy Hatcher <timothy@apple.com>
1410 Renamed configuration names to Debug, Release and Production.
1412 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1413 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1414 * Scripts/set-webkit-configuration:
1415 * Scripts/webkitdirs.pm:
1417 2006-02-02 Justin Garcia <justin.garcia@apple.com>
1419 Reviewed by thatcher
1421 Enabled spell checking for layout tests.
1423 * DumpRenderTree/DumpRenderTree.m:
1426 2006-01-29 Darin Adler <darin@apple.com>
1428 * Scripts/svn-apply: Added comments about things we should do to improve.
1429 * Scripts/svn-create-patch: Ditto.
1430 * Scripts/svn-unapply: Ditto.
1432 2006-01-28 Darin Adler <darin@apple.com>
1434 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1435 already there, even if the checksum is correct.
1437 2006-01-27 Eric Seidel <eseidel@apple.com>
1441 * Scripts/run-webkit-tests: make new tests use absolute urls
1443 2006-01-27 Eric Seidel <eseidel@apple.com>
1447 make run-webkit-tests output total leaks count
1449 * Scripts/run-webkit-tests:
1451 2006-01-27 Eric Seidel <eseidel@apple.com>
1455 run-webkit-test --leaks crashes (malloc logging runs out of memory)
1456 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
1458 * Scripts/run-webkit-tests: fix --leaks to not crash
1460 2006-01-26 Eric Seidel <eseidel@apple.com>
1464 run-webkit-tests should produce a self-contained results directory
1465 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
1467 * Scripts/run-webkit-tests: copy failing items to results dir.
1469 2006-01-23 Darin Adler <darin@apple.com>
1471 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
1472 need script to update localizable strings file in WebKit
1474 * Scripts/update-webkit-localizable-strings: Added.
1476 2006-01-23 Darin Adler <darin@apple.com>
1478 - added a couple of scripts -- more about these two soon
1480 * Scripts/extract-localizable-strings: Added.
1481 * Scripts/merge-changelog: Added.
1483 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
1487 Build fix. build-webkit dies with "invalid build action: (empty string)"
1489 * Scripts/build-webkit:
1490 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
1492 2006-01-22 Eric Seidel <eseidel@apple.com>
1496 Fix --no-svg option to use XCode flags instead of gcc flags.
1498 * Scripts/build-webkit:
1500 2006-01-22 Eric Seidel <eseidel@apple.com>
1504 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
1506 * Scripts/build-webkit:
1508 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
1510 Reviewed by eseidel.
1512 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
1513 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
1515 * Scripts/build-drawtest: Changed bareword 'true' to 1.
1516 * Scripts/run-drawtest: Changed bareword 'true' to 1.
1518 2006-01-19 Darin Adler <darin@apple.com>
1520 * Scripts/report-include-statistics: Added a new script.
1522 2006-01-19 Timothy Hatcher <timothy@apple.com>
1524 * Scripts/build-webkit: include JavaScriptGlue in the build
1526 2006-01-19 Darin Adler <darin@apple.com>
1528 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
1529 spaces in it by using the form of open that treats each argument as a string
1530 rather than backtick syntax for reading the output of the nm tool.
1532 2006-01-12 Maciej Stachowiak <mjs@apple.com>
1536 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
1537 detect if there are any new tests
1539 * Scripts/prepare-ChangeLog:
1541 2006-01-12 Darin Adler <darin@apple.com>
1543 - removed some of the cvs-specific scripts -- not needed for this project any more
1545 * Scripts/cvs-abandon: Removed.
1546 * Scripts/cvs-apply: Removed.
1547 * Scripts/cvs-create-patch: Removed.
1548 * Scripts/cvs-unapply: Removed.
1550 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1552 Reviewed by eseidel. Committed by eseidel.
1554 - run-webkit-tests always launches Safari when tests fail
1555 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
1557 * Scripts/run-webkit-tests:
1558 Add a command-line flag to prevent Safari being launched to display failed
1559 tests. Always exit with non-zero status when tests have failed.
1561 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1563 Reviewed by eseidel. Committed by eseidel.
1565 - build-webkit should exit with non-zero status when build fails
1566 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
1568 * Scripts/build-webkit:
1569 Use correct bits of subprocess exit code when passing back through
1570 as build-webkit's exit code.
1572 2006-01-10 Eric Seidel <eseidel@apple.com>
1574 Restored corrupted nibs from TOT CVS.
1576 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
1577 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
1578 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
1579 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
1580 * DrawTest/English.lproj/Inspector.nib: Replaced.
1581 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
1582 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
1583 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
1584 * DrawTest/English.lproj/MainMenu.nib: Replaced.
1585 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
1586 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
1587 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
1588 * DrawTest/English.lproj/TestViewer.nib: Replaced.
1589 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
1590 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
1591 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
1593 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
1595 Reviewed by eseidel. Committed by eseidel.
1597 DrawTestView now subclasses WebView instead of DrawView.
1599 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1600 * DrawTest/DrawTestDocument.h:
1601 * DrawTest/DrawTestDocument.m:
1602 (-[DrawTestDocument dealloc]):
1603 (-[DrawTestDocument readFromFile:ofType:]):
1604 (-[DrawTestDocument windowControllerDidLoadNib:]):
1605 (-[DrawTestDocument dumpSVGToConsole:]):
1606 (-[DrawTestDocument openSourceForSelection:]):
1607 (-[DrawTestDocument dataRepresentationOfType:]):
1608 * DrawTest/DrawTestToolbarController.h:
1609 * DrawTest/DrawTestToolbarController.m:
1610 (-[DrawTestToolbarController initWithDrawView:]):
1611 (-[DrawTestToolbarController clickedToolbarItem:]):
1612 (-[DrawTestToolbarController validateToolbarItem:]):
1613 * DrawTest/DrawTestView.h:
1614 * DrawTest/DrawTestView.m:
1615 (-[DrawTestView initWithFrame:]):
1616 (-[DrawTestView setDocument:]):
1617 * DrawTest/SVGTest.h:
1618 * DrawTest/SVGTest.m:
1619 (+[SVGTest sharedDrawView]):
1620 (-[SVGTest generateCompositeIfNecessary]):
1621 * DrawTest/TestController.h:
1622 * DrawTest/TestController.m:
1623 (-[TestController awakeFromNib]):
1624 (-[TestController setSelectedTest:]):
1625 (-[TestController openTestViewerForSelection:]):
1626 (-[TestController toggleViewersScaleRule:]):
1627 * DrawTest/TestViewerSplitView.m:
1628 (-[TestViewerSplitView drawRect:]):
1630 2006-01-10 Anders Carlsson <andersca@mac.com>
1632 Reviewed by Timothy.
1634 * DumpRenderTree/DumpRenderTree.m:
1635 (main): Set the default language to "en", so language tests will work.
1637 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1641 - script to generate HTML wrappers for JS tests
1642 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
1644 * Scripts/make-js-test-wrappers: Added.
1646 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1650 * Scripts/svn-create-patch: Fix to work when passed directory names.
1652 2006-01-08 Geoffrey Garen <ggaren@apple.com>
1656 - Added back/forward navigation support to DumpRenderTree. Hopefully we
1657 can start writing automated loader tests now. I have one in the works.
1659 * DumpRenderTree/DumpRenderTree.m:
1660 (main): Construct global navigationController on entry, destroy on exit.
1661 Set frame to nil on exit too, to match all the other global objects.
1662 (Probably academic, since the process is exiting, anyway.)
1663 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
1664 navigationController, in case it wants to kick off a load.
1665 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
1666 the navigationController to scripting.
1668 New class, should be straightforward:
1670 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1671 * DumpRenderTree/NavigationController.h: Added.
1672 * DumpRenderTree/NavigationController.m: Added.
1674 (+[NavigationController isSelectorExcludedFromWebScript:]):
1675 (+[NavigationController webScriptNameForSelector:]):
1676 (-[NavigationController setPendingScript:]):
1677 (-[NavigationController setPendingRequest:]):
1678 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
1679 (-[NavigationController webView:didFinishLoadForFrame:]):
1680 (-[NavigationController dealloc]):
1682 2006-01-08 Timothy Hatcher <timothy@apple.com>
1684 Removed this script, no longer needs with the Subversion switch.
1686 * checkout: Removed.
1688 2006-01-08 Timothy Hatcher <timothy@apple.com>
1690 Removes some stray tabs.
1692 * Scripts/update-webkit:
1694 2005-01-07 Eric Seidel <eseidel@apple.com>
1698 build-webkit should pass on build arguments from command line
1699 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
1701 * Scripts/build-webkit:
1703 2006-01-07 Eric Seidel <eseidel@apple.com>
1705 Reviewed by mjs & xenon.
1707 * Scripts/update-webkit: support Internal updates as well
1709 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1711 Temporarily rolling out plugin support from DumpRenderTree because it
1712 caused lots of layout test regressions.
1714 * DumpRenderTree/DumpRenderTree.m:
1715 (main): Remove invisible window added to support plugins.
1717 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1721 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
1722 Add plugin support to DumpRenderTree
1724 Also wrote first test plugin.
1726 * DumpRenderTree/DumpRenderTree.m:
1728 (1) Put the WebView in an invisible window, because PlugIns are
1729 optimized not to load if there's no parent window.
1730 (2) Tell WebKit to load any PlugIns in the directory from which we
1731 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
1732 and they'll load automagically during layout testing, but they won't be
1733 added to the user's system, hosing apps like Safari.
1735 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
1736 test PlugIn to project.
1738 PlugIn added to project:
1740 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
1741 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
1743 (initializeIdentifiers):
1744 (pluginHasProperty):
1746 (pluginGetProperty):
1747 (pluginSetProperty):
1749 (pluginInvokeDefault):
1753 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
1754 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
1756 (NP_GetEntryPoints):
1762 (NPP_DestroyStream):
1772 2006-01-04 Timothy Hatcher <timothy@apple.com>
1776 Tweaked and tested by me.
1778 New scripts to work with Subversion when the switch happens.
1779 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
1781 * Scripts/svn-apply: Added.
1782 * Scripts/svn-create-patch: Added.
1783 * Scripts/svn-unapply: Added.
1785 2005-12-30 Eric Seidel <eseidel@apple.com>
1789 Move WebView width/height logic into DumpRenderTree to support
1790 running the W3C SVG 1.1 tests along side other tests. The W3C
1791 SVG 1.1 tests require a 480x360 view.
1793 * DumpRenderTree/DumpRenderTree.m:
1794 (main): don't accept width/height
1795 (dump): override width/height for SVG/W3C
1796 * Scripts/run-webkit-tests: don't pass width/height
1798 2005-12-30 Eric Seidel <eseidel@apple.com>
1800 No review, only removing dead code.
1802 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
1803 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
1805 2005-12-30 Eric Seidel <eseidel@apple.com>
1809 DumpRenderTree should set a consistent color profile while running
1810 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
1812 Creates consistent colormatched renderings on every test machine
1813 using the only way possible with Tiger APIs: by setting the
1814 system color profile on the test machine for the duration of the
1815 tests. This will (unfortunately) cause colors to change while
1816 running DumpRenderTree. This can also cause "permanent" color
1817 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
1818 This is far from ideal, but it's be best way we've found to deal
1819 with the issue for now.
1821 * DumpRenderTree/DumpRenderTree.m:
1822 (restoreColorSpace):
1823 (setDefaultColorProfileToRGB):
1826 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
1828 Reviewed by Darin Adler.
1830 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
1831 cvs-create-patch --include produces incorrect paths
1833 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
1835 2005-12-19 Eric Seidel <eseidel@apple.com>
1839 * Scripts/run-webkit-tests: stop /etc/catalog warnings
1841 2005-12-19 Darin Adler <darin@apple.com>
1843 Reviewed by Eric Seidel.
1845 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
1846 WebKit needs to use a local pasteboard during testing
1848 * DumpRenderTree/DumpRenderTree.m:
1849 (main): Call poseAs to substitute our NSPasteboard class for the default one.
1850 Create a local pasteboard (really a global one with a unique name) and release
1851 it when exiting from the function so we don't leave it in the pasteboard server.
1852 (dumpRenderTree): Added an autorelease pool around one small bit of code that
1853 ddn't have one. Fixed a leak in an unlikely error case.
1854 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
1855 of this method to return our local pasteboard.
1857 2005-12-15 Eric Seidel <eseidel@apple.com>
1859 Reviewed by Tim Hatcher.
1861 * Scripts/build-webkit: --svg is now default!
1863 2005-12-15 Eric Seidel <eseidel@apple.com>
1867 Don't run svg test automatically if +SVG is built (yet).
1869 * Scripts/run-webkit-tests:
1871 2005-12-15 Darin Adler <darin@apple.com>
1873 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
1874 support is not compiled in. Report the 10 slowest tests if "--slowest" is
1875 passed on the command line.
1877 2005-12-06 John Sullivan <sullivan@apple.com>
1879 Reviewed by Darin Adler.
1881 * Scripts/prepare-ChangeLog:
1882 Remove special-case handling for nib files. This avoided trouble with cvs diff
1883 when we were using wrappers for nib files. Now that we aren't using wrappers,
1884 there's no reason to avoid adding the modified nib files to the file list that
1887 2005-12-05 Eric Seidel <eseidel@apple.com>
1891 Script updates for SVG files move (remove references to SVGSupport)
1893 * Scripts/build-webkit: remove SVGSupport
1894 * Scripts/run-webkit-tests: Resources -> resources for --svg
1895 * Scripts/update-webkit: remove SVGSupport
1897 2005-12-05 Eric Seidel <eseidel@apple.com>
1901 * checkout: remove --svg support, SVG is now checked out by default
1903 2005-11-29 Eric Seidel <eseidel@apple.com>
1907 Update scripts to run SVG tests automatically (w/o --svg) if
1908 WebCore is built with SVG support.
1910 * Scripts/build-drawtest: SVG support required
1911 * Scripts/build-dumpkcanvastree: Removed.
1912 * Scripts/run-drawtest: SVG support required to run
1913 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
1914 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
1916 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
1918 Reviewed by Darin. Committed by Maciej.
1920 - fixed "DumpRenderTree should test for Ahem before doing anything else"
1921 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
1923 * DumpRenderTree/DumpRenderTree.m:
1926 2005-11-28 Eric Seidel <eseidel@apple.com>
1928 Reviewed by sullivan and GGAREN.
1930 Minor additions to make error messages more clear from cvs-apply.
1932 * Scripts/cvs-apply: make errors more clear
1934 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
1936 Reviewed and committed by Maciej.
1938 - fixed cvs-create-patch --include produces incorrect paths
1939 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
1941 * Scripts/cvs-create-patch: produce proper paths for new files.
1943 2005-11-21 Eric Seidel <eseidel@apple.com>
1947 Some simple fixes to the build/test scripts now that SVG uses the
1948 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
1949 or symlinks for KDOM.
1951 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
1952 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
1953 * Scripts/run-webkit-tests: now runs SVG tests using DRT
1954 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
1955 * checkout: no longer symlink kdom
1957 2005-11-10 Eric Seidel <eseidel@apple.com>
1961 * Scripts/build-webkit: Pass through options to xcodebuild
1963 2005-11-07 Darin Adler <darin@apple.com>
1965 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
1967 2005-11-03 John Sullivan <sullivan@apple.com>
1971 * Scripts/run-safari:
1972 changed message to say "Starting Safari" instead of odd "Start Safari"
1973 * Scripts/run-webkit-tests:
1974 changed the way we pass the file parameter to use -NSOpen rather than relying on
1975 unlabeled arguments being treated as files. This was failing on some machines that
1976 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
1978 2005-10-27 Geoffrey Garen <ggaren@apple.com>
1980 Patch by Alexey Proskuryakov.
1984 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
1985 TextInputController should support attributed strings
1987 * DumpRenderTree/TextInputController.m:
1988 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
1989 (+[NSMutableAttributedString webScriptNameForSelector:]):
1990 (-[NSMutableAttributedString getLength]):
1991 (-[NSMutableAttributedString attributeNamesAtIndex:]):
1992 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
1993 (-[NSMutableAttributedString addAttribute:value:]):
1994 (-[NSMutableAttributedString addAttribute:value:from:length:]):
1995 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
1996 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
1997 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
1998 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
1999 (+[TextInputController isSelectorExcludedFromWebScript:]):
2000 (+[TextInputController webScriptNameForSelector:]):
2001 (-[TextInputController insertText:]):
2002 (-[TextInputController attributedSubstringFrom:length:]):
2003 (-[TextInputController attributedStringWithString:]):
2005 2005-10-11 Eric Seidel <eseidel@apple.com>
2009 Checks for leaks in ImageDiff too.
2011 * Scripts/run-webkit-tests:
2013 2005-10-09 Darin Adler <darin@apple.com>
2015 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2016 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2017 * Scripts/cvs-unapply: Ditto.
2018 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2020 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
2022 Reviewed, rearranged and landed by Darin.
2024 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2025 Need a way to automatically test for regressions in NSTextInput implementation
2027 * DumpRenderTree/DumpRenderTree.m:
2028 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2029 Create a text input controller and put it in a property of the window object.
2031 * DumpRenderTree/TextInputController.h: Added.
2032 * DumpRenderTree/TextInputController.m: Added.
2033 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2035 2005-10-06 Darin Adler <darin@apple.com>
2037 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2038 are controlled by cvs, or when changes cross multiple repositories.
2039 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2041 2005-10-03 Eric Seidel <eseidel@apple.com>
2045 Make mouseDown and mouseUp force layout before acting.
2046 This is used by a new test case for 4233558.
2048 * DumpRenderTree/DumpRenderTree.m:
2049 (-[EventSendingController mouseDown]): force layout
2050 (-[EventSendingController mouseUp]): force layout
2052 2005-09-30 Eric Seidel <eseidel@apple.com>
2056 Updated all the scripts for the move:
2057 WebCore/layout-tests -> LayoutTests
2059 * Scripts/check-dom-results:
2060 * Scripts/prepare-ChangeLog:
2061 * Scripts/run-webkit-tests:
2062 * Scripts/update-webkit: added --no-tests
2063 * checkout: added --no-tests
2065 2005-09-28 Darin Adler <darin@apple.com>
2067 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2068 pixel test should run even if render trees differ
2070 * Scripts/run-webkit-tests: Don't check if the text dump matches.
2072 2005-09-27 Eric Seidel <eseidel@apple.com>
2074 No review needed, SVG build fix only.
2076 * DumpKCanvasTree/DumpKCanvasTree.m:
2077 Missed one in my previous checkin.
2078 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2080 2005-09-26 Eric Seidel <eseidel@apple.com>
2082 No review needed, SVG build fix only.
2084 * DrawTest/DrawTestDocument.m:
2085 * DrawTest/DrawTestToolbarController.m:
2086 * DrawTest/DrawTestView.h:
2087 * DrawTest/DrawTestView.m:
2088 * DrawTest/SVGTest.m:
2089 * DrawTest/TestController.m:
2090 Updated for WebCore+SVG -> WebCore rename.
2091 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2093 2005-09-26 Eric Seidel <eseidel@apple.com>
2097 * DumpRenderTree/DumpRenderTree.m:
2098 (dump): updated error message
2099 * Scripts/check-dom-results: now includes xhtml
2100 Tool updates for xhtml.
2101 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2103 2005-09-22 Duncan Wilcox <duncan@mclink.it>
2108 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2109 "Would like to simulate human interaction with webview"
2111 * DumpRenderTree/DumpRenderTree.m:
2112 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2113 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2114 (+[EventSendingController webScriptNameForSelector:]):
2115 (-[EventSendingController init]):
2116 (-[EventSendingController mouseDown]):
2117 (-[EventSendingController mouseUp]):
2118 (-[EventSendingController mouseMoveToX:Y:]):
2119 Add eventSender javascript object, that sends fake mouse events to the webview.
2121 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2122 link with Carbon.framework
2124 2005-09-22 Eric Seidel <eseidel@apple.com>
2128 Update tools for WebCore+SVG -> WebCore rename.
2129 Also fold several SVG specific tools into their original
2130 WebCore counterparts.
2131 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2133 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2134 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2135 * Scripts/build-drawtest:
2136 * Scripts/build-dumpkcanvastree:
2137 * Scripts/build-webcore-svg: Removed.
2138 * Scripts/build-webkit: added --svg option
2139 * Scripts/run-drawtest:
2140 * Scripts/run-webkit-tests:
2141 * Scripts/webkitdirs.pm: various additions.
2142 * checkout: added --svg option
2143 * checkout-svg: Removed.
2145 2005-09-19 Eric Seidel <eseidel@apple.com>
2149 * Scripts/run-webkit-tests: added --guard-malloc option
2150 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2152 2005-09-16 Justin Garcia <justin.garcia@apple.com>
2156 Removed a script that is only used by apple internal developers
2158 * Scripts/update-webkitsysteminterface: Removed.
2160 2005-09-16 Adele Peterson <adele@apple.com>
2164 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2166 2005-09-14 Darin Adler <darin@apple.com>
2168 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2169 dumpAsText doesn't work with XHTML documents
2171 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2172 rather than of the body element. This works with typical XHTML documents. We can probably
2173 do something even better in the long run, but this fixes the immediate issue.
2177 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2178 run-safari instead of just using "open", which often runs another copy of Safari instead.
2180 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
2182 Reviewed, tweaked, and landed by Darin.
2184 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2185 .Mac prefpane crashes when Safari using CVS WebKit is running
2187 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2188 * Scripts/run-webkit-app: Ditto.
2190 2005-09-11 Darin Adler <darin@apple.com>
2192 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2194 2005-09-11 Darin Adler <darin@apple.com>
2198 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2199 two ways: 1) puts all files in a directory before any files in a subdirectory, and
2200 2) sort file names with numeric digits in them in a logical way, so test-33 will come
2203 2005-09-08 Justin Garcia <justin.garcia@apple.com>
2207 * Scripts/update-webkitsysteminterface: Added.
2208 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2210 2005-09-01 John Sullivan <sullivan@apple.com>
2212 * Scripts/run-webkit-tests:
2213 Excluded a known system leak to reduce noise; added comments about which leaks
2216 2005-09-01 Tim Omernick <tomernick@apple.com>
2218 Change made by Darin, reviewed by John and myself.
2220 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2222 * Scripts/prepare-ChangeLog:
2224 2005-08-31 Maciej Stachowiak <mjs@apple.com>
2228 - set color variant and font settings to a consistent value.
2229 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2231 * DumpRenderTree/DumpRenderTree.m:
2234 2005-08-30 Eric Seidel <eseidel@apple.com>
2238 * Scripts/build-svg2png: Removed.
2239 * svg2png/ImageDiff.h: Removed.
2240 * svg2png/ImageDiff.m: Removed.
2241 * svg2png/svg2png.m: Removed.
2242 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2243 * svg2png/svg2png_Prefix.pch: Removed.
2244 svg2png is no longer needed.
2246 2005-08-30 Darin Adler <darin@apple.com>
2248 * Scripts/check-dom-results: Special case 100% to say something nice.
2249 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2250 applying the patch (need a better name).
2251 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2253 2005-08-30 Darin Adler <darin@apple.com>
2255 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2257 2005-08-29 Maciej Stachowiak <mjs@apple.com>
2261 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2262 (some pixel tests fail when AA settings are changed)
2264 * DumpRenderTree/DumpRenderTree.m:
2265 (main): set AA settings to the default values
2267 2005-08-29 Darin Adler <darin@apple.com>
2269 Reviewed by John Sullivan.
2271 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2272 executable -- much slower but can help pinpoint leaks. Changed formatting of some
2275 2005-08-28 Maciej Stachowiak <mjs@apple.com>
2279 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2280 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2282 * DumpRenderTree/DumpRenderTree.m:
2283 (main): set scrollbar arrow setting to a consistent value
2285 2005-08-27 Jussi Hagman <juhagman@abo.fi>
2287 Reviewed and landed by Darin.
2289 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2290 output of update-webkit is too verbose
2292 * Scripts/update-webkit:
2293 Added option --quiet (-q) to decrease the amount of output.
2295 2005-08-27 Darin Adler <darin@apple.com>
2297 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2298 cvs-create-patch --include-unknowns should ignore hidden files
2300 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2302 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
2304 Reviewed, tweaked, and landed by Darin.
2306 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2307 update-webkit doesn't notice when you have SVGSupport and update properly
2309 * Scripts/update-webkit: Build SVGSupport directory if it's present.
2311 2005-08-25 Anders Carlsson <andersca@mac.com>
2313 Reviewed and landed by Darin.
2315 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2316 layout test machinery can't handle tests with applets that have code attributes
2318 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2320 2005-08-24 Darin Adler <darin@apple.com>
2324 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2325 DumpRenderTree --pixel-tests crash
2326 - landed some other small changes I had sitting in my tree
2328 * DumpRenderTree/DumpRenderTree.m:
2329 (main): Don't bother saving and restoring the preferences. Not sure
2330 why this was ever done since the preferences are specific to DumpRenderTree.
2331 Clear delegates before releasing the WebView, because you can't count on the
2332 order of object deallocation.
2333 (dumpRenderTree): Fix code that releases a string before storing it in a
2336 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2337 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2339 2005-08-23 Eric Seidel <eseidel@apple.com>
2343 * Scripts/run-webkit-tests:
2344 Made --leaks option more readable by printing to a file.
2345 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2347 2005-08-22 Eric Seidel <eseidel@apple.com>
2348 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2352 * Scripts/run-webkit-tests: hides "expected actual diffs" links
2353 when they are not needed (for pixel-only failures)
2354 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2356 2005-08-22 Eric Seidel <eseidel@apple.com>
2360 * Scripts/run-webkit-tests: Added the ability to display more than
2361 just two images as part of the image-diff "slideshow".
2362 Added display of "-w3c.png" baseline images for SVG.
2363 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2365 2005-08-20 Eric Seidel <eseidel@apple.com>
2367 * Scripts/run-webkit-tests:
2368 "build" fix after committing incorrect version.
2370 2005-08-20 Eric Seidel <eseidel@apple.com>
2374 * DumpRenderTree/DumpRenderTree.m:
2375 (main): cleans up delegates
2376 (dumpRenderTree): closes CFString/CFURL leak
2377 * Scripts/run-webkit-tests:
2378 Adds --leaks option to run-webkit-tests
2379 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2381 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
2385 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2386 new files to be included in the patch even without "cvs add".
2388 2005-08-19 Darin Adler <darin@apple.com>
2390 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2391 non-cvs-generated patches. Anders has been creating these, so it's bad that
2392 the script can't handle them.
2393 * Scripts/cvs-unapply: Ditto.
2395 2005-08-18 Darin Adler <darin@apple.com>
2397 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2398 "." in them -- based on complaint by someone here at Apple.
2400 2005-08-18 Eric Seidel <eseidel@apple.com>
2404 * Scripts/run-webkit-tests:
2405 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2407 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2409 - add file that I forgot in the last checkin
2411 * DumpRenderTree/ImageDiff.m: Added.
2413 (getImageFromStdin):
2415 (getDifferenceBitmap):
2416 (computePercentageDifferent):
2418 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2420 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2421 somewhat by me, and also tweaked by me a little bit.
2423 - better support for pixel-dumping
2424 - use checksums of the images so the tests are fast
2425 - change output format to make the tests run faster
2426 - don't dump pixel results for tests that dump as text
2428 * DumpKCanvasTree/DumpKCanvasTree.m:
2431 (md5HashStringForBitmap):
2433 (constrainSizeToMaximum):
2434 (getBitmapImageRepForSVGDocument):
2435 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2436 * DumpRenderTree/DumpRenderTree.m:
2440 (md5HashStringForBitmap):
2441 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2442 * Scripts/run-webkit-tests:
2444 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2448 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2450 * DumpRenderTree/DumpRenderTree.m:
2453 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2455 Reviewed and landed by Darin.
2457 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
2458 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
2460 * Scripts/run-safari: Pass arguments through to Safari on command line.
2461 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2463 2005-08-11 Eric Seidel <eseidel@apple.com>
2464 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2466 Reviewed by eseidel.
2468 * DrawTest/TestController.m:
2469 (-[TestController imagePathForSVGPath:]):
2470 Fixed support for using TextViewer with the layout-tests.
2471 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2473 2005-08-11 Maciej Stachowiak <mjs@apple.com>
2475 At Least Roughly Glanced At by Anders.
2477 - fix change with totally breaks the layout tests.
2479 * DumpRenderTree/DumpRenderTree.m:
2480 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
2481 load, to avoid dumping twice accidentally.
2483 2005-08-10 Eric Seidel <eseidel@apple.com>
2484 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
2488 * DumpRenderTree/DumpRenderTree.m:
2489 Added support for rendering to a PNG file.
2490 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2492 2005-08-07 Eric Seidel <eseidel@apple.com>
2496 * Scripts/run-webkit-tests: added --svg option
2497 * Scripts/run-webkit-tests-svg: Removed.
2498 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2500 2005-08-07 Eric Seidel <eseidel@apple.com>
2501 Changes by Ben La Monica <ben.lamonica@gmail.com>
2505 * svg2png/ImageDiff.h: Added.
2506 * svg2png/ImageDiff.m: Added.
2507 (getDifferenceBitmap):
2508 (computePercentageDifferent):
2509 (saveAnimatedGIFToFile):
2510 * svg2png/svg2png.m:
2511 (usage): added several new options
2512 (getBitmapForSVG): added NSBitmapImageRep generation
2513 (main): various argument changes.
2514 * svg2png/svg2png.xcodeproj/project.pbxproj:
2515 Several additions to provide image differencing functionality.
2516 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
2518 2005-08-07 Eric Seidel <eseidel@apple.com>
2522 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
2523 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
2524 Adding the first SVG layout tests:
2525 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
2527 2005-08-07 Darin Adler <darin@apple.com>
2529 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
2531 2005-08-06 Eric Seidel <eseidel@apple.com>
2535 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
2536 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
2537 * Scripts/build-dumpkcanvastree: Added.
2538 * Scripts/run-webkit-tests-svg: Added.
2539 Adds a DumpRenderTree-like tool for SVG which allows us to do
2540 text-based layout regression testing. This (like most of the
2541 SVG specific stuff) is temporary and will be replaced by
2542 DumpRenderTree once the DOMs and RenderTrees merge.
2543 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
2545 2005-08-06 Eric Seidel <eseidel@apple.com>
2549 * DrawTest/DrawTestView.m:
2550 (-[DrawTestView toggleFilterSupport:]): missing negation.
2551 One half of fix for toggling filter support.
2552 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
2554 2005-08-04 Eric Seidel <eseidel@apple.com>
2558 * Scripts/build-drawtest:
2559 * Scripts/build-dumprendertree:
2560 * Scripts/build-svg2png:
2561 * Scripts/build-webcore-svg:
2562 * Scripts/build-webkit:
2563 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
2564 Added checkRequiredSystemConfig and made all the build-* scripts
2565 use it to print a pretty warning when trying to compile on an
2566 unsupported system (less than 10.4, Xcode 2.1).
2567 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
2569 2005-08-04 Darin Adler <darin@apple.com>
2571 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
2572 the dead. It was removed by accident when someone was trying to work on the branch.
2574 2005-07-31 Darin Adler <darin@apple.com>
2576 - a little tools cleanup
2578 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
2579 project as a whole. Removed unused Default configuration.
2581 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2583 2005-07-31 Duncan Wilcox <duncan@mclink.it>
2585 Reviewed and landed by Darin Adler.
2587 Add logging of editing delegate calls for regression checking.
2589 * DumpRenderTree/DumpRenderTree.m:
2591 setup editing delegate
2593 (-[DOMNode dumpPath]):
2595 utility for editing delegate logging
2597 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2598 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2599 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2600 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2601 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2602 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2603 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2604 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2605 (-[EditingDelegate webViewDidBeginEditing:]):
2606 (-[EditingDelegate webViewDidChange:]):
2607 (-[EditingDelegate webViewDidEndEditing:]):
2608 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2609 log corresponding editing delegate methods
2611 (-[EditingDelegate webViewDidChangeSelection:]):
2612 log selection except when clearing selection after end of test (uses existing "done" flag)
2615 added clearing of selection after test
2617 2005-07-31 Eric Seidel <eseidel@apple.com>
2621 * Scripts/build-drawtest: Added.
2622 * Scripts/build-svg2png: Added.
2623 * Scripts/build-webcore-svg: Added.
2624 * Scripts/run-drawtest: Added.
2625 * Scripts/webkitdirs.pm: added checkSVGFrameworks
2626 Made it much easier to build WebCore+SVG.
2627 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2629 2005-07-29 Eric Seidel <eseidel@apple.com>
2633 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2634 Build fix. Removed bad path.
2636 2005-07-29 Eric Seidel <eseidel@apple.com>
2638 Reviewed by sullivan.
2640 * DrawTest/AppDelegate.h: Added.
2641 * DrawTest/AppDelegate.m: Added.
2642 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
2643 * DrawTest/DrawTestDocument.h: Added.
2644 * DrawTest/DrawTestDocument.m: Added.
2645 * DrawTest/DrawTestInspectorController.h: Added.
2646 * DrawTest/DrawTestInspectorController.m: Added.
2647 * DrawTest/DrawTestToolbarController.h: Added.
2648 * DrawTest/DrawTestToolbarController.m: Added.
2649 * DrawTest/DrawTestView.h: Added.
2650 * DrawTest/DrawTestView.m: Added.
2651 * DrawTest/DrawTest_Prefix.pch: Added.
2652 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
2653 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
2654 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
2655 * DrawTest/English.lproj/InfoPlist.strings: Added.
2656 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
2657 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
2658 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
2659 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
2660 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
2661 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2662 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
2663 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
2664 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
2665 * DrawTest/Info.plist: Added.
2666 * DrawTest/SVGTest.h: Added.
2667 * DrawTest/SVGTest.m: Added.
2668 * DrawTest/ScalingImageView.h: Added.
2669 * DrawTest/ScalingImageView.m: Added.
2670 * DrawTest/TestController.h: Added.
2671 * DrawTest/TestController.m: Added.
2672 * DrawTest/TestViewerSplitView.h: Added.
2673 * DrawTest/TestViewerSplitView.m: Added.
2674 * DrawTest/main.m: Added.
2675 Adding simple cocoa app for testing SVG rendering, interaction.
2676 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
2678 2005-07-28 Eric Seidel <eseidel@apple.com>
2682 * svg2png/svg2png.m: Added.
2683 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
2684 * svg2png/svg2png_Prefix.pch: Added.
2685 Added a simple test tool which dumps a PNG from an SVG using
2686 WebCore+SVG's SVG rendering support.
2687 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
2689 2005-07-26 Maciej Stachowiak <mjs@apple.com>
2693 - new script to review the DOM layout test results and see where we stand
2694 on actual success and failure
2696 * Scripts/check-dom-results: Added.
2698 2005-07-25 Darin Adler <darin@apple.com>
2700 * Scripts/webkitdirs.pm: Check in missing line of code.
2702 2005-07-25 Darin Adler <darin@apple.com>
2704 - fixed problem that was causing JavaScriptCore test to fail
2705 (except for people who had set DYLD_FRAMEWORK_PATH)
2707 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
2708 Add code to parse configuration parameter so you can pass --deployment if you like.
2709 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
2711 * Scripts/update-javascriptcore-test-results: Add license header.
2713 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
2714 from @ARGV. This lets us use this option in commands that take other options and
2715 pass them along to a subsequent tool.
2717 2005-07-25 Darin Adler <darin@apple.com>
2719 Reviewed by Geoff Garen.
2721 - Fixed run-safari and gdb-safari to use the Safari application in the build results
2722 directory, if any, falling back to the one in the Applications directory otherwise.
2723 Does no harm for open source contributors who don't build Safari, and helps out the
2724 Safari team, since we do build Safari.
2726 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
2727 variable, and if that's not present, looks in either the build results directory or
2728 /Applications; factors code that was in both scripts before into a shared function.
2729 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
2730 now in Xcode 2.1 format and incompatible with older versions of Xcode.
2732 * Scripts/gdb-safari: Use safariPath.
2733 * Scripts/run-safari: Use safariPath.
2735 2005-07-22 Geoffrey Garen <ggaren@apple.com>
2737 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
2738 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
2740 Moved Tools/Scripts/update-mozilla-js-test-results to
2741 WebKitTools/Scripts/update-javascriptcore-test-results.
2745 * Scripts/run-javascriptcore-tests: Added.
2747 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2751 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2753 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2755 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
2757 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2759 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
2761 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2763 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
2765 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2767 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
2769 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2771 * Scripts/build-webkit:
2773 2005-07-12 Eric Seidel <eseidel@apple.com>
2777 * checkout-svg: Fixed error with symlink creation.
2779 2005-07-12 Eric Seidel <eseidel@apple.com>
2783 * checkout-svg: Added.
2784 Script to check out WebCore+SVG
2786 2005-06-30 Darin Adler <darin@apple.com>
2788 Changes based on input from Michael Kahl.
2790 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
2791 specify different style of "diff".
2792 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
2793 determineConfigurationProductDir works in all cases.
2795 2005-06-29 Darin Adler <darin@apple.com>
2797 - fixed bug which would result in multiple unwanted dumps in a single layout test
2799 * DumpRenderTree/DumpRenderTree.m:
2800 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
2802 (-[LayoutTestController waitUntilDone]): Update for name change.
2803 (-[LayoutTestController notifyDone]): Dump only if ready.
2804 (dumpRenderTree): Set up new boolean and update for name change.
2806 2005-06-29 Darin Adler <darin@apple.com>
2808 Changes by Timothy Hatcher.
2811 * Scripts/run-webkit-app: Added script to open an arbritrary application with
2812 a CVS built WebKit. Example: ./run-webkit-app Colloquy
2814 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
2815 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
2816 * Scripts/run-safari: Ditto.
2818 2005-06-26 Darin Adler <darin@apple.com>
2820 * Scripts/build-dumprendertree: Pass -project option so that having a second
2821 copy of the project (like the one Xcode 2.1 offers to make for you) that's
2822 out of date won't screw you up.
2823 * Scripts/build-webkit: Ditto.
2825 2005-06-23 Darin Adler <darin@apple.com>
2827 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
2829 2005-06-23 Darin Adler <darin@apple.com>
2831 Changes based on input from Michael Kahl.
2833 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
2834 directory passed in.
2836 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
2837 getcwd() in the code to find the base product dir. Added code to handle unusual
2838 base product directory values that use SRCROOT.
2840 2005-06-22 Darin Adler <darin@apple.com>
2842 Change by Anders Carlsson.
2844 - added support for dumping title changes
2846 * DumpRenderTree/DumpRenderTree.m:
2847 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
2848 if requested by JavaScript.
2849 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
2850 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
2851 (dumpRenderTree): Start flag as NO.
2853 2005-06-20 Darin Adler <darin@apple.com>
2855 Reviewed by Justin Garcia.
2857 * Scripts/run-webkit-tests: Report number of tests when they succeed.
2859 2005-06-18 Darin Adler <darin@apple.com>
2861 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
2862 in the hope of making the tool use less memory and run faster.
2864 2005-06-18 Darin Adler <darin@apple.com>
2866 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
2867 * Scripts/cvs-unapply: Ditto.
2869 2005-06-17 Maciej Stachowiak <mjs@apple.com>
2871 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
2872 benefit of all WebKit hackerdom
2874 * Scripts/prepare-ChangeLog: Added.
2876 2005-06-16 Darin Adler <darin@apple.com>
2878 - recent changes to XcodeOptions made it depend on the current directory
2879 The intent was to have the WebKitBuild directory be next to WebKitTools,
2880 not inside the various build directories. Workaround for now is to call
2881 XcodeOptions when the directory is set to the WebKit directory.
2883 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
2884 at the start of the script.
2885 * Scripts/build-webkit: Ditto.
2887 2005-06-15 Darin Adler <darin@apple.com>
2889 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
2891 2005-06-14 Darin Adler <darin@apple.com>
2893 Changes by Anders Carlsson.
2896 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
2897 Add gdb-safari script to launch Safari under gdb
2899 * Scripts/gdb-safari: Added.
2901 2005-06-12 Darin Adler <darin@apple.com>
2903 Changes by Stuart Morgan.
2906 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
2907 * Scripts/cvs-apply: Ditto.
2908 * Scripts/cvs-create-patch: Ditto.
2909 * Scripts/cvs-unapply: Ditto.
2910 * Scripts/run-webkit-tests: Ditto.
2911 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
2913 2005-06-12 Darin Adler <darin@apple.com>
2915 * Scripts/cvs-apply: Handle case of an empty patch better.
2916 * Scripts/cvs-unapply: Ditto.
2918 2005-06-12 Darin Adler <darin@apple.com>
2920 Changes by Michael Gaiman.
2923 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
2924 WebKit no longer builds after configuration supporting build changes
2926 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
2928 2005-06-12 Darin Adler <darin@apple.com>
2930 * Scripts/update-webkit: Make this script work when called from any directory.
2932 2005-06-12 Darin Adler <darin@apple.com>
2935 Includes changes by Stuart Morgan as well as my own.
2937 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
2938 symrootXcodeOptions to set the -buildstyle option.
2939 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
2940 The new --development option does the same thing.
2941 * Scripts/run-safari: Ditto.
2942 * Scripts/run-webkit-tests: Ditto.
2943 * Scripts/update-webkit: Ditto.
2944 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
2946 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
2947 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
2948 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
2949 product directory. Read the default configuration from a file, overridable by a passed-in command-line
2952 2005-06-11 Darin Adler <darin@apple.com>
2954 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
2955 to execute the cvs diff commands.
2957 2005-06-11 Darin Adler <darin@apple.com>
2959 - added first cuts at some cvs scripts
2961 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
2962 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
2963 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
2964 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
2966 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
2968 * Scripts/cvs-abandon: Added.
2969 * Scripts/cvs-apply: Added.
2970 * Scripts/cvs-create-patch: Added.
2971 * Scripts/cvs-unapply: Added.
2973 2005-06-09 Darin Adler <darin@apple.com>
2977 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
2978 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
2980 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
2981 for Foundation.framework. How was it ever wrong?
2983 - finally, I tested making the default build directory work; it works now
2985 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
2986 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
2987 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
2988 * Scripts/build-dumprendertree: Ditto.
2990 2005-06-09 Darin Adler <darin@apple.com>
2992 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
2993 work. Someone should try building without setting the Xcode build product directory now,
2994 and let me know if it works.
2996 2005-06-08 Darin Adler <darin@apple.com>
2998 - quick fix to try to get build scripts working again
3000 * Scripts/build-dumprendertree: Add FindBin.
3001 * Scripts/build-webkit: Ditto.
3002 * Scripts/run-safari: Ditto.
3003 * Scripts/run-webkit-tests: Ditto.
3004 * Scripts/update-webkit: Ditto.
3006 2005-06-08 Darin Adler <darin@apple.com>
3010 - some build script enhancements
3012 * Scripts/build-dumprendertree: Changed to use webkitdirs.
3013 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
3015 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
3016 before Deplyment in that case.
3017 * Scripts/run-webkit-tests: Changed to use webkitdirs.
3018 * Scripts/update-webkit: Changed to use webkitdirs.
3020 * Scripts/webkitdirs.pm: Added.
3022 2005-06-08 Maciej Stachowiak <mjs@apple.com>
3024 Code change by Toby Peterson <toby@opendarwin.org>
3027 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
3028 get confused because build-webkit now makes even 2.0 build directories look
3031 2005-06-07 Darin Adler <darin@apple.com>
3033 Reviewed by Adele Peterson.
3035 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
3036 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
3037 so we can run tests with Xcode 2.1.
3039 2005-06-07 Darin Adler <darin@apple.com>
3041 Reviewed by Adele Peterson.
3043 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
3044 layout-tests directory to include additional sets of tests.
3046 2005-06-07 Darin Adler <darin@apple.com>
3048 * checkout: Added license.
3049 * Scripts/build-dumprendertree: Ditto.
3050 * Scripts/run-webkit-tests: Ditto.
3051 * Scripts/update-webkit: Ditto.
3053 2005-06-07 Darin Adler <darin@apple.com>
3055 Change by Toby Peterson <toby@opendarwin.org>.
3058 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
3059 * Scripts/run-safari: Ditto.
3061 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3063 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
3065 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3067 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
3069 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3071 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
3073 2005-06-05 Darin Adler <darin@apple.com>
3075 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
3076 * Scripts/build-dumprendertree: Added.
3077 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
3078 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
3080 2005-06-05 Darin Adler <darin@apple.com>
3082 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
3084 2005-06-05 Darin Adler <darin@apple.com>
3086 - add run-webkit-tests script; not working yet but the pieces are there
3088 * Scripts/run-webkit-tests: Added.
3090 * DumpRenderTree/DumpRenderTree.m: Added.
3091 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
3092 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
3093 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
3095 2005-06-05 Darin Adler <darin@apple.com>
3097 - created module, first cut at Web Kit Open Source Project scripts
3100 * Scripts/build-webkit: Added.
3101 * Scripts/run-safari: Added.
3102 * Scripts/update-webkit: Added.
3105 === creation of WebKitTools module ===