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