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