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