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