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