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