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