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