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