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