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