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