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