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