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