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