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