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