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