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