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