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