1 2006-03-09 Darin Adler <darin@apple.com>
3 Reviewed by John Sullivan.
5 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
6 memory leak in the plug-in tests
8 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
9 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
10 (NPP_SetWindow): Remove unneeded code to store the window pointer.
12 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13 Moved the browser global in here since it's declared in this file's header.
14 Changed the code to set up the pluginClass structure to not use function
15 pointer casts. Those are dangerous because they can hide many types of mismatch.
16 And indeed when I did this I discovered that many functions were missing their
17 boolean return values or had parameter declarations with the wrong types.
18 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
19 clarity. Added boolean return value: return true when successful and false when not.
20 (pluginSetProperty): Added boolean return value, return false since we have no
21 properties we can set.
22 (pluginInvoke): Added boolean return value. Return true when successful and false
23 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
24 return value from calling the browser. Changed code to put the strings in malloc
25 buffers instead of relying on GCC's extension that allows variable-sized arrays
27 (pluginInvokeDefault): Added boolean return value, return false since we have no
28 default function to call.
29 (pluginInvalidate): Added missing parameter. Removed comment.
30 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
31 to cast the result of malloc.
32 (pluginDeallocate): Removed uneeded cast.
34 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
35 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
36 that match NPObject's fields. Removed unused NPWindow pointer.
38 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
40 Test: fast/events/event-sender-mouse-click.html
44 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
45 DRT hangs when doing eventSender.mouseDown on native widgets
47 * DumpRenderTree/DumpRenderTree.m:
48 (+[EventSendingController isSelectorExcludedFromWebScript:]):
49 (-[EventSendingController mouseClick]): Simulates a click in a native
50 widget by queueing a mouseUp before sending the mouseDown, so that
51 the widget's mouse tracking event loop doesn't hang indefinitely.
53 2006-03-09 Maciej Stachowiak <mjs@apple.com>
57 - make link clicks work by handling link click requests
60 * Spinneret/Spinneret/Spinneret.cpp:
62 * Spinneret/Spinneret/Spinneret.h:
63 * Spinneret/Spinneret/WebFrame.cpp:
64 (WebKit::WebFrame::WebFrame):
65 (WebKit::WebFrame::openURL):
66 (WebKit::WebFrame::loadURL):
67 * Spinneret/Spinneret/WebFrame.h:
69 2006-03-08 Eric Seidel <eseidel@apple.com>
73 Focus URL bar on Spinneret launch, remove border from WebView.
74 Stop WebFrame from deleting the job (prevent crash).
76 * Spinneret/Spinneret/Spinneret.cpp:
78 * Spinneret/Spinneret/WebFrame.cpp:
79 (WebKit::WebFrame::receivedAllData):
80 (WebKit::WebFrame::paint):
81 * Spinneret/Spinneret/WebView.cpp:
82 (WebKit::WebView::createWebView):
84 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
88 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
89 (pluginInvoke): Added a method to test getURL.
91 2006-03-08 Maciej Stachowiak <mjs@apple.com>
95 - load URLs, not file paths, in Spinneret
97 * Spinneret/Spinneret/Spinneret.cpp:
99 * Spinneret/Spinneret/Spinneret.vcproj:
100 * Spinneret/Spinneret/WebFrame.cpp:
101 (WebKit::WebFrame::loadURL):
102 (WebKit::WebFrame::receivedData):
103 (WebKit::WebFrame::receivedAllData):
104 * Spinneret/Spinneret/WebFrame.h:
105 * Spinneret/Spinneret/WebView.cpp:
106 (WebKit::WebView::WebView):
108 2006-03-08 Darin Adler <darin@apple.com>
112 - fixed AppleScript layout test results to not be endian-dependent
113 (Hyatt complained to me about this one)
115 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
116 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
117 (which are endian-dependent).
119 2006-03-07 Darin Adler <darin@apple.com>
123 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
124 unwanted output while running layout tests
126 * DumpRenderTree/DumpRenderTree.m:
127 (checkedMalloc): Added.
128 (checkedRealloc): Added.
129 (makeLargeMallocFailSilently): Added.
130 (main): Call makeLargeMallocFailSilently.
132 2006-03-06 Darin Adler <darin@apple.com>
134 * Scripts/do-webcore-rename: Add some more planned renaming.
136 2006-03-06 Eric Seidel <eseidel@apple.com>
140 * Spinneret/Spinneret/WebFrame.cpp:
141 (WebKit::WebFrame::paint): force layout before painting
143 2006-03-06 Justin Garcia <justin.garcia@apple.com>
147 Sent the windowNumber when sending events.
148 Added leapForward so that we don't have to spend time waiting
149 in layout tests that do mouse operations that require delays.
151 * DumpRenderTree/DumpRenderTree.m:
152 (+[EventSendingController isSelectorExcludedFromWebScript:]):
153 (+[EventSendingController webScriptNameForSelector:]):
154 (-[EventSendingController currentEventTime]):
155 (-[EventSendingController leapForward:]):
156 (-[EventSendingController mouseDown]):
157 (-[EventSendingController mouseUp]):
158 (-[EventSendingController mouseMoveToX:Y:]):
160 2006-03-05 Darin Adler <darin@apple.com>
162 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
163 Script now works (after landing my two pending patches).
165 2006-03-05 Darin Adler <darin@apple.com>
167 - check in a script to do a "big" rename in WebCore
168 (can be run whenever we're ready to do it)
170 * Scripts/do-webcore-rename: Added.
172 2006-03-05 Maciej Stachowiak <mjs@apple.com>
176 * Spinneret/Spinneret/WebFrame.cpp:
177 (WebKit::WebFrame::loadFilePath): Close file when done.
179 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
181 Reviewed by Darin, landed by ap.
183 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
184 Mouse moved events do not work in DumpRenderTree
186 Test: fast/events/event-sender-mouse-moved.html
188 * DumpRenderTree/DumpRenderTree.m:
189 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
191 2006-03-04 Eric Seidel <eseidel@apple.com>
195 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
196 Disable background erase to avoid tearing.
197 Fix potential memory smasher from extra long urls.
199 * Spinneret/Spinneret/Spinneret.cpp:
201 * Spinneret/Spinneret/Spinneret.vcproj:
202 * Spinneret/Spinneret/WebFrame.cpp:
203 (WebKit::WebFrame::loadFilePath):
204 (WebKit::WebFrame::paint):
205 * Spinneret/Spinneret/WebView.cpp:
206 (WebKit::registerWebViewWithInstance):
208 2006-03-04 Eric Seidel <eseidel@apple.com>
212 Hang WebView pointer off of HWND (gets rid of global hack).
213 Remove MessageBox displayed on url change.
215 * Spinneret/Spinneret/Spinneret.cpp:
218 * Spinneret/Spinneret/WebView.cpp:
219 (WebKit::registerWebViewWithInstance):
220 (WebKit::WebView::createWebView):
221 (WebKit::WebViewWndProc):
223 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
227 Automatically kill httpd if it appears to be already running.
229 * Scripts/run-webkit-tests:
231 2006-03-04 Maciej Stachowiak <mjs@apple.com>
235 * Spinneret/Spinneret/WebFrame.cpp:
236 (WebKit::WebFrame::loadFilePath): Improved local file loading.
238 2006-03-03 Eric Seidel <eseidel@apple.com>
242 A few more fixes to make run-webkit-tests really work on win32.
244 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
246 * Scripts/run-webkit-tests:
248 2006-03-03 Eric Seidel <eseidel@apple.com>
252 Make run-webkit-tests work on win32.
254 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
256 (dumpRenderTreeMain):
257 (dumpRenderTreeToStdOut):
260 * Scripts/run-webkit-tests:
261 * Scripts/webkitdirs.pm:
262 * Spinneret/Spinneret/WebView.cpp:
263 (WebKit::WebView::WebView):
265 2006-03-03 Eric Seidel <eseidel@apple.com>
269 Add WebFrame class (to hold Frame and FrameView).
270 Add Location bar support to Spinneret.
272 * Spinneret/Spinneret/Spinneret.cpp:
277 * Spinneret/Spinneret/Spinneret.vcproj:
278 * Spinneret/Spinneret/WebFrame.cpp: Added.
279 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
280 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
281 (WebKit::WebFrame::WebFrame):
282 (WebKit::WebFrame::loadFilePath):
283 (WebKit::WebFrame::loadHTMLString):
284 (WebKit::WebFrame::paint):
285 (WebKit::WebFrame::impl):
286 (WebKit::WebFrame::viewImpl):
287 * Spinneret/Spinneret/WebFrame.h: Added.
288 * Spinneret/Spinneret/WebView.cpp:
289 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
290 (WebKit::WebView::WebView):
291 (WebKit::WebView::windowHandle):
292 (WebKit::WebView::mainFrame):
293 (WebKit::WebView::mouseMoved):
294 (WebKit::WebView::mouseDown):
295 (WebKit::WebView::mouseUp):
296 (WebKit::WebView::mouseDoubleClick):
297 (WebKit::WebViewWndProc):
298 * Spinneret/Spinneret/WebView.h:
300 2006-03-02 Eric Seidel <eseidel@apple.com>
304 * Spinneret/Spinneret/WebView.cpp:
305 (WebKit::registerWebViewWithInstance):
306 (WebKit::WebView::WebView):
307 (WebKit::WebView::mouseMoved):
308 (WebKit::WebView::mouseDown):
309 (WebKit::WebView::mouseUp):
310 (WebKit::WebView::mouseDoubleClick):
311 (WebKit::WebViewWndProc):
312 * Spinneret/Spinneret/WebView.h:
314 2006-03-01 Eric Seidel <eseidel@apple.com>
316 Reviewed by andersca.
318 Make spinneret take advantage of the new GraphicsContextCairo.
320 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
321 (main): updated to match style guidelines.
322 * Spinneret/Spinneret/Spinneret.cpp:
324 * Spinneret/Spinneret/WebView.cpp:
325 (WebKit::registerWebViewWithInstance):
326 (WebKit::WebView::WebView):
327 (WebKit::WebView::~WebView):
328 (WebKit::WebView::drawRect):
330 * Spinneret/Spinneret/WebView.h:
332 2006-03-01 Justin Garcia <justin.garcia@apple.com>
336 Give the events that eventSender sends a unique eventNumber
338 * DumpRenderTree/DumpRenderTree.m:
339 (-[EventSendingController mouseDown]):
340 (-[EventSendingController mouseUp]):
341 (-[EventSendingController mouseMoveToX:Y:]):
343 2006-03-01 Eric Seidel <eseidel@apple.com>
347 Add a stub win32 application to test WebCore drawing on windows.
350 * Spinneret/Spinneret: Added.
351 * Spinneret/Spinneret.sln: Added.
352 * Spinneret/Spinneret/Resource.h: Added.
353 * Spinneret/Spinneret/Spinneret.cpp: Added.
359 * Spinneret/Spinneret/Spinneret.h: Added.
360 * Spinneret/Spinneret/Spinneret.ico: Added.
361 * Spinneret/Spinneret/Spinneret.rc: Added.
362 * Spinneret/Spinneret/Spinneret.vcproj: Added.
363 * Spinneret/Spinneret/WebView.cpp: Added.
364 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
365 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
366 (WebKit::registerWebViewWithInstance):
367 (WebKit::WebView::createWebView):
368 (WebKit::WebView::WebView):
369 (WebKit::WebView::~WebView):
370 (WebKit::WebView::drawRect):
371 (WebKit::WebView::windowHandle):
373 * Spinneret/Spinneret/WebView.h: Added.
374 * Spinneret/Spinneret/small.ico: Added.
375 * Spinneret/Spinneret/stdafx.cpp: Added.
376 * Spinneret/Spinneret/stdafx.h: Added.
378 2006-02-28 Eric Seidel <eseidel@apple.com>
382 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
383 (main): add ability to dump render tree and read from a local file.
385 2006-02-27 Eric Seidel <eseidel@apple.com>
389 * Scripts/install-win-extras: fix dll permissions & download zlib too.
391 2006-02-27 Eric Seidel <eseidel@apple.com>
395 Test new KConfig -> PlugInInfoStore change.
396 http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
398 * DumpRenderTree/DumpRenderTree.m:
399 (main): load test netscape plugin
400 * Scripts/run-webkit-tests: style update
402 2006-02-24 Eric Seidel <eseidel@apple.com>
406 Make DumpRenderTree link against icu.
408 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
410 2006-02-24 Eric Seidel <eseidel@apple.com>
414 Make DumpRenderTree link against libxml, etc.
416 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
418 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
420 Reviewed and landed by Anders.
422 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
423 getting called from the run loop, making the view render each test and thus slowing
426 * DumpRenderTree/DumpRenderTree.m:
427 (main): Set the offscreen window to not autodisplay.
429 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
433 - Turn http tests back on by default.
434 - Wait for Apache to actually start serving requests.
435 - Get user id from a built-in variable rather than an external command;
436 don't pass the group.
438 * Scripts/run-webkit-tests:
440 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
442 Suggested by Mitz Pettel, reviewed by Darin.
444 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
445 can run CGIs even if the permissions are 700 or 600.
447 2006-02-23 Darin Adler <darin@apple.com>
449 Collaborating with Alexey.
451 - turn off http tests by default until we figure out how to get them
452 to run even when permissions on CGI files are 700 instead of 755
454 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
456 2006-02-23 Eric Seidel <eseidel@apple.com>
458 Add *.user to ignore list.
460 2006-02-23 Eric Seidel <eseidel@apple.com>
462 Remove binary file which shouldn't have been commited (and add to ignore list).
464 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
465 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
467 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
471 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
473 2006-02-22 Eric Seidel <eseidel@apple.com>
475 Reviewed by Tim Hatcher.
477 Fix install-win-extras to not try to re-install setx if installed.
479 * Scripts/install-win-extras:
481 2006-02-22 Eric Seidel <eseidel@apple.com>
483 One more file possibly missing from previous commit?
485 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
486 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
488 2006-02-22 Eric Seidel <eseidel@apple.com>
492 Files missing from previous commit.
494 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
495 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
497 2006-02-22 Eric Seidel <eseidel@apple.com>
499 Rubber-stamped by justing.
501 Corrected path for DumpRenderTree.intermediate files
503 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
505 2006-02-22 Eric Seidel <eseidel@apple.com>
509 Fixed build-dumprendertree to exit with correct error codes.
511 * Scripts/build-dumprendertree:
513 2006-02-22 Eric Seidel <eseidel@apple.com>
517 Update build scripts to generalize building on Win32, and allow
518 building of DumpRenderTree on Win32 from build-dumprendertree.
520 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
522 * Scripts/build-dumprendertree:
523 * Scripts/build-webkit:
524 * Scripts/webkitdirs.pm:
526 2006-02-22 Eric Seidel <eseidel@apple.com>
530 * DumpRenderTree/DumpRenderTree.vcproj: Added.
531 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
532 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
533 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
534 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
535 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
537 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
538 * Scripts/build-webkit: make build-webkit cleanup after itself
540 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
544 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
545 Some minor fixes to http tests.
547 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
549 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
553 - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
554 Would like to use locally installed Apache for testing.
556 Added two run-webkit-tests options:
557 --http (--nohttp) - whether to launch Apache (defaults to yes);
558 --port - which port to listen on (defaults to 8000).
560 Tests in LayoutTests/http are not run directly, and Apache is used instead.
561 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
562 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
564 Also added support for .shtml and .text files. Text files give an empty
565 *-expected.txt, but a correct image.
567 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
569 * Scripts/run-webkit-tests:
571 2006-02-21 Darin Adler <darin@apple.com>
573 Suggested by Mark Rowe.
575 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
576 reporting leak counts.
578 2006-02-18 Maciej Stachowiak <mjs@apple.com>
582 - Added install-win-extras script which installs some extra
583 programs and libraries, and does Windows first-time setup.
585 * Scripts/build-webkit: Add a newline between build results.
586 * Scripts/install-win-extras: Added.
588 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
592 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
593 DumpRenderTree should be able to load files via HTTP
595 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
596 Handle tests starting with "http://" as real URLs, not file system paths.
598 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
602 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
603 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
605 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
607 2006-02-18 Darin Adler <darin@apple.com>
609 * Scripts/commit-log-editor: Added.
611 2006-02-17 Eric Seidel <eseidel@apple.com>
615 Make Win32 have the same default "WebKitBuild" directory behavior.
617 * Scripts/build-webkit:
618 * Scripts/webkitdirs.pm:
620 2006-02-17 Eric Seidel <eseidel@apple.com>
624 * Scripts/build-webkit: make win32 actually report errors
626 2006-02-17 Eric Seidel <eseidel@apple.com>
630 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
632 2006-02-17 Eric Seidel <eseidel@apple.com>
636 * Scripts/run-webkit-tests: Ignore flash leaks
638 2006-02-15 Justin Garcia <justin.garcia@apple.com>
642 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
643 Add drag and drop support to DumpRenderTree
645 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
646 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
648 * DumpRenderTree/DumpRenderTree.m:
650 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
651 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
652 (-[WaitUntilDoneDelegate webViewFocus:]):
653 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
654 (+[LayoutTestController webScriptNameForSelector:]):
655 (-[LayoutTestController setWindowIsKey:]):
656 (-[LayoutTestController setMainFrameIsFirstResponder:]):
657 (-[EventSendingController init]):
658 (-[EventSendingController mouseDown]):
659 (-[EventSendingController mouseUp]):
660 (-[EventSendingController mouseMoveToX:Y:]):
662 (-[DumpRenderTreeWindow isKeyWindow]):
663 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
664 (-[DumpRenderTreeDraggingInfo dealloc]):
665 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
666 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
667 (-[DumpRenderTreeDraggingInfo draggingLocation]):
668 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
669 (-[DumpRenderTreeDraggingInfo draggedImage]):
670 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
671 (-[DumpRenderTreeDraggingInfo draggingSource]):
672 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
673 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
674 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
675 * DumpRenderTree/TextInputController.m:
676 (-[TextInputController firstRectForCharactersFrom:length:]):
677 (-[TextInputController characterIndexForPointX:Y:]):
679 2006-02-15 Geoffrey Garen <ggaren@apple.com>
683 * DumpRenderTree/DumpRenderTree.m:
684 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
685 Added a dummy method for the sake of LayoutTests/plugins/
686 undefined-property-crash.html. (It tests a crash due to fallback
687 object use. WebCore won't create a fallback object if the method is
690 2006-02-14 Eric Seidel <eseidel@apple.com>
694 * Scripts/run-webkit-tests: added --results-directory (-o) option
696 2006-02-09 Eric Seidel <eseidel@apple.com>
698 Rubber-stamped by mjs.
700 Renamed split-class to split-file-by-class.
702 * Scripts/build-webkit: Updated copyright.
703 * Scripts/split-class: Removed.
704 * Scripts/split-file-by-class: Added.
706 2006-02-08 Eric Seidel <eseidel@apple.com>
708 Rubber-stamped by mjs.
710 Adding new script for splitting multi-class files.
711 Also adding supporting perl module with space removing heuristics.
713 * Scripts/SpacingHeuristics.pm: Added.
714 * Scripts/build-drawtest: updated copyright header
715 * Scripts/split-class: Added.
717 2006-02-08 Justin Garcia <justin.garcia@apple.com>
721 Changes to test fix for:
722 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
723 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
725 * DumpRenderTree/DumpRenderTree.m:
726 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
727 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
728 (+[LayoutTestController webScriptNameForSelector:]):
729 (-[LayoutTestController setWindowHasFocus:]):
730 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
732 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
736 Support automated testing of AppleScript "do JavaScript" command
737 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
739 * DumpRenderTree/AppleScriptController.h: Added.
740 * DumpRenderTree/AppleScriptController.m: Added.
741 * DumpRenderTree/DumpRenderTree.m:
742 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
743 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
745 2006-02-06 Eric Seidel <eseidel@apple.com>
749 Fix build-webkit for use on win32 (unblocks buildbot usage).
750 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
752 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
753 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
755 2006-02-06 Eric Seidel <eseidel@apple.com>
757 Rubber-stamped by darin & mjs.
759 Added new support directory for build slave scripts.
760 Committing the first script, for use by the PLT's build slave.
761 This script is used to kick of the PLT (Page Load Test) slave.
763 * BuildSlaveSupport: Added.
764 * BuildSlaveSupport/run-performance-tests: Added.
766 2006-02-06 Eric Seidel <eseidel@apple.com>
768 Rubber-stamped by darin.
770 Adding setSourceDir for scripts stored in non-standard locations.
772 * Scripts/webkitdirs.pm:
774 2006-02-04 Darin Adler <darin@apple.com>
776 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
777 Configuration files that say Development or Deployment in them.
779 2006-02-04 Darin Adler <darin@apple.com>
781 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
782 wrapper already in the directory.
783 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
784 these haven't been working at all.
785 * Scripts/svn-unapply: Ditto.
787 2006-02-03 Timothy Hatcher <timothy@apple.com>
791 Renamed configuration names to Debug, Release and Production.
793 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
794 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
795 * Scripts/set-webkit-configuration:
796 * Scripts/webkitdirs.pm:
798 2006-02-02 Justin Garcia <justin.garcia@apple.com>
802 Enabled spell checking for layout tests.
804 * DumpRenderTree/DumpRenderTree.m:
807 2006-01-29 Darin Adler <darin@apple.com>
809 * Scripts/svn-apply: Added comments about things we should do to improve.
810 * Scripts/svn-create-patch: Ditto.
811 * Scripts/svn-unapply: Ditto.
813 2006-01-28 Darin Adler <darin@apple.com>
815 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
816 already there, even if the checksum is correct.
818 2006-01-27 Eric Seidel <eseidel@apple.com>
822 * Scripts/run-webkit-tests: make new tests use absolute urls
824 2006-01-27 Eric Seidel <eseidel@apple.com>
828 make run-webkit-tests output total leaks count
830 * Scripts/run-webkit-tests:
832 2006-01-27 Eric Seidel <eseidel@apple.com>
836 run-webkit-test --leaks crashes (malloc logging runs out of memory)
837 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
839 * Scripts/run-webkit-tests: fix --leaks to not crash
841 2006-01-26 Eric Seidel <eseidel@apple.com>
845 run-webkit-tests should produce a self-contained results directory
846 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
848 * Scripts/run-webkit-tests: copy failing items to results dir.
850 2006-01-23 Darin Adler <darin@apple.com>
852 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
853 need script to update localizable strings file in WebKit
855 * Scripts/update-webkit-localizable-strings: Added.
857 2006-01-23 Darin Adler <darin@apple.com>
859 - added a couple of scripts -- more about these two soon
861 * Scripts/extract-localizable-strings: Added.
862 * Scripts/merge-changelog: Added.
864 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
868 Build fix. build-webkit dies with "invalid build action: (empty string)"
870 * Scripts/build-webkit:
871 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
873 2006-01-22 Eric Seidel <eseidel@apple.com>
877 Fix --no-svg option to use XCode flags instead of gcc flags.
879 * Scripts/build-webkit:
881 2006-01-22 Eric Seidel <eseidel@apple.com>
885 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
887 * Scripts/build-webkit:
889 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
893 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
894 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
896 * Scripts/build-drawtest: Changed bareword 'true' to 1.
897 * Scripts/run-drawtest: Changed bareword 'true' to 1.
899 2006-01-19 Darin Adler <darin@apple.com>
901 * Scripts/report-include-statistics: Added a new script.
903 2006-01-19 Timothy Hatcher <timothy@apple.com>
905 * Scripts/build-webkit: include JavaScriptGlue in the build
907 2006-01-19 Darin Adler <darin@apple.com>
909 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
910 spaces in it by using the form of open that treats each argument as a string
911 rather than backtick syntax for reading the output of the nm tool.
913 2006-01-12 Maciej Stachowiak <mjs@apple.com>
917 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
918 detect if there are any new tests
920 * Scripts/prepare-ChangeLog:
922 2006-01-12 Darin Adler <darin@apple.com>
924 - removed some of the cvs-specific scripts -- not needed for this project any more
926 * Scripts/cvs-abandon: Removed.
927 * Scripts/cvs-apply: Removed.
928 * Scripts/cvs-create-patch: Removed.
929 * Scripts/cvs-unapply: Removed.
931 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
933 Reviewed by eseidel. Committed by eseidel.
935 - run-webkit-tests always launches Safari when tests fail
936 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
938 * Scripts/run-webkit-tests:
939 Add a command-line flag to prevent Safari being launched to display failed
940 tests. Always exit with non-zero status when tests have failed.
942 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
944 Reviewed by eseidel. Committed by eseidel.
946 - build-webkit should exit with non-zero status when build fails
947 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
949 * Scripts/build-webkit:
950 Use correct bits of subprocess exit code when passing back through
951 as build-webkit's exit code.
953 2006-01-10 Eric Seidel <eseidel@apple.com>
955 Restored corrupted nibs from TOT CVS.
957 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
958 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
959 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
960 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
961 * DrawTest/English.lproj/Inspector.nib: Replaced.
962 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
963 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
964 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
965 * DrawTest/English.lproj/MainMenu.nib: Replaced.
966 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
967 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
968 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
969 * DrawTest/English.lproj/TestViewer.nib: Replaced.
970 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
971 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
972 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
974 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
976 Reviewed by eseidel. Committed by eseidel.
978 DrawTestView now subclasses WebView instead of DrawView.
980 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
981 * DrawTest/DrawTestDocument.h:
982 * DrawTest/DrawTestDocument.m:
983 (-[DrawTestDocument dealloc]):
984 (-[DrawTestDocument readFromFile:ofType:]):
985 (-[DrawTestDocument windowControllerDidLoadNib:]):
986 (-[DrawTestDocument dumpSVGToConsole:]):
987 (-[DrawTestDocument openSourceForSelection:]):
988 (-[DrawTestDocument dataRepresentationOfType:]):
989 * DrawTest/DrawTestToolbarController.h:
990 * DrawTest/DrawTestToolbarController.m:
991 (-[DrawTestToolbarController initWithDrawView:]):
992 (-[DrawTestToolbarController clickedToolbarItem:]):
993 (-[DrawTestToolbarController validateToolbarItem:]):
994 * DrawTest/DrawTestView.h:
995 * DrawTest/DrawTestView.m:
996 (-[DrawTestView initWithFrame:]):
997 (-[DrawTestView setDocument:]):
998 * DrawTest/SVGTest.h:
999 * DrawTest/SVGTest.m:
1000 (+[SVGTest sharedDrawView]):
1001 (-[SVGTest generateCompositeIfNecessary]):
1002 * DrawTest/TestController.h:
1003 * DrawTest/TestController.m:
1004 (-[TestController awakeFromNib]):
1005 (-[TestController setSelectedTest:]):
1006 (-[TestController openTestViewerForSelection:]):
1007 (-[TestController toggleViewersScaleRule:]):
1008 * DrawTest/TestViewerSplitView.m:
1009 (-[TestViewerSplitView drawRect:]):
1011 2006-01-10 Anders Carlsson <andersca@mac.com>
1013 Reviewed by Timothy.
1015 * DumpRenderTree/DumpRenderTree.m:
1016 (main): Set the default language to "en", so language tests will work.
1018 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1022 - script to generate HTML wrappers for JS tests
1023 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
1025 * Scripts/make-js-test-wrappers: Added.
1027 2006-01-08 Maciej Stachowiak <mjs@apple.com>
1031 * Scripts/svn-create-patch: Fix to work when passed directory names.
1033 2006-01-08 Geoffrey Garen <ggaren@apple.com>
1037 - Added back/forward navigation support to DumpRenderTree. Hopefully we
1038 can start writing automated loader tests now. I have one in the works.
1040 * DumpRenderTree/DumpRenderTree.m:
1041 (main): Construct global navigationController on entry, destroy on exit.
1042 Set frame to nil on exit too, to match all the other global objects.
1043 (Probably academic, since the process is exiting, anyway.)
1044 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
1045 navigationController, in case it wants to kick off a load.
1046 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
1047 the navigationController to scripting.
1049 New class, should be straightforward:
1051 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1052 * DumpRenderTree/NavigationController.h: Added.
1053 * DumpRenderTree/NavigationController.m: Added.
1055 (+[NavigationController isSelectorExcludedFromWebScript:]):
1056 (+[NavigationController webScriptNameForSelector:]):
1057 (-[NavigationController setPendingScript:]):
1058 (-[NavigationController setPendingRequest:]):
1059 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
1060 (-[NavigationController webView:didFinishLoadForFrame:]):
1061 (-[NavigationController dealloc]):
1063 2006-01-08 Timothy Hatcher <timothy@apple.com>
1065 Removed this script, no longer needs with the Subversion switch.
1067 * checkout: Removed.
1069 2006-01-08 Timothy Hatcher <timothy@apple.com>
1071 Removes some stray tabs.
1073 * Scripts/update-webkit:
1075 2005-01-07 Eric Seidel <eseidel@apple.com>
1079 build-webkit should pass on build arguments from command line
1080 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
1082 * Scripts/build-webkit:
1084 2006-01-07 Eric Seidel <eseidel@apple.com>
1086 Reviewed by mjs & xenon.
1088 * Scripts/update-webkit: support Internal updates as well
1090 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1092 Temporarily rolling out plugin support from DumpRenderTree because it
1093 caused lots of layout test regressions.
1095 * DumpRenderTree/DumpRenderTree.m:
1096 (main): Remove invisible window added to support plugins.
1098 2006-01-06 Geoffrey Garen <ggaren@apple.com>
1102 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
1103 Add plugin support to DumpRenderTree
1105 Also wrote first test plugin.
1107 * DumpRenderTree/DumpRenderTree.m:
1109 (1) Put the WebView in an invisible window, because PlugIns are
1110 optimized not to load if there's no parent window.
1111 (2) Tell WebKit to load any PlugIns in the directory from which we
1112 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
1113 and they'll load automagically during layout testing, but they won't be
1114 added to the user's system, hosing apps like Safari.
1116 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
1117 test PlugIn to project.
1119 PlugIn added to project:
1121 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
1122 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
1124 (initializeIdentifiers):
1125 (pluginHasProperty):
1127 (pluginGetProperty):
1128 (pluginSetProperty):
1130 (pluginInvokeDefault):
1134 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
1135 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
1137 (NP_GetEntryPoints):
1143 (NPP_DestroyStream):
1153 2006-01-04 Timothy Hatcher <timothy@apple.com>
1157 Tweaked and tested by me.
1159 New scripts to work with Subversion when the switch happens.
1160 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
1162 * Scripts/svn-apply: Added.
1163 * Scripts/svn-create-patch: Added.
1164 * Scripts/svn-unapply: Added.
1166 2005-12-30 Eric Seidel <eseidel@apple.com>
1170 Move WebView width/height logic into DumpRenderTree to support
1171 running the W3C SVG 1.1 tests along side other tests. The W3C
1172 SVG 1.1 tests require a 480x360 view.
1174 * DumpRenderTree/DumpRenderTree.m:
1175 (main): don't accept width/height
1176 (dump): override width/height for SVG/W3C
1177 * Scripts/run-webkit-tests: don't pass width/height
1179 2005-12-30 Eric Seidel <eseidel@apple.com>
1181 No review, only removing dead code.
1183 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
1184 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
1186 2005-12-30 Eric Seidel <eseidel@apple.com>
1190 DumpRenderTree should set a consistent color profile while running
1191 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
1193 Creates consistent colormatched renderings on every test machine
1194 using the only way possible with Tiger APIs: by setting the
1195 system color profile on the test machine for the duration of the
1196 tests. This will (unfortunately) cause colors to change while
1197 running DumpRenderTree. This can also cause "permanent" color
1198 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
1199 This is far from ideal, but it's be best way we've found to deal
1200 with the issue for now.
1202 * DumpRenderTree/DumpRenderTree.m:
1203 (restoreColorSpace):
1204 (setDefaultColorProfileToRGB):
1207 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
1209 Reviewed by Darin Adler.
1211 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
1212 cvs-create-patch --include produces incorrect paths
1214 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
1216 2005-12-19 Eric Seidel <eseidel@apple.com>
1220 * Scripts/run-webkit-tests: stop /etc/catalog warnings
1222 2005-12-19 Darin Adler <darin@apple.com>
1224 Reviewed by Eric Seidel.
1226 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
1227 WebKit needs to use a local pasteboard during testing
1229 * DumpRenderTree/DumpRenderTree.m:
1230 (main): Call poseAs to substitute our NSPasteboard class for the default one.
1231 Create a local pasteboard (really a global one with a unique name) and release
1232 it when exiting from the function so we don't leave it in the pasteboard server.
1233 (dumpRenderTree): Added an autorelease pool around one small bit of code that
1234 ddn't have one. Fixed a leak in an unlikely error case.
1235 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
1236 of this method to return our local pasteboard.
1238 2005-12-15 Eric Seidel <eseidel@apple.com>
1240 Reviewed by Tim Hatcher.
1242 * Scripts/build-webkit: --svg is now default!
1244 2005-12-15 Eric Seidel <eseidel@apple.com>
1248 Don't run svg test automatically if +SVG is built (yet).
1250 * Scripts/run-webkit-tests:
1252 2005-12-15 Darin Adler <darin@apple.com>
1254 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
1255 support is not compiled in. Report the 10 slowest tests if "--slowest" is
1256 passed on the command line.
1258 2005-12-06 John Sullivan <sullivan@apple.com>
1260 Reviewed by Darin Adler.
1262 * Scripts/prepare-ChangeLog:
1263 Remove special-case handling for nib files. This avoided trouble with cvs diff
1264 when we were using wrappers for nib files. Now that we aren't using wrappers,
1265 there's no reason to avoid adding the modified nib files to the file list that
1268 2005-12-05 Eric Seidel <eseidel@apple.com>
1272 Script updates for SVG files move (remove references to SVGSupport)
1274 * Scripts/build-webkit: remove SVGSupport
1275 * Scripts/run-webkit-tests: Resources -> resources for --svg
1276 * Scripts/update-webkit: remove SVGSupport
1278 2005-12-05 Eric Seidel <eseidel@apple.com>
1282 * checkout: remove --svg support, SVG is now checked out by default
1284 2005-11-29 Eric Seidel <eseidel@apple.com>
1288 Update scripts to run SVG tests automatically (w/o --svg) if
1289 WebCore is built with SVG support.
1291 * Scripts/build-drawtest: SVG support required
1292 * Scripts/build-dumpkcanvastree: Removed.
1293 * Scripts/run-drawtest: SVG support required to run
1294 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
1295 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
1297 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
1299 Reviewed by Darin. Committed by Maciej.
1301 - fixed "DumpRenderTree should test for Ahem before doing anything else"
1302 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
1304 * DumpRenderTree/DumpRenderTree.m:
1307 2005-11-28 Eric Seidel <eseidel@apple.com>
1309 Reviewed by sullivan and GGAREN.
1311 Minor additions to make error messages more clear from cvs-apply.
1313 * Scripts/cvs-apply: make errors more clear
1315 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
1317 Reviewed and committed by Maciej.
1319 - fixed cvs-create-patch --include produces incorrect paths
1320 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
1322 * Scripts/cvs-create-patch: produce proper paths for new files.
1324 2005-11-21 Eric Seidel <eseidel@apple.com>
1328 Some simple fixes to the build/test scripts now that SVG uses the
1329 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
1330 or symlinks for KDOM.
1332 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
1333 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
1334 * Scripts/run-webkit-tests: now runs SVG tests using DRT
1335 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
1336 * checkout: no longer symlink kdom
1338 2005-11-10 Eric Seidel <eseidel@apple.com>
1342 * Scripts/build-webkit: Pass through options to xcodebuild
1344 2005-11-07 Darin Adler <darin@apple.com>
1346 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
1348 2005-11-03 John Sullivan <sullivan@apple.com>
1352 * Scripts/run-safari:
1353 changed message to say "Starting Safari" instead of odd "Start Safari"
1354 * Scripts/run-webkit-tests:
1355 changed the way we pass the file parameter to use -NSOpen rather than relying on
1356 unlabeled arguments being treated as files. This was failing on some machines that
1357 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
1359 2005-10-27 Geoffrey Garen <ggaren@apple.com>
1361 Patch by Alexey Proskuryakov.
1365 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
1366 TextInputController should support attributed strings
1368 * DumpRenderTree/TextInputController.m:
1369 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
1370 (+[NSMutableAttributedString webScriptNameForSelector:]):
1371 (-[NSMutableAttributedString getLength]):
1372 (-[NSMutableAttributedString attributeNamesAtIndex:]):
1373 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
1374 (-[NSMutableAttributedString addAttribute:value:]):
1375 (-[NSMutableAttributedString addAttribute:value:from:length:]):
1376 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
1377 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
1378 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
1379 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
1380 (+[TextInputController isSelectorExcludedFromWebScript:]):
1381 (+[TextInputController webScriptNameForSelector:]):
1382 (-[TextInputController insertText:]):
1383 (-[TextInputController attributedSubstringFrom:length:]):
1384 (-[TextInputController attributedStringWithString:]):
1386 2005-10-11 Eric Seidel <eseidel@apple.com>
1390 Checks for leaks in ImageDiff too.
1392 * Scripts/run-webkit-tests:
1394 2005-10-09 Darin Adler <darin@apple.com>
1396 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
1397 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
1398 * Scripts/cvs-unapply: Ditto.
1399 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
1401 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
1403 Reviewed, rearranged and landed by Darin.
1405 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
1406 Need a way to automatically test for regressions in NSTextInput implementation
1408 * DumpRenderTree/DumpRenderTree.m:
1409 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1410 Create a text input controller and put it in a property of the window object.
1412 * DumpRenderTree/TextInputController.h: Added.
1413 * DumpRenderTree/TextInputController.m: Added.
1414 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
1416 2005-10-06 Darin Adler <darin@apple.com>
1418 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
1419 are controlled by cvs, or when changes cross multiple repositories.
1420 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
1422 2005-10-03 Eric Seidel <eseidel@apple.com>
1426 Make mouseDown and mouseUp force layout before acting.
1427 This is used by a new test case for 4233558.
1429 * DumpRenderTree/DumpRenderTree.m:
1430 (-[EventSendingController mouseDown]): force layout
1431 (-[EventSendingController mouseUp]): force layout
1433 2005-09-30 Eric Seidel <eseidel@apple.com>
1437 Updated all the scripts for the move:
1438 WebCore/layout-tests -> LayoutTests
1440 * Scripts/check-dom-results:
1441 * Scripts/prepare-ChangeLog:
1442 * Scripts/run-webkit-tests:
1443 * Scripts/update-webkit: added --no-tests
1444 * checkout: added --no-tests
1446 2005-09-28 Darin Adler <darin@apple.com>
1448 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
1449 pixel test should run even if render trees differ
1451 * Scripts/run-webkit-tests: Don't check if the text dump matches.
1453 2005-09-27 Eric Seidel <eseidel@apple.com>
1455 No review needed, SVG build fix only.
1457 * DumpKCanvasTree/DumpKCanvasTree.m:
1458 Missed one in my previous checkin.
1459 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
1461 2005-09-26 Eric Seidel <eseidel@apple.com>
1463 No review needed, SVG build fix only.
1465 * DrawTest/DrawTestDocument.m:
1466 * DrawTest/DrawTestToolbarController.m:
1467 * DrawTest/DrawTestView.h:
1468 * DrawTest/DrawTestView.m:
1469 * DrawTest/SVGTest.m:
1470 * DrawTest/TestController.m:
1471 Updated for WebCore+SVG -> WebCore rename.
1472 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
1474 2005-09-26 Eric Seidel <eseidel@apple.com>
1478 * DumpRenderTree/DumpRenderTree.m:
1479 (dump): updated error message
1480 * Scripts/check-dom-results: now includes xhtml
1481 Tool updates for xhtml.
1482 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
1484 2005-09-22 Duncan Wilcox <duncan@mclink.it>
1489 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
1490 "Would like to simulate human interaction with webview"
1492 * DumpRenderTree/DumpRenderTree.m:
1493 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1494 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1495 (+[EventSendingController webScriptNameForSelector:]):
1496 (-[EventSendingController init]):
1497 (-[EventSendingController mouseDown]):
1498 (-[EventSendingController mouseUp]):
1499 (-[EventSendingController mouseMoveToX:Y:]):
1500 Add eventSender javascript object, that sends fake mouse events to the webview.
1502 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1503 link with Carbon.framework
1505 2005-09-22 Eric Seidel <eseidel@apple.com>
1509 Update tools for WebCore+SVG -> WebCore rename.
1510 Also fold several SVG specific tools into their original
1511 WebCore counterparts.
1512 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
1514 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1515 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1516 * Scripts/build-drawtest:
1517 * Scripts/build-dumpkcanvastree:
1518 * Scripts/build-webcore-svg: Removed.
1519 * Scripts/build-webkit: added --svg option
1520 * Scripts/run-drawtest:
1521 * Scripts/run-webkit-tests:
1522 * Scripts/webkitdirs.pm: various additions.
1523 * checkout: added --svg option
1524 * checkout-svg: Removed.
1526 2005-09-19 Eric Seidel <eseidel@apple.com>
1530 * Scripts/run-webkit-tests: added --guard-malloc option
1531 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
1533 2005-09-16 Justin Garcia <justin.garcia@apple.com>
1537 Removed a script that is only used by apple internal developers
1539 * Scripts/update-webkitsysteminterface: Removed.
1541 2005-09-16 Adele Peterson <adele@apple.com>
1545 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
1547 2005-09-14 Darin Adler <darin@apple.com>
1549 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
1550 dumpAsText doesn't work with XHTML documents
1552 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
1553 rather than of the body element. This works with typical XHTML documents. We can probably
1554 do something even better in the long run, but this fixes the immediate issue.
1558 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
1559 run-safari instead of just using "open", which often runs another copy of Safari instead.
1561 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
1563 Reviewed, tweaked, and landed by Darin.
1565 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
1566 .Mac prefpane crashes when Safari using CVS WebKit is running
1568 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
1569 * Scripts/run-webkit-app: Ditto.
1571 2005-09-11 Darin Adler <darin@apple.com>
1573 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
1575 2005-09-11 Darin Adler <darin@apple.com>
1579 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
1580 two ways: 1) puts all files in a directory before any files in a subdirectory, and
1581 2) sort file names with numeric digits in them in a logical way, so test-33 will come
1584 2005-09-08 Justin Garcia <justin.garcia@apple.com>
1588 * Scripts/update-webkitsysteminterface: Added.
1589 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
1591 2005-09-01 John Sullivan <sullivan@apple.com>
1593 * Scripts/run-webkit-tests:
1594 Excluded a known system leak to reduce noise; added comments about which leaks
1597 2005-09-01 Tim Omernick <tomernick@apple.com>
1599 Change made by Darin, reviewed by John and myself.
1601 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
1603 * Scripts/prepare-ChangeLog:
1605 2005-08-31 Maciej Stachowiak <mjs@apple.com>
1609 - set color variant and font settings to a consistent value.
1610 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
1612 * DumpRenderTree/DumpRenderTree.m:
1615 2005-08-30 Eric Seidel <eseidel@apple.com>
1619 * Scripts/build-svg2png: Removed.
1620 * svg2png/ImageDiff.h: Removed.
1621 * svg2png/ImageDiff.m: Removed.
1622 * svg2png/svg2png.m: Removed.
1623 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
1624 * svg2png/svg2png_Prefix.pch: Removed.
1625 svg2png is no longer needed.
1627 2005-08-30 Darin Adler <darin@apple.com>
1629 * Scripts/check-dom-results: Special case 100% to say something nice.
1630 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
1631 applying the patch (need a better name).
1632 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
1634 2005-08-30 Darin Adler <darin@apple.com>
1636 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
1638 2005-08-29 Maciej Stachowiak <mjs@apple.com>
1642 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
1643 (some pixel tests fail when AA settings are changed)
1645 * DumpRenderTree/DumpRenderTree.m:
1646 (main): set AA settings to the default values
1648 2005-08-29 Darin Adler <darin@apple.com>
1650 Reviewed by John Sullivan.
1652 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
1653 executable -- much slower but can help pinpoint leaks. Changed formatting of some
1656 2005-08-28 Maciej Stachowiak <mjs@apple.com>
1660 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
1661 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
1663 * DumpRenderTree/DumpRenderTree.m:
1664 (main): set scrollbar arrow setting to a consistent value
1666 2005-08-27 Jussi Hagman <juhagman@abo.fi>
1668 Reviewed and landed by Darin.
1670 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
1671 output of update-webkit is too verbose
1673 * Scripts/update-webkit:
1674 Added option --quiet (-q) to decrease the amount of output.
1676 2005-08-27 Darin Adler <darin@apple.com>
1678 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
1679 cvs-create-patch --include-unknowns should ignore hidden files
1681 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
1683 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
1685 Reviewed, tweaked, and landed by Darin.
1687 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
1688 update-webkit doesn't notice when you have SVGSupport and update properly
1690 * Scripts/update-webkit: Build SVGSupport directory if it's present.
1692 2005-08-25 Anders Carlsson <andersca@mac.com>
1694 Reviewed and landed by Darin.
1696 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
1697 layout test machinery can't handle tests with applets that have code attributes
1699 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
1701 2005-08-24 Darin Adler <darin@apple.com>
1705 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
1706 DumpRenderTree --pixel-tests crash
1707 - landed some other small changes I had sitting in my tree
1709 * DumpRenderTree/DumpRenderTree.m:
1710 (main): Don't bother saving and restoring the preferences. Not sure
1711 why this was ever done since the preferences are specific to DumpRenderTree.
1712 Clear delegates before releasing the WebView, because you can't count on the
1713 order of object deallocation.
1714 (dumpRenderTree): Fix code that releases a string before storing it in a
1717 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
1718 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
1720 2005-08-23 Eric Seidel <eseidel@apple.com>
1724 * Scripts/run-webkit-tests:
1725 Made --leaks option more readable by printing to a file.
1726 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
1728 2005-08-22 Eric Seidel <eseidel@apple.com>
1729 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1733 * Scripts/run-webkit-tests: hides "expected actual diffs" links
1734 when they are not needed (for pixel-only failures)
1735 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
1737 2005-08-22 Eric Seidel <eseidel@apple.com>
1741 * Scripts/run-webkit-tests: Added the ability to display more than
1742 just two images as part of the image-diff "slideshow".
1743 Added display of "-w3c.png" baseline images for SVG.
1744 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
1747 2005-08-20 Eric Seidel <eseidel@apple.com>
1749 * Scripts/run-webkit-tests:
1750 "build" fix after committing incorrect version.
1752 2005-08-20 Eric Seidel <eseidel@apple.com>
1756 * DumpRenderTree/DumpRenderTree.m:
1757 (main): cleans up delegates
1758 (dumpRenderTree): closes CFString/CFURL leak
1759 * Scripts/run-webkit-tests:
1760 Adds --leaks option to run-webkit-tests
1761 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
1763 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
1767 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
1768 new files to be included in the patch even without "cvs add".
1770 2005-08-19 Darin Adler <darin@apple.com>
1772 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
1773 non-cvs-generated patches. Anders has been creating these, so it's bad that
1774 the script can't handle them.
1775 * Scripts/cvs-unapply: Ditto.
1777 2005-08-18 Darin Adler <darin@apple.com>
1779 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
1780 "." in them -- based on complaint by someone here at Apple.
1782 2005-08-18 Eric Seidel <eseidel@apple.com>
1786 * Scripts/run-webkit-tests:
1787 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
1789 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1791 - add file that I forgot in the last checkin
1793 * DumpRenderTree/ImageDiff.m: Added.
1795 (getImageFromStdin):
1797 (getDifferenceBitmap):
1798 (computePercentageDifferent):
1800 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1802 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
1803 somewhat by me, and also tweaked by me a little bit.
1805 - better support for pixel-dumping
1806 - use checksums of the images so the tests are fast
1807 - change output format to make the tests run faster
1808 - don't dump pixel results for tests that dump as text
1810 * DumpKCanvasTree/DumpKCanvasTree.m:
1813 (md5HashStringForBitmap):
1815 (constrainSizeToMaximum):
1816 (getBitmapImageRepForSVGDocument):
1817 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1818 * DumpRenderTree/DumpRenderTree.m:
1822 (md5HashStringForBitmap):
1823 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1824 * Scripts/run-webkit-tests:
1826 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1830 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
1832 * DumpRenderTree/DumpRenderTree.m:
1835 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
1837 Reviewed and landed by Darin.
1839 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
1840 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
1842 * Scripts/run-safari: Pass arguments through to Safari on command line.
1843 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
1845 2005-08-11 Eric Seidel <eseidel@apple.com>
1846 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1848 Reviewed by eseidel.
1850 * DrawTest/TestController.m:
1851 (-[TestController imagePathForSVGPath:]):
1852 Fixed support for using TextViewer with the layout-tests.
1853 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
1855 2005-08-11 Maciej Stachowiak <mjs@apple.com>
1857 At Least Roughly Glanced At by Anders.
1859 - fix change with totally breaks the layout tests.
1861 * DumpRenderTree/DumpRenderTree.m:
1862 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
1863 load, to avoid dumping twice accidentally.
1865 2005-08-10 Eric Seidel <eseidel@apple.com>
1866 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
1870 * DumpRenderTree/DumpRenderTree.m:
1871 Added support for rendering to a PNG file.
1872 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
1874 2005-08-07 Eric Seidel <eseidel@apple.com>
1878 * Scripts/run-webkit-tests: added --svg option
1879 * Scripts/run-webkit-tests-svg: Removed.
1880 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
1882 2005-08-07 Eric Seidel <eseidel@apple.com>
1883 Changes by Ben La Monica <ben.lamonica@gmail.com>
1887 * svg2png/ImageDiff.h: Added.
1888 * svg2png/ImageDiff.m: Added.
1889 (getDifferenceBitmap):
1890 (computePercentageDifferent):
1891 (saveAnimatedGIFToFile):
1892 * svg2png/svg2png.m:
1893 (usage): added several new options
1894 (getBitmapForSVG): added NSBitmapImageRep generation
1895 (main): various argument changes.
1896 * svg2png/svg2png.xcodeproj/project.pbxproj:
1897 Several additions to provide image differencing functionality.
1898 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
1900 2005-08-07 Eric Seidel <eseidel@apple.com>
1904 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
1905 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
1906 Adding the first SVG layout tests:
1907 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
1909 2005-08-07 Darin Adler <darin@apple.com>
1911 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
1913 2005-08-06 Eric Seidel <eseidel@apple.com>
1917 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
1918 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
1919 * Scripts/build-dumpkcanvastree: Added.
1920 * Scripts/run-webkit-tests-svg: Added.
1921 Adds a DumpRenderTree-like tool for SVG which allows us to do
1922 text-based layout regression testing. This (like most of the
1923 SVG specific stuff) is temporary and will be replaced by
1924 DumpRenderTree once the DOMs and RenderTrees merge.
1925 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
1927 2005-08-06 Eric Seidel <eseidel@apple.com>
1931 * DrawTest/DrawTestView.m:
1932 (-[DrawTestView toggleFilterSupport:]): missing negation.
1933 One half of fix for toggling filter support.
1934 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
1936 2005-08-04 Eric Seidel <eseidel@apple.com>
1940 * Scripts/build-drawtest:
1941 * Scripts/build-dumprendertree:
1942 * Scripts/build-svg2png:
1943 * Scripts/build-webcore-svg:
1944 * Scripts/build-webkit:
1945 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
1946 Added checkRequiredSystemConfig and made all the build-* scripts
1947 use it to print a pretty warning when trying to compile on an
1948 unsupported system (less than 10.4, Xcode 2.1).
1949 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
1951 2005-08-04 Darin Adler <darin@apple.com>
1953 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
1954 the dead. It was removed by accident when someone was trying to work on the branch.
1956 2005-07-31 Darin Adler <darin@apple.com>
1958 - a little tools cleanup
1960 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
1961 project as a whole. Removed unused Default configuration.
1963 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
1965 2005-07-31 Duncan Wilcox <duncan@mclink.it>
1967 Reviewed and landed by Darin Adler.
1969 Add logging of editing delegate calls for regression checking.
1971 * DumpRenderTree/DumpRenderTree.m:
1973 setup editing delegate
1975 (-[DOMNode dumpPath]):
1977 utility for editing delegate logging
1979 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1980 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1981 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1982 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1983 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1984 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1985 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1986 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1987 (-[EditingDelegate webViewDidBeginEditing:]):
1988 (-[EditingDelegate webViewDidChange:]):
1989 (-[EditingDelegate webViewDidEndEditing:]):
1990 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1991 log corresponding editing delegate methods
1993 (-[EditingDelegate webViewDidChangeSelection:]):
1994 log selection except when clearing selection after end of test (uses existing "done" flag)
1997 added clearing of selection after test
1999 2005-07-31 Eric Seidel <eseidel@apple.com>
2003 * Scripts/build-drawtest: Added.
2004 * Scripts/build-svg2png: Added.
2005 * Scripts/build-webcore-svg: Added.
2006 * Scripts/run-drawtest: Added.
2007 * Scripts/webkitdirs.pm: added checkSVGFrameworks
2008 Made it much easier to build WebCore+SVG.
2009 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2011 2005-07-29 Eric Seidel <eseidel@apple.com>
2015 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2016 Build fix. Removed bad path.
2018 2005-07-29 Eric Seidel <eseidel@apple.com>
2020 Reviewed by sullivan.
2022 * DrawTest/AppDelegate.h: Added.
2023 * DrawTest/AppDelegate.m: Added.
2024 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
2025 * DrawTest/DrawTestDocument.h: Added.
2026 * DrawTest/DrawTestDocument.m: Added.
2027 * DrawTest/DrawTestInspectorController.h: Added.
2028 * DrawTest/DrawTestInspectorController.m: Added.
2029 * DrawTest/DrawTestToolbarController.h: Added.
2030 * DrawTest/DrawTestToolbarController.m: Added.
2031 * DrawTest/DrawTestView.h: Added.
2032 * DrawTest/DrawTestView.m: Added.
2033 * DrawTest/DrawTest_Prefix.pch: Added.
2034 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
2035 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
2036 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
2037 * DrawTest/English.lproj/InfoPlist.strings: Added.
2038 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
2039 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
2040 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
2041 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
2042 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
2043 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
2044 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
2045 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
2046 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
2047 * DrawTest/Info.plist: Added.
2048 * DrawTest/SVGTest.h: Added.
2049 * DrawTest/SVGTest.m: Added.
2050 * DrawTest/ScalingImageView.h: Added.
2051 * DrawTest/ScalingImageView.m: Added.
2052 * DrawTest/TestController.h: Added.
2053 * DrawTest/TestController.m: Added.
2054 * DrawTest/TestViewerSplitView.h: Added.
2055 * DrawTest/TestViewerSplitView.m: Added.
2056 * DrawTest/main.m: Added.
2057 Adding simple cocoa app for testing SVG rendering, interaction.
2058 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
2060 2005-07-28 Eric Seidel <eseidel@apple.com>
2064 * svg2png/svg2png.m: Added.
2065 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
2066 * svg2png/svg2png_Prefix.pch: Added.
2067 Added a simple test tool which dumps a PNG from an SVG using
2068 WebCore+SVG's SVG rendering support.
2069 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
2071 2005-07-26 Maciej Stachowiak <mjs@apple.com>
2075 - new script to review the DOM layout test results and see where we stand
2076 on actual success and failure
2078 * Scripts/check-dom-results: Added.
2080 2005-07-25 Darin Adler <darin@apple.com>
2082 * Scripts/webkitdirs.pm: Check in missing line of code.
2084 2005-07-25 Darin Adler <darin@apple.com>
2086 - fixed problem that was causing JavaScriptCore test to fail
2087 (except for people who had set DYLD_FRAMEWORK_PATH)
2089 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
2090 Add code to parse configuration parameter so you can pass --deployment if you like.
2091 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
2093 * Scripts/update-javascriptcore-test-results: Add license header.
2095 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
2096 from @ARGV. This lets us use this option in commands that take other options and
2097 pass them along to a subsequent tool.
2099 2005-07-25 Darin Adler <darin@apple.com>
2101 Reviewed by Geoff Garen.
2103 - Fixed run-safari and gdb-safari to use the Safari application in the build results
2104 directory, if any, falling back to the one in the Applications directory otherwise.
2105 Does no harm for open source contributors who don't build Safari, and helps out the
2106 Safari team, since we do build Safari.
2108 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
2109 variable, and if that's not present, looks in either the build results directory or
2110 /Applications; factors code that was in both scripts before into a shared function.
2111 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
2112 now in Xcode 2.1 format and incompatible with older versions of Xcode.
2114 * Scripts/gdb-safari: Use safariPath.
2115 * Scripts/run-safari: Use safariPath.
2117 2005-07-22 Geoffrey Garen <ggaren@apple.com>
2119 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
2120 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
2122 Moved Tools/Scripts/update-mozilla-js-test-results to
2123 WebKitTools/Scripts/update-javascriptcore-test-results.
2127 * Scripts/run-javascriptcore-tests: Added.
2129 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2133 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2135 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2137 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
2139 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2141 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
2143 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2145 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
2147 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2149 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
2151 2005-07-21 Geoffrey Garen <ggaren@apple.com>
2153 * Scripts/build-webkit:
2155 2005-07-12 Eric Seidel <eseidel@apple.com>
2159 * checkout-svg: Fixed error with symlink creation.
2161 2005-07-12 Eric Seidel <eseidel@apple.com>
2165 * checkout-svg: Added.
2166 Script to check out WebCore+SVG
2168 2005-06-30 Darin Adler <darin@apple.com>
2170 Changes based on input from Michael Kahl.
2172 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
2173 specify different style of "diff".
2174 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
2175 determineConfigurationProductDir works in all cases.
2177 2005-06-29 Darin Adler <darin@apple.com>
2179 - fixed bug which would result in multiple unwanted dumps in a single layout test
2181 * DumpRenderTree/DumpRenderTree.m:
2182 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
2184 (-[LayoutTestController waitUntilDone]): Update for name change.
2185 (-[LayoutTestController notifyDone]): Dump only if ready.
2186 (dumpRenderTree): Set up new boolean and update for name change.
2188 2005-06-29 Darin Adler <darin@apple.com>
2190 Changes by Timothy Hatcher.
2193 * Scripts/run-webkit-app: Added script to open an arbritrary application with
2194 a CVS built WebKit. Example: ./run-webkit-app Colloquy
2196 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
2197 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
2198 * Scripts/run-safari: Ditto.
2200 2005-06-26 Darin Adler <darin@apple.com>
2202 * Scripts/build-dumprendertree: Pass -project option so that having a second
2203 copy of the project (like the one Xcode 2.1 offers to make for you) that's
2204 out of date won't screw you up.
2205 * Scripts/build-webkit: Ditto.
2207 2005-06-23 Darin Adler <darin@apple.com>
2209 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
2211 2005-06-23 Darin Adler <darin@apple.com>
2213 Changes based on input from Michael Kahl.
2215 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
2216 directory passed in.
2218 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
2219 getcwd() in the code to find the base product dir. Added code to handle unusual
2220 base product directory values that use SRCROOT.
2222 2005-06-22 Darin Adler <darin@apple.com>
2224 Change by Anders Carlsson.
2226 - added support for dumping title changes
2228 * DumpRenderTree/DumpRenderTree.m:
2229 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
2230 if requested by JavaScript.
2231 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
2232 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
2233 (dumpRenderTree): Start flag as NO.
2235 2005-06-20 Darin Adler <darin@apple.com>
2237 Reviewed by Justin Garcia.
2239 * Scripts/run-webkit-tests: Report number of tests when they succeed.
2241 2005-06-18 Darin Adler <darin@apple.com>
2243 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
2244 in the hope of making the tool use less memory and run faster.
2246 2005-06-18 Darin Adler <darin@apple.com>
2248 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
2249 * Scripts/cvs-unapply: Ditto.
2251 2005-06-17 Maciej Stachowiak <mjs@apple.com>
2253 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
2254 benefit of all WebKit hackerdom
2256 * Scripts/prepare-ChangeLog: Added.
2258 2005-06-16 Darin Adler <darin@apple.com>
2260 - recent changes to XcodeOptions made it depend on the current directory
2261 The intent was to have the WebKitBuild directory be next to WebKitTools,
2262 not inside the various build directories. Workaround for now is to call
2263 XcodeOptions when the directory is set to the WebKit directory.
2265 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
2266 at the start of the script.
2267 * Scripts/build-webkit: Ditto.
2269 2005-06-15 Darin Adler <darin@apple.com>
2271 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
2273 2005-06-14 Darin Adler <darin@apple.com>
2275 Changes by Anders Carlsson.
2278 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
2279 Add gdb-safari script to launch Safari under gdb
2281 * Scripts/gdb-safari: Added.
2283 2005-06-12 Darin Adler <darin@apple.com>
2285 Changes by Stuart Morgan.
2288 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
2289 * Scripts/cvs-apply: Ditto.
2290 * Scripts/cvs-create-patch: Ditto.
2291 * Scripts/cvs-unapply: Ditto.
2292 * Scripts/run-webkit-tests: Ditto.
2293 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
2295 2005-06-12 Darin Adler <darin@apple.com>
2297 * Scripts/cvs-apply: Handle case of an empty patch better.
2298 * Scripts/cvs-unapply: Ditto.
2300 2005-06-12 Darin Adler <darin@apple.com>
2302 Changes by Michael Gaiman.
2305 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
2306 WebKit no longer builds after configuration supporting build changes
2308 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
2310 2005-06-12 Darin Adler <darin@apple.com>
2312 * Scripts/update-webkit: Make this script work when called from any directory.
2314 2005-06-12 Darin Adler <darin@apple.com>
2317 Includes changes by Stuart Morgan as well as my own.
2319 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
2320 symrootXcodeOptions to set the -buildstyle option.
2321 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
2322 The new --development option does the same thing.
2323 * Scripts/run-safari: Ditto.
2324 * Scripts/run-webkit-tests: Ditto.
2325 * Scripts/update-webkit: Ditto.
2326 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
2328 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
2329 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
2330 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
2331 product directory. Read the default configuration from a file, overridable by a passed-in command-line
2334 2005-06-11 Darin Adler <darin@apple.com>
2336 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
2337 to execute the cvs diff commands.
2339 2005-06-11 Darin Adler <darin@apple.com>
2341 - added first cuts at some cvs scripts
2343 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
2344 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
2345 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
2346 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
2348 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
2350 * Scripts/cvs-abandon: Added.
2351 * Scripts/cvs-apply: Added.
2352 * Scripts/cvs-create-patch: Added.
2353 * Scripts/cvs-unapply: Added.
2355 2005-06-09 Darin Adler <darin@apple.com>
2359 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
2360 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
2362 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
2363 for Foundation.framework. How was it ever wrong?
2365 - finally, I tested making the default build directory work; it works now
2367 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
2368 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
2369 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
2370 * Scripts/build-dumprendertree: Ditto.
2372 2005-06-09 Darin Adler <darin@apple.com>
2374 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
2375 work. Someone should try building without setting the Xcode build product directory now,
2376 and let me know if it works.
2378 2005-06-08 Darin Adler <darin@apple.com>
2380 - quick fix to try to get build scripts working again
2382 * Scripts/build-dumprendertree: Add FindBin.
2383 * Scripts/build-webkit: Ditto.
2384 * Scripts/run-safari: Ditto.
2385 * Scripts/run-webkit-tests: Ditto.
2386 * Scripts/update-webkit: Ditto.
2388 2005-06-08 Darin Adler <darin@apple.com>
2392 - some build script enhancements
2394 * Scripts/build-dumprendertree: Changed to use webkitdirs.
2395 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
2397 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
2398 before Deplyment in that case.
2399 * Scripts/run-webkit-tests: Changed to use webkitdirs.
2400 * Scripts/update-webkit: Changed to use webkitdirs.
2402 * Scripts/webkitdirs.pm: Added.
2404 2005-06-08 Maciej Stachowiak <mjs@apple.com>
2406 Code change by Toby Peterson <toby@opendarwin.org>
2409 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
2410 get confused because build-webkit now makes even 2.0 build directories look
2413 2005-06-07 Darin Adler <darin@apple.com>
2415 Reviewed by Adele Peterson.
2417 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
2418 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
2419 so we can run tests with Xcode 2.1.
2421 2005-06-07 Darin Adler <darin@apple.com>
2423 Reviewed by Adele Peterson.
2425 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
2426 layout-tests directory to include additional sets of tests.
2428 2005-06-07 Darin Adler <darin@apple.com>
2430 * checkout: Added license.
2431 * Scripts/build-dumprendertree: Ditto.
2432 * Scripts/run-webkit-tests: Ditto.
2433 * Scripts/update-webkit: Ditto.
2435 2005-06-07 Darin Adler <darin@apple.com>
2437 Change by Toby Peterson <toby@opendarwin.org>.
2440 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
2441 * Scripts/run-safari: Ditto.
2443 2005-06-06 Maciej Stachowiak <mjs@apple.com>
2445 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
2447 2005-06-06 Maciej Stachowiak <mjs@apple.com>
2449 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
2451 2005-06-06 Maciej Stachowiak <mjs@apple.com>
2453 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
2455 2005-06-05 Darin Adler <darin@apple.com>
2457 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
2458 * Scripts/build-dumprendertree: Added.
2459 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
2460 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
2462 2005-06-05 Darin Adler <darin@apple.com>
2464 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
2466 2005-06-05 Darin Adler <darin@apple.com>
2468 - add run-webkit-tests script; not working yet but the pieces are there
2470 * Scripts/run-webkit-tests: Added.
2472 * DumpRenderTree/DumpRenderTree.m: Added.
2473 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
2474 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
2475 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
2477 2005-06-05 Darin Adler <darin@apple.com>
2479 - created module, first cut at Web Kit Open Source Project scripts
2482 * Scripts/build-webkit: Added.
2483 * Scripts/run-safari: Added.
2484 * Scripts/update-webkit: Added.
2487 === creation of WebKitTools module ===