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