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