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