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