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