1 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
3 Reviewed and landed by ap.
5 - make DumpRenderTree build
7 * DumpRenderTree/DumpRenderTree.m:
8 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
9 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
10 (-[LayoutTestController setWindowIsKey:]): Ditto.
11 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
13 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
15 Reviewed by Darin, landed by Geoff.
17 http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
18 Use pathcmp() when sorting paths in svn-create-patch
20 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
21 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
22 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
23 switch and printUsage() subroutine.
25 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
29 http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
30 Teach svn-create-patch to sort its output
32 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
33 by text files first, then by binary files.
35 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
39 http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
40 Teach svn-create-patch and friends to work with binary files
42 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
43 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
44 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
46 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
50 http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
51 Performance improvement for svn-create-patch
53 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
55 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
59 http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
60 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
62 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
63 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
65 2006-06-03 Steve Falkenburg <sfalken@apple.com>
69 Switch Spinneret to new hosting mechanism
71 * Spinneret/Spinneret.sln:
72 * Spinneret/Spinneret/Spinneret.cpp:
73 (SpinneretWebHost::updateAddressBar):
74 (SpinneretWebHost::QueryInterface):
75 (SpinneretWebHost::AddRef):
76 (SpinneretWebHost::Release):
83 * Spinneret/Spinneret/Spinneret.h:
84 (SpinneretWebHost::didStartProvisionalLoadForFrame):
85 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
86 (SpinneretWebHost::didFailProvisionalLoadWithError):
87 (SpinneretWebHost::didCommitLoadForFrame):
88 (SpinneretWebHost::didReceiveTitle):
89 (SpinneretWebHost::didReceiveIcon):
90 (SpinneretWebHost::didFinishLoadForFrame):
91 (SpinneretWebHost::didFailLoadWithError):
92 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
93 (SpinneretWebHost::willPerformClientRedirectToURL):
94 (SpinneretWebHost::didCancelClientRedirectForFrame):
95 (SpinneretWebHost::willCloseFrame):
96 (SpinneretWebHost::windowScriptObjectAvailable):
97 * Spinneret/Spinneret/Spinneret.vcproj:
99 2006-06-02 Steve Falkenburg <sfalken@apple.com>
105 * Scripts/build-webkit:
107 2006-06-01 Anders Carlsson <acarlsson@apple.com>
111 * DumpRenderTree/DumpRenderTree.m:
112 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
113 (-[LayoutTestController clearBackForwardList]):
114 Add clearBackForwardList function to layoutTestController
116 2006-06-01 Anders Carlsson <acarlsson@apple.com>
120 http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
121 slow-utf8-text layout test case failing (no longer deterministic?)
123 * DumpRenderTree/DumpRenderTree.m:
125 Dump as text when the response MIME type is text/plain
127 2006-05-26 Steve Falkenburg <sfalken@apple.com>
131 * Spinneret/Spinneret.sln:
132 * Spinneret/Spinneret/Spinneret.vcproj:
134 2006-05-24 Geoffrey Garen <ggaren@apple.com>
138 Added 'GCController' to DRT to support garbage collection layout tests.
140 GCController.collect() and GCController.collectOnAlternateThread() do
141 what you would expect. The latter takes a boolean argument sepcifying
142 whether to wait for garbage collection to finish before continuing to
145 * DumpRenderTree/DumpRenderTree.m:
146 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
147 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
148 * DumpRenderTree/GCController.h: Added.
149 * DumpRenderTree/GCController.mm: Added.
150 (+[GCController isSelectorExcludedFromWebScript:]):
151 (+[GCController webScriptNameForSelector:]):
152 (-[GCController collect]):
153 (-[GCController collectOnAlternateThread:]):
155 2006-05-23 John Sullivan <sullivan@apple.com>
159 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
160 Newer Xcode removed some obsolete cruft
162 * DumpRenderTree/TextInputController.m:
163 (-[TextInputController textInput]):
164 added (id) cast to make newer compiler happy
166 2006-05-22 Steve Falkenburg <sfalken@apple.com>
172 * Spinneret/Spinneret.sln:
174 2006-05-18 Darin Adler <darin@apple.com>
176 - try to fix no-SVG, no-XPATH build, again
178 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
180 2006-05-18 Darin Adler <darin@apple.com>
182 - try to fix no-SVG, no-XPATH build
184 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
185 since the former is what's used in the WebCore project now.
187 2006-05-17 Darin Adler <darin@apple.com>
189 * Scripts/do-webcore-rename: Some more future renames.
191 2006-05-16 Adele Peterson <adele@apple.com>
195 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
196 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
198 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
200 * Scripts/install-unix-extras: Changed to be executable and removed
201 text in the file generated by "svn diff".
202 * Scripts/regenerate-makefiles: Ditto.
204 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
206 Reviewed by Darin, landed by ap.
208 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
209 Bakefiles (and generated Makefiles) for wx and gdk ports
211 * Scripts/install-unix-extras: Added.
212 * Scripts/regenerate-makefiles: Added.
214 2006-05-10 Steve Falkenburg <sfalken@apple.com>
218 Fix registry usage from perl script. Turns out libwin32's
219 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
221 * Scripts/install-win-extras:
223 2006-05-09 Steve Falkenburg <sfalken@apple.com>
226 Add load ended callback.
230 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
231 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
232 * Spinneret/Spinneret/Spinneret.cpp:
233 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
234 (_tWinMain): Load built-in test content here instead of in lower-level code.
235 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
237 2006-05-08 Maciej Stachowiak <mjs@apple.com>
241 * Scripts/extract-localizable-strings: Update for correct names of log macros.
243 2006-05-09 Anders Carlsson <acarlsson@apple.com>
247 * Scripts/check-dom-results:
248 Add XPath to the list of results.
250 2006-05-08 Darin Adler <darin@apple.com>
252 * Scripts/do-webcore-rename: Add another rename.
254 2006-05-01 Steve Falkenburg <sfalken@apple.com>
258 Spinneret now links against the new separate lib.
260 * Spinneret/Spinneret.sln:
261 * Spinneret/Spinneret/Spinneret.cpp:
262 (SpinneretWebHost::updateLocationBar):
264 * Spinneret/Spinneret/Spinneret.h:
265 * Spinneret/Spinneret/Spinneret.vcproj:
266 * Spinneret/Spinneret/WebFrame.cpp: Removed.
267 * Spinneret/Spinneret/WebFrame.h: Removed.
268 * Spinneret/Spinneret/WebView.cpp: Removed.
269 * Spinneret/Spinneret/WebView.h: Removed.
271 2006-04-28 Steve Falkenburg <sfalken@apple.com>
275 Modify error reporting registry keys to disable Dr. Watson.
276 This allows Javascript test cases to complete without blocking UI.
278 * Scripts/install-win-extras:
279 - Use Perl Win32 registry functions to disable blocking UI
282 2006-04-28 Steve Falkenburg <sfalken@apple.com>
286 Turned off C++ exceptions, fixed memory leaks
288 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
289 * Spinneret/Spinneret.sln:
290 * Spinneret/Spinneret/Spinneret.cpp:
292 * Spinneret/Spinneret/Spinneret.vcproj:
293 * Spinneret/Spinneret/WebFrame.cpp:
294 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
295 (WebKit::WebFrame::WebFrame):
296 (WebKit::WebFrame::~WebFrame):
297 (WebKit::WebFrame::impl):
298 * Spinneret/Spinneret/WebFrame.h:
299 * Spinneret/Spinneret/WebView.cpp:
300 * Spinneret/Spinneret/stdafx.h:
302 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
306 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
307 DumpRenderTree should reset the URL cache
309 * DumpRenderTree/DumpRenderTree.m:
310 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
312 2006-04-28 Eric Seidel <eseidel@apple.com>
314 Reviewed by andersca.
316 * Scripts/do-webcore-rename: rename KCanvasContainer too
317 * Scripts/run-webkit-tests: output total time
319 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
321 Reviewed by hyatt. Landed by eseidel.
323 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
324 Enable detection of excessive repainting with DumpRenderTree
326 * DumpRenderTree/DumpRenderTree.m:
327 (-[LayoutTestController display]):
329 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
333 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
334 DumpRenderTree needs a way to force painting (to allow invalidation tests)
336 * DumpRenderTree/DumpRenderTree.m:
337 (dump): If display() has been called during the test, grab the pixels from
338 the view, after letting it repaint invalidated rects.
339 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
340 (-[LayoutTestController display]): Added. Calls -display on the view
341 and changes the subsequent behavior of dump().
344 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
348 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
349 Update iExploder to 1.3.2
351 Test case numbers are not compatible with iExploder 1.2.
353 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
355 * iExploder/CHANGELOG.txt: Added.
356 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
357 * iExploder/README.txt: Added some performance hints.
359 * iExploder/htdocs/config.rb: Added.
360 * iExploder/htdocs/cssproperties.in:
361 * iExploder/htdocs/cssvalues.in:
362 * iExploder/htdocs/htmlattrs.in:
363 * iExploder/htdocs/htmltags.in:
364 * iExploder/htdocs/iexploder.cgi:
365 - Updated to support the latest HTML & CSS tags, properties, and values from both
366 the WebKit and Mozilla CVS tree
367 - cssproperties.in cleanup
368 - Modularized the code a little bit.
369 - Fix subtest bug that was causing last 5 tags to be missed
370 - new subtest algorithm to deal better with larger tag counts
371 - default HTML_MAX_TAGS increased from 32 to 96
373 * iExploder/htdocs/index.html: Updated version to 1.3.2.
374 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
375 alternative to our run-iexploder-tests.
376 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
377 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
378 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
380 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
382 - commit Scripts/run-mangleme-tests (missed it the previous time).
384 2006-04-18 Darin Adler <darin@apple.com>
386 - attempt to fix Windows buildbot
388 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
389 We need a better long-term solution for this.
391 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
395 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
396 Integrate mangleme test script.
398 Works in a similar way to run-iexploder-tests.
400 * Scripts/run-mangleme-tests: Added.
402 * mangleme/Makefile: Added.
403 * mangleme/README: Added.
404 * mangleme/mangle.cgi.c: Added.
405 * mangleme/remangle.cgi.c: Added.
406 * mangleme/tags.h: Added.
408 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
412 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
413 An easier way to save iExploder tests.
415 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
417 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
421 - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
422 Integrate iExploder test script.
424 This script generates artificially mangled HTML documents, to test that the browser
425 doesn't crash when handling ill-formed code.
428 run-iexploder-tests Open an interactive test page in Safari+ToT.
429 run-iexploder-tests nnnnn Open test #nnnnn.
431 Command line options:
432 --guard-malloc (-g) Use Guard Malloc.
433 --port=nnnn Run Apache on port nnnn (default is 8000).
435 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
436 (thus, Apache is still running), e.g.:
437 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
439 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
441 * Scripts/run-iexploder-tests: Added.
443 * iExploder/LICENSE.txt: Added.
444 * iExploder/README.txt: Added.
445 * iExploder/htdocs: Added.
446 * iExploder/htdocs/cssproperties.in: Added.
447 * iExploder/htdocs/cssvalues.in: Added.
448 * iExploder/htdocs/htmlattrs.in: Added.
449 * iExploder/htdocs/htmltags.in: Added.
450 * iExploder/htdocs/htmlvalues.in: Added.
451 * iExploder/htdocs/iexploder.cgi: Added.
452 * iExploder/htdocs/index.html: Added.
453 * iExploder/tools: Added.
454 * iExploder/tools/lasthit.rb: Added.
455 * iExploder/tools/osx_last_crash.rb: Added.
457 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
461 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
462 Restore color profile after a crash
464 * DumpRenderTree/DumpRenderTree.m:
465 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
466 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
467 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
468 and this code may change significantly.
470 (main): Install crashHandler.
472 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
473 (CFStringGetCStringPtr should NEVER EVER be used!).
475 2006-04-15 Darin Adler <darin@apple.com>
479 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
480 Seems xmlsoft.org's HTTP no longer has what we need.
482 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
484 Rubber-stamped by Darin.
486 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
487 upload-disk-image stage on buildslaves fail with "No space left on device"
489 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
490 'hdiutil create'. This creates the initial disk image based on the size of
491 the source folder, and copies the contents to the new disk image. The file
492 extension on the temporary uncompressed disk image has also been altered from
493 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
494 the extension is not ".dmg".
496 2006-04-12 Eric Seidel <eseidel@apple.com>
500 * Scripts/update-webkit: Make this return non-zero when svn fails.
502 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
506 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
507 Make HTTP tests using Perl use .pl extension
509 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
510 removed support for .text. Reduced the number of places that explicitly list supported
511 extensions. Some of the changes come from bug 8121, the patch for which got landed only
514 2006-04-06 Darin Adler <darin@apple.com>
516 Changes requested by Mark Rowe.
518 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
519 trash at the end of the file.
520 * BuildSlaveSupport/build-launcher-dmg: Ditto.
522 * WebKitLauncher/main.m: Removed trash at end of file.
524 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
527 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
529 Reviewed by Darin, landed by Maciej.
531 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
532 and bundles the WebKit frameworks inside it.
533 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
534 containing WebKit.app.
535 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
536 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
537 number of the SVN working copy.
538 * WebKitLauncher: Added.
539 * WebKitLauncher/Info.plist: Added.
540 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
541 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
542 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
543 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
544 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
545 the nightly launcher.
546 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
547 It sets up the environment to have Safari use the bundled frameworks
548 and load the WebKitNightlyEnabler dylib before exec'ing Safari
549 * WebKitLauncher/start.html: Added.
550 * WebKitLauncher/webkit.icns: Added.
552 2006-04-05 Darin Adler <darin@apple.com>
556 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
557 are allowed to have global initializers.
559 2006-04-05 Geoffrey Garen <ggaren@apple.com>
563 * Scripts/run-testkjs:
564 - pipe STDERR to /dev/null by default; new --verbose option overrides
566 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
567 - output run command in a format that can be copied and pasted into the
568 terminal to run manually
570 2006-04-03 Justin Garcia <justin.garcia@apple.com>
574 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
575 A drag and drop in DumpRenderTree copies the source, instead of cutting it
577 Tell the source that the drag is over after the drag is performed, not before.
579 * DumpRenderTree/EventSendingController.m:
580 (-[EventSendingController mouseUp]):
582 2006-04-01 Darin Adler <darin@apple.com>
586 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
587 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
588 elements in that array are not strings.
590 2006-03-31 Darin Adler <darin@apple.com>
592 Reviewed by John Sullivan.
594 - added a "--reset-results" option to run-webkit-tests so you can reset
595 the results without first deleting expected results
596 - <rdar://problem/4185878> add scroll position to dumpRenderTree
598 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
599 more logical. Moved all the subroutines to the end of the file. Added a
602 * DumpRenderTree/DumpRenderTree.m:
603 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
604 to generate new output for all tests it runs.
605 (dump): Dump the scroll position if it's non-zero. Always dump the image when
606 the --dump-all-pixels option is passed. Also tightened up the image dumping
607 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
608 with code to save and restore the context.
610 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
611 * DumpRenderTree/EventSendingController.m: Added now-needed include.
613 2006-03-30 Tim Omernick <timo@apple.com>
615 Reviewed by NOBODY (just fixing copyrights)
617 * DumpRenderTree/ObjCPlugin.h:
619 * DumpRenderTree/ObjCPlugin.m: ditto
620 * DumpRenderTree/ObjCPluginFunction.h: ditto
621 * DumpRenderTree/ObjCPluginFunction.m: ditto
623 2006-03-30 Tim Omernick <timo@apple.com>
627 * DumpRenderTree/DumpRenderTree.m:
628 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
629 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
630 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
631 exposed to JS as a callable object.
633 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
634 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
636 * DumpRenderTree/ObjCPlugin.h: Added.
637 * DumpRenderTree/ObjCPlugin.m: Added.
638 * DumpRenderTree/ObjCPluginFunction.h: Added.
639 * DumpRenderTree/ObjCPluginFunction.m: Added.
641 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
642 Added a new method, "removeDefaultMethod", which removes the default method from the
643 plugin object's class. The effect is that the plugin object is mutated from a callable
644 function to a simple object.
646 Handle "removeDefaultMethod".
647 (pluginInvokeDefault):
648 Made the default method actually do something (return 1).
650 2006-03-30 Eric Seidel <eseidel@apple.com>
654 Remove WebFrame::viewImpl(), setMainFrame on page.
656 * Spinneret/Spinneret/WebFrame.cpp:
657 (WebKit::WebFrame::WebFrame):
658 * Spinneret/Spinneret/WebFrame.h:
659 * Spinneret/Spinneret/WebView.cpp:
660 (WebKit::WebView::mouseMoved):
661 (WebKit::WebView::mouseDown):
662 (WebKit::WebView::mouseUp):
663 (WebKit::WebView::mouseDoubleClick):
664 (WebKit::WebViewWndProc):
666 2006-03-30 Eric Seidel <eseidel@apple.com>
670 Fix html editing input & basic form submission.
672 * Spinneret/Spinneret/WebFrame.cpp:
673 (WebKit::WebFrame::submitForm):
674 (WebKit::WebFrame::loadURL):
675 * Spinneret/Spinneret/WebFrame.h:
676 * Spinneret/Spinneret/WebView.cpp:
677 (WebKit::WebView::keyPress):
678 (WebKit::WebViewWndProc):
680 2006-03-28 Justin Garcia <justin.garcia@apple.com>
684 <rdar://problem/4402375>
685 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
687 Added an option to draw the selectionRect.
689 * DumpRenderTree/DumpRenderTree.m:
691 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
692 (-[LayoutTestController dumpSelectionRect]):
695 2006-03-29 Darin Adler <darin@apple.com>
697 Reviewed by Tim Hatcher.
699 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
701 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
703 2006-03-28 Eric Seidel <eseidel@apple.com>
707 * Scripts/check-for-global-initializers: remove svg exceptions.
709 2006-03-28 Timothy Hatcher <timothy@apple.com>
713 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
715 * Scripts/check-for-global-initializers:
717 2006-03-28 Timothy Hatcher <timothy@apple.com>
719 Build fix. Turn off uninitialized warnings for the first block of code.
721 * Scripts/check-for-global-initializers:
723 2006-03-28 Darin Adler <darin@apple.com>
727 * Scripts/check-for-global-initializers: Added.
729 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
731 Reviewed by darin. Landed by eseidel.
733 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
734 Add repaint testing support to run-webkit-tests
736 * DumpRenderTree/DumpRenderTree.m:
737 (main): Added --repaint and --horizontal-sweep options.
738 (dump): Repaint line-by-line or column-by-column when the appropriate option
740 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
741 and repaintSweepHorizontally() methods to layoutTestController.
742 (-[LayoutTestController testRepaint]):
743 (-[LayoutTestController repaintSweepHorizontally]):
745 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
746 to force these settings on tests that do not ask for them.
748 2006-03-24 Eric Seidel <eseidel@apple.com>
754 * Spinneret/Spinneret/WebFrame.cpp:
755 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
757 2006-03-21 Beth Dakin <bdakin@apple.com>
761 Add support for keyDown() to DumpRenderTree.
763 * DumpRenderTree/DumpRenderTree.m:
764 (main): Set the preference for tabbing to links.
765 * DumpRenderTree/EventSendingController.m:
766 (+[EventSendingController isSelectorExcludedFromWebScript:]):
767 (+[EventSendingController webScriptNameForSelector:]):
768 (-[EventSendingController keyDown:withModifiers:]):
770 2006-03-20 Eric Seidel <eseidel@apple.com>
776 * Spinneret/Spinneret/Spinneret.vcproj:
777 * Spinneret/Spinneret/WebFrame.h:
778 * Spinneret/Spinneret/WebView.cpp:
779 (WebKit::WebView::mouseMoved):
780 (WebKit::WebView::mouseDown):
781 (WebKit::WebView::mouseUp):
782 (WebKit::WebView::mouseDoubleClick):
783 (WebKit::WebView::keyPress):
784 (WebKit::WebViewWndProc):
786 2006-03-19 Darin Adler <darin@apple.com>
790 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
791 we can test it in layout tests. We don't really need tests that run with
792 pop-up blocking off at the moment. If we do some day, we can add some
793 API for turning it off in the layout test controller.
795 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
796 don't ignore the leak; it should no longer show up.
798 2006-03-17 Anders Carlsson <andersca@mac.com>
802 * Scripts/install-win-extras:
803 Fetch "Program Files" location from the environment.
805 2006-03-17 Eric Seidel <eseidel@apple.com>
809 Fix Spinneret to pass Events as const & not as pointers.
811 * Spinneret/Spinneret/WebView.cpp:
812 (WebKit::WebView::mouseMoved):
813 (WebKit::WebView::mouseDown):
814 (WebKit::WebView::mouseUp):
815 (WebKit::WebView::mouseDoubleClick):
816 (WebKit::WebView::keyPress):
818 2006-03-17 Eric Seidel <eseidel@apple.com>
822 Add support for basic HTML editing.
824 * Spinneret/Spinneret/WebView.cpp:
825 (WebKit::WebView::WebView):
826 (WebKit::WebView::keyPress):
828 2006-03-17 Eric Seidel <eseidel@apple.com>
830 Rubber-stamped by ggaren.
832 Break DumpRenderTree.m up into several files to make the code more readable.
834 * DumpRenderTree/DumpRenderTree.h: Added.
835 * DumpRenderTree/DumpRenderTree.m:
836 (doneLoading): new accessor function for "done" global.
837 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
838 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
839 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
840 * DumpRenderTree/EditingDelegate.h: Added.
841 * DumpRenderTree/EditingDelegate.m: Added.
842 (-[EditingDelegate webViewDidChangeSelection:]):
843 * DumpRenderTree/EventSendingController.h: Added.
844 * DumpRenderTree/EventSendingController.m: Added.
846 2006-03-16 Eric Seidel <eseidel@apple.com>
850 Add resize, scroll event support.
852 * Spinneret/Spinneret/WebView.cpp:
853 (WebKit::WebView::mouseMoved):
854 (WebKit::WebView::mouseDown):
855 (WebKit::WebView::mouseUp):
856 (WebKit::WebView::mouseDoubleClick):
857 (WebKit::WebView::keyPress):
858 (WebKit::WebViewWndProc):
859 * Spinneret/Spinneret/WebView.h:
861 2006-03-16 Eric Seidel <eseidel@apple.com>
865 Make build-webkit print correctly to stdout on windows.
867 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
869 2006-03-15 Eric Seidel <eseidel@apple.com>
873 Fix eventSender.mouseClick() to update lastClick timestamp.
875 * DumpRenderTree/DumpRenderTree.m:
876 (-[EventSendingController mouseClick]):
878 2006-03-15 Darin Adler <darin@apple.com>
882 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
883 that had a lowercase "i" in it so this builds on case-sensitive
886 2006-03-15 Geoffrey Garen <ggaren@apple.com>
890 Added run-testkjs and compare-timing-files scripts, to support super
893 * Scripts/compare-timing-files: Added.
894 * Scripts/run-testkjs: Added.
896 2006-03-14 Eric Seidel <eseidel@apple.com>
900 Make the URL bar relinquish focus on page load.
902 * Spinneret/Spinneret/Spinneret.cpp:
905 2006-03-14 Eric Seidel <eseidel@apple.com>
909 Fix WebView to allow KeyFocus.
910 Add handling of space and shift-space for scrolling.
912 * Spinneret/Spinneret/WebView.cpp:
913 (WebKit::scrollMessageForKey):
914 (WebKit::WebViewWndProc):
916 2006-03-10 Eric Seidel <eseidel@apple.com>
920 Add scrolling support into Spinneret.
922 * Spinneret/Spinneret/WebFrame.cpp:
923 (WebKit::WebFrame::paint):
924 * Spinneret/Spinneret/WebView.cpp:
925 (WebKit::WebView::createWebView):
926 (WebKit::calculateScrollDelta):
927 (WebKit::scrollMessageForKey):
928 (WebKit::WebViewWndProc):
930 2006-03-13 Eric Seidel <eseidel@apple.com>
934 Fix checksum generation on Intel machines.
935 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
936 give a small speed boost now that it uses a shared buffer.
938 * DumpRenderTree/DumpRenderTree.m:
941 (md5HashStringForBitmap):
942 * DumpRenderTree/ImageDiff.m:
943 (computePercentageDifferent):
945 2006-03-13 Darin Adler <darin@apple.com>
947 Reviewed by Tim Hatcher.
949 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
950 have it named httpd-1.3 instead.
952 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
954 Fix proposed by Mitz Pettel, reviewed by Darin.
956 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
957 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
959 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
960 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
963 2006-03-09 Darin Adler <darin@apple.com>
965 Reviewed by John Sullivan.
967 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
968 memory leak in the plug-in tests
970 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
971 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
972 (NPP_SetWindow): Remove unneeded code to store the window pointer.
974 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
975 Moved the browser global in here since it's declared in this file's header.
976 Changed the code to set up the pluginClass structure to not use function
977 pointer casts. Those are dangerous because they can hide many types of mismatch.
978 And indeed when I did this I discovered that many functions were missing their
979 boolean return values or had parameter declarations with the wrong types.
980 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
981 clarity. Added boolean return value: return true when successful and false when not.
982 (pluginSetProperty): Added boolean return value, return false since we have no
983 properties we can set.
984 (pluginInvoke): Added boolean return value. Return true when successful and false
985 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
986 return value from calling the browser. Changed code to put the strings in malloc
987 buffers instead of relying on GCC's extension that allows variable-sized arrays
989 (pluginInvokeDefault): Added boolean return value, return false since we have no
990 default function to call.
991 (pluginInvalidate): Added missing parameter. Removed comment.
992 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
993 to cast the result of malloc.
994 (pluginDeallocate): Removed uneeded cast.
996 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
997 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
998 that match NPObject's fields. Removed unused NPWindow pointer.
1000 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
1002 Test: fast/events/event-sender-mouse-click.html
1006 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1007 DRT hangs when doing eventSender.mouseDown on native widgets
1009 * DumpRenderTree/DumpRenderTree.m:
1010 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1011 (-[EventSendingController mouseClick]): Simulates a click in a native
1012 widget by queueing a mouseUp before sending the mouseDown, so that
1013 the widget's mouse tracking event loop doesn't hang indefinitely.
1015 2006-03-09 Maciej Stachowiak <mjs@apple.com>
1019 - make link clicks work by handling link click requests
1022 * Spinneret/Spinneret/Spinneret.cpp:
1023 (updateLocationBar):
1024 * Spinneret/Spinneret/Spinneret.h:
1025 * Spinneret/Spinneret/WebFrame.cpp:
1026 (WebKit::WebFrame::WebFrame):
1027 (WebKit::WebFrame::openURL):
1028 (WebKit::WebFrame::loadURL):
1029 * Spinneret/Spinneret/WebFrame.h:
1031 2006-03-08 Eric Seidel <eseidel@apple.com>
1035 Focus URL bar on Spinneret launch, remove border from WebView.
1036 Stop WebFrame from deleting the job (prevent crash).
1038 * Spinneret/Spinneret/Spinneret.cpp:
1040 * Spinneret/Spinneret/WebFrame.cpp:
1041 (WebKit::WebFrame::receivedAllData):
1042 (WebKit::WebFrame::paint):
1043 * Spinneret/Spinneret/WebView.cpp:
1044 (WebKit::WebView::createWebView):
1046 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
1050 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1051 (pluginInvoke): Added a method to test getURL.
1053 2006-03-08 Maciej Stachowiak <mjs@apple.com>
1057 - load URLs, not file paths, in Spinneret
1059 * Spinneret/Spinneret/Spinneret.cpp:
1061 * Spinneret/Spinneret/Spinneret.vcproj:
1062 * Spinneret/Spinneret/WebFrame.cpp:
1063 (WebKit::WebFrame::loadURL):
1064 (WebKit::WebFrame::receivedData):
1065 (WebKit::WebFrame::receivedAllData):
1066 * Spinneret/Spinneret/WebFrame.h:
1067 * Spinneret/Spinneret/WebView.cpp:
1068 (WebKit::WebView::WebView):
1070 2006-03-08 Darin Adler <darin@apple.com>
1074 - fixed AppleScript layout test results to not be endian-dependent
1075 (Hyatt complained to me about this one)
1077 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1078 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1079 (which are endian-dependent).
1081 2006-03-07 Darin Adler <darin@apple.com>
1085 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1086 unwanted output while running layout tests
1088 * DumpRenderTree/DumpRenderTree.m:
1089 (checkedMalloc): Added.
1090 (checkedRealloc): Added.
1091 (makeLargeMallocFailSilently): Added.
1092 (main): Call makeLargeMallocFailSilently.
1094 2006-03-06 Darin Adler <darin@apple.com>
1096 * Scripts/do-webcore-rename: Add some more planned renaming.
1098 2006-03-06 Eric Seidel <eseidel@apple.com>
1102 * Spinneret/Spinneret/WebFrame.cpp:
1103 (WebKit::WebFrame::paint): force layout before painting
1105 2006-03-06 Justin Garcia <justin.garcia@apple.com>
1109 Sent the windowNumber when sending events.
1110 Added leapForward so that we don't have to spend time waiting
1111 in layout tests that do mouse operations that require delays.
1113 * DumpRenderTree/DumpRenderTree.m:
1114 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1115 (+[EventSendingController webScriptNameForSelector:]):
1116 (-[EventSendingController currentEventTime]):
1117 (-[EventSendingController leapForward:]):
1118 (-[EventSendingController mouseDown]):
1119 (-[EventSendingController mouseUp]):
1120 (-[EventSendingController mouseMoveToX:Y:]):
1122 2006-03-05 Darin Adler <darin@apple.com>
1124 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1125 Script now works (after landing my two pending patches).
1127 2006-03-05 Darin Adler <darin@apple.com>
1129 - check in a script to do a "big" rename in WebCore
1130 (can be run whenever we're ready to do it)
1132 * Scripts/do-webcore-rename: Added.
1134 2006-03-05 Maciej Stachowiak <mjs@apple.com>
1138 * Spinneret/Spinneret/WebFrame.cpp:
1139 (WebKit::WebFrame::loadFilePath): Close file when done.
1141 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
1143 Reviewed by Darin, landed by ap.
1145 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1146 Mouse moved events do not work in DumpRenderTree
1148 Test: fast/events/event-sender-mouse-moved.html
1150 * DumpRenderTree/DumpRenderTree.m:
1151 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1153 2006-03-04 Eric Seidel <eseidel@apple.com>
1157 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1158 Disable background erase to avoid tearing.
1159 Fix potential memory smasher from extra long urls.
1161 * Spinneret/Spinneret/Spinneret.cpp:
1163 * Spinneret/Spinneret/Spinneret.vcproj:
1164 * Spinneret/Spinneret/WebFrame.cpp:
1165 (WebKit::WebFrame::loadFilePath):
1166 (WebKit::WebFrame::paint):
1167 * Spinneret/Spinneret/WebView.cpp:
1168 (WebKit::registerWebViewWithInstance):
1170 2006-03-04 Eric Seidel <eseidel@apple.com>
1174 Hang WebView pointer off of HWND (gets rid of global hack).
1175 Remove MessageBox displayed on url change.
1177 * Spinneret/Spinneret/Spinneret.cpp:
1180 * Spinneret/Spinneret/WebView.cpp:
1181 (WebKit::registerWebViewWithInstance):
1182 (WebKit::WebView::createWebView):
1183 (WebKit::WebViewWndProc):
1185 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
1189 Automatically kill httpd if it appears to be already running.
1191 * Scripts/run-webkit-tests:
1193 2006-03-04 Maciej Stachowiak <mjs@apple.com>
1197 * Spinneret/Spinneret/WebFrame.cpp:
1198 (WebKit::WebFrame::loadFilePath): Improved local file loading.
1200 2006-03-03 Eric Seidel <eseidel@apple.com>
1204 A few more fixes to make run-webkit-tests really work on win32.
1206 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1208 * Scripts/run-webkit-tests:
1210 2006-03-03 Eric Seidel <eseidel@apple.com>
1214 Make run-webkit-tests work on win32.
1216 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1218 (dumpRenderTreeMain):
1219 (dumpRenderTreeToStdOut):
1220 (serializeToStdOut):
1222 * Scripts/run-webkit-tests:
1223 * Scripts/webkitdirs.pm:
1224 * Spinneret/Spinneret/WebView.cpp:
1225 (WebKit::WebView::WebView):
1227 2006-03-03 Eric Seidel <eseidel@apple.com>
1231 Add WebFrame class (to hold Frame and FrameView).
1232 Add Location bar support to Spinneret.
1234 * Spinneret/Spinneret/Spinneret.cpp:
1239 * Spinneret/Spinneret/Spinneret.vcproj:
1240 * Spinneret/Spinneret/WebFrame.cpp: Added.
1241 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1242 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1243 (WebKit::WebFrame::WebFrame):
1244 (WebKit::WebFrame::loadFilePath):
1245 (WebKit::WebFrame::loadHTMLString):
1246 (WebKit::WebFrame::paint):
1247 (WebKit::WebFrame::impl):
1248 (WebKit::WebFrame::viewImpl):
1249 * Spinneret/Spinneret/WebFrame.h: Added.
1250 * Spinneret/Spinneret/WebView.cpp:
1251 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1252 (WebKit::WebView::WebView):
1253 (WebKit::WebView::windowHandle):
1254 (WebKit::WebView::mainFrame):
1255 (WebKit::WebView::mouseMoved):
1256 (WebKit::WebView::mouseDown):
1257 (WebKit::WebView::mouseUp):
1258 (WebKit::WebView::mouseDoubleClick):
1259 (WebKit::WebViewWndProc):
1260 * Spinneret/Spinneret/WebView.h:
1262 2006-03-02 Eric Seidel <eseidel@apple.com>
1266 * Spinneret/Spinneret/WebView.cpp:
1267 (WebKit::registerWebViewWithInstance):
1268 (WebKit::WebView::WebView):
1269 (WebKit::WebView::mouseMoved):
1270 (WebKit::WebView::mouseDown):
1271 (WebKit::WebView::mouseUp):
1272 (WebKit::WebView::mouseDoubleClick):
1273 (WebKit::WebViewWndProc):
1274 * Spinneret/Spinneret/WebView.h:
1276 2006-03-01 Eric Seidel <eseidel@apple.com>
1278 Reviewed by andersca.
1280 Make spinneret take advantage of the new GraphicsContextCairo.
1282 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1283 (main): updated to match style guidelines.
1284 * Spinneret/Spinneret/Spinneret.cpp:
1286 * Spinneret/Spinneret/WebView.cpp:
1287 (WebKit::registerWebViewWithInstance):
1288 (WebKit::WebView::WebView):
1289 (WebKit::WebView::~WebView):
1290 (WebKit::WebView::drawRect):
1292 * Spinneret/Spinneret/WebView.h:
1294 2006-03-01 Justin Garcia <justin.garcia@apple.com>
1298 Give the events that eventSender sends a unique eventNumber
1300 * DumpRenderTree/DumpRenderTree.m:
1301 (-[EventSendingController mouseDown]):
1302 (-[EventSendingController mouseUp]):
1303 (-[EventSendingController mouseMoveToX:Y:]):
1305 2006-03-01 Eric Seidel <eseidel@apple.com>
1309 Add a stub win32 application to test WebCore drawing on windows.
1312 * Spinneret/Spinneret: Added.
1313 * Spinneret/Spinneret.sln: Added.
1314 * Spinneret/Spinneret/Resource.h: Added.
1315 * Spinneret/Spinneret/Spinneret.cpp: Added.
1321 * Spinneret/Spinneret/Spinneret.h: Added.
1322 * Spinneret/Spinneret/Spinneret.ico: Added.
1323 * Spinneret/Spinneret/Spinneret.rc: Added.
1324 * Spinneret/Spinneret/Spinneret.vcproj: Added.
1325 * Spinneret/Spinneret/WebView.cpp: Added.
1326 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1327 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1328 (WebKit::registerWebViewWithInstance):
1329 (WebKit::WebView::createWebView):
1330 (WebKit::WebView::WebView):
1331 (WebKit::WebView::~WebView):
1332 (WebKit::WebView::drawRect):
1333 (WebKit::WebView::windowHandle):
1335 * Spinneret/Spinneret/WebView.h: Added.
1336 * Spinneret/Spinneret/small.ico: Added.
1337 * Spinneret/Spinneret/stdafx.cpp: Added.
1338 * Spinneret/Spinneret/stdafx.h: Added.
1340 2006-02-28 Eric Seidel <eseidel@apple.com>
1344 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1345 (main): add ability to dump render tree and read from a local file.
1347 2006-02-27 Eric Seidel <eseidel@apple.com>
1351 * Scripts/install-win-extras: fix dll permissions & download zlib too.
1353 2006-02-27 Eric Seidel <eseidel@apple.com>
1357 Test new KConfig -> PlugInInfoStore change.
1358 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1360 * DumpRenderTree/DumpRenderTree.m:
1361 (main): load test netscape plugin
1362 * Scripts/run-webkit-tests: style update
1364 2006-02-24 Eric Seidel <eseidel@apple.com>
1368 Make DumpRenderTree link against icu.
1370 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1372 2006-02-24 Eric Seidel <eseidel@apple.com>
1376 Make DumpRenderTree link against libxml, etc.
1378 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1380 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
1382 Reviewed and landed by Anders.
1384 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1385 getting called from the run loop, making the view render each test and thus slowing
1388 * DumpRenderTree/DumpRenderTree.m:
1389 (main): Set the offscreen window to not autodisplay.
1391 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1395 - Turn http tests back on by default.
1396 - Wait for Apache to actually start serving requests.
1397 - Get user id from a built-in variable rather than an external command;
1398 don't pass the group.
1400 * Scripts/run-webkit-tests:
1402 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
1404 Suggested by Mitz Pettel, reviewed by Darin.
1406 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1407 can run CGIs even if the permissions are 700 or 600.
1409 2006-02-23 Darin Adler <darin@apple.com>
1411 Collaborating with Alexey.
1413 - turn off http tests by default until we figure out how to get them
1414 to run even when permissions on CGI files are 700 instead of 755
1416 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1418 2006-02-23 Eric Seidel <eseidel@apple.com>
1420 Add *.user to ignore list.
1422 2006-02-23 Eric Seidel <eseidel@apple.com>
1424 Remove binary file which shouldn't have been commited (and add to ignore list).
1426 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1427 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1429 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1433 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1435 2006-02-22 Eric Seidel <eseidel@apple.com>
1437 Reviewed by Tim Hatcher.
1439 Fix install-win-extras to not try to re-install setx if installed.
1441 * Scripts/install-win-extras:
1443 2006-02-22 Eric Seidel <eseidel@apple.com>
1445 One more file possibly missing from previous commit?
1447 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1448 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1450 2006-02-22 Eric Seidel <eseidel@apple.com>
1452 Reviewed by justing.
1454 Files missing from previous commit.
1456 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1457 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1459 2006-02-22 Eric Seidel <eseidel@apple.com>
1461 Rubber-stamped by justing.
1463 Corrected path for DumpRenderTree.intermediate files
1465 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1467 2006-02-22 Eric Seidel <eseidel@apple.com>
1469 Reviewed by justing.
1471 Fixed build-dumprendertree to exit with correct error codes.
1473 * Scripts/build-dumprendertree:
1475 2006-02-22 Eric Seidel <eseidel@apple.com>
1477 Reviewed by justing.
1479 Update build scripts to generalize building on Win32, and allow
1480 building of DumpRenderTree on Win32 from build-dumprendertree.
1482 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1484 * Scripts/build-dumprendertree:
1485 * Scripts/build-webkit:
1486 * Scripts/webkitdirs.pm:
1488 2006-02-22 Eric Seidel <eseidel@apple.com>
1492 * DumpRenderTree/DumpRenderTree.vcproj: Added.
1493 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1494 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1495 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1496 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1497 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1499 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1500 * Scripts/build-webkit: make build-webkit cleanup after itself
1502 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
1506 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1507 Some minor fixes to http tests.
1509 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1511 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
1515 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1516 Would like to use locally installed Apache for testing.
1518 Added two run-webkit-tests options:
1519 --http (--nohttp) - whether to launch Apache (defaults to yes);
1520 --port - which port to listen on (defaults to 8000).
1522 Tests in LayoutTests/http are not run directly, and Apache is used instead.
1523 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1524 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1526 Also added support for .shtml and .text files. Text files give an empty
1527 *-expected.txt, but a correct image.
1529 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1531 * Scripts/run-webkit-tests:
1533 2006-02-21 Darin Adler <darin@apple.com>
1535 Suggested by Mark Rowe.
1537 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1538 reporting leak counts.
1540 2006-02-18 Maciej Stachowiak <mjs@apple.com>
1544 - Added install-win-extras script which installs some extra
1545 programs and libraries, and does Windows first-time setup.
1547 * Scripts/build-webkit: Add a newline between build results.
1548 * Scripts/install-win-extras: Added.
1550 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1554 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1555 DumpRenderTree should be able to load files via HTTP
1557 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1558 Handle tests starting with "http://" as real URLs, not file system paths.
1560 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1564 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1565 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1567 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1569 2006-02-18 Darin Adler <darin@apple.com>
1571 * Scripts/commit-log-editor: Added.
1573 2006-02-17 Eric Seidel <eseidel@apple.com>
1577 Make Win32 have the same default "WebKitBuild" directory behavior.
1579 * Scripts/build-webkit:
1580 * Scripts/webkitdirs.pm:
1582 2006-02-17 Eric Seidel <eseidel@apple.com>
1586 * Scripts/build-webkit: make win32 actually report errors
1588 2006-02-17 Eric Seidel <eseidel@apple.com>
1592 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1594 2006-02-17 Eric Seidel <eseidel@apple.com>
1598 * Scripts/run-webkit-tests: Ignore flash leaks
1600 2006-02-15 Justin Garcia <justin.garcia@apple.com>
1604 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1605 Add drag and drop support to DumpRenderTree
1607 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1608 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
1610 * DumpRenderTree/DumpRenderTree.m:
1612 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1613 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1614 (-[WaitUntilDoneDelegate webViewFocus:]):
1615 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1616 (+[LayoutTestController webScriptNameForSelector:]):
1617 (-[LayoutTestController setWindowIsKey:]):
1618 (-[LayoutTestController setMainFrameIsFirstResponder:]):
1619 (-[EventSendingController init]):
1620 (-[EventSendingController mouseDown]):
1621 (-[EventSendingController mouseUp]):
1622 (-[EventSendingController mouseMoveToX:Y:]):
1624 (-[DumpRenderTreeWindow isKeyWindow]):
1625 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1626 (-[DumpRenderTreeDraggingInfo dealloc]):
1627 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1628 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1629 (-[DumpRenderTreeDraggingInfo draggingLocation]):
1630 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1631 (-[DumpRenderTreeDraggingInfo draggedImage]):
1632 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1633 (-[DumpRenderTreeDraggingInfo draggingSource]):
1634 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1635 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1636 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1637 * DumpRenderTree/TextInputController.m:
1638 (-[TextInputController firstRectForCharactersFrom:length:]):
1639 (-[TextInputController characterIndexForPointX:Y:]):
1641 2006-02-15 Geoffrey Garen <ggaren@apple.com>
1645 * DumpRenderTree/DumpRenderTree.m:
1646 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
1647 Added a dummy method for the sake of LayoutTests/plugins/
1648 undefined-property-crash.html. (It tests a crash due to fallback
1649 object use. WebCore won't create a fallback object if the method is
1652 2006-02-14 Eric Seidel <eseidel@apple.com>
1656 * Scripts/run-webkit-tests: added --results-directory (-o) option
1658 2006-02-09 Eric Seidel <eseidel@apple.com>
1660 Rubber-stamped by mjs.
1662 Renamed split-class to split-file-by-class.
1664 * Scripts/build-webkit: Updated copyright.
1665 * Scripts/split-class: Removed.
1666 * Scripts/split-file-by-class: Added.
1668 2006-02-08 Eric Seidel <eseidel@apple.com>
1670 Rubber-stamped by mjs.
1672 Adding new script for splitting multi-class files.
1673 Also adding supporting perl module with space removing heuristics.
1675 * Scripts/SpacingHeuristics.pm: Added.
1676 * Scripts/build-drawtest: updated copyright header
1677 * Scripts/split-class: Added.
1679 2006-02-08 Justin Garcia <justin.garcia@apple.com>
1681 Reviewed by thatcher
1683 Changes to test fix for:
1684 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1685 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1687 * DumpRenderTree/DumpRenderTree.m:
1688 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1689 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1690 (+[LayoutTestController webScriptNameForSelector:]):
1691 (-[LayoutTestController setWindowHasFocus:]):
1692 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1694 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
1696 Reviewed by Timothy.
1698 Support automated testing of AppleScript "do JavaScript" command
1699 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1701 * DumpRenderTree/AppleScriptController.h: Added.
1702 * DumpRenderTree/AppleScriptController.m: Added.
1703 * DumpRenderTree/DumpRenderTree.m:
1704 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1705 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1707 2006-02-06 Eric Seidel <eseidel@apple.com>
1711 Fix build-webkit for use on win32 (unblocks buildbot usage).
1712 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1714 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1715 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1717 2006-02-06 Eric Seidel <eseidel@apple.com>
1719 Rubber-stamped by darin & mjs.
1721 Added new support directory for build slave scripts.
1722 Committing the first script, for use by the PLT's build slave.
1723 This script is used to kick of the PLT (Page Load Test) slave.
1725 * BuildSlaveSupport: Added.
1726 * BuildSlaveSupport/run-performance-tests: Added.
1728 2006-02-06 Eric Seidel <eseidel@apple.com>
1730 Rubber-stamped by darin.
1732 Adding setSourceDir for scripts stored in non-standard locations.
1734 * Scripts/webkitdirs.pm:
1736 2006-02-04 Darin Adler <darin@apple.com>
1738 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1739 Configuration files that say Development or Deployment in them.
1741 2006-02-04 Darin Adler <darin@apple.com>
1743 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1744 wrapper already in the directory.
1745 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1746 these haven't been working at all.
1747 * Scripts/svn-unapply: Ditto.
1749 2006-02-03 Timothy Hatcher <timothy@apple.com>
1753 Renamed configuration names to Debug, Release and Production.
1755 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1756 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1757 * Scripts/set-webkit-configuration:
1758 * Scripts/webkitdirs.pm:
1760 2006-02-02 Justin Garcia <justin.garcia@apple.com>
1762 Reviewed by thatcher
1764 Enabled spell checking for layout tests.
1766 * DumpRenderTree/DumpRenderTree.m:
1769 2006-01-29 Darin Adler <darin@apple.com>
1771 * Scripts/svn-apply: Added comments about things we should do to improve.
1772 * Scripts/svn-create-patch: Ditto.
1773 * Scripts/svn-unapply: Ditto.
1775 2006-01-28 Darin Adler <darin@apple.com>
1777 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1778 already there, even if the checksum is correct.
1780 2006-01-27 Eric Seidel <eseidel@apple.com>
1784 * Scripts/run-webkit-tests: make new tests use absolute urls
1786 2006-01-27 Eric Seidel <eseidel@apple.com>
1790 make run-webkit-tests output total leaks count
1792 * Scripts/run-webkit-tests:
1794 2006-01-27 Eric Seidel <eseidel@apple.com>
1798 run-webkit-test --leaks crashes (malloc logging runs out of memory)
1799 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
1801 * Scripts/run-webkit-tests: fix --leaks to not crash
1803 2006-01-26 Eric Seidel <eseidel@apple.com>
1807 run-webkit-tests should produce a self-contained results directory
1808 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
1810 * Scripts/run-webkit-tests: copy failing items to results dir.
1812 2006-01-23 Darin Adler <darin@apple.com>
1814 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
1815 need script to update localizable strings file in WebKit
1817 * Scripts/update-webkit-localizable-strings: Added.
1819 2006-01-23 Darin Adler <darin@apple.com>
1821 - added a couple of scripts -- more about these two soon
1823 * Scripts/extract-localizable-strings: Added.
1824 * Scripts/merge-changelog: Added.
1826 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
1830 Build fix. build-webkit dies with "invalid build action: (empty string)"
1832 * Scripts/build-webkit:
1833 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
1835 2006-01-22 Eric Seidel <eseidel@apple.com>
1839 Fix --no-svg option to use XCode flags instead of gcc flags.
1841 * Scripts/build-webkit:
1843 2006-01-22 Eric Seidel <eseidel@apple.com>
1847 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
1849 * Scripts/build-webkit:
1851 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
1853 Reviewed by eseidel.
1855 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
1856 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
1858 * Scripts/build-drawtest: Changed bareword 'true' to 1.
1859 * Scripts/run-drawtest: Changed bareword 'true' to 1.
1861 2006-01-19 Darin Adler <darin@apple.com>
1863 * Scripts/report-include-statistics: Added a new script.
1865 2006-01-19 Timothy Hatcher <timothy@apple.com>
1867 * Scripts/build-webkit: include JavaScriptGlue in the build
1869 2006-01-19 Darin Adler <darin@apple.com>
1871 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
1872 spaces in it by using the form of open that treats each argument as a string
1873 rather than backtick syntax for reading the output of the nm tool.
1875 2006-01-12 Maciej Stachowiak <mjs@apple.com>
1879 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
1880 detect if there are any new tests
1882 * Scripts/prepare-ChangeLog:
1884 2006-01-12 Darin Adler <darin@apple.com>
1886 - removed some of the cvs-specific scripts -- not needed for this project any more
1888 * Scripts/cvs-abandon: Removed.
1889 * Scripts/cvs-apply: Removed.
1890 * Scripts/cvs-create-patch: Removed.
1891 * Scripts/cvs-unapply: Removed.
1893 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1895 Reviewed by eseidel. Committed by eseidel.
1897 - run-webkit-tests always launches Safari when tests fail
1898 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
1900 * Scripts/run-webkit-tests:
1901 Add a command-line flag to prevent Safari being launched to display failed
1902 tests. Always exit with non-zero status when tests have failed.
1904 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1906 Reviewed by eseidel. Committed by eseidel.
1908 - build-webkit should exit with non-zero status when build fails
1909 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
1911 * Scripts/build-webkit:
1912 Use correct bits of subprocess exit code when passing back through
1913 as build-webkit's exit code.
1915 2006-01-10 Eric Seidel <eseidel@apple.com>
1917 Restored corrupted nibs from TOT CVS.
1919 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
1920 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
1921 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
1922 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
1923 * DrawTest/English.lproj/Inspector.nib: Replaced.
1924 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
1925 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
1926 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
1927 * DrawTest/English.lproj/MainMenu.nib: Replaced.
1928 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
1929 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
1930 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
1931 * DrawTest/English.lproj/TestViewer.nib: Replaced.
1932 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
1933 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
1934 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
1936 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
1938 Reviewed by eseidel. Committed by eseidel.
1940 DrawTestView now subclasses WebView instead of DrawView.
1942 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1943 * DrawTest/DrawTestDocument.h:
1944 * DrawTest/DrawTestDocument.m:
1945 (-[DrawTestDocument dealloc]):
1946 (-[DrawTestDocument readFromFile:ofType:]):
1947 (-[DrawTestDocument windowControllerDidLoadNib:]):
1948 (-[DrawTestDocument dumpSVGToConsole:]):
1949 (-[DrawTestDocument openSourceForSelection:]):
1950 (-[DrawTestDocument dataRepresentationOfType:]):
1951 * DrawTest/DrawTestToolbarController.h:
1952 * DrawTest/DrawTestToolbarController.m:
1953 (-[DrawTestToolbarController initWithDrawView:]):
1954 (-[DrawTestToolbarController clickedToolbarItem:]):
1955 (-[DrawTestToolbarController validateToolbarItem:]):
1956 * DrawTest/DrawTestView.h:
1957 * DrawTest/DrawTestView.m:
1958 (-[DrawTestView initWithFrame:]):
1959 (-[DrawTestView setDocument:]):
1960 * DrawTest/SVGTest.h:
1961 * DrawTest/SVGTest.m:
1962 (+[SVGTest sharedDrawView]):
1963 (-[SVGTest generateCompositeIfNecessary]):
1964 * DrawTest/TestController.h:
1965 * DrawTest/TestController.m:
1966 (-[TestController awakeFromNib]):
1967 (-[TestController setSelectedTest:]):
1968 (-[TestController openTestViewerForSelection:]):
1969 (-[TestController toggleViewersScaleRule:]):
1970 * DrawTest/TestViewerSplitView.m:
1971 (-[TestViewerSplitView drawRect:]):
1973 2006-01-10 Anders Carlsson <andersca@mac.com>
1975 Reviewed by Timothy.
1977 * DumpRenderTree/DumpRenderTree.m:
1978 (main): Set the default language to "en", so language tests will work.
1980 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1984 - script to generate HTML wrappers for JS tests
1985 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
1987 * Scripts/make-js-test-wrappers: Added.
1989 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1993 * Scripts/svn-create-patch: Fix to work when passed directory names.
1995 2006-01-08 Geoffrey Garen <ggaren@apple.com>
1999 - Added back/forward navigation support to DumpRenderTree. Hopefully we
2000 can start writing automated loader tests now. I have one in the works.
2002 * DumpRenderTree/DumpRenderTree.m:
2003 (main): Construct global navigationController on entry, destroy on exit.
2004 Set frame to nil on exit too, to match all the other global objects.
2005 (Probably academic, since the process is exiting, anyway.)
2006 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2007 navigationController, in case it wants to kick off a load.
2008 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2009 the navigationController to scripting.
2011 New class, should be straightforward:
2013 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2014 * DumpRenderTree/NavigationController.h: Added.
2015 * DumpRenderTree/NavigationController.m: Added.
2017 (+[NavigationController isSelectorExcludedFromWebScript:]):
2018 (+[NavigationController webScriptNameForSelector:]):
2019 (-[NavigationController setPendingScript:]):
2020 (-[NavigationController setPendingRequest:]):
2021 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2022 (-[NavigationController webView:didFinishLoadForFrame:]):
2023 (-[NavigationController dealloc]):
2025 2006-01-08 Timothy Hatcher <timothy@apple.com>
2027 Removed this script, no longer needs with the Subversion switch.
2029 * checkout: Removed.
2031 2006-01-08 Timothy Hatcher <timothy@apple.com>
2033 Removes some stray tabs.
2035 * Scripts/update-webkit:
2037 2005-01-07 Eric Seidel <eseidel@apple.com>
2041 build-webkit should pass on build arguments from command line
2042 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2044 * Scripts/build-webkit:
2046 2006-01-07 Eric Seidel <eseidel@apple.com>
2048 Reviewed by mjs & xenon.
2050 * Scripts/update-webkit: support Internal updates as well
2052 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2054 Temporarily rolling out plugin support from DumpRenderTree because it
2055 caused lots of layout test regressions.
2057 * DumpRenderTree/DumpRenderTree.m:
2058 (main): Remove invisible window added to support plugins.
2060 2006-01-06 Geoffrey Garen <ggaren@apple.com>
2064 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2065 Add plugin support to DumpRenderTree
2067 Also wrote first test plugin.
2069 * DumpRenderTree/DumpRenderTree.m:
2071 (1) Put the WebView in an invisible window, because PlugIns are
2072 optimized not to load if there's no parent window.
2073 (2) Tell WebKit to load any PlugIns in the directory from which we
2074 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
2075 and they'll load automagically during layout testing, but they won't be
2076 added to the user's system, hosing apps like Safari.
2078 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2079 test PlugIn to project.
2081 PlugIn added to project:
2083 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2084 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2086 (initializeIdentifiers):
2087 (pluginHasProperty):
2089 (pluginGetProperty):
2090 (pluginSetProperty):
2092 (pluginInvokeDefault):
2096 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2097 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2099 (NP_GetEntryPoints):
2105 (NPP_DestroyStream):
2115 2006-01-04 Timothy Hatcher <timothy@apple.com>
2119 Tweaked and tested by me.
2121 New scripts to work with Subversion when the switch happens.
2122 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2124 * Scripts/svn-apply: Added.
2125 * Scripts/svn-create-patch: Added.
2126 * Scripts/svn-unapply: Added.
2128 2005-12-30 Eric Seidel <eseidel@apple.com>
2132 Move WebView width/height logic into DumpRenderTree to support
2133 running the W3C SVG 1.1 tests along side other tests. The W3C
2134 SVG 1.1 tests require a 480x360 view.
2136 * DumpRenderTree/DumpRenderTree.m:
2137 (main): don't accept width/height
2138 (dump): override width/height for SVG/W3C
2139 * Scripts/run-webkit-tests: don't pass width/height
2141 2005-12-30 Eric Seidel <eseidel@apple.com>
2143 No review, only removing dead code.
2145 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2146 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2148 2005-12-30 Eric Seidel <eseidel@apple.com>
2152 DumpRenderTree should set a consistent color profile while running
2153 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2155 Creates consistent colormatched renderings on every test machine
2156 using the only way possible with Tiger APIs: by setting the
2157 system color profile on the test machine for the duration of the
2158 tests. This will (unfortunately) cause colors to change while
2159 running DumpRenderTree. This can also cause "permanent" color
2160 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2161 This is far from ideal, but it's be best way we've found to deal
2162 with the issue for now.
2164 * DumpRenderTree/DumpRenderTree.m:
2165 (restoreColorSpace):
2166 (setDefaultColorProfileToRGB):
2169 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
2171 Reviewed by Darin Adler.
2173 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2174 cvs-create-patch --include produces incorrect paths
2176 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2178 2005-12-19 Eric Seidel <eseidel@apple.com>
2182 * Scripts/run-webkit-tests: stop /etc/catalog warnings
2184 2005-12-19 Darin Adler <darin@apple.com>
2186 Reviewed by Eric Seidel.
2188 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2189 WebKit needs to use a local pasteboard during testing
2191 * DumpRenderTree/DumpRenderTree.m:
2192 (main): Call poseAs to substitute our NSPasteboard class for the default one.
2193 Create a local pasteboard (really a global one with a unique name) and release
2194 it when exiting from the function so we don't leave it in the pasteboard server.
2195 (dumpRenderTree): Added an autorelease pool around one small bit of code that
2196 ddn't have one. Fixed a leak in an unlikely error case.
2197 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2198 of this method to return our local pasteboard.
2200 2005-12-15 Eric Seidel <eseidel@apple.com>
2202 Reviewed by Tim Hatcher.
2204 * Scripts/build-webkit: --svg is now default!
2206 2005-12-15 Eric Seidel <eseidel@apple.com>
2210 Don't run svg test automatically if +SVG is built (yet).
2212 * Scripts/run-webkit-tests:
2214 2005-12-15 Darin Adler <darin@apple.com>
2216 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2217 support is not compiled in. Report the 10 slowest tests if "--slowest" is
2218 passed on the command line.
2220 2005-12-06 John Sullivan <sullivan@apple.com>
2222 Reviewed by Darin Adler.
2224 * Scripts/prepare-ChangeLog:
2225 Remove special-case handling for nib files. This avoided trouble with cvs diff
2226 when we were using wrappers for nib files. Now that we aren't using wrappers,
2227 there's no reason to avoid adding the modified nib files to the file list that
2230 2005-12-05 Eric Seidel <eseidel@apple.com>
2234 Script updates for SVG files move (remove references to SVGSupport)
2236 * Scripts/build-webkit: remove SVGSupport
2237 * Scripts/run-webkit-tests: Resources -> resources for --svg
2238 * Scripts/update-webkit: remove SVGSupport
2240 2005-12-05 Eric Seidel <eseidel@apple.com>
2244 * checkout: remove --svg support, SVG is now checked out by default
2246 2005-11-29 Eric Seidel <eseidel@apple.com>
2250 Update scripts to run SVG tests automatically (w/o --svg) if
2251 WebCore is built with SVG support.
2253 * Scripts/build-drawtest: SVG support required
2254 * Scripts/build-dumpkcanvastree: Removed.
2255 * Scripts/run-drawtest: SVG support required to run
2256 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2257 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2259 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
2261 Reviewed by Darin. Committed by Maciej.
2263 - fixed "DumpRenderTree should test for Ahem before doing anything else"
2264 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2266 * DumpRenderTree/DumpRenderTree.m:
2269 2005-11-28 Eric Seidel <eseidel@apple.com>
2271 Reviewed by sullivan and GGAREN.
2273 Minor additions to make error messages more clear from cvs-apply.
2275 * Scripts/cvs-apply: make errors more clear
2277 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2279 Reviewed and committed by Maciej.
2281 - fixed cvs-create-patch --include produces incorrect paths
2282 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2284 * Scripts/cvs-create-patch: produce proper paths for new files.
2286 2005-11-21 Eric Seidel <eseidel@apple.com>
2290 Some simple fixes to the build/test scripts now that SVG uses the
2291 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
2292 or symlinks for KDOM.
2294 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2295 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2296 * Scripts/run-webkit-tests: now runs SVG tests using DRT
2297 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
2298 * checkout: no longer symlink kdom
2300 2005-11-10 Eric Seidel <eseidel@apple.com>
2304 * Scripts/build-webkit: Pass through options to xcodebuild
2306 2005-11-07 Darin Adler <darin@apple.com>
2308 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2310 2005-11-03 John Sullivan <sullivan@apple.com>
2314 * Scripts/run-safari:
2315 changed message to say "Starting Safari" instead of odd "Start Safari"
2316 * Scripts/run-webkit-tests:
2317 changed the way we pass the file parameter to use -NSOpen rather than relying on
2318 unlabeled arguments being treated as files. This was failing on some machines that
2319 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2321 2005-10-27 Geoffrey Garen <ggaren@apple.com>
2323 Patch by Alexey Proskuryakov.
2327 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2328 TextInputController should support attributed strings
2330 * DumpRenderTree/TextInputController.m:
2331 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2332 (+[NSMutableAttributedString webScriptNameForSelector:]):
2333 (-[NSMutableAttributedString getLength]):
2334 (-[NSMutableAttributedString attributeNamesAtIndex:]):
2335 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2336 (-[NSMutableAttributedString addAttribute:value:]):
2337 (-[NSMutableAttributedString addAttribute:value:from:length:]):
2338 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2339 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2340 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2341 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2342 (+[TextInputController isSelectorExcludedFromWebScript:]):
2343 (+[TextInputController webScriptNameForSelector:]):
2344 (-[TextInputController insertText:]):
2345 (-[TextInputController attributedSubstringFrom:length:]):
2346 (-[TextInputController attributedStringWithString:]):
2348 2005-10-11 Eric Seidel <eseidel@apple.com>
2352 Checks for leaks in ImageDiff too.
2354 * Scripts/run-webkit-tests:
2356 2005-10-09 Darin Adler <darin@apple.com>
2358 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2359 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2360 * Scripts/cvs-unapply: Ditto.
2361 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2363 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
2365 Reviewed, rearranged and landed by Darin.
2367 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2368 Need a way to automatically test for regressions in NSTextInput implementation
2370 * DumpRenderTree/DumpRenderTree.m:
2371 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2372 Create a text input controller and put it in a property of the window object.
2374 * DumpRenderTree/TextInputController.h: Added.
2375 * DumpRenderTree/TextInputController.m: Added.
2376 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2378 2005-10-06 Darin Adler <darin@apple.com>
2380 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2381 are controlled by cvs, or when changes cross multiple repositories.
2382 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2384 2005-10-03 Eric Seidel <eseidel@apple.com>
2388 Make mouseDown and mouseUp force layout before acting.
2389 This is used by a new test case for 4233558.
2391 * DumpRenderTree/DumpRenderTree.m:
2392 (-[EventSendingController mouseDown]): force layout
2393 (-[EventSendingController mouseUp]): force layout
2395 2005-09-30 Eric Seidel <eseidel@apple.com>
2399 Updated all the scripts for the move:
2400 WebCore/layout-tests -> LayoutTests
2402 * Scripts/check-dom-results:
2403 * Scripts/prepare-ChangeLog:
2404 * Scripts/run-webkit-tests:
2405 * Scripts/update-webkit: added --no-tests
2406 * checkout: added --no-tests
2408 2005-09-28 Darin Adler <darin@apple.com>
2410 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2411 pixel test should run even if render trees differ
2413 * Scripts/run-webkit-tests: Don't check if the text dump matches.
2415 2005-09-27 Eric Seidel <eseidel@apple.com>
2417 No review needed, SVG build fix only.
2419 * DumpKCanvasTree/DumpKCanvasTree.m:
2420 Missed one in my previous checkin.
2421 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2423 2005-09-26 Eric Seidel <eseidel@apple.com>
2425 No review needed, SVG build fix only.
2427 * DrawTest/DrawTestDocument.m:
2428 * DrawTest/DrawTestToolbarController.m:
2429 * DrawTest/DrawTestView.h:
2430 * DrawTest/DrawTestView.m:
2431 * DrawTest/SVGTest.m:
2432 * DrawTest/TestController.m:
2433 Updated for WebCore+SVG -> WebCore rename.
2434 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2436 2005-09-26 Eric Seidel <eseidel@apple.com>
2440 * DumpRenderTree/DumpRenderTree.m:
2441 (dump): updated error message
2442 * Scripts/check-dom-results: now includes xhtml
2443 Tool updates for xhtml.
2444 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2446 2005-09-22 Duncan Wilcox <duncan@mclink.it>
2451 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2452 "Would like to simulate human interaction with webview"
2454 * DumpRenderTree/DumpRenderTree.m:
2455 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2456 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2457 (+[EventSendingController webScriptNameForSelector:]):
2458 (-[EventSendingController init]):
2459 (-[EventSendingController mouseDown]):
2460 (-[EventSendingController mouseUp]):
2461 (-[EventSendingController mouseMoveToX:Y:]):
2462 Add eventSender javascript object, that sends fake mouse events to the webview.
2464 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2465 link with Carbon.framework
2467 2005-09-22 Eric Seidel <eseidel@apple.com>
2471 Update tools for WebCore+SVG -> WebCore rename.
2472 Also fold several SVG specific tools into their original
2473 WebCore counterparts.
2474 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2476 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2477 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2478 * Scripts/build-drawtest:
2479 * Scripts/build-dumpkcanvastree:
2480 * Scripts/build-webcore-svg: Removed.
2481 * Scripts/build-webkit: added --svg option
2482 * Scripts/run-drawtest:
2483 * Scripts/run-webkit-tests:
2484 * Scripts/webkitdirs.pm: various additions.
2485 * checkout: added --svg option
2486 * checkout-svg: Removed.
2488 2005-09-19 Eric Seidel <eseidel@apple.com>
2492 * Scripts/run-webkit-tests: added --guard-malloc option
2493 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2495 2005-09-16 Justin Garcia <justin.garcia@apple.com>
2499 Removed a script that is only used by apple internal developers
2501 * Scripts/update-webkitsysteminterface: Removed.
2503 2005-09-16 Adele Peterson <adele@apple.com>
2507 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2509 2005-09-14 Darin Adler <darin@apple.com>
2511 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2512 dumpAsText doesn't work with XHTML documents
2514 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2515 rather than of the body element. This works with typical XHTML documents. We can probably
2516 do something even better in the long run, but this fixes the immediate issue.
2520 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2521 run-safari instead of just using "open", which often runs another copy of Safari instead.
2523 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
2525 Reviewed, tweaked, and landed by Darin.
2527 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2528 .Mac prefpane crashes when Safari using CVS WebKit is running
2530 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2531 * Scripts/run-webkit-app: Ditto.
2533 2005-09-11 Darin Adler <darin@apple.com>
2535 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2537 2005-09-11 Darin Adler <darin@apple.com>
2541 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2542 two ways: 1) puts all files in a directory before any files in a subdirectory, and
2543 2) sort file names with numeric digits in them in a logical way, so test-33 will come
2546 2005-09-08 Justin Garcia <justin.garcia@apple.com>
2550 * Scripts/update-webkitsysteminterface: Added.
2551 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2553 2005-09-01 John Sullivan <sullivan@apple.com>
2555 * Scripts/run-webkit-tests:
2556 Excluded a known system leak to reduce noise; added comments about which leaks
2559 2005-09-01 Tim Omernick <tomernick@apple.com>
2561 Change made by Darin, reviewed by John and myself.
2563 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2565 * Scripts/prepare-ChangeLog:
2567 2005-08-31 Maciej Stachowiak <mjs@apple.com>
2571 - set color variant and font settings to a consistent value.
2572 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2574 * DumpRenderTree/DumpRenderTree.m:
2577 2005-08-30 Eric Seidel <eseidel@apple.com>
2581 * Scripts/build-svg2png: Removed.
2582 * svg2png/ImageDiff.h: Removed.
2583 * svg2png/ImageDiff.m: Removed.
2584 * svg2png/svg2png.m: Removed.
2585 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2586 * svg2png/svg2png_Prefix.pch: Removed.
2587 svg2png is no longer needed.
2589 2005-08-30 Darin Adler <darin@apple.com>
2591 * Scripts/check-dom-results: Special case 100% to say something nice.
2592 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2593 applying the patch (need a better name).
2594 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2596 2005-08-30 Darin Adler <darin@apple.com>
2598 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2600 2005-08-29 Maciej Stachowiak <mjs@apple.com>
2604 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2605 (some pixel tests fail when AA settings are changed)
2607 * DumpRenderTree/DumpRenderTree.m:
2608 (main): set AA settings to the default values
2610 2005-08-29 Darin Adler <darin@apple.com>
2612 Reviewed by John Sullivan.
2614 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2615 executable -- much slower but can help pinpoint leaks. Changed formatting of some
2618 2005-08-28 Maciej Stachowiak <mjs@apple.com>
2622 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2623 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2625 * DumpRenderTree/DumpRenderTree.m:
2626 (main): set scrollbar arrow setting to a consistent value
2628 2005-08-27 Jussi Hagman <juhagman@abo.fi>
2630 Reviewed and landed by Darin.
2632 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2633 output of update-webkit is too verbose
2635 * Scripts/update-webkit:
2636 Added option --quiet (-q) to decrease the amount of output.
2638 2005-08-27 Darin Adler <darin@apple.com>
2640 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2641 cvs-create-patch --include-unknowns should ignore hidden files
2643 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2645 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
2647 Reviewed, tweaked, and landed by Darin.
2649 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2650 update-webkit doesn't notice when you have SVGSupport and update properly
2652 * Scripts/update-webkit: Build SVGSupport directory if it's present.
2654 2005-08-25 Anders Carlsson <andersca@mac.com>
2656 Reviewed and landed by Darin.
2658 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2659 layout test machinery can't handle tests with applets that have code attributes
2661 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2663 2005-08-24 Darin Adler <darin@apple.com>
2667 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2668 DumpRenderTree --pixel-tests crash
2669 - landed some other small changes I had sitting in my tree
2671 * DumpRenderTree/DumpRenderTree.m:
2672 (main): Don't bother saving and restoring the preferences. Not sure
2673 why this was ever done since the preferences are specific to DumpRenderTree.
2674 Clear delegates before releasing the WebView, because you can't count on the
2675 order of object deallocation.
2676 (dumpRenderTree): Fix code that releases a string before storing it in a
2679 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2680 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2682 2005-08-23 Eric Seidel <eseidel@apple.com>
2686 * Scripts/run-webkit-tests:
2687 Made --leaks option more readable by printing to a file.
2688 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2690 2005-08-22 Eric Seidel <eseidel@apple.com>
2691 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2695 * Scripts/run-webkit-tests: hides "expected actual diffs" links
2696 when they are not needed (for pixel-only failures)
2697 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2699 2005-08-22 Eric Seidel <eseidel@apple.com>
2703 * Scripts/run-webkit-tests: Added the ability to display more than
2704 just two images as part of the image-diff "slideshow".
2705 Added display of "-w3c.png" baseline images for SVG.
2706 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2708 2005-08-20 Eric Seidel <eseidel@apple.com>
2710 * Scripts/run-webkit-tests:
2711 "build" fix after committing incorrect version.
2713 2005-08-20 Eric Seidel <eseidel@apple.com>
2717 * DumpRenderTree/DumpRenderTree.m:
2718 (main): cleans up delegates
2719 (dumpRenderTree): closes CFString/CFURL leak
2720 * Scripts/run-webkit-tests:
2721 Adds --leaks option to run-webkit-tests
2722 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2724 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
2728 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2729 new files to be included in the patch even without "cvs add".
2731 2005-08-19 Darin Adler <darin@apple.com>
2733 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2734 non-cvs-generated patches. Anders has been creating these, so it's bad that
2735 the script can't handle them.
2736 * Scripts/cvs-unapply: Ditto.
2738 2005-08-18 Darin Adler <darin@apple.com>
2740 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2741 "." in them -- based on complaint by someone here at Apple.
2743 2005-08-18 Eric Seidel <eseidel@apple.com>
2747 * Scripts/run-webkit-tests:
2748 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2750 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2752 - add file that I forgot in the last checkin
2754 * DumpRenderTree/ImageDiff.m: Added.
2756 (getImageFromStdin):
2758 (getDifferenceBitmap):
2759 (computePercentageDifferent):
2761 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2763 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2764 somewhat by me, and also tweaked by me a little bit.
2766 - better support for pixel-dumping
2767 - use checksums of the images so the tests are fast
2768 - change output format to make the tests run faster
2769 - don't dump pixel results for tests that dump as text
2771 * DumpKCanvasTree/DumpKCanvasTree.m:
2774 (md5HashStringForBitmap):
2776 (constrainSizeToMaximum):
2777 (getBitmapImageRepForSVGDocument):
2778 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2779 * DumpRenderTree/DumpRenderTree.m:
2783 (md5HashStringForBitmap):
2784 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2785 * Scripts/run-webkit-tests:
2787 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2791 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2793 * DumpRenderTree/DumpRenderTree.m:
2796 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2798 Reviewed and landed by Darin.
2800 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
2801 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
2803 * Scripts/run-safari: Pass arguments through to Safari on command line.
2804 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2806 2005-08-11 Eric Seidel <eseidel@apple.com>
2807 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2809 Reviewed by eseidel.
2811 * DrawTest/TestController.m:
2812 (-[TestController imagePathForSVGPath:]):
2813 Fixed support for using TextViewer with the layout-tests.
2814 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2816 2005-08-11 Maciej Stachowiak <mjs@apple.com>
2818 At Least Roughly Glanced At by Anders.
2820 - fix change with totally breaks the layout tests.
2822 * DumpRenderTree/DumpRenderTree.m:
2823 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
2824 load, to avoid dumping twice accidentally.
2826 2005-08-10 Eric Seidel <eseidel@apple.com>
2827 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
2831 * DumpRenderTree/DumpRenderTree.m:
2832 Added support for rendering to a PNG file.
2833 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2835 2005-08-07 Eric Seidel <eseidel@apple.com>
2839 * Scripts/run-webkit-tests: added --svg option
2840 * Scripts/run-webkit-tests-svg: Removed.
2841 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2843 2005-08-07 Eric Seidel <eseidel@apple.com>
2844 Changes by Ben La Monica <ben.lamonica@gmail.com>
2848 * svg2png/ImageDiff.h: Added.
2849 * svg2png/ImageDiff.m: Added.
2850 (getDifferenceBitmap):
2851 (computePercentageDifferent):
2852 (saveAnimatedGIFToFile):
2853 * svg2png/svg2png.m:
2854 (usage): added several new options
2855 (getBitmapForSVG): added NSBitmapImageRep generation
2856 (main): various argument changes.
2857 * svg2png/svg2png.xcodeproj/project.pbxproj:
2858 Several additions to provide image differencing functionality.
2859 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
2861 2005-08-07 Eric Seidel <eseidel@apple.com>
2865 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
2866 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
2867 Adding the first SVG layout tests:
2868 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
2870 2005-08-07 Darin Adler <darin@apple.com>
2872 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
2874 2005-08-06 Eric Seidel <eseidel@apple.com>
2878 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
2879 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
2880 * Scripts/build-dumpkcanvastree: Added.
2881 * Scripts/run-webkit-tests-svg: Added.
2882 Adds a DumpRenderTree-like tool for SVG which allows us to do
2883 text-based layout regression testing. This (like most of the
2884 SVG specific stuff) is temporary and will be replaced by
2885 DumpRenderTree once the DOMs and RenderTrees merge.
2886 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
2888 2005-08-06 Eric Seidel <eseidel@apple.com>
2892 * DrawTest/DrawTestView.m:
2893 (-[DrawTestView toggleFilterSupport:]): missing negation.
2894 One half of fix for toggling filter support.
2895 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
2897 2005-08-04 Eric Seidel <eseidel@apple.com>
2901 * Scripts/build-drawtest:
2902 * Scripts/build-dumprendertree:
2903 * Scripts/build-svg2png:
2904 * Scripts/build-webcore-svg:
2905 * Scripts/build-webkit:
2906 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
2907 Added checkRequiredSystemConfig and made all the build-* scripts
2908 use it to print a pretty warning when trying to compile on an
2909 unsupported system (less than 10.4, Xcode 2.1).
2910 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
2912 2005-08-04 Darin Adler <darin@apple.com>
2914 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
2915 the dead. It was removed by accident when someone was trying to work on the branch.
2917 2005-07-31 Darin Adler <darin@apple.com>
2919 - a little tools cleanup
2921 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
2922 project as a whole. Removed unused Default configuration.
2924 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2926 2005-07-31 Duncan Wilcox <duncan@mclink.it>
2928 Reviewed and landed by Darin Adler.
2930 Add logging of editing delegate calls for regression checking.
2932 * DumpRenderTree/DumpRenderTree.m:
2934 setup editing delegate
2936 (-[DOMNode dumpPath]):
2938 utility for editing delegate logging
2940 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2941 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2942 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2943 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2944 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2945 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2946 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2947 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2948 (-[EditingDelegate webViewDidBeginEditing:]):
2949 (-[EditingDelegate webViewDidChange:]):
2950 (-[EditingDelegate webViewDidEndEditing:]):
2951 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2952 log corresponding editing delegate methods
2954 (-[EditingDelegate webViewDidChangeSelection:]):
2955 log selection except when clearing selection after end of test (uses existing "done" flag)
2958 added clearing of selection after test
2960 2005-07-31 Eric Seidel <eseidel@apple.com>
2964 * Scripts/build-drawtest: Added.
2965 * Scripts/build-svg2png: Added.
2966 * Scripts/build-webcore-svg: Added.
2967 * Scripts/run-drawtest: Added.
2968 * Scripts/webkitdirs.pm: added checkSVGFrameworks
2969 Made it much easier to build WebCore+SVG.
2970 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2972 2005-07-29 Eric Seidel <eseidel@apple.com>
2976 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2977 Build fix. Removed bad path.
2979 2005-07-29 Eric Seidel <eseidel@apple.com>
2981 Reviewed by sullivan.
2983 * DrawTest/AppDelegate.h: Added.
2984 * DrawTest/AppDelegate.m: Added.
2985 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
2986 * DrawTest/DrawTestDocument.h: Added.
2987 * DrawTest/DrawTestDocument.m: Added.
2988 * DrawTest/DrawTestInspectorController.h: Added.
2989 * DrawTest/DrawTestInspectorController.m: Added.
2990 * DrawTest/DrawTestToolbarController.h: Added.
2991 * DrawTest/DrawTestToolbarController.m: Added.
2992 * DrawTest/DrawTestView.h: Added.
2993 * DrawTest/DrawTestView.m: Added.
2994 * DrawTest/DrawTest_Prefix.pch: Added.
2995 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
2996 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
2997 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
2998 * DrawTest/English.lproj/InfoPlist.strings: Added.
2999 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3000 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3001 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3002 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3003 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3004 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3005 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3006 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3007 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3008 * DrawTest/Info.plist: Added.
3009 * DrawTest/SVGTest.h: Added.
3010 * DrawTest/SVGTest.m: Added.
3011 * DrawTest/ScalingImageView.h: Added.
3012 * DrawTest/ScalingImageView.m: Added.
3013 * DrawTest/TestController.h: Added.
3014 * DrawTest/TestController.m: Added.
3015 * DrawTest/TestViewerSplitView.h: Added.
3016 * DrawTest/TestViewerSplitView.m: Added.
3017 * DrawTest/main.m: Added.
3018 Adding simple cocoa app for testing SVG rendering, interaction.
3019 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3021 2005-07-28 Eric Seidel <eseidel@apple.com>
3025 * svg2png/svg2png.m: Added.
3026 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3027 * svg2png/svg2png_Prefix.pch: Added.
3028 Added a simple test tool which dumps a PNG from an SVG using
3029 WebCore+SVG's SVG rendering support.
3030 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3032 2005-07-26 Maciej Stachowiak <mjs@apple.com>
3036 - new script to review the DOM layout test results and see where we stand
3037 on actual success and failure
3039 * Scripts/check-dom-results: Added.
3041 2005-07-25 Darin Adler <darin@apple.com>
3043 * Scripts/webkitdirs.pm: Check in missing line of code.
3045 2005-07-25 Darin Adler <darin@apple.com>
3047 - fixed problem that was causing JavaScriptCore test to fail
3048 (except for people who had set DYLD_FRAMEWORK_PATH)
3050 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
3051 Add code to parse configuration parameter so you can pass --deployment if you like.
3052 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
3054 * Scripts/update-javascriptcore-test-results: Add license header.
3056 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
3057 from @ARGV. This lets us use this option in commands that take other options and
3058 pass them along to a subsequent tool.
3060 2005-07-25 Darin Adler <darin@apple.com>
3062 Reviewed by Geoff Garen.
3064 - Fixed run-safari and gdb-safari to use the Safari application in the build results
3065 directory, if any, falling back to the one in the Applications directory otherwise.
3066 Does no harm for open source contributors who don't build Safari, and helps out the
3067 Safari team, since we do build Safari.
3069 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
3070 variable, and if that's not present, looks in either the build results directory or
3071 /Applications; factors code that was in both scripts before into a shared function.
3072 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
3073 now in Xcode 2.1 format and incompatible with older versions of Xcode.
3075 * Scripts/gdb-safari: Use safariPath.
3076 * Scripts/run-safari: Use safariPath.
3078 2005-07-22 Geoffrey Garen <ggaren@apple.com>
3080 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
3081 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
3083 Moved Tools/Scripts/update-mozilla-js-test-results to
3084 WebKitTools/Scripts/update-javascriptcore-test-results.
3088 * Scripts/run-javascriptcore-tests: Added.
3090 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3094 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
3096 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3098 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
3100 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3102 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
3104 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3106 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
3108 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3110 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
3112 2005-07-21 Geoffrey Garen <ggaren@apple.com>
3114 * Scripts/build-webkit:
3116 2005-07-12 Eric Seidel <eseidel@apple.com>
3120 * checkout-svg: Fixed error with symlink creation.
3122 2005-07-12 Eric Seidel <eseidel@apple.com>
3126 * checkout-svg: Added.
3127 Script to check out WebCore+SVG
3129 2005-06-30 Darin Adler <darin@apple.com>
3131 Changes based on input from Michael Kahl.
3133 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
3134 specify different style of "diff".
3135 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
3136 determineConfigurationProductDir works in all cases.
3138 2005-06-29 Darin Adler <darin@apple.com>
3140 - fixed bug which would result in multiple unwanted dumps in a single layout test
3142 * DumpRenderTree/DumpRenderTree.m:
3143 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
3145 (-[LayoutTestController waitUntilDone]): Update for name change.
3146 (-[LayoutTestController notifyDone]): Dump only if ready.
3147 (dumpRenderTree): Set up new boolean and update for name change.
3149 2005-06-29 Darin Adler <darin@apple.com>
3151 Changes by Timothy Hatcher.
3154 * Scripts/run-webkit-app: Added script to open an arbritrary application with
3155 a CVS built WebKit. Example: ./run-webkit-app Colloquy
3157 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
3158 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
3159 * Scripts/run-safari: Ditto.
3161 2005-06-26 Darin Adler <darin@apple.com>
3163 * Scripts/build-dumprendertree: Pass -project option so that having a second
3164 copy of the project (like the one Xcode 2.1 offers to make for you) that's
3165 out of date won't screw you up.
3166 * Scripts/build-webkit: Ditto.
3168 2005-06-23 Darin Adler <darin@apple.com>
3170 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
3172 2005-06-23 Darin Adler <darin@apple.com>
3174 Changes based on input from Michael Kahl.
3176 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
3177 directory passed in.
3179 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
3180 getcwd() in the code to find the base product dir. Added code to handle unusual
3181 base product directory values that use SRCROOT.
3183 2005-06-22 Darin Adler <darin@apple.com>
3185 Change by Anders Carlsson.
3187 - added support for dumping title changes
3189 * DumpRenderTree/DumpRenderTree.m:
3190 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
3191 if requested by JavaScript.
3192 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
3193 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
3194 (dumpRenderTree): Start flag as NO.
3196 2005-06-20 Darin Adler <darin@apple.com>
3198 Reviewed by Justin Garcia.
3200 * Scripts/run-webkit-tests: Report number of tests when they succeed.
3202 2005-06-18 Darin Adler <darin@apple.com>
3204 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
3205 in the hope of making the tool use less memory and run faster.
3207 2005-06-18 Darin Adler <darin@apple.com>
3209 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
3210 * Scripts/cvs-unapply: Ditto.
3212 2005-06-17 Maciej Stachowiak <mjs@apple.com>
3214 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
3215 benefit of all WebKit hackerdom
3217 * Scripts/prepare-ChangeLog: Added.
3219 2005-06-16 Darin Adler <darin@apple.com>
3221 - recent changes to XcodeOptions made it depend on the current directory
3222 The intent was to have the WebKitBuild directory be next to WebKitTools,
3223 not inside the various build directories. Workaround for now is to call
3224 XcodeOptions when the directory is set to the WebKit directory.
3226 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
3227 at the start of the script.
3228 * Scripts/build-webkit: Ditto.
3230 2005-06-15 Darin Adler <darin@apple.com>
3232 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
3234 2005-06-14 Darin Adler <darin@apple.com>
3236 Changes by Anders Carlsson.
3239 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
3240 Add gdb-safari script to launch Safari under gdb
3242 * Scripts/gdb-safari: Added.
3244 2005-06-12 Darin Adler <darin@apple.com>
3246 Changes by Stuart Morgan.
3249 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
3250 * Scripts/cvs-apply: Ditto.
3251 * Scripts/cvs-create-patch: Ditto.
3252 * Scripts/cvs-unapply: Ditto.
3253 * Scripts/run-webkit-tests: Ditto.
3254 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
3256 2005-06-12 Darin Adler <darin@apple.com>
3258 * Scripts/cvs-apply: Handle case of an empty patch better.
3259 * Scripts/cvs-unapply: Ditto.
3261 2005-06-12 Darin Adler <darin@apple.com>
3263 Changes by Michael Gaiman.
3266 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
3267 WebKit no longer builds after configuration supporting build changes
3269 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
3271 2005-06-12 Darin Adler <darin@apple.com>
3273 * Scripts/update-webkit: Make this script work when called from any directory.
3275 2005-06-12 Darin Adler <darin@apple.com>
3278 Includes changes by Stuart Morgan as well as my own.
3280 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
3281 symrootXcodeOptions to set the -buildstyle option.
3282 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
3283 The new --development option does the same thing.
3284 * Scripts/run-safari: Ditto.
3285 * Scripts/run-webkit-tests: Ditto.
3286 * Scripts/update-webkit: Ditto.
3287 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
3289 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
3290 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
3291 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
3292 product directory. Read the default configuration from a file, overridable by a passed-in command-line
3295 2005-06-11 Darin Adler <darin@apple.com>
3297 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
3298 to execute the cvs diff commands.
3300 2005-06-11 Darin Adler <darin@apple.com>
3302 - added first cuts at some cvs scripts
3304 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
3305 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
3306 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
3307 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
3309 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
3311 * Scripts/cvs-abandon: Added.
3312 * Scripts/cvs-apply: Added.
3313 * Scripts/cvs-create-patch: Added.
3314 * Scripts/cvs-unapply: Added.
3316 2005-06-09 Darin Adler <darin@apple.com>
3320 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
3321 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
3323 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
3324 for Foundation.framework. How was it ever wrong?
3326 - finally, I tested making the default build directory work; it works now
3328 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
3329 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
3330 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
3331 * Scripts/build-dumprendertree: Ditto.
3333 2005-06-09 Darin Adler <darin@apple.com>
3335 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
3336 work. Someone should try building without setting the Xcode build product directory now,
3337 and let me know if it works.
3339 2005-06-08 Darin Adler <darin@apple.com>
3341 - quick fix to try to get build scripts working again
3343 * Scripts/build-dumprendertree: Add FindBin.
3344 * Scripts/build-webkit: Ditto.
3345 * Scripts/run-safari: Ditto.
3346 * Scripts/run-webkit-tests: Ditto.
3347 * Scripts/update-webkit: Ditto.
3349 2005-06-08 Darin Adler <darin@apple.com>
3353 - some build script enhancements
3355 * Scripts/build-dumprendertree: Changed to use webkitdirs.
3356 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
3358 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
3359 before Deplyment in that case.
3360 * Scripts/run-webkit-tests: Changed to use webkitdirs.
3361 * Scripts/update-webkit: Changed to use webkitdirs.
3363 * Scripts/webkitdirs.pm: Added.
3365 2005-06-08 Maciej Stachowiak <mjs@apple.com>
3367 Code change by Toby Peterson <toby@opendarwin.org>
3370 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
3371 get confused because build-webkit now makes even 2.0 build directories look
3374 2005-06-07 Darin Adler <darin@apple.com>
3376 Reviewed by Adele Peterson.
3378 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
3379 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
3380 so we can run tests with Xcode 2.1.
3382 2005-06-07 Darin Adler <darin@apple.com>
3384 Reviewed by Adele Peterson.
3386 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
3387 layout-tests directory to include additional sets of tests.
3389 2005-06-07 Darin Adler <darin@apple.com>
3391 * checkout: Added license.
3392 * Scripts/build-dumprendertree: Ditto.
3393 * Scripts/run-webkit-tests: Ditto.
3394 * Scripts/update-webkit: Ditto.
3396 2005-06-07 Darin Adler <darin@apple.com>
3398 Change by Toby Peterson <toby@opendarwin.org>.
3401 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
3402 * Scripts/run-safari: Ditto.
3404 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3406 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
3408 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3410 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
3412 2005-06-06 Maciej Stachowiak <mjs@apple.com>
3414 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
3416 2005-06-05 Darin Adler <darin@apple.com>
3418 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
3419 * Scripts/build-dumprendertree: Added.
3420 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
3421 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
3423 2005-06-05 Darin Adler <darin@apple.com>
3425 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
3427 2005-06-05 Darin Adler <darin@apple.com>
3429 - add run-webkit-tests script; not working yet but the pieces are there
3431 * Scripts/run-webkit-tests: Added.
3433 * DumpRenderTree/DumpRenderTree.m: Added.
3434 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
3435 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
3436 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
3438 2005-06-05 Darin Adler <darin@apple.com>
3440 - created module, first cut at Web Kit Open Source Project scripts
3443 * Scripts/build-webkit: Added.
3444 * Scripts/run-safari: Added.
3445 * Scripts/update-webkit: Added.
3448 === creation of WebKitTools module ===