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