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