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