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