1 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
3 - commit Scripts/run-mangleme-tests (missed it the previous time).
5 2006-04-18 Darin Adler <darin@apple.com>
7 - attempt to fix Windows buildbot
9 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
10 We need a better long-term solution for this.
12 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
16 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
17 Integrate mangleme test script.
19 Works in a similar way to run-iexploder-tests.
21 * Scripts/run-mangleme-tests: Added.
23 * mangleme/Makefile: Added.
24 * mangleme/README: Added.
25 * mangleme/mangle.cgi.c: Added.
26 * mangleme/remangle.cgi.c: Added.
27 * mangleme/tags.h: Added.
29 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
33 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
34 An easier way to save iExploder tests.
36 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
38 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
42 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
43 Integrate iExploder test script.
45 This script generates artificially mangled HTML documents, to test that the browser
46 doesn't crash when handling ill-formed code.
49 run-iexploder-tests Open an interactive test page in Safari+ToT.
50 run-iexploder-tests nnnnn Open test #nnnnn.
53 --guard-malloc (-g) Use Guard Malloc.
54 --port=nnnn Run Apache on port nnnn (default is 8000).
56 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
57 (thus, Apache is still running), e.g.:
58 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
60 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
62 * Scripts/run-iexploder-tests: Added.
64 * iExploder/LICENSE.txt: Added.
65 * iExploder/README.txt: Added.
66 * iExploder/htdocs: Added.
67 * iExploder/htdocs/cssproperties.in: Added.
68 * iExploder/htdocs/cssvalues.in: Added.
69 * iExploder/htdocs/htmlattrs.in: Added.
70 * iExploder/htdocs/htmltags.in: Added.
71 * iExploder/htdocs/htmlvalues.in: Added.
72 * iExploder/htdocs/iexploder.cgi: Added.
73 * iExploder/htdocs/index.html: Added.
74 * iExploder/tools: Added.
75 * iExploder/tools/lasthit.rb: Added.
76 * iExploder/tools/osx_last_crash.rb: Added.
78 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
82 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
83 Restore color profile after a crash
85 * DumpRenderTree/DumpRenderTree.m:
86 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
87 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
88 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
89 and this code may change significantly.
91 (main): Install crashHandler.
93 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
94 (CFStringGetCStringPtr should NEVER EVER be used!).
96 2006-04-15 Darin Adler <darin@apple.com>
100 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
101 Seems xmlsoft.org's HTTP no longer has what we need.
103 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
105 Rubber-stamped by Darin.
107 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
108 upload-disk-image stage on buildslaves fail with "No space left on device"
110 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
111 'hdiutil create'. This creates the initial disk image based on the size of
112 the source folder, and copies the contents to the new disk image. The file
113 extension on the temporary uncompressed disk image has also been altered from
114 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
115 the extension is not ".dmg".
117 2006-04-12 Eric Seidel <eseidel@apple.com>
121 * Scripts/update-webkit: Make this return non-zero when svn fails.
123 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
127 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
128 Make HTTP tests using Perl use .pl extension
130 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
131 removed support for .text. Reduced the number of places that explicitly list supported
132 extensions. Some of the changes come from bug 8121, the patch for which got landed only
135 2006-04-06 Darin Adler <darin@apple.com>
137 Changes requested by Mark Rowe.
139 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
140 trash at the end of the file.
141 * BuildSlaveSupport/build-launcher-dmg: Ditto.
143 * WebKitLauncher/main.m: Removed trash at end of file.
145 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
148 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
150 Reviewed by Darin, landed by Maciej.
152 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
153 and bundles the WebKit frameworks inside it.
154 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
155 containing WebKit.app.
156 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
157 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
158 number of the SVN working copy.
159 * WebKitLauncher: Added.
160 * WebKitLauncher/Info.plist: Added.
161 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
162 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
163 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
164 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
165 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
166 the nightly launcher.
167 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
168 It sets up the environment to have Safari use the bundled frameworks
169 and load the WebKitNightlyEnabler dylib before exec'ing Safari
170 * WebKitLauncher/start.html: Added.
171 * WebKitLauncher/webkit.icns: Added.
173 2006-04-05 Darin Adler <darin@apple.com>
177 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
178 are allowed to have global initializers.
180 2006-04-05 Geoffrey Garen <ggaren@apple.com>
184 * Scripts/run-testkjs:
185 - pipe STDERR to /dev/null by default; new --verbose option overrides
187 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
188 - output run command in a format that can be copied and pasted into the
189 terminal to run manually
191 2006-04-03 Justin Garcia <justin.garcia@apple.com>
195 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
196 A drag and drop in DumpRenderTree copies the source, instead of cutting it
198 Tell the source that the drag is over after the drag is performed, not before.
200 * DumpRenderTree/EventSendingController.m:
201 (-[EventSendingController mouseUp]):
203 2006-04-01 Darin Adler <darin@apple.com>
207 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
208 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
209 elements in that array are not strings.
211 2006-03-31 Darin Adler <darin@apple.com>
213 Reviewed by John Sullivan.
215 - added a "--reset-results" option to run-webkit-tests so you can reset
216 the results without first deleting expected results
217 - <rdar://problem/4185878> add scroll position to dumpRenderTree
219 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
220 more logical. Moved all the subroutines to the end of the file. Added a
223 * DumpRenderTree/DumpRenderTree.m:
224 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
225 to generate new output for all tests it runs.
226 (dump): Dump the scroll position if it's non-zero. Always dump the image when
227 the --dump-all-pixels option is passed. Also tightened up the image dumping
228 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
229 with code to save and restore the context.
231 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
232 * DumpRenderTree/EventSendingController.m: Added now-needed include.
234 2006-03-30 Tim Omernick <timo@apple.com>
236 Reviewed by NOBODY (just fixing copyrights)
238 * DumpRenderTree/ObjCPlugin.h:
240 * DumpRenderTree/ObjCPlugin.m: ditto
241 * DumpRenderTree/ObjCPluginFunction.h: ditto
242 * DumpRenderTree/ObjCPluginFunction.m: ditto
244 2006-03-30 Tim Omernick <timo@apple.com>
248 * DumpRenderTree/DumpRenderTree.m:
249 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
250 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
251 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
252 exposed to JS as a callable object.
254 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
255 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
257 * DumpRenderTree/ObjCPlugin.h: Added.
258 * DumpRenderTree/ObjCPlugin.m: Added.
259 * DumpRenderTree/ObjCPluginFunction.h: Added.
260 * DumpRenderTree/ObjCPluginFunction.m: Added.
262 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
263 Added a new method, "removeDefaultMethod", which removes the default method from the
264 plugin object's class. The effect is that the plugin object is mutated from a callable
265 function to a simple object.
267 Handle "removeDefaultMethod".
268 (pluginInvokeDefault):
269 Made the default method actually do something (return 1).
271 2006-03-30 Eric Seidel <eseidel@apple.com>
275 Remove WebFrame::viewImpl(), setMainFrame on page.
277 * Spinneret/Spinneret/WebFrame.cpp:
278 (WebKit::WebFrame::WebFrame):
279 * Spinneret/Spinneret/WebFrame.h:
280 * Spinneret/Spinneret/WebView.cpp:
281 (WebKit::WebView::mouseMoved):
282 (WebKit::WebView::mouseDown):
283 (WebKit::WebView::mouseUp):
284 (WebKit::WebView::mouseDoubleClick):
285 (WebKit::WebViewWndProc):
287 2006-03-30 Eric Seidel <eseidel@apple.com>
291 Fix html editing input & basic form submission.
293 * Spinneret/Spinneret/WebFrame.cpp:
294 (WebKit::WebFrame::submitForm):
295 (WebKit::WebFrame::loadURL):
296 * Spinneret/Spinneret/WebFrame.h:
297 * Spinneret/Spinneret/WebView.cpp:
298 (WebKit::WebView::keyPress):
299 (WebKit::WebViewWndProc):
301 2006-03-28 Justin Garcia <justin.garcia@apple.com>
305 <rdar://problem/4402375>
306 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
308 Added an option to draw the selectionRect.
310 * DumpRenderTree/DumpRenderTree.m:
312 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
313 (-[LayoutTestController dumpSelectionRect]):
316 2006-03-29 Darin Adler <darin@apple.com>
318 Reviewed by Tim Hatcher.
320 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
322 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
324 2006-03-28 Eric Seidel <eseidel@apple.com>
328 * Scripts/check-for-global-initializers: remove svg exceptions.
330 2006-03-28 Timothy Hatcher <timothy@apple.com>
334 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
336 * Scripts/check-for-global-initializers:
338 2006-03-28 Timothy Hatcher <timothy@apple.com>
340 Build fix. Turn off uninitialized warnings for the first block of code.
342 * Scripts/check-for-global-initializers:
344 2006-03-28 Darin Adler <darin@apple.com>
348 * Scripts/check-for-global-initializers: Added.
350 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
352 Reviewed by darin. Landed by eseidel.
354 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
355 Add repaint testing support to run-webkit-tests
357 * DumpRenderTree/DumpRenderTree.m:
358 (main): Added --repaint and --horizontal-sweep options.
359 (dump): Repaint line-by-line or column-by-column when the appropriate option
361 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
362 and repaintSweepHorizontally() methods to layoutTestController.
363 (-[LayoutTestController testRepaint]):
364 (-[LayoutTestController repaintSweepHorizontally]):
366 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
367 to force these settings on tests that do not ask for them.
369 2006-03-24 Eric Seidel <eseidel@apple.com>
375 * Spinneret/Spinneret/WebFrame.cpp:
376 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
378 2006-03-21 Beth Dakin <bdakin@apple.com>
382 Add support for keyDown() to DumpRenderTree.
384 * DumpRenderTree/DumpRenderTree.m:
385 (main): Set the preference for tabbing to links.
386 * DumpRenderTree/EventSendingController.m:
387 (+[EventSendingController isSelectorExcludedFromWebScript:]):
388 (+[EventSendingController webScriptNameForSelector:]):
389 (-[EventSendingController keyDown:withModifiers:]):
391 2006-03-20 Eric Seidel <eseidel@apple.com>
397 * Spinneret/Spinneret/Spinneret.vcproj:
398 * Spinneret/Spinneret/WebFrame.h:
399 * Spinneret/Spinneret/WebView.cpp:
400 (WebKit::WebView::mouseMoved):
401 (WebKit::WebView::mouseDown):
402 (WebKit::WebView::mouseUp):
403 (WebKit::WebView::mouseDoubleClick):
404 (WebKit::WebView::keyPress):
405 (WebKit::WebViewWndProc):
407 2006-03-19 Darin Adler <darin@apple.com>
411 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
412 we can test it in layout tests. We don't really need tests that run with
413 pop-up blocking off at the moment. If we do some day, we can add some
414 API for turning it off in the layout test controller.
416 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
417 don't ignore the leak; it should no longer show up.
419 2006-03-17 Anders Carlsson <andersca@mac.com>
423 * Scripts/install-win-extras:
424 Fetch "Program Files" location from the environment.
426 2006-03-17 Eric Seidel <eseidel@apple.com>
430 Fix Spinneret to pass Events as const & not as pointers.
432 * Spinneret/Spinneret/WebView.cpp:
433 (WebKit::WebView::mouseMoved):
434 (WebKit::WebView::mouseDown):
435 (WebKit::WebView::mouseUp):
436 (WebKit::WebView::mouseDoubleClick):
437 (WebKit::WebView::keyPress):
439 2006-03-17 Eric Seidel <eseidel@apple.com>
443 Add support for basic HTML editing.
445 * Spinneret/Spinneret/WebView.cpp:
446 (WebKit::WebView::WebView):
447 (WebKit::WebView::keyPress):
449 2006-03-17 Eric Seidel <eseidel@apple.com>
451 Rubber-stamped by ggaren.
453 Break DumpRenderTree.m up into several files to make the code more readable.
455 * DumpRenderTree/DumpRenderTree.h: Added.
456 * DumpRenderTree/DumpRenderTree.m:
457 (doneLoading): new accessor function for "done" global.
458 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
459 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
460 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
461 * DumpRenderTree/EditingDelegate.h: Added.
462 * DumpRenderTree/EditingDelegate.m: Added.
463 (-[EditingDelegate webViewDidChangeSelection:]):
464 * DumpRenderTree/EventSendingController.h: Added.
465 * DumpRenderTree/EventSendingController.m: Added.
467 2006-03-16 Eric Seidel <eseidel@apple.com>
471 Add resize, scroll event support.
473 * Spinneret/Spinneret/WebView.cpp:
474 (WebKit::WebView::mouseMoved):
475 (WebKit::WebView::mouseDown):
476 (WebKit::WebView::mouseUp):
477 (WebKit::WebView::mouseDoubleClick):
478 (WebKit::WebView::keyPress):
479 (WebKit::WebViewWndProc):
480 * Spinneret/Spinneret/WebView.h:
482 2006-03-16 Eric Seidel <eseidel@apple.com>
486 Make build-webkit print correctly to stdout on windows.
488 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
490 2006-03-15 Eric Seidel <eseidel@apple.com>
494 Fix eventSender.mouseClick() to update lastClick timestamp.
496 * DumpRenderTree/DumpRenderTree.m:
497 (-[EventSendingController mouseClick]):
499 2006-03-15 Darin Adler <darin@apple.com>
503 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
504 that had a lowercase "i" in it so this builds on case-sensitive
507 2006-03-15 Geoffrey Garen <ggaren@apple.com>
511 Added run-testkjs and compare-timing-files scripts, to support super
514 * Scripts/compare-timing-files: Added.
515 * Scripts/run-testkjs: Added.
517 2006-03-14 Eric Seidel <eseidel@apple.com>
521 Make the URL bar relinquish focus on page load.
523 * Spinneret/Spinneret/Spinneret.cpp:
526 2006-03-14 Eric Seidel <eseidel@apple.com>
530 Fix WebView to allow KeyFocus.
531 Add handling of space and shift-space for scrolling.
533 * Spinneret/Spinneret/WebView.cpp:
534 (WebKit::scrollMessageForKey):
535 (WebKit::WebViewWndProc):
537 2006-03-10 Eric Seidel <eseidel@apple.com>
541 Add scrolling support into Spinneret.
543 * Spinneret/Spinneret/WebFrame.cpp:
544 (WebKit::WebFrame::paint):
545 * Spinneret/Spinneret/WebView.cpp:
546 (WebKit::WebView::createWebView):
547 (WebKit::calculateScrollDelta):
548 (WebKit::scrollMessageForKey):
549 (WebKit::WebViewWndProc):
551 2006-03-13 Eric Seidel <eseidel@apple.com>
555 Fix checksum generation on Intel machines.
556 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
557 give a small speed boost now that it uses a shared buffer.
559 * DumpRenderTree/DumpRenderTree.m:
562 (md5HashStringForBitmap):
563 * DumpRenderTree/ImageDiff.m:
564 (computePercentageDifferent):
566 2006-03-13 Darin Adler <darin@apple.com>
568 Reviewed by Tim Hatcher.
570 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
571 have it named httpd-1.3 instead.
573 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
575 Fix proposed by Mitz Pettel, reviewed by Darin.
577 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
578 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
580 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
581 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
584 2006-03-09 Darin Adler <darin@apple.com>
586 Reviewed by John Sullivan.
588 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
589 memory leak in the plug-in tests
591 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
592 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
593 (NPP_SetWindow): Remove unneeded code to store the window pointer.
595 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
596 Moved the browser global in here since it's declared in this file's header.
597 Changed the code to set up the pluginClass structure to not use function
598 pointer casts. Those are dangerous because they can hide many types of mismatch.
599 And indeed when I did this I discovered that many functions were missing their
600 boolean return values or had parameter declarations with the wrong types.
601 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
602 clarity. Added boolean return value: return true when successful and false when not.
603 (pluginSetProperty): Added boolean return value, return false since we have no
604 properties we can set.
605 (pluginInvoke): Added boolean return value. Return true when successful and false
606 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
607 return value from calling the browser. Changed code to put the strings in malloc
608 buffers instead of relying on GCC's extension that allows variable-sized arrays
610 (pluginInvokeDefault): Added boolean return value, return false since we have no
611 default function to call.
612 (pluginInvalidate): Added missing parameter. Removed comment.
613 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
614 to cast the result of malloc.
615 (pluginDeallocate): Removed uneeded cast.
617 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
618 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
619 that match NPObject's fields. Removed unused NPWindow pointer.
621 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
623 Test: fast/events/event-sender-mouse-click.html
627 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
628 DRT hangs when doing eventSender.mouseDown on native widgets
630 * DumpRenderTree/DumpRenderTree.m:
631 (+[EventSendingController isSelectorExcludedFromWebScript:]):
632 (-[EventSendingController mouseClick]): Simulates a click in a native
633 widget by queueing a mouseUp before sending the mouseDown, so that
634 the widget's mouse tracking event loop doesn't hang indefinitely.
636 2006-03-09 Maciej Stachowiak <mjs@apple.com>
640 - make link clicks work by handling link click requests
643 * Spinneret/Spinneret/Spinneret.cpp:
645 * Spinneret/Spinneret/Spinneret.h:
646 * Spinneret/Spinneret/WebFrame.cpp:
647 (WebKit::WebFrame::WebFrame):
648 (WebKit::WebFrame::openURL):
649 (WebKit::WebFrame::loadURL):
650 * Spinneret/Spinneret/WebFrame.h:
652 2006-03-08 Eric Seidel <eseidel@apple.com>
656 Focus URL bar on Spinneret launch, remove border from WebView.
657 Stop WebFrame from deleting the job (prevent crash).
659 * Spinneret/Spinneret/Spinneret.cpp:
661 * Spinneret/Spinneret/WebFrame.cpp:
662 (WebKit::WebFrame::receivedAllData):
663 (WebKit::WebFrame::paint):
664 * Spinneret/Spinneret/WebView.cpp:
665 (WebKit::WebView::createWebView):
667 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
671 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
672 (pluginInvoke): Added a method to test getURL.
674 2006-03-08 Maciej Stachowiak <mjs@apple.com>
678 - load URLs, not file paths, in Spinneret
680 * Spinneret/Spinneret/Spinneret.cpp:
682 * Spinneret/Spinneret/Spinneret.vcproj:
683 * Spinneret/Spinneret/WebFrame.cpp:
684 (WebKit::WebFrame::loadURL):
685 (WebKit::WebFrame::receivedData):
686 (WebKit::WebFrame::receivedAllData):
687 * Spinneret/Spinneret/WebFrame.h:
688 * Spinneret/Spinneret/WebView.cpp:
689 (WebKit::WebView::WebView):
691 2006-03-08 Darin Adler <darin@apple.com>
695 - fixed AppleScript layout test results to not be endian-dependent
696 (Hyatt complained to me about this one)
698 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
699 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
700 (which are endian-dependent).
702 2006-03-07 Darin Adler <darin@apple.com>
706 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
707 unwanted output while running layout tests
709 * DumpRenderTree/DumpRenderTree.m:
710 (checkedMalloc): Added.
711 (checkedRealloc): Added.
712 (makeLargeMallocFailSilently): Added.
713 (main): Call makeLargeMallocFailSilently.
715 2006-03-06 Darin Adler <darin@apple.com>
717 * Scripts/do-webcore-rename: Add some more planned renaming.
719 2006-03-06 Eric Seidel <eseidel@apple.com>
723 * Spinneret/Spinneret/WebFrame.cpp:
724 (WebKit::WebFrame::paint): force layout before painting
726 2006-03-06 Justin Garcia <justin.garcia@apple.com>
730 Sent the windowNumber when sending events.
731 Added leapForward so that we don't have to spend time waiting
732 in layout tests that do mouse operations that require delays.
734 * DumpRenderTree/DumpRenderTree.m:
735 (+[EventSendingController isSelectorExcludedFromWebScript:]):
736 (+[EventSendingController webScriptNameForSelector:]):
737 (-[EventSendingController currentEventTime]):
738 (-[EventSendingController leapForward:]):
739 (-[EventSendingController mouseDown]):
740 (-[EventSendingController mouseUp]):
741 (-[EventSendingController mouseMoveToX:Y:]):
743 2006-03-05 Darin Adler <darin@apple.com>
745 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
746 Script now works (after landing my two pending patches).
748 2006-03-05 Darin Adler <darin@apple.com>
750 - check in a script to do a "big" rename in WebCore
751 (can be run whenever we're ready to do it)
753 * Scripts/do-webcore-rename: Added.
755 2006-03-05 Maciej Stachowiak <mjs@apple.com>
759 * Spinneret/Spinneret/WebFrame.cpp:
760 (WebKit::WebFrame::loadFilePath): Close file when done.
762 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
764 Reviewed by Darin, landed by ap.
766 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
767 Mouse moved events do not work in DumpRenderTree
769 Test: fast/events/event-sender-mouse-moved.html
771 * DumpRenderTree/DumpRenderTree.m:
772 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
774 2006-03-04 Eric Seidel <eseidel@apple.com>
778 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
779 Disable background erase to avoid tearing.
780 Fix potential memory smasher from extra long urls.
782 * Spinneret/Spinneret/Spinneret.cpp:
784 * Spinneret/Spinneret/Spinneret.vcproj:
785 * Spinneret/Spinneret/WebFrame.cpp:
786 (WebKit::WebFrame::loadFilePath):
787 (WebKit::WebFrame::paint):
788 * Spinneret/Spinneret/WebView.cpp:
789 (WebKit::registerWebViewWithInstance):
791 2006-03-04 Eric Seidel <eseidel@apple.com>
795 Hang WebView pointer off of HWND (gets rid of global hack).
796 Remove MessageBox displayed on url change.
798 * Spinneret/Spinneret/Spinneret.cpp:
801 * Spinneret/Spinneret/WebView.cpp:
802 (WebKit::registerWebViewWithInstance):
803 (WebKit::WebView::createWebView):
804 (WebKit::WebViewWndProc):
806 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
810 Automatically kill httpd if it appears to be already running.
812 * Scripts/run-webkit-tests:
814 2006-03-04 Maciej Stachowiak <mjs@apple.com>
818 * Spinneret/Spinneret/WebFrame.cpp:
819 (WebKit::WebFrame::loadFilePath): Improved local file loading.
821 2006-03-03 Eric Seidel <eseidel@apple.com>
825 A few more fixes to make run-webkit-tests really work on win32.
827 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
829 * Scripts/run-webkit-tests:
831 2006-03-03 Eric Seidel <eseidel@apple.com>
835 Make run-webkit-tests work on win32.
837 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
839 (dumpRenderTreeMain):
840 (dumpRenderTreeToStdOut):
843 * Scripts/run-webkit-tests:
844 * Scripts/webkitdirs.pm:
845 * Spinneret/Spinneret/WebView.cpp:
846 (WebKit::WebView::WebView):
848 2006-03-03 Eric Seidel <eseidel@apple.com>
852 Add WebFrame class (to hold Frame and FrameView).
853 Add Location bar support to Spinneret.
855 * Spinneret/Spinneret/Spinneret.cpp:
860 * Spinneret/Spinneret/Spinneret.vcproj:
861 * Spinneret/Spinneret/WebFrame.cpp: Added.
862 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
863 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
864 (WebKit::WebFrame::WebFrame):
865 (WebKit::WebFrame::loadFilePath):
866 (WebKit::WebFrame::loadHTMLString):
867 (WebKit::WebFrame::paint):
868 (WebKit::WebFrame::impl):
869 (WebKit::WebFrame::viewImpl):
870 * Spinneret/Spinneret/WebFrame.h: Added.
871 * Spinneret/Spinneret/WebView.cpp:
872 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
873 (WebKit::WebView::WebView):
874 (WebKit::WebView::windowHandle):
875 (WebKit::WebView::mainFrame):
876 (WebKit::WebView::mouseMoved):
877 (WebKit::WebView::mouseDown):
878 (WebKit::WebView::mouseUp):
879 (WebKit::WebView::mouseDoubleClick):
880 (WebKit::WebViewWndProc):
881 * Spinneret/Spinneret/WebView.h:
883 2006-03-02 Eric Seidel <eseidel@apple.com>
887 * Spinneret/Spinneret/WebView.cpp:
888 (WebKit::registerWebViewWithInstance):
889 (WebKit::WebView::WebView):
890 (WebKit::WebView::mouseMoved):
891 (WebKit::WebView::mouseDown):
892 (WebKit::WebView::mouseUp):
893 (WebKit::WebView::mouseDoubleClick):
894 (WebKit::WebViewWndProc):
895 * Spinneret/Spinneret/WebView.h:
897 2006-03-01 Eric Seidel <eseidel@apple.com>
899 Reviewed by andersca.
901 Make spinneret take advantage of the new GraphicsContextCairo.
903 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
904 (main): updated to match style guidelines.
905 * Spinneret/Spinneret/Spinneret.cpp:
907 * Spinneret/Spinneret/WebView.cpp:
908 (WebKit::registerWebViewWithInstance):
909 (WebKit::WebView::WebView):
910 (WebKit::WebView::~WebView):
911 (WebKit::WebView::drawRect):
913 * Spinneret/Spinneret/WebView.h:
915 2006-03-01 Justin Garcia <justin.garcia@apple.com>
919 Give the events that eventSender sends a unique eventNumber
921 * DumpRenderTree/DumpRenderTree.m:
922 (-[EventSendingController mouseDown]):
923 (-[EventSendingController mouseUp]):
924 (-[EventSendingController mouseMoveToX:Y:]):
926 2006-03-01 Eric Seidel <eseidel@apple.com>
930 Add a stub win32 application to test WebCore drawing on windows.
933 * Spinneret/Spinneret: Added.
934 * Spinneret/Spinneret.sln: Added.
935 * Spinneret/Spinneret/Resource.h: Added.
936 * Spinneret/Spinneret/Spinneret.cpp: Added.
942 * Spinneret/Spinneret/Spinneret.h: Added.
943 * Spinneret/Spinneret/Spinneret.ico: Added.
944 * Spinneret/Spinneret/Spinneret.rc: Added.
945 * Spinneret/Spinneret/Spinneret.vcproj: Added.
946 * Spinneret/Spinneret/WebView.cpp: Added.
947 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
948 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
949 (WebKit::registerWebViewWithInstance):
950 (WebKit::WebView::createWebView):
951 (WebKit::WebView::WebView):
952 (WebKit::WebView::~WebView):
953 (WebKit::WebView::drawRect):
954 (WebKit::WebView::windowHandle):
956 * Spinneret/Spinneret/WebView.h: Added.
957 * Spinneret/Spinneret/small.ico: Added.
958 * Spinneret/Spinneret/stdafx.cpp: Added.
959 * Spinneret/Spinneret/stdafx.h: Added.
961 2006-02-28 Eric Seidel <eseidel@apple.com>
965 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
966 (main): add ability to dump render tree and read from a local file.
968 2006-02-27 Eric Seidel <eseidel@apple.com>
972 * Scripts/install-win-extras: fix dll permissions & download zlib too.
974 2006-02-27 Eric Seidel <eseidel@apple.com>
978 Test new KConfig -> PlugInInfoStore change.
979 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
981 * DumpRenderTree/DumpRenderTree.m:
982 (main): load test netscape plugin
983 * Scripts/run-webkit-tests: style update
985 2006-02-24 Eric Seidel <eseidel@apple.com>
989 Make DumpRenderTree link against icu.
991 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
993 2006-02-24 Eric Seidel <eseidel@apple.com>
997 Make DumpRenderTree link against libxml, etc.
999 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1001 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1003 Reviewed and landed by Anders.
1005 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1006 getting called from the run loop, making the view render each test and thus slowing
1009 * DumpRenderTree/DumpRenderTree.m:
1010 (main): Set the offscreen window to not autodisplay.
1012 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1016 - Turn http tests back on by default.
1017 - Wait for Apache to actually start serving requests.
1018 - Get user id from a built-in variable rather than an external command;
1019 don't pass the group.
1021 * Scripts/run-webkit-tests:
1023 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1025 Suggested by Mitz Pettel, reviewed by Darin.
1027 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1028 can run CGIs even if the permissions are 700 or 600.
1030 2006-02-23 Darin Adler <darin@apple.com>
1032 Collaborating with Alexey.
1034 - turn off http tests by default until we figure out how to get them
1035 to run even when permissions on CGI files are 700 instead of 755
1037 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1039 2006-02-23 Eric Seidel <eseidel@apple.com>
1041 Add *.user to ignore list.
1043 2006-02-23 Eric Seidel <eseidel@apple.com>
1045 Remove binary file which shouldn't have been commited (and add to ignore list).
1047 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1048 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1050 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1054 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1056 2006-02-22 Eric Seidel <eseidel@apple.com>
1058 Reviewed by Tim Hatcher.
1060 Fix install-win-extras to not try to re-install setx if installed.
1062 * Scripts/install-win-extras:
1064 2006-02-22 Eric Seidel <eseidel@apple.com>
1066 One more file possibly missing from previous commit?
1068 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1069 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1071 2006-02-22 Eric Seidel <eseidel@apple.com>
1073 Reviewed by justing.
1075 Files missing from previous commit.
1077 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1078 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1080 2006-02-22 Eric Seidel <eseidel@apple.com>
1082 Rubber-stamped by justing.
1084 Corrected path for DumpRenderTree.intermediate files
1086 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1088 2006-02-22 Eric Seidel <eseidel@apple.com>
1090 Reviewed by justing.
1092 Fixed build-dumprendertree to exit with correct error codes.
1094 * Scripts/build-dumprendertree:
1096 2006-02-22 Eric Seidel <eseidel@apple.com>
1098 Reviewed by justing.
1100 Update build scripts to generalize building on Win32, and allow
1101 building of DumpRenderTree on Win32 from build-dumprendertree.
1103 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1105 * Scripts/build-dumprendertree:
1106 * Scripts/build-webkit:
1107 * Scripts/webkitdirs.pm:
1109 2006-02-22 Eric Seidel <eseidel@apple.com>
1113 * DumpRenderTree/DumpRenderTree.vcproj: Added.
1114 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1115 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1116 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1117 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1118 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1120 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1121 * Scripts/build-webkit: make build-webkit cleanup after itself
1123 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1127 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1128 Some minor fixes to http tests.
1130 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1132 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
1136 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1137 Would like to use locally installed Apache for testing.
1139 Added two run-webkit-tests options:
1140 --http (--nohttp) - whether to launch Apache (defaults to yes);
1141 --port - which port to listen on (defaults to 8000).
1143 Tests in LayoutTests/http are not run directly, and Apache is used instead.
1144 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1145 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1147 Also added support for .shtml and .text files. Text files give an empty
1148 *-expected.txt, but a correct image.
1150 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1152 * Scripts/run-webkit-tests:
1154 2006-02-21 Darin Adler <darin@apple.com>
1156 Suggested by Mark Rowe.
1158 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1159 reporting leak counts.
1161 2006-02-18 Maciej Stachowiak <mjs@apple.com>
1165 - Added install-win-extras script which installs some extra
1166 programs and libraries, and does Windows first-time setup.
1168 * Scripts/build-webkit: Add a newline between build results.
1169 * Scripts/install-win-extras: Added.
1171 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1175 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1176 DumpRenderTree should be able to load files via HTTP
1178 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1179 Handle tests starting with "http://" as real URLs, not file system paths.
1181 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1185 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1186 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1188 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1190 2006-02-18 Darin Adler <darin@apple.com>
1192 * Scripts/commit-log-editor: Added.
1194 2006-02-17 Eric Seidel <eseidel@apple.com>
1198 Make Win32 have the same default "WebKitBuild" directory behavior.
1200 * Scripts/build-webkit:
1201 * Scripts/webkitdirs.pm:
1203 2006-02-17 Eric Seidel <eseidel@apple.com>
1207 * Scripts/build-webkit: make win32 actually report errors
1209 2006-02-17 Eric Seidel <eseidel@apple.com>
1213 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1215 2006-02-17 Eric Seidel <eseidel@apple.com>
1219 * Scripts/run-webkit-tests: Ignore flash leaks
1221 2006-02-15 Justin Garcia <justin.garcia@apple.com>
1225 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1226 Add drag and drop support to DumpRenderTree
1228 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1229 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
1231 * DumpRenderTree/DumpRenderTree.m:
1233 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1234 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1235 (-[WaitUntilDoneDelegate webViewFocus:]):
1236 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1237 (+[LayoutTestController webScriptNameForSelector:]):
1238 (-[LayoutTestController setWindowIsKey:]):
1239 (-[LayoutTestController setMainFrameIsFirstResponder:]):
1240 (-[EventSendingController init]):
1241 (-[EventSendingController mouseDown]):
1242 (-[EventSendingController mouseUp]):
1243 (-[EventSendingController mouseMoveToX:Y:]):
1245 (-[DumpRenderTreeWindow isKeyWindow]):
1246 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1247 (-[DumpRenderTreeDraggingInfo dealloc]):
1248 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1249 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1250 (-[DumpRenderTreeDraggingInfo draggingLocation]):
1251 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1252 (-[DumpRenderTreeDraggingInfo draggedImage]):
1253 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1254 (-[DumpRenderTreeDraggingInfo draggingSource]):
1255 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1256 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1257 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1258 * DumpRenderTree/TextInputController.m:
1259 (-[TextInputController firstRectForCharactersFrom:length:]):
1260 (-[TextInputController characterIndexForPointX:Y:]):
1262 2006-02-15 Geoffrey Garen <ggaren@apple.com>
1266 * DumpRenderTree/DumpRenderTree.m:
1267 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
1268 Added a dummy method for the sake of LayoutTests/plugins/
1269 undefined-property-crash.html. (It tests a crash due to fallback
1270 object use. WebCore won't create a fallback object if the method is
1273 2006-02-14 Eric Seidel <eseidel@apple.com>
1277 * Scripts/run-webkit-tests: added --results-directory (-o) option
1279 2006-02-09 Eric Seidel <eseidel@apple.com>
1281 Rubber-stamped by mjs.
1283 Renamed split-class to split-file-by-class.
1285 * Scripts/build-webkit: Updated copyright.
1286 * Scripts/split-class: Removed.
1287 * Scripts/split-file-by-class: Added.
1289 2006-02-08 Eric Seidel <eseidel@apple.com>
1291 Rubber-stamped by mjs.
1293 Adding new script for splitting multi-class files.
1294 Also adding supporting perl module with space removing heuristics.
1296 * Scripts/SpacingHeuristics.pm: Added.
1297 * Scripts/build-drawtest: updated copyright header
1298 * Scripts/split-class: Added.
1300 2006-02-08 Justin Garcia <justin.garcia@apple.com>
1302 Reviewed by thatcher
1304 Changes to test fix for:
1305 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1306 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1308 * DumpRenderTree/DumpRenderTree.m:
1309 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1310 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1311 (+[LayoutTestController webScriptNameForSelector:]):
1312 (-[LayoutTestController setWindowHasFocus:]):
1313 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1315 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
1317 Reviewed by Timothy.
1319 Support automated testing of AppleScript "do JavaScript" command
1320 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1322 * DumpRenderTree/AppleScriptController.h: Added.
1323 * DumpRenderTree/AppleScriptController.m: Added.
1324 * DumpRenderTree/DumpRenderTree.m:
1325 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1326 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1328 2006-02-06 Eric Seidel <eseidel@apple.com>
1332 Fix build-webkit for use on win32 (unblocks buildbot usage).
1333 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1335 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1336 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1338 2006-02-06 Eric Seidel <eseidel@apple.com>
1340 Rubber-stamped by darin & mjs.
1342 Added new support directory for build slave scripts.
1343 Committing the first script, for use by the PLT's build slave.
1344 This script is used to kick of the PLT (Page Load Test) slave.
1346 * BuildSlaveSupport: Added.
1347 * BuildSlaveSupport/run-performance-tests: Added.
1349 2006-02-06 Eric Seidel <eseidel@apple.com>
1351 Rubber-stamped by darin.
1353 Adding setSourceDir for scripts stored in non-standard locations.
1355 * Scripts/webkitdirs.pm:
1357 2006-02-04 Darin Adler <darin@apple.com>
1359 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1360 Configuration files that say Development or Deployment in them.
1362 2006-02-04 Darin Adler <darin@apple.com>
1364 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1365 wrapper already in the directory.
1366 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1367 these haven't been working at all.
1368 * Scripts/svn-unapply: Ditto.
1370 2006-02-03 Timothy Hatcher <timothy@apple.com>
1374 Renamed configuration names to Debug, Release and Production.
1376 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1377 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1378 * Scripts/set-webkit-configuration:
1379 * Scripts/webkitdirs.pm:
1381 2006-02-02 Justin Garcia <justin.garcia@apple.com>
1383 Reviewed by thatcher
1385 Enabled spell checking for layout tests.
1387 * DumpRenderTree/DumpRenderTree.m:
1390 2006-01-29 Darin Adler <darin@apple.com>
1392 * Scripts/svn-apply: Added comments about things we should do to improve.
1393 * Scripts/svn-create-patch: Ditto.
1394 * Scripts/svn-unapply: Ditto.
1396 2006-01-28 Darin Adler <darin@apple.com>
1398 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1399 already there, even if the checksum is correct.
1401 2006-01-27 Eric Seidel <eseidel@apple.com>
1405 * Scripts/run-webkit-tests: make new tests use absolute urls
1407 2006-01-27 Eric Seidel <eseidel@apple.com>
1411 make run-webkit-tests output total leaks count
1413 * Scripts/run-webkit-tests:
1415 2006-01-27 Eric Seidel <eseidel@apple.com>
1419 run-webkit-test --leaks crashes (malloc logging runs out of memory)
1420 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
1422 * Scripts/run-webkit-tests: fix --leaks to not crash
1424 2006-01-26 Eric Seidel <eseidel@apple.com>
1428 run-webkit-tests should produce a self-contained results directory
1429 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
1431 * Scripts/run-webkit-tests: copy failing items to results dir.
1433 2006-01-23 Darin Adler <darin@apple.com>
1435 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
1436 need script to update localizable strings file in WebKit
1438 * Scripts/update-webkit-localizable-strings: Added.
1440 2006-01-23 Darin Adler <darin@apple.com>
1442 - added a couple of scripts -- more about these two soon
1444 * Scripts/extract-localizable-strings: Added.
1445 * Scripts/merge-changelog: Added.
1447 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
1451 Build fix. build-webkit dies with "invalid build action: (empty string)"
1453 * Scripts/build-webkit:
1454 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
1456 2006-01-22 Eric Seidel <eseidel@apple.com>
1460 Fix --no-svg option to use XCode flags instead of gcc flags.
1462 * Scripts/build-webkit:
1464 2006-01-22 Eric Seidel <eseidel@apple.com>
1468 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
1470 * Scripts/build-webkit:
1472 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
1474 Reviewed by eseidel.
1476 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
1477 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
1479 * Scripts/build-drawtest: Changed bareword 'true' to 1.
1480 * Scripts/run-drawtest: Changed bareword 'true' to 1.
1482 2006-01-19 Darin Adler <darin@apple.com>
1484 * Scripts/report-include-statistics: Added a new script.
1486 2006-01-19 Timothy Hatcher <timothy@apple.com>
1488 * Scripts/build-webkit: include JavaScriptGlue in the build
1490 2006-01-19 Darin Adler <darin@apple.com>
1492 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
1493 spaces in it by using the form of open that treats each argument as a string
1494 rather than backtick syntax for reading the output of the nm tool.
1496 2006-01-12 Maciej Stachowiak <mjs@apple.com>
1500 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
1501 detect if there are any new tests
1503 * Scripts/prepare-ChangeLog:
1505 2006-01-12 Darin Adler <darin@apple.com>
1507 - removed some of the cvs-specific scripts -- not needed for this project any more
1509 * Scripts/cvs-abandon: Removed.
1510 * Scripts/cvs-apply: Removed.
1511 * Scripts/cvs-create-patch: Removed.
1512 * Scripts/cvs-unapply: Removed.
1514 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1516 Reviewed by eseidel. Committed by eseidel.
1518 - run-webkit-tests always launches Safari when tests fail
1519 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
1521 * Scripts/run-webkit-tests:
1522 Add a command-line flag to prevent Safari being launched to display failed
1523 tests. Always exit with non-zero status when tests have failed.
1525 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1527 Reviewed by eseidel. Committed by eseidel.
1529 - build-webkit should exit with non-zero status when build fails
1530 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
1532 * Scripts/build-webkit:
1533 Use correct bits of subprocess exit code when passing back through
1534 as build-webkit's exit code.
1536 2006-01-10 Eric Seidel <eseidel@apple.com>
1538 Restored corrupted nibs from TOT CVS.
1540 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
1541 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
1542 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
1543 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
1544 * DrawTest/English.lproj/Inspector.nib: Replaced.
1545 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
1546 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
1547 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
1548 * DrawTest/English.lproj/MainMenu.nib: Replaced.
1549 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
1550 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
1551 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
1552 * DrawTest/English.lproj/TestViewer.nib: Replaced.
1553 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
1554 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
1555 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
1557 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
1559 Reviewed by eseidel. Committed by eseidel.
1561 DrawTestView now subclasses WebView instead of DrawView.
1563 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1564 * DrawTest/DrawTestDocument.h:
1565 * DrawTest/DrawTestDocument.m:
1566 (-[DrawTestDocument dealloc]):
1567 (-[DrawTestDocument readFromFile:ofType:]):
1568 (-[DrawTestDocument windowControllerDidLoadNib:]):
1569 (-[DrawTestDocument dumpSVGToConsole:]):
1570 (-[DrawTestDocument openSourceForSelection:]):
1571 (-[DrawTestDocument dataRepresentationOfType:]):
1572 * DrawTest/DrawTestToolbarController.h:
1573 * DrawTest/DrawTestToolbarController.m:
1574 (-[DrawTestToolbarController initWithDrawView:]):
1575 (-[DrawTestToolbarController clickedToolbarItem:]):
1576 (-[DrawTestToolbarController validateToolbarItem:]):
1577 * DrawTest/DrawTestView.h:
1578 * DrawTest/DrawTestView.m:
1579 (-[DrawTestView initWithFrame:]):
1580 (-[DrawTestView setDocument:]):
1581 * DrawTest/SVGTest.h:
1582 * DrawTest/SVGTest.m:
1583 (+[SVGTest sharedDrawView]):
1584 (-[SVGTest generateCompositeIfNecessary]):
1585 * DrawTest/TestController.h:
1586 * DrawTest/TestController.m:
1587 (-[TestController awakeFromNib]):
1588 (-[TestController setSelectedTest:]):
1589 (-[TestController openTestViewerForSelection:]):
1590 (-[TestController toggleViewersScaleRule:]):
1591 * DrawTest/TestViewerSplitView.m:
1592 (-[TestViewerSplitView drawRect:]):
1594 2006-01-10 Anders Carlsson <andersca@mac.com>
1596 Reviewed by Timothy.
1598 * DumpRenderTree/DumpRenderTree.m:
1599 (main): Set the default language to "en", so language tests will work.
1601 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1605 - script to generate HTML wrappers for JS tests
1606 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
1608 * Scripts/make-js-test-wrappers: Added.
1610 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1614 * Scripts/svn-create-patch: Fix to work when passed directory names.
1616 2006-01-08 Geoffrey Garen <ggaren@apple.com>
1620 - Added back/forward navigation support to DumpRenderTree. Hopefully we
1621 can start writing automated loader tests now. I have one in the works.
1623 * DumpRenderTree/DumpRenderTree.m:
1624 (main): Construct global navigationController on entry, destroy on exit.
1625 Set frame to nil on exit too, to match all the other global objects.
1626 (Probably academic, since the process is exiting, anyway.)
1627 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
1628 navigationController, in case it wants to kick off a load.
1629 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
1630 the navigationController to scripting.
1632 New class, should be straightforward:
1634 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1635 * DumpRenderTree/NavigationController.h: Added.
1636 * DumpRenderTree/NavigationController.m: Added.
1638 (+[NavigationController isSelectorExcludedFromWebScript:]):
1639 (+[NavigationController webScriptNameForSelector:]):
1640 (-[NavigationController setPendingScript:]):
1641 (-[NavigationController setPendingRequest:]):
1642 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
1643 (-[NavigationController webView:didFinishLoadForFrame:]):
1644 (-[NavigationController dealloc]):
1646 2006-01-08 Timothy Hatcher <timothy@apple.com>
1648 Removed this script, no longer needs with the Subversion switch.
1650 * checkout: Removed.
1652 2006-01-08 Timothy Hatcher <timothy@apple.com>
1654 Removes some stray tabs.
1656 * Scripts/update-webkit:
1658 2005-01-07 Eric Seidel <eseidel@apple.com>
1662 build-webkit should pass on build arguments from command line
1663 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
1665 * Scripts/build-webkit:
1667 2006-01-07 Eric Seidel <eseidel@apple.com>
1669 Reviewed by mjs & xenon.
1671 * Scripts/update-webkit: support Internal updates as well
1673 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1675 Temporarily rolling out plugin support from DumpRenderTree because it
1676 caused lots of layout test regressions.
1678 * DumpRenderTree/DumpRenderTree.m:
1679 (main): Remove invisible window added to support plugins.
1681 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1685 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
1686 Add plugin support to DumpRenderTree
1688 Also wrote first test plugin.
1690 * DumpRenderTree/DumpRenderTree.m:
1692 (1) Put the WebView in an invisible window, because PlugIns are
1693 optimized not to load if there's no parent window.
1694 (2) Tell WebKit to load any PlugIns in the directory from which we
1695 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
1696 and they'll load automagically during layout testing, but they won't be
1697 added to the user's system, hosing apps like Safari.
1699 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
1700 test PlugIn to project.
1702 PlugIn added to project:
1704 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
1705 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
1707 (initializeIdentifiers):
1708 (pluginHasProperty):
1710 (pluginGetProperty):
1711 (pluginSetProperty):
1713 (pluginInvokeDefault):
1717 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
1718 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
1720 (NP_GetEntryPoints):
1726 (NPP_DestroyStream):
1736 2006-01-04 Timothy Hatcher <timothy@apple.com>
1740 Tweaked and tested by me.
1742 New scripts to work with Subversion when the switch happens.
1743 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
1745 * Scripts/svn-apply: Added.
1746 * Scripts/svn-create-patch: Added.
1747 * Scripts/svn-unapply: Added.
1749 2005-12-30 Eric Seidel <eseidel@apple.com>
1753 Move WebView width/height logic into DumpRenderTree to support
1754 running the W3C SVG 1.1 tests along side other tests. The W3C
1755 SVG 1.1 tests require a 480x360 view.
1757 * DumpRenderTree/DumpRenderTree.m:
1758 (main): don't accept width/height
1759 (dump): override width/height for SVG/W3C
1760 * Scripts/run-webkit-tests: don't pass width/height
1762 2005-12-30 Eric Seidel <eseidel@apple.com>
1764 No review, only removing dead code.
1766 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
1767 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
1769 2005-12-30 Eric Seidel <eseidel@apple.com>
1773 DumpRenderTree should set a consistent color profile while running
1774 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
1776 Creates consistent colormatched renderings on every test machine
1777 using the only way possible with Tiger APIs: by setting the
1778 system color profile on the test machine for the duration of the
1779 tests. This will (unfortunately) cause colors to change while
1780 running DumpRenderTree. This can also cause "permanent" color
1781 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
1782 This is far from ideal, but it's be best way we've found to deal
1783 with the issue for now.
1785 * DumpRenderTree/DumpRenderTree.m:
1786 (restoreColorSpace):
1787 (setDefaultColorProfileToRGB):
1790 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
1792 Reviewed by Darin Adler.
1794 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
1795 cvs-create-patch --include produces incorrect paths
1797 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
1799 2005-12-19 Eric Seidel <eseidel@apple.com>
1803 * Scripts/run-webkit-tests: stop /etc/catalog warnings
1805 2005-12-19 Darin Adler <darin@apple.com>
1807 Reviewed by Eric Seidel.
1809 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
1810 WebKit needs to use a local pasteboard during testing
1812 * DumpRenderTree/DumpRenderTree.m:
1813 (main): Call poseAs to substitute our NSPasteboard class for the default one.
1814 Create a local pasteboard (really a global one with a unique name) and release
1815 it when exiting from the function so we don't leave it in the pasteboard server.
1816 (dumpRenderTree): Added an autorelease pool around one small bit of code that
1817 ddn't have one. Fixed a leak in an unlikely error case.
1818 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
1819 of this method to return our local pasteboard.
1821 2005-12-15 Eric Seidel <eseidel@apple.com>
1823 Reviewed by Tim Hatcher.
1825 * Scripts/build-webkit: --svg is now default!
1827 2005-12-15 Eric Seidel <eseidel@apple.com>
1831 Don't run svg test automatically if +SVG is built (yet).
1833 * Scripts/run-webkit-tests:
1835 2005-12-15 Darin Adler <darin@apple.com>
1837 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
1838 support is not compiled in. Report the 10 slowest tests if "--slowest" is
1839 passed on the command line.
1841 2005-12-06 John Sullivan <sullivan@apple.com>
1843 Reviewed by Darin Adler.
1845 * Scripts/prepare-ChangeLog:
1846 Remove special-case handling for nib files. This avoided trouble with cvs diff
1847 when we were using wrappers for nib files. Now that we aren't using wrappers,
1848 there's no reason to avoid adding the modified nib files to the file list that
1851 2005-12-05 Eric Seidel <eseidel@apple.com>
1855 Script updates for SVG files move (remove references to SVGSupport)
1857 * Scripts/build-webkit: remove SVGSupport
1858 * Scripts/run-webkit-tests: Resources -> resources for --svg
1859 * Scripts/update-webkit: remove SVGSupport
1861 2005-12-05 Eric Seidel <eseidel@apple.com>
1865 * checkout: remove --svg support, SVG is now checked out by default
1867 2005-11-29 Eric Seidel <eseidel@apple.com>
1871 Update scripts to run SVG tests automatically (w/o --svg) if
1872 WebCore is built with SVG support.
1874 * Scripts/build-drawtest: SVG support required
1875 * Scripts/build-dumpkcanvastree: Removed.
1876 * Scripts/run-drawtest: SVG support required to run
1877 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
1878 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
1880 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
1882 Reviewed by Darin. Committed by Maciej.
1884 - fixed "DumpRenderTree should test for Ahem before doing anything else"
1885 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
1887 * DumpRenderTree/DumpRenderTree.m:
1890 2005-11-28 Eric Seidel <eseidel@apple.com>
1892 Reviewed by sullivan and GGAREN.
1894 Minor additions to make error messages more clear from cvs-apply.
1896 * Scripts/cvs-apply: make errors more clear
1898 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
1900 Reviewed and committed by Maciej.
1902 - fixed cvs-create-patch --include produces incorrect paths
1903 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
1905 * Scripts/cvs-create-patch: produce proper paths for new files.
1907 2005-11-21 Eric Seidel <eseidel@apple.com>
1911 Some simple fixes to the build/test scripts now that SVG uses the
1912 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
1913 or symlinks for KDOM.
1915 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
1916 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
1917 * Scripts/run-webkit-tests: now runs SVG tests using DRT
1918 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
1919 * checkout: no longer symlink kdom
1921 2005-11-10 Eric Seidel <eseidel@apple.com>
1925 * Scripts/build-webkit: Pass through options to xcodebuild
1927 2005-11-07 Darin Adler <darin@apple.com>
1929 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
1931 2005-11-03 John Sullivan <sullivan@apple.com>
1935 * Scripts/run-safari:
1936 changed message to say "Starting Safari" instead of odd "Start Safari"
1937 * Scripts/run-webkit-tests:
1938 changed the way we pass the file parameter to use -NSOpen rather than relying on
1939 unlabeled arguments being treated as files. This was failing on some machines that
1940 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
1942 2005-10-27 Geoffrey Garen <ggaren@apple.com>
1944 Patch by Alexey Proskuryakov.
1948 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
1949 TextInputController should support attributed strings
1951 * DumpRenderTree/TextInputController.m:
1952 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
1953 (+[NSMutableAttributedString webScriptNameForSelector:]):
1954 (-[NSMutableAttributedString getLength]):
1955 (-[NSMutableAttributedString attributeNamesAtIndex:]):
1956 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
1957 (-[NSMutableAttributedString addAttribute:value:]):
1958 (-[NSMutableAttributedString addAttribute:value:from:length:]):
1959 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
1960 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
1961 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
1962 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
1963 (+[TextInputController isSelectorExcludedFromWebScript:]):
1964 (+[TextInputController webScriptNameForSelector:]):
1965 (-[TextInputController insertText:]):
1966 (-[TextInputController attributedSubstringFrom:length:]):
1967 (-[TextInputController attributedStringWithString:]):
1969 2005-10-11 Eric Seidel <eseidel@apple.com>
1973 Checks for leaks in ImageDiff too.
1975 * Scripts/run-webkit-tests:
1977 2005-10-09 Darin Adler <darin@apple.com>
1979 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
1980 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
1981 * Scripts/cvs-unapply: Ditto.
1982 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
1984 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
1986 Reviewed, rearranged and landed by Darin.
1988 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
1989 Need a way to automatically test for regressions in NSTextInput implementation
1991 * DumpRenderTree/DumpRenderTree.m:
1992 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1993 Create a text input controller and put it in a property of the window object.
1995 * DumpRenderTree/TextInputController.h: Added.
1996 * DumpRenderTree/TextInputController.m: Added.
1997 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
1999 2005-10-06 Darin Adler <darin@apple.com>
2001 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2002 are controlled by cvs, or when changes cross multiple repositories.
2003 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2005 2005-10-03 Eric Seidel <eseidel@apple.com>
2009 Make mouseDown and mouseUp force layout before acting.
2010 This is used by a new test case for 4233558.
2012 * DumpRenderTree/DumpRenderTree.m:
2013 (-[EventSendingController mouseDown]): force layout
2014 (-[EventSendingController mouseUp]): force layout
2016 2005-09-30 Eric Seidel <eseidel@apple.com>
2020 Updated all the scripts for the move:
2021 WebCore/layout-tests -> LayoutTests
2023 * Scripts/check-dom-results:
2024 * Scripts/prepare-ChangeLog:
2025 * Scripts/run-webkit-tests:
2026 * Scripts/update-webkit: added --no-tests
2027 * checkout: added --no-tests
2029 2005-09-28 Darin Adler <darin@apple.com>
2031 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2032 pixel test should run even if render trees differ
2034 * Scripts/run-webkit-tests: Don't check if the text dump matches.
2036 2005-09-27 Eric Seidel <eseidel@apple.com>
2038 No review needed, SVG build fix only.
2040 * DumpKCanvasTree/DumpKCanvasTree.m:
2041 Missed one in my previous checkin.
2042 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2044 2005-09-26 Eric Seidel <eseidel@apple.com>
2046 No review needed, SVG build fix only.
2048 * DrawTest/DrawTestDocument.m:
2049 * DrawTest/DrawTestToolbarController.m:
2050 * DrawTest/DrawTestView.h:
2051 * DrawTest/DrawTestView.m:
2052 * DrawTest/SVGTest.m:
2053 * DrawTest/TestController.m:
2054 Updated for WebCore+SVG -> WebCore rename.
2055 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2057 2005-09-26 Eric Seidel <eseidel@apple.com>
2061 * DumpRenderTree/DumpRenderTree.m:
2062 (dump): updated error message
2063 * Scripts/check-dom-results: now includes xhtml
2064 Tool updates for xhtml.
2065 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2067 2005-09-22 Duncan Wilcox <duncan@mclink.it>
2072 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2073 "Would like to simulate human interaction with webview"
2075 * DumpRenderTree/DumpRenderTree.m:
2076 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2077 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2078 (+[EventSendingController webScriptNameForSelector:]):
2079 (-[EventSendingController init]):
2080 (-[EventSendingController mouseDown]):
2081 (-[EventSendingController mouseUp]):
2082 (-[EventSendingController mouseMoveToX:Y:]):
2083 Add eventSender javascript object, that sends fake mouse events to the webview.
2085 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2086 link with Carbon.framework
2088 2005-09-22 Eric Seidel <eseidel@apple.com>
2092 Update tools for WebCore+SVG -> WebCore rename.
2093 Also fold several SVG specific tools into their original
2094 WebCore counterparts.
2095 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2097 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2098 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2099 * Scripts/build-drawtest:
2100 * Scripts/build-dumpkcanvastree:
2101 * Scripts/build-webcore-svg: Removed.
2102 * Scripts/build-webkit: added --svg option
2103 * Scripts/run-drawtest:
2104 * Scripts/run-webkit-tests:
2105 * Scripts/webkitdirs.pm: various additions.
2106 * checkout: added --svg option
2107 * checkout-svg: Removed.
2109 2005-09-19 Eric Seidel <eseidel@apple.com>
2113 * Scripts/run-webkit-tests: added --guard-malloc option
2114 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2116 2005-09-16 Justin Garcia <justin.garcia@apple.com>
2120 Removed a script that is only used by apple internal developers
2122 * Scripts/update-webkitsysteminterface: Removed.
2124 2005-09-16 Adele Peterson <adele@apple.com>
2128 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2130 2005-09-14 Darin Adler <darin@apple.com>
2132 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2133 dumpAsText doesn't work with XHTML documents
2135 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2136 rather than of the body element. This works with typical XHTML documents. We can probably
2137 do something even better in the long run, but this fixes the immediate issue.
2141 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2142 run-safari instead of just using "open", which often runs another copy of Safari instead.
2144 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
2146 Reviewed, tweaked, and landed by Darin.
2148 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2149 .Mac prefpane crashes when Safari using CVS WebKit is running
2151 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2152 * Scripts/run-webkit-app: Ditto.
2154 2005-09-11 Darin Adler <darin@apple.com>
2156 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2158 2005-09-11 Darin Adler <darin@apple.com>
2162 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2163 two ways: 1) puts all files in a directory before any files in a subdirectory, and
2164 2) sort file names with numeric digits in them in a logical way, so test-33 will come
2167 2005-09-08 Justin Garcia <justin.garcia@apple.com>
2171 * Scripts/update-webkitsysteminterface: Added.
2172 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2174 2005-09-01 John Sullivan <sullivan@apple.com>
2176 * Scripts/run-webkit-tests:
2177 Excluded a known system leak to reduce noise; added comments about which leaks
2180 2005-09-01 Tim Omernick <tomernick@apple.com>
2182 Change made by Darin, reviewed by John and myself.
2184 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2186 * Scripts/prepare-ChangeLog:
2188 2005-08-31 Maciej Stachowiak <mjs@apple.com>
2192 - set color variant and font settings to a consistent value.
2193 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2195 * DumpRenderTree/DumpRenderTree.m:
2198 2005-08-30 Eric Seidel <eseidel@apple.com>
2202 * Scripts/build-svg2png: Removed.
2203 * svg2png/ImageDiff.h: Removed.
2204 * svg2png/ImageDiff.m: Removed.
2205 * svg2png/svg2png.m: Removed.
2206 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2207 * svg2png/svg2png_Prefix.pch: Removed.
2208 svg2png is no longer needed.
2210 2005-08-30 Darin Adler <darin@apple.com>
2212 * Scripts/check-dom-results: Special case 100% to say something nice.
2213 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2214 applying the patch (need a better name).
2215 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2217 2005-08-30 Darin Adler <darin@apple.com>
2219 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2221 2005-08-29 Maciej Stachowiak <mjs@apple.com>
2225 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2226 (some pixel tests fail when AA settings are changed)
2228 * DumpRenderTree/DumpRenderTree.m:
2229 (main): set AA settings to the default values
2231 2005-08-29 Darin Adler <darin@apple.com>
2233 Reviewed by John Sullivan.
2235 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2236 executable -- much slower but can help pinpoint leaks. Changed formatting of some
2239 2005-08-28 Maciej Stachowiak <mjs@apple.com>
2243 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2244 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2246 * DumpRenderTree/DumpRenderTree.m:
2247 (main): set scrollbar arrow setting to a consistent value
2249 2005-08-27 Jussi Hagman <juhagman@abo.fi>
2251 Reviewed and landed by Darin.
2253 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2254 output of update-webkit is too verbose
2256 * Scripts/update-webkit:
2257 Added option --quiet (-q) to decrease the amount of output.
2259 2005-08-27 Darin Adler <darin@apple.com>
2261 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2262 cvs-create-patch --include-unknowns should ignore hidden files
2264 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2266 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
2268 Reviewed, tweaked, and landed by Darin.
2270 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2271 update-webkit doesn't notice when you have SVGSupport and update properly
2273 * Scripts/update-webkit: Build SVGSupport directory if it's present.
2275 2005-08-25 Anders Carlsson <andersca@mac.com>
2277 Reviewed and landed by Darin.
2279 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2280 layout test machinery can't handle tests with applets that have code attributes
2282 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2284 2005-08-24 Darin Adler <darin@apple.com>
2288 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2289 DumpRenderTree --pixel-tests crash
2290 - landed some other small changes I had sitting in my tree
2292 * DumpRenderTree/DumpRenderTree.m:
2293 (main): Don't bother saving and restoring the preferences. Not sure
2294 why this was ever done since the preferences are specific to DumpRenderTree.
2295 Clear delegates before releasing the WebView, because you can't count on the
2296 order of object deallocation.
2297 (dumpRenderTree): Fix code that releases a string before storing it in a
2300 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2301 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2303 2005-08-23 Eric Seidel <eseidel@apple.com>
2307 * Scripts/run-webkit-tests:
2308 Made --leaks option more readable by printing to a file.
2309 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2311 2005-08-22 Eric Seidel <eseidel@apple.com>
2312 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2316 * Scripts/run-webkit-tests: hides "expected actual diffs" links
2317 when they are not needed (for pixel-only failures)
2318 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2320 2005-08-22 Eric Seidel <eseidel@apple.com>
2324 * Scripts/run-webkit-tests: Added the ability to display more than
2325 just two images as part of the image-diff "slideshow".
2326 Added display of "-w3c.png" baseline images for SVG.
2327 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2329 2005-08-20 Eric Seidel <eseidel@apple.com>
2331 * Scripts/run-webkit-tests:
2332 "build" fix after committing incorrect version.
2334 2005-08-20 Eric Seidel <eseidel@apple.com>
2338 * DumpRenderTree/DumpRenderTree.m:
2339 (main): cleans up delegates
2340 (dumpRenderTree): closes CFString/CFURL leak
2341 * Scripts/run-webkit-tests:
2342 Adds --leaks option to run-webkit-tests
2343 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2345 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
2349 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2350 new files to be included in the patch even without "cvs add".
2352 2005-08-19 Darin Adler <darin@apple.com>
2354 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2355 non-cvs-generated patches. Anders has been creating these, so it's bad that
2356 the script can't handle them.
2357 * Scripts/cvs-unapply: Ditto.
2359 2005-08-18 Darin Adler <darin@apple.com>
2361 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2362 "." in them -- based on complaint by someone here at Apple.
2364 2005-08-18 Eric Seidel <eseidel@apple.com>
2368 * Scripts/run-webkit-tests:
2369 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2371 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2373 - add file that I forgot in the last checkin
2375 * DumpRenderTree/ImageDiff.m: Added.
2377 (getImageFromStdin):
2379 (getDifferenceBitmap):
2380 (computePercentageDifferent):
2382 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2384 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2385 somewhat by me, and also tweaked by me a little bit.
2387 - better support for pixel-dumping
2388 - use checksums of the images so the tests are fast
2389 - change output format to make the tests run faster
2390 - don't dump pixel results for tests that dump as text
2392 * DumpKCanvasTree/DumpKCanvasTree.m:
2395 (md5HashStringForBitmap):
2397 (constrainSizeToMaximum):
2398 (getBitmapImageRepForSVGDocument):
2399 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2400 * DumpRenderTree/DumpRenderTree.m:
2404 (md5HashStringForBitmap):
2405 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2406 * Scripts/run-webkit-tests:
2408 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2412 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2414 * DumpRenderTree/DumpRenderTree.m:
2417 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2419 Reviewed and landed by Darin.
2421 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
2422 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
2424 * Scripts/run-safari: Pass arguments through to Safari on command line.
2425 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2427 2005-08-11 Eric Seidel <eseidel@apple.com>
2428 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2430 Reviewed by eseidel.
2432 * DrawTest/TestController.m:
2433 (-[TestController imagePathForSVGPath:]):
2434 Fixed support for using TextViewer with the layout-tests.
2435 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2437 2005-08-11 Maciej Stachowiak <mjs@apple.com>
2439 At Least Roughly Glanced At by Anders.
2441 - fix change with totally breaks the layout tests.
2443 * DumpRenderTree/DumpRenderTree.m:
2444 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
2445 load, to avoid dumping twice accidentally.
2447 2005-08-10 Eric Seidel <eseidel@apple.com>
2448 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
2452 * DumpRenderTree/DumpRenderTree.m:
2453 Added support for rendering to a PNG file.
2454 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2456 2005-08-07 Eric Seidel <eseidel@apple.com>
2460 * Scripts/run-webkit-tests: added --svg option
2461 * Scripts/run-webkit-tests-svg: Removed.
2462 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2464 2005-08-07 Eric Seidel <eseidel@apple.com>
2465 Changes by Ben La Monica <ben.lamonica@gmail.com>
2469 * svg2png/ImageDiff.h: Added.
2470 * svg2png/ImageDiff.m: Added.
2471 (getDifferenceBitmap):
2472 (computePercentageDifferent):
2473 (saveAnimatedGIFToFile):
2474 * svg2png/svg2png.m:
2475 (usage): added several new options
2476 (getBitmapForSVG): added NSBitmapImageRep generation
2477 (main): various argument changes.
2478 * svg2png/svg2png.xcodeproj/project.pbxproj:
2479 Several additions to provide image differencing functionality.
2480 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
2482 2005-08-07 Eric Seidel <eseidel@apple.com>
2486 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
2487 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
2488 Adding the first SVG layout tests:
2489 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
2491 2005-08-07 Darin Adler <darin@apple.com>
2493 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
2495 2005-08-06 Eric Seidel <eseidel@apple.com>
2499 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
2500 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
2501 * Scripts/build-dumpkcanvastree: Added.
2502 * Scripts/run-webkit-tests-svg: Added.
2503 Adds a DumpRenderTree-like tool for SVG which allows us to do
2504 text-based layout regression testing. This (like most of the
2505 SVG specific stuff) is temporary and will be replaced by
2506 DumpRenderTree once the DOMs and RenderTrees merge.
2507 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
2509 2005-08-06 Eric Seidel <eseidel@apple.com>
2513 * DrawTest/DrawTestView.m:
2514 (-[DrawTestView toggleFilterSupport:]): missing negation.
2515 One half of fix for toggling filter support.
2516 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
2518 2005-08-04 Eric Seidel <eseidel@apple.com>
2522 * Scripts/build-drawtest:
2523 * Scripts/build-dumprendertree:
2524 * Scripts/build-svg2png:
2525 * Scripts/build-webcore-svg:
2526 * Scripts/build-webkit:
2527 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
2528 Added checkRequiredSystemConfig and made all the build-* scripts
2529 use it to print a pretty warning when trying to compile on an
2530 unsupported system (less than 10.4, Xcode 2.1).
2531 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
2533 2005-08-04 Darin Adler <darin@apple.com>
2535 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
2536 the dead. It was removed by accident when someone was trying to work on the branch.
2538 2005-07-31 Darin Adler <darin@apple.com>
2540 - a little tools cleanup
2542 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
2543 project as a whole. Removed unused Default configuration.
2545 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2547 2005-07-31 Duncan Wilcox <duncan@mclink.it>
2549 Reviewed and landed by Darin Adler.
2551 Add logging of editing delegate calls for regression checking.
2553 * DumpRenderTree/DumpRenderTree.m:
2555 setup editing delegate
2557 (-[DOMNode dumpPath]):
2559 utility for editing delegate logging
2561 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2562 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2563 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2564 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2565 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2566 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2567 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2568 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2569 (-[EditingDelegate webViewDidBeginEditing:]):
2570 (-[EditingDelegate webViewDidChange:]):
2571 (-[EditingDelegate webViewDidEndEditing:]):
2572 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2573 log corresponding editing delegate methods
2575 (-[EditingDelegate webViewDidChangeSelection:]):
2576 log selection except when clearing selection after end of test (uses existing "done" flag)
2579 added clearing of selection after test
2581 2005-07-31 Eric Seidel <eseidel@apple.com>
2585 * Scripts/build-drawtest: Added.
2586 * Scripts/build-svg2png: Added.
2587 * Scripts/build-webcore-svg: Added.
2588 * Scripts/run-drawtest: Added.
2589 * Scripts/webkitdirs.pm: added checkSVGFrameworks
2590 Made it much easier to build WebCore+SVG.
2591 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2593 2005-07-29 Eric Seidel <eseidel@apple.com>
2597 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2598 Build fix. Removed bad path.
2600 2005-07-29 Eric Seidel <eseidel@apple.com>
2602 Reviewed by sullivan.
2604 * DrawTest/AppDelegate.h: Added.
2605 * DrawTest/AppDelegate.m: Added.
2606 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
2607 * DrawTest/DrawTestDocument.h: Added.
2608 * DrawTest/DrawTestDocument.m: Added.
2609 * DrawTest/DrawTestInspectorController.h: Added.
2610 * DrawTest/DrawTestInspectorController.m: Added.
2611 * DrawTest/DrawTestToolbarController.h: Added.
2612 * DrawTest/DrawTestToolbarController.m: Added.
2613 * DrawTest/DrawTestView.h: Added.
2614 * DrawTest/DrawTestView.m: Added.
2615 * DrawTest/DrawTest_Prefix.pch: Added.
2616 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
2617 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
2618 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
2619 * DrawTest/English.lproj/InfoPlist.strings: Added.
2620 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
2621 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
2622 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
2623 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
2624 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
2625 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2626 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
2627 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
2628 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
2629 * DrawTest/Info.plist: Added.
2630 * DrawTest/SVGTest.h: Added.
2631 * DrawTest/SVGTest.m: Added.
2632 * DrawTest/ScalingImageView.h: Added.
2633 * DrawTest/ScalingImageView.m: Added.
2634 * DrawTest/TestController.h: Added.
2635 * DrawTest/TestController.m: Added.
2636 * DrawTest/TestViewerSplitView.h: Added.
2637 * DrawTest/TestViewerSplitView.m: Added.
2638 * DrawTest/main.m: Added.
2639 Adding simple cocoa app for testing SVG rendering, interaction.
2640 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
2642 2005-07-28 Eric Seidel <eseidel@apple.com>
2646 * svg2png/svg2png.m: Added.
2647 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
2648 * svg2png/svg2png_Prefix.pch: Added.
2649 Added a simple test tool which dumps a PNG from an SVG using
2650 WebCore+SVG's SVG rendering support.
2651 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
2653 2005-07-26 Maciej Stachowiak <mjs@apple.com>
2657 - new script to review the DOM layout test results and see where we stand
2658 on actual success and failure
2660 * Scripts/check-dom-results: Added.
2662 2005-07-25 Darin Adler <darin@apple.com>
2664 * Scripts/webkitdirs.pm: Check in missing line of code.
2666 2005-07-25 Darin Adler <darin@apple.com>
2668 - fixed problem that was causing JavaScriptCore test to fail
2669 (except for people who had set DYLD_FRAMEWORK_PATH)
2671 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
2672 Add code to parse configuration parameter so you can pass --deployment if you like.
2673 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
2675 * Scripts/update-javascriptcore-test-results: Add license header.
2677 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
2678 from @ARGV. This lets us use this option in commands that take other options and
2679 pass them along to a subsequent tool.
2681 2005-07-25 Darin Adler <darin@apple.com>
2683 Reviewed by Geoff Garen.
2685 - Fixed run-safari and gdb-safari to use the Safari application in the build results
2686 directory, if any, falling back to the one in the Applications directory otherwise.
2687 Does no harm for open source contributors who don't build Safari, and helps out the
2688 Safari team, since we do build Safari.
2690 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
2691 variable, and if that's not present, looks in either the build results directory or
2692 /Applications; factors code that was in both scripts before into a shared function.
2693 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
2694 now in Xcode 2.1 format and incompatible with older versions of Xcode.
2696 * Scripts/gdb-safari: Use safariPath.
2697 * Scripts/run-safari: Use safariPath.
2699 2005-07-22 Geoffrey Garen <ggaren@apple.com>
2701 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
2702 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
2704 Moved Tools/Scripts/update-mozilla-js-test-results to
2705 WebKitTools/Scripts/update-javascriptcore-test-results.
2709 * Scripts/run-javascriptcore-tests: Added.
2711 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2715 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2717 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2719 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
2721 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2723 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
2725 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2727 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
2729 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2731 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
2733 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2735 * Scripts/build-webkit:
2737 2005-07-12 Eric Seidel <eseidel@apple.com>
2741 * checkout-svg: Fixed error with symlink creation.
2743 2005-07-12 Eric Seidel <eseidel@apple.com>
2747 * checkout-svg: Added.
2748 Script to check out WebCore+SVG
2750 2005-06-30 Darin Adler <darin@apple.com>
2752 Changes based on input from Michael Kahl.
2754 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
2755 specify different style of "diff".
2756 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
2757 determineConfigurationProductDir works in all cases.
2759 2005-06-29 Darin Adler <darin@apple.com>
2761 - fixed bug which would result in multiple unwanted dumps in a single layout test
2763 * DumpRenderTree/DumpRenderTree.m:
2764 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
2766 (-[LayoutTestController waitUntilDone]): Update for name change.
2767 (-[LayoutTestController notifyDone]): Dump only if ready.
2768 (dumpRenderTree): Set up new boolean and update for name change.
2770 2005-06-29 Darin Adler <darin@apple.com>
2772 Changes by Timothy Hatcher.
2775 * Scripts/run-webkit-app: Added script to open an arbritrary application with
2776 a CVS built WebKit. Example: ./run-webkit-app Colloquy
2778 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
2779 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
2780 * Scripts/run-safari: Ditto.
2782 2005-06-26 Darin Adler <darin@apple.com>
2784 * Scripts/build-dumprendertree: Pass -project option so that having a second
2785 copy of the project (like the one Xcode 2.1 offers to make for you) that's
2786 out of date won't screw you up.
2787 * Scripts/build-webkit: Ditto.
2789 2005-06-23 Darin Adler <darin@apple.com>
2791 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
2793 2005-06-23 Darin Adler <darin@apple.com>
2795 Changes based on input from Michael Kahl.
2797 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
2798 directory passed in.
2800 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
2801 getcwd() in the code to find the base product dir. Added code to handle unusual
2802 base product directory values that use SRCROOT.
2804 2005-06-22 Darin Adler <darin@apple.com>
2806 Change by Anders Carlsson.
2808 - added support for dumping title changes
2810 * DumpRenderTree/DumpRenderTree.m:
2811 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
2812 if requested by JavaScript.
2813 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
2814 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
2815 (dumpRenderTree): Start flag as NO.
2817 2005-06-20 Darin Adler <darin@apple.com>
2819 Reviewed by Justin Garcia.
2821 * Scripts/run-webkit-tests: Report number of tests when they succeed.
2823 2005-06-18 Darin Adler <darin@apple.com>
2825 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
2826 in the hope of making the tool use less memory and run faster.
2828 2005-06-18 Darin Adler <darin@apple.com>
2830 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
2831 * Scripts/cvs-unapply: Ditto.
2833 2005-06-17 Maciej Stachowiak <mjs@apple.com>
2835 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
2836 benefit of all WebKit hackerdom
2838 * Scripts/prepare-ChangeLog: Added.
2840 2005-06-16 Darin Adler <darin@apple.com>
2842 - recent changes to XcodeOptions made it depend on the current directory
2843 The intent was to have the WebKitBuild directory be next to WebKitTools,
2844 not inside the various build directories. Workaround for now is to call
2845 XcodeOptions when the directory is set to the WebKit directory.
2847 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
2848 at the start of the script.
2849 * Scripts/build-webkit: Ditto.
2851 2005-06-15 Darin Adler <darin@apple.com>
2853 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
2855 2005-06-14 Darin Adler <darin@apple.com>
2857 Changes by Anders Carlsson.
2860 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
2861 Add gdb-safari script to launch Safari under gdb
2863 * Scripts/gdb-safari: Added.
2865 2005-06-12 Darin Adler <darin@apple.com>
2867 Changes by Stuart Morgan.
2870 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
2871 * Scripts/cvs-apply: Ditto.
2872 * Scripts/cvs-create-patch: Ditto.
2873 * Scripts/cvs-unapply: Ditto.
2874 * Scripts/run-webkit-tests: Ditto.
2875 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
2877 2005-06-12 Darin Adler <darin@apple.com>
2879 * Scripts/cvs-apply: Handle case of an empty patch better.
2880 * Scripts/cvs-unapply: Ditto.
2882 2005-06-12 Darin Adler <darin@apple.com>
2884 Changes by Michael Gaiman.
2887 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
2888 WebKit no longer builds after configuration supporting build changes
2890 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
2892 2005-06-12 Darin Adler <darin@apple.com>
2894 * Scripts/update-webkit: Make this script work when called from any directory.
2896 2005-06-12 Darin Adler <darin@apple.com>
2899 Includes changes by Stuart Morgan as well as my own.
2901 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
2902 symrootXcodeOptions to set the -buildstyle option.
2903 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
2904 The new --development option does the same thing.
2905 * Scripts/run-safari: Ditto.
2906 * Scripts/run-webkit-tests: Ditto.
2907 * Scripts/update-webkit: Ditto.
2908 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
2910 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
2911 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
2912 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
2913 product directory. Read the default configuration from a file, overridable by a passed-in command-line
2916 2005-06-11 Darin Adler <darin@apple.com>
2918 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
2919 to execute the cvs diff commands.
2921 2005-06-11 Darin Adler <darin@apple.com>
2923 - added first cuts at some cvs scripts
2925 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
2926 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
2927 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
2928 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
2930 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
2932 * Scripts/cvs-abandon: Added.
2933 * Scripts/cvs-apply: Added.
2934 * Scripts/cvs-create-patch: Added.
2935 * Scripts/cvs-unapply: Added.
2937 2005-06-09 Darin Adler <darin@apple.com>
2941 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
2942 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
2944 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
2945 for Foundation.framework. How was it ever wrong?
2947 - finally, I tested making the default build directory work; it works now
2949 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
2950 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
2951 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
2952 * Scripts/build-dumprendertree: Ditto.
2954 2005-06-09 Darin Adler <darin@apple.com>
2956 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
2957 work. Someone should try building without setting the Xcode build product directory now,
2958 and let me know if it works.
2960 2005-06-08 Darin Adler <darin@apple.com>
2962 - quick fix to try to get build scripts working again
2964 * Scripts/build-dumprendertree: Add FindBin.
2965 * Scripts/build-webkit: Ditto.
2966 * Scripts/run-safari: Ditto.
2967 * Scripts/run-webkit-tests: Ditto.
2968 * Scripts/update-webkit: Ditto.
2970 2005-06-08 Darin Adler <darin@apple.com>
2974 - some build script enhancements
2976 * Scripts/build-dumprendertree: Changed to use webkitdirs.
2977 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
2979 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
2980 before Deplyment in that case.
2981 * Scripts/run-webkit-tests: Changed to use webkitdirs.
2982 * Scripts/update-webkit: Changed to use webkitdirs.
2984 * Scripts/webkitdirs.pm: Added.
2986 2005-06-08 Maciej Stachowiak <mjs@apple.com>
2988 Code change by Toby Peterson <toby@opendarwin.org>
2991 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
2992 get confused because build-webkit now makes even 2.0 build directories look
2995 2005-06-07 Darin Adler <darin@apple.com>
2997 Reviewed by Adele Peterson.
2999 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
3000 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
3001 so we can run tests with Xcode 2.1.
3003 2005-06-07 Darin Adler <darin@apple.com>
3005 Reviewed by Adele Peterson.
3007 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
3008 layout-tests directory to include additional sets of tests.
3010 2005-06-07 Darin Adler <darin@apple.com>
3012 * checkout: Added license.
3013 * Scripts/build-dumprendertree: Ditto.
3014 * Scripts/run-webkit-tests: Ditto.
3015 * Scripts/update-webkit: Ditto.
3017 2005-06-07 Darin Adler <darin@apple.com>
3019 Change by Toby Peterson <toby@opendarwin.org>.
3022 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
3023 * Scripts/run-safari: Ditto.
3025 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3027 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
3029 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3031 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
3033 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3035 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
3037 2005-06-05 Darin Adler <darin@apple.com>
3039 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
3040 * Scripts/build-dumprendertree: Added.
3041 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
3042 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
3044 2005-06-05 Darin Adler <darin@apple.com>
3046 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
3048 2005-06-05 Darin Adler <darin@apple.com>
3050 - add run-webkit-tests script; not working yet but the pieces are there
3052 * Scripts/run-webkit-tests: Added.
3054 * DumpRenderTree/DumpRenderTree.m: Added.
3055 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
3056 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
3057 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
3059 2005-06-05 Darin Adler <darin@apple.com>
3061 - created module, first cut at Web Kit Open Source Project scripts
3064 * Scripts/build-webkit: Added.
3065 * Scripts/run-safari: Added.
3066 * Scripts/update-webkit: Added.
3069 === creation of WebKitTools module ===