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