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