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