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