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