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