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