0e224366ae1bd75a8af164c326082085786d1be8
[WebKit-https.git] / WebKitTools / ChangeLog
1 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
2
3         Reviewed by Darin.
4
5         Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
6         Adjust DumpRenderTree to the FrameQtClient changes.
7
8         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
9         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
10         (WebCore::DumpRenderTree::DumpRenderTree):
11         (WebCore::DumpRenderTree::~DumpRenderTree):
12         (WebCore::DumpRenderTree::frame):
13         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
15         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
16         (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
17         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
18
19 2006-09-03  Darin Adler  <darin@apple.com>
20
21         * Scripts/do-webcore-rename: More renaming plans.
22
23 2006-09-03  Alexey Proskuryakov  <ap@nypop.com>
24
25         Reviewed by Tim H.
26
27         http://bugzilla.opendarwin.org/show_bug.cgi?id=10693
28         Convert JavaScript arrays to AppleScript lists
29
30         * DumpRenderTree/AppleScriptController.m:
31         (convertAEDescToObject):
32         (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
33
34 2006-08-31  Darin Adler  <darin@apple.com>
35
36         * Scripts/do-webcore-rename: Prepare for another round of renaming.
37
38 2006-08-29  Dan Waylonis  <waylonis@google.com>
39
40         Reviewed by ggaren.
41
42         - Verification of exceptions thrown in a plugin.  Test for bug 10114.
43         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
44         * DumpRenderTree/ObjCPlugin.m:
45         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
46         (+[ObjCPlugin webScriptNameForSelector:]):
47         (-[ObjCPlugin throwIfArgumentIsNotHello:]):
48
49 2006-08-30  Nikolas Zimmermann  <zimmermann@kde.org>
50
51         Reviewed by Tim H.
52
53         Commit KDE related tweaks, to be able to
54         differentiate between a Qt-only or a KDE build.
55
56         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
57         * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
58
59 2006-08-29  Darin Adler  <darin@apple.com>
60
61         Reviewed by Tim Hatcher.
62
63         * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
64         to work around what seems to be a bug in some versions of gdb.
65
66 2006-08-16  Tim Omernick  <timo@apple.com>
67
68         Reviewed by John Sullivan.
69
70         Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
71         <http://bugzilla.opendarwin.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
72         in Firefox
73
74         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
75         (NPP_GetValue):
76         WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox.  NPObject return values
77         are expected to be retained by the plug-in, and released by the caller.
78
79 2006-08-28  Nikolas Zimmermann  <zimmermann@kde.org>
80
81         Reviewed by Tim Hatcher.
82         
83         Fixes one chunk of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10604
84
85         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
86         (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
87         Qt's DumpRenderTree.
88
89       * Scripts/run-webkit-tests:
90         Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
91
92 2006-08-28  Darin Adler  <darin@apple.com>
93
94         Reviewed by Tim Hatcher.
95
96         * Scripts/build-drosera: Fix behavior when there are multiple options.
97
98 2006-08-27  Timothy Hatcher  <timothy@apple.com>
99
100         Reviewed by Anders.
101
102         Drosera will be built when you type make.
103
104         * Drosera/Makefile: Added.
105         * Makefile: Added.
106         * Makefile.shared: Added.
107
108 2006-08-27  Anders Carlsson  <acarlsson@apple.com>
109
110         Forgot to add these.
111         
112         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
113         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
114         (WebCore::DumpRenderTree::DumpRenderTree):
115         (WebCore::DumpRenderTree::~DumpRenderTree):
116         (WebCore::DumpRenderTree::open):
117         (WebCore::DumpRenderTree::readStdin):
118         (WebCore::DumpRenderTree::checkLoaded):
119         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
120         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
121         (main):
122
123 2006-08-27  Nikolas Zimmermann  <zimmermann@kde.org>
124
125         Reviewed by Eric, landed by Anders.
126
127         Add DumpRenderTree support for Qt/Linux.
128
129         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
130         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
131         (WebCore::DumpRenderTree::DumpRenderTree):
132         (WebCore::DumpRenderTree::~DumpRenderTree):
133         (WebCore::DumpRenderTree::open):
134         (WebCore::DumpRenderTree::readStdin):
135         (WebCore::DumpRenderTree::checkLoaded):
136         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
137         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
138         (main):
139         * Scripts/build-dumprendertree:
140         * Scripts/run-webkit-tests:
141         * Scripts/webkitdirs.pm:
142
143 2006-08-24  Nikolas Zimmermann  <zimmermann@kde.org>
144
145         Reviewed by Eric. Landed by rwlbuis.
146
147         Add QtLauncher (was testunity before), which provides a
148         standalone "browser" to test the Qt platform stuff.
149
150         * QtLauncher/CMakeLists.txt: Added.
151         * QtLauncher/main.cpp: Added.
152         (main):
153
154 2006-08-22  Trey Matteson  <trey@usa.net>
155
156         Reviewed by ggaren.
157
158         Added support for a new set of browser navigation tests.  The main feature
159         is the ability for a test to queue up a set of future actions that will
160         happen after that first page is loaded.  This is used to simulate a sequence
161         of user actions such as filling out forms, loading additional pages or
162         going back.  In addition we can now dump out the state of the back/forward
163         list, and the scroll position is dumped if not at 0,0.
164
165         * DumpRenderTree/DumpRenderTree.m:
166         (main):  Init new state
167         (compareHistoryItems):  New utility to support sorting.
168         (dumpHistoryItem):  Write out a WebHistoryItem and kids.
169         (dumpFrameScrollPosition):  Write out the scroll position.
170         (dump):  Optionally write b/f list or scroll position.
171         (-[WaitUntilDoneDelegate processWork:]):  Perform queued work.
172         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
173         Kick off any queued actions.  Fixed for the case of loads started in
174         a subframe instead of the root frame.
175         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
176         Grab the topmost frame that is being loaded.  Do this as early as possible,
177         instead of in didCommitLoadForFrame.
178         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
179         Noting a load has started now happens in previous method.
180         (+[LayoutTestController isSelectorExcludedFromWebScript:]):  Boilerplate
181         (+[LayoutTestController webScriptNameForSelector:]):  Boilerplate
182         (-[LayoutTestController notifyDone]):  readyToDump var is subsumed by
183         topFrameLoading
184         (-[LayoutTestController dumpBackForwardList]):  New impl, just set a bit.
185         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
186         Add new work to the queue.
187         (-[LayoutTestController _doLoad:target:]):  Do a queued load.
188         (-[LayoutTestController _doBackOrForwardNav:]):  Do a queued back/forward.
189         (-[LayoutTestController scheduleBackNav:]):  Ways for scripts to queue actions
190         (-[LayoutTestController scheduleForwardNav:]):
191         (-[LayoutTestController scheduleReload]):
192         (-[LayoutTestController scheduleScript:]):
193         (-[LayoutTestController scheduleLoad:target:]):
194         (runTest):  Clear new state for each test.  Renamed from "dumpRenderTree"
195         since it's not one of the functions that does any dumping.
196
197 2006-08-15  Jonas Witt <jonas.witt@gmail.com>
198
199         Reviewed by Darin.
200
201         - added a function to create a few DOMKeyboardEvents and dispatch
202           them to a specified HTML element
203           http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
204
205         * DumpRenderTree/EventSendingController.m:
206         (+[EventSendingController isSelectorExcludedFromWebScript:]):
207         (+[EventSendingController webScriptNameForSelector:]):
208         (-[EventSendingController fireKeyboardEventsToElement:]):
209
210 2006-08-15  Duncan Wilcox  <duncan@mclink.it>
211
212         Reviewed and tweaked by Darin.
213
214         - added DumpRenderTree support so editing delegate can be made to refuse edits
215           to enable tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=10129
216
217         * DumpRenderTree/DumpRenderTree.m:
218         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
219         to the list of methods.
220         (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
221         without the colon, for the JavaScript name.
222         (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
223         delegate.
224         (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
225
226         * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
227         setter methods to the class.
228         * DumpRenderTree/EditingDelegate.m:
229         (-[EditingDelegate init]): Initialize acceptsEditing to YES.
230         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
231         return the value of acceptsEditing.
232         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
233         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
234         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
235         (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
236         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
237         Ditto.
238         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
239         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
240         (-[EditingDelegate setAcceptsEditing:]): Added.
241
242 2006-08-03  Mark Rowe  <opendarwin.org@bdash.net.nz>
243
244         Reviewed by Darin.
245
246         Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
247         http://bugzilla.opendarwin.org/show_bug.cgi?id=10224
248
249         * Drosera/Drosera.xcodeproj/project.pbxproj:
250         * Drosera/LauncherInfo.plist:
251
252 2006-08-03  Mitz Pettel  <opendarwin.org@mitzpettel.com>
253
254         - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
255           when a test performs an unsuccessful drag and drop operation.
256
257         * DumpRenderTree/EventSendingController.m:
258         (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
259         drag operation for the mouse release is NSDragOperationNone.
260
261 2006-08-02  Timothy Hatcher  <timothy@apple.com>
262
263         Reviewed by Darin.
264
265         Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
266         http://bugzilla.opendarwin.org/show_bug.cgi?id=9632
267
268         Do not change the file source when normalizing the line endings.
269         We use this file source to compare against new versions of the source
270         as it comes in, so we can skip re-syntax highlighting if they are the same.
271         The problem is apparent on yahoo.com since they have mixed line endings and
272         once we normalize them the source will always be different. This was
273         compounded by the fact that yahoo has around 40 inline scripts. Each
274         inline script causes us to check if the main document has more loaded,
275         that is when we compare the source strings. Since they are always different
276         we would syntax highlight yahoo.com 40 times! We do check source length before
277         doing a more expensive string comparison, but the lengths were the same.
278
279         * Drosera/debugger.js:
280
281 2006-08-02  Niels Leenheer  <niels.leenheer@gmail.com>
282
283         Reviewed by Timothy.
284
285         Bug 9931: [Drosera] Needs a cool icon
286         http://bugzilla.opendarwin.org/show_bug.cgi?id=9931
287
288         * Drosera/Drosera.icns: Added.
289         * Drosera/Drosera.xcodeproj/project.pbxproj:
290         * Drosera/Info.plist:
291
292 2006-08-01  Darin Adler  <darin@apple.com>
293
294         - fix a bug in my recent change where the mouse position at the end of
295           the last test would affect the results of the next test
296
297         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
298
299 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
300
301         Reviewed by Maciej.
302
303         http://bugzilla.opendarwin.org/show_bug.cgi?id=10182
304         Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
305
306         * Drosera/console.js: String.indexOf returns -1 when the string is not found.
307         Correct the logic to not reload local variable list unless an '=' character is in the expression.
308
309 2006-07-31  Darin Adler  <darin@apple.com>
310
311         Reviewed by Maciej.
312
313         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10171
314           REGRESSION: failing layout test: fast/events/objc-event-api.html
315
316         * DumpRenderTree/DumpRenderTree.m:
317         (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
318         location in flipped coordinates, since those are the coordinates that we use.
319         (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
320         inside WebHTMLView.
321
322         * DumpRenderTree/EventSendingController.m:
323         (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
324         (-[EventSendingController init]): Removed, since the whole thing was a no-op.
325         (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
326         probably worked OK, but this is needed to be correct.
327         (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
328         code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
329         position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
330         dump the screenY as-is.
331
332 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
333
334         Reviewed by Darin.
335
336         http://bugzilla.opendarwin.org/show_bug.cgi?id=10178
337         Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
338
339         * Drosera/debugger.js:  Keep a stack that contains the source file and line number references for outer
340         frames.  Use this stack to determine which file and line to highlight when a stack frame is selected.
341
342 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
343
344         Reviewed by Darin.
345
346         http://bugzilla.opendarwin.org/show_bug.cgi?id=10175
347         Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
348
349         * Drosera/DebuggerDocument.m:
350         (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
351
352 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
353
354         Reviewed by Darin.
355
356         http://bugzilla.opendarwin.org/show_bug.cgi?id=10167
357         Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
358
359         * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
360         in keyDown handler.
361
362 2006-07-30  Mark Rowe  <opendarwin.org@bdash.net.nz>
363
364         Reviewed by Maciej.
365
366         Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
367         http://bugzilla.opendarwin.org/show_bug.cgi?id=9686
368
369         * Drosera/DebuggerDocument.m:
370         (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
371         ensure that the server does not try and notify us of events related to the resumption.
372         (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
373         call through to JavaScript.
374         * Drosera/debugger.js: Pause debugger when exception is raised.
375
376 2006-07-29  Mike Emmel  <mike.emmel@gmail.com>
377
378         Reviewed by Darin.
379
380         - fixes for Linux build
381
382         * GdkLauncher/mk: Added call to bakefile_gen before calling make.
383         * GdkLauncher/gdklauncher.bkl: Tweak comment.
384
385 2006-07-24  Dan Waylonis  <waylonis@google.com>
386
387         Reviewed and tweaked a bit by Darin.
388
389         * DumpRenderTree/ObjCPlugin.m:
390         (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
391         (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
392         "echo:" so it's nice to call from JavaScript.
393         (-[ObjCPlugin echo:]): Just returns the same object -- can be used
394         to test a round trip through Objective-C types.
395
396 2006-07-24  Alexey Proskuryakov  <ap@nypop.com>
397
398         Reviewed by Darin.
399
400         Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10060
401         Improve iExploder results parsing
402
403         * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results 
404         in random mode, too.
405
406 2006-07-18  David Kilzer  <ddkilzer@kilzer.net>
407
408         Reviewed by Timothy.
409
410         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9964
411           Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
412
413         * Scripts/prepare-ChangeLog: Added --[no-]update switch.
414
415 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
416
417         Reviewed by Darin.
418
419         * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
420         Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
421         * GdkLauncher/mk:
422         Removed "Property changes" that snuck in as part of the "apply patch" process.
423
424 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
425
426         Reviewed by Darin.
427
428         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9875
429           Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
430
431         * Scripts/svn-apply:
432         (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
433         (checksum): Added.
434         (patch): Use patch(1) for non-binary additions and deletions.
435         * Scripts/svn-unapply:
436         (checksum): Added.
437         (patch): Use patch(1) for reverting non-binary additions and deletions.
438         (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
439
440 2006-07-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
441
442         Reviewed by Timothy.
443
444         Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
445         http://bugzilla.opendarwin.org/show_bug.cgi?id=9889
446
447         * Drosera/debugger.js:  Track whether we paused during the execution of willLeaveFrame.  If
448         so, have stepOut pause on the next call to willExecuteStatement rather than second.
449
450 2006-07-12  David Kilzer  <ddkilzer@kilzer.net>
451
452         Reviewed by Darin.
453
454         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9848
455           Teach svn-create-patch and friends to fix ChangeLog patches
456
457         * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
458         * Scripts/svn-create-patch: Ditto.
459         * Scripts/svn-unapply: Ditto.
460
461 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
462
463         Reviewed by ggaren.
464
465         Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
466         http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
467
468         * Drosera/DebuggerDocument.m:
469         (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
470
471 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
472
473         Reviewed by ggaren.
474
475         Bug 9863: Drosera needs to show something at launch
476         http://bugzilla.opendarwin.org/show_bug.cgi?id=9863
477
478         * Drosera/DebuggerApplication.m:
479         (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
480
481 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
482
483         Reviewed by Timothy.
484         
485         Lets Drosera build universal for the nightlies. Right now it is not
486         possible to build a universal binary on a PPC machine because of a
487         conflict with the universal SDK.
488
489         * BuildSlaveSupport/build-launcher-app:
490         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
491
492 2006-07-11  Alexey Proskuryakov  <ap@nypop.com>
493
494         Reviewed by Tim O.
495
496         - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7808
497         Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
498
499         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
500         (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
501         should open a new stream and deliver the data to the current instance.
502
503 2006-07-11  Timothy Hatcher  <timothy@apple.com>
504
505         Reviewed by Darin.
506
507         Bug 9598: [Drosera] add a JavaScript evaluator console
508         http://bugzilla.opendarwin.org/show_bug.cgi?id=9598
509
510         * Drosera/DebuggerApplication.h:
511         * Drosera/DebuggerApplication.m:
512         (-[DebuggerApplication knownServers]):
513         * Drosera/DebuggerDocument.h:
514         * Drosera/DebuggerDocument.m:
515         (-[WebScriptObject evaluateScript:inCallFrame:]):
516         (-[WebScriptObject showConsole:]):
517         (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
518         (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
519         (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
520         (-[WebScriptObject webView:createWebViewWithRequest:]):
521         (-[WebScriptObject webViewShow:]):
522         (-[WebScriptObject webViewAreToolbarsVisible:]):
523         (-[WebScriptObject webView:setToolbarsVisible:]):
524         (-[WebScriptObject webView:setResizable:]):
525         (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
526         (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
527         (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
528         (-[WebScriptObject webView:windowScriptObjectAvailable:]):
529         (-[WebScriptObject webView:didFinishLoadForFrame:]):
530         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
531         * Drosera/Drosera.xcodeproj/project.pbxproj:
532         * Drosera/Images/console.png: Added.
533         * Drosera/console.css: Added.
534         * Drosera/console.html: Added.
535         * Drosera/console.js: Added.
536
537 2006-07-11  Timothy Hatcher  <timothy@apple.com>
538
539         Reviewed by a tired Geoff.
540
541         Bug 9597: [Drosera] hook up the variables table to show stack variables
542         http://bugzilla.opendarwin.org/show_bug.cgi?id=9597
543
544         * Drosera/DebuggerDocument.m:
545         (-[WebScriptObject isSelectorExcludedFromWebScript:]):
546         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
547         (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
548         (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
549         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
550         (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
551         (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
552         (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
553         (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
554         (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
555         * Drosera/debugger.css:
556         * Drosera/debugger.html:
557         * Drosera/debugger.js:
558
559 2006-07-10  Tim Omernick  <timo@apple.com>
560
561         Reviewed by Beth Dakin.
562
563         <http://bugzilla.opendarwin.org/show_bug.cgi?id=9844>:
564         Add DOM access test to DumpRenderTree's Netscape plug-in
565
566         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
567         (testDOMAccess):
568         (pluginInvoke):
569
570 2006-07-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
571
572         Reviewed by Darin.
573
574         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9839
575           Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
576
577         Now track three states: initializing, running, and closed.  If we are launched and the previous
578         state was initializing then we likely just experienced a crash on launch.
579
580         * WebKitLauncher/WebKitNightlyEnabler.m:
581         (myApplicationWillFinishLaunching): Improve wording of dialog.  Update to set new running state.
582         (myApplicationWillTerminate): Update to use new states.
583         (cleanUpAfterOurselves): Display alert if previous state was initializing.  Set state as
584         initializing as early as practical.
585         (symbol_lookup): Bring code up to speed with formatting guidelines.
586         (GDSymbolLookup): Ditto.
587
588 2006-07-10  Darin Adler  <darin@apple.com>
589
590         - try to fix Windows build
591
592         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
593         Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
594
595 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
596
597         Build fix. Reviewed by NOBODY.
598
599         - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
600           devenv.com not available in VC++ Express installations
601
602         * Scripts/webkitdirs.pm: Backed out previous change.
603
604 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
605
606         Reviewed by Darin.
607
608         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
609           svn-apply should set ChangeLog date correctly when applying patches
610
611         * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
612         before applying the patch.
613         * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
614
615 2006-07-09  Darin Adler  <darin@apple.com>
616
617         * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
618
619 2006-07-09  Darin Adler  <darin@apple.com>
620
621         * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
622
623 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
624
625         Reviewed by NOBODY (build fix).
626
627         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
628           devenv.com not available in VC++ Express installations
629
630         * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
631         work again.  Add VC++ Express check as the fallback.
632
633 2006-07-09  Bjoern Graf  <bjoern.graf@gmail.com>
634
635         Reviewed by Timothy Hatcher.
636
637         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
638           devenv.com not available in VC++ Express installations
639
640         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
641
642 2006-07-09  Joost de Valk  <jdevalk@opendarwin.org>
643
644         Reviewed by Eric.
645
646         Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 .
647         Patch by coldwinter@katamail.com.
648
649         In the congratulations message, "capatibilies" should be "capabilities".
650
651         * Scripts/build-webkit: 
652
653 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
654
655         Reviewed by Timothy Hatcher.
656
657         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
658           Teach run-webkit-tests how to ignore tests with performance improvements
659
660         * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
661         feature, and minor clean up.
662
663 2006-07-08  Darin Adler  <darin@apple.com>
664
665         Reviewed by Geoff (well, half of it at least).
666
667         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9788
668           storage leaks in Objective-C tests
669
670         * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
671         * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
672         Add a release to fix a storage leak.
673
674 2006-07-08  Darin Adler  <darin@apple.com>
675
676         * Scripts/do-webcore-rename: A few more.
677
678 2006-07-08  Darin Adler  <darin@apple.com>
679
680         * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
681
682 2006-07-04  Maciej Stachowiak  <mjs@apple.com>
683
684         Reviewed by Darin.
685         
686         http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
687         - add support for dumping non-HTML as text - in this case use textContent
688         instead of innerText
689
690         * DumpRenderTree/DumpRenderTree.m:
691         (dump):
692
693 2006-07-02  Timothy Hatcher  <timothy@apple.com>
694
695         Reviewed by Eric.
696
697         Bug 9631: [Drosera] Add "Step Over" and "Step Out"
698         http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
699         
700         Adds step over and step out. Along with a little code cleanup
701         that was minor enough to piggyback on this fix.
702
703         * Drosera/DebuggerDocument.h:
704         * Drosera/DebuggerDocument.m:
705         (-[DebuggerDocument stepOver:]):
706         (-[DebuggerDocument stepOut:]):
707         (-[DebuggerDocument windowDidLoad]):
708         (-[DebuggerDocument windowWillClose:]):
709         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
710         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
711         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
712         (-[DebuggerDocument validateUserInterfaceItem:]):
713         * Drosera/Drosera.xcodeproj/project.pbxproj:
714         * Drosera/debugger.html:
715         * Drosera/debugger.js:
716         * Drosera/viewer.css:
717
718 2006-07-02  Timothy Hatcher  <timothy@apple.com>
719
720         Reviewed by Eric.
721
722         Bug 9628: [Drosera] Split Views acting oddly
723         http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
724         
725         Only update the last X or Y coordinate if the new
726         size was not constrained. Also adds the resize cursor to
727         the body during the drag incase there is a constrained 
728         over drag off of the resizer element.
729
730         * Drosera/debugger.js:
731
732 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
733
734         Reviewed by Alexy Proskuryakov.
735
736         Bug 9692: Warning about Safari extensions on every launch is obnoxious
737         http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
738
739         * WebKitLauncher/WebKitNightlyEnabler.m:
740         (myApplicationWillTerminate): Note that we are exiting cleanly.
741         (cleanUpAfterOurselves): Install bundle load tracking only if we failed
742          to exit cleanly on our last invocation.  This doesn't play nicely with
743          multiple concurrent instances of WebKit.app so it can be disabled via
744          defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
745
746 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
747
748         Reviewed by Alexy Proskuryakov.
749
750         Bug 9654: Refresh Loop when accessing feed URLs
751         http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
752
753         * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
754
755 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
756
757         Reviewed by Timothy Hatcher.
758
759         Bug 9689: Nightly builds should warn a user about potential problems when using
760         "Safari extensions"
761         http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
762
763         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
764         * WebKitLauncher/WebKitNightlyEnabler.m:
765         (myBundleDidLoad): Keep track of if any bundles that are loaded.
766         (myApplicationWillFinishLaunching):  Notify user if any bundles are loaded.
767         (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
768         NSApplicationWillFinishLaunchingNotification notifications so that we can
769         track bundle loads and notify the user at launch completion.
770
771 2006-06-30  Mike Emmel  <mike.emmel@gmail.com>
772
773         Reviewed by Darin.
774
775         - first check-in of a Gdk shell for testing WebKit
776
777         * GdkLauncher: Added.
778
779 2006-06-29  Timothy Hatcher  <timothy@apple.com>
780
781         Reviewed by Darin.
782
783         Need to call window close so WebView tears-down completly.
784
785         * DumpRenderTree/DumpRenderTree.m:
786         (main): call [window close]
787
788 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
789
790         Reviewed by Darin.
791
792         Bug 9615: Buildbot configuration should be in SVN repository
793         http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
794
795         Import BuildBot configuration files as used by build.webkit.org.
796         auth.py has been stubbed out so that slave passwords are not disclosed.
797
798         * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
799         * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
800         * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
801         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
802         * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
803         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
804         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
805         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
806         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
807         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
808         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
809         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
810
811 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
812
813         Reviewed by Darin.
814
815         Bug 9614: Nightly builds should notify user if a newer build is available
816         http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
817
818         * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
819         * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
820         script so it can keep track of the latest revision.
821         * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
822         * WebKitLauncher/VERSION: Added.  Placeholder for SVN revision number
823         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
824         * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
825         the nightly start page.
826
827 2006-06-26  Jonas Witt  <jonas.witt@gmail.com>
828
829         Reviewed by Darin.
830
831         Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
832         http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
833
834         Report screenY values as (height of zero screen - screenY)
835
836         * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
837
838 2006-06-25  Timothy Hatcher  <timothy@apple.com>
839
840         Reviewed by Geoff.
841
842         Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
843         http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
844         
845         Makes breakpoints dragable. If dragged off the gutter they are deleted.
846
847         * Drosera/debugger.js:
848         * Drosera/viewer.css:
849
850 2006-06-25  Timothy Hatcher  <timothy@apple.com>
851
852         Reviewed by Darin.
853         
854         Bug 9568: assertion failure in Safari after quitting Drosera
855         http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
856
857         Call switchToServerNamed:nil and not removeLister to make sure
858         the server object is set to nil to prevent further removeListener calls.
859
860         * Drosera/DebuggerDocument.m:
861         (-[DebuggerDocument applicationTerminating:]):
862
863 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
864
865         Reviewed by Darin.
866
867         * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
868         that the directory is not empty instead of reading in every single file and directory first,
869         then checking the count.  Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
870         defined.
871
872 2006-06-25  Darin Adler  <darin@apple.com>
873
874         * Scripts/svn-apply: Tweak comments.
875         * Scripts/svn-create-patch: Ditto.
876         * Scripts/svn-unapply: Ditto.
877
878 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
879
880         Formatting fix per Bug 9571 Comment #2.  Reviewed by NOBODY.
881
882         http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
883
884         * Scripts/svn-apply: Formatting fix.
885
886 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
887
888         Reviewed by Darin.
889
890         http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
891         Teach svn-apply and svn-unapply to handle directory adds and removes better
892
893         * Scripts/svn-apply: Handle directory adds more intelligently.  Handle directory removes.
894         * Scripts/svn-unapply: Handle undoing both directory adds and removes.
895
896 2006-06-25  Timothy Hatcher  <timothy@apple.com>
897
898         Reviewed by Darin.
899
900         Bug 9574: Drosera should show inline scripts within the original HTML
901         http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
902
903         Refactor the JavaScript code to have a distinction between files
904         and scripts. Show the script in the context of the HTML file if
905         it's URL is the same as the frame's main resource. At the time of
906         the disParseScript callback the main resource might not be completely
907         loaded, but Drosera needs to show whatever we have at the time. Once
908         the main resource is finished, update the file source and reload the file.
909
910         * Drosera/DebuggerDocument.m:
911         (-[DebuggerDocument pause]):
912         (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
913         (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
914         (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
915         * Drosera/debugger.css:
916         * Drosera/debugger.js:
917
918 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
919
920         Reviewed by Darin.
921
922         http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
923         Teach prepare-ChangeLog to operate on a list of files or directories
924
925         * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
926         * Scripts/svn-create-patch: Code refactoring.
927
928 2006-06-24  James G. Speth  <speth@end.com>
929
930         Reviewed by Darin.
931
932         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
933           add a way to build Objective-C test cases in HTML
934
935         Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
936         allowing more extensive testing of the Obj-C API.  (and by more extensive, I mean this lets scripts do 
937         pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
938         objects, etc... )
939
940         * DumpRenderTree/ObjCPlugin.h:
941         * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
942         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
943         (+[ObjCPlugin webScriptNameForSelector:]):
944         (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
945         (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
946         (+[NSObject allowsScriptsFullAccess]):
947         (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
948         (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
949         (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
950         (+[JSObjC webScriptNameForSelector:]):
951         (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
952         (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
953         (-[JSObjC log:]): access to NSLog function
954         (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
955         (-[JSObjC classOfObject:]):
956         (-[JSObjC classNameOfObject:]):
957
958 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
959
960         Reviewed by Timothy.
961
962         * DrawTest/Info.plist: Added copyright statement.
963         * Drosera/Info.plist: Ditto.
964         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
965         * WebKitLauncher/Info.plist: Ditto.
966
967 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
968
969         Build fix. Reviewed by NOBODY.
970
971         - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
972           devenv.com not available in VC++ Express installations
973
974         * Scripts/webkitdirs.pm: Backed out previous change.
975
976 2006-06-24  Bjoern Graf  <bjoern.graf@gmail.com>
977
978         Reviewed by Maciej.
979
980         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
981           devenv.com not available in VC++ Express installations
982
983         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
984
985 2006-06-24  Alexey Proskuryakov  <ap@nypop.com>
986
987         Reviewed by Darin.
988
989         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
990           A bunch of fixes to run-webkit-httpd
991
992         - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
993           127.0.0.1. Useful for testing with WinIE running on another machine;
994         - don't call checkFrameworks() - we do not need a built WebKit here;
995         - changed tabs to spaces;
996         - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
997           interactive mode, they were a hassle when testing with several browsers, as one
998           had to wait for connection to expire);
999         - remove httpd.pid when done, so that Apache doesn't complain next time.
1000
1001         * Scripts/run-webkit-httpd:
1002
1003 2006-06-24  Jonas Witt <jonas.witt@gmail.com>
1004
1005         Reviewed by ggaren, landed by ap.
1006
1007         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9181
1008           Complete DOMUIEvent Obj-C API to reflect UIEvent
1009
1010         Add function to enable logging of all events of one DOM node to stdout.
1011
1012         * DumpRenderTree/EventSendingController.h:
1013         * DumpRenderTree/EventSendingController.m:
1014         (+[EventSendingController initialize]):
1015         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1016         (+[EventSendingController webScriptNameForSelector:]):
1017         (-[EventSendingController enableDOMUIEventLogging:]):
1018         (-[EventSendingController handleEvent:]):
1019
1020 2006-06-23  Kevin Decker         <kdecker@apple.com>
1021
1022         Reviewed by Tim Hatcher.
1023
1024         - Made column headers in Drosera resizable.
1025
1026 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
1027
1028         Reviewed by ggaren.
1029
1030         - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
1031         Another case error preventing build
1032
1033         * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
1034
1035 2006-06-22  Timothy Hatcher  <timothy@apple.com>
1036
1037         Reviewed by Eric.
1038
1039         Adds a native toolbar to Drosera to be a good citizen.
1040         Adds a Debug menu with key-commands for Continue, Pause and Step Into.
1041         Fixes a dragging bug from an earlier fix to the divider code.
1042         Fixes some poor indenting in debugger.js.
1043
1044         * Drosera/DebuggerDocument.h:
1045         * Drosera/DebuggerDocument.m:
1046         (-[DebuggerDocument stepInto]):
1047         (-[DebuggerDocument pause:]):
1048         (-[DebuggerDocument resume:]):
1049         (-[DebuggerDocument stepInto:]):
1050         (-[DebuggerDocument windowDidLoad]):
1051         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
1052         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
1053         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
1054         (-[DebuggerDocument validateUserInterfaceItem:]):
1055         * Drosera/English.lproj/MainMenu.nib/classes.nib:
1056         * Drosera/English.lproj/MainMenu.nib/info.nib:
1057         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1058         * Drosera/debugger.css:
1059         * Drosera/debugger.html:
1060         * Drosera/debugger.js:
1061         * Drosera/viewer.html:
1062
1063 2006-06-22  Kevin Decker         <kdecker@apple.com>
1064
1065         Reviewed by Anders.
1066
1067         - Added pressed column header image.
1068         - Made column headers behave more like Xcode.
1069
1070 2006-06-22  Timothy Hatcher  <timothy@apple.com>
1071
1072         Reviewed by Kevin Decker.
1073
1074         Code clean up. Adds the stackframe and makes only the body
1075         of the tables scrollable keeping the header visible.
1076         Shows the current function stack when paused or stepping.
1077
1078         * Drosera/DebuggerApplication.m:
1079         (-[DebuggerApplication awakeFromNib]):
1080         (-[DebuggerApplication numberOfRowsInTableView:]):
1081         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1082         * Drosera/DebuggerDocument.h:
1083         * Drosera/DebuggerDocument.m:
1084         (-[DebuggerDocument dealloc]):
1085         (-[DebuggerDocument currentFrame]):
1086         (-[DebuggerDocument currentFrameFunctionName]):
1087         (-[DebuggerDocument currentFunctionStack]):
1088         (-[DebuggerDocument log:]):
1089         (-[DebuggerDocument windowWillClose:]):
1090         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1091         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1092         * Drosera/Drosera.xcodeproj/project.pbxproj:
1093         * Drosera/debugger.css:
1094         * Drosera/debugger.html:
1095         * Drosera/debugger.js:
1096
1097 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
1098
1099         Reviewed by Anders.
1100
1101         Teach run-webkit-httpd to properly look for webkitdirs.pm.
1102
1103         * Scripts/run-webkit-httpd:
1104
1105 2006-06-22  Kevin Decker         <kdecker@apple.com>
1106
1107         Reviewed by Tim Hatcher.
1108
1109         - More progress toward Javascript Debugger. 
1110         - Added some new images to the project. 
1111
1112 2006-06-21  Alexey Proskuryakov  <ap@nypop.com>
1113
1114         Reviewed by Anders.
1115
1116         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
1117           Would like a script to run a httpd server with the same configuration as run-webkit-tests http
1118
1119         * Scripts/run-webkit-httpd: Added.
1120
1121 2006-06-20  Timothy Hatcher  <timothy@apple.com>
1122
1123         Reviewed by Eric.
1124
1125         Builds Drosera and a launcher to include with the nightly.
1126
1127         * BuildSlaveSupport/build-launcher-app:
1128         * BuildSlaveSupport/build-launcher-dmg:
1129         * Drosera/Drosera.xcodeproj/project.pbxproj:
1130         * Drosera/Info.plist:
1131         * Drosera/LauncherInfo.plist: Added.
1132         * Drosera/launcher.m: Added.
1133         (displayErrorAndQuit):
1134         (checkMacOSXVersion):
1135         (myExecve):
1136         (main):
1137         * Scripts/build-drosera
1138         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1139         * WebKitLauncher/main.m:
1140         (main):
1141
1142 2006-06-20  Timothy Hatcher  <timothy@apple.com>
1143
1144         Reviewed by Darin.
1145         
1146         Adds a JavaScript debugger, called Drosera. Named after
1147         a genus of bug eating plants.
1148
1149         * Drosera/DebuggerApplication.h: Added.
1150         * Drosera/DebuggerApplication.m: Added.
1151         (-[DebuggerApplication applicationDidFinishLaunching:]):
1152         (-[DebuggerApplication serverLoaded:]):
1153         (-[DebuggerApplication serverUnloaded:]):
1154         (-[DebuggerApplication awakeFromNib]):
1155         (-[DebuggerApplication showAttachPanel:]):
1156         (-[DebuggerApplication attach:]):
1157         (-[DebuggerApplication numberOfRowsInTableView:]):
1158         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
1159         (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
1160         (-[DebuggerApplication tableViewSelectionDidChange:]):
1161         * Drosera/DebuggerDocument.h: Added.
1162         * Drosera/DebuggerDocument.m: Added.
1163         (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
1164         (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
1165         (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
1166         (+[DebuggerDocument isKeyExcludedFromWebScript:]):
1167         (-[DebuggerDocument initWithServerName:]):
1168         (-[DebuggerDocument windowWillClose:]):
1169         (-[DebuggerDocument dealloc]):
1170         (-[DebuggerDocument isPaused]):
1171         (-[DebuggerDocument pause]):
1172         (-[DebuggerDocument resume]):
1173         (-[DebuggerDocument step]):
1174         (-[DebuggerDocument windowNibName]):
1175         (-[DebuggerDocument windowDidLoad]):
1176         (-[DebuggerDocument switchToServerNamed:]):
1177         (-[DebuggerDocument applicationTerminating:]):
1178         (-[DebuggerDocument serverConnectionDidDie:]):
1179         (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
1180         (-[DebuggerDocument webView:didFinishLoadForFrame:]):
1181         (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
1182         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1183         (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1184         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1185         * Drosera/Drosera.pch: Added.
1186         * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
1187         * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
1188         * Drosera/English.lproj/Debugger.nib/info.nib: Added.
1189         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
1190         * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
1191         * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
1192         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1193         * Drosera/Images/breakPoint.tif: Added.
1194         * Drosera/Images/breakPointDisabled.tif: Added.
1195         * Drosera/Images/continue.tif: Added.
1196         * Drosera/Images/finishFunction.tif: Added.
1197         * Drosera/Images/glossyFooterFill.tif: Added.
1198         * Drosera/Images/glossyHeader.png: Added.
1199         * Drosera/Images/gradientBackground.png: Added.
1200         * Drosera/Images/gutter.png: Added.
1201         * Drosera/Images/navLeftDisabled.png: Added.
1202         * Drosera/Images/navLeftNormal.png: Added.
1203         * Drosera/Images/navLeftPressed.png: Added.
1204         * Drosera/Images/navRightDisabled.png: Added.
1205         * Drosera/Images/navRightNormal.png: Added.
1206         * Drosera/Images/navRightPressed.png: Added.
1207         * Drosera/Images/pause.tif: Added.
1208         * Drosera/Images/popUpArrows.png: Added.
1209         * Drosera/Images/programCounter.tif: Added.
1210         * Drosera/Images/programCounterBreakPoint.tif: Added.
1211         * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
1212         * Drosera/Images/run.tif: Added.
1213         * Drosera/Images/splitterBar.tif: Added.
1214         * Drosera/Images/splitterDimple.tif: Added.
1215         * Drosera/Images/step.tif: Added.
1216         * Drosera/Images/stepOver.tif: Added.
1217         * Drosera/Images/stop.tif: Added.
1218         * Drosera/Images/toolbarBackground.png: Added.
1219         * Drosera/Info.plist: Added.
1220         * Drosera/debugger.css: Added.
1221         * Drosera/debugger.html: Added.
1222         * Drosera/debugger.js: Added.
1223         * Drosera/main.m: Added.
1224         (main):
1225         * Drosera/viewer.css: Added.
1226         * Drosera/viewer.html: Added.
1227
1228 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
1229
1230         Reviewed by darin.
1231
1232         http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
1233         Teach svn-apply and svn-unapply to use full path names
1234
1235         * Scripts/svn-apply: Changed to use full path names.  Cleaned up code.
1236         * Scripts/svn-unapply: Ditto.
1237
1238 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
1239
1240         Reviewed by ggaren.
1241
1242         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
1243           DumpRenderTree should be able to keep URL history during runs
1244
1245         Test: LayoutTests/fast/history/clicked-link-is-visited.html
1246
1247         * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
1248         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
1249         (-[LayoutTestController keepWebHistory]): Added.  We only set optional shared history if
1250         it is currently nil since keepWebHistory() might be called more than once incidentally
1251         for the same test.
1252         (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
1253         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
1254
1255 2006-06-11  David Kilzer  <ddkilzer@kilzer.net>
1256
1257         Reviewed by darin.
1258
1259         http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
1260         Make prepare-ChangeLog faster
1261
1262         * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
1263         then save the diff output for reuse.  Keep a status variable if changes are made to
1264         LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
1265         WebCore is updated.  Added -h|--help command-line switch and help message.  Move test
1266         for no changed files closer to the beginning of the program.
1267
1268 2006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1269
1270         Reviewed and landed by ap.
1271
1272         - make DumpRenderTree build
1273
1274         * DumpRenderTree/DumpRenderTree.m:
1275         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
1276         (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
1277         (-[LayoutTestController setWindowIsKey:]): Ditto.
1278         (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
1279
1280 2006-06-09  David Kilzer  <ddkilzer@kilzer.net>
1281
1282         Reviewed by Darin, landed by Geoff.
1283
1284         http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
1285         Use pathcmp() when sorting paths in svn-create-patch
1286
1287         * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
1288         * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
1289         Changed sort() functions to use pathcmp().  Added subroutine prototypes.  Added -h command-line
1290         switch and printUsage() subroutine.
1291
1292 2006-06-06  David Kilzer  <ddkilzer@kilzer.net>
1293
1294         Reviewed by darin.
1295
1296         http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
1297         Teach svn-create-patch to sort its output
1298
1299         * Scripts/svn-create-patch: Clean up perl code.  Sort patch output alphabetically
1300         by text files first, then by binary files.
1301
1302 2006-06-04  David Kilzer  <ddkilzer@kilzer.net>
1303
1304         Reviewed by darin.
1305
1306         http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
1307         Teach svn-create-patch and friends to work with binary files
1308
1309         * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
1310         * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
1311         * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
1312
1313 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
1314
1315         Reviewed by Maciej.
1316
1317         http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
1318         Performance improvement for svn-create-patch
1319
1320         * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
1321
1322 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
1323
1324         Reviewed by darin.
1325
1326         http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
1327         Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
1328
1329         * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
1330         * Scripts/svn-unapply: Ditto.  Also simplified reversing a deletion.
1331
1332 2006-06-03  Steve Falkenburg  <sfalken@apple.com>
1333
1334         Reviewed by hyatt.
1335         
1336         Switch Spinneret to new hosting mechanism
1337
1338         * Spinneret/Spinneret.sln:
1339         * Spinneret/Spinneret/Spinneret.cpp:
1340         (SpinneretWebHost::updateAddressBar):
1341         (SpinneretWebHost::QueryInterface):
1342         (SpinneretWebHost::AddRef):
1343         (SpinneretWebHost::Release):
1344         (resizeSubViews):
1345         (_tWinMain):
1346         (WndProc):
1347         (MyEditProc):
1348         (About):
1349         (loadURL):
1350         * Spinneret/Spinneret/Spinneret.h:
1351         (SpinneretWebHost::didStartProvisionalLoadForFrame):
1352         (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1353         (SpinneretWebHost::didFailProvisionalLoadWithError):
1354         (SpinneretWebHost::didCommitLoadForFrame):
1355         (SpinneretWebHost::didReceiveTitle):
1356         (SpinneretWebHost::didReceiveIcon):
1357         (SpinneretWebHost::didFinishLoadForFrame):
1358         (SpinneretWebHost::didFailLoadWithError):
1359         (SpinneretWebHost::didChangeLocationWithinPageForFrame):
1360         (SpinneretWebHost::willPerformClientRedirectToURL):
1361         (SpinneretWebHost::didCancelClientRedirectForFrame):
1362         (SpinneretWebHost::willCloseFrame):
1363         (SpinneretWebHost::windowScriptObjectAvailable):
1364         * Spinneret/Spinneret/Spinneret.vcproj:
1365
1366 2006-06-02  Steve Falkenburg  <sfalken@apple.com>
1367
1368         Reviewed by darin.
1369         
1370         Updated build script
1371
1372         * Scripts/build-webkit:
1373
1374 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
1375
1376         Reviewed by Darin.
1377
1378         * DumpRenderTree/DumpRenderTree.m:
1379         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1380         (-[LayoutTestController clearBackForwardList]):
1381         Add clearBackForwardList function to layoutTestController
1382         
1383 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
1384
1385         Reviewed by Darin.
1386
1387         http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
1388         slow-utf8-text layout test case failing (no longer deterministic?)
1389         
1390         * DumpRenderTree/DumpRenderTree.m:
1391         (dump):
1392         Dump as text when the response MIME type is text/plain
1393
1394 2006-05-26  Steve Falkenburg  <sfalken@apple.com>
1395
1396         Build fixes/tweaks
1397
1398         * Spinneret/Spinneret.sln:
1399         * Spinneret/Spinneret/Spinneret.vcproj:
1400
1401 2006-05-24  Geoffrey Garen  <ggaren@apple.com>
1402
1403         Reviewed by mjs.
1404         
1405         Added 'GCController' to DRT to support garbage collection layout tests.
1406         
1407         GCController.collect() and GCController.collectOnAlternateThread() do
1408         what you would expect. The latter takes a boolean argument sepcifying
1409         whether to wait for garbage collection to finish before continuing to
1410         execute script.
1411
1412         * DumpRenderTree/DumpRenderTree.m:
1413         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1414         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1415         * DumpRenderTree/GCController.h: Added.
1416         * DumpRenderTree/GCController.mm: Added.
1417         (+[GCController isSelectorExcludedFromWebScript:]):
1418         (+[GCController webScriptNameForSelector:]):
1419         (-[GCController collect]):
1420         (-[GCController collectOnAlternateThread:]):
1421
1422 2006-05-23  John Sullivan  <sullivan@apple.com>
1423
1424         Reviewed by Maciej.
1425
1426         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1427         Newer Xcode removed some obsolete cruft
1428         
1429         * DumpRenderTree/TextInputController.m:
1430         (-[TextInputController textInput]):
1431         added (id) cast to make newer compiler happy
1432
1433 2006-05-22  Steve Falkenburg  <sfalken@apple.com>
1434
1435         Reviewed by adele.
1436         
1437         Fix build.
1438
1439         * Spinneret/Spinneret.sln:
1440
1441 2006-05-18  Darin Adler  <darin@apple.com>
1442
1443         - try to fix no-SVG, no-XPATH build, again
1444
1445         * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
1446
1447 2006-05-18  Darin Adler  <darin@apple.com>
1448
1449         - try to fix no-SVG, no-XPATH build
1450
1451         * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
1452         since the former is what's used in the WebCore project now.
1453
1454 2006-05-17  Darin Adler  <darin@apple.com>
1455
1456         * Scripts/do-webcore-rename: Some more future renames.
1457
1458 2006-05-16  Adele Peterson  <adele@apple.com>
1459
1460         Reviewed by Hyatt.
1461
1462         * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and 
1463         HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
1464
1465 2006-05-15  Alexey Proskuryakov  <ap@nypop.com>
1466
1467         * Scripts/install-unix-extras: Changed to be executable and removed
1468         text in the file generated by "svn diff".
1469         * Scripts/regenerate-makefiles: Ditto.
1470
1471 2006-05-13  Kevin M. Ollivier  <kevino@theolliviers.com>
1472
1473         Reviewed by Darin, landed by ap.
1474
1475         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
1476           Bakefiles (and generated Makefiles) for wx and gdk ports
1477
1478         * Scripts/install-unix-extras: Added.
1479         * Scripts/regenerate-makefiles: Added.
1480
1481 2006-05-10  Steve Falkenburg  <sfalken@apple.com>
1482
1483         Reviewed by Maciej.
1484
1485         Fix registry usage from perl script.  Turns out libwin32's
1486         SetRegValueEx, even for REG_DWORD, always takes its value as a string!
1487         
1488         * Scripts/install-win-extras:
1489
1490 2006-05-09  Steve Falkenburg  <sfalken@apple.com>
1491
1492         Fix Windows build.
1493         Add load ended callback.
1494         
1495         Reviewed by kevin.
1496
1497         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
1498         * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
1499         * Spinneret/Spinneret/Spinneret.cpp: 
1500         (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
1501         (_tWinMain): Load built-in test content here instead of in lower-level code.
1502         * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
1503
1504 2006-05-08  Maciej Stachowiak  <mjs@apple.com>
1505
1506         Reviewed by Anders.
1507
1508         * Scripts/extract-localizable-strings: Update for correct names of log macros.
1509
1510 2006-05-09  Anders Carlsson  <acarlsson@apple.com>
1511
1512         Reviewed by Maciej.
1513         
1514         * Scripts/check-dom-results:
1515         Add XPath to the list of results.
1516
1517 2006-05-08  Darin Adler  <darin@apple.com>
1518
1519         * Scripts/do-webcore-rename: Add another rename.
1520
1521 2006-05-01  Steve Falkenburg  <sfalken@apple.com>
1522
1523         Reviewed by eric.
1524
1525         Spinneret now links against the new separate lib.
1526         
1527         * Spinneret/Spinneret.sln:
1528         * Spinneret/Spinneret/Spinneret.cpp:
1529         (SpinneretWebHost::updateLocationBar):
1530         (_tWinMain):
1531         * Spinneret/Spinneret/Spinneret.h:
1532         * Spinneret/Spinneret/Spinneret.vcproj:
1533         * Spinneret/Spinneret/WebFrame.cpp: Removed.
1534         * Spinneret/Spinneret/WebFrame.h: Removed.
1535         * Spinneret/Spinneret/WebView.cpp: Removed.
1536         * Spinneret/Spinneret/WebView.h: Removed.
1537
1538 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
1539
1540         Reviewed by kdecker
1541
1542         Modify error reporting registry keys to disable Dr. Watson.
1543         This allows Javascript test cases to complete without blocking UI.
1544         
1545         * Scripts/install-win-extras:
1546          - Use Perl Win32 registry functions to disable blocking UI
1547         
1548
1549 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
1550
1551         Reviewed by eric.
1552         
1553         Turned off C++ exceptions, fixed memory leaks
1554
1555         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1556         * Spinneret/Spinneret.sln:
1557         * Spinneret/Spinneret/Spinneret.cpp:
1558         (_tWinMain):
1559         * Spinneret/Spinneret/Spinneret.vcproj:
1560         * Spinneret/Spinneret/WebFrame.cpp:
1561         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1562         (WebKit::WebFrame::WebFrame):
1563         (WebKit::WebFrame::~WebFrame):
1564         (WebKit::WebFrame::impl):
1565         * Spinneret/Spinneret/WebFrame.h:
1566         * Spinneret/Spinneret/WebView.cpp:
1567         * Spinneret/Spinneret/stdafx.h:
1568
1569 2006-04-28  Alexey Proskuryakov  <ap@nypop.com>
1570
1571         Reviewed by Darin.
1572
1573         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
1574           DumpRenderTree should reset the URL cache
1575
1576         * DumpRenderTree/DumpRenderTree.m:
1577         (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
1578
1579 2006-04-28  Eric Seidel  <eseidel@apple.com>
1580
1581         Reviewed by andersca.
1582
1583         * Scripts/do-webcore-rename: rename KCanvasContainer too
1584         * Scripts/run-webkit-tests: output total time
1585
1586 2006-04-26  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1587
1588         Reviewed by hyatt.  Landed by eseidel.
1589
1590         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
1591           Enable detection of excessive repainting with DumpRenderTree
1592
1593         * DumpRenderTree/DumpRenderTree.m:
1594         (-[LayoutTestController display]):
1595
1596 2006-04-23  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1597
1598         Reviewed by Darin.
1599
1600         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
1601           DumpRenderTree needs a way to force painting (to allow invalidation tests)
1602
1603         * DumpRenderTree/DumpRenderTree.m:
1604         (dump): If display() has been called during the test, grab the pixels from
1605         the view, after letting it repaint invalidated rects.
1606         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1607         (-[LayoutTestController display]): Added. Calls -display on the view
1608         and changes the subsequent behavior of dump().
1609         (dumpRenderTree):
1610
1611 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
1612
1613         Reviewed by Maciej.
1614
1615         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
1616           Update iExploder to 1.3.2
1617
1618         Test case numbers are not compatible with iExploder 1.2.
1619
1620         * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
1621
1622         * iExploder/CHANGELOG.txt: Added.
1623         * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
1624         * iExploder/README.txt: Added some performance hints.
1625
1626         * iExploder/htdocs/config.rb: Added.
1627         * iExploder/htdocs/cssproperties.in:
1628         * iExploder/htdocs/cssvalues.in:
1629         * iExploder/htdocs/htmlattrs.in:
1630         * iExploder/htdocs/htmltags.in:
1631         * iExploder/htdocs/iexploder.cgi:
1632          - Updated to support the latest HTML & CSS tags, properties, and values from both
1633            the WebKit and Mozilla CVS tree
1634          - cssproperties.in cleanup
1635          - Modularized the code a little bit.
1636          - Fix subtest bug that was causing last 5 tags to be missed
1637          - new subtest algorithm to deal better with larger tag counts
1638          - default HTML_MAX_TAGS increased from 32 to 96
1639
1640         * iExploder/htdocs/index.html: Updated version to 1.3.2.
1641         * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
1642         alternative to our run-iexploder-tests.
1643         * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
1644         * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
1645         * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
1646
1647 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
1648
1649         - commit Scripts/run-mangleme-tests (missed it the previous time).
1650
1651 2006-04-18  Darin Adler  <darin@apple.com>
1652
1653         - attempt to fix Windows buildbot
1654
1655         * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
1656         We need a better long-term solution for this.
1657
1658 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
1659
1660         Reviewed by Darin.
1661
1662         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
1663           Integrate mangleme test script.
1664
1665         Works in a similar way to run-iexploder-tests.
1666
1667         * Scripts/run-mangleme-tests: Added.
1668         * mangleme: Added.
1669         * mangleme/Makefile: Added.
1670         * mangleme/README: Added.
1671         * mangleme/mangle.cgi.c: Added.
1672         * mangleme/remangle.cgi.c: Added.
1673         * mangleme/tags.h: Added.
1674
1675 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
1676
1677         Reviewed by Darin.
1678
1679         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
1680           An easier way to save iExploder tests.
1681
1682         * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
1683
1684 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
1685
1686         Reviewed by Darin.
1687
1688         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
1689           Integrate iExploder test script.
1690
1691         This script generates artificially mangled HTML documents, to test that the browser
1692         doesn't crash when handling ill-formed code.
1693         
1694         How to use:
1695          run-iexploder-tests             Open an interactive test page in Safari+ToT.
1696          run-iexploder-tests nnnnn       Open test #nnnnn.
1697
1698         Command line options:
1699          --guard-malloc (-g)              Use Guard Malloc.
1700          --port=nnnn                      Run Apache on port nnnn (default is 8000).
1701
1702         To save a crashing test, you can use curl while the crash reporter dialog is on the screen
1703         (thus, Apache is still running), e.g.:
1704          curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
1705
1706         Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
1707
1708         * Scripts/run-iexploder-tests: Added.
1709         * iExploder: Added.
1710         * iExploder/LICENSE.txt: Added.
1711         * iExploder/README.txt: Added.
1712         * iExploder/htdocs: Added.
1713         * iExploder/htdocs/cssproperties.in: Added.
1714         * iExploder/htdocs/cssvalues.in: Added.
1715         * iExploder/htdocs/htmlattrs.in: Added.
1716         * iExploder/htdocs/htmltags.in: Added.
1717         * iExploder/htdocs/htmlvalues.in: Added.
1718         * iExploder/htdocs/iexploder.cgi: Added.
1719         * iExploder/htdocs/index.html: Added.
1720         * iExploder/tools: Added.
1721         * iExploder/tools/lasthit.rb: Added.
1722         * iExploder/tools/osx_last_crash.rb: Added.
1723
1724 2006-04-16  Alexey Proskuryakov  <ap@nypop.com>
1725
1726         Reviewed by Darin.
1727
1728         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
1729           Restore color profile after a crash
1730
1731         * DumpRenderTree/DumpRenderTree.m:
1732         (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
1733         from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
1734         I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
1735         and this code may change significantly.
1736
1737         (main): Install crashHandler.
1738
1739         (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
1740         (CFStringGetCStringPtr should NEVER EVER be used!).
1741
1742 2006-04-15  Darin Adler  <darin@apple.com>
1743
1744         Reviewed by Eric.
1745
1746         * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
1747         Seems xmlsoft.org's HTTP no longer has what we need.
1748
1749 2006-04-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
1750
1751         Rubber-stamped by Darin.
1752
1753         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
1754           upload-disk-image stage on buildslaves fail with "No space left on device"
1755
1756         * BuildSlaveSupport/build-launcher-dmg:  Use the -srcfolder option to
1757           'hdiutil create'.   This creates the initial disk image based on the size of
1758           the source folder, and copies the contents to the new disk image.  The file
1759           extension on the temporary uncompressed disk image has also been altered from
1760           ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
1761           the extension is not ".dmg".
1762
1763 2006-04-12  Eric Seidel  <eseidel@apple.com>
1764
1765         Reviewed by Tim H.
1766
1767         * Scripts/update-webkit: Make this return non-zero when svn fails.
1768
1769 2006-04-10  Alexey Proskuryakov  <ap@nypop.com>
1770
1771         Reviewed by Darin.
1772
1773         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
1774           Make HTTP tests using Perl use .pl extension
1775
1776         * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
1777           removed support for .text. Reduced the number of places that explicitly list supported
1778           extensions. Some of the changes come from bug 8121, the patch for which got landed only
1779           partially.
1780
1781 2006-04-06  Darin Adler  <darin@apple.com>
1782
1783         Changes requested by Mark Rowe.
1784
1785         * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
1786         trash at the end of the file.
1787         * BuildSlaveSupport/build-launcher-dmg: Ditto.
1788
1789         * WebKitLauncher/main.m: Removed trash at end of file.
1790
1791         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
1792         to make name match.
1793
1794 2006-04-06  Mark Rowe  <opendarwin.org@bdash.net.nz>
1795
1796         Reviewed by Darin, landed by Maciej.
1797
1798         * BuildSlaveSupport/build-launcher-app: Added.  Builds WebKit.app from WebKitLauncher
1799           and bundles the WebKit frameworks inside it.
1800         * BuildSlaveSupport/build-launcher-dmg: Added.  Builds, and optionally uploads, a disk image
1801           containing WebKit.app.
1802         * BuildSlaveSupport/run-performance-tests:  Use currentSVNRevision.
1803         * Scripts/webkitdirs.pm:  Add currentSVNRevision to retrieve the revision
1804           number of the SVN working copy.
1805         * WebKitLauncher: Added.
1806         * WebKitLauncher/Info.plist: Added.
1807         * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
1808         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
1809         * WebKitLauncher/WebKitNightlyEnabler.m: Added.  This makes
1810           up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
1811           to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
1812           the nightly launcher.
1813         * WebKitLauncher/main.m: Added.  The WebKit.app launcher.
1814           It sets up the environment to have Safari use the bundled frameworks
1815           and load the WebKitNightlyEnabler dylib before exec'ing Safari
1816         * WebKitLauncher/start.html: Added.
1817         * WebKitLauncher/webkit.icns: Added.
1818
1819 2006-04-05  Darin Adler  <darin@apple.com>
1820
1821         Reviewed by Maciej.
1822
1823         * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
1824         are allowed to have global initializers.
1825
1826 2006-04-05  Geoffrey Garen  <ggaren@apple.com>
1827
1828         Reviewed by OMG BETH
1829
1830         * Scripts/run-testkjs:
1831         - pipe STDERR to /dev/null by default; new --verbose option overrides
1832         this behavior
1833         - set DYLD_FRAMEWORK_PATH to the webkit-configured path
1834         - output run command in a format that can be copied and pasted into the
1835         terminal to run manually
1836
1837 2006-04-03  Justin Garcia  <justin.garcia@apple.com>
1838
1839         Reviewed by harrison
1840         
1841         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
1842         A drag and drop in DumpRenderTree copies the source, instead of cutting it
1843         
1844         Tell the source that the drag is over after the drag is performed, not before.
1845
1846         * DumpRenderTree/EventSendingController.m:
1847         (-[EventSendingController mouseUp]):
1848
1849 2006-04-01  Darin Adler  <darin@apple.com>
1850
1851         Reviewed by Justin.
1852
1853         * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
1854         Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
1855         elements in that array are not strings.
1856
1857 2006-03-31  Darin Adler  <darin@apple.com>
1858
1859         Reviewed by John Sullivan.
1860
1861         - added a "--reset-results" option to run-webkit-tests so you can reset
1862           the results without first deleting expected results
1863         - <rdar://problem/4185878> add scroll position to dumpRenderTree
1864
1865         * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
1866         more logical. Moved all the subroutines to the end of the file. Added a
1867         "--force" option.
1868
1869         * DumpRenderTree/DumpRenderTree.m:
1870         (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
1871         to generate new output for all tests it runs.
1872         (dump): Dump the scroll position if it's non-zero. Always dump the image when
1873         the --dump-all-pixels option is passed. Also tightened up the image dumping
1874         code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
1875         with code to save and restore the context.
1876
1877         * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
1878         * DumpRenderTree/EventSendingController.m: Added now-needed include.
1879
1880 2006-03-30  Tim Omernick  <timo@apple.com>
1881
1882         Reviewed by NOBODY (just fixing copyrights)
1883
1884         * DumpRenderTree/ObjCPlugin.h:
1885         Fixed copyright.
1886         * DumpRenderTree/ObjCPlugin.m: ditto
1887         * DumpRenderTree/ObjCPluginFunction.h: ditto
1888         * DumpRenderTree/ObjCPluginFunction.m: ditto
1889
1890 2006-03-30  Tim Omernick  <timo@apple.com>
1891
1892         Reviewed by Geoff.
1893
1894         * DumpRenderTree/DumpRenderTree.m:
1895         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1896         Add "objCPlugin", "objCPluginFunction" properties to the window.  objCPlugin simulates
1897         an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
1898         exposed to JS as a callable object.
1899
1900         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1901         Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
1902
1903         * DumpRenderTree/ObjCPlugin.h: Added.
1904         * DumpRenderTree/ObjCPlugin.m: Added.
1905         * DumpRenderTree/ObjCPluginFunction.h: Added.
1906         * DumpRenderTree/ObjCPluginFunction.m: Added.
1907
1908         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1909         Added a new method, "removeDefaultMethod", which removes the default method from the
1910         plugin object's class.  The effect is that the plugin object is mutated from a callable
1911         function to a simple object.
1912         (pluginInvoke):
1913         Handle "removeDefaultMethod".
1914         (pluginInvokeDefault):
1915         Made the default method actually do something (return 1).
1916
1917 2006-03-30  Eric Seidel  <eseidel@apple.com>
1918
1919         Reviewed by ggaren.
1920
1921         Remove WebFrame::viewImpl(), setMainFrame on page.
1922
1923         * Spinneret/Spinneret/WebFrame.cpp:
1924         (WebKit::WebFrame::WebFrame):
1925         * Spinneret/Spinneret/WebFrame.h:
1926         * Spinneret/Spinneret/WebView.cpp:
1927         (WebKit::WebView::mouseMoved):
1928         (WebKit::WebView::mouseDown):
1929         (WebKit::WebView::mouseUp):
1930         (WebKit::WebView::mouseDoubleClick):
1931         (WebKit::WebViewWndProc):
1932
1933 2006-03-30  Eric Seidel  <eseidel@apple.com>
1934
1935         Reviewed by hyatt.
1936
1937         Fix html editing input & basic form submission.
1938
1939         * Spinneret/Spinneret/WebFrame.cpp:
1940         (WebKit::WebFrame::submitForm):
1941         (WebKit::WebFrame::loadURL):
1942         * Spinneret/Spinneret/WebFrame.h:
1943         * Spinneret/Spinneret/WebView.cpp:
1944         (WebKit::WebView::keyPress):
1945         (WebKit::WebViewWndProc):
1946
1947 2006-03-28  Justin Garcia  <justin.garcia@apple.com>
1948
1949         Reviewed by darin
1950
1951         <rdar://problem/4402375>
1952         REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
1953
1954         Added an option to draw the selectionRect.
1955
1956         * DumpRenderTree/DumpRenderTree.m:
1957         (dump):
1958         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1959         (-[LayoutTestController dumpSelectionRect]):
1960         (dumpRenderTree):
1961         
1962 2006-03-29  Darin Adler  <darin@apple.com>
1963
1964         Reviewed by Tim Hatcher.
1965
1966         - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
1967
1968         * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
1969
1970 2006-03-28  Eric Seidel  <eseidel@apple.com>
1971
1972         Reviewed by darin.
1973
1974         * Scripts/check-for-global-initializers: remove svg exceptions.
1975
1976 2006-03-28  Timothy Hatcher  <timothy@apple.com>
1977
1978         Reviewed by Darin.
1979
1980         Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
1981
1982         * Scripts/check-for-global-initializers:
1983
1984 2006-03-28  Timothy Hatcher  <timothy@apple.com>
1985
1986         Build fix. Turn off uninitialized warnings for the first block of code.
1987
1988         * Scripts/check-for-global-initializers:
1989
1990 2006-03-28  Darin Adler  <darin@apple.com>
1991
1992         Reviewed by Geoff.
1993
1994         * Scripts/check-for-global-initializers: Added.
1995
1996 2006-03-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1997
1998         Reviewed by darin.  Landed by eseidel.
1999
2000         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
2001           Add repaint testing support to run-webkit-tests
2002
2003         * DumpRenderTree/DumpRenderTree.m:
2004         (main): Added --repaint and --horizontal-sweep options.
2005         (dump): Repaint line-by-line or column-by-column when the appropriate option
2006         is selected.
2007         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
2008         and repaintSweepHorizontally() methods to layoutTestController.
2009         (-[LayoutTestController testRepaint]):
2010         (-[LayoutTestController repaintSweepHorizontally]):
2011         (dumpRenderTree):
2012         * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
2013         to force these settings on tests that do not ask for them.
2014
2015 2006-03-24  Eric Seidel  <eseidel@apple.com>
2016
2017         Reviewed by mjs.
2018
2019         Build fix.
2020
2021         * Spinneret/Spinneret/WebFrame.cpp:
2022         (WebKit::WebFrame::openURL): replace QString with DeprecatedString
2023
2024 2006-03-21  Beth Dakin  <bdakin@apple.com>
2025
2026         Reviewed by Maciej
2027
2028         Add support for keyDown() to DumpRenderTree.
2029
2030         * DumpRenderTree/DumpRenderTree.m:
2031         (main): Set the preference for tabbing to links.
2032         * DumpRenderTree/EventSendingController.m:
2033         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2034         (+[EventSendingController webScriptNameForSelector:]):
2035         (-[EventSendingController keyDown:withModifiers:]):
2036
2037 2006-03-20  Eric Seidel  <eseidel@apple.com>
2038
2039         Reviewed by hyatt.
2040
2041         Fix win32 build.
2042
2043         * Spinneret/Spinneret/Spinneret.vcproj:
2044         * Spinneret/Spinneret/WebFrame.h:
2045         * Spinneret/Spinneret/WebView.cpp:
2046         (WebKit::WebView::mouseMoved):
2047         (WebKit::WebView::mouseDown):
2048         (WebKit::WebView::mouseUp):
2049         (WebKit::WebView::mouseDoubleClick):
2050         (WebKit::WebView::keyPress):
2051         (WebKit::WebViewWndProc):
2052
2053 2006-03-19  Darin Adler  <darin@apple.com>
2054
2055         Reviewed by Anders.
2056
2057         * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
2058         we can test it in layout tests. We don't really need tests that run with
2059         pop-up blocking off at the moment. If we do some day, we can add some
2060         API for turning it off in the layout test controller.
2061
2062         * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
2063         don't ignore the leak; it should no longer show up.
2064
2065 2006-03-17  Anders Carlsson  <andersca@mac.com>
2066
2067         Reviewed by Eric.
2068         
2069         * Scripts/install-win-extras:
2070         Fetch "Program Files" location from the environment.
2071         
2072 2006-03-17  Eric Seidel  <eseidel@apple.com>
2073
2074         Reviewed by ggaren.
2075
2076         Fix Spinneret to pass Events as const & not as pointers.
2077
2078         * Spinneret/Spinneret/WebView.cpp:
2079         (WebKit::WebView::mouseMoved):
2080         (WebKit::WebView::mouseDown):
2081         (WebKit::WebView::mouseUp):
2082         (WebKit::WebView::mouseDoubleClick):
2083         (WebKit::WebView::keyPress):
2084
2085 2006-03-17  Eric Seidel  <eseidel@apple.com>
2086
2087         Reviewed by justing.
2088
2089         Add support for basic HTML editing.
2090
2091         * Spinneret/Spinneret/WebView.cpp:
2092         (WebKit::WebView::WebView):
2093         (WebKit::WebView::keyPress):
2094
2095 2006-03-17  Eric Seidel  <eseidel@apple.com>
2096
2097         Rubber-stamped by ggaren.
2098
2099         Break DumpRenderTree.m up into several files to make the code more readable.
2100
2101         * DumpRenderTree/DumpRenderTree.h: Added.
2102         * DumpRenderTree/DumpRenderTree.m:
2103         (doneLoading): new accessor function for "done" global.
2104         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2105         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
2106         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
2107         * DumpRenderTree/EditingDelegate.h: Added.
2108         * DumpRenderTree/EditingDelegate.m: Added.
2109         (-[EditingDelegate webViewDidChangeSelection:]):
2110         * DumpRenderTree/EventSendingController.h: Added.
2111         * DumpRenderTree/EventSendingController.m: Added.
2112
2113 2006-03-16  Eric Seidel  <eseidel@apple.com>
2114
2115         Reviewed by darin.
2116
2117         Add resize, scroll event support.
2118
2119         * Spinneret/Spinneret/WebView.cpp:
2120         (WebKit::WebView::mouseMoved):
2121         (WebKit::WebView::mouseDown):
2122         (WebKit::WebView::mouseUp):
2123         (WebKit::WebView::mouseDoubleClick):
2124         (WebKit::WebView::keyPress):
2125         (WebKit::WebViewWndProc):
2126         * Spinneret/Spinneret/WebView.h:
2127
2128 2006-03-16  Eric Seidel  <eseidel@apple.com>
2129
2130         Reviewed by darin.
2131
2132         Make build-webkit print correctly to stdout on windows.
2133
2134         * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2135
2136 2006-03-15  Eric Seidel  <eseidel@apple.com>
2137
2138         Reviewed by mjs.
2139
2140         Fix eventSender.mouseClick() to update lastClick timestamp.
2141
2142         * DumpRenderTree/DumpRenderTree.m:
2143         (-[EventSendingController mouseClick]):
2144
2145 2006-03-15  Darin Adler  <darin@apple.com>
2146
2147         Reviewed by Maciej.
2148
2149         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
2150         that had a lowercase "i" in it so this builds on case-sensitive
2151         file systems.
2152
2153 2006-03-15  Geoffrey Garen  <ggaren@apple.com>
2154
2155         Reviewed by Eric.
2156
2157         Added run-testkjs and compare-timing-files scripts, to support super
2158         accurate JS iBench.
2159
2160         * Scripts/compare-timing-files: Added.
2161         * Scripts/run-testkjs: Added.
2162
2163 2006-03-14  Eric Seidel  <eseidel@apple.com>
2164
2165         Reviewed by mjs.
2166
2167         Make the URL bar relinquish focus on page load.
2168
2169         * Spinneret/Spinneret/Spinneret.cpp:
2170         (MyEditProc):
2171
2172 2006-03-14  Eric Seidel  <eseidel@apple.com>
2173
2174         Reviewed by mjs.
2175
2176         Fix WebView to allow KeyFocus.
2177         Add handling of space and shift-space for scrolling.
2178
2179         * Spinneret/Spinneret/WebView.cpp:
2180         (WebKit::scrollMessageForKey):
2181         (WebKit::WebViewWndProc):
2182
2183 2006-03-10  Eric Seidel  <eseidel@apple.com>
2184
2185         Reviewed by hyatt.
2186
2187         Add scrolling support into Spinneret.
2188
2189         * Spinneret/Spinneret/WebFrame.cpp:
2190         (WebKit::WebFrame::paint):
2191         * Spinneret/Spinneret/WebView.cpp:
2192         (WebKit::WebView::createWebView):
2193         (WebKit::calculateScrollDelta):
2194         (WebKit::scrollMessageForKey):
2195         (WebKit::WebViewWndProc):
2196
2197 2006-03-13  Eric Seidel  <eseidel@apple.com>
2198
2199         Reviewed by mjs.
2200
2201         Fix checksum generation on Intel machines.
2202         Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
2203         give a small speed boost now that it uses a shared buffer.
2204
2205         * DumpRenderTree/DumpRenderTree.m:
2206         (main):
2207         (dump):
2208         (md5HashStringForBitmap):
2209         * DumpRenderTree/ImageDiff.m:
2210         (computePercentageDifferent):
2211
2212 2006-03-13  Darin Adler  <darin@apple.com>
2213
2214         Reviewed by Tim Hatcher.
2215
2216         * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
2217         have it named httpd-1.3 instead.
2218
2219 2006-03-13  Alexey Proskuryakov  <ap@nypop.com>
2220
2221         Fix proposed by Mitz Pettel, reviewed by Darin.
2222
2223         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
2224           run-webkit-tests fast/dom/HTMLObjectElement/ hangs
2225
2226         * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
2227         (sequences of slashes are equivalent to a single slash in POSIX paths, but not 
2228         in URLs).
2229
2230 2006-03-09  Darin Adler  <darin@apple.com>
2231
2232         Reviewed by John Sullivan.
2233
2234         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
2235           memory leak in the plug-in tests
2236
2237         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2238         (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
2239         (NPP_SetWindow): Remove unneeded code to store the window pointer.
2240
2241         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2242         Moved the browser global in here since it's declared in this file's header.
2243         Changed the code to set up the pluginClass structure to not use function
2244         pointer casts. Those are dangerous because they can hide many types of mismatch.
2245         And indeed when I did this I discovered that many functions were missing their
2246         boolean return values or had parameter declarations with the wrong types.
2247         (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
2248         clarity. Added boolean return value: return true when successful and false when not.
2249         (pluginSetProperty): Added boolean return value, return false since we have no
2250         properties we can set.
2251         (pluginInvoke): Added boolean return value. Return true when successful and false
2252         when not. Use NPVARIANT macros where appropriate. Added a missing release for the
2253         return value from calling the browser. Changed code to put the strings in malloc
2254         buffers instead of relying on GCC's extension that allows variable-sized arrays
2255         on the stack.
2256         (pluginInvokeDefault): Added boolean return value, return false since we have no
2257         default function to call.
2258         (pluginInvalidate): Added missing parameter. Removed comment.
2259         (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
2260         to cast the result of malloc.
2261         (pluginDeallocate): Removed uneeded cast.
2262
2263         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
2264         includes. Changed our PluginObject to use NPObject instead of re-declaring fields
2265         that match NPObject's fields. Removed unused NPWindow pointer.
2266
2267 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2268
2269         Test: fast/events/event-sender-mouse-click.html
2270
2271         Reviewed by Darin.
2272
2273         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
2274           DRT hangs when doing eventSender.mouseDown on native widgets
2275
2276         * DumpRenderTree/DumpRenderTree.m:
2277         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2278         (-[EventSendingController mouseClick]): Simulates a click in a native
2279         widget by queueing a mouseUp before sending the mouseDown, so that
2280         the widget's mouse tracking event loop doesn't hang indefinitely.
2281
2282 2006-03-09  Maciej Stachowiak  <mjs@apple.com>
2283
2284         Reviewed by Eric.
2285
2286         - make link clicks work by handling link click requests
2287         from WebCore
2288
2289         * Spinneret/Spinneret/Spinneret.cpp:
2290         (updateLocationBar):
2291         * Spinneret/Spinneret/Spinneret.h:
2292         * Spinneret/Spinneret/WebFrame.cpp:
2293         (WebKit::WebFrame::WebFrame):
2294         (WebKit::WebFrame::openURL):
2295         (WebKit::WebFrame::loadURL):
2296         * Spinneret/Spinneret/WebFrame.h:
2297
2298 2006-03-08  Eric Seidel  <eseidel@apple.com>
2299
2300         Reviewed by mjs.
2301
2302         Focus URL bar on Spinneret launch, remove border from WebView.
2303         Stop WebFrame from deleting the job (prevent crash).
2304
2305         * Spinneret/Spinneret/Spinneret.cpp:
2306         (_tWinMain):
2307         * Spinneret/Spinneret/WebFrame.cpp:
2308         (WebKit::WebFrame::receivedAllData):
2309         (WebKit::WebFrame::paint):
2310         * Spinneret/Spinneret/WebView.cpp:
2311         (WebKit::WebView::createWebView):
2312
2313 2006-03-09  Alexey Proskuryakov  <ap@nypop.com>
2314
2315         Reviewed by Darin.
2316
2317         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2318         (pluginInvoke): Added a method to test getURL.
2319
2320 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
2321
2322         Reviewed by Eric.
2323
2324         - load URLs, not file paths, in Spinneret
2325
2326         * Spinneret/Spinneret/Spinneret.cpp:
2327         (MyEditProc):
2328         * Spinneret/Spinneret/Spinneret.vcproj:
2329         * Spinneret/Spinneret/WebFrame.cpp:
2330         (WebKit::WebFrame::loadURL):
2331         (WebKit::WebFrame::receivedData):
2332         (WebKit::WebFrame::receivedAllData):
2333         * Spinneret/Spinneret/WebFrame.h:
2334         * Spinneret/Spinneret/WebView.cpp:
2335         (WebKit::WebView::WebView):
2336
2337 2006-03-08  Darin Adler  <darin@apple.com>
2338
2339         Reviewed by Eric.
2340
2341         - fixed AppleScript layout test results to not be endian-dependent
2342           (Hyatt complained to me about this one)
2343
2344         * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
2345         Added specific code for dumping LongDateTime, instead of dumping the raw bytes
2346         (which are endian-dependent).
2347
2348 2006-03-07  Darin Adler  <darin@apple.com>
2349
2350         Reviewed by Anders.
2351
2352         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
2353           unwanted output while running layout tests
2354
2355         * DumpRenderTree/DumpRenderTree.m:
2356         (checkedMalloc): Added.
2357         (checkedRealloc): Added.
2358         (makeLargeMallocFailSilently): Added.
2359         (main): Call makeLargeMallocFailSilently.
2360
2361 2006-03-06  Darin Adler  <darin@apple.com>
2362
2363         * Scripts/do-webcore-rename: Add some more planned renaming.
2364
2365 2006-03-06  Eric Seidel  <eseidel@apple.com>
2366
2367         Reviewed by hyatt.
2368
2369         * Spinneret/Spinneret/WebFrame.cpp:
2370         (WebKit::WebFrame::paint): force layout before painting
2371
2372 2006-03-06  Justin Garcia  <justin.garcia@apple.com>
2373
2374         Reviewed by darin
2375         
2376         Sent the windowNumber when sending events.
2377         Added leapForward so that we don't have to spend time waiting
2378         in layout tests that do mouse operations that require delays.
2379
2380         * DumpRenderTree/DumpRenderTree.m:
2381         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2382         (+[EventSendingController webScriptNameForSelector:]):
2383         (-[EventSendingController currentEventTime]):
2384         (-[EventSendingController leapForward:]):
2385         (-[EventSendingController mouseDown]):
2386         (-[EventSendingController mouseUp]):
2387         (-[EventSendingController mouseMoveToX:Y:]):
2388
2389 2006-03-05  Darin Adler  <darin@apple.com>
2390
2391         * Scripts/do-webcore-rename: Fix a couple of things found while testing.
2392         Script now works (after landing my two pending patches).
2393
2394 2006-03-05  Darin Adler  <darin@apple.com>
2395
2396         - check in a script to do a "big" rename in WebCore
2397           (can be run whenever we're ready to do it)
2398
2399         * Scripts/do-webcore-rename: Added.
2400
2401 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
2402
2403         Reviewed by Eric.
2404
2405         * Spinneret/Spinneret/WebFrame.cpp:
2406         (WebKit::WebFrame::loadFilePath): Close file when done.
2407
2408 2006-03-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2409
2410         Reviewed by Darin, landed by ap.
2411
2412         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
2413           Mouse moved events do not work in DumpRenderTree
2414
2415         Test: fast/events/event-sender-mouse-moved.html
2416
2417         * DumpRenderTree/DumpRenderTree.m:
2418         (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2419
2420 2006-03-04  Eric Seidel  <eseidel@apple.com>
2421
2422         Reviewed by hyatt.
2423
2424         Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
2425         Disable background erase to avoid tearing.
2426         Fix potential memory smasher from extra long urls. 
2427
2428         * Spinneret/Spinneret/Spinneret.cpp:
2429         (MyRegisterClass):
2430         * Spinneret/Spinneret/Spinneret.vcproj:
2431         * Spinneret/Spinneret/WebFrame.cpp:
2432         (WebKit::WebFrame::loadFilePath):
2433         (WebKit::WebFrame::paint):
2434         * Spinneret/Spinneret/WebView.cpp:
2435         (WebKit::registerWebViewWithInstance):
2436
2437 2006-03-04  Eric Seidel  <eseidel@apple.com>
2438
2439         Reviewed by ggaren.
2440
2441         Hang WebView pointer off of HWND (gets rid of global hack).
2442         Remove MessageBox displayed on url change.
2443
2444         * Spinneret/Spinneret/Spinneret.cpp:
2445         (WndProc):
2446         (MyEditProc):
2447         * Spinneret/Spinneret/WebView.cpp:
2448         (WebKit::registerWebViewWithInstance):
2449         (WebKit::WebView::createWebView):
2450         (WebKit::WebViewWndProc):
2451
2452 2006-03-04  Alexey Proskuryakov  <ap@nypop.com>
2453
2454         Reviewed by Eric.
2455
2456         Automatically kill httpd if it appears to be already running.
2457
2458         * Scripts/run-webkit-tests: 
2459
2460 2006-03-04  Maciej Stachowiak  <mjs@apple.com>
2461
2462         Reviewed by Eric.
2463
2464         * Spinneret/Spinneret/WebFrame.cpp:
2465         (WebKit::WebFrame::loadFilePath): Improved local file loading.
2466
2467 2006-03-03  Eric Seidel  <eseidel@apple.com>
2468
2469         Reviewed by hyatt.
2470
2471         A few more fixes to make run-webkit-tests really work on win32.
2472
2473         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2474         (localFileTest):
2475         * Scripts/run-webkit-tests:
2476
2477 2006-03-03  Eric Seidel  <eseidel@apple.com>
2478
2479         Reviewed by darin.
2480
2481         Make run-webkit-tests work on win32.
2482
2483         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2484         (localFileTest):
2485         (dumpRenderTreeMain):
2486         (dumpRenderTreeToStdOut):
2487         (serializeToStdOut):
2488         (main):
2489         * Scripts/run-webkit-tests:
2490         * Scripts/webkitdirs.pm:
2491         * Spinneret/Spinneret/WebView.cpp:
2492         (WebKit::WebView::WebView):
2493
2494 2006-03-03  Eric Seidel  <eseidel@apple.com>
2495
2496         Reviewed by mjs.
2497
2498         Add WebFrame class (to hold Frame and FrameView).
2499         Add Location bar support to Spinneret.
2500
2501         * Spinneret/Spinneret/Spinneret.cpp:
2502         (resizeSubViews):
2503         (_tWinMain):
2504         (WndProc):
2505         (MyEditProc):
2506         * Spinneret/Spinneret/Spinneret.vcproj:
2507         * Spinneret/Spinneret/WebFrame.cpp: Added.
2508         (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
2509         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
2510         (WebKit::WebFrame::WebFrame):
2511         (WebKit::WebFrame::loadFilePath):
2512         (WebKit::WebFrame::loadHTMLString):
2513         (WebKit::WebFrame::paint):
2514         (WebKit::WebFrame::impl):
2515         (WebKit::WebFrame::viewImpl):
2516         * Spinneret/Spinneret/WebFrame.h: Added.
2517         * Spinneret/Spinneret/WebView.cpp:
2518         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2519         (WebKit::WebView::WebView):
2520         (WebKit::WebView::windowHandle):
2521         (WebKit::WebView::mainFrame):
2522         (WebKit::WebView::mouseMoved):
2523         (WebKit::WebView::mouseDown):
2524         (WebKit::WebView::mouseUp):
2525         (WebKit::WebView::mouseDoubleClick):
2526         (WebKit::WebViewWndProc):
2527         * Spinneret/Spinneret/WebView.h:
2528
2529 2006-03-02  Eric Seidel  <eseidel@apple.com>
2530
2531         Reviewed by ggaren.
2532
2533         * Spinneret/Spinneret/WebView.cpp:
2534         (WebKit::registerWebViewWithInstance):
2535         (WebKit::WebView::WebView):
2536         (WebKit::WebView::mouseMoved):
2537         (WebKit::WebView::mouseDown):
2538         (WebKit::WebView::mouseUp):
2539         (WebKit::WebView::mouseDoubleClick):
2540         (WebKit::WebViewWndProc):
2541         * Spinneret/Spinneret/WebView.h:
2542
2543 2006-03-01  Eric Seidel  <eseidel@apple.com>
2544
2545         Reviewed by andersca.
2546
2547         Make spinneret take advantage of the new GraphicsContextCairo.
2548
2549         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2550         (main): updated to match style guidelines.
2551         * Spinneret/Spinneret/Spinneret.cpp:
2552         (_tWinMain):
2553         * Spinneret/Spinneret/WebView.cpp:
2554         (WebKit::registerWebViewWithInstance):
2555         (WebKit::WebView::WebView):
2556         (WebKit::WebView::~WebView):
2557         (WebKit::WebView::drawRect):
2558         (WebKit::WndProc):
2559         * Spinneret/Spinneret/WebView.h:
2560
2561 2006-03-01  Justin Garcia  <justin.garcia@apple.com>
2562
2563         Reviewed by darin
2564         
2565         Give the events that eventSender sends a unique eventNumber
2566
2567         * DumpRenderTree/DumpRenderTree.m:
2568         (-[EventSendingController mouseDown]):
2569         (-[EventSendingController mouseUp]):
2570         (-[EventSendingController mouseMoveToX:Y:]):
2571
2572 2006-03-01  Eric Seidel  <eseidel@apple.com>
2573
2574         Reviewed by hyatt.
2575
2576         Add a stub win32 application to test WebCore drawing on windows.
2577
2578         * Spinneret: Added.
2579         * Spinneret/Spinneret: Added.
2580         * Spinneret/Spinneret.sln: Added.
2581         * Spinneret/Spinneret/Resource.h: Added.
2582         * Spinneret/Spinneret/Spinneret.cpp: Added.
2583         (_tWinMain):
2584         (MyRegisterClass):
2585         (InitInstance):
2586         (WndProc):
2587         (About):
2588         * Spinneret/Spinneret/Spinneret.h: Added.
2589         * Spinneret/Spinneret/Spinneret.ico: Added.
2590         * Spinneret/Spinneret/Spinneret.rc: Added.
2591         * Spinneret/Spinneret/Spinneret.vcproj: Added.
2592         * Spinneret/Spinneret/WebView.cpp: Added.
2593         (WebKit::WebView::WebViewPrivate::WebViewPrivate):
2594         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
2595         (WebKit::registerWebViewWithInstance):
2596         (WebKit::WebView::createWebView):
2597         (WebKit::WebView::WebView):
2598         (WebKit::WebView::~WebView):
2599         (WebKit::WebView::drawRect):
2600         (WebKit::WebView::windowHandle):
2601         (WebKit::WndProc):
2602         * Spinneret/Spinneret/WebView.h: Added.
2603         * Spinneret/Spinneret/small.ico: Added.
2604         * Spinneret/Spinneret/stdafx.cpp: Added.
2605         * Spinneret/Spinneret/stdafx.h: Added.
2606
2607 2006-02-28  Eric Seidel  <eseidel@apple.com>
2608
2609         Reviewed by mjs.
2610
2611         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2612         (main): add ability to dump render tree and read from a local file.
2613
2614 2006-02-27  Eric Seidel  <eseidel@apple.com>
2615
2616         Reviewed by darin.
2617
2618         * Scripts/install-win-extras: fix dll permissions & download zlib too.
2619
2620 2006-02-27  Eric Seidel  <eseidel@apple.com>
2621
2622         Reviewed by ggaren.
2623
2624         Test new KConfig -> PlugInInfoStore change.
2625         http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
2626
2627         * DumpRenderTree/DumpRenderTree.m:
2628         (main): load test netscape plugin
2629         * Scripts/run-webkit-tests: style update
2630
2631 2006-02-24  Eric Seidel  <eseidel@apple.com>
2632
2633         Reviewed by mjs.
2634
2635         Make DumpRenderTree link against icu.
2636
2637         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2638
2639 2006-02-24  Eric Seidel  <eseidel@apple.com>
2640
2641         Reviewed by mjs.
2642
2643         Make DumpRenderTree link against libxml, etc.
2644
2645         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2646
2647 2006-02-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2648
2649         Reviewed and landed by Anders.
2650         
2651         Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
2652         getting called from the run loop, making the view render each test and thus slowing
2653         down the tests.
2654
2655         * DumpRenderTree/DumpRenderTree.m:
2656         (main): Set the offscreen window to not autodisplay.
2657
2658 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
2659
2660         Reviewed by Darin.
2661
2662         - Turn http tests back on by default.
2663         - Wait for Apache to actually start serving requests.
2664         - Get user id from a built-in variable rather than an external command; 
2665         don't pass the group. 
2666
2667         * Scripts/run-webkit-tests: 
2668
2669 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
2670
2671         Suggested by Mitz Pettel, reviewed by Darin.
2672
2673         * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
2674         can run CGIs even if the permissions are 700 or 600.
2675
2676 2006-02-23  Darin Adler  <darin@apple.com>
2677
2678         Collaborating with Alexey.
2679
2680         - turn off http tests by default until we figure out how to get them
2681           to run even when permissions on CGI files are 700 instead of 755
2682
2683         * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2684
2685 2006-02-23  Eric Seidel  <eseidel@apple.com>
2686
2687         Add *.user to ignore list.
2688
2689 2006-02-23  Eric Seidel  <eseidel@apple.com>
2690
2691         Remove binary file which shouldn't have been commited (and add to ignore list).
2692
2693         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
2694         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2695
2696 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
2697
2698         Reviewed by Eric.
2699
2700         * Scripts/run-webkit-tests: Put Apache log files in the right directory.
2701
2702 2006-02-22  Eric Seidel  <eseidel@apple.com>
2703
2704         Reviewed by Tim Hatcher.
2705
2706         Fix install-win-extras to not try to re-install setx if installed.
2707
2708         * Scripts/install-win-extras:
2709
2710 2006-02-22  Eric Seidel  <eseidel@apple.com>
2711
2712         One more file possibly missing from previous commit?
2713
2714         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
2715         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2716
2717 2006-02-22  Eric Seidel  <eseidel@apple.com>
2718
2719         Reviewed by justing.
2720
2721         Files missing from previous commit.
2722
2723         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2724         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2725
2726 2006-02-22  Eric Seidel  <eseidel@apple.com>
2727
2728         Rubber-stamped by justing.
2729
2730         Corrected path for DumpRenderTree.intermediate files
2731
2732         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2733
2734 2006-02-22  Eric Seidel  <eseidel@apple.com>
2735
2736         Reviewed by justing.
2737
2738         Fixed build-dumprendertree to exit with correct error codes.
2739
2740         * Scripts/build-dumprendertree:
2741
2742 2006-02-22  Eric Seidel  <eseidel@apple.com>
2743
2744         Reviewed by justing.
2745
2746         Update build scripts to generalize building on Win32, and allow
2747         building of DumpRenderTree on Win32 from build-dumprendertree.
2748
2749         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2750         (main):
2751         * Scripts/build-dumprendertree:
2752         * Scripts/build-webkit:
2753         * Scripts/webkitdirs.pm:
2754
2755 2006-02-22  Eric Seidel  <eseidel@apple.com>
2756
2757         Reviewed by hyatt.
2758
2759         * DumpRenderTree/DumpRenderTree.vcproj: Added.
2760         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
2761         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
2762         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
2763         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
2764         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
2765         (_tmain):
2766         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
2767         * Scripts/build-webkit: make build-webkit cleanup after itself
2768
2769 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
2770
2771         Reviewed by Darin.
2772
2773         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
2774           Some minor fixes to http tests.
2775
2776         * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2777
2778 2006-02-21  Alexey Proskuryakov  <ap@nypop.com>
2779
2780         Reviewed by Darin.
2781
2782         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
2783           Would like to use locally installed Apache for testing.
2784
2785         Added two run-webkit-tests options:
2786           --http (--nohttp)  - whether to launch Apache (defaults to yes);
2787           --port - which port to listen on (defaults to 8000).
2788
2789         Tests in LayoutTests/http are not run directly, and Apache is used instead.
2790         For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
2791         http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
2792
2793         Also added support for .shtml and .text files. Text files give an empty 
2794         *-expected.txt, but a correct image.
2795
2796         Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
2797
2798         * Scripts/run-webkit-tests:
2799
2800 2006-02-21  Darin Adler  <darin@apple.com>
2801
2802         Suggested by Mark Rowe.
2803
2804         * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
2805         reporting leak counts.
2806
2807 2006-02-18  Maciej Stachowiak <mjs@apple.com>
2808
2809         Reviewed by Darin.
2810
2811         - Added install-win-extras script which installs some extra 
2812         programs and libraries, and does Windows first-time setup.
2813
2814         * Scripts/build-webkit: Add a newline between build results.
2815         * Scripts/install-win-extras: Added.
2816
2817 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
2818
2819         Reviewed by Darin.
2820
2821         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
2822           DumpRenderTree should be able to load files via HTTP
2823
2824         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
2825         Handle tests starting with "http://" as real URLs, not file system paths.
2826
2827 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
2828
2829         Reviewed by Maciej.
2830
2831         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
2832           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
2833
2834         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2835
2836 2006-02-18  Darin Adler  <darin@apple.com>
2837
2838         * Scripts/commit-log-editor: Added.
2839
2840 2006-02-17  Eric Seidel  <eseidel@apple.com>
2841
2842         Reviewed by hyatt.
2843
2844         Make Win32 have the same default "WebKitBuild" directory behavior.
2845
2846         * Scripts/build-webkit:
2847         * Scripts/webkitdirs.pm:
2848
2849 2006-02-17  Eric Seidel  <eseidel@apple.com>
2850
2851         Reviewed by Beth.
2852
2853         * Scripts/build-webkit: make win32 actually report errors
2854
2855 2006-02-17  Eric Seidel  <eseidel@apple.com>
2856
2857         Reviewed by adele.
2858
2859         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2860
2861 2006-02-17  Eric Seidel  <eseidel@apple.com>
2862
2863         Reviewed by adele.
2864
2865         * Scripts/run-webkit-tests: Ignore flash leaks
2866
2867 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
2868
2869         Reviewed by darin
2870         
2871         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
2872         Add drag and drop support to DumpRenderTree
2873         
2874         Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
2875         and send dragging updates.  Put DumpRenderTree's WebView into an offscreen window.
2876
2877         * DumpRenderTree/DumpRenderTree.m:
2878         (main):
2879         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2880         (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2881         (-[WaitUntilDoneDelegate webViewFocus:]):
2882         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2883         (+[LayoutTestController webScriptNameForSelector:]):
2884         (-[LayoutTestController setWindowIsKey:]):
2885         (-[LayoutTestController setMainFrameIsFirstResponder:]):
2886         (-[EventSendingController init]):
2887         (-[EventSendingController mouseDown]):
2888         (-[EventSendingController mouseUp]):
2889         (-[EventSendingController mouseMoveToX:Y:]):
2890         (dumpRenderTree):
2891         (-[DumpRenderTreeWindow isKeyWindow]):
2892         (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
2893         (-[DumpRenderTreeDraggingInfo dealloc]):
2894         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2895         (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
2896         (-[DumpRenderTreeDraggingInfo draggingLocation]):
2897         (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
2898         (-[DumpRenderTreeDraggingInfo draggedImage]):
2899         (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
2900         (-[DumpRenderTreeDraggingInfo draggingSource]):
2901         (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
2902         (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
2903         (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
2904         * DumpRenderTree/TextInputController.m:
2905         (-[TextInputController firstRectForCharactersFrom:length:]):
2906         (-[TextInputController characterIndexForPointX:Y:]):
2907         
2908 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
2909
2910         Reviewed by Eric.
2911
2912         * DumpRenderTree/DumpRenderTree.m:
2913         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 
2914         Added a dummy method for the sake of LayoutTests/plugins/
2915         undefined-property-crash.html. (It tests a crash due to fallback 
2916         object use. WebCore won't create a fallback object if the method is 
2917         not defined.)
2918
2919 2006-02-14  Eric Seidel  <eseidel@apple.com>
2920
2921         Reviewed by adele.
2922
2923         * Scripts/run-webkit-tests: added --results-directory (-o) option
2924
2925 2006-02-09  Eric Seidel  <eseidel@apple.com>
2926
2927         Rubber-stamped by mjs.
2928
2929         Renamed split-class to split-file-by-class.
2930
2931         * Scripts/build-webkit: Updated copyright.
2932         * Scripts/split-class: Removed.
2933         * Scripts/split-file-by-class: Added.
2934
2935 2006-02-08  Eric Seidel  <eseidel@apple.com>
2936
2937         Rubber-stamped by mjs.
2938
2939         Adding new script for splitting multi-class files.
2940         Also adding supporting perl module with space removing heuristics.
2941
2942         * Scripts/SpacingHeuristics.pm: Added.
2943         * Scripts/build-drawtest: updated copyright header
2944         * Scripts/split-class: Added.
2945
2946 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
2947
2948         Reviewed by thatcher
2949         
2950         Changes to test fix for:
2951         <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
2952         webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
2953
2954         * DumpRenderTree/DumpRenderTree.m:
2955         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2956         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2957         (+[LayoutTestController webScriptNameForSelector:]):
2958         (-[LayoutTestController setWindowHasFocus:]):
2959         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
2960
2961 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
2962
2963         Reviewed by Timothy.
2964
2965         Support automated testing of AppleScript "do JavaScript" command
2966         http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
2967
2968         * DumpRenderTree/AppleScriptController.h: Added.
2969         * DumpRenderTree/AppleScriptController.m: Added.
2970         * DumpRenderTree/DumpRenderTree.m:
2971         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2972         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2973
2974 2006-02-06  Eric Seidel  <eseidel@apple.com>
2975
2976         Reviewed by hyatt.
2977
2978         Fix build-webkit for use on win32 (unblocks buildbot usage).
2979         http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
2980
2981         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
2982         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2983
2984 2006-02-06  Eric Seidel  <eseidel@apple.com>
2985
2986         Rubber-stamped by darin & mjs.
2987
2988         Added new support directory for build slave scripts.
2989         Committing the first script, for use by the PLT's build slave.
2990         This script is used to kick of the PLT (Page Load Test) slave.
2991
2992         * BuildSlaveSupport: Added.
2993         * BuildSlaveSupport/run-performance-tests: Added.
2994
2995 2006-02-06  Eric Seidel  <eseidel@apple.com>
2996
2997         Rubber-stamped by darin.
2998
2999         Adding setSourceDir for scripts stored in non-standard locations.
3000
3001         * Scripts/webkitdirs.pm:
3002
3003 2006-02-04  Darin Adler  <darin@apple.com>
3004
3005         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
3006         Configuration files that say Development or Deployment in them.
3007
3008 2006-02-04  Darin Adler  <darin@apple.com>
3009
3010         * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
3011         wrapper already in the directory.
3012         * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
3013         these haven't been working at all.
3014         * Scripts/svn-unapply: Ditto.
3015
3016 2006-02-03  Timothy Hatcher  <timothy@apple.com>
3017
3018         Reviewed by Justin.
3019
3020         Renamed configuration names to Debug, Release and Production.
3021
3022         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3023         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3024         * Scripts/set-webkit-configuration:
3025         * Scripts/webkitdirs.pm:
3026
3027 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
3028
3029         Reviewed by thatcher
3030         
3031         Enabled spell checking for layout tests.
3032         
3033         * DumpRenderTree/DumpRenderTree.m:
3034         (main):
3035
3036 2006-01-29  Darin Adler  <darin@apple.com>
3037
3038         * Scripts/svn-apply: Added comments about things we should do to improve.
3039         * Scripts/svn-create-patch: Ditto.
3040         * Scripts/svn-unapply: Ditto.
3041
3042 2006-01-28  Darin Adler  <darin@apple.com>
3043
3044         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
3045         already there, even if the checksum is correct.
3046
3047 2006-01-27  Eric Seidel  <eseidel@apple.com>
3048
3049         Reviewed by adele.
3050
3051         * Scripts/run-webkit-tests: make new tests use absolute urls
3052
3053 2006-01-27  Eric Seidel  <eseidel@apple.com>
3054
3055         Reviewed by mjs.
3056
3057         make run-webkit-tests output total leaks count
3058
3059         * Scripts/run-webkit-tests:
3060
3061 2006-01-27  Eric Seidel  <eseidel@apple.com>
3062
3063         Reviewed by mjs.
3064
3065         run-webkit-test --leaks crashes (malloc logging runs out of memory)
3066         http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
3067
3068         * Scripts/run-webkit-tests: fix --leaks to not crash
3069
3070 2006-01-26  Eric Seidel  <eseidel@apple.com>
3071
3072         Reviewed by darin.
3073
3074         run-webkit-tests should produce a self-contained results directory
3075         http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
3076
3077         * Scripts/run-webkit-tests: copy failing items to results dir.
3078
3079 2006-01-23  Darin Adler  <darin@apple.com>
3080
3081          - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
3082            need script to update localizable strings file in WebKit
3083
3084         * Scripts/update-webkit-localizable-strings: Added.
3085
3086 2006-01-23  Darin Adler  <darin@apple.com>
3087
3088         - added a couple of scripts -- more about these two soon
3089
3090         * Scripts/extract-localizable-strings: Added.
3091         * Scripts/merge-changelog: Added.
3092
3093 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
3094
3095         Reviewed by Anders.
3096         
3097         Build fix.  build-webkit dies with "invalid build action: (empty string)"
3098
3099         * Scripts/build-webkit:
3100         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
3101
3102 2006-01-22  Eric Seidel  <eseidel@apple.com>
3103
3104         Reviewed by anders.
3105
3106         Fix --no-svg option to use XCode flags instead of gcc flags.
3107
3108         * Scripts/build-webkit:
3109
3110 2006-01-22  Eric Seidel  <eseidel@apple.com>
3111
3112         Reviewed by anders.
3113
3114         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
3115
3116         * Scripts/build-webkit:
3117
3118 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
3119
3120         Reviewed by eseidel.
3121
3122         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
3123         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
3124
3125         * Scripts/build-drawtest: Changed bareword 'true' to 1.
3126         * Scripts/run-drawtest: Changed bareword 'true' to 1.
3127
3128 2006-01-19  Darin Adler  <darin@apple.com>
3129
3130         * Scripts/report-include-statistics: Added a new script.
3131
3132 2006-01-19  Timothy Hatcher  <timothy@apple.com>
3133
3134         * Scripts/build-webkit: include JavaScriptGlue in the build
3135
3136 2006-01-19  Darin Adler  <darin@apple.com>
3137
3138         * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
3139         spaces in it by using the form of open that treats each argument as a string
3140         rather than backtick syntax for reading the output of the nm tool.
3141
3142 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
3143
3144         Reviewed by Darin.
3145         
3146         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
3147         detect if there are any new tests
3148
3149         * Scripts/prepare-ChangeLog:
3150
3151 2006-01-12  Darin Adler  <darin@apple.com>
3152
3153         - removed some of the cvs-specific scripts -- not needed for this project any more
3154
3155         * Scripts/cvs-abandon: Removed.
3156         * Scripts/cvs-apply: Removed.
3157         * Scripts/cvs-create-patch: Removed.
3158         * Scripts/cvs-unapply: Removed.
3159
3160 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
3161
3162         Reviewed by eseidel.  Committed by eseidel.
3163
3164         - run-webkit-tests always launches Safari when tests fail
3165         http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
3166
3167         * Scripts/run-webkit-tests:
3168         Add a command-line flag to prevent Safari being launched to display failed
3169         tests.  Always exit with non-zero status when tests have failed.
3170
3171 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
3172
3173         Reviewed by eseidel.  Committed by eseidel.
3174
3175         - build-webkit should exit with non-zero status when build fails
3176         http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
3177
3178         * Scripts/build-webkit:
3179         Use correct bits of subprocess exit code when passing back through
3180         as build-webkit's exit code.
3181
3182 2006-01-10  Eric Seidel  <eseidel@apple.com>
3183
3184         Restored corrupted nibs from TOT CVS.
3185
3186         * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
3187         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
3188         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
3189         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
3190         * DrawTest/English.lproj/Inspector.nib: Replaced.
3191         * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
3192         * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
3193         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
3194         * DrawTest/English.lproj/MainMenu.nib: Replaced.
3195         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
3196         * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
3197         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
3198         * DrawTest/English.lproj/TestViewer.nib: Replaced.
3199         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
3200         * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
3201         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
3202
3203 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
3204
3205         Reviewed by eseidel.  Committed by eseidel.
3206
3207         DrawTestView now subclasses WebView instead of DrawView.
3208
3209         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3210         * DrawTest/DrawTestDocument.h:
3211         * DrawTest/DrawTestDocument.m:
3212         (-[DrawTestDocument dealloc]):
3213         (-[DrawTestDocument readFromFile:ofType:]):
3214         (-[DrawTestDocument windowControllerDidLoadNib:]):
3215         (-[DrawTestDocument dumpSVGToConsole:]):
3216         (-[DrawTestDocument openSourceForSelection:]):
3217         (-[DrawTestDocument dataRepresentationOfType:]):
3218         * DrawTest/DrawTestToolbarController.h:
3219         * DrawTest/DrawTestToolbarController.m:
3220         (-[DrawTestToolbarController initWithDrawView:]):
3221         (-[DrawTestToolbarController clickedToolbarItem:]):
3222         (-[DrawTestToolbarController validateToolbarItem:]):
3223         * DrawTest/DrawTestView.h:
3224         * DrawTest/DrawTestView.m:
3225         (-[DrawTestView initWithFrame:]):
3226         (-[DrawTestView setDocument:]):
3227         * DrawTest/SVGTest.h:
3228         * DrawTest/SVGTest.m:
3229         (+[SVGTest sharedDrawView]):
3230         (-[SVGTest generateCompositeIfNecessary]):
3231         * DrawTest/TestController.h:
3232         * DrawTest/TestController.m:
3233         (-[TestController awakeFromNib]):
3234         (-[TestController setSelectedTest:]):
3235         (-[TestController openTestViewerForSelection:]):
3236         (-[TestController toggleViewersScaleRule:]):
3237         * DrawTest/TestViewerSplitView.m:
3238         (-[TestViewerSplitView drawRect:]):
3239
3240 2006-01-10  Anders Carlsson  <andersca@mac.com>
3241
3242         Reviewed by Timothy.
3243
3244         * DumpRenderTree/DumpRenderTree.m:
3245         (main): Set the default language to "en", so language tests will work.
3246
3247 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
3248
3249         Reviewed by Eric.
3250         
3251         - script to generate HTML wrappers for JS tests
3252         http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
3253
3254         * Scripts/make-js-test-wrappers: Added.
3255
3256 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
3257
3258         Reviewed by Eric.
3259
3260         * Scripts/svn-create-patch: Fix to work when passed directory names.
3261
3262 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
3263
3264         Reviewed by Eric.
3265
3266         - Added back/forward navigation support to DumpRenderTree. Hopefully we
3267         can start writing automated loader tests now. I have one in the works.
3268
3269         * DumpRenderTree/DumpRenderTree.m:
3270         (main): Construct global navigationController on entry, destroy on exit.
3271         Set frame to nil on exit too, to match all the other global objects. 
3272         (Probably academic, since the process is exiting, anyway.)
3273         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
3274         navigationController, in case it wants to kick off a load.
3275         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
3276         the navigationController to scripting.
3277
3278         New class, should be straightforward:
3279
3280         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3281         * DumpRenderTree/NavigationController.h: Added.
3282         * DumpRenderTree/NavigationController.m: Added.
3283
3284         (+[NavigationController isSelectorExcludedFromWebScript:]):
3285         (+[NavigationController webScriptNameForSelector:]):
3286         (-[NavigationController setPendingScript:]):
3287         (-[NavigationController setPendingRequest:]):
3288         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
3289         (-[NavigationController webView:didFinishLoadForFrame:]):
3290         (-[NavigationController dealloc]):
3291
3292 2006-01-08  Timothy Hatcher  <timothy@apple.com>
3293
3294         Removed this script, no longer needs with the Subversion switch.
3295
3296         * checkout: Removed.
3297
3298 2006-01-08  Timothy Hatcher  <timothy@apple.com>
3299
3300         Removes some stray tabs.
3301
3302         * Scripts/update-webkit:
3303
3304 2005-01-07  Eric Seidel  <eseidel@apple.com>
3305
3306         Reviewed by darin.
3307
3308         build-webkit should pass on build arguments from command line
3309         http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
3310
3311         * Scripts/build-webkit:
3312
3313 2006-01-07  Eric Seidel  <eseidel@apple.com>
3314
3315         Reviewed by mjs & xenon.
3316
3317         * Scripts/update-webkit: support Internal updates as well
3318
3319 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
3320
3321         Temporarily rolling out plugin support from DumpRenderTree because it
3322         caused lots of layout test regressions.
3323
3324         * DumpRenderTree/DumpRenderTree.m:
3325         (main): Remove invisible window added to support plugins.
3326
3327 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
3328
3329         Reviewed by darin.
3330
3331         - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
3332         Add plugin support to DumpRenderTree
3333
3334         Also wrote first test plugin.
3335
3336         * DumpRenderTree/DumpRenderTree.m:
3337         (main):
3338         (1) Put the WebView in an invisible window, because PlugIns are
3339         optimized not to load if there's no parent window.
3340         (2) Tell WebKit to load any PlugIns in the directory from which we 
3341         loaded. This means we can build nasty PlugIns alongside DumpRenderTree 
3342         and they'll load automagically during layout testing, but they won't be
3343         added to the user's system, hosing apps like Safari.
3344
3345         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
3346         test PlugIn to project.
3347
3348         PlugIn added to project:
3349
3350         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
3351         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
3352         (getPluginClass):
3353         (initializeIdentifiers):
3354         (pluginHasProperty):
3355         (pluginHasMethod):
3356         (pluginGetProperty):
3357         (pluginSetProperty):
3358         (pluginInvoke):
3359         (pluginInvokeDefault):
3360         (pluginInvalidate):
3361         (pluginAllocate):
3362         (pluginDeallocate):
3363         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
3364         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
3365         (NP_Initialize):
3366         (NP_GetEntryPoints):
3367         (NP_Shutdown):
3368         (NPP_New):
3369         (NPP_Destroy):
3370         (NPP_SetWindow):
3371         (NPP_NewStream):
3372         (NPP_DestroyStream):
3373         (NPP_WriteReady):
3374         (NPP_Write):
3375         (NPP_StreamAsFile):
3376         (NPP_Print):
3377         (NPP_HandleEvent):
3378         (NPP_URLNotify):
3379         (NPP_GetValue):
3380         (NPP_SetValue):
3381
3382 2006-01-04  Timothy Hatcher  <timothy@apple.com>
3383
3384         Reviewed by Darin.
3385         Created by Eric.
3386         Tweaked and tested by me.
3387
3388         New scripts to work with Subversion when the switch happens.
3389         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
3390
3391         * Scripts/svn-apply: Added.
3392         * Scripts/svn-create-patch: Added.
3393         * Scripts/svn-unapply: Added.
3394
3395 2005-12-30  Eric Seidel  <eseidel@apple.com>
3396
3397         Reviewed by mjs.
3398
3399         Move WebView width/height logic into DumpRenderTree to support
3400         running the W3C SVG 1.1 tests along side other tests.  The W3C
3401         SVG 1.1 tests require a 480x360 view.
3402
3403         * DumpRenderTree/DumpRenderTree.m:
3404         (main): don't accept width/height
3405         (dump): override width/height for SVG/W3C
3406         * Scripts/run-webkit-tests: don't pass width/height
3407
3408 2005-12-30  Eric Seidel  <eseidel@apple.com>
3409
3410         No review, only removing dead code.
3411
3412         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
3413         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
3414
3415 2005-12-30  Eric Seidel  <eseidel@apple.com>
3416
3417         Reviewed by darin.
3418
3419         DumpRenderTree should set a consistent color profile while running
3420         http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
3421
3422         Creates consistent colormatched renderings on every test machine
3423         using the only way possible with Tiger APIs: by setting the
3424         system color profile on the test machine for the duration of the
3425         tests.  This will (unfortunately) cause colors to change while
3426         running DumpRenderTree.  This can also cause "permanent" color
3427         changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
3428         This is far from ideal, but it's be best way we've found to deal
3429         with the issue for now.
3430
3431         * DumpRenderTree/DumpRenderTree.m:
3432         (restoreColorSpace):
3433         (setDefaultColorProfileToRGB):
3434         (main):
3435
3436 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
3437
3438         Reviewed by Darin Adler.
3439
3440         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
3441           cvs-create-patch --include produces incorrect paths
3442
3443         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
3444
3445 2005-12-19  Eric Seidel  <eseidel@apple.com>
3446
3447         Reviewed by darin.
3448
3449         * Scripts/run-webkit-tests: stop /etc/catalog warnings
3450
3451 2005-12-19  Darin Adler  <darin@apple.com>
3452
3453         Reviewed by Eric Seidel.
3454
3455         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
3456           WebKit needs to use a local pasteboard during testing
3457
3458         * DumpRenderTree/DumpRenderTree.m:
3459         (main): Call poseAs to substitute our NSPasteboard class for the default one.
3460         Create a local pasteboard (really a global one with a unique name) and release
3461         it when exiting from the function so we don't leave it in the pasteboard server.
3462         (dumpRenderTree): Added an autorelease pool around one small bit of code that
3463         ddn't have one. Fixed a leak in an unlikely error case.
3464         (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
3465         of this method to return our local pasteboard.
3466
3467 2005-12-15  Eric Seidel  <eseidel@apple.com>
3468
3469         Reviewed by Tim Hatcher.
3470
3471         * Scripts/build-webkit: --svg is now default!
3472
3473 2005-12-15  Eric Seidel  <eseidel@apple.com>
3474
3475         Reviewed by mjs.
3476
3477         Don't run svg test automatically if +SVG is built (yet).
3478
3479         * Scripts/run-webkit-tests:
3480
3481 2005-12-15  Darin Adler  <darin@apple.com>
3482
3483         * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
3484         support is not compiled in. Report the 10 slowest tests if "--slowest" is
3485         passed on the command line.
3486
3487 2005-12-06  John Sullivan  <sullivan@apple.com>
3488
3489         Reviewed by Darin Adler.
3490
3491         * Scripts/prepare-ChangeLog:
3492         Remove special-case handling for nib files. This avoided trouble with cvs diff
3493         when we were using wrappers for nib files. Now that we aren't using wrappers,
3494         there's no reason to avoid adding the modified nib files to the file list that
3495         gets diffed.
3496
3497 2005-12-05  Eric Seidel  <eseidel@apple.com>
3498
3499         Reviewed by mjs.
3500
3501         Script updates for SVG files move (remove references to SVGSupport)
3502
3503         * Scripts/build-webkit: remove SVGSupport
3504         * Scripts/run-webkit-tests: Resources -> resources for --svg
3505         * Scripts/update-webkit: remove SVGSupport
3506
3507 2005-12-05  Eric Seidel  <eseidel@apple.com>
3508
3509         Reviewed mjs.
3510
3511         * checkout: remove --svg support, SVG is now checked out by default
3512
3513 2005-11-29  Eric Seidel  <eseidel@apple.com>
3514
3515         Reviewed by darin.
3516
3517         Update scripts to run SVG tests automatically (w/o --svg) if
3518         WebCore is built with SVG support.
3519
3520         * Scripts/build-drawtest: SVG support required
3521         * Scripts/build-dumpkcanvastree: Removed.
3522         * Scripts/run-drawtest: SVG support required to run
3523         * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
3524         * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
3525
3526 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
3527
3528         Reviewed by Darin. Committed by Maciej.
3529
3530         - fixed "DumpRenderTree should test for Ahem before doing anything else"
3531         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
3532
3533         * DumpRenderTree/DumpRenderTree.m:
3534         (main):
3535
3536 2005-11-28  Eric Seidel  <eseidel@apple.com>
3537
3538         Reviewed by sullivan and GGAREN.
3539
3540         Minor additions to make error messages more clear from cvs-apply.
3541
3542         * Scripts/cvs-apply: make errors more clear
3543
3544 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
3545
3546         Reviewed and committed by Maciej.
3547
3548         - fixed cvs-create-patch --include produces incorrect paths
3549         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
3550
3551         * Scripts/cvs-create-patch: produce proper paths for new files.
3552
3553 2005-11-21  Eric Seidel  <eseidel@apple.com>
3554
3555         Reviewed by hyatt.
3556
3557         Some simple fixes to the build/test scripts now that SVG uses the
3558         WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
3559         or symlinks for KDOM.
3560
3561         * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
3562         * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
3563         * Scripts/run-webkit-tests: now runs SVG tests using DRT
3564         * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI 
3565         * checkout: no longer symlink kdom
3566
3567 2005-11-10  Eric Seidel  <eseidel@apple.com>
3568
3569         Reviewed by ggaren.
3570
3571         * Scripts/build-webkit: Pass through options to xcodebuild
3572
3573 2005-11-07  Darin Adler  <darin@apple.com>
3574
3575         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
3576
3577 2005-11-03  John Sullivan  <sullivan@apple.com>
3578
3579         Reviewed by Darin.
3580
3581         * Scripts/run-safari:
3582         changed message to say "Starting Safari" instead of odd "Start Safari"
3583         * Scripts/run-webkit-tests:
3584         changed the way we pass the file parameter to use -NSOpen rather than relying on
3585         unlabeled arguments being treated as files. This was failing on some machines that 
3586         (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
3587
3588 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
3589
3590         Patch by Alexey Proskuryakov.
3591
3592         Reviewed by Maciej.
3593         
3594         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
3595         TextInputController should support attributed strings
3596
3597         * DumpRenderTree/TextInputController.m:
3598         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
3599         (+[NSMutableAttributedString webScriptNameForSelector:]):
3600         (-[NSMutableAttributedString getLength]):
3601         (-[NSMutableAttributedString attributeNamesAtIndex:]):
3602         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
3603         (-[NSMutableAttributedString addAttribute:value:]):
3604         (-[NSMutableAttributedString addAttribute:value:from:length:]):
3605         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
3606         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
3607         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
3608         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
3609         (+[TextInputController isSelectorExcludedFromWebScript:]):
3610         (+[TextInputController webScriptNameForSelector:]):
3611         (-[TextInputController insertText:]):
3612         (-[TextInputController attributedSubstringFrom:length:]):
3613         (-[TextInputController attributedStringWithString:]):
3614
3615 2005-10-11  Eric Seidel  <eseidel@apple.com>
3616
3617         Reviewed by hyatt.
3618
3619         Checks for leaks in ImageDiff too.
3620
3621         * Scripts/run-webkit-tests:
3622
3623 2005-10-09  Darin Adler  <darin@apple.com>
3624
3625         * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
3626         * Scripts/cvs-apply: Handle added/deleted files in the current directory.
3627         * Scripts/cvs-unapply: Ditto.
3628         * Scripts/run-webkit-tests: Add a few more false-positive leaks.
3629
3630 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
3631
3632         Reviewed, rearranged and landed by Darin.
3633
3634         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
3635           Need a way to automatically test for regressions in NSTextInput implementation
3636
3637         * DumpRenderTree/DumpRenderTree.m:
3638         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3639         Create a text input controller and put it in a property of the window object.
3640
3641         * DumpRenderTree/TextInputController.h: Added.
3642         * DumpRenderTree/TextInputController.m: Added.
3643         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
3644
3645 2005-10-06  Darin Adler  <darin@apple.com>
3646
3647         * Scripts/cvs-apply: Fixed merge option to work better when not all directories
3648         are controlled by cvs, or when changes cross multiple repositories.
3649         * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
3650
3651 2005-10-03  Eric Seidel  <eseidel@apple.com>
3652
3653         Reviewed by mjs.
3654
3655         Make mouseDown and mouseUp force layout before acting.
3656         This is used by a new test case for 4233558.
3657
3658         * DumpRenderTree/DumpRenderTree.m:
3659         (-[EventSendingController mouseDown]): force layout
3660         (-[EventSendingController mouseUp]): force layout
3661
3662 2005-09-30  Eric Seidel  <eseidel@apple.com>
3663
3664         Reviewed by xenon.
3665
3666         Updated all the scripts for the move:
3667         WebCore/layout-tests -> LayoutTests
3668
3669         * Scripts/check-dom-results:
3670         * Scripts/prepare-ChangeLog: 
3671         * Scripts/run-webkit-tests:
3672         * Scripts/update-webkit: added --no-tests
3673         * checkout: added --no-tests
3674
3675 2005-09-28  Darin Adler  <darin@apple.com>
3676
3677         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
3678           pixel test should run even if render trees differ
3679
3680         * Scripts/run-webkit-tests: Don't check if the text dump matches.
3681
3682 2005-09-27  Eric Seidel  <eseidel@apple.com>
3683
3684         No review needed, SVG build fix only.
3685
3686         * DumpKCanvasTree/DumpKCanvasTree.m:
3687         Missed one in my previous checkin.
3688         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3689
3690 2005-09-26  Eric Seidel  <eseidel@apple.com>
3691
3692         No review needed, SVG build fix only.
3693
3694         * DrawTest/DrawTestDocument.m:
3695         * DrawTest/DrawTestToolbarController.m:
3696         * DrawTest/DrawTestView.h:
3697         * DrawTest/DrawTestView.m:
3698         * DrawTest/SVGTest.m:
3699         * DrawTest/TestController.m:
3700         Updated for WebCore+SVG -> WebCore rename.
3701         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
3702
3703 2005-09-26  Eric Seidel  <eseidel@apple.com>
3704
3705         Reviewed by hyatt.
3706
3707         * DumpRenderTree/DumpRenderTree.m:
3708         (dump): updated error message
3709         * Scripts/check-dom-results: now includes xhtml
3710         Tool updates for xhtml.
3711         http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
3712
3713 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
3714
3715         Reviewed by Maciej.
3716         Landed by Darin.
3717
3718         - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
3719         "Would like to simulate human interaction with webview"
3720
3721         * DumpRenderTree/DumpRenderTree.m:
3722         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3723         (+[EventSendingController isSelectorExcludedFromWebScript:]):
3724         (+[EventSendingController webScriptNameForSelector:]):
3725         (-[EventSendingController init]):
3726         (-[EventSendingController mouseDown]):
3727         (-[EventSendingController mouseUp]):
3728         (-[EventSendingController mouseMoveToX:Y:]):
3729         Add eventSender javascript object, that sends fake mouse events to the webview.
3730
3731         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3732         link with Carbon.framework
3733
3734 2005-09-22  Eric Seidel  <eseidel@apple.com>
3735
3736         Reviewed by mjs.
3737
3738         Update tools for WebCore+SVG -> WebCore rename.
3739         Also fold several SVG specific tools into their original
3740         WebCore counterparts.
3741         http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
3742
3743         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3744         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
3745         * Scripts/build-drawtest:
3746         * Scripts/build-dumpkcanvastree:
3747         * Scripts/build-webcore-svg: Removed.
3748         * Scripts/build-webkit: added --svg option
3749         * Scripts/run-drawtest:
3750         * Scripts/run-webkit-tests:
3751         * Scripts/webkitdirs.pm: various additions.
3752         * checkout: added --svg option
3753         * checkout-svg: Removed.
3754
3755 2005-09-19  Eric Seidel  <eseidel@apple.com>
3756
3757         Reviewed by darin.
3758
3759         * Scripts/run-webkit-tests: added --guard-malloc option
3760         http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
3761
3762 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
3763
3764         Reviewed by geoff
3765         
3766         Removed a script that is only used by apple internal developers
3767
3768         * Scripts/update-webkitsysteminterface: Removed.
3769
3770 2005-09-16  Adele Peterson  <adele@apple.com>
3771
3772         Reviewed by Maciej.
3773
3774         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
3775
3776 2005-09-14  Darin Adler  <darin@apple.com>
3777
3778         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
3779           dumpAsText doesn't work with XHTML documents
3780
3781         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
3782         rather than of the body element. This works with typical XHTML documents. We can probably
3783         do something even better in the long run, but this fixes the immediate issue.
3784
3785         - separate tweak
3786
3787         * Scripts/run-webkit-tests: Show the results in the current built Safari by using
3788         run-safari instead of just using "open", which often runs another copy of Safari instead.
3789
3790 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
3791
3792         Reviewed, tweaked, and landed by Darin.
3793
3794         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
3795           .Mac prefpane crashes when Safari using CVS WebKit is running
3796
3797         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
3798         * Scripts/run-webkit-app: Ditto.
3799
3800 2005-09-11  Darin Adler  <darin@apple.com>
3801
3802         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
3803
3804 2005-09-11  Darin Adler  <darin@apple.com>
3805
3806         Reviewed by Eric.
3807
3808         * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
3809         two ways: 1) puts all files in a directory before any files in a subdirectory, and
3810         2) sort file names with numeric digits in them in a logical way, so test-33 will come
3811         before test-3.
3812
3813 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
3814
3815         Reviewed by darin
3816
3817         * Scripts/update-webkitsysteminterface: Added.
3818         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
3819
3820 2005-09-01  John Sullivan  <sullivan@apple.com>
3821
3822         * Scripts/run-webkit-tests:
3823         Excluded a known system leak to reduce noise; added comments about which leaks
3824         are being excluded.
3825
3826 2005-09-01  Tim Omernick  <tomernick@apple.com>
3827
3828         Change made by Darin, reviewed by John and myself.
3829
3830         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
3831
3832         * Scripts/prepare-ChangeLog:
3833
3834 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
3835
3836         Reviewed by Darin.
3837
3838         - set color variant and font settings to a consistent value.
3839         (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
3840
3841         * DumpRenderTree/DumpRenderTree.m:
3842         (main):
3843
3844 2005-08-30  Eric Seidel  <eseidel@apple.com>
3845
3846         Reviewed by mjs.
3847
3848         * Scripts/build-svg2png: Removed.
3849         * svg2png/ImageDiff.h: Removed.
3850         * svg2png/ImageDiff.m: Removed.
3851         * svg2png/svg2png.m: Removed.
3852         * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
3853         * svg2png/svg2png_Prefix.pch: Removed.
3854         svg2png is no longer needed.
3855
3856 2005-08-30  Darin Adler  <darin@apple.com>
3857
3858         * Scripts/check-dom-results: Special case 100% to say something nice.
3859         * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
3860         applying the patch (need a better name).
3861         * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
3862
3863 2005-08-30  Darin Adler  <darin@apple.com>
3864
3865         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
3866
3867 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
3868
3869         Reviewed by Darin.
3870
3871         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
3872         (some pixel tests fail when AA settings are changed)
3873
3874         * DumpRenderTree/DumpRenderTree.m:
3875         (main): set AA settings to the default values
3876
3877 2005-08-29  Darin Adler  <darin@apple.com>
3878
3879         Reviewed by John Sullivan.
3880
3881         * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
3882         executable -- much slower but can help pinpoint leaks. Changed formatting of some
3883         messages too.
3884
3885 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
3886
3887         Reviewed by Eric.
3888
3889         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
3890         (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
3891
3892         * DumpRenderTree/DumpRenderTree.m:
3893         (main): set scrollbar arrow setting to a consistent value
3894
3895 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
3896
3897         Reviewed and landed by Darin.
3898
3899         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
3900           output of update-webkit is too verbose
3901
3902         * Scripts/update-webkit:
3903         Added option --quiet (-q) to decrease the amount of output.
3904
3905 2005-08-27  Darin Adler  <darin@apple.com>
3906
3907         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
3908           cvs-create-patch --include-unknowns should ignore hidden files
3909
3910         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
3911
3912 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
3913
3914         Reviewed, tweaked, and landed by Darin.
3915
3916         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
3917           update-webkit doesn't notice when you have SVGSupport and update properly
3918
3919         * Scripts/update-webkit: Build SVGSupport directory if it's present.
3920
3921 2005-08-25  Anders Carlsson  <andersca@mac.com>
3922
3923         Reviewed and landed by Darin.
3924
3925         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
3926           layout test machinery can't handle tests with applets that have code attributes
3927
3928         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
3929
3930 2005-08-24  Darin Adler  <darin@apple.com>
3931
3932         Reviewed by Maciej.
3933
3934         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
3935           DumpRenderTree --pixel-tests crash
3936         - landed some other small changes I had sitting in my tree
3937
3938         * DumpRenderTree/DumpRenderTree.m:
3939         (main): Don't bother saving and restoring the preferences. Not sure
3940         why this was ever done since the preferences are specific to DumpRenderTree.
3941         Clear delegates before releasing the WebView, because you can't count on the
3942         order of object deallocation.
3943         (dumpRenderTree): Fix code that releases a string before storing it in a
3944         global variable.
3945
3946         * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
3947         of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
3948
3949 2005-08-23  Eric Seidel  <eseidel@apple.com>
3950
3951         Reviewed by mjs.
3952
3953         * Scripts/run-webkit-tests:
3954         Made --leaks option more readable by printing to a file.
3955         http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
3956
3957 2005-08-22  Eric Seidel  <eseidel@apple.com>
3958         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3959
3960         Reviewed by darin.
3961
3962         * Scripts/run-webkit-tests: hides "expected actual diffs" links
3963         when they are not needed (for pixel-only failures)
3964         http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
3965
3966 2005-08-22  Eric Seidel  <eseidel@apple.com>
3967
3968         Reviewed by darin.
3969
3970         * Scripts/run-webkit-tests: Added the ability to display more than
3971         just two images as part of the image-diff "slideshow".
3972         Added display of "-w3c.png" baseline images for SVG.
3973         http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
3974
3975 2005-08-20  Eric Seidel  <eseidel@apple.com>
3976
3977         * Scripts/run-webkit-tests:
3978         "build" fix after committing incorrect version.
3979
3980 2005-08-20  Eric Seidel  <eseidel@apple.com>
3981
3982         Reviewed by darin.
3983
3984         * DumpRenderTree/DumpRenderTree.m:
3985         (main): cleans up delegates
3986         (dumpRenderTree): closes CFString/CFURL leak
3987         * Scripts/run-webkit-tests:
3988         Adds --leaks option to run-webkit-tests
3989         http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
3990
3991 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
3992
3993         Reviewed by Darin.
3994
3995         * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
3996         new files to be included in the patch even without "cvs add".
3997
3998 2005-08-19  Darin Adler  <darin@apple.com>
3999
4000         * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
4001         non-cvs-generated patches. Anders has been creating these, so it's bad that
4002         the script can't handle them.
4003         * Scripts/cvs-unapply: Ditto.
4004
4005 2005-08-18  Darin Adler  <darin@apple.com>
4006
4007         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
4008         "." in them -- based on complaint by someone here at Apple.
4009
4010 2005-08-18  Eric Seidel  <eseidel@apple.com>
4011
4012         Reviewed by mjs.
4013
4014         * Scripts/run-webkit-tests:
4015         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
4016
4017 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
4018
4019         - add file that I forgot in the last checkin 
4020
4021         * DumpRenderTree/ImageDiff.m: Added.
4022         (main):
4023         (getImageFromStdin):
4024         (compareImages):
4025         (getDifferenceBitmap):
4026         (computePercentageDifferent):
4027
4028 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
4029
4030         Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
4031         somewhat by me, and also tweaked by me a little bit.
4032
4033         - better support for pixel-dumping
4034         - use checksums of the images so the tests are fast
4035         - change output format to make the tests run faster
4036         - don't dump pixel results for tests that dump as text
4037
4038         * DumpKCanvasTree/DumpKCanvasTree.m:
4039         (main):
4040         (dumpRenderTree):
4041         (md5HashStringForBitmap):
4042         (dumpPixelTests):
4043         (constrainSizeToMaximum):
4044         (getBitmapImageRepForSVGDocument):
4045         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
4046         * DumpRenderTree/DumpRenderTree.m:
4047         (main):
4048         (dump):
4049         (dumpRenderTree):
4050         (md5HashStringForBitmap):
4051         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4052         * Scripts/run-webkit-tests:
4053
4054 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
4055
4056         Reviewed by Darin.
4057
4058         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
4059
4060         * DumpRenderTree/DumpRenderTree.m:
4061         (main):
4062
4063 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
4064
4065         Reviewed and landed by Darin.
4066
4067         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
4068           Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
4069
4070         * Scripts/run-safari: Pass arguments through to Safari on command line.
4071         * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
4072
4073 2005-08-11  Eric Seidel  <eseidel@apple.com>
4074         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
4075
4076         Reviewed by eseidel.
4077
4078         * DrawTest/TestController.m:
4079         (-[TestController imagePathForSVGPath:]):
4080         Fixed support for using TextViewer with the layout-tests.
4081         http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
4082
4083 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
4084
4085         At Least Roughly Glanced At by Anders.
4086
4087         - fix change with totally breaks the layout tests.
4088
4089         * DumpRenderTree/DumpRenderTree.m:
4090         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
4091         load, to avoid dumping twice accidentally.
4092
4093 2005-08-10  Eric Seidel  <eseidel@apple.com>
4094         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
4095
4096         Reviewed by darin.
4097
4098         * DumpRenderTree/DumpRenderTree.m:
4099         Added support for rendering to a PNG file.
4100         http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
4101
4102 2005-08-07  Eric Seidel  <eseidel@apple.com>
4103
4104         Reviewed by darin.
4105
4106         * Scripts/run-webkit-tests: added --svg option
4107         * Scripts/run-webkit-tests-svg: Removed.
4108         http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
4109
4110 2005-08-07  Eric Seidel  <eseidel@apple.com>
4111         Changes by Ben La Monica <ben.lamonica@gmail.com>
4112
4113         Reviewed by darin.
4114
4115         * svg2png/ImageDiff.h: Added.
4116         * svg2png/ImageDiff.m: Added.
4117         (getDifferenceBitmap):
4118         (computePercentageDifferent):
4119         (saveAnimatedGIFToFile):
4120         * svg2png/svg2png.m:
4121         (usage): added several new options
4122         (getBitmapForSVG): added NSBitmapImageRep generation
4123         (main): various argument changes.
4124         * svg2png/svg2png.xcodeproj/project.pbxproj:
4125         Several additions to provide image differencing functionality.
4126         http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
4127
4128 2005-08-07  Eric Seidel  <eseidel@apple.com>
4129
4130         Reviewed by darin.
4131
4132         * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
4133         * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
4134         Adding the first SVG layout tests:
4135         http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
4136
4137 2005-08-07  Darin Adler  <darin@apple.com>
4138
4139         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
4140
4141 2005-08-06  Eric Seidel  <eseidel@apple.com>
4142
4143         Reviewed by darin.
4144
4145         * DumpKCanvasTree/DumpKCanvasTree.m: Added.
4146         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
4147         * Scripts/build-dumpkcanvastree: Added.
4148         * Scripts/run-webkit-tests-svg: Added.
4149         Adds a DumpRenderTree-like tool for SVG which allows us to do
4150         text-based layout regression testing.  This (like most of the
4151         SVG specific stuff) is temporary and will be replaced by
4152         DumpRenderTree once the DOMs and RenderTrees merge.
4153         http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
4154
4155 2005-08-06  Eric Seidel  <eseidel@apple.com>
4156
4157         Reviewed by darin.
4158
4159         * DrawTest/DrawTestView.m:
4160         (-[DrawTestView toggleFilterSupport:]): missing negation.
4161         One half of fix for toggling filter support.
4162         http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
4163
4164 2005-08-04  Eric Seidel  <eseidel@apple.com>
4165
4166         Reviewed by darin.
4167
4168         * Scripts/build-drawtest:
4169         * Scripts/build-dumprendertree:
4170         * Scripts/build-svg2png:
4171         * Scripts/build-webcore-svg:
4172         * Scripts/build-webkit:
4173         * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
4174         Added checkRequiredSystemConfig and made all the build-* scripts
4175         use it to print a pretty warning when trying to compile on an
4176         unsupported system (less than 10.4, Xcode 2.1).
4177         http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
4178
4179 2005-08-04  Darin Adler  <darin@apple.com>
4180
4181         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
4182         the dead. It was removed by accident when someone was trying to work on the branch.
4183
4184 2005-07-31  Darin Adler  <darin@apple.com>
4185
4186         - a little tools cleanup
4187
4188         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
4189         project as a whole. Removed unused Default configuration.
4190
4191         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
4192
4193 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
4194
4195         Reviewed and landed by Darin Adler.
4196
4197         Add logging of editing delegate calls for regression checking.
4198
4199         * DumpRenderTree/DumpRenderTree.m:
4200         (main):
4201           setup editing delegate
4202
4203         (-[DOMNode dumpPath]):
4204         (-[DOMRange dump]):
4205           utility for editing delegate logging
4206
4207         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
4208         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
4209         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
4210         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
4211         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
4212         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
4213         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
4214         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
4215         (-[EditingDelegate webViewDidBeginEditing:]):
4216         (-[EditingDelegate webViewDidChange:]):
4217         (-[EditingDelegate webViewDidEndEditing:]):
4218         (-[EditingDelegate webViewDidChangeTypingStyle:]):
4219           log corresponding editing delegate methods
4220
4221         (-[EditingDelegate webViewDidChangeSelection:]):
4222           log selection except when clearing selection after end of test (uses existing "done" flag)
4223
4224         (dumpRenderTree):
4225           added clearing of selection after test
4226
4227 2005-07-31  Eric Seidel  <eseidel@apple.com>
4228
4229         Reviewed by hyatt.
4230
4231         * Scripts/build-drawtest: Added.
4232         * Scripts/build-svg2png: Added.
4233         * Scripts/build-webcore-svg: Added.
4234         * Scripts/run-drawtest: Added.
4235         * Scripts/webkitdirs.pm: added checkSVGFrameworks
4236         Made it much easier to build WebCore+SVG.
4237         http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
4238
4239 2005-07-29  Eric Seidel  <eseidel@apple.com>
4240
4241         Reviewed by vicki.
4242
4243         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
4244         Build fix.  Removed bad path.
4245
4246 2005-07-29  Eric Seidel  <eseidel@apple.com>
4247
4248         Reviewed by sullivan.
4249
4250         * DrawTest/AppDelegate.h: Added.
4251         * DrawTest/AppDelegate.m: Added.
4252         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
4253         * DrawTest/DrawTestDocument.h: Added.
4254         * DrawTest/DrawTestDocument.m: Added.
4255         * DrawTest/DrawTestInspectorController.h: Added.
4256         * DrawTest/DrawTestInspectorController.m: Added.
4257         * DrawTest/DrawTestToolbarController.h: Added.
4258         * DrawTest/DrawTestToolbarController.m: Added.
4259         * DrawTest/DrawTestView.h: Added.
4260         * DrawTest/DrawTestView.m: Added.
4261         * DrawTest/DrawTest_Prefix.pch: Added.
4262         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
4263         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
4264      &