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