1 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
5 http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
6 Make prepare-ChangeLog faster
8 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
9 then save the diff output for reuse. Keep a status variable if changes are made to
10 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
11 WebCore is updated. Added -h|--help command-line switch and help message. Move test
12 for no changed files closer to the beginning of the program.
14 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
16 Reviewed and landed by ap.
18 - make DumpRenderTree build
20 * DumpRenderTree/DumpRenderTree.m:
21 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
22 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
23 (-[LayoutTestController setWindowIsKey:]): Ditto.
24 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
26 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
28 Reviewed by Darin, landed by Geoff.
30 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
31 Use pathcmp() when sorting paths in svn-create-patch
33 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
34 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
35 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
36 switch and printUsage() subroutine.
38 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
42 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
43 Teach svn-create-patch to sort its output
45 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
46 by text files first, then by binary files.
48 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
52 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
53 Teach svn-create-patch and friends to work with binary files
55 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
56 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
57 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
59 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
63 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
64 Performance improvement for svn-create-patch
66 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
68 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
72 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
73 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
75 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
76 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
78 2006-06-03 Steve Falkenburg <sfalken@apple.com>
82 Switch Spinneret to new hosting mechanism
84 * Spinneret/Spinneret.sln:
85 * Spinneret/Spinneret/Spinneret.cpp:
86 (SpinneretWebHost::updateAddressBar):
87 (SpinneretWebHost::QueryInterface):
88 (SpinneretWebHost::AddRef):
89 (SpinneretWebHost::Release):
96 * Spinneret/Spinneret/Spinneret.h:
97 (SpinneretWebHost::didStartProvisionalLoadForFrame):
98 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
99 (SpinneretWebHost::didFailProvisionalLoadWithError):
100 (SpinneretWebHost::didCommitLoadForFrame):
101 (SpinneretWebHost::didReceiveTitle):
102 (SpinneretWebHost::didReceiveIcon):
103 (SpinneretWebHost::didFinishLoadForFrame):
104 (SpinneretWebHost::didFailLoadWithError):
105 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
106 (SpinneretWebHost::willPerformClientRedirectToURL):
107 (SpinneretWebHost::didCancelClientRedirectForFrame):
108 (SpinneretWebHost::willCloseFrame):
109 (SpinneretWebHost::windowScriptObjectAvailable):
110 * Spinneret/Spinneret/Spinneret.vcproj:
112 2006-06-02 Steve Falkenburg <sfalken@apple.com>
118 * Scripts/build-webkit:
120 2006-06-01 Anders Carlsson <acarlsson@apple.com>
124 * DumpRenderTree/DumpRenderTree.m:
125 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
126 (-[LayoutTestController clearBackForwardList]):
127 Add clearBackForwardList function to layoutTestController
129 2006-06-01 Anders Carlsson <acarlsson@apple.com>
133 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
134 slow-utf8-text layout test case failing (no longer deterministic?)
136 * DumpRenderTree/DumpRenderTree.m:
138 Dump as text when the response MIME type is text/plain
140 2006-05-26 Steve Falkenburg <sfalken@apple.com>
144 * Spinneret/Spinneret.sln:
145 * Spinneret/Spinneret/Spinneret.vcproj:
147 2006-05-24 Geoffrey Garen <ggaren@apple.com>
151 Added 'GCController' to DRT to support garbage collection layout tests.
153 GCController.collect() and GCController.collectOnAlternateThread() do
154 what you would expect. The latter takes a boolean argument sepcifying
155 whether to wait for garbage collection to finish before continuing to
158 * DumpRenderTree/DumpRenderTree.m:
159 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
160 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
161 * DumpRenderTree/GCController.h: Added.
162 * DumpRenderTree/GCController.mm: Added.
163 (+[GCController isSelectorExcludedFromWebScript:]):
164 (+[GCController webScriptNameForSelector:]):
165 (-[GCController collect]):
166 (-[GCController collectOnAlternateThread:]):
168 2006-05-23 John Sullivan <sullivan@apple.com>
172 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
173 Newer Xcode removed some obsolete cruft
175 * DumpRenderTree/TextInputController.m:
176 (-[TextInputController textInput]):
177 added (id) cast to make newer compiler happy
179 2006-05-22 Steve Falkenburg <sfalken@apple.com>
185 * Spinneret/Spinneret.sln:
187 2006-05-18 Darin Adler <darin@apple.com>
189 - try to fix no-SVG, no-XPATH build, again
191 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
193 2006-05-18 Darin Adler <darin@apple.com>
195 - try to fix no-SVG, no-XPATH build
197 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
198 since the former is what's used in the WebCore project now.
200 2006-05-17 Darin Adler <darin@apple.com>
202 * Scripts/do-webcore-rename: Some more future renames.
204 2006-05-16 Adele Peterson <adele@apple.com>
208 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
209 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
211 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
213 * Scripts/install-unix-extras: Changed to be executable and removed
214 text in the file generated by "svn diff".
215 * Scripts/regenerate-makefiles: Ditto.
217 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
219 Reviewed by Darin, landed by ap.
221 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
222 Bakefiles (and generated Makefiles) for wx and gdk ports
224 * Scripts/install-unix-extras: Added.
225 * Scripts/regenerate-makefiles: Added.
227 2006-05-10 Steve Falkenburg <sfalken@apple.com>
231 Fix registry usage from perl script. Turns out libwin32's
232 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
234 * Scripts/install-win-extras:
236 2006-05-09 Steve Falkenburg <sfalken@apple.com>
239 Add load ended callback.
243 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
244 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
245 * Spinneret/Spinneret/Spinneret.cpp:
246 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
247 (_tWinMain): Load built-in test content here instead of in lower-level code.
248 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
250 2006-05-08 Maciej Stachowiak <mjs@apple.com>
254 * Scripts/extract-localizable-strings: Update for correct names of log macros.
256 2006-05-09 Anders Carlsson <acarlsson@apple.com>
260 * Scripts/check-dom-results:
261 Add XPath to the list of results.
263 2006-05-08 Darin Adler <darin@apple.com>
265 * Scripts/do-webcore-rename: Add another rename.
267 2006-05-01 Steve Falkenburg <sfalken@apple.com>
271 Spinneret now links against the new separate lib.
273 * Spinneret/Spinneret.sln:
274 * Spinneret/Spinneret/Spinneret.cpp:
275 (SpinneretWebHost::updateLocationBar):
277 * Spinneret/Spinneret/Spinneret.h:
278 * Spinneret/Spinneret/Spinneret.vcproj:
279 * Spinneret/Spinneret/WebFrame.cpp: Removed.
280 * Spinneret/Spinneret/WebFrame.h: Removed.
281 * Spinneret/Spinneret/WebView.cpp: Removed.
282 * Spinneret/Spinneret/WebView.h: Removed.
284 2006-04-28 Steve Falkenburg <sfalken@apple.com>
288 Modify error reporting registry keys to disable Dr. Watson.
289 This allows Javascript test cases to complete without blocking UI.
291 * Scripts/install-win-extras:
292 - Use Perl Win32 registry functions to disable blocking UI
295 2006-04-28 Steve Falkenburg <sfalken@apple.com>
299 Turned off C++ exceptions, fixed memory leaks
301 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
302 * Spinneret/Spinneret.sln:
303 * Spinneret/Spinneret/Spinneret.cpp:
305 * Spinneret/Spinneret/Spinneret.vcproj:
306 * Spinneret/Spinneret/WebFrame.cpp:
307 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
308 (WebKit::WebFrame::WebFrame):
309 (WebKit::WebFrame::~WebFrame):
310 (WebKit::WebFrame::impl):
311 * Spinneret/Spinneret/WebFrame.h:
312 * Spinneret/Spinneret/WebView.cpp:
313 * Spinneret/Spinneret/stdafx.h:
315 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
319 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
320 DumpRenderTree should reset the URL cache
322 * DumpRenderTree/DumpRenderTree.m:
323 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
325 2006-04-28 Eric Seidel <eseidel@apple.com>
327 Reviewed by andersca.
329 * Scripts/do-webcore-rename: rename KCanvasContainer too
330 * Scripts/run-webkit-tests: output total time
332 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
334 Reviewed by hyatt. Landed by eseidel.
336 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
337 Enable detection of excessive repainting with DumpRenderTree
339 * DumpRenderTree/DumpRenderTree.m:
340 (-[LayoutTestController display]):
342 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
346 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
347 DumpRenderTree needs a way to force painting (to allow invalidation tests)
349 * DumpRenderTree/DumpRenderTree.m:
350 (dump): If display() has been called during the test, grab the pixels from
351 the view, after letting it repaint invalidated rects.
352 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
353 (-[LayoutTestController display]): Added. Calls -display on the view
354 and changes the subsequent behavior of dump().
357 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
361 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
362 Update iExploder to 1.3.2
364 Test case numbers are not compatible with iExploder 1.2.
366 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
368 * iExploder/CHANGELOG.txt: Added.
369 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
370 * iExploder/README.txt: Added some performance hints.
372 * iExploder/htdocs/config.rb: Added.
373 * iExploder/htdocs/cssproperties.in:
374 * iExploder/htdocs/cssvalues.in:
375 * iExploder/htdocs/htmlattrs.in:
376 * iExploder/htdocs/htmltags.in:
377 * iExploder/htdocs/iexploder.cgi:
378 - Updated to support the latest HTML & CSS tags, properties, and values from both
379 the WebKit and Mozilla CVS tree
380 - cssproperties.in cleanup
381 - Modularized the code a little bit.
382 - Fix subtest bug that was causing last 5 tags to be missed
383 - new subtest algorithm to deal better with larger tag counts
384 - default HTML_MAX_TAGS increased from 32 to 96
386 * iExploder/htdocs/index.html: Updated version to 1.3.2.
387 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
388 alternative to our run-iexploder-tests.
389 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
390 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
391 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
393 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
395 - commit Scripts/run-mangleme-tests (missed it the previous time).
397 2006-04-18 Darin Adler <darin@apple.com>
399 - attempt to fix Windows buildbot
401 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
402 We need a better long-term solution for this.
404 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
408 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
409 Integrate mangleme test script.
411 Works in a similar way to run-iexploder-tests.
413 * Scripts/run-mangleme-tests: Added.
415 * mangleme/Makefile: Added.
416 * mangleme/README: Added.
417 * mangleme/mangle.cgi.c: Added.
418 * mangleme/remangle.cgi.c: Added.
419 * mangleme/tags.h: Added.
421 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
425 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
426 An easier way to save iExploder tests.
428 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
430 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
434 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
435 Integrate iExploder test script.
437 This script generates artificially mangled HTML documents, to test that the browser
438 doesn't crash when handling ill-formed code.
441 run-iexploder-tests Open an interactive test page in Safari+ToT.
442 run-iexploder-tests nnnnn Open test #nnnnn.
444 Command line options:
445 --guard-malloc (-g) Use Guard Malloc.
446 --port=nnnn Run Apache on port nnnn (default is 8000).
448 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
449 (thus, Apache is still running), e.g.:
450 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
452 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
454 * Scripts/run-iexploder-tests: Added.
456 * iExploder/LICENSE.txt: Added.
457 * iExploder/README.txt: Added.
458 * iExploder/htdocs: Added.
459 * iExploder/htdocs/cssproperties.in: Added.
460 * iExploder/htdocs/cssvalues.in: Added.
461 * iExploder/htdocs/htmlattrs.in: Added.
462 * iExploder/htdocs/htmltags.in: Added.
463 * iExploder/htdocs/htmlvalues.in: Added.
464 * iExploder/htdocs/iexploder.cgi: Added.
465 * iExploder/htdocs/index.html: Added.
466 * iExploder/tools: Added.
467 * iExploder/tools/lasthit.rb: Added.
468 * iExploder/tools/osx_last_crash.rb: Added.
470 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
474 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
475 Restore color profile after a crash
477 * DumpRenderTree/DumpRenderTree.m:
478 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
479 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
480 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
481 and this code may change significantly.
483 (main): Install crashHandler.
485 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
486 (CFStringGetCStringPtr should NEVER EVER be used!).
488 2006-04-15 Darin Adler <darin@apple.com>
492 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
493 Seems xmlsoft.org's HTTP no longer has what we need.
495 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
497 Rubber-stamped by Darin.
499 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
500 upload-disk-image stage on buildslaves fail with "No space left on device"
502 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
503 'hdiutil create'. This creates the initial disk image based on the size of
504 the source folder, and copies the contents to the new disk image. The file
505 extension on the temporary uncompressed disk image has also been altered from
506 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
507 the extension is not ".dmg".
509 2006-04-12 Eric Seidel <eseidel@apple.com>
513 * Scripts/update-webkit: Make this return non-zero when svn fails.
515 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
519 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
520 Make HTTP tests using Perl use .pl extension
522 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
523 removed support for .text. Reduced the number of places that explicitly list supported
524 extensions. Some of the changes come from bug 8121, the patch for which got landed only
527 2006-04-06 Darin Adler <darin@apple.com>
529 Changes requested by Mark Rowe.
531 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
532 trash at the end of the file.
533 * BuildSlaveSupport/build-launcher-dmg: Ditto.
535 * WebKitLauncher/main.m: Removed trash at end of file.
537 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
540 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
542 Reviewed by Darin, landed by Maciej.
544 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
545 and bundles the WebKit frameworks inside it.
546 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
547 containing WebKit.app.
548 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
549 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
550 number of the SVN working copy.
551 * WebKitLauncher: Added.
552 * WebKitLauncher/Info.plist: Added.
553 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
554 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
555 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
556 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
557 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
558 the nightly launcher.
559 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
560 It sets up the environment to have Safari use the bundled frameworks
561 and load the WebKitNightlyEnabler dylib before exec'ing Safari
562 * WebKitLauncher/start.html: Added.
563 * WebKitLauncher/webkit.icns: Added.
565 2006-04-05 Darin Adler <darin@apple.com>
569 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
570 are allowed to have global initializers.
572 2006-04-05 Geoffrey Garen <ggaren@apple.com>
576 * Scripts/run-testkjs:
577 - pipe STDERR to /dev/null by default; new --verbose option overrides
579 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
580 - output run command in a format that can be copied and pasted into the
581 terminal to run manually
583 2006-04-03 Justin Garcia <justin.garcia@apple.com>
587 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
588 A drag and drop in DumpRenderTree copies the source, instead of cutting it
590 Tell the source that the drag is over after the drag is performed, not before.
592 * DumpRenderTree/EventSendingController.m:
593 (-[EventSendingController mouseUp]):
595 2006-04-01 Darin Adler <darin@apple.com>
599 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
600 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
601 elements in that array are not strings.
603 2006-03-31 Darin Adler <darin@apple.com>
605 Reviewed by John Sullivan.
607 - added a "--reset-results" option to run-webkit-tests so you can reset
608 the results without first deleting expected results
609 - <rdar://problem/4185878> add scroll position to dumpRenderTree
611 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
612 more logical. Moved all the subroutines to the end of the file. Added a
615 * DumpRenderTree/DumpRenderTree.m:
616 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
617 to generate new output for all tests it runs.
618 (dump): Dump the scroll position if it's non-zero. Always dump the image when
619 the --dump-all-pixels option is passed. Also tightened up the image dumping
620 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
621 with code to save and restore the context.
623 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
624 * DumpRenderTree/EventSendingController.m: Added now-needed include.
626 2006-03-30 Tim Omernick <timo@apple.com>
628 Reviewed by NOBODY (just fixing copyrights)
630 * DumpRenderTree/ObjCPlugin.h:
632 * DumpRenderTree/ObjCPlugin.m: ditto
633 * DumpRenderTree/ObjCPluginFunction.h: ditto
634 * DumpRenderTree/ObjCPluginFunction.m: ditto
636 2006-03-30 Tim Omernick <timo@apple.com>
640 * DumpRenderTree/DumpRenderTree.m:
641 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
642 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
643 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
644 exposed to JS as a callable object.
646 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
647 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
649 * DumpRenderTree/ObjCPlugin.h: Added.
650 * DumpRenderTree/ObjCPlugin.m: Added.
651 * DumpRenderTree/ObjCPluginFunction.h: Added.
652 * DumpRenderTree/ObjCPluginFunction.m: Added.
654 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
655 Added a new method, "removeDefaultMethod", which removes the default method from the
656 plugin object's class. The effect is that the plugin object is mutated from a callable
657 function to a simple object.
659 Handle "removeDefaultMethod".
660 (pluginInvokeDefault):
661 Made the default method actually do something (return 1).
663 2006-03-30 Eric Seidel <eseidel@apple.com>
667 Remove WebFrame::viewImpl(), setMainFrame on page.
669 * Spinneret/Spinneret/WebFrame.cpp:
670 (WebKit::WebFrame::WebFrame):
671 * Spinneret/Spinneret/WebFrame.h:
672 * Spinneret/Spinneret/WebView.cpp:
673 (WebKit::WebView::mouseMoved):
674 (WebKit::WebView::mouseDown):
675 (WebKit::WebView::mouseUp):
676 (WebKit::WebView::mouseDoubleClick):
677 (WebKit::WebViewWndProc):
679 2006-03-30 Eric Seidel <eseidel@apple.com>
683 Fix html editing input & basic form submission.
685 * Spinneret/Spinneret/WebFrame.cpp:
686 (WebKit::WebFrame::submitForm):
687 (WebKit::WebFrame::loadURL):
688 * Spinneret/Spinneret/WebFrame.h:
689 * Spinneret/Spinneret/WebView.cpp:
690 (WebKit::WebView::keyPress):
691 (WebKit::WebViewWndProc):
693 2006-03-28 Justin Garcia <justin.garcia@apple.com>
697 <rdar://problem/4402375>
698 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
700 Added an option to draw the selectionRect.
702 * DumpRenderTree/DumpRenderTree.m:
704 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
705 (-[LayoutTestController dumpSelectionRect]):
708 2006-03-29 Darin Adler <darin@apple.com>
710 Reviewed by Tim Hatcher.
712 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
714 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
716 2006-03-28 Eric Seidel <eseidel@apple.com>
720 * Scripts/check-for-global-initializers: remove svg exceptions.
722 2006-03-28 Timothy Hatcher <timothy@apple.com>
726 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
728 * Scripts/check-for-global-initializers:
730 2006-03-28 Timothy Hatcher <timothy@apple.com>
732 Build fix. Turn off uninitialized warnings for the first block of code.
734 * Scripts/check-for-global-initializers:
736 2006-03-28 Darin Adler <darin@apple.com>
740 * Scripts/check-for-global-initializers: Added.
742 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
744 Reviewed by darin. Landed by eseidel.
746 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
747 Add repaint testing support to run-webkit-tests
749 * DumpRenderTree/DumpRenderTree.m:
750 (main): Added --repaint and --horizontal-sweep options.
751 (dump): Repaint line-by-line or column-by-column when the appropriate option
753 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
754 and repaintSweepHorizontally() methods to layoutTestController.
755 (-[LayoutTestController testRepaint]):
756 (-[LayoutTestController repaintSweepHorizontally]):
758 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
759 to force these settings on tests that do not ask for them.
761 2006-03-24 Eric Seidel <eseidel@apple.com>
767 * Spinneret/Spinneret/WebFrame.cpp:
768 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
770 2006-03-21 Beth Dakin <bdakin@apple.com>
774 Add support for keyDown() to DumpRenderTree.
776 * DumpRenderTree/DumpRenderTree.m:
777 (main): Set the preference for tabbing to links.
778 * DumpRenderTree/EventSendingController.m:
779 (+[EventSendingController isSelectorExcludedFromWebScript:]):
780 (+[EventSendingController webScriptNameForSelector:]):
781 (-[EventSendingController keyDown:withModifiers:]):
783 2006-03-20 Eric Seidel <eseidel@apple.com>
789 * Spinneret/Spinneret/Spinneret.vcproj:
790 * Spinneret/Spinneret/WebFrame.h:
791 * Spinneret/Spinneret/WebView.cpp:
792 (WebKit::WebView::mouseMoved):
793 (WebKit::WebView::mouseDown):
794 (WebKit::WebView::mouseUp):
795 (WebKit::WebView::mouseDoubleClick):
796 (WebKit::WebView::keyPress):
797 (WebKit::WebViewWndProc):
799 2006-03-19 Darin Adler <darin@apple.com>
803 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
804 we can test it in layout tests. We don't really need tests that run with
805 pop-up blocking off at the moment. If we do some day, we can add some
806 API for turning it off in the layout test controller.
808 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
809 don't ignore the leak; it should no longer show up.
811 2006-03-17 Anders Carlsson <andersca@mac.com>
815 * Scripts/install-win-extras:
816 Fetch "Program Files" location from the environment.
818 2006-03-17 Eric Seidel <eseidel@apple.com>
822 Fix Spinneret to pass Events as const & not as pointers.
824 * Spinneret/Spinneret/WebView.cpp:
825 (WebKit::WebView::mouseMoved):
826 (WebKit::WebView::mouseDown):
827 (WebKit::WebView::mouseUp):
828 (WebKit::WebView::mouseDoubleClick):
829 (WebKit::WebView::keyPress):
831 2006-03-17 Eric Seidel <eseidel@apple.com>
835 Add support for basic HTML editing.
837 * Spinneret/Spinneret/WebView.cpp:
838 (WebKit::WebView::WebView):
839 (WebKit::WebView::keyPress):
841 2006-03-17 Eric Seidel <eseidel@apple.com>
843 Rubber-stamped by ggaren.
845 Break DumpRenderTree.m up into several files to make the code more readable.
847 * DumpRenderTree/DumpRenderTree.h: Added.
848 * DumpRenderTree/DumpRenderTree.m:
849 (doneLoading): new accessor function for "done" global.
850 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
851 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
852 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
853 * DumpRenderTree/EditingDelegate.h: Added.
854 * DumpRenderTree/EditingDelegate.m: Added.
855 (-[EditingDelegate webViewDidChangeSelection:]):
856 * DumpRenderTree/EventSendingController.h: Added.
857 * DumpRenderTree/EventSendingController.m: Added.
859 2006-03-16 Eric Seidel <eseidel@apple.com>
863 Add resize, scroll event support.
865 * Spinneret/Spinneret/WebView.cpp:
866 (WebKit::WebView::mouseMoved):
867 (WebKit::WebView::mouseDown):
868 (WebKit::WebView::mouseUp):
869 (WebKit::WebView::mouseDoubleClick):
870 (WebKit::WebView::keyPress):
871 (WebKit::WebViewWndProc):
872 * Spinneret/Spinneret/WebView.h:
874 2006-03-16 Eric Seidel <eseidel@apple.com>
878 Make build-webkit print correctly to stdout on windows.
880 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
882 2006-03-15 Eric Seidel <eseidel@apple.com>
886 Fix eventSender.mouseClick() to update lastClick timestamp.
888 * DumpRenderTree/DumpRenderTree.m:
889 (-[EventSendingController mouseClick]):
891 2006-03-15 Darin Adler <darin@apple.com>
895 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
896 that had a lowercase "i" in it so this builds on case-sensitive
899 2006-03-15 Geoffrey Garen <ggaren@apple.com>
903 Added run-testkjs and compare-timing-files scripts, to support super
906 * Scripts/compare-timing-files: Added.
907 * Scripts/run-testkjs: Added.
909 2006-03-14 Eric Seidel <eseidel@apple.com>
913 Make the URL bar relinquish focus on page load.
915 * Spinneret/Spinneret/Spinneret.cpp:
918 2006-03-14 Eric Seidel <eseidel@apple.com>
922 Fix WebView to allow KeyFocus.
923 Add handling of space and shift-space for scrolling.
925 * Spinneret/Spinneret/WebView.cpp:
926 (WebKit::scrollMessageForKey):
927 (WebKit::WebViewWndProc):
929 2006-03-10 Eric Seidel <eseidel@apple.com>
933 Add scrolling support into Spinneret.
935 * Spinneret/Spinneret/WebFrame.cpp:
936 (WebKit::WebFrame::paint):
937 * Spinneret/Spinneret/WebView.cpp:
938 (WebKit::WebView::createWebView):
939 (WebKit::calculateScrollDelta):
940 (WebKit::scrollMessageForKey):
941 (WebKit::WebViewWndProc):
943 2006-03-13 Eric Seidel <eseidel@apple.com>
947 Fix checksum generation on Intel machines.
948 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
949 give a small speed boost now that it uses a shared buffer.
951 * DumpRenderTree/DumpRenderTree.m:
954 (md5HashStringForBitmap):
955 * DumpRenderTree/ImageDiff.m:
956 (computePercentageDifferent):
958 2006-03-13 Darin Adler <darin@apple.com>
960 Reviewed by Tim Hatcher.
962 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
963 have it named httpd-1.3 instead.
965 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
967 Fix proposed by Mitz Pettel, reviewed by Darin.
969 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
970 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
972 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
973 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
976 2006-03-09 Darin Adler <darin@apple.com>
978 Reviewed by John Sullivan.
980 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
981 memory leak in the plug-in tests
983 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
984 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
985 (NPP_SetWindow): Remove unneeded code to store the window pointer.
987 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
988 Moved the browser global in here since it's declared in this file's header.
989 Changed the code to set up the pluginClass structure to not use function
990 pointer casts. Those are dangerous because they can hide many types of mismatch.
991 And indeed when I did this I discovered that many functions were missing their
992 boolean return values or had parameter declarations with the wrong types.
993 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
994 clarity. Added boolean return value: return true when successful and false when not.
995 (pluginSetProperty): Added boolean return value, return false since we have no
996 properties we can set.
997 (pluginInvoke): Added boolean return value. Return true when successful and false
998 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
999 return value from calling the browser. Changed code to put the strings in malloc
1000 buffers instead of relying on GCC's extension that allows variable-sized arrays
1002 (pluginInvokeDefault): Added boolean return value, return false since we have no
1003 default function to call.
1004 (pluginInvalidate): Added missing parameter. Removed comment.
1005 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1006 to cast the result of malloc.
1007 (pluginDeallocate): Removed uneeded cast.
1009 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1010 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1011 that match NPObject's fields. Removed unused NPWindow pointer.
1013 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1015 Test: fast/events/event-sender-mouse-click.html
1019 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1020 DRT hangs when doing eventSender.mouseDown on native widgets
1022 * DumpRenderTree/DumpRenderTree.m:
1023 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1024 (-[EventSendingController mouseClick]): Simulates a click in a native
1025 widget by queueing a mouseUp before sending the mouseDown, so that
1026 the widget's mouse tracking event loop doesn't hang indefinitely.
1028 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1032 - make link clicks work by handling link click requests
1035 * Spinneret/Spinneret/Spinneret.cpp:
1036 (updateLocationBar):
1037 * Spinneret/Spinneret/Spinneret.h:
1038 * Spinneret/Spinneret/WebFrame.cpp:
1039 (WebKit::WebFrame::WebFrame):
1040 (WebKit::WebFrame::openURL):
1041 (WebKit::WebFrame::loadURL):
1042 * Spinneret/Spinneret/WebFrame.h:
1044 2006-03-08 Eric Seidel <eseidel@apple.com>
1048 Focus URL bar on Spinneret launch, remove border from WebView.
1049 Stop WebFrame from deleting the job (prevent crash).
1051 * Spinneret/Spinneret/Spinneret.cpp:
1053 * Spinneret/Spinneret/WebFrame.cpp:
1054 (WebKit::WebFrame::receivedAllData):
1055 (WebKit::WebFrame::paint):
1056 * Spinneret/Spinneret/WebView.cpp:
1057 (WebKit::WebView::createWebView):
1059 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1063 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1064 (pluginInvoke): Added a method to test getURL.
1066 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1070 - load URLs, not file paths, in Spinneret
1072 * Spinneret/Spinneret/Spinneret.cpp:
1074 * Spinneret/Spinneret/Spinneret.vcproj:
1075 * Spinneret/Spinneret/WebFrame.cpp:
1076 (WebKit::WebFrame::loadURL):
1077 (WebKit::WebFrame::receivedData):
1078 (WebKit::WebFrame::receivedAllData):
1079 * Spinneret/Spinneret/WebFrame.h:
1080 * Spinneret/Spinneret/WebView.cpp:
1081 (WebKit::WebView::WebView):
1083 2006-03-08 Darin Adler <darin@apple.com>
1087 - fixed AppleScript layout test results to not be endian-dependent
1088 (Hyatt complained to me about this one)
1090 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1091 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1092 (which are endian-dependent).
1094 2006-03-07 Darin Adler <darin@apple.com>
1098 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1099 unwanted output while running layout tests
1101 * DumpRenderTree/DumpRenderTree.m:
1102 (checkedMalloc): Added.
1103 (checkedRealloc): Added.
1104 (makeLargeMallocFailSilently): Added.
1105 (main): Call makeLargeMallocFailSilently.
1107 2006-03-06 Darin Adler <darin@apple.com>
1109 * Scripts/do-webcore-rename: Add some more planned renaming.
1111 2006-03-06 Eric Seidel <eseidel@apple.com>
1115 * Spinneret/Spinneret/WebFrame.cpp:
1116 (WebKit::WebFrame::paint): force layout before painting
1118 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1122 Sent the windowNumber when sending events.
1123 Added leapForward so that we don't have to spend time waiting
1124 in layout tests that do mouse operations that require delays.
1126 * DumpRenderTree/DumpRenderTree.m:
1127 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1128 (+[EventSendingController webScriptNameForSelector:]):
1129 (-[EventSendingController currentEventTime]):
1130 (-[EventSendingController leapForward:]):
1131 (-[EventSendingController mouseDown]):
1132 (-[EventSendingController mouseUp]):
1133 (-[EventSendingController mouseMoveToX:Y:]):
1135 2006-03-05 Darin Adler <darin@apple.com>
1137 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1138 Script now works (after landing my two pending patches).
1140 2006-03-05 Darin Adler <darin@apple.com>
1142 - check in a script to do a "big" rename in WebCore
1143 (can be run whenever we're ready to do it)
1145 * Scripts/do-webcore-rename: Added.
1147 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1151 * Spinneret/Spinneret/WebFrame.cpp:
1152 (WebKit::WebFrame::loadFilePath): Close file when done.
1154 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1156 Reviewed by Darin, landed by ap.
1158 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1159 Mouse moved events do not work in DumpRenderTree
1161 Test: fast/events/event-sender-mouse-moved.html
1163 * DumpRenderTree/DumpRenderTree.m:
1164 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1166 2006-03-04 Eric Seidel <eseidel@apple.com>
1170 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1171 Disable background erase to avoid tearing.
1172 Fix potential memory smasher from extra long urls.
1174 * Spinneret/Spinneret/Spinneret.cpp:
1176 * Spinneret/Spinneret/Spinneret.vcproj:
1177 * Spinneret/Spinneret/WebFrame.cpp:
1178 (WebKit::WebFrame::loadFilePath):
1179 (WebKit::WebFrame::paint):
1180 * Spinneret/Spinneret/WebView.cpp:
1181 (WebKit::registerWebViewWithInstance):
1183 2006-03-04 Eric Seidel <eseidel@apple.com>
1187 Hang WebView pointer off of HWND (gets rid of global hack).
1188 Remove MessageBox displayed on url change.
1190 * Spinneret/Spinneret/Spinneret.cpp:
1193 * Spinneret/Spinneret/WebView.cpp:
1194 (WebKit::registerWebViewWithInstance):
1195 (WebKit::WebView::createWebView):
1196 (WebKit::WebViewWndProc):
1198 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
1202 Automatically kill httpd if it appears to be already running.
1204 * Scripts/run-webkit-tests:
1206 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1210 * Spinneret/Spinneret/WebFrame.cpp:
1211 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1213 2006-03-03 Eric Seidel <eseidel@apple.com>
1217 A few more fixes to make run-webkit-tests really work on win32.
1219 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1221 * Scripts/run-webkit-tests:
1223 2006-03-03 Eric Seidel <eseidel@apple.com>
1227 Make run-webkit-tests work on win32.
1229 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1231 (dumpRenderTreeMain):
1232 (dumpRenderTreeToStdOut):
1233 (serializeToStdOut):
1235 * Scripts/run-webkit-tests:
1236 * Scripts/webkitdirs.pm:
1237 * Spinneret/Spinneret/WebView.cpp:
1238 (WebKit::WebView::WebView):
1240 2006-03-03 Eric Seidel <eseidel@apple.com>
1244 Add WebFrame class (to hold Frame and FrameView).
1245 Add Location bar support to Spinneret.
1247 * Spinneret/Spinneret/Spinneret.cpp:
1252 * Spinneret/Spinneret/Spinneret.vcproj:
1253 * Spinneret/Spinneret/WebFrame.cpp: Added.
1254 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1255 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1256 (WebKit::WebFrame::WebFrame):
1257 (WebKit::WebFrame::loadFilePath):
1258 (WebKit::WebFrame::loadHTMLString):
1259 (WebKit::WebFrame::paint):
1260 (WebKit::WebFrame::impl):
1261 (WebKit::WebFrame::viewImpl):
1262 * Spinneret/Spinneret/WebFrame.h: Added.
1263 * Spinneret/Spinneret/WebView.cpp:
1264 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1265 (WebKit::WebView::WebView):
1266 (WebKit::WebView::windowHandle):
1267 (WebKit::WebView::mainFrame):
1268 (WebKit::WebView::mouseMoved):
1269 (WebKit::WebView::mouseDown):
1270 (WebKit::WebView::mouseUp):
1271 (WebKit::WebView::mouseDoubleClick):
1272 (WebKit::WebViewWndProc):
1273 * Spinneret/Spinneret/WebView.h:
1275 2006-03-02 Eric Seidel <eseidel@apple.com>
1279 * Spinneret/Spinneret/WebView.cpp:
1280 (WebKit::registerWebViewWithInstance):
1281 (WebKit::WebView::WebView):
1282 (WebKit::WebView::mouseMoved):
1283 (WebKit::WebView::mouseDown):
1284 (WebKit::WebView::mouseUp):
1285 (WebKit::WebView::mouseDoubleClick):
1286 (WebKit::WebViewWndProc):
1287 * Spinneret/Spinneret/WebView.h:
1289 2006-03-01 Eric Seidel <eseidel@apple.com>
1291 Reviewed by andersca.
1293 Make spinneret take advantage of the new GraphicsContextCairo.
1295 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1296 (main): updated to match style guidelines.
1297 * Spinneret/Spinneret/Spinneret.cpp:
1299 * Spinneret/Spinneret/WebView.cpp:
1300 (WebKit::registerWebViewWithInstance):
1301 (WebKit::WebView::WebView):
1302 (WebKit::WebView::~WebView):
1303 (WebKit::WebView::drawRect):
1305 * Spinneret/Spinneret/WebView.h:
1307 2006-03-01 Justin Garcia <justin.garcia@apple.com>
1311 Give the events that eventSender sends a unique eventNumber
1313 * DumpRenderTree/DumpRenderTree.m:
1314 (-[EventSendingController mouseDown]):
1315 (-[EventSendingController mouseUp]):
1316 (-[EventSendingController mouseMoveToX:Y:]):
1318 2006-03-01 Eric Seidel <eseidel@apple.com>
1322 Add a stub win32 application to test WebCore drawing on windows.
1325 * Spinneret/Spinneret: Added.
1326 * Spinneret/Spinneret.sln: Added.
1327 * Spinneret/Spinneret/Resource.h: Added.
1328 * Spinneret/Spinneret/Spinneret.cpp: Added.
1334 * Spinneret/Spinneret/Spinneret.h: Added.
1335 * Spinneret/Spinneret/Spinneret.ico: Added.
1336 * Spinneret/Spinneret/Spinneret.rc: Added.
1337 * Spinneret/Spinneret/Spinneret.vcproj: Added.
1338 * Spinneret/Spinneret/WebView.cpp: Added.
1339 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1340 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1341 (WebKit::registerWebViewWithInstance):
1342 (WebKit::WebView::createWebView):
1343 (WebKit::WebView::WebView):
1344 (WebKit::WebView::~WebView):
1345 (WebKit::WebView::drawRect):
1346 (WebKit::WebView::windowHandle):
1348 * Spinneret/Spinneret/WebView.h: Added.
1349 * Spinneret/Spinneret/small.ico: Added.
1350 * Spinneret/Spinneret/stdafx.cpp: Added.
1351 * Spinneret/Spinneret/stdafx.h: Added.
1353 2006-02-28 Eric Seidel <eseidel@apple.com>
1357 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1358 (main): add ability to dump render tree and read from a local file.
1360 2006-02-27 Eric Seidel <eseidel@apple.com>
1364 * Scripts/install-win-extras: fix dll permissions & download zlib too.
1366 2006-02-27 Eric Seidel <eseidel@apple.com>
1370 Test new KConfig -> PlugInInfoStore change.
1371 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1373 * DumpRenderTree/DumpRenderTree.m:
1374 (main): load test netscape plugin
1375 * Scripts/run-webkit-tests: style update
1377 2006-02-24 Eric Seidel <eseidel@apple.com>
1381 Make DumpRenderTree link against icu.
1383 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1385 2006-02-24 Eric Seidel <eseidel@apple.com>
1389 Make DumpRenderTree link against libxml, etc.
1391 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1393 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1395 Reviewed and landed by Anders.
1397 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1398 getting called from the run loop, making the view render each test and thus slowing
1401 * DumpRenderTree/DumpRenderTree.m:
1402 (main): Set the offscreen window to not autodisplay.
1404 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1408 - Turn http tests back on by default.
1409 - Wait for Apache to actually start serving requests.
1410 - Get user id from a built-in variable rather than an external command;
1411 don't pass the group.
1413 * Scripts/run-webkit-tests:
1415 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1417 Suggested by Mitz Pettel, reviewed by Darin.
1419 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1420 can run CGIs even if the permissions are 700 or 600.
1422 2006-02-23 Darin Adler <darin@apple.com>
1424 Collaborating with Alexey.
1426 - turn off http tests by default until we figure out how to get them
1427 to run even when permissions on CGI files are 700 instead of 755
1429 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1431 2006-02-23 Eric Seidel <eseidel@apple.com>
1433 Add *.user to ignore list.
1435 2006-02-23 Eric Seidel <eseidel@apple.com>
1437 Remove binary file which shouldn't have been commited (and add to ignore list).
1439 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1440 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1442 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1446 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1448 2006-02-22 Eric Seidel <eseidel@apple.com>
1450 Reviewed by Tim Hatcher.
1452 Fix install-win-extras to not try to re-install setx if installed.
1454 * Scripts/install-win-extras:
1456 2006-02-22 Eric Seidel <eseidel@apple.com>
1458 One more file possibly missing from previous commit?
1460 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1461 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1463 2006-02-22 Eric Seidel <eseidel@apple.com>
1465 Reviewed by justing.
1467 Files missing from previous commit.
1469 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1470 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1472 2006-02-22 Eric Seidel <eseidel@apple.com>
1474 Rubber-stamped by justing.
1476 Corrected path for DumpRenderTree.intermediate files
1478 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1480 2006-02-22 Eric Seidel <eseidel@apple.com>
1482 Reviewed by justing.
1484 Fixed build-dumprendertree to exit with correct error codes.
1486 * Scripts/build-dumprendertree:
1488 2006-02-22 Eric Seidel <eseidel@apple.com>
1490 Reviewed by justing.
1492 Update build scripts to generalize building on Win32, and allow
1493 building of DumpRenderTree on Win32 from build-dumprendertree.
1495 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1497 * Scripts/build-dumprendertree:
1498 * Scripts/build-webkit:
1499 * Scripts/webkitdirs.pm:
1501 2006-02-22 Eric Seidel <eseidel@apple.com>
1505 * DumpRenderTree/DumpRenderTree.vcproj: Added.
1506 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1507 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1508 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1509 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1510 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1512 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1513 * Scripts/build-webkit: make build-webkit cleanup after itself
1515 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1519 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1520 Some minor fixes to http tests.
1522 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1524 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
1528 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1529 Would like to use locally installed Apache for testing.
1531 Added two run-webkit-tests options:
1532 --http (--nohttp) - whether to launch Apache (defaults to yes);
1533 --port - which port to listen on (defaults to 8000).
1535 Tests in LayoutTests/http are not run directly, and Apache is used instead.
1536 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1537 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1539 Also added support for .shtml and .text files. Text files give an empty
1540 *-expected.txt, but a correct image.
1542 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1544 * Scripts/run-webkit-tests:
1546 2006-02-21 Darin Adler <darin@apple.com>
1548 Suggested by Mark Rowe.
1550 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1551 reporting leak counts.
1553 2006-02-18 Maciej Stachowiak <mjs@apple.com>
1557 - Added install-win-extras script which installs some extra
1558 programs and libraries, and does Windows first-time setup.
1560 * Scripts/build-webkit: Add a newline between build results.
1561 * Scripts/install-win-extras: Added.
1563 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1567 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1568 DumpRenderTree should be able to load files via HTTP
1570 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1571 Handle tests starting with "http://" as real URLs, not file system paths.
1573 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1577 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1578 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1580 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1582 2006-02-18 Darin Adler <darin@apple.com>
1584 * Scripts/commit-log-editor: Added.
1586 2006-02-17 Eric Seidel <eseidel@apple.com>
1590 Make Win32 have the same default "WebKitBuild" directory behavior.
1592 * Scripts/build-webkit:
1593 * Scripts/webkitdirs.pm:
1595 2006-02-17 Eric Seidel <eseidel@apple.com>
1599 * Scripts/build-webkit: make win32 actually report errors
1601 2006-02-17 Eric Seidel <eseidel@apple.com>
1605 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1607 2006-02-17 Eric Seidel <eseidel@apple.com>
1611 * Scripts/run-webkit-tests: Ignore flash leaks
1613 2006-02-15 Justin Garcia <justin.garcia@apple.com>
1617 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1618 Add drag and drop support to DumpRenderTree
1620 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1621 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
1623 * DumpRenderTree/DumpRenderTree.m:
1625 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1626 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1627 (-[WaitUntilDoneDelegate webViewFocus:]):
1628 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1629 (+[LayoutTestController webScriptNameForSelector:]):
1630 (-[LayoutTestController setWindowIsKey:]):
1631 (-[LayoutTestController setMainFrameIsFirstResponder:]):
1632 (-[EventSendingController init]):
1633 (-[EventSendingController mouseDown]):
1634 (-[EventSendingController mouseUp]):
1635 (-[EventSendingController mouseMoveToX:Y:]):
1637 (-[DumpRenderTreeWindow isKeyWindow]):
1638 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1639 (-[DumpRenderTreeDraggingInfo dealloc]):
1640 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1641 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1642 (-[DumpRenderTreeDraggingInfo draggingLocation]):
1643 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1644 (-[DumpRenderTreeDraggingInfo draggedImage]):
1645 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1646 (-[DumpRenderTreeDraggingInfo draggingSource]):
1647 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1648 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1649 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1650 * DumpRenderTree/TextInputController.m:
1651 (-[TextInputController firstRectForCharactersFrom:length:]):
1652 (-[TextInputController characterIndexForPointX:Y:]):
1654 2006-02-15 Geoffrey Garen <ggaren@apple.com>
1658 * DumpRenderTree/DumpRenderTree.m:
1659 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
1660 Added a dummy method for the sake of LayoutTests/plugins/
1661 undefined-property-crash.html. (It tests a crash due to fallback
1662 object use. WebCore won't create a fallback object if the method is
1665 2006-02-14 Eric Seidel <eseidel@apple.com>
1669 * Scripts/run-webkit-tests: added --results-directory (-o) option
1671 2006-02-09 Eric Seidel <eseidel@apple.com>
1673 Rubber-stamped by mjs.
1675 Renamed split-class to split-file-by-class.
1677 * Scripts/build-webkit: Updated copyright.
1678 * Scripts/split-class: Removed.
1679 * Scripts/split-file-by-class: Added.
1681 2006-02-08 Eric Seidel <eseidel@apple.com>
1683 Rubber-stamped by mjs.
1685 Adding new script for splitting multi-class files.
1686 Also adding supporting perl module with space removing heuristics.
1688 * Scripts/SpacingHeuristics.pm: Added.
1689 * Scripts/build-drawtest: updated copyright header
1690 * Scripts/split-class: Added.
1692 2006-02-08 Justin Garcia <justin.garcia@apple.com>
1694 Reviewed by thatcher
1696 Changes to test fix for:
1697 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1698 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1700 * DumpRenderTree/DumpRenderTree.m:
1701 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1702 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1703 (+[LayoutTestController webScriptNameForSelector:]):
1704 (-[LayoutTestController setWindowHasFocus:]):
1705 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1707 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
1709 Reviewed by Timothy.
1711 Support automated testing of AppleScript "do JavaScript" command
1712 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1714 * DumpRenderTree/AppleScriptController.h: Added.
1715 * DumpRenderTree/AppleScriptController.m: Added.
1716 * DumpRenderTree/DumpRenderTree.m:
1717 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1718 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1720 2006-02-06 Eric Seidel <eseidel@apple.com>
1724 Fix build-webkit for use on win32 (unblocks buildbot usage).
1725 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1727 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1728 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1730 2006-02-06 Eric Seidel <eseidel@apple.com>
1732 Rubber-stamped by darin & mjs.
1734 Added new support directory for build slave scripts.
1735 Committing the first script, for use by the PLT's build slave.
1736 This script is used to kick of the PLT (Page Load Test) slave.
1738 * BuildSlaveSupport: Added.
1739 * BuildSlaveSupport/run-performance-tests: Added.
1741 2006-02-06 Eric Seidel <eseidel@apple.com>
1743 Rubber-stamped by darin.
1745 Adding setSourceDir for scripts stored in non-standard locations.
1747 * Scripts/webkitdirs.pm:
1749 2006-02-04 Darin Adler <darin@apple.com>
1751 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1752 Configuration files that say Development or Deployment in them.
1754 2006-02-04 Darin Adler <darin@apple.com>
1756 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1757 wrapper already in the directory.
1758 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1759 these haven't been working at all.
1760 * Scripts/svn-unapply: Ditto.
1762 2006-02-03 Timothy Hatcher <timothy@apple.com>
1766 Renamed configuration names to Debug, Release and Production.
1768 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1769 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1770 * Scripts/set-webkit-configuration:
1771 * Scripts/webkitdirs.pm:
1773 2006-02-02 Justin Garcia <justin.garcia@apple.com>
1775 Reviewed by thatcher
1777 Enabled spell checking for layout tests.
1779 * DumpRenderTree/DumpRenderTree.m:
1782 2006-01-29 Darin Adler <darin@apple.com>
1784 * Scripts/svn-apply: Added comments about things we should do to improve.
1785 * Scripts/svn-create-patch: Ditto.
1786 * Scripts/svn-unapply: Ditto.
1788 2006-01-28 Darin Adler <darin@apple.com>
1790 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1791 already there, even if the checksum is correct.
1793 2006-01-27 Eric Seidel <eseidel@apple.com>
1797 * Scripts/run-webkit-tests: make new tests use absolute urls
1799 2006-01-27 Eric Seidel <eseidel@apple.com>
1803 make run-webkit-tests output total leaks count
1805 * Scripts/run-webkit-tests:
1807 2006-01-27 Eric Seidel <eseidel@apple.com>
1811 run-webkit-test --leaks crashes (malloc logging runs out of memory)
1812 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
1814 * Scripts/run-webkit-tests: fix --leaks to not crash
1816 2006-01-26 Eric Seidel <eseidel@apple.com>
1820 run-webkit-tests should produce a self-contained results directory
1821 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
1823 * Scripts/run-webkit-tests: copy failing items to results dir.
1825 2006-01-23 Darin Adler <darin@apple.com>
1827 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
1828 need script to update localizable strings file in WebKit
1830 * Scripts/update-webkit-localizable-strings: Added.
1832 2006-01-23 Darin Adler <darin@apple.com>
1834 - added a couple of scripts -- more about these two soon
1836 * Scripts/extract-localizable-strings: Added.
1837 * Scripts/merge-changelog: Added.
1839 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
1843 Build fix. build-webkit dies with "invalid build action: (empty string)"
1845 * Scripts/build-webkit:
1846 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
1848 2006-01-22 Eric Seidel <eseidel@apple.com>
1852 Fix --no-svg option to use XCode flags instead of gcc flags.
1854 * Scripts/build-webkit:
1856 2006-01-22 Eric Seidel <eseidel@apple.com>
1860 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
1862 * Scripts/build-webkit:
1864 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
1866 Reviewed by eseidel.
1868 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
1869 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
1871 * Scripts/build-drawtest: Changed bareword 'true' to 1.
1872 * Scripts/run-drawtest: Changed bareword 'true' to 1.
1874 2006-01-19 Darin Adler <darin@apple.com>
1876 * Scripts/report-include-statistics: Added a new script.
1878 2006-01-19 Timothy Hatcher <timothy@apple.com>
1880 * Scripts/build-webkit: include JavaScriptGlue in the build
1882 2006-01-19 Darin Adler <darin@apple.com>
1884 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
1885 spaces in it by using the form of open that treats each argument as a string
1886 rather than backtick syntax for reading the output of the nm tool.
1888 2006-01-12 Maciej Stachowiak <mjs@apple.com>
1892 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
1893 detect if there are any new tests
1895 * Scripts/prepare-ChangeLog:
1897 2006-01-12 Darin Adler <darin@apple.com>
1899 - removed some of the cvs-specific scripts -- not needed for this project any more
1901 * Scripts/cvs-abandon: Removed.
1902 * Scripts/cvs-apply: Removed.
1903 * Scripts/cvs-create-patch: Removed.
1904 * Scripts/cvs-unapply: Removed.
1906 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1908 Reviewed by eseidel. Committed by eseidel.
1910 - run-webkit-tests always launches Safari when tests fail
1911 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
1913 * Scripts/run-webkit-tests:
1914 Add a command-line flag to prevent Safari being launched to display failed
1915 tests. Always exit with non-zero status when tests have failed.
1917 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1919 Reviewed by eseidel. Committed by eseidel.
1921 - build-webkit should exit with non-zero status when build fails
1922 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
1924 * Scripts/build-webkit:
1925 Use correct bits of subprocess exit code when passing back through
1926 as build-webkit's exit code.
1928 2006-01-10 Eric Seidel <eseidel@apple.com>
1930 Restored corrupted nibs from TOT CVS.
1932 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
1933 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
1934 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
1935 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
1936 * DrawTest/English.lproj/Inspector.nib: Replaced.
1937 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
1938 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
1939 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
1940 * DrawTest/English.lproj/MainMenu.nib: Replaced.
1941 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
1942 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
1943 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
1944 * DrawTest/English.lproj/TestViewer.nib: Replaced.
1945 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
1946 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
1947 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
1949 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
1951 Reviewed by eseidel. Committed by eseidel.
1953 DrawTestView now subclasses WebView instead of DrawView.
1955 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1956 * DrawTest/DrawTestDocument.h:
1957 * DrawTest/DrawTestDocument.m:
1958 (-[DrawTestDocument dealloc]):
1959 (-[DrawTestDocument readFromFile:ofType:]):
1960 (-[DrawTestDocument windowControllerDidLoadNib:]):
1961 (-[DrawTestDocument dumpSVGToConsole:]):
1962 (-[DrawTestDocument openSourceForSelection:]):
1963 (-[DrawTestDocument dataRepresentationOfType:]):
1964 * DrawTest/DrawTestToolbarController.h:
1965 * DrawTest/DrawTestToolbarController.m:
1966 (-[DrawTestToolbarController initWithDrawView:]):
1967 (-[DrawTestToolbarController clickedToolbarItem:]):
1968 (-[DrawTestToolbarController validateToolbarItem:]):
1969 * DrawTest/DrawTestView.h:
1970 * DrawTest/DrawTestView.m:
1971 (-[DrawTestView initWithFrame:]):
1972 (-[DrawTestView setDocument:]):
1973 * DrawTest/SVGTest.h:
1974 * DrawTest/SVGTest.m:
1975 (+[SVGTest sharedDrawView]):
1976 (-[SVGTest generateCompositeIfNecessary]):
1977 * DrawTest/TestController.h:
1978 * DrawTest/TestController.m:
1979 (-[TestController awakeFromNib]):
1980 (-[TestController setSelectedTest:]):
1981 (-[TestController openTestViewerForSelection:]):
1982 (-[TestController toggleViewersScaleRule:]):
1983 * DrawTest/TestViewerSplitView.m:
1984 (-[TestViewerSplitView drawRect:]):
1986 2006-01-10 Anders Carlsson <andersca@mac.com>
1988 Reviewed by Timothy.
1990 * DumpRenderTree/DumpRenderTree.m:
1991 (main): Set the default language to "en", so language tests will work.
1993 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1997 - script to generate HTML wrappers for JS tests
1998 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2000 * Scripts/make-js-test-wrappers: Added.
2002 2006-01-08 Maciej Stachowiak <mjs@apple.com>
2006 * Scripts/svn-create-patch: Fix to work when passed directory names.
2008 2006-01-08 Geoffrey Garen <ggaren@apple.com>
2012 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2013 can start writing automated loader tests now. I have one in the works.
2015 * DumpRenderTree/DumpRenderTree.m:
2016 (main): Construct global navigationController on entry, destroy on exit.
2017 Set frame to nil on exit too, to match all the other global objects.
2018 (Probably academic, since the process is exiting, anyway.)
2019 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2020 navigationController, in case it wants to kick off a load.
2021 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2022 the navigationController to scripting.
2024 New class, should be straightforward:
2026 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2027 * DumpRenderTree/NavigationController.h: Added.
2028 * DumpRenderTree/NavigationController.m: Added.
2030 (+[NavigationController isSelectorExcludedFromWebScript:]):
2031 (+[NavigationController webScriptNameForSelector:]):
2032 (-[NavigationController setPendingScript:]):
2033 (-[NavigationController setPendingRequest:]):
2034 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2035 (-[NavigationController webView:didFinishLoadForFrame:]):
2036 (-[NavigationController dealloc]):
2038 2006-01-08 Timothy Hatcher <timothy@apple.com>
2040 Removed this script, no longer needs with the Subversion switch.
2042 * checkout: Removed.
2044 2006-01-08 Timothy Hatcher <timothy@apple.com>
2046 Removes some stray tabs.
2048 * Scripts/update-webkit:
2050 2005-01-07 Eric Seidel <eseidel@apple.com>
2054 build-webkit should pass on build arguments from command line
2055 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2057 * Scripts/build-webkit:
2059 2006-01-07 Eric Seidel <eseidel@apple.com>
2061 Reviewed by mjs & xenon.
2063 * Scripts/update-webkit: support Internal updates as well
2065 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2067 Temporarily rolling out plugin support from DumpRenderTree because it
2068 caused lots of layout test regressions.
2070 * DumpRenderTree/DumpRenderTree.m:
2071 (main): Remove invisible window added to support plugins.
2073 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2077 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2078 Add plugin support to DumpRenderTree
2080 Also wrote first test plugin.
2082 * DumpRenderTree/DumpRenderTree.m:
2084 (1) Put the WebView in an invisible window, because PlugIns are
2085 optimized not to load if there's no parent window.
2086 (2) Tell WebKit to load any PlugIns in the directory from which we
2087 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2088 and they'll load automagically during layout testing, but they won't be
2089 added to the user's system, hosing apps like Safari.
2091 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2092 test PlugIn to project.
2094 PlugIn added to project:
2096 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2097 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2099 (initializeIdentifiers):
2100 (pluginHasProperty):
2102 (pluginGetProperty):
2103 (pluginSetProperty):
2105 (pluginInvokeDefault):
2109 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2110 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2112 (NP_GetEntryPoints):
2118 (NPP_DestroyStream):
2128 2006-01-04 Timothy Hatcher <timothy@apple.com>
2132 Tweaked and tested by me.
2134 New scripts to work with Subversion when the switch happens.
2135 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2137 * Scripts/svn-apply: Added.
2138 * Scripts/svn-create-patch: Added.
2139 * Scripts/svn-unapply: Added.
2141 2005-12-30 Eric Seidel <eseidel@apple.com>
2145 Move WebView width/height logic into DumpRenderTree to support
2146 running the W3C SVG 1.1 tests along side other tests. The W3C
2147 SVG 1.1 tests require a 480x360 view.
2149 * DumpRenderTree/DumpRenderTree.m:
2150 (main): don't accept width/height
2151 (dump): override width/height for SVG/W3C
2152 * Scripts/run-webkit-tests: don't pass width/height
2154 2005-12-30 Eric Seidel <eseidel@apple.com>
2156 No review, only removing dead code.
2158 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2159 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2161 2005-12-30 Eric Seidel <eseidel@apple.com>
2165 DumpRenderTree should set a consistent color profile while running
2166 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2168 Creates consistent colormatched renderings on every test machine
2169 using the only way possible with Tiger APIs: by setting the
2170 system color profile on the test machine for the duration of the
2171 tests. This will (unfortunately) cause colors to change while
2172 running DumpRenderTree. This can also cause "permanent" color
2173 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2174 This is far from ideal, but it's be best way we've found to deal
2175 with the issue for now.
2177 * DumpRenderTree/DumpRenderTree.m:
2178 (restoreColorSpace):
2179 (setDefaultColorProfileToRGB):
2182 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2184 Reviewed by Darin Adler.
2186 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2187 cvs-create-patch --include produces incorrect paths
2189 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2191 2005-12-19 Eric Seidel <eseidel@apple.com>
2195 * Scripts/run-webkit-tests: stop /etc/catalog warnings
2197 2005-12-19 Darin Adler <darin@apple.com>
2199 Reviewed by Eric Seidel.
2201 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2202 WebKit needs to use a local pasteboard during testing
2204 * DumpRenderTree/DumpRenderTree.m:
2205 (main): Call poseAs to substitute our NSPasteboard class for the default one.
2206 Create a local pasteboard (really a global one with a unique name) and release
2207 it when exiting from the function so we don't leave it in the pasteboard server.
2208 (dumpRenderTree): Added an autorelease pool around one small bit of code that
2209 ddn't have one. Fixed a leak in an unlikely error case.
2210 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2211 of this method to return our local pasteboard.
2213 2005-12-15 Eric Seidel <eseidel@apple.com>
2215 Reviewed by Tim Hatcher.
2217 * Scripts/build-webkit: --svg is now default!
2219 2005-12-15 Eric Seidel <eseidel@apple.com>
2223 Don't run svg test automatically if +SVG is built (yet).
2225 * Scripts/run-webkit-tests:
2227 2005-12-15 Darin Adler <darin@apple.com>
2229 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2230 support is not compiled in. Report the 10 slowest tests if "--slowest" is
2231 passed on the command line.
2233 2005-12-06 John Sullivan <sullivan@apple.com>
2235 Reviewed by Darin Adler.
2237 * Scripts/prepare-ChangeLog:
2238 Remove special-case handling for nib files. This avoided trouble with cvs diff
2239 when we were using wrappers for nib files. Now that we aren't using wrappers,
2240 there's no reason to avoid adding the modified nib files to the file list that
2243 2005-12-05 Eric Seidel <eseidel@apple.com>
2247 Script updates for SVG files move (remove references to SVGSupport)
2249 * Scripts/build-webkit: remove SVGSupport
2250 * Scripts/run-webkit-tests: Resources -> resources for --svg
2251 * Scripts/update-webkit: remove SVGSupport
2253 2005-12-05 Eric Seidel <eseidel@apple.com>
2257 * checkout: remove --svg support, SVG is now checked out by default
2259 2005-11-29 Eric Seidel <eseidel@apple.com>
2263 Update scripts to run SVG tests automatically (w/o --svg) if
2264 WebCore is built with SVG support.
2266 * Scripts/build-drawtest: SVG support required
2267 * Scripts/build-dumpkcanvastree: Removed.
2268 * Scripts/run-drawtest: SVG support required to run
2269 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2270 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2272 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
2274 Reviewed by Darin. Committed by Maciej.
2276 - fixed "DumpRenderTree should test for Ahem before doing anything else"
2277 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2279 * DumpRenderTree/DumpRenderTree.m:
2282 2005-11-28 Eric Seidel <eseidel@apple.com>
2284 Reviewed by sullivan and GGAREN.
2286 Minor additions to make error messages more clear from cvs-apply.
2288 * Scripts/cvs-apply: make errors more clear
2290 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2292 Reviewed and committed by Maciej.
2294 - fixed cvs-create-patch --include produces incorrect paths
2295 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2297 * Scripts/cvs-create-patch: produce proper paths for new files.
2299 2005-11-21 Eric Seidel <eseidel@apple.com>
2303 Some simple fixes to the build/test scripts now that SVG uses the
2304 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
2305 or symlinks for KDOM.
2307 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2308 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2309 * Scripts/run-webkit-tests: now runs SVG tests using DRT
2310 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
2311 * checkout: no longer symlink kdom
2313 2005-11-10 Eric Seidel <eseidel@apple.com>
2317 * Scripts/build-webkit: Pass through options to xcodebuild
2319 2005-11-07 Darin Adler <darin@apple.com>
2321 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2323 2005-11-03 John Sullivan <sullivan@apple.com>
2327 * Scripts/run-safari:
2328 changed message to say "Starting Safari" instead of odd "Start Safari"
2329 * Scripts/run-webkit-tests:
2330 changed the way we pass the file parameter to use -NSOpen rather than relying on
2331 unlabeled arguments being treated as files. This was failing on some machines that
2332 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2334 2005-10-27 Geoffrey Garen <ggaren@apple.com>
2336 Patch by Alexey Proskuryakov.
2340 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2341 TextInputController should support attributed strings
2343 * DumpRenderTree/TextInputController.m:
2344 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2345 (+[NSMutableAttributedString webScriptNameForSelector:]):
2346 (-[NSMutableAttributedString getLength]):
2347 (-[NSMutableAttributedString attributeNamesAtIndex:]):
2348 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2349 (-[NSMutableAttributedString addAttribute:value:]):
2350 (-[NSMutableAttributedString addAttribute:value:from:length:]):
2351 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2352 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2353 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2354 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2355 (+[TextInputController isSelectorExcludedFromWebScript:]):
2356 (+[TextInputController webScriptNameForSelector:]):
2357 (-[TextInputController insertText:]):
2358 (-[TextInputController attributedSubstringFrom:length:]):
2359 (-[TextInputController attributedStringWithString:]):
2361 2005-10-11 Eric Seidel <eseidel@apple.com>
2365 Checks for leaks in ImageDiff too.
2367 * Scripts/run-webkit-tests:
2369 2005-10-09 Darin Adler <darin@apple.com>
2371 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2372 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2373 * Scripts/cvs-unapply: Ditto.
2374 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2376 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
2378 Reviewed, rearranged and landed by Darin.
2380 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2381 Need a way to automatically test for regressions in NSTextInput implementation
2383 * DumpRenderTree/DumpRenderTree.m:
2384 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2385 Create a text input controller and put it in a property of the window object.
2387 * DumpRenderTree/TextInputController.h: Added.
2388 * DumpRenderTree/TextInputController.m: Added.
2389 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2391 2005-10-06 Darin Adler <darin@apple.com>
2393 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2394 are controlled by cvs, or when changes cross multiple repositories.
2395 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2397 2005-10-03 Eric Seidel <eseidel@apple.com>
2401 Make mouseDown and mouseUp force layout before acting.
2402 This is used by a new test case for 4233558.
2404 * DumpRenderTree/DumpRenderTree.m:
2405 (-[EventSendingController mouseDown]): force layout
2406 (-[EventSendingController mouseUp]): force layout
2408 2005-09-30 Eric Seidel <eseidel@apple.com>
2412 Updated all the scripts for the move:
2413 WebCore/layout-tests -> LayoutTests
2415 * Scripts/check-dom-results:
2416 * Scripts/prepare-ChangeLog:
2417 * Scripts/run-webkit-tests:
2418 * Scripts/update-webkit: added --no-tests
2419 * checkout: added --no-tests
2421 2005-09-28 Darin Adler <darin@apple.com>
2423 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2424 pixel test should run even if render trees differ
2426 * Scripts/run-webkit-tests: Don't check if the text dump matches.
2428 2005-09-27 Eric Seidel <eseidel@apple.com>
2430 No review needed, SVG build fix only.
2432 * DumpKCanvasTree/DumpKCanvasTree.m:
2433 Missed one in my previous checkin.
2434 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2436 2005-09-26 Eric Seidel <eseidel@apple.com>
2438 No review needed, SVG build fix only.
2440 * DrawTest/DrawTestDocument.m:
2441 * DrawTest/DrawTestToolbarController.m:
2442 * DrawTest/DrawTestView.h:
2443 * DrawTest/DrawTestView.m:
2444 * DrawTest/SVGTest.m:
2445 * DrawTest/TestController.m:
2446 Updated for WebCore+SVG -> WebCore rename.
2447 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2449 2005-09-26 Eric Seidel <eseidel@apple.com>
2453 * DumpRenderTree/DumpRenderTree.m:
2454 (dump): updated error message
2455 * Scripts/check-dom-results: now includes xhtml
2456 Tool updates for xhtml.
2457 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2459 2005-09-22 Duncan Wilcox <duncan@mclink.it>
2464 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2465 "Would like to simulate human interaction with webview"
2467 * DumpRenderTree/DumpRenderTree.m:
2468 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2469 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2470 (+[EventSendingController webScriptNameForSelector:]):
2471 (-[EventSendingController init]):
2472 (-[EventSendingController mouseDown]):
2473 (-[EventSendingController mouseUp]):
2474 (-[EventSendingController mouseMoveToX:Y:]):
2475 Add eventSender javascript object, that sends fake mouse events to the webview.
2477 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2478 link with Carbon.framework
2480 2005-09-22 Eric Seidel <eseidel@apple.com>
2484 Update tools for WebCore+SVG -> WebCore rename.
2485 Also fold several SVG specific tools into their original
2486 WebCore counterparts.
2487 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2489 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2490 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2491 * Scripts/build-drawtest:
2492 * Scripts/build-dumpkcanvastree:
2493 * Scripts/build-webcore-svg: Removed.
2494 * Scripts/build-webkit: added --svg option
2495 * Scripts/run-drawtest:
2496 * Scripts/run-webkit-tests:
2497 * Scripts/webkitdirs.pm: various additions.
2498 * checkout: added --svg option
2499 * checkout-svg: Removed.
2501 2005-09-19 Eric Seidel <eseidel@apple.com>
2505 * Scripts/run-webkit-tests: added --guard-malloc option
2506 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2508 2005-09-16 Justin Garcia <justin.garcia@apple.com>
2512 Removed a script that is only used by apple internal developers
2514 * Scripts/update-webkitsysteminterface: Removed.
2516 2005-09-16 Adele Peterson <adele@apple.com>
2520 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2522 2005-09-14 Darin Adler <darin@apple.com>
2524 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2525 dumpAsText doesn't work with XHTML documents
2527 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2528 rather than of the body element. This works with typical XHTML documents. We can probably
2529 do something even better in the long run, but this fixes the immediate issue.
2533 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2534 run-safari instead of just using "open", which often runs another copy of Safari instead.
2536 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
2538 Reviewed, tweaked, and landed by Darin.
2540 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2541 .Mac prefpane crashes when Safari using CVS WebKit is running
2543 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2544 * Scripts/run-webkit-app: Ditto.
2546 2005-09-11 Darin Adler <darin@apple.com>
2548 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2550 2005-09-11 Darin Adler <darin@apple.com>
2554 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2555 two ways: 1) puts all files in a directory before any files in a subdirectory, and
2556 2) sort file names with numeric digits in them in a logical way, so test-33 will come
2559 2005-09-08 Justin Garcia <justin.garcia@apple.com>
2563 * Scripts/update-webkitsysteminterface: Added.
2564 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2566 2005-09-01 John Sullivan <sullivan@apple.com>
2568 * Scripts/run-webkit-tests:
2569 Excluded a known system leak to reduce noise; added comments about which leaks
2572 2005-09-01 Tim Omernick <tomernick@apple.com>
2574 Change made by Darin, reviewed by John and myself.
2576 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2578 * Scripts/prepare-ChangeLog:
2580 2005-08-31 Maciej Stachowiak <mjs@apple.com>
2584 - set color variant and font settings to a consistent value.
2585 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2587 * DumpRenderTree/DumpRenderTree.m:
2590 2005-08-30 Eric Seidel <eseidel@apple.com>
2594 * Scripts/build-svg2png: Removed.
2595 * svg2png/ImageDiff.h: Removed.
2596 * svg2png/ImageDiff.m: Removed.
2597 * svg2png/svg2png.m: Removed.
2598 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2599 * svg2png/svg2png_Prefix.pch: Removed.
2600 svg2png is no longer needed.
2602 2005-08-30 Darin Adler <darin@apple.com>
2604 * Scripts/check-dom-results: Special case 100% to say something nice.
2605 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2606 applying the patch (need a better name).
2607 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2609 2005-08-30 Darin Adler <darin@apple.com>
2611 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2613 2005-08-29 Maciej Stachowiak <mjs@apple.com>
2617 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2618 (some pixel tests fail when AA settings are changed)
2620 * DumpRenderTree/DumpRenderTree.m:
2621 (main): set AA settings to the default values
2623 2005-08-29 Darin Adler <darin@apple.com>
2625 Reviewed by John Sullivan.
2627 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2628 executable -- much slower but can help pinpoint leaks. Changed formatting of some
2631 2005-08-28 Maciej Stachowiak <mjs@apple.com>
2635 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2636 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2638 * DumpRenderTree/DumpRenderTree.m:
2639 (main): set scrollbar arrow setting to a consistent value
2641 2005-08-27 Jussi Hagman <juhagman@abo.fi>
2643 Reviewed and landed by Darin.
2645 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2646 output of update-webkit is too verbose
2648 * Scripts/update-webkit:
2649 Added option --quiet (-q) to decrease the amount of output.
2651 2005-08-27 Darin Adler <darin@apple.com>
2653 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2654 cvs-create-patch --include-unknowns should ignore hidden files
2656 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2658 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
2660 Reviewed, tweaked, and landed by Darin.
2662 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2663 update-webkit doesn't notice when you have SVGSupport and update properly
2665 * Scripts/update-webkit: Build SVGSupport directory if it's present.
2667 2005-08-25 Anders Carlsson <andersca@mac.com>
2669 Reviewed and landed by Darin.
2671 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2672 layout test machinery can't handle tests with applets that have code attributes
2674 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2676 2005-08-24 Darin Adler <darin@apple.com>
2680 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2681 DumpRenderTree --pixel-tests crash
2682 - landed some other small changes I had sitting in my tree
2684 * DumpRenderTree/DumpRenderTree.m:
2685 (main): Don't bother saving and restoring the preferences. Not sure
2686 why this was ever done since the preferences are specific to DumpRenderTree.
2687 Clear delegates before releasing the WebView, because you can't count on the
2688 order of object deallocation.
2689 (dumpRenderTree): Fix code that releases a string before storing it in a
2692 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2693 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2695 2005-08-23 Eric Seidel <eseidel@apple.com>
2699 * Scripts/run-webkit-tests:
2700 Made --leaks option more readable by printing to a file.
2701 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2703 2005-08-22 Eric Seidel <eseidel@apple.com>
2704 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2708 * Scripts/run-webkit-tests: hides "expected actual diffs" links
2709 when they are not needed (for pixel-only failures)
2710 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2712 2005-08-22 Eric Seidel <eseidel@apple.com>
2716 * Scripts/run-webkit-tests: Added the ability to display more than
2717 just two images as part of the image-diff "slideshow".
2718 Added display of "-w3c.png" baseline images for SVG.
2719 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2721 2005-08-20 Eric Seidel <eseidel@apple.com>
2723 * Scripts/run-webkit-tests:
2724 "build" fix after committing incorrect version.
2726 2005-08-20 Eric Seidel <eseidel@apple.com>
2730 * DumpRenderTree/DumpRenderTree.m:
2731 (main): cleans up delegates
2732 (dumpRenderTree): closes CFString/CFURL leak
2733 * Scripts/run-webkit-tests:
2734 Adds --leaks option to run-webkit-tests
2735 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2737 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
2741 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2742 new files to be included in the patch even without "cvs add".
2744 2005-08-19 Darin Adler <darin@apple.com>
2746 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2747 non-cvs-generated patches. Anders has been creating these, so it's bad that
2748 the script can't handle them.
2749 * Scripts/cvs-unapply: Ditto.
2751 2005-08-18 Darin Adler <darin@apple.com>
2753 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2754 "." in them -- based on complaint by someone here at Apple.
2756 2005-08-18 Eric Seidel <eseidel@apple.com>
2760 * Scripts/run-webkit-tests:
2761 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2763 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2765 - add file that I forgot in the last checkin
2767 * DumpRenderTree/ImageDiff.m: Added.
2769 (getImageFromStdin):
2771 (getDifferenceBitmap):
2772 (computePercentageDifferent):
2774 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2776 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2777 somewhat by me, and also tweaked by me a little bit.
2779 - better support for pixel-dumping
2780 - use checksums of the images so the tests are fast
2781 - change output format to make the tests run faster
2782 - don't dump pixel results for tests that dump as text
2784 * DumpKCanvasTree/DumpKCanvasTree.m:
2787 (md5HashStringForBitmap):
2789 (constrainSizeToMaximum):
2790 (getBitmapImageRepForSVGDocument):
2791 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2792 * DumpRenderTree/DumpRenderTree.m:
2796 (md5HashStringForBitmap):
2797 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2798 * Scripts/run-webkit-tests:
2800 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2804 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2806 * DumpRenderTree/DumpRenderTree.m:
2809 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2811 Reviewed and landed by Darin.
2813 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
2814 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
2816 * Scripts/run-safari: Pass arguments through to Safari on command line.
2817 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2819 2005-08-11 Eric Seidel <eseidel@apple.com>
2820 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2822 Reviewed by eseidel.
2824 * DrawTest/TestController.m:
2825 (-[TestController imagePathForSVGPath:]):
2826 Fixed support for using TextViewer with the layout-tests.
2827 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2829 2005-08-11 Maciej Stachowiak <mjs@apple.com>
2831 At Least Roughly Glanced At by Anders.
2833 - fix change with totally breaks the layout tests.
2835 * DumpRenderTree/DumpRenderTree.m:
2836 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
2837 load, to avoid dumping twice accidentally.
2839 2005-08-10 Eric Seidel <eseidel@apple.com>
2840 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
2844 * DumpRenderTree/DumpRenderTree.m:
2845 Added support for rendering to a PNG file.
2846 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2848 2005-08-07 Eric Seidel <eseidel@apple.com>
2852 * Scripts/run-webkit-tests: added --svg option
2853 * Scripts/run-webkit-tests-svg: Removed.
2854 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2856 2005-08-07 Eric Seidel <eseidel@apple.com>
2857 Changes by Ben La Monica <ben.lamonica@gmail.com>
2861 * svg2png/ImageDiff.h: Added.
2862 * svg2png/ImageDiff.m: Added.
2863 (getDifferenceBitmap):
2864 (computePercentageDifferent):
2865 (saveAnimatedGIFToFile):
2866 * svg2png/svg2png.m:
2867 (usage): added several new options
2868 (getBitmapForSVG): added NSBitmapImageRep generation
2869 (main): various argument changes.
2870 * svg2png/svg2png.xcodeproj/project.pbxproj:
2871 Several additions to provide image differencing functionality.
2872 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
2874 2005-08-07 Eric Seidel <eseidel@apple.com>
2878 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
2879 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
2880 Adding the first SVG layout tests:
2881 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
2883 2005-08-07 Darin Adler <darin@apple.com>
2885 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
2887 2005-08-06 Eric Seidel <eseidel@apple.com>
2891 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
2892 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
2893 * Scripts/build-dumpkcanvastree: Added.
2894 * Scripts/run-webkit-tests-svg: Added.
2895 Adds a DumpRenderTree-like tool for SVG which allows us to do
2896 text-based layout regression testing. This (like most of the
2897 SVG specific stuff) is temporary and will be replaced by
2898 DumpRenderTree once the DOMs and RenderTrees merge.
2899 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
2901 2005-08-06 Eric Seidel <eseidel@apple.com>
2905 * DrawTest/DrawTestView.m:
2906 (-[DrawTestView toggleFilterSupport:]): missing negation.
2907 One half of fix for toggling filter support.
2908 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
2910 2005-08-04 Eric Seidel <eseidel@apple.com>
2914 * Scripts/build-drawtest:
2915 * Scripts/build-dumprendertree:
2916 * Scripts/build-svg2png:
2917 * Scripts/build-webcore-svg:
2918 * Scripts/build-webkit:
2919 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
2920 Added checkRequiredSystemConfig and made all the build-* scripts
2921 use it to print a pretty warning when trying to compile on an
2922 unsupported system (less than 10.4, Xcode 2.1).
2923 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
2925 2005-08-04 Darin Adler <darin@apple.com>
2927 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
2928 the dead. It was removed by accident when someone was trying to work on the branch.
2930 2005-07-31 Darin Adler <darin@apple.com>
2932 - a little tools cleanup
2934 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
2935 project as a whole. Removed unused Default configuration.
2937 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2939 2005-07-31 Duncan Wilcox <duncan@mclink.it>
2941 Reviewed and landed by Darin Adler.
2943 Add logging of editing delegate calls for regression checking.
2945 * DumpRenderTree/DumpRenderTree.m:
2947 setup editing delegate
2949 (-[DOMNode dumpPath]):
2951 utility for editing delegate logging
2953 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2954 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2955 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2956 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2957 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2958 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2959 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2960 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2961 (-[EditingDelegate webViewDidBeginEditing:]):
2962 (-[EditingDelegate webViewDidChange:]):
2963 (-[EditingDelegate webViewDidEndEditing:]):
2964 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2965 log corresponding editing delegate methods
2967 (-[EditingDelegate webViewDidChangeSelection:]):
2968 log selection except when clearing selection after end of test (uses existing "done" flag)
2971 added clearing of selection after test
2973 2005-07-31 Eric Seidel <eseidel@apple.com>
2977 * Scripts/build-drawtest: Added.
2978 * Scripts/build-svg2png: Added.
2979 * Scripts/build-webcore-svg: Added.
2980 * Scripts/run-drawtest: Added.
2981 * Scripts/webkitdirs.pm: added checkSVGFrameworks
2982 Made it much easier to build WebCore+SVG.
2983 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2985 2005-07-29 Eric Seidel <eseidel@apple.com>
2989 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2990 Build fix. Removed bad path.
2992 2005-07-29 Eric Seidel <eseidel@apple.com>
2994 Reviewed by sullivan.
2996 * DrawTest/AppDelegate.h: Added.
2997 * DrawTest/AppDelegate.m: Added.
2998 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
2999 * DrawTest/DrawTestDocument.h: Added.
3000 * DrawTest/DrawTestDocument.m: Added.
3001 * DrawTest/DrawTestInspectorController.h: Added.
3002 * DrawTest/DrawTestInspectorController.m: Added.
3003 * DrawTest/DrawTestToolbarController.h: Added.
3004 * DrawTest/DrawTestToolbarController.m: Added.
3005 * DrawTest/DrawTestView.h: Added.
3006 * DrawTest/DrawTestView.m: Added.
3007 * DrawTest/DrawTest_Prefix.pch: Added.
3008 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
3009 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
3010 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
3011 * DrawTest/English.lproj/InfoPlist.strings: Added.
3012 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3013 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3014 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3015 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3016 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3017 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3018 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3019 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3020 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3021 * DrawTest/Info.plist: Added.
3022 * DrawTest/SVGTest.h: Added.
3023 * DrawTest/SVGTest.m: Added.
3024 * DrawTest/ScalingImageView.h: Added.
3025 * DrawTest/ScalingImageView.m: Added.
3026 * DrawTest/TestController.h: Added.
3027 * DrawTest/TestController.m: Added.
3028 * DrawTest/TestViewerSplitView.h: Added.
3029 * DrawTest/TestViewerSplitView.m: Added.
3030 * DrawTest/main.m: Added.
3031 Adding simple cocoa app for testing SVG rendering, interaction.
3032 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3034 2005-07-28 Eric Seidel <eseidel@apple.com>
3038 * svg2png/svg2png.m: Added.
3039 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3040 * svg2png/svg2png_Prefix.pch: Added.
3041 Added a simple test tool which dumps a PNG from an SVG using
3042 WebCore+SVG's SVG rendering support.
3043 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3045 2005-07-26 Maciej Stachowiak <mjs@apple.com>
3049 - new script to review the DOM layout test results and see where we stand
3050 on actual success and failure
3052 * Scripts/check-dom-results: Added.
3054 2005-07-25 Darin Adler <darin@apple.com>
3056 * Scripts/webkitdirs.pm: Check in missing line of code.
3058 2005-07-25 Darin Adler <darin@apple.com>
3060 - fixed problem that was causing JavaScriptCore test to fail
3061 (except for people who had set DYLD_FRAMEWORK_PATH)
3063 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
3064 Add code to parse configuration parameter so you can pass --deployment if you like.
3065 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
3067 * Scripts/update-javascriptcore-test-results: Add license header.
3069 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
3070 from @ARGV. This lets us use this option in commands that take other options and
3071 pass them along to a subsequent tool.
3073 2005-07-25 Darin Adler <darin@apple.com>
3075 Reviewed by Geoff Garen.
3077 - Fixed run-safari and gdb-safari to use the Safari application in the build results
3078 directory, if any, falling back to the one in the Applications directory otherwise.
3079 Does no harm for open source contributors who don't build Safari, and helps out the
3080 Safari team, since we do build Safari.
3082 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
3083 variable, and if that's not present, looks in either the build results directory or
3084 /Applications; factors code that was in both scripts before into a shared function.
3085 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
3086 now in Xcode 2.1 format and incompatible with older versions of Xcode.
3088 * Scripts/gdb-safari: Use safariPath.
3089 * Scripts/run-safari: Use safariPath.
3091 2005-07-22 Geoffrey Garen <ggaren@apple.com>
3093 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
3094 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
3096 Moved Tools/Scripts/update-mozilla-js-test-results to
3097 WebKitTools/Scripts/update-javascriptcore-test-results.
3101 * Scripts/run-javascriptcore-tests: Added.
3103 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3107 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
3109 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3111 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
3113 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3115 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
3117 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3119 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
3121 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3123 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
3125 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3127 * Scripts/build-webkit:
3129 2005-07-12 Eric Seidel <eseidel@apple.com>
3133 * checkout-svg: Fixed error with symlink creation.
3135 2005-07-12 Eric Seidel <eseidel@apple.com>
3139 * checkout-svg: Added.
3140 Script to check out WebCore+SVG
3142 2005-06-30 Darin Adler <darin@apple.com>
3144 Changes based on input from Michael Kahl.
3146 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
3147 specify different style of "diff".
3148 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
3149 determineConfigurationProductDir works in all cases.
3151 2005-06-29 Darin Adler <darin@apple.com>
3153 - fixed bug which would result in multiple unwanted dumps in a single layout test
3155 * DumpRenderTree/DumpRenderTree.m:
3156 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
3158 (-[LayoutTestController waitUntilDone]): Update for name change.
3159 (-[LayoutTestController notifyDone]): Dump only if ready.
3160 (dumpRenderTree): Set up new boolean and update for name change.
3162 2005-06-29 Darin Adler <darin@apple.com>
3164 Changes by Timothy Hatcher.
3167 * Scripts/run-webkit-app: Added script to open an arbritrary application with
3168 a CVS built WebKit. Example: ./run-webkit-app Colloquy
3170 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
3171 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
3172 * Scripts/run-safari: Ditto.
3174 2005-06-26 Darin Adler <darin@apple.com>
3176 * Scripts/build-dumprendertree: Pass -project option so that having a second
3177 copy of the project (like the one Xcode 2.1 offers to make for you) that's
3178 out of date won't screw you up.
3179 * Scripts/build-webkit: Ditto.
3181 2005-06-23 Darin Adler <darin@apple.com>
3183 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
3185 2005-06-23 Darin Adler <darin@apple.com>
3187 Changes based on input from Michael Kahl.
3189 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
3190 directory passed in.
3192 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
3193 getcwd() in the code to find the base product dir. Added code to handle unusual
3194 base product directory values that use SRCROOT.
3196 2005-06-22 Darin Adler <darin@apple.com>
3198 Change by Anders Carlsson.
3200 - added support for dumping title changes
3202 * DumpRenderTree/DumpRenderTree.m:
3203 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
3204 if requested by JavaScript.
3205 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
3206 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
3207 (dumpRenderTree): Start flag as NO.
3209 2005-06-20 Darin Adler <darin@apple.com>
3211 Reviewed by Justin Garcia.
3213 * Scripts/run-webkit-tests: Report number of tests when they succeed.
3215 2005-06-18 Darin Adler <darin@apple.com>
3217 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
3218 in the hope of making the tool use less memory and run faster.
3220 2005-06-18 Darin Adler <darin@apple.com>
3222 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
3223 * Scripts/cvs-unapply: Ditto.
3225 2005-06-17 Maciej Stachowiak <mjs@apple.com>
3227 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
3228 benefit of all WebKit hackerdom
3230 * Scripts/prepare-ChangeLog: Added.
3232 2005-06-16 Darin Adler <darin@apple.com>
3234 - recent changes to XcodeOptions made it depend on the current directory
3235 The intent was to have the WebKitBuild directory be next to WebKitTools,
3236 not inside the various build directories. Workaround for now is to call
3237 XcodeOptions when the directory is set to the WebKit directory.
3239 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
3240 at the start of the script.
3241 * Scripts/build-webkit: Ditto.
3243 2005-06-15 Darin Adler <darin@apple.com>
3245 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
3247 2005-06-14 Darin Adler <darin@apple.com>
3249 Changes by Anders Carlsson.
3252 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
3253 Add gdb-safari script to launch Safari under gdb
3255 * Scripts/gdb-safari: Added.
3257 2005-06-12 Darin Adler <darin@apple.com>
3259 Changes by Stuart Morgan.
3262 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
3263 * Scripts/cvs-apply: Ditto.
3264 * Scripts/cvs-create-patch: Ditto.
3265 * Scripts/cvs-unapply: Ditto.
3266 * Scripts/run-webkit-tests: Ditto.
3267 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
3269 2005-06-12 Darin Adler <darin@apple.com>
3271 * Scripts/cvs-apply: Handle case of an empty patch better.
3272 * Scripts/cvs-unapply: Ditto.
3274 2005-06-12 Darin Adler <darin@apple.com>
3276 Changes by Michael Gaiman.
3279 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
3280 WebKit no longer builds after configuration supporting build changes
3282 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
3284 2005-06-12 Darin Adler <darin@apple.com>
3286 * Scripts/update-webkit: Make this script work when called from any directory.
3288 2005-06-12 Darin Adler <darin@apple.com>
3291 Includes changes by Stuart Morgan as well as my own.
3293 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
3294 symrootXcodeOptions to set the -buildstyle option.
3295 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
3296 The new --development option does the same thing.
3297 * Scripts/run-safari: Ditto.
3298 * Scripts/run-webkit-tests: Ditto.
3299 * Scripts/update-webkit: Ditto.
3300 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
3302 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
3303 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
3304 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
3305 product directory. Read the default configuration from a file, overridable by a passed-in command-line
3308 2005-06-11 Darin Adler <darin@apple.com>
3310 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
3311 to execute the cvs diff commands.
3313 2005-06-11 Darin Adler <darin@apple.com>
3315 - added first cuts at some cvs scripts
3317 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
3318 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
3319 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
3320 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
3322 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
3324 * Scripts/cvs-abandon: Added.
3325 * Scripts/cvs-apply: Added.
3326 * Scripts/cvs-create-patch: Added.
3327 * Scripts/cvs-unapply: Added.
3329 2005-06-09 Darin Adler <darin@apple.com>
3333 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
3334 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
3336 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
3337 for Foundation.framework. How was it ever wrong?
3339 - finally, I tested making the default build directory work; it works now
3341 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
3342 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
3343 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
3344 * Scripts/build-dumprendertree: Ditto.
3346 2005-06-09 Darin Adler <darin@apple.com>
3348 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
3349 work. Someone should try building without setting the Xcode build product directory now,
3350 and let me know if it works.
3352 2005-06-08 Darin Adler <darin@apple.com>
3354 - quick fix to try to get build scripts working again
3356 * Scripts/build-dumprendertree: Add FindBin.
3357 * Scripts/build-webkit: Ditto.
3358 * Scripts/run-safari: Ditto.
3359 * Scripts/run-webkit-tests: Ditto.
3360 * Scripts/update-webkit: Ditto.
3362 2005-06-08 Darin Adler <darin@apple.com>
3366 - some build script enhancements
3368 * Scripts/build-dumprendertree: Changed to use webkitdirs.
3369 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
3371 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
3372 before Deplyment in that case.
3373 * Scripts/run-webkit-tests: Changed to use webkitdirs.
3374 * Scripts/update-webkit: Changed to use webkitdirs.
3376 * Scripts/webkitdirs.pm: Added.
3378 2005-06-08 Maciej Stachowiak <mjs@apple.com>
3380 Code change by Toby Peterson <toby@opendarwin.org>
3383 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
3384 get confused because build-webkit now makes even 2.0 build directories look
3387 2005-06-07 Darin Adler <darin@apple.com>
3389 Reviewed by Adele Peterson.
3391 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
3392 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
3393 so we can run tests with Xcode 2.1.
3395 2005-06-07 Darin Adler <darin@apple.com>
3397 Reviewed by Adele Peterson.
3399 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
3400 layout-tests directory to include additional sets of tests.
3402 2005-06-07 Darin Adler <darin@apple.com>
3404 * checkout: Added license.
3405 * Scripts/build-dumprendertree: Ditto.
3406 * Scripts/run-webkit-tests: Ditto.
3407 * Scripts/update-webkit: Ditto.
3409 2005-06-07 Darin Adler <darin@apple.com>
3411 Change by Toby Peterson <toby@opendarwin.org>.
3414 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
3415 * Scripts/run-safari: Ditto.
3417 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3419 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
3421 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3423 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
3425 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3427 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
3429 2005-06-05 Darin Adler <darin@apple.com>
3431 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
3432 * Scripts/build-dumprendertree: Added.
3433 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
3434 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
3436 2005-06-05 Darin Adler <darin@apple.com>
3438 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
3440 2005-06-05 Darin Adler <darin@apple.com>
3442 - add run-webkit-tests script; not working yet but the pieces are there
3444 * Scripts/run-webkit-tests: Added.
3446 * DumpRenderTree/DumpRenderTree.m: Added.
3447 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
3448 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
3449 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
3451 2005-06-05 Darin Adler <darin@apple.com>
3453 - created module, first cut at Web Kit Open Source Project scripts
3456 * Scripts/build-webkit: Added.
3457 * Scripts/run-safari: Added.
3458 * Scripts/update-webkit: Added.
3461 === creation of WebKitTools module ===