1 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
3 Reviewed by Darin, landed by Maciej.
5 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
6 and bundles the WebKit frameworks inside it.
7 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
9 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
10 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
11 number of the SVN working copy.
12 * WebKitLauncher: Added.
13 * WebKitLauncher/Info.plist: Added.
14 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
15 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
16 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
17 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
18 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
20 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
21 It sets up the environment to have Safari use the bundled frameworks
22 and load the WebKitNightlyEnabler dylib before exec'ing Safari
23 * WebKitLauncher/start.html: Added.
24 * WebKitLauncher/webkit.icns: Added.
26 2006-04-05 Darin Adler <darin@apple.com>
30 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
31 are allowed to have global initializers.
33 2006-04-05 Geoffrey Garen <ggaren@apple.com>
37 * Scripts/run-testkjs:
38 - pipe STDERR to /dev/null by default; new --verbose option overrides
40 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
41 - output run command in a format that can be copied and pasted into the
42 terminal to run manually
44 2006-04-03 Justin Garcia <justin.garcia@apple.com>
48 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
49 A drag and drop in DumpRenderTree copies the source, instead of cutting it
51 Tell the source that the drag is over after the drag is performed, not before.
53 * DumpRenderTree/EventSendingController.m:
54 (-[EventSendingController mouseUp]):
56 2006-04-01 Darin Adler <darin@apple.com>
60 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
61 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
62 elements in that array are not strings.
64 2006-03-31 Darin Adler <darin@apple.com>
66 Reviewed by John Sullivan.
68 - added a "--reset-results" option to run-webkit-tests so you can reset
69 the results without first deleting expected results
70 - <rdar://problem/4185878> add scroll position to dumpRenderTree
72 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
73 more logical. Moved all the subroutines to the end of the file. Added a
76 * DumpRenderTree/DumpRenderTree.m:
77 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
78 to generate new output for all tests it runs.
79 (dump): Dump the scroll position if it's non-zero. Always dump the image when
80 the --dump-all-pixels option is passed. Also tightened up the image dumping
81 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
82 with code to save and restore the context.
84 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
85 * DumpRenderTree/EventSendingController.m: Added now-needed include.
87 2006-03-30 Tim Omernick <timo@apple.com>
89 Reviewed by NOBODY (just fixing copyrights)
91 * DumpRenderTree/ObjCPlugin.h:
93 * DumpRenderTree/ObjCPlugin.m: ditto
94 * DumpRenderTree/ObjCPluginFunction.h: ditto
95 * DumpRenderTree/ObjCPluginFunction.m: ditto
97 2006-03-30 Tim Omernick <timo@apple.com>
101 * DumpRenderTree/DumpRenderTree.m:
102 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
103 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
104 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
105 exposed to JS as a callable object.
107 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
108 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
110 * DumpRenderTree/ObjCPlugin.h: Added.
111 * DumpRenderTree/ObjCPlugin.m: Added.
112 * DumpRenderTree/ObjCPluginFunction.h: Added.
113 * DumpRenderTree/ObjCPluginFunction.m: Added.
115 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
116 Added a new method, "removeDefaultMethod", which removes the default method from the
117 plugin object's class. The effect is that the plugin object is mutated from a callable
118 function to a simple object.
120 Handle "removeDefaultMethod".
121 (pluginInvokeDefault):
122 Made the default method actually do something (return 1).
124 2006-03-30 Eric Seidel <eseidel@apple.com>
128 Remove WebFrame::viewImpl(), setMainFrame on page.
130 * Spinneret/Spinneret/WebFrame.cpp:
131 (WebKit::WebFrame::WebFrame):
132 * Spinneret/Spinneret/WebFrame.h:
133 * Spinneret/Spinneret/WebView.cpp:
134 (WebKit::WebView::mouseMoved):
135 (WebKit::WebView::mouseDown):
136 (WebKit::WebView::mouseUp):
137 (WebKit::WebView::mouseDoubleClick):
138 (WebKit::WebViewWndProc):
140 2006-03-30 Eric Seidel <eseidel@apple.com>
144 Fix html editing input & basic form submission.
146 * Spinneret/Spinneret/WebFrame.cpp:
147 (WebKit::WebFrame::submitForm):
148 (WebKit::WebFrame::loadURL):
149 * Spinneret/Spinneret/WebFrame.h:
150 * Spinneret/Spinneret/WebView.cpp:
151 (WebKit::WebView::keyPress):
152 (WebKit::WebViewWndProc):
154 2006-03-28 Justin Garcia <justin.garcia@apple.com>
158 <rdar://problem/4402375>
159 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
161 Added an option to draw the selectionRect.
163 * DumpRenderTree/DumpRenderTree.m:
165 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
166 (-[LayoutTestController dumpSelectionRect]):
169 2006-03-29 Darin Adler <darin@apple.com>
171 Reviewed by Tim Hatcher.
173 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
175 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
177 2006-03-28 Eric Seidel <eseidel@apple.com>
181 * Scripts/check-for-global-initializers: remove svg exceptions.
183 2006-03-28 Timothy Hatcher <timothy@apple.com>
187 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
189 * Scripts/check-for-global-initializers:
191 2006-03-28 Timothy Hatcher <timothy@apple.com>
193 Build fix. Turn off uninitialized warnings for the first block of code.
195 * Scripts/check-for-global-initializers:
197 2006-03-28 Darin Adler <darin@apple.com>
201 * Scripts/check-for-global-initializers: Added.
203 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
205 Reviewed by darin. Landed by eseidel.
207 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
208 Add repaint testing support to run-webkit-tests
210 * DumpRenderTree/DumpRenderTree.m:
211 (main): Added --repaint and --horizontal-sweep options.
212 (dump): Repaint line-by-line or column-by-column when the appropriate option
214 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
215 and repaintSweepHorizontally() methods to layoutTestController.
216 (-[LayoutTestController testRepaint]):
217 (-[LayoutTestController repaintSweepHorizontally]):
219 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
220 to force these settings on tests that do not ask for them.
222 2006-03-24 Eric Seidel <eseidel@apple.com>
228 * Spinneret/Spinneret/WebFrame.cpp:
229 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
231 2006-03-21 Beth Dakin <bdakin@apple.com>
235 Add support for keyDown() to DumpRenderTree.
237 * DumpRenderTree/DumpRenderTree.m:
238 (main): Set the preference for tabbing to links.
239 * DumpRenderTree/EventSendingController.m:
240 (+[EventSendingController isSelectorExcludedFromWebScript:]):
241 (+[EventSendingController webScriptNameForSelector:]):
242 (-[EventSendingController keyDown:withModifiers:]):
244 2006-03-20 Eric Seidel <eseidel@apple.com>
250 * Spinneret/Spinneret/Spinneret.vcproj:
251 * Spinneret/Spinneret/WebFrame.h:
252 * Spinneret/Spinneret/WebView.cpp:
253 (WebKit::WebView::mouseMoved):
254 (WebKit::WebView::mouseDown):
255 (WebKit::WebView::mouseUp):
256 (WebKit::WebView::mouseDoubleClick):
257 (WebKit::WebView::keyPress):
258 (WebKit::WebViewWndProc):
260 2006-03-19 Darin Adler <darin@apple.com>
264 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
265 we can test it in layout tests. We don't really need tests that run with
266 pop-up blocking off at the moment. If we do some day, we can add some
267 API for turning it off in the layout test controller.
269 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
270 don't ignore the leak; it should no longer show up.
272 2006-03-17 Anders Carlsson <andersca@mac.com>
276 * Scripts/install-win-extras:
277 Fetch "Program Files" location from the environment.
279 2006-03-17 Eric Seidel <eseidel@apple.com>
283 Fix Spinneret to pass Events as const & not as pointers.
285 * Spinneret/Spinneret/WebView.cpp:
286 (WebKit::WebView::mouseMoved):
287 (WebKit::WebView::mouseDown):
288 (WebKit::WebView::mouseUp):
289 (WebKit::WebView::mouseDoubleClick):
290 (WebKit::WebView::keyPress):
292 2006-03-17 Eric Seidel <eseidel@apple.com>
296 Add support for basic HTML editing.
298 * Spinneret/Spinneret/WebView.cpp:
299 (WebKit::WebView::WebView):
300 (WebKit::WebView::keyPress):
302 2006-03-17 Eric Seidel <eseidel@apple.com>
304 Rubber-stamped by ggaren.
306 Break DumpRenderTree.m up into several files to make the code more readable.
308 * DumpRenderTree/DumpRenderTree.h: Added.
309 * DumpRenderTree/DumpRenderTree.m:
310 (doneLoading): new accessor function for "done" global.
311 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
312 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
313 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
314 * DumpRenderTree/EditingDelegate.h: Added.
315 * DumpRenderTree/EditingDelegate.m: Added.
316 (-[EditingDelegate webViewDidChangeSelection:]):
317 * DumpRenderTree/EventSendingController.h: Added.
318 * DumpRenderTree/EventSendingController.m: Added.
320 2006-03-16 Eric Seidel <eseidel@apple.com>
324 Add resize, scroll event support.
326 * Spinneret/Spinneret/WebView.cpp:
327 (WebKit::WebView::mouseMoved):
328 (WebKit::WebView::mouseDown):
329 (WebKit::WebView::mouseUp):
330 (WebKit::WebView::mouseDoubleClick):
331 (WebKit::WebView::keyPress):
332 (WebKit::WebViewWndProc):
333 * Spinneret/Spinneret/WebView.h:
335 2006-03-16 Eric Seidel <eseidel@apple.com>
339 Make build-webkit print correctly to stdout on windows.
341 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
343 2006-03-15 Eric Seidel <eseidel@apple.com>
347 Fix eventSender.mouseClick() to update lastClick timestamp.
349 * DumpRenderTree/DumpRenderTree.m:
350 (-[EventSendingController mouseClick]):
352 2006-03-15 Darin Adler <darin@apple.com>
356 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
357 that had a lowercase "i" in it so this builds on case-sensitive
360 2006-03-15 Geoffrey Garen <ggaren@apple.com>
364 Added run-testkjs and compare-timing-files scripts, to support super
367 * Scripts/compare-timing-files: Added.
368 * Scripts/run-testkjs: Added.
370 2006-03-14 Eric Seidel <eseidel@apple.com>
374 Make the URL bar relinquish focus on page load.
376 * Spinneret/Spinneret/Spinneret.cpp:
379 2006-03-14 Eric Seidel <eseidel@apple.com>
383 Fix WebView to allow KeyFocus.
384 Add handling of space and shift-space for scrolling.
386 * Spinneret/Spinneret/WebView.cpp:
387 (WebKit::scrollMessageForKey):
388 (WebKit::WebViewWndProc):
390 2006-03-10 Eric Seidel <eseidel@apple.com>
394 Add scrolling support into Spinneret.
396 * Spinneret/Spinneret/WebFrame.cpp:
397 (WebKit::WebFrame::paint):
398 * Spinneret/Spinneret/WebView.cpp:
399 (WebKit::WebView::createWebView):
400 (WebKit::calculateScrollDelta):
401 (WebKit::scrollMessageForKey):
402 (WebKit::WebViewWndProc):
404 2006-03-13 Eric Seidel <eseidel@apple.com>
408 Fix checksum generation on Intel machines.
409 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
410 give a small speed boost now that it uses a shared buffer.
412 * DumpRenderTree/DumpRenderTree.m:
415 (md5HashStringForBitmap):
416 * DumpRenderTree/ImageDiff.m:
417 (computePercentageDifferent):
419 2006-03-13 Darin Adler <darin@apple.com>
421 Reviewed by Tim Hatcher.
423 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
424 have it named httpd-1.3 instead.
426 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
428 Fix proposed by Mitz Pettel, reviewed by Darin.
430 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
431 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
433 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
434 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
437 2006-03-09 Darin Adler <darin@apple.com>
439 Reviewed by John Sullivan.
441 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
442 memory leak in the plug-in tests
444 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
445 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
446 (NPP_SetWindow): Remove unneeded code to store the window pointer.
448 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
449 Moved the browser global in here since it's declared in this file's header.
450 Changed the code to set up the pluginClass structure to not use function
451 pointer casts. Those are dangerous because they can hide many types of mismatch.
452 And indeed when I did this I discovered that many functions were missing their
453 boolean return values or had parameter declarations with the wrong types.
454 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
455 clarity. Added boolean return value: return true when successful and false when not.
456 (pluginSetProperty): Added boolean return value, return false since we have no
457 properties we can set.
458 (pluginInvoke): Added boolean return value. Return true when successful and false
459 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
460 return value from calling the browser. Changed code to put the strings in malloc
461 buffers instead of relying on GCC's extension that allows variable-sized arrays
463 (pluginInvokeDefault): Added boolean return value, return false since we have no
464 default function to call.
465 (pluginInvalidate): Added missing parameter. Removed comment.
466 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
467 to cast the result of malloc.
468 (pluginDeallocate): Removed uneeded cast.
470 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
471 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
472 that match NPObject's fields. Removed unused NPWindow pointer.
474 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
476 Test: fast/events/event-sender-mouse-click.html
480 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
481 DRT hangs when doing eventSender.mouseDown on native widgets
483 * DumpRenderTree/DumpRenderTree.m:
484 (+[EventSendingController isSelectorExcludedFromWebScript:]):
485 (-[EventSendingController mouseClick]): Simulates a click in a native
486 widget by queueing a mouseUp before sending the mouseDown, so that
487 the widget's mouse tracking event loop doesn't hang indefinitely.
489 2006-03-09 Maciej Stachowiak <mjs@apple.com>
493 - make link clicks work by handling link click requests
496 * Spinneret/Spinneret/Spinneret.cpp:
498 * Spinneret/Spinneret/Spinneret.h:
499 * Spinneret/Spinneret/WebFrame.cpp:
500 (WebKit::WebFrame::WebFrame):
501 (WebKit::WebFrame::openURL):
502 (WebKit::WebFrame::loadURL):
503 * Spinneret/Spinneret/WebFrame.h:
505 2006-03-08 Eric Seidel <eseidel@apple.com>
509 Focus URL bar on Spinneret launch, remove border from WebView.
510 Stop WebFrame from deleting the job (prevent crash).
512 * Spinneret/Spinneret/Spinneret.cpp:
514 * Spinneret/Spinneret/WebFrame.cpp:
515 (WebKit::WebFrame::receivedAllData):
516 (WebKit::WebFrame::paint):
517 * Spinneret/Spinneret/WebView.cpp:
518 (WebKit::WebView::createWebView):
520 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
524 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
525 (pluginInvoke): Added a method to test getURL.
527 2006-03-08 Maciej Stachowiak <mjs@apple.com>
531 - load URLs, not file paths, in Spinneret
533 * Spinneret/Spinneret/Spinneret.cpp:
535 * Spinneret/Spinneret/Spinneret.vcproj:
536 * Spinneret/Spinneret/WebFrame.cpp:
537 (WebKit::WebFrame::loadURL):
538 (WebKit::WebFrame::receivedData):
539 (WebKit::WebFrame::receivedAllData):
540 * Spinneret/Spinneret/WebFrame.h:
541 * Spinneret/Spinneret/WebView.cpp:
542 (WebKit::WebView::WebView):
544 2006-03-08 Darin Adler <darin@apple.com>
548 - fixed AppleScript layout test results to not be endian-dependent
549 (Hyatt complained to me about this one)
551 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
552 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
553 (which are endian-dependent).
555 2006-03-07 Darin Adler <darin@apple.com>
559 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
560 unwanted output while running layout tests
562 * DumpRenderTree/DumpRenderTree.m:
563 (checkedMalloc): Added.
564 (checkedRealloc): Added.
565 (makeLargeMallocFailSilently): Added.
566 (main): Call makeLargeMallocFailSilently.
568 2006-03-06 Darin Adler <darin@apple.com>
570 * Scripts/do-webcore-rename: Add some more planned renaming.
572 2006-03-06 Eric Seidel <eseidel@apple.com>
576 * Spinneret/Spinneret/WebFrame.cpp:
577 (WebKit::WebFrame::paint): force layout before painting
579 2006-03-06 Justin Garcia <justin.garcia@apple.com>
583 Sent the windowNumber when sending events.
584 Added leapForward so that we don't have to spend time waiting
585 in layout tests that do mouse operations that require delays.
587 * DumpRenderTree/DumpRenderTree.m:
588 (+[EventSendingController isSelectorExcludedFromWebScript:]):
589 (+[EventSendingController webScriptNameForSelector:]):
590 (-[EventSendingController currentEventTime]):
591 (-[EventSendingController leapForward:]):
592 (-[EventSendingController mouseDown]):
593 (-[EventSendingController mouseUp]):
594 (-[EventSendingController mouseMoveToX:Y:]):
596 2006-03-05 Darin Adler <darin@apple.com>
598 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
599 Script now works (after landing my two pending patches).
601 2006-03-05 Darin Adler <darin@apple.com>
603 - check in a script to do a "big" rename in WebCore
604 (can be run whenever we're ready to do it)
606 * Scripts/do-webcore-rename: Added.
608 2006-03-05 Maciej Stachowiak <mjs@apple.com>
612 * Spinneret/Spinneret/WebFrame.cpp:
613 (WebKit::WebFrame::loadFilePath): Close file when done.
615 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
617 Reviewed by Darin, landed by ap.
619 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
620 Mouse moved events do not work in DumpRenderTree
622 Test: fast/events/event-sender-mouse-moved.html
624 * DumpRenderTree/DumpRenderTree.m:
625 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
627 2006-03-04 Eric Seidel <eseidel@apple.com>
631 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
632 Disable background erase to avoid tearing.
633 Fix potential memory smasher from extra long urls.
635 * Spinneret/Spinneret/Spinneret.cpp:
637 * Spinneret/Spinneret/Spinneret.vcproj:
638 * Spinneret/Spinneret/WebFrame.cpp:
639 (WebKit::WebFrame::loadFilePath):
640 (WebKit::WebFrame::paint):
641 * Spinneret/Spinneret/WebView.cpp:
642 (WebKit::registerWebViewWithInstance):
644 2006-03-04 Eric Seidel <eseidel@apple.com>
648 Hang WebView pointer off of HWND (gets rid of global hack).
649 Remove MessageBox displayed on url change.
651 * Spinneret/Spinneret/Spinneret.cpp:
654 * Spinneret/Spinneret/WebView.cpp:
655 (WebKit::registerWebViewWithInstance):
656 (WebKit::WebView::createWebView):
657 (WebKit::WebViewWndProc):
659 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
663 Automatically kill httpd if it appears to be already running.
665 * Scripts/run-webkit-tests:
667 2006-03-04 Maciej Stachowiak <mjs@apple.com>
671 * Spinneret/Spinneret/WebFrame.cpp:
672 (WebKit::WebFrame::loadFilePath): Improved local file loading.
674 2006-03-03 Eric Seidel <eseidel@apple.com>
678 A few more fixes to make run-webkit-tests really work on win32.
680 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
682 * Scripts/run-webkit-tests:
684 2006-03-03 Eric Seidel <eseidel@apple.com>
688 Make run-webkit-tests work on win32.
690 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
692 (dumpRenderTreeMain):
693 (dumpRenderTreeToStdOut):
696 * Scripts/run-webkit-tests:
697 * Scripts/webkitdirs.pm:
698 * Spinneret/Spinneret/WebView.cpp:
699 (WebKit::WebView::WebView):
701 2006-03-03 Eric Seidel <eseidel@apple.com>
705 Add WebFrame class (to hold Frame and FrameView).
706 Add Location bar support to Spinneret.
708 * Spinneret/Spinneret/Spinneret.cpp:
713 * Spinneret/Spinneret/Spinneret.vcproj:
714 * Spinneret/Spinneret/WebFrame.cpp: Added.
715 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
716 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
717 (WebKit::WebFrame::WebFrame):
718 (WebKit::WebFrame::loadFilePath):
719 (WebKit::WebFrame::loadHTMLString):
720 (WebKit::WebFrame::paint):
721 (WebKit::WebFrame::impl):
722 (WebKit::WebFrame::viewImpl):
723 * Spinneret/Spinneret/WebFrame.h: Added.
724 * Spinneret/Spinneret/WebView.cpp:
725 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
726 (WebKit::WebView::WebView):
727 (WebKit::WebView::windowHandle):
728 (WebKit::WebView::mainFrame):
729 (WebKit::WebView::mouseMoved):
730 (WebKit::WebView::mouseDown):
731 (WebKit::WebView::mouseUp):
732 (WebKit::WebView::mouseDoubleClick):
733 (WebKit::WebViewWndProc):
734 * Spinneret/Spinneret/WebView.h:
736 2006-03-02 Eric Seidel <eseidel@apple.com>
740 * Spinneret/Spinneret/WebView.cpp:
741 (WebKit::registerWebViewWithInstance):
742 (WebKit::WebView::WebView):
743 (WebKit::WebView::mouseMoved):
744 (WebKit::WebView::mouseDown):
745 (WebKit::WebView::mouseUp):
746 (WebKit::WebView::mouseDoubleClick):
747 (WebKit::WebViewWndProc):
748 * Spinneret/Spinneret/WebView.h:
750 2006-03-01 Eric Seidel <eseidel@apple.com>
752 Reviewed by andersca.
754 Make spinneret take advantage of the new GraphicsContextCairo.
756 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
757 (main): updated to match style guidelines.
758 * Spinneret/Spinneret/Spinneret.cpp:
760 * Spinneret/Spinneret/WebView.cpp:
761 (WebKit::registerWebViewWithInstance):
762 (WebKit::WebView::WebView):
763 (WebKit::WebView::~WebView):
764 (WebKit::WebView::drawRect):
766 * Spinneret/Spinneret/WebView.h:
768 2006-03-01 Justin Garcia <justin.garcia@apple.com>
772 Give the events that eventSender sends a unique eventNumber
774 * DumpRenderTree/DumpRenderTree.m:
775 (-[EventSendingController mouseDown]):
776 (-[EventSendingController mouseUp]):
777 (-[EventSendingController mouseMoveToX:Y:]):
779 2006-03-01 Eric Seidel <eseidel@apple.com>
783 Add a stub win32 application to test WebCore drawing on windows.
786 * Spinneret/Spinneret: Added.
787 * Spinneret/Spinneret.sln: Added.
788 * Spinneret/Spinneret/Resource.h: Added.
789 * Spinneret/Spinneret/Spinneret.cpp: Added.
795 * Spinneret/Spinneret/Spinneret.h: Added.
796 * Spinneret/Spinneret/Spinneret.ico: Added.
797 * Spinneret/Spinneret/Spinneret.rc: Added.
798 * Spinneret/Spinneret/Spinneret.vcproj: Added.
799 * Spinneret/Spinneret/WebView.cpp: Added.
800 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
801 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
802 (WebKit::registerWebViewWithInstance):
803 (WebKit::WebView::createWebView):
804 (WebKit::WebView::WebView):
805 (WebKit::WebView::~WebView):
806 (WebKit::WebView::drawRect):
807 (WebKit::WebView::windowHandle):
809 * Spinneret/Spinneret/WebView.h: Added.
810 * Spinneret/Spinneret/small.ico: Added.
811 * Spinneret/Spinneret/stdafx.cpp: Added.
812 * Spinneret/Spinneret/stdafx.h: Added.
814 2006-02-28 Eric Seidel <eseidel@apple.com>
818 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
819 (main): add ability to dump render tree and read from a local file.
821 2006-02-27 Eric Seidel <eseidel@apple.com>
825 * Scripts/install-win-extras: fix dll permissions & download zlib too.
827 2006-02-27 Eric Seidel <eseidel@apple.com>
831 Test new KConfig -> PlugInInfoStore change.
832 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
834 * DumpRenderTree/DumpRenderTree.m:
835 (main): load test netscape plugin
836 * Scripts/run-webkit-tests: style update
838 2006-02-24 Eric Seidel <eseidel@apple.com>
842 Make DumpRenderTree link against icu.
844 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
846 2006-02-24 Eric Seidel <eseidel@apple.com>
850 Make DumpRenderTree link against libxml, etc.
852 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
854 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
856 Reviewed and landed by Anders.
858 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
859 getting called from the run loop, making the view render each test and thus slowing
862 * DumpRenderTree/DumpRenderTree.m:
863 (main): Set the offscreen window to not autodisplay.
865 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
869 - Turn http tests back on by default.
870 - Wait for Apache to actually start serving requests.
871 - Get user id from a built-in variable rather than an external command;
872 don't pass the group.
874 * Scripts/run-webkit-tests:
876 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
878 Suggested by Mitz Pettel, reviewed by Darin.
880 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
881 can run CGIs even if the permissions are 700 or 600.
883 2006-02-23 Darin Adler <darin@apple.com>
885 Collaborating with Alexey.
887 - turn off http tests by default until we figure out how to get them
888 to run even when permissions on CGI files are 700 instead of 755
890 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
892 2006-02-23 Eric Seidel <eseidel@apple.com>
894 Add *.user to ignore list.
896 2006-02-23 Eric Seidel <eseidel@apple.com>
898 Remove binary file which shouldn't have been commited (and add to ignore list).
900 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
901 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
903 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
907 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
909 2006-02-22 Eric Seidel <eseidel@apple.com>
911 Reviewed by Tim Hatcher.
913 Fix install-win-extras to not try to re-install setx if installed.
915 * Scripts/install-win-extras:
917 2006-02-22 Eric Seidel <eseidel@apple.com>
919 One more file possibly missing from previous commit?
921 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
922 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
924 2006-02-22 Eric Seidel <eseidel@apple.com>
928 Files missing from previous commit.
930 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
931 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
933 2006-02-22 Eric Seidel <eseidel@apple.com>
935 Rubber-stamped by justing.
937 Corrected path for DumpRenderTree.intermediate files
939 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
941 2006-02-22 Eric Seidel <eseidel@apple.com>
945 Fixed build-dumprendertree to exit with correct error codes.
947 * Scripts/build-dumprendertree:
949 2006-02-22 Eric Seidel <eseidel@apple.com>
953 Update build scripts to generalize building on Win32, and allow
954 building of DumpRenderTree on Win32 from build-dumprendertree.
956 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
958 * Scripts/build-dumprendertree:
959 * Scripts/build-webkit:
960 * Scripts/webkitdirs.pm:
962 2006-02-22 Eric Seidel <eseidel@apple.com>
966 * DumpRenderTree/DumpRenderTree.vcproj: Added.
967 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
968 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
969 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
970 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
971 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
973 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
974 * Scripts/build-webkit: make build-webkit cleanup after itself
976 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
980 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
981 Some minor fixes to http tests.
983 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
985 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
989 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
990 Would like to use locally installed Apache for testing.
992 Added two run-webkit-tests options:
993 --http (--nohttp) - whether to launch Apache (defaults to yes);
994 --port - which port to listen on (defaults to 8000).
996 Tests in LayoutTests/http are not run directly, and Apache is used instead.
997 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
998 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1000 Also added support for .shtml and .text files. Text files give an empty
1001 *-expected.txt, but a correct image.
1003 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1005 * Scripts/run-webkit-tests:
1007 2006-02-21 Darin Adler <darin@apple.com>
1009 Suggested by Mark Rowe.
1011 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1012 reporting leak counts.
1014 2006-02-18 Maciej Stachowiak <mjs@apple.com>
1018 - Added install-win-extras script which installs some extra
1019 programs and libraries, and does Windows first-time setup.
1021 * Scripts/build-webkit: Add a newline between build results.
1022 * Scripts/install-win-extras: Added.
1024 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1028 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1029 DumpRenderTree should be able to load files via HTTP
1031 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1032 Handle tests starting with "http://" as real URLs, not file system paths.
1034 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
1038 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1039 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1041 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1043 2006-02-18 Darin Adler <darin@apple.com>
1045 * Scripts/commit-log-editor: Added.
1047 2006-02-17 Eric Seidel <eseidel@apple.com>
1051 Make Win32 have the same default "WebKitBuild" directory behavior.
1053 * Scripts/build-webkit:
1054 * Scripts/webkitdirs.pm:
1056 2006-02-17 Eric Seidel <eseidel@apple.com>
1060 * Scripts/build-webkit: make win32 actually report errors
1062 2006-02-17 Eric Seidel <eseidel@apple.com>
1066 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1068 2006-02-17 Eric Seidel <eseidel@apple.com>
1072 * Scripts/run-webkit-tests: Ignore flash leaks
1074 2006-02-15 Justin Garcia <justin.garcia@apple.com>
1078 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1079 Add drag and drop support to DumpRenderTree
1081 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1082 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
1084 * DumpRenderTree/DumpRenderTree.m:
1086 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1087 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1088 (-[WaitUntilDoneDelegate webViewFocus:]):
1089 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1090 (+[LayoutTestController webScriptNameForSelector:]):
1091 (-[LayoutTestController setWindowIsKey:]):
1092 (-[LayoutTestController setMainFrameIsFirstResponder:]):
1093 (-[EventSendingController init]):
1094 (-[EventSendingController mouseDown]):
1095 (-[EventSendingController mouseUp]):
1096 (-[EventSendingController mouseMoveToX:Y:]):
1098 (-[DumpRenderTreeWindow isKeyWindow]):
1099 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1100 (-[DumpRenderTreeDraggingInfo dealloc]):
1101 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1102 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1103 (-[DumpRenderTreeDraggingInfo draggingLocation]):
1104 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1105 (-[DumpRenderTreeDraggingInfo draggedImage]):
1106 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1107 (-[DumpRenderTreeDraggingInfo draggingSource]):
1108 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1109 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1110 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1111 * DumpRenderTree/TextInputController.m:
1112 (-[TextInputController firstRectForCharactersFrom:length:]):
1113 (-[TextInputController characterIndexForPointX:Y:]):
1115 2006-02-15 Geoffrey Garen <ggaren@apple.com>
1119 * DumpRenderTree/DumpRenderTree.m:
1120 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
1121 Added a dummy method for the sake of LayoutTests/plugins/
1122 undefined-property-crash.html. (It tests a crash due to fallback
1123 object use. WebCore won't create a fallback object if the method is
1126 2006-02-14 Eric Seidel <eseidel@apple.com>
1130 * Scripts/run-webkit-tests: added --results-directory (-o) option
1132 2006-02-09 Eric Seidel <eseidel@apple.com>
1134 Rubber-stamped by mjs.
1136 Renamed split-class to split-file-by-class.
1138 * Scripts/build-webkit: Updated copyright.
1139 * Scripts/split-class: Removed.
1140 * Scripts/split-file-by-class: Added.
1142 2006-02-08 Eric Seidel <eseidel@apple.com>
1144 Rubber-stamped by mjs.
1146 Adding new script for splitting multi-class files.
1147 Also adding supporting perl module with space removing heuristics.
1149 * Scripts/SpacingHeuristics.pm: Added.
1150 * Scripts/build-drawtest: updated copyright header
1151 * Scripts/split-class: Added.
1153 2006-02-08 Justin Garcia <justin.garcia@apple.com>
1155 Reviewed by thatcher
1157 Changes to test fix for:
1158 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1159 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1161 * DumpRenderTree/DumpRenderTree.m:
1162 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1163 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1164 (+[LayoutTestController webScriptNameForSelector:]):
1165 (-[LayoutTestController setWindowHasFocus:]):
1166 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1168 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
1170 Reviewed by Timothy.
1172 Support automated testing of AppleScript "do JavaScript" command
1173 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1175 * DumpRenderTree/AppleScriptController.h: Added.
1176 * DumpRenderTree/AppleScriptController.m: Added.
1177 * DumpRenderTree/DumpRenderTree.m:
1178 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1179 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1181 2006-02-06 Eric Seidel <eseidel@apple.com>
1185 Fix build-webkit for use on win32 (unblocks buildbot usage).
1186 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1188 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1189 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1191 2006-02-06 Eric Seidel <eseidel@apple.com>
1193 Rubber-stamped by darin & mjs.
1195 Added new support directory for build slave scripts.
1196 Committing the first script, for use by the PLT's build slave.
1197 This script is used to kick of the PLT (Page Load Test) slave.
1199 * BuildSlaveSupport: Added.
1200 * BuildSlaveSupport/run-performance-tests: Added.
1202 2006-02-06 Eric Seidel <eseidel@apple.com>
1204 Rubber-stamped by darin.
1206 Adding setSourceDir for scripts stored in non-standard locations.
1208 * Scripts/webkitdirs.pm:
1210 2006-02-04 Darin Adler <darin@apple.com>
1212 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1213 Configuration files that say Development or Deployment in them.
1215 2006-02-04 Darin Adler <darin@apple.com>
1217 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1218 wrapper already in the directory.
1219 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1220 these haven't been working at all.
1221 * Scripts/svn-unapply: Ditto.
1223 2006-02-03 Timothy Hatcher <timothy@apple.com>
1227 Renamed configuration names to Debug, Release and Production.
1229 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1230 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1231 * Scripts/set-webkit-configuration:
1232 * Scripts/webkitdirs.pm:
1234 2006-02-02 Justin Garcia <justin.garcia@apple.com>
1236 Reviewed by thatcher
1238 Enabled spell checking for layout tests.
1240 * DumpRenderTree/DumpRenderTree.m:
1243 2006-01-29 Darin Adler <darin@apple.com>
1245 * Scripts/svn-apply: Added comments about things we should do to improve.
1246 * Scripts/svn-create-patch: Ditto.
1247 * Scripts/svn-unapply: Ditto.
1249 2006-01-28 Darin Adler <darin@apple.com>
1251 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1252 already there, even if the checksum is correct.
1254 2006-01-27 Eric Seidel <eseidel@apple.com>
1258 * Scripts/run-webkit-tests: make new tests use absolute urls
1260 2006-01-27 Eric Seidel <eseidel@apple.com>
1264 make run-webkit-tests output total leaks count
1266 * Scripts/run-webkit-tests:
1268 2006-01-27 Eric Seidel <eseidel@apple.com>
1272 run-webkit-test --leaks crashes (malloc logging runs out of memory)
1273 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
1275 * Scripts/run-webkit-tests: fix --leaks to not crash
1277 2006-01-26 Eric Seidel <eseidel@apple.com>
1281 run-webkit-tests should produce a self-contained results directory
1282 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
1284 * Scripts/run-webkit-tests: copy failing items to results dir.
1286 2006-01-23 Darin Adler <darin@apple.com>
1288 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
1289 need script to update localizable strings file in WebKit
1291 * Scripts/update-webkit-localizable-strings: Added.
1293 2006-01-23 Darin Adler <darin@apple.com>
1295 - added a couple of scripts -- more about these two soon
1297 * Scripts/extract-localizable-strings: Added.
1298 * Scripts/merge-changelog: Added.
1300 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
1304 Build fix. build-webkit dies with "invalid build action: (empty string)"
1306 * Scripts/build-webkit:
1307 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
1309 2006-01-22 Eric Seidel <eseidel@apple.com>
1313 Fix --no-svg option to use XCode flags instead of gcc flags.
1315 * Scripts/build-webkit:
1317 2006-01-22 Eric Seidel <eseidel@apple.com>
1321 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
1323 * Scripts/build-webkit:
1325 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
1327 Reviewed by eseidel.
1329 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
1330 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
1332 * Scripts/build-drawtest: Changed bareword 'true' to 1.
1333 * Scripts/run-drawtest: Changed bareword 'true' to 1.
1335 2006-01-19 Darin Adler <darin@apple.com>
1337 * Scripts/report-include-statistics: Added a new script.
1339 2006-01-19 Timothy Hatcher <timothy@apple.com>
1341 * Scripts/build-webkit: include JavaScriptGlue in the build
1343 2006-01-19 Darin Adler <darin@apple.com>
1345 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
1346 spaces in it by using the form of open that treats each argument as a string
1347 rather than backtick syntax for reading the output of the nm tool.
1349 2006-01-12 Maciej Stachowiak <mjs@apple.com>
1353 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
1354 detect if there are any new tests
1356 * Scripts/prepare-ChangeLog:
1358 2006-01-12 Darin Adler <darin@apple.com>
1360 - removed some of the cvs-specific scripts -- not needed for this project any more
1362 * Scripts/cvs-abandon: Removed.
1363 * Scripts/cvs-apply: Removed.
1364 * Scripts/cvs-create-patch: Removed.
1365 * Scripts/cvs-unapply: Removed.
1367 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1369 Reviewed by eseidel. Committed by eseidel.
1371 - run-webkit-tests always launches Safari when tests fail
1372 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
1374 * Scripts/run-webkit-tests:
1375 Add a command-line flag to prevent Safari being launched to display failed
1376 tests. Always exit with non-zero status when tests have failed.
1378 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
1380 Reviewed by eseidel. Committed by eseidel.
1382 - build-webkit should exit with non-zero status when build fails
1383 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
1385 * Scripts/build-webkit:
1386 Use correct bits of subprocess exit code when passing back through
1387 as build-webkit's exit code.
1389 2006-01-10 Eric Seidel <eseidel@apple.com>
1391 Restored corrupted nibs from TOT CVS.
1393 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
1394 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
1395 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
1396 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
1397 * DrawTest/English.lproj/Inspector.nib: Replaced.
1398 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
1399 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
1400 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
1401 * DrawTest/English.lproj/MainMenu.nib: Replaced.
1402 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
1403 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
1404 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
1405 * DrawTest/English.lproj/TestViewer.nib: Replaced.
1406 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
1407 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
1408 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
1410 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
1412 Reviewed by eseidel. Committed by eseidel.
1414 DrawTestView now subclasses WebView instead of DrawView.
1416 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1417 * DrawTest/DrawTestDocument.h:
1418 * DrawTest/DrawTestDocument.m:
1419 (-[DrawTestDocument dealloc]):
1420 (-[DrawTestDocument readFromFile:ofType:]):
1421 (-[DrawTestDocument windowControllerDidLoadNib:]):
1422 (-[DrawTestDocument dumpSVGToConsole:]):
1423 (-[DrawTestDocument openSourceForSelection:]):
1424 (-[DrawTestDocument dataRepresentationOfType:]):
1425 * DrawTest/DrawTestToolbarController.h:
1426 * DrawTest/DrawTestToolbarController.m:
1427 (-[DrawTestToolbarController initWithDrawView:]):
1428 (-[DrawTestToolbarController clickedToolbarItem:]):
1429 (-[DrawTestToolbarController validateToolbarItem:]):
1430 * DrawTest/DrawTestView.h:
1431 * DrawTest/DrawTestView.m:
1432 (-[DrawTestView initWithFrame:]):
1433 (-[DrawTestView setDocument:]):
1434 * DrawTest/SVGTest.h:
1435 * DrawTest/SVGTest.m:
1436 (+[SVGTest sharedDrawView]):
1437 (-[SVGTest generateCompositeIfNecessary]):
1438 * DrawTest/TestController.h:
1439 * DrawTest/TestController.m:
1440 (-[TestController awakeFromNib]):
1441 (-[TestController setSelectedTest:]):
1442 (-[TestController openTestViewerForSelection:]):
1443 (-[TestController toggleViewersScaleRule:]):
1444 * DrawTest/TestViewerSplitView.m:
1445 (-[TestViewerSplitView drawRect:]):
1447 2006-01-10 Anders Carlsson <andersca@mac.com>
1449 Reviewed by Timothy.
1451 * DumpRenderTree/DumpRenderTree.m:
1452 (main): Set the default language to "en", so language tests will work.
1454 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1458 - script to generate HTML wrappers for JS tests
1459 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
1461 * Scripts/make-js-test-wrappers: Added.
1463 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1467 * Scripts/svn-create-patch: Fix to work when passed directory names.
1469 2006-01-08 Geoffrey Garen <ggaren@apple.com>
1473 - Added back/forward navigation support to DumpRenderTree. Hopefully we
1474 can start writing automated loader tests now. I have one in the works.
1476 * DumpRenderTree/DumpRenderTree.m:
1477 (main): Construct global navigationController on entry, destroy on exit.
1478 Set frame to nil on exit too, to match all the other global objects.
1479 (Probably academic, since the process is exiting, anyway.)
1480 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
1481 navigationController, in case it wants to kick off a load.
1482 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
1483 the navigationController to scripting.
1485 New class, should be straightforward:
1487 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1488 * DumpRenderTree/NavigationController.h: Added.
1489 * DumpRenderTree/NavigationController.m: Added.
1491 (+[NavigationController isSelectorExcludedFromWebScript:]):
1492 (+[NavigationController webScriptNameForSelector:]):
1493 (-[NavigationController setPendingScript:]):
1494 (-[NavigationController setPendingRequest:]):
1495 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
1496 (-[NavigationController webView:didFinishLoadForFrame:]):
1497 (-[NavigationController dealloc]):
1499 2006-01-08 Timothy Hatcher <timothy@apple.com>
1501 Removed this script, no longer needs with the Subversion switch.
1503 * checkout: Removed.
1505 2006-01-08 Timothy Hatcher <timothy@apple.com>
1507 Removes some stray tabs.
1509 * Scripts/update-webkit:
1511 2005-01-07 Eric Seidel <eseidel@apple.com>
1515 build-webkit should pass on build arguments from command line
1516 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
1518 * Scripts/build-webkit:
1520 2006-01-07 Eric Seidel <eseidel@apple.com>
1522 Reviewed by mjs & xenon.
1524 * Scripts/update-webkit: support Internal updates as well
1526 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1528 Temporarily rolling out plugin support from DumpRenderTree because it
1529 caused lots of layout test regressions.
1531 * DumpRenderTree/DumpRenderTree.m:
1532 (main): Remove invisible window added to support plugins.
1534 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1538 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
1539 Add plugin support to DumpRenderTree
1541 Also wrote first test plugin.
1543 * DumpRenderTree/DumpRenderTree.m:
1545 (1) Put the WebView in an invisible window, because PlugIns are
1546 optimized not to load if there's no parent window.
1547 (2) Tell WebKit to load any PlugIns in the directory from which we
1548 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
1549 and they'll load automagically during layout testing, but they won't be
1550 added to the user's system, hosing apps like Safari.
1552 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
1553 test PlugIn to project.
1555 PlugIn added to project:
1557 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
1558 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
1560 (initializeIdentifiers):
1561 (pluginHasProperty):
1563 (pluginGetProperty):
1564 (pluginSetProperty):
1566 (pluginInvokeDefault):
1570 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
1571 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
1573 (NP_GetEntryPoints):
1579 (NPP_DestroyStream):
1589 2006-01-04 Timothy Hatcher <timothy@apple.com>
1593 Tweaked and tested by me.
1595 New scripts to work with Subversion when the switch happens.
1596 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
1598 * Scripts/svn-apply: Added.
1599 * Scripts/svn-create-patch: Added.
1600 * Scripts/svn-unapply: Added.
1602 2005-12-30 Eric Seidel <eseidel@apple.com>
1606 Move WebView width/height logic into DumpRenderTree to support
1607 running the W3C SVG 1.1 tests along side other tests. The W3C
1608 SVG 1.1 tests require a 480x360 view.
1610 * DumpRenderTree/DumpRenderTree.m:
1611 (main): don't accept width/height
1612 (dump): override width/height for SVG/W3C
1613 * Scripts/run-webkit-tests: don't pass width/height
1615 2005-12-30 Eric Seidel <eseidel@apple.com>
1617 No review, only removing dead code.
1619 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
1620 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
1622 2005-12-30 Eric Seidel <eseidel@apple.com>
1626 DumpRenderTree should set a consistent color profile while running
1627 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
1629 Creates consistent colormatched renderings on every test machine
1630 using the only way possible with Tiger APIs: by setting the
1631 system color profile on the test machine for the duration of the
1632 tests. This will (unfortunately) cause colors to change while
1633 running DumpRenderTree. This can also cause "permanent" color
1634 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
1635 This is far from ideal, but it's be best way we've found to deal
1636 with the issue for now.
1638 * DumpRenderTree/DumpRenderTree.m:
1639 (restoreColorSpace):
1640 (setDefaultColorProfileToRGB):
1643 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
1645 Reviewed by Darin Adler.
1647 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
1648 cvs-create-patch --include produces incorrect paths
1650 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
1652 2005-12-19 Eric Seidel <eseidel@apple.com>
1656 * Scripts/run-webkit-tests: stop /etc/catalog warnings
1658 2005-12-19 Darin Adler <darin@apple.com>
1660 Reviewed by Eric Seidel.
1662 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
1663 WebKit needs to use a local pasteboard during testing
1665 * DumpRenderTree/DumpRenderTree.m:
1666 (main): Call poseAs to substitute our NSPasteboard class for the default one.
1667 Create a local pasteboard (really a global one with a unique name) and release
1668 it when exiting from the function so we don't leave it in the pasteboard server.
1669 (dumpRenderTree): Added an autorelease pool around one small bit of code that
1670 ddn't have one. Fixed a leak in an unlikely error case.
1671 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
1672 of this method to return our local pasteboard.
1674 2005-12-15 Eric Seidel <eseidel@apple.com>
1676 Reviewed by Tim Hatcher.
1678 * Scripts/build-webkit: --svg is now default!
1680 2005-12-15 Eric Seidel <eseidel@apple.com>
1684 Don't run svg test automatically if +SVG is built (yet).
1686 * Scripts/run-webkit-tests:
1688 2005-12-15 Darin Adler <darin@apple.com>
1690 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
1691 support is not compiled in. Report the 10 slowest tests if "--slowest" is
1692 passed on the command line.
1694 2005-12-06 John Sullivan <sullivan@apple.com>
1696 Reviewed by Darin Adler.
1698 * Scripts/prepare-ChangeLog:
1699 Remove special-case handling for nib files. This avoided trouble with cvs diff
1700 when we were using wrappers for nib files. Now that we aren't using wrappers,
1701 there's no reason to avoid adding the modified nib files to the file list that
1704 2005-12-05 Eric Seidel <eseidel@apple.com>
1708 Script updates for SVG files move (remove references to SVGSupport)
1710 * Scripts/build-webkit: remove SVGSupport
1711 * Scripts/run-webkit-tests: Resources -> resources for --svg
1712 * Scripts/update-webkit: remove SVGSupport
1714 2005-12-05 Eric Seidel <eseidel@apple.com>
1718 * checkout: remove --svg support, SVG is now checked out by default
1720 2005-11-29 Eric Seidel <eseidel@apple.com>
1724 Update scripts to run SVG tests automatically (w/o --svg) if
1725 WebCore is built with SVG support.
1727 * Scripts/build-drawtest: SVG support required
1728 * Scripts/build-dumpkcanvastree: Removed.
1729 * Scripts/run-drawtest: SVG support required to run
1730 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
1731 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
1733 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
1735 Reviewed by Darin. Committed by Maciej.
1737 - fixed "DumpRenderTree should test for Ahem before doing anything else"
1738 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
1740 * DumpRenderTree/DumpRenderTree.m:
1743 2005-11-28 Eric Seidel <eseidel@apple.com>
1745 Reviewed by sullivan and GGAREN.
1747 Minor additions to make error messages more clear from cvs-apply.
1749 * Scripts/cvs-apply: make errors more clear
1751 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
1753 Reviewed and committed by Maciej.
1755 - fixed cvs-create-patch --include produces incorrect paths
1756 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
1758 * Scripts/cvs-create-patch: produce proper paths for new files.
1760 2005-11-21 Eric Seidel <eseidel@apple.com>
1764 Some simple fixes to the build/test scripts now that SVG uses the
1765 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
1766 or symlinks for KDOM.
1768 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
1769 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
1770 * Scripts/run-webkit-tests: now runs SVG tests using DRT
1771 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
1772 * checkout: no longer symlink kdom
1774 2005-11-10 Eric Seidel <eseidel@apple.com>
1778 * Scripts/build-webkit: Pass through options to xcodebuild
1780 2005-11-07 Darin Adler <darin@apple.com>
1782 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
1784 2005-11-03 John Sullivan <sullivan@apple.com>
1788 * Scripts/run-safari:
1789 changed message to say "Starting Safari" instead of odd "Start Safari"
1790 * Scripts/run-webkit-tests:
1791 changed the way we pass the file parameter to use -NSOpen rather than relying on
1792 unlabeled arguments being treated as files. This was failing on some machines that
1793 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
1795 2005-10-27 Geoffrey Garen <ggaren@apple.com>
1797 Patch by Alexey Proskuryakov.
1801 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
1802 TextInputController should support attributed strings
1804 * DumpRenderTree/TextInputController.m:
1805 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
1806 (+[NSMutableAttributedString webScriptNameForSelector:]):
1807 (-[NSMutableAttributedString getLength]):
1808 (-[NSMutableAttributedString attributeNamesAtIndex:]):
1809 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
1810 (-[NSMutableAttributedString addAttribute:value:]):
1811 (-[NSMutableAttributedString addAttribute:value:from:length:]):
1812 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
1813 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
1814 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
1815 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
1816 (+[TextInputController isSelectorExcludedFromWebScript:]):
1817 (+[TextInputController webScriptNameForSelector:]):
1818 (-[TextInputController insertText:]):
1819 (-[TextInputController attributedSubstringFrom:length:]):
1820 (-[TextInputController attributedStringWithString:]):
1822 2005-10-11 Eric Seidel <eseidel@apple.com>
1826 Checks for leaks in ImageDiff too.
1828 * Scripts/run-webkit-tests:
1830 2005-10-09 Darin Adler <darin@apple.com>
1832 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
1833 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
1834 * Scripts/cvs-unapply: Ditto.
1835 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
1837 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
1839 Reviewed, rearranged and landed by Darin.
1841 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
1842 Need a way to automatically test for regressions in NSTextInput implementation
1844 * DumpRenderTree/DumpRenderTree.m:
1845 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1846 Create a text input controller and put it in a property of the window object.
1848 * DumpRenderTree/TextInputController.h: Added.
1849 * DumpRenderTree/TextInputController.m: Added.
1850 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
1852 2005-10-06 Darin Adler <darin@apple.com>
1854 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
1855 are controlled by cvs, or when changes cross multiple repositories.
1856 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
1858 2005-10-03 Eric Seidel <eseidel@apple.com>
1862 Make mouseDown and mouseUp force layout before acting.
1863 This is used by a new test case for 4233558.
1865 * DumpRenderTree/DumpRenderTree.m:
1866 (-[EventSendingController mouseDown]): force layout
1867 (-[EventSendingController mouseUp]): force layout
1869 2005-09-30 Eric Seidel <eseidel@apple.com>
1873 Updated all the scripts for the move:
1874 WebCore/layout-tests -> LayoutTests
1876 * Scripts/check-dom-results:
1877 * Scripts/prepare-ChangeLog:
1878 * Scripts/run-webkit-tests:
1879 * Scripts/update-webkit: added --no-tests
1880 * checkout: added --no-tests
1882 2005-09-28 Darin Adler <darin@apple.com>
1884 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
1885 pixel test should run even if render trees differ
1887 * Scripts/run-webkit-tests: Don't check if the text dump matches.
1889 2005-09-27 Eric Seidel <eseidel@apple.com>
1891 No review needed, SVG build fix only.
1893 * DumpKCanvasTree/DumpKCanvasTree.m:
1894 Missed one in my previous checkin.
1895 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
1897 2005-09-26 Eric Seidel <eseidel@apple.com>
1899 No review needed, SVG build fix only.
1901 * DrawTest/DrawTestDocument.m:
1902 * DrawTest/DrawTestToolbarController.m:
1903 * DrawTest/DrawTestView.h:
1904 * DrawTest/DrawTestView.m:
1905 * DrawTest/SVGTest.m:
1906 * DrawTest/TestController.m:
1907 Updated for WebCore+SVG -> WebCore rename.
1908 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
1910 2005-09-26 Eric Seidel <eseidel@apple.com>
1914 * DumpRenderTree/DumpRenderTree.m:
1915 (dump): updated error message
1916 * Scripts/check-dom-results: now includes xhtml
1917 Tool updates for xhtml.
1918 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
1920 2005-09-22 Duncan Wilcox <duncan@mclink.it>
1925 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
1926 "Would like to simulate human interaction with webview"
1928 * DumpRenderTree/DumpRenderTree.m:
1929 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1930 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1931 (+[EventSendingController webScriptNameForSelector:]):
1932 (-[EventSendingController init]):
1933 (-[EventSendingController mouseDown]):
1934 (-[EventSendingController mouseUp]):
1935 (-[EventSendingController mouseMoveToX:Y:]):
1936 Add eventSender javascript object, that sends fake mouse events to the webview.
1938 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1939 link with Carbon.framework
1941 2005-09-22 Eric Seidel <eseidel@apple.com>
1945 Update tools for WebCore+SVG -> WebCore rename.
1946 Also fold several SVG specific tools into their original
1947 WebCore counterparts.
1948 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
1950 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1951 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1952 * Scripts/build-drawtest:
1953 * Scripts/build-dumpkcanvastree:
1954 * Scripts/build-webcore-svg: Removed.
1955 * Scripts/build-webkit: added --svg option
1956 * Scripts/run-drawtest:
1957 * Scripts/run-webkit-tests:
1958 * Scripts/webkitdirs.pm: various additions.
1959 * checkout: added --svg option
1960 * checkout-svg: Removed.
1962 2005-09-19 Eric Seidel <eseidel@apple.com>
1966 * Scripts/run-webkit-tests: added --guard-malloc option
1967 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
1969 2005-09-16 Justin Garcia <justin.garcia@apple.com>
1973 Removed a script that is only used by apple internal developers
1975 * Scripts/update-webkitsysteminterface: Removed.
1977 2005-09-16 Adele Peterson <adele@apple.com>
1981 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
1983 2005-09-14 Darin Adler <darin@apple.com>
1985 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
1986 dumpAsText doesn't work with XHTML documents
1988 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
1989 rather than of the body element. This works with typical XHTML documents. We can probably
1990 do something even better in the long run, but this fixes the immediate issue.
1994 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
1995 run-safari instead of just using "open", which often runs another copy of Safari instead.
1997 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
1999 Reviewed, tweaked, and landed by Darin.
2001 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2002 .Mac prefpane crashes when Safari using CVS WebKit is running
2004 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2005 * Scripts/run-webkit-app: Ditto.
2007 2005-09-11 Darin Adler <darin@apple.com>
2009 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2011 2005-09-11 Darin Adler <darin@apple.com>
2015 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2016 two ways: 1) puts all files in a directory before any files in a subdirectory, and
2017 2) sort file names with numeric digits in them in a logical way, so test-33 will come
2020 2005-09-08 Justin Garcia <justin.garcia@apple.com>
2024 * Scripts/update-webkitsysteminterface: Added.
2025 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2027 2005-09-01 John Sullivan <sullivan@apple.com>
2029 * Scripts/run-webkit-tests:
2030 Excluded a known system leak to reduce noise; added comments about which leaks
2033 2005-09-01 Tim Omernick <tomernick@apple.com>
2035 Change made by Darin, reviewed by John and myself.
2037 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2039 * Scripts/prepare-ChangeLog:
2041 2005-08-31 Maciej Stachowiak <mjs@apple.com>
2045 - set color variant and font settings to a consistent value.
2046 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2048 * DumpRenderTree/DumpRenderTree.m:
2051 2005-08-30 Eric Seidel <eseidel@apple.com>
2055 * Scripts/build-svg2png: Removed.
2056 * svg2png/ImageDiff.h: Removed.
2057 * svg2png/ImageDiff.m: Removed.
2058 * svg2png/svg2png.m: Removed.
2059 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2060 * svg2png/svg2png_Prefix.pch: Removed.
2061 svg2png is no longer needed.
2063 2005-08-30 Darin Adler <darin@apple.com>
2065 * Scripts/check-dom-results: Special case 100% to say something nice.
2066 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2067 applying the patch (need a better name).
2068 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2070 2005-08-30 Darin Adler <darin@apple.com>
2072 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2074 2005-08-29 Maciej Stachowiak <mjs@apple.com>
2078 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2079 (some pixel tests fail when AA settings are changed)
2081 * DumpRenderTree/DumpRenderTree.m:
2082 (main): set AA settings to the default values
2084 2005-08-29 Darin Adler <darin@apple.com>
2086 Reviewed by John Sullivan.
2088 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2089 executable -- much slower but can help pinpoint leaks. Changed formatting of some
2092 2005-08-28 Maciej Stachowiak <mjs@apple.com>
2096 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2097 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2099 * DumpRenderTree/DumpRenderTree.m:
2100 (main): set scrollbar arrow setting to a consistent value
2102 2005-08-27 Jussi Hagman <juhagman@abo.fi>
2104 Reviewed and landed by Darin.
2106 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2107 output of update-webkit is too verbose
2109 * Scripts/update-webkit:
2110 Added option --quiet (-q) to decrease the amount of output.
2112 2005-08-27 Darin Adler <darin@apple.com>
2114 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2115 cvs-create-patch --include-unknowns should ignore hidden files
2117 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2119 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
2121 Reviewed, tweaked, and landed by Darin.
2123 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2124 update-webkit doesn't notice when you have SVGSupport and update properly
2126 * Scripts/update-webkit: Build SVGSupport directory if it's present.
2128 2005-08-25 Anders Carlsson <andersca@mac.com>
2130 Reviewed and landed by Darin.
2132 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2133 layout test machinery can't handle tests with applets that have code attributes
2135 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2137 2005-08-24 Darin Adler <darin@apple.com>
2141 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2142 DumpRenderTree --pixel-tests crash
2143 - landed some other small changes I had sitting in my tree
2145 * DumpRenderTree/DumpRenderTree.m:
2146 (main): Don't bother saving and restoring the preferences. Not sure
2147 why this was ever done since the preferences are specific to DumpRenderTree.
2148 Clear delegates before releasing the WebView, because you can't count on the
2149 order of object deallocation.
2150 (dumpRenderTree): Fix code that releases a string before storing it in a
2153 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2154 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2156 2005-08-23 Eric Seidel <eseidel@apple.com>
2160 * Scripts/run-webkit-tests:
2161 Made --leaks option more readable by printing to a file.
2162 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2164 2005-08-22 Eric Seidel <eseidel@apple.com>
2165 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2169 * Scripts/run-webkit-tests: hides "expected actual diffs" links
2170 when they are not needed (for pixel-only failures)
2171 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2173 2005-08-22 Eric Seidel <eseidel@apple.com>
2177 * Scripts/run-webkit-tests: Added the ability to display more than
2178 just two images as part of the image-diff "slideshow".
2179 Added display of "-w3c.png" baseline images for SVG.
2180 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2182 2005-08-20 Eric Seidel <eseidel@apple.com>
2184 * Scripts/run-webkit-tests:
2185 "build" fix after committing incorrect version.
2187 2005-08-20 Eric Seidel <eseidel@apple.com>
2191 * DumpRenderTree/DumpRenderTree.m:
2192 (main): cleans up delegates
2193 (dumpRenderTree): closes CFString/CFURL leak
2194 * Scripts/run-webkit-tests:
2195 Adds --leaks option to run-webkit-tests
2196 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2198 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
2202 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2203 new files to be included in the patch even without "cvs add".
2205 2005-08-19 Darin Adler <darin@apple.com>
2207 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2208 non-cvs-generated patches. Anders has been creating these, so it's bad that
2209 the script can't handle them.
2210 * Scripts/cvs-unapply: Ditto.
2212 2005-08-18 Darin Adler <darin@apple.com>
2214 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2215 "." in them -- based on complaint by someone here at Apple.
2217 2005-08-18 Eric Seidel <eseidel@apple.com>
2221 * Scripts/run-webkit-tests:
2222 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2224 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2226 - add file that I forgot in the last checkin
2228 * DumpRenderTree/ImageDiff.m: Added.
2230 (getImageFromStdin):
2232 (getDifferenceBitmap):
2233 (computePercentageDifferent):
2235 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2237 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2238 somewhat by me, and also tweaked by me a little bit.
2240 - better support for pixel-dumping
2241 - use checksums of the images so the tests are fast
2242 - change output format to make the tests run faster
2243 - don't dump pixel results for tests that dump as text
2245 * DumpKCanvasTree/DumpKCanvasTree.m:
2248 (md5HashStringForBitmap):
2250 (constrainSizeToMaximum):
2251 (getBitmapImageRepForSVGDocument):
2252 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2253 * DumpRenderTree/DumpRenderTree.m:
2257 (md5HashStringForBitmap):
2258 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2259 * Scripts/run-webkit-tests:
2261 2005-08-17 Maciej Stachowiak <mjs@apple.com>
2265 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2267 * DumpRenderTree/DumpRenderTree.m:
2270 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
2272 Reviewed and landed by Darin.
2274 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
2275 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
2277 * Scripts/run-safari: Pass arguments through to Safari on command line.
2278 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2280 2005-08-11 Eric Seidel <eseidel@apple.com>
2281 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2283 Reviewed by eseidel.
2285 * DrawTest/TestController.m:
2286 (-[TestController imagePathForSVGPath:]):
2287 Fixed support for using TextViewer with the layout-tests.
2288 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2290 2005-08-11 Maciej Stachowiak <mjs@apple.com>
2292 At Least Roughly Glanced At by Anders.
2294 - fix change with totally breaks the layout tests.
2296 * DumpRenderTree/DumpRenderTree.m:
2297 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
2298 load, to avoid dumping twice accidentally.
2300 2005-08-10 Eric Seidel <eseidel@apple.com>
2301 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
2305 * DumpRenderTree/DumpRenderTree.m:
2306 Added support for rendering to a PNG file.
2307 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2309 2005-08-07 Eric Seidel <eseidel@apple.com>
2313 * Scripts/run-webkit-tests: added --svg option
2314 * Scripts/run-webkit-tests-svg: Removed.
2315 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2317 2005-08-07 Eric Seidel <eseidel@apple.com>
2318 Changes by Ben La Monica <ben.lamonica@gmail.com>
2322 * svg2png/ImageDiff.h: Added.
2323 * svg2png/ImageDiff.m: Added.
2324 (getDifferenceBitmap):
2325 (computePercentageDifferent):
2326 (saveAnimatedGIFToFile):
2327 * svg2png/svg2png.m:
2328 (usage): added several new options
2329 (getBitmapForSVG): added NSBitmapImageRep generation
2330 (main): various argument changes.
2331 * svg2png/svg2png.xcodeproj/project.pbxproj:
2332 Several additions to provide image differencing functionality.
2333 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
2335 2005-08-07 Eric Seidel <eseidel@apple.com>
2339 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
2340 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
2341 Adding the first SVG layout tests:
2342 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
2344 2005-08-07 Darin Adler <darin@apple.com>
2346 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
2348 2005-08-06 Eric Seidel <eseidel@apple.com>
2352 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
2353 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
2354 * Scripts/build-dumpkcanvastree: Added.
2355 * Scripts/run-webkit-tests-svg: Added.
2356 Adds a DumpRenderTree-like tool for SVG which allows us to do
2357 text-based layout regression testing. This (like most of the
2358 SVG specific stuff) is temporary and will be replaced by
2359 DumpRenderTree once the DOMs and RenderTrees merge.
2360 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
2362 2005-08-06 Eric Seidel <eseidel@apple.com>
2366 * DrawTest/DrawTestView.m:
2367 (-[DrawTestView toggleFilterSupport:]): missing negation.
2368 One half of fix for toggling filter support.
2369 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
2371 2005-08-04 Eric Seidel <eseidel@apple.com>
2375 * Scripts/build-drawtest:
2376 * Scripts/build-dumprendertree:
2377 * Scripts/build-svg2png:
2378 * Scripts/build-webcore-svg:
2379 * Scripts/build-webkit:
2380 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
2381 Added checkRequiredSystemConfig and made all the build-* scripts
2382 use it to print a pretty warning when trying to compile on an
2383 unsupported system (less than 10.4, Xcode 2.1).
2384 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
2386 2005-08-04 Darin Adler <darin@apple.com>
2388 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
2389 the dead. It was removed by accident when someone was trying to work on the branch.
2391 2005-07-31 Darin Adler <darin@apple.com>
2393 - a little tools cleanup
2395 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
2396 project as a whole. Removed unused Default configuration.
2398 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2400 2005-07-31 Duncan Wilcox <duncan@mclink.it>
2402 Reviewed and landed by Darin Adler.
2404 Add logging of editing delegate calls for regression checking.
2406 * DumpRenderTree/DumpRenderTree.m:
2408 setup editing delegate
2410 (-[DOMNode dumpPath]):
2412 utility for editing delegate logging
2414 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2415 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2416 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2417 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2418 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2419 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2420 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2421 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2422 (-[EditingDelegate webViewDidBeginEditing:]):
2423 (-[EditingDelegate webViewDidChange:]):
2424 (-[EditingDelegate webViewDidEndEditing:]):
2425 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2426 log corresponding editing delegate methods
2428 (-[EditingDelegate webViewDidChangeSelection:]):
2429 log selection except when clearing selection after end of test (uses existing "done" flag)
2432 added clearing of selection after test
2434 2005-07-31 Eric Seidel <eseidel@apple.com>
2438 * Scripts/build-drawtest: Added.
2439 * Scripts/build-svg2png: Added.
2440 * Scripts/build-webcore-svg: Added.
2441 * Scripts/run-drawtest: Added.
2442 * Scripts/webkitdirs.pm: added checkSVGFrameworks
2443 Made it much easier to build WebCore+SVG.
2444 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2446 2005-07-29 Eric Seidel <eseidel@apple.com>
2450 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2451 Build fix. Removed bad path.
2453 2005-07-29 Eric Seidel <eseidel@apple.com>
2455 Reviewed by sullivan.
2457 * DrawTest/AppDelegate.h: Added.
2458 * DrawTest/AppDelegate.m: Added.
2459 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
2460 * DrawTest/DrawTestDocument.h: Added.
2461 * DrawTest/DrawTestDocument.m: Added.
2462 * DrawTest/DrawTestInspectorController.h: Added.
2463 * DrawTest/DrawTestInspectorController.m: Added.
2464 * DrawTest/DrawTestToolbarController.h: Added.
2465 * DrawTest/DrawTestToolbarController.m: Added.
2466 * DrawTest/DrawTestView.h: Added.
2467 * DrawTest/DrawTestView.m: Added.
2468 * DrawTest/DrawTest_Prefix.pch: Added.
2469 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
2470 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
2471 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
2472 * DrawTest/English.lproj/InfoPlist.strings: Added.
2473 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
2474 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
2475 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
2476 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
2477 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
2478 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2479 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
2480 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
2481 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
2482 * DrawTest/Info.plist: Added.
2483 * DrawTest/SVGTest.h: Added.
2484 * DrawTest/SVGTest.m: Added.
2485 * DrawTest/ScalingImageView.h: Added.
2486 * DrawTest/ScalingImageView.m: Added.
2487 * DrawTest/TestController.h: Added.
2488 * DrawTest/TestController.m: Added.
2489 * DrawTest/TestViewerSplitView.h: Added.
2490 * DrawTest/TestViewerSplitView.m: Added.
2491 * DrawTest/main.m: Added.
2492 Adding simple cocoa app for testing SVG rendering, interaction.
2493 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
2495 2005-07-28 Eric Seidel <eseidel@apple.com>
2499 * svg2png/svg2png.m: Added.
2500 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
2501 * svg2png/svg2png_Prefix.pch: Added.
2502 Added a simple test tool which dumps a PNG from an SVG using
2503 WebCore+SVG's SVG rendering support.
2504 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
2506 2005-07-26 Maciej Stachowiak <mjs@apple.com>
2510 - new script to review the DOM layout test results and see where we stand
2511 on actual success and failure
2513 * Scripts/check-dom-results: Added.
2515 2005-07-25 Darin Adler <darin@apple.com>
2517 * Scripts/webkitdirs.pm: Check in missing line of code.
2519 2005-07-25 Darin Adler <darin@apple.com>
2521 - fixed problem that was causing JavaScriptCore test to fail
2522 (except for people who had set DYLD_FRAMEWORK_PATH)
2524 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
2525 Add code to parse configuration parameter so you can pass --deployment if you like.
2526 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
2528 * Scripts/update-javascriptcore-test-results: Add license header.
2530 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
2531 from @ARGV. This lets us use this option in commands that take other options and
2532 pass them along to a subsequent tool.
2534 2005-07-25 Darin Adler <darin@apple.com>
2536 Reviewed by Geoff Garen.
2538 - Fixed run-safari and gdb-safari to use the Safari application in the build results
2539 directory, if any, falling back to the one in the Applications directory otherwise.
2540 Does no harm for open source contributors who don't build Safari, and helps out the
2541 Safari team, since we do build Safari.
2543 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
2544 variable, and if that's not present, looks in either the build results directory or
2545 /Applications; factors code that was in both scripts before into a shared function.
2546 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
2547 now in Xcode 2.1 format and incompatible with older versions of Xcode.
2549 * Scripts/gdb-safari: Use safariPath.
2550 * Scripts/run-safari: Use safariPath.
2552 2005-07-22 Geoffrey Garen <ggaren@apple.com>
2554 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
2555 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
2557 Moved Tools/Scripts/update-mozilla-js-test-results to
2558 WebKitTools/Scripts/update-javascriptcore-test-results.
2562 * Scripts/run-javascriptcore-tests: Added.
2564 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2568 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2570 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2572 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
2574 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2576 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
2578 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2580 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
2582 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2584 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
2586 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2588 * Scripts/build-webkit:
2590 2005-07-12 Eric Seidel <eseidel@apple.com>
2594 * checkout-svg: Fixed error with symlink creation.
2596 2005-07-12 Eric Seidel <eseidel@apple.com>
2600 * checkout-svg: Added.
2601 Script to check out WebCore+SVG
2603 2005-06-30 Darin Adler <darin@apple.com>
2605 Changes based on input from Michael Kahl.
2607 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
2608 specify different style of "diff".
2609 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
2610 determineConfigurationProductDir works in all cases.
2612 2005-06-29 Darin Adler <darin@apple.com>
2614 - fixed bug which would result in multiple unwanted dumps in a single layout test
2616 * DumpRenderTree/DumpRenderTree.m:
2617 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
2619 (-[LayoutTestController waitUntilDone]): Update for name change.
2620 (-[LayoutTestController notifyDone]): Dump only if ready.
2621 (dumpRenderTree): Set up new boolean and update for name change.
2623 2005-06-29 Darin Adler <darin@apple.com>
2625 Changes by Timothy Hatcher.
2628 * Scripts/run-webkit-app: Added script to open an arbritrary application with
2629 a CVS built WebKit. Example: ./run-webkit-app Colloquy
2631 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
2632 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
2633 * Scripts/run-safari: Ditto.
2635 2005-06-26 Darin Adler <darin@apple.com>
2637 * Scripts/build-dumprendertree: Pass -project option so that having a second
2638 copy of the project (like the one Xcode 2.1 offers to make for you) that's
2639 out of date won't screw you up.
2640 * Scripts/build-webkit: Ditto.
2642 2005-06-23 Darin Adler <darin@apple.com>
2644 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
2646 2005-06-23 Darin Adler <darin@apple.com>
2648 Changes based on input from Michael Kahl.
2650 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
2651 directory passed in.
2653 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
2654 getcwd() in the code to find the base product dir. Added code to handle unusual
2655 base product directory values that use SRCROOT.
2657 2005-06-22 Darin Adler <darin@apple.com>
2659 Change by Anders Carlsson.
2661 - added support for dumping title changes
2663 * DumpRenderTree/DumpRenderTree.m:
2664 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
2665 if requested by JavaScript.
2666 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
2667 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
2668 (dumpRenderTree): Start flag as NO.
2670 2005-06-20 Darin Adler <darin@apple.com>
2672 Reviewed by Justin Garcia.
2674 * Scripts/run-webkit-tests: Report number of tests when they succeed.
2676 2005-06-18 Darin Adler <darin@apple.com>
2678 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
2679 in the hope of making the tool use less memory and run faster.
2681 2005-06-18 Darin Adler <darin@apple.com>
2683 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
2684 * Scripts/cvs-unapply: Ditto.
2686 2005-06-17 Maciej Stachowiak <mjs@apple.com>
2688 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
2689 benefit of all WebKit hackerdom
2691 * Scripts/prepare-ChangeLog: Added.
2693 2005-06-16 Darin Adler <darin@apple.com>
2695 - recent changes to XcodeOptions made it depend on the current directory
2696 The intent was to have the WebKitBuild directory be next to WebKitTools,
2697 not inside the various build directories. Workaround for now is to call
2698 XcodeOptions when the directory is set to the WebKit directory.
2700 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
2701 at the start of the script.
2702 * Scripts/build-webkit: Ditto.
2704 2005-06-15 Darin Adler <darin@apple.com>
2706 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
2708 2005-06-14 Darin Adler <darin@apple.com>
2710 Changes by Anders Carlsson.
2713 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
2714 Add gdb-safari script to launch Safari under gdb
2716 * Scripts/gdb-safari: Added.
2718 2005-06-12 Darin Adler <darin@apple.com>
2720 Changes by Stuart Morgan.
2723 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
2724 * Scripts/cvs-apply: Ditto.
2725 * Scripts/cvs-create-patch: Ditto.
2726 * Scripts/cvs-unapply: Ditto.
2727 * Scripts/run-webkit-tests: Ditto.
2728 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
2730 2005-06-12 Darin Adler <darin@apple.com>
2732 * Scripts/cvs-apply: Handle case of an empty patch better.
2733 * Scripts/cvs-unapply: Ditto.
2735 2005-06-12 Darin Adler <darin@apple.com>
2737 Changes by Michael Gaiman.
2740 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
2741 WebKit no longer builds after configuration supporting build changes
2743 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
2745 2005-06-12 Darin Adler <darin@apple.com>
2747 * Scripts/update-webkit: Make this script work when called from any directory.
2749 2005-06-12 Darin Adler <darin@apple.com>
2752 Includes changes by Stuart Morgan as well as my own.
2754 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
2755 symrootXcodeOptions to set the -buildstyle option.
2756 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
2757 The new --development option does the same thing.
2758 * Scripts/run-safari: Ditto.
2759 * Scripts/run-webkit-tests: Ditto.
2760 * Scripts/update-webkit: Ditto.
2761 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
2763 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
2764 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
2765 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
2766 product directory. Read the default configuration from a file, overridable by a passed-in command-line
2769 2005-06-11 Darin Adler <darin@apple.com>
2771 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
2772 to execute the cvs diff commands.
2774 2005-06-11 Darin Adler <darin@apple.com>
2776 - added first cuts at some cvs scripts
2778 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
2779 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
2780 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
2781 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
2783 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
2785 * Scripts/cvs-abandon: Added.
2786 * Scripts/cvs-apply: Added.
2787 * Scripts/cvs-create-patch: Added.
2788 * Scripts/cvs-unapply: Added.
2790 2005-06-09 Darin Adler <darin@apple.com>
2794 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
2795 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
2797 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
2798 for Foundation.framework. How was it ever wrong?
2800 - finally, I tested making the default build directory work; it works now
2802 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
2803 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
2804 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
2805 * Scripts/build-dumprendertree: Ditto.
2807 2005-06-09 Darin Adler <darin@apple.com>
2809 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
2810 work. Someone should try building without setting the Xcode build product directory now,
2811 and let me know if it works.
2813 2005-06-08 Darin Adler <darin@apple.com>
2815 - quick fix to try to get build scripts working again
2817 * Scripts/build-dumprendertree: Add FindBin.
2818 * Scripts/build-webkit: Ditto.
2819 * Scripts/run-safari: Ditto.
2820 * Scripts/run-webkit-tests: Ditto.
2821 * Scripts/update-webkit: Ditto.
2823 2005-06-08 Darin Adler <darin@apple.com>
2827 - some build script enhancements
2829 * Scripts/build-dumprendertree: Changed to use webkitdirs.
2830 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
2832 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
2833 before Deplyment in that case.
2834 * Scripts/run-webkit-tests: Changed to use webkitdirs.
2835 * Scripts/update-webkit: Changed to use webkitdirs.
2837 * Scripts/webkitdirs.pm: Added.
2839 2005-06-08 Maciej Stachowiak <mjs@apple.com>
2841 Code change by Toby Peterson <toby@opendarwin.org>
2844 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
2845 get confused because build-webkit now makes even 2.0 build directories look
2848 2005-06-07 Darin Adler <darin@apple.com>
2850 Reviewed by Adele Peterson.
2852 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
2853 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
2854 so we can run tests with Xcode 2.1.
2856 2005-06-07 Darin Adler <darin@apple.com>
2858 Reviewed by Adele Peterson.
2860 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
2861 layout-tests directory to include additional sets of tests.
2863 2005-06-07 Darin Adler <darin@apple.com>
2865 * checkout: Added license.
2866 * Scripts/build-dumprendertree: Ditto.
2867 * Scripts/run-webkit-tests: Ditto.
2868 * Scripts/update-webkit: Ditto.
2870 2005-06-07 Darin Adler <darin@apple.com>
2872 Change by Toby Peterson <toby@opendarwin.org>.
2875 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
2876 * Scripts/run-safari: Ditto.
2878 2005-06-06 Maciej Stachowiak <mjs@apple.com>
2880 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
2882 2005-06-06 Maciej Stachowiak <mjs@apple.com>
2884 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
2886 2005-06-06 Maciej Stachowiak <mjs@apple.com>
2888 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
2890 2005-06-05 Darin Adler <darin@apple.com>
2892 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
2893 * Scripts/build-dumprendertree: Added.
2894 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
2895 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
2897 2005-06-05 Darin Adler <darin@apple.com>
2899 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
2901 2005-06-05 Darin Adler <darin@apple.com>
2903 - add run-webkit-tests script; not working yet but the pieces are there
2905 * Scripts/run-webkit-tests: Added.
2907 * DumpRenderTree/DumpRenderTree.m: Added.
2908 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
2909 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
2910 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
2912 2005-06-05 Darin Adler <darin@apple.com>
2914 - created module, first cut at Web Kit Open Source Project scripts
2917 * Scripts/build-webkit: Added.
2918 * Scripts/run-safari: Added.
2919 * Scripts/update-webkit: Added.
2922 === creation of WebKitTools module ===