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