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