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