2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2
3         Reviewed by Mark Rowe.
4
5         * GdkLauncher/main.cpp:
6         (main): Call Frame::init to catch up with Maciej's changes.
7         * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
8         passed to the helper scripts.
9
10 2007-05-16  Brady Eidson  <beidson@apple.com>
11
12         Build fix for some dev configurations
13
14         * DumpRenderTree/DumpRenderTree.m:
15
16 2007-05-16  Maciej Stachowiak  <mjs@apple.com>
17
18         Reviewed by Justin.
19         
20         - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
21         
22         The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
23         that happen before the load commits.
24         
25         Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
26         optional logging for every FrameLoadDelegate callback, including SPI callbacks.
27
28         * DumpRenderTree/DumpRenderTree.h:
29         * DumpRenderTree/DumpRenderTree.m:
30         (createWebView):
31         (dumpRenderTree):
32         (dump):
33         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
34         (-[LayoutTestController clearBackForwardList]):
35         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
36         (-[LayoutTestController dumpFrameLoadCallbacks]):
37         (-[LayoutTestController setWindowIsKey:]):
38         (-[LayoutTestController setMainFrameIsFirstResponder:]):
39         (-[LayoutTestController _doLoad:target:]):
40         (-[LayoutTestController _doBackOrForwardNavigation:]):
41         (-[LayoutTestController queueReload]):
42         (-[LayoutTestController queueScript:]):
43         (-[LayoutTestController queueLoad:target:]):
44         (-[LayoutTestController setAcceptsEditing:]):
45         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
46         (shouldLogFrameLoadDelegates):
47         (runTest):
48         (displayWebView):
49         (+[DumpRenderTreeEvent mouseLocation]):
50         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
51         * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
52         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
53         * DumpRenderTree/EventSendingController.m:
54         (-[EventSendingController mouseDown]):
55         (-[EventSendingController mouseUp]):
56         (-[EventSendingController mouseMoveToX:Y:]):
57         (-[EventSendingController contextClick]):
58         * DumpRenderTree/FrameLoadDelegate.h: Added.
59         * DumpRenderTree/FrameLoadDelegate.m: Added.
60         (-[WebFrame _drt_descriptionSuitableForTestResult]):
61         (-[FrameLoadDelegate processWork:]):
62         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
63         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
64         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
65         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
66         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
67         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
68         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
69         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
70         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
71         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
72         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
73         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
74         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
75         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
76         (-[FrameLoadDelegate webView:willCloseFrame:]):
77         (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
78         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
79         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
80         * DumpRenderTree/ResourceLoadDelegate.m:
81         (-[NSURL _drt_descriptionSuitableForTestResult]):
82         * DumpRenderTree/UIDelegate.m:
83         (-[UIDelegate webViewFocus:]):
84
85 2007-05-16  Kevin McCullough  <kmccullough@apple.com>
86
87         Reviewed by Darin and Geoff.
88
89         - rdar://problem/4981886
90         - Now windows opened by the DOM can be closed by JS.
91
92         * DumpRenderTree/DumpRenderTree.m:
93         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
94         (-[LayoutTestController windowCount]):
95
96 2007-05-15  Adam Roben  <aroben@apple.com>
97
98         Reviewed by David Kilzer.
99
100         http://bugs.webkit.org/show_bug.cgi?id=13732
101         prepare-ChangeLog should work with git
102
103         * Scripts/prepare-ChangeLog: Added support for Git.
104
105 2007-05-15  Lars Knoll <lars@trolltech.com>
106
107         Reviewed by Zack
108
109         Add the EventSender object to DRT. Currently it implements
110         mouseDown, mouseUp and mouseMoveTo.
111
112         Make run-webkit-tests --strict work somewhat better for form elements.
113
114         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
115         (WebCore::DumpRenderTree::DumpRenderTree):
116         (WebCore::DumpRenderTree::initJSObjects):
117         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
118         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
119         (HackWebFrame::mousePressEvent):
120         (HackWebFrame::mouseReleaseEvent):
121         (EventSender::EventSender):
122         (EventSender::mouseDown):
123         (EventSender::mouseUp):
124         (EventSender::mouseMoveTo):
125         (EventSender::leapForward):
126         (EventSender::keyDown):
127         (EventSender::frameUnderMouse):
128         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
129         * Scripts/run-webkit-tests:
130
131 2007-05-12  Oliver Hunt  <oliver@apple.com>
132
133         Reviewed by Hyatt.
134         
135         Add new api to DRT to allow us to test a file being dragged 
136         onto <input type="file">
137
138         * DumpRenderTree/DumpRenderTree.h:
139         * DumpRenderTree/DumpRenderTree.m:
140         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
141         (-[LayoutTestController addFileToPasteboardOnDrag]):
142         (runTest):
143         * DumpRenderTree/UIDelegate.m:
144         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
145
146 2007-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
147
148         Reviewed by Maciej.
149
150         Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
151         http://bugs.webkit.org/show_bug.cgi?id=13656
152
153         * GdkLauncher/main.cpp: Handle resizing the drawing area
154         (frameResizeCallback):
155         (main):
156
157 2007-05-11  Geoffrey Garen  <ggaren@apple.com>
158
159         Reviewed by Darin Adler.
160
161         Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:] 
162         is gone.
163
164         * DumpRenderTree/DumpRenderTree.m:
165         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
166         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
167         (+[LayoutTestController webScriptNameForSelector:]):
168         (-[LayoutTestController testWrapperRoundTripping:]):
169
170 2007-05-08  Maciej Stachowiak  <mjs@apple.com>
171
172         Reviewed by Oliver.
173         
174         - don't clear events whenever an EventSendingController goes away, only do it at predictable times, 
175         since destroying a subframe can make one go away
176         
177         (Discovered while fixing:
178         
179         <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
180         <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
181
182         * DumpRenderTree/DumpRenderTree.m:
183         (runTest): explicitly clear saved events after every page load
184         * DumpRenderTree/EventSendingController.h:
185         * DumpRenderTree/EventSendingController.m:
186         (-[EventSendingController dealloc]): don't clear saved events here...
187         (+[EventSendingController clearSavedEvents]): do it here
188         * Scripts/check-for-global-initializers:
189
190 2007-05-10  Mark Rowe  <mrowe@apple.com>
191
192         Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
193
194         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
195
196 2007-05-09  Geoffrey Garen  <ggaren@apple.com>
197
198         Reviewed by Maciej Stachowiak.
199         
200         Added support for testing ObjC/JS type bridging.
201         
202         Added ASSERT that -JSObject returns nil when the underlying JSObject
203         is no longer GC protected.
204
205         * DumpRenderTree/DumpRenderTree.m:
206         (returnThisCallback):
207         (returnThisClass):
208         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
209         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
210         (+[LayoutTestController webScriptNameForSelector:]):
211         (-[LayoutTestController accessStoredWebScriptObject]):
212         (-[LayoutTestController testWrapperRoundTripping]):
213         (-[LayoutTestController objCClassNameOf:]):
214         (-[LayoutTestController objCObjectOfClass:]):
215         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
216
217 2007-05-10  Lars Knoll <lars@trolltech.com>
218
219         Reviewed by Simon
220
221         Move setting of the DPI value a few lines up. Should fix
222         the last two remaining failures in the layout tests.
223
224         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
225         (main):
226
227 2007-05-09  Holger Freyther <zecke@selfish.org>
228
229         Reviewed by Mark Rowe.
230
231         * GdkLauncher/main.cpp: Always include config.h.
232
233 2007-05-08  Geoffrey Garen  <ggaren@apple.com>
234
235         Reviewed by Darin Adler.
236         
237         Added support for testing ObjC object identity.
238         
239         Added ASSERT to verify that you can round-trip the object passed to you
240         in -didClearWindowObject:forFrame:.
241
242         * DumpRenderTree/DumpRenderTree.m:
243         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
244         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
245         (+[LayoutTestController webScriptNameForSelector:]):
246         (-[LayoutTestController accessStoredWebScriptObject]):
247         (-[LayoutTestController objCIdentityIsEqual::]):
248
249 2007-05-07  Geoffrey Garen  <ggaren@apple.com>
250
251         Reviewed by Maciej Stachowiak.
252         
253         Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext], 
254         and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject 
255         forFrame:(WebFrame *)frame, in the form of ASSERTs.
256         
257         * DumpRenderTree/DumpRenderTree.m:
258         (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
259         to complain about.
260
261         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
262         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
263         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
264
265 2007-05-08  Lars Knoll <lars@trolltech.com>
266
267         Reviewed by Zack.
268
269         Dump JavaScript console messages as well. Also requires a slight
270         change in run-webkit-tests, so we still correctly differentiate
271         between text only and rendertree tests.
272
273         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
274         (WebCore::WebPage::WebPage):
275         (WebCore::WebPage::javaScriptConsoleMessage):
276         (WebCore::DumpRenderTree::DumpRenderTree):
277         (WebCore::DumpRenderTree::dump):
278         * Scripts/run-webkit-tests:
279
280 2007-05-08  Lars Knoll <lars@trolltech.com>
281
282         Reviewed by Zack
283
284         Specify what the serif, sans-serif and monospace aliases
285         should map to and explicitly select the Gui style of
286         DRT to be plastique.
287
288         Fixes most of the test failures still seen on the build bot.
289
290         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
291         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
292         (main):
293
294 2007-05-07  Lars Knoll <lars@trolltech.com>
295
296         Reviewed by Zack
297
298         Fix the default font to 9pt Sans Serif.
299
300         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
301         (main):
302
303 2007-05-04  Lars Knoll <lars@trolltech.com>
304
305         Reviewed by Zack
306
307         Revert on line of the last commit. We still want to keep the RPATH
308         support in the pro file.
309
310         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
311
312 2007-05-04  Lars Knoll <lars@trolltech.com>
313
314         Reviewed by Zack
315
316         Remove the old bitmap fonts I tried using to get reliable results from
317         DumpRenderTree on X11. Instead we now use the URW Type1 fonts from 
318         ghostscript. I've added a mirror to simply check them out at 
319         svn://labs.trolltech.com/svn/webkit/testfonts.
320
321         Fixed DumpRenderTree to make sure these fonts are the only ones we use
322         on X11 and added a fonts.conf file to get a well defined fontconfig
323         configuration.
324
325         Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
326         I use to find the fonts to DumpRenderTree.
327
328         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
329         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
330         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
331         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
332         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
333         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
334         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
335         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
336         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
337         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
338         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
339         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
340         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
341         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
342         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
343         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
344         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
345         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
346         (main):
347         * Scripts/run-webkit-tests:
348
349 2007-05-03  Holger Freyther <freyther@kde.org>
350
351         Reviewed by Zack, landed by Simon.
352         This is bugzilla bug 13499.
353
354         * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
355         * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
356         * Scripts/build-webkit: Add --gdk for the Gdk port
357         * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
358
359 2007-05-03  Geoffrey Garen  <ggaren@apple.com>
360
361         Build fix: Add AllInOneFile.o to the ignore list, since it includes files
362         in the ignore list.
363         
364         * Scripts/check-for-global-initializers:
365
366 2007-05-02  Holger Freyther <freyther@kde.org>
367
368         Reviewed by Mark Rowe.
369
370         * Scripts/build-webkit: Remove the CMake call.
371         * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
372         buildsystem for the Qt port.
373
374 2007-04-27  Kevin McCullough  <kmccullough@apple.com>
375
376         - Removed debugging statements and took out the removal of the deletion
377           of the symlink.  This is because multiple instances of run-webkit-tests
378           can be running at the same time.
379         * Scripts/run-webkit-tests:
380
381 2007-04-27  Adam Roben <aroben@apple.com>
382
383         Reviewed by Maciej.
384
385         Cleaned up prepare-ChangeLog
386         
387         * Scripts/prepare-ChangeLog: No code changes, but style now matches
388         the prevalent style of our perl scripts.
389
390 2007-04-27  Nazar Kulyk  <schamane@myeburg.net>
391
392         Reviewed by Mark Rowe.
393
394         Basic auto-correction of user-entered URLs.
395
396         * GdkLauncher/main.cpp:
397         (autocorrectURL):
398         (goToURLBarText):
399         (main):
400
401 2007-04-28  Mark Rowe  <mrowe@apple.com>
402
403         Rubber-stamped by Anders.
404
405         Rename some methods and variables to match the style guidelines.
406
407         * GdkLauncher/main.cpp:
408         (stringIsEmpty):
409         (stringIsEqual):
410         (goToURLBarText):
411         (goButtonClickedCallback):
412         (urlBarEnterCallback):
413         (frameResizeCallback):
414         (frameDestroyCallback):
415         (menuMainBackCallback):
416         (menuMainForwardCallback):
417         (menuMainQuitCallback):
418         (main):
419
420 2007-04-27  Holger Freyther <freyther@kde.org>
421
422         Reviewed by Maciej.
423
424         Remove unmaintained CMake build system.
425
426         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
427         * Scripts/build-webkit: Remove references to CMake.
428         * Scripts/webkitdirs.pm: Remove references to CMake.
429
430 2007-04-26  Alp Toker  <alp@atoker.com>
431
432         Reviewed by Mark Rowe.
433
434         * GdkLauncher/main.cpp:
435         (main): Avoid use of deprecated API.
436
437 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
438
439         - Changed debugging statements for more information.
440
441         * Scripts/run-webkit-tests:
442
443 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
444
445         - Adding debugging statements to see why these tests fail.  These will be removed.
446
447         * Scripts/run-webkit-tests:
448
449 2007-04-25  Anders Carlsson  <andersca@apple.com>
450
451         Reviewed by Mitz.
452
453         Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
454         the dashboard compatibility mode.
455         
456         * DumpRenderTree/DumpRenderTree.m:
457         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
458         (+[LayoutTestController webScriptNameForSelector:]):
459         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
460         (runTest):
461         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
462
463 2007-04-24  Timothy Hatcher  <timothy@apple.com>
464
465         Setting the valid architectures to 32-bit only, so these projects
466         will ignore requests to build them 64-bit. Once they can be built 64-bit,
467         the valid architectures can be updated.
468
469         * Drosera/Drosera.xcodeproj/project.pbxproj:
470         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
471
472 2007-04-23  Adam Roben  <aroben@apple.com>
473
474         Reviewed by Mark Rowe and David Kilzer.
475
476         * Scripts/build-webkit: Print the path to the run-safari script when
477         finished building so that users can copy-and-paste the command to
478         execute it.
479
480 2007-04-23  Darin Adler  <darin@apple.com>
481
482         Reviewed by Hyatt.
483
484         - rename box-sizing to -webkit-box-sizing
485
486         * Drosera/console.css: Here.
487         * Drosera/debugger.css: And here.
488         * Drosera/viewer.css: And here.
489
490 2007-04-21  Mitz Pettel  <mitz@webkit.org>
491
492         Reviewed by Darin.
493
494         - http://bugs.webkit.org/show_bug.cgi?id=13350
495           Build Ahem into DumpRenderTree
496
497         * DumpRenderTree/DumpRenderTree.m:
498         (activateAhemFont): Added. Activates the copy of Ahem included in the
499         DumpRenderTree binary.
500         (dumpRenderTree): Replaced the check that Ahem is available with a call
501         to activateAhemFont().
502         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
503           Added linker options to include Ahem in the data section of the
504           DumpRenderTree binary.
505
506 2007-04-20  Adam Roben  <aroben@apple.com>
507
508         Reviewed by Darin.
509
510         http://bugs.webkit.org/show_bug.cgi?id=13421
511         Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
512
513         * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
514
515 2007-04-18  Brady Eidson  <beidson@apple.com>
516
517         Reviewed by Tim
518
519         <rdar://problem/5008925>
520         Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
521
522         * DumpRenderTree/ResourceLoadDelegate.m:
523         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 
524           Add the willCacheResponse delegate call
525
526 2007-04-18  Adam Roben  <aroben@apple.com>
527
528         Reviewed by David Kilzer.
529
530         * Scripts/webkitdirs.pm:
531         (sub setConfiguration): Added an optional argument to set the
532         configuration instead of parsing it from ARGV.
533
534 2007-04-17  Adam Roben  <aroben@apple.com>
535
536         * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
537         files as well.
538
539 2007-04-17  Adam Roben  <aroben@apple.com>
540
541         Added a simple shell script to find all the headers from a specified
542         framework or frameworks that are included by files beneath the working
543         directory.
544
545         * Scripts/find-included-framework-headers: Added.
546
547 2007-04-16  Timothy Hatcher  <timothy@apple.com>
548
549         * Drosera/debugger.css: hide the borders for iframes
550
551 2007-04-13  Adam Roben  <aroben@apple.com>
552
553         Rubberstamped by Anders.
554
555         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
556         stdio.h so that snprintf is defined.
557
558 2007-04-13  Brady Eidson  <beidson@apple.com>
559
560         Reviewed by Anders
561
562         Add the ability to dump the back/forward history of all windows open at the end of a test
563
564         * DumpRenderTree/DumpRenderTree.m:
565         (dumpBackForwardListForWebView): Dump B/F list for the given WebView
566         (dump): Call dumpBackForwardListForWebView for each WebView open after the test
567
568 2007-04-13  Anders Carlsson  <andersca@apple.com>
569
570         Reviewed by Brady.
571
572         By default, close any windows that have been opened during a test. This can be overridden by
573         calling setCloseRemainingWindowsWhenComplete(false).
574         
575         Change the windows set to an array so we can gurantee the enumeration order.
576         
577         * DumpRenderTree/DumpRenderTree.m:
578         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
579         (+[LayoutTestController webScriptNameForSelector:]):
580         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
581         (runTest):
582         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
583         (-[DumpRenderTreeWindow dealloc]):
584
585 2007-04-13  Geoffrey Garen  <ggaren@apple.com>
586
587         Build fix.
588
589         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
590         (handleCallback): Explicitly cast the void* returned by malloc.
591
592 2007-04-12  Deneb Meketa  <dmeketa@adobe.com>
593
594         Reviewed by Darin Adler.
595
596         http://bugs.webkit.org/show_bug.cgi?id=13029
597         rdar://problem/4994849
598         Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
599         Changes in WebKitTools are only for the NPAPI test plugin.
600
601         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
602         (pluginInvoke): support null window argument for NPStream creation.
603         (pluginAllocate): initialization.
604         (pluginDeallocate): cleanup.
605         (handleCallback): add second JS callback arg: header dump.
606         (notifyStream): added; hook from NPP_NewStream to record headers.
607         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
608         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
609         (NPP_NewStream): call new header hook.
610
611 2007-04-09  Geoffrey Garen  <ggaren@apple.com>
612
613         Reviewed by Maciej Stachowiak.
614         
615         Fixed fast/forms/textarea-paste-newline.html.
616         
617         This failure was pretty funny. run-webkit-tests kills and respawns
618         DumpRenderTree once every 1000 runs. Adding a few tests caused 
619         textarea-paste-newline.html to run right at the beginning of DumpRenderTree's 
620         lifetime, before any render tree dumps had occurred. However, WebCore 
621         used a render tree dump as the hook that set a global flag to allow 
622         pasting through the DOM API, so running before any render tree dumps had 
623         occurred caused this test to fail.
624
625         * DumpRenderTree/DumpRenderTree.m:
626         (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
627         API, instead of hoping it will read the tea leaves.
628
629 2007-04-07  Mark Rowe  <mrowe@apple.com>
630
631         Not reviewed.  Update to match some configuration changes that have been active on build.webkit.org.
632
633         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
634
635 2007-04-05  Anders Carlsson  <andersca@apple.com>
636
637         Reviewed by Adam.
638
639         Add support for opening new windows in DumpRenderTree.
640         
641         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
642         (+[LayoutTestController webScriptNameForSelector:]):
643         (-[LayoutTestController setCallCloseOnWebViews:]):
644         (-[LayoutTestController setCanOpenWindows]):
645         Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
646         can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on 
647         web views that are about to be closed.
648         
649         (runTest):
650         Make sure that only the main window is around when a test has finished running.
651         
652         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
653         (-[DumpRenderTreeWindow dealloc]):
654         Manage the set of windows.
655         
656         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
657         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
658         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
659         (NPP_Destroy):
660         Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
661         
662         * DumpRenderTree/UIDelegate.m:
663         (-[UIDelegate webView:createWebViewWithRequest:]):
664         Create new windows.
665         
666         (-[UIDelegate webViewClose:]):
667         Close windows.
668         
669 2007-04-05  Anders Carlsson  <andersca@apple.com>
670
671         Reviewed by Maciej.
672
673         Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
674         windows in DRT.
675
676         * DumpRenderTree/DumpRenderTree.m:
677         (createWebView):
678         (dumpRenderTree):
679
680 2007-04-03  Anders Carlsson  <andersca@apple.com>
681
682         Reviewed by Darin.
683
684         Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
685         
686         * DumpRenderTree/DumpRenderTree.h:
687         * DumpRenderTree/DumpRenderTree.m:
688         (dumpRenderTree):
689         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
690         (+[LayoutTestController webScriptNameForSelector:]):
691         (-[LayoutTestController addDisallowedURL:]):
692         (runTest):
693         * DumpRenderTree/ResourceLoadDelegate.m:
694         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
695
696 2007-04-03  Mark Rowe  <mrowe@apple.com>
697
698         Reviewed by Antti.
699
700         * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
701
702 2007-04-02  Anders Carlsson  <andersca@apple.com>
703
704         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
705         Don't use #import in a header included by C files.
706
707 2007-03-31  Mark Rowe  <mrowe@apple.com>
708
709         Reviewed by Mitz.
710
711         Fix http://bugs.webkit.org/show_bug.cgi?id=13239
712         Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
713
714         Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
715         rather than -[WebScriptObject count].
716
717         * Drosera/DebuggerDocument.m:
718         (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
719
720 2007-03-30  Anders Carlsson  <andersca@apple.com>
721
722         Reviewed by Geoff.
723
724         Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
725         
726         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
727         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
728         (NPP_New):
729         Look for the onstreamload attribute.
730         
731         (NPP_Destroy):
732         Free the onstreamload attribute.
733         
734         (NPP_NewStream):
735         Call the onstreamload handler.
736
737 2007-03-30  Geoffrey Garen  <ggaren@apple.com>
738
739         Removing an assertion I just added because it's crashing the Leopard 
740         buildbot. The related layout test will still report a failure, so we 
741         don't really need this assertion.
742
743         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
744         (pluginInvoke):
745
746 2007-03-30  Anders Carlsson  <andersca@apple.com>
747
748         Reviewed by Geoff.
749
750         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
751         (testAllocate):
752         (testEnumerate):
753         Add casts.
754         
755         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
756         Don't use #import, use #include.
757
758 2007-03-30  Anders Carlsson  <andersca@apple.com>
759
760         Reviewed by Alexey.
761
762         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
763         (pluginInvoke):
764         Free the identifier string.
765
766 2007-03-30  Anders Carlsson  <andersca@apple.com>
767
768         Reviewed by Geoff.
769
770         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
771         Add TestObject.c and TestObject.h
772         
773         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
774         (pluginGetProperty):
775         Implement the testObject property.
776         
777         (pluginInvoke):
778         Implement testEnumerate which takes an object and an array and enumerates
779         the properties of the object and adds them to the array.
780         
781         (pluginAllocate):
782         Allocate the test object.
783         
784         (pluginDeallocate):
785         Free the test object.
786         
787         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
788         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
789         Add a test object with two enumerable properties.
790
791 2007-03-29  Geoffrey Garen  <ggaren@apple.com>
792
793         Reviewed by Beth Dakin.
794         
795         Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in 
796         -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] 
797         navigating away from page with DivX movie plug-in (13203)
798         
799         Added hasStream property and destroyStream function, used by layout test.
800
801         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
802         (pluginGetProperty):
803         (pluginInvoke):
804         (pluginAllocate):
805         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
806         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
807         (NPP_NewStream):
808
809 2007-03-27  Anders Carlsson  <acarlsson@apple.com>
810
811         Reviewed by Geoff.
812
813         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
814         (pluginInvoke):
815         Add new function which takes a function and calls it using NPN_InvokeDefault.
816
817 2007-03-27  Adele Peterson  <adele@apple.com>
818
819         Adding comment.
820
821         * DumpRenderTree/DumpRenderTree.m:
822         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
823
824 2007-03-27  Adele Peterson  <adele@apple.com>
825
826         Fix svg tests by calling displayIfNeeded.
827
828         * DumpRenderTree/DumpRenderTree.m:
829         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
830
831 2007-03-26  Mark Rowe  <mrowe@apple.com>
832
833         Reviewed by Sam Weinig.
834
835         Upload crash logs from DumpRenderTree as part of the test results to ease debugging
836         of hard-to-reproduce crashes.
837
838         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
839
840 2007-03-23  Adam Treat  <adam@staikos.net>
841
842         Reviewed and committed by George.
843
844         Patch by Adam Treat.  Removes hardcoded path to .pro file.
845
846 2007-03-22  Adam Roben  <aroben@apple.com>
847
848         Reviewed by Geoff.
849
850         Removed eventSender.mouseClick because it was only useful for AppKit
851         controls, which we don't use anymore.
852
853         * DumpRenderTree/EventSendingController.m:
854         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
855         mouseClick.
856
857 2007-03-22  Adam Roben  <aroben@apple.com>
858
859         Reviewed by Ada.
860
861         Make eventSender.mouseClick actually send a mouse up event.
862
863         * DumpRenderTree/EventSendingController.m:
864         (-[EventSendingController mouseClick]):
865
866 2007-03-19  David Hyatt  <hyatt@apple.com>
867
868         Update the minimum font size pref to match the actual default setting in Safari.  It should have been 1
869         all this time and not 9.
870
871         Reviewed by aroben
872
873         * DumpRenderTree/DumpRenderTree.m:
874         (dumpRenderTree):
875
876 2007-03-18  Dan Waylonis  <waylonis@mac.com>
877
878         Reviewed by Tim Hatcher.
879
880         DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
881         Bug 13005: WebScriptObject +throwException needs NULL check.
882
883         Add tests to ensure that a plugin can safely throw an exception in dealloc.
884
885         * DumpRenderTree/ObjCPlugin.h:
886         * DumpRenderTree/ObjCPlugin.m:
887         (+[ObjCPlugin webScriptNameForKey:]):
888         (+[ObjCPlugin isKeyExcludedFromWebScript:]):
889         (-[ObjCPlugin dealloc]):
890
891 2007-03-13  Mark Rowe  <mrowe@apple.com>
892
893         Reviewed by Maciej.
894
895         Have the nightly launcher prefer Safari found in /Applications or ~/Applications
896         if present, otherwise fall back on using LaunchServices to locate it elsewhere
897         on the system.  The motivation for this is to make the behaviour of the nightly
898         builds more predictable on machines with multiple copies of Safari present.
899
900         * WebKitLauncher/main.m:
901         (locateSafariBundle):
902         (main):
903
904 2007-03-12  Darin Adler  <darin@apple.com>
905
906         Reviewed by Tim Hatcher.
907
908         - add a DumpRenderTree feature where you can get the Objective-C
909           class name of a JavaScript object
910
911         * DumpRenderTree/DumpRenderTree.m:
912         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
913         objCClassNameOf: selector.
914         (+[LayoutTestController webScriptNameForSelector:]): Add the
915         objCClassNameOf: selector, with the name "objCClassName".
916         (-[LayoutTestController objCClassNameOf:]): Added.
917
918 2007-03-11  Geoffrey Garen  <ggaren@apple.com>
919
920         Reviewed by Oliver Hunt.
921         
922         Beefed up --threaded mode in light of <rdar://problem/4681051> Installer 
923         crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*) 
924         trying to install iLife 06 using Rosetta on an Intel Machine
925         
926         --threaded mode now runs a bunch of different JavaScript threads, randomly
927         killing and respawning them. This was sufficient for reproducing the
928         bug on my MacBook Pro.
929
930         * DumpRenderTree/DumpRenderTree.m:
931         (javaScriptThreads):
932         (runJavaScriptThread):
933         (startJavaScriptThreads):
934         (stopJavaScriptThreads):
935         (dumpRenderTree):
936
937 2007-03-11  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
938
939         Reviewed by Brady Eidson.
940
941         Add forward/backward/quit menus for easier testing.
942
943         * GdkLauncher/main.cpp:
944         (menuMainBackCb):
945         (menuMainForwardCb):
946         (menuMainQuitCb):
947         (main):
948
949 2007-03-09  Andrew Wellington  <proton@wiretapped.net>
950
951         Reviewed by Darin.
952
953         - fix http://bugs.webkit.org/show_bug.cgi?id=13007
954           svn-create-patch doesn't handle UTF files with BOMs as text
955
956         Force diff to treat files that svn-create-patch thinks are text as text.
957
958         * Scripts/svn-create-patch: Added -a switch to diff command.
959
960 2007-03-09  Mark Rowe  <mrowe@apple.com>
961
962         Unreviewed.  Use the new SVN URL on the buildbot.
963
964         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
965
966 2007-03-08  Mark Rowe  <mrowe@apple.com>
967
968         Reviewed by Antti.
969
970         Fix compiler warnings when building Drosera as 64-bit.
971
972         * Drosera/DebuggerDocument.m:
973         (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
974         (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
975         (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
976
977 2007-03-07  Mark Rowe  <mrowe@apple.com>
978
979         Reviewed by Maciej.
980
981         Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
982
983         * Scripts/check-for-global-initializers:
984
985 2007-03-07  Anders Carlsson  <acarlsson@apple.com>
986
987         Reviewed by Adam.
988
989         Add some assertions.
990
991         * DumpRenderTree/DumpRenderTree.m:
992         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
993         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
994         (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
995         (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
996
997 2007-03-07  David Kilzer  <ddkilzer@webkit.org>
998
999         Reviewed by Darin.
1000
1001         - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
1002           WebArchiver - attempt to insert nil exception when archive empty iframe
1003
1004         The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
1005         a webarchive while the dumpSourceAsWebArchive() test method uses the original
1006         dataSource (page source) to create a webarchive.  Most tests currently use
1007         dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
1008         webarchive.
1009
1010         * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
1011         Added dumpSourceAsWebArchive.
1012         (dump):
1013         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1014         (-[LayoutTestController dumpDOMAsWebArchive]):
1015         (-[LayoutTestController dumpSourceAsWebArchive]):
1016         (runTest):
1017
1018 2007-03-05  Kevin McCullough  <kmccullough@apple.com>
1019
1020         Reviewed by Mark and Dave H.
1021
1022         - rdar://problem/4922454
1023         - This fixes a security issue by making remote referrers not able to access local
1024         resources, unless they register their schemes to be treated as local. The result is
1025         that those schemes can access local resources and cannot be accessed by remote
1026         referrers.
1027         Because this behavior is new a link-on-or-after check is made to determine if the
1028         app should use the older, less safe, behavior.
1029
1030         * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
1031         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1032         (+[LayoutTestController webScriptNameForSelector:]):
1033         (-[LayoutTestController setUserStyleSheetLocation:]):
1034         (-[LayoutTestController setUserStyleSheetEnabled:]):
1035
1036 2007-03-05  Anders Carlsson  <acarlsson@apple.com>
1037
1038         Reviewed by Adam, Darin.
1039
1040         <rdar://problem/5025212>
1041         In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
1042         
1043         Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
1044         to be run when the URL has finished (or failed) loading.
1045         
1046         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1047         (pluginInvoke):
1048         (handleCallback):
1049         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1050         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1051         (NPP_URLNotify):
1052
1053 2007-03-04  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1054
1055         Reviewed by Nikolas Zimmermann.
1056
1057         Load a url given on a command line in a way that also
1058         works for local (file://) urls.
1059
1060         * GdkLauncher/main.cpp:
1061         (main):
1062
1063 2007-03-02  Geoffrey Garen  <ggaren@apple.com>
1064
1065         Tweaked parse-malloc-history to work with new malloc_history output format.
1066
1067         * Scripts/parse-malloc-history:
1068
1069 2007-02-28  Vladimir Olexa  <vladimir.olexa@gmail.com>
1070
1071         Reviewed by Tim H.
1072
1073         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
1074         Bug#12887: [Drosera] Add ability to close loaded files
1075
1076         * Drosera/DebuggerDocument.h:
1077         * Drosera/DebuggerDocument.m:
1078         (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
1079         * Drosera/Drosera.xcodeproj/project.pbxproj:
1080         * Drosera/English.lproj/MainMenu.nib/classes.nib: 
1081         * Drosera/English.lproj/MainMenu.nib/info.nib:
1082         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
1083         * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
1084         * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
1085
1086 2007-02-28  Nikolas Zimmermann  <zimmermann@kde.org>
1087
1088         Reviewed by Maciej.
1089
1090         Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
1091
1092         * Scripts/build-webkit:
1093
1094 2007-02-27  Geoffrey Garen  <ggaren@apple.com>
1095
1096         Small tweak to run-webkit-tests.
1097
1098         * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
1099         1000 MallocStackLogging tests at a time.
1100
1101 2007-02-26  Maciej Stachowiak  <mjs@apple.com>
1102
1103         Reviewed by Lars.
1104         
1105         - set ENABLE_XSLT even when compiling without SVG support, since that is no
1106         longer hardcoded into config.h.
1107
1108         * Scripts/build-webkit:
1109
1110 2007-02-26  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1111
1112         Reviewed by Adam Roben.
1113
1114         Rename *_SUPPORT defines to ENABLE_*.
1115
1116         * GdkLauncher/gdklauncher.bkl:
1117
1118 2007-02-24  Geoffrey Garen  <ggaren@apple.com>
1119
1120         Reviewed by Darin Adler.
1121         
1122         * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
1123         fixed.
1124
1125 2007-02-24  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1126
1127         Reviewed by Adam Roben.
1128
1129         Improve gdklauncher: add text field for entering url.
1130
1131         * GdkLauncher/gdklauncher.bkl:
1132         * GdkLauncher/main.cpp:
1133         (strEmpty):
1134         (strEq):
1135         (handleGdkEvent):
1136         (goToUrlBarText):
1137         (goButtonClickedCb):
1138         (urlBarEnterCb):
1139         (registerRenderingAreaEvents):
1140         (frameResizeCb):
1141         (frameDestroyCb):
1142         (main):
1143
1144 2007-02-22  Vladimir Olexa  <vladimir.olexa@gmail.com>
1145
1146         Reviewed by Tim H.
1147
1148         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
1149         Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
1150         * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
1151
1152 2007-02-22  Adele Peterson  <adele@apple.com>
1153
1154         Reviewed by Darin.
1155
1156         Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
1157         can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
1158
1159         * DumpRenderTree/DumpRenderTree.m:
1160         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1161         (+[LayoutTestController webScriptNameForSelector:]):
1162         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
1163
1164 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
1165
1166         Used svn merge -r19786:19785 to roll out previous hack to work around
1167         SVG painting issue in DRT.
1168         
1169         Implemented new work-around, which makes --paint paint *after* dumping
1170         the render tree instead of before, so that painting doesn't influence
1171         the SVG render tree.
1172
1173         This should fix the ~400 new pixel failures introduced in r19786.
1174
1175         * DumpRenderTree/DumpRenderTree.m:
1176         (dump):
1177         * Scripts/run-webkit-tests:
1178
1179 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
1180
1181         Resetting --leaks mode default to run 1000 tests at a time because setting it
1182         to 750 didn't stop the stack logging related crashes, and running more tests
1183         at a time is faster. The crashes seem to be a real bug in stack logging, 
1184         not an out of memory condition.
1185
1186         * Scripts/run-webkit-tests:
1187
1188 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
1189
1190         Reviewed by Adam Roben.
1191         
1192         Added hack to force painting when running an SVG test. This is a work-around
1193         for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at 
1194         paint time instead of style resolution time.
1195
1196         We need this so that --leaks mode, which always paints, doesn't appear to 
1197         fail SVG tests. We also need this if we ever want to test style application 
1198         in SVG, since many SVGs don't apply style to their renderers until they paint.
1199
1200         * Scripts/run-webkit-tests:
1201
1202 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
1203         
1204         Reduced --leaks mode to running only 750 tests at a time, in the hopes
1205         of fixing intermittent crasher that may be caused by out of memory
1206         conditions.
1207
1208         * Scripts/run-webkit-tests:
1209
1210 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
1211
1212         Reviewed by Darin Adler.
1213
1214         Made DRT paint when running run-webkit-tests in --leaks mode, to check
1215         for painting leaks.
1216
1217         * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
1218         that's the default for statics.
1219         (dumpRenderTree): Added --paint command line option, which specifies that
1220         DRT should paint at the end of every test.
1221         (displayWebView): New function, called by dump() and -[LayoutTestController display].
1222         * Scripts/run-webkit-tests: Use the --paint command line option when checking
1223         for leaks.
1224
1225         * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list. 
1226         Removed stale comment about THRD leaks -- we now ignore them reliably.
1227
1228 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
1229
1230         Tools tweak. No review necessary.
1231         
1232         * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
1233         arguments. Changed command line argument variables from special implicit 
1234         no-op values to specific empty values that we test explicitly.
1235
1236 2007-02-21  Vladimir Olexa  <vladimir.olexa@gmail.com>
1237
1238         Reviewed by Tim H.
1239
1240         Bug 12834: Drosera should remember scroll position of open files like Xcode
1241         http://bugs.webkit.org/show_bug.cgi?id=12834
1242
1243         * Drosera/debugger.js: Implemented scrolling memory 
1244
1245 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
1246
1247         Tools tweak. No review necessary.
1248         
1249         Made parse-malloc-history executable. (Oops!)
1250         
1251         Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history" 
1252         output.
1253         
1254         Added the ability to merge callstacks by regexp, not just depth, so you 
1255         can ask questions like, "How many of these allocations were due to that one 
1256         call to ...?"
1257         
1258         * Scripts/parse-malloc-history:
1259
1260 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
1261
1262         * Scripts/parse-malloc-history: Added copyright info.
1263
1264 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
1265
1266         Reviewed by Darin Adler.
1267         
1268         New script to parse the output from malloc_history, so we can determine
1269         what's using memory in WebKit.
1270
1271         * Scripts/parse-malloc-history: Added.
1272
1273 2007-02-20  Graham Dennis  <graham.dennis@gmail.com>
1274
1275         Reviewed by Darin Adler.
1276         
1277         Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
1278         WebKit.framework is built with SVG_SUPPORT for No-SVG build
1279
1280         * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
1281
1282 2007-02-19  Geoffrey Garen  <ggaren@apple.com>
1283
1284         Build fix.
1285         
1286         * Scripts/check-for-global-initializers: Ignore the global counter I added
1287         for SubresourceLoaders.
1288
1289 2007-02-19  Darin Adler  <darin@apple.com>
1290
1291         Reviewed by Tim Hatcher.
1292
1293         * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
1294         Without this, you only see the global initializer error once, which makes it very easy
1295         to miss them.
1296
1297 2007-02-16  Mark Rowe  <mrowe@apple.com>
1298
1299         Not reviewed.
1300
1301         <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
1302
1303         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
1304
1305 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
1306
1307         Reviewed by Beth Dakin.
1308         
1309         * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
1310         leaks anymore, either, since r19486 fixed them, too.
1311         (shouldIgnoreWebCoreNodeLeaks):
1312
1313 2007-02-15  Darin Adler  <darin@apple.com>
1314
1315         * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
1316         fixed by change 19486.
1317
1318 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
1319
1320         Reviewed by Beth Dakin.
1321         
1322         Ignore another leak, seen recently on the buildbot.
1323
1324         * Scripts/run-webkit-tests:
1325
1326 2007-02-14  Geoffrey Garen  <ggaren@apple.com>
1327
1328         Reviewed by Beth Dakin.
1329         
1330         Ignore another leak, seen recently on the buildbot.
1331
1332         * Scripts/run-webkit-tests:
1333
1334 2007-02-13  Darin Adler  <darin@apple.com>
1335
1336         * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
1337         giant line.
1338
1339 2007-02-11  Maciej Stachowiak  <mjs@apple.com>
1340
1341         Reviewed by Mitz.
1342         
1343         - add contextClick() operation to eventSender to be able to test this
1344
1345         * DumpRenderTree/EventSendingController.m:
1346         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1347         (-[EventSendingController contextClick]):
1348
1349 2007-02-11  Darin Adler  <darin@apple.com>
1350
1351         * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
1352         so it doesn't give a perl exception (happens in clean builds, for example).
1353
1354 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
1355
1356         Reviewed by Adam.
1357
1358         * Scripts/svn-create-patch:
1359         (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
1360         a relative path to the copied file.
1361
1362 2007-02-10  Timothy Hatcher  <timothy@apple.com>
1363
1364         Reviewed by Sam Weinig.
1365
1366         * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
1367
1368 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
1369
1370         Reviewed by Timothy.
1371
1372         * Scripts/svn-apply:
1373         (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
1374         encoded text.
1375
1376 2007-02-10  Brady Eidson <beidson@apple.com>
1377
1378         Reviewed by Maciej
1379
1380         <rdar://problem/4965133> WebKit sends file:// url referrers
1381
1382         * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
1383           on local files, but have an httpd for remote resources
1384
1385 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
1386
1387         Reviewed by Beth Dakin.
1388         
1389         Ignore another false leak report.
1390
1391         * Scripts/run-webkit-tests:
1392
1393 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
1394
1395         Reviewed by Kevin McCullough.
1396
1397         * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
1398         already exists, to avoid confusing error message.
1399         
1400         Also, remove /tmp/LayoutTests after running so unsupecting fools don't 
1401         try to rm -rf it, only later to discover that they have completely hosed 
1402         their machines.
1403
1404 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1405
1406         Reviewed by Adam Roben.
1407
1408         Linux/gdk build fixes.
1409
1410         * GdkLauncher/main.cpp: Add -exit-after-loading and
1411         -dump-render-tree as debugging aid.
1412         (strEq):
1413         (main):
1414
1415 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
1416
1417         Minor fixup based on Maciej's review last night.
1418         
1419         * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
1420         and do a little math to make it work.
1421
1422 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1423
1424         Reviewed by Adam Roben.
1425
1426         Linux/gdk build fixes.
1427
1428         * GdkLauncher/gdklauncher.bkl:
1429
1430 2007-02-08  Kevin McCullough  <KMcCullough@apple.com>
1431
1432         - Fix layout test failures.
1433
1434         * Scripts/run-webkit-tests:
1435
1436 2007-02-08  Darin Adler  <darin@apple.com>
1437
1438         Reviewed by Anders.
1439
1440         * Scripts/check-for-global-initializers: For speed, only check files that
1441         have been modified since the last time we linked. For tidiness, capture
1442         stderr from nm, and prevent "nm: no name list" messages from going out.
1443
1444 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
1445
1446         Reviewed by Maciej Stachowiak, Adam Roben.
1447         
1448         Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
1449         arbitrary number n.
1450         
1451         Plus some renames:
1452             - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
1453             - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
1454             - tool => dumpTool (to match abstraction elsewhere)
1455             - httpdOpen => isHttpdOpen (to match style guidelines)
1456         
1457         Plus a few logic fixups:
1458             - Don't check isDumpToolOpen when we know we've called openDumpTool().
1459             - Use a single code path to decide when to shut down dumpTool and
1460               when to check for leaks, since the operations are coincidental. 
1461             - Use a single code path for running the leaks tool, since the only 
1462               thing that varies between configurations is the output file name.
1463             - Increment $count after each test finishes, instead of at the end
1464               of the loop, to help with comparing to the length of the array
1465               and %-ing by n.
1466             - Use a more robust test inside the loop to determine if we need to
1467               close dumpTool, instead of copying the closing code outside the loop.
1468         
1469         Layout tests pass.
1470
1471         * Scripts/run-webkit-tests:
1472
1473 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
1474
1475         Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
1476         
1477         Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
1478         catch all reports of them, not just those inside pthread_create.
1479         
1480         Also, use "\\" instead of "\" because we need the actual \ to get into the
1481         regexp string if it's going to do any escaping. (Oops!)
1482
1483         * Scripts/run-webkit-tests:
1484
1485 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
1486
1487         Reviewed by Bethany P. Dakin.
1488         
1489         The 's' is optional when the leaks tool reports 'leaks'.
1490         
1491         * Scripts/run-leaks:
1492
1493 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
1494
1495         Reviewed by Bethany P. Dakin.
1496         
1497         Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
1498
1499         * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
1500
1501 2007-02-06  David Smith  <catfish.man@gmail.com>
1502
1503         Reviewed by Darin.
1504
1505         Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
1506         [Drosera] Console history fixups
1507
1508         * Drosera/console.js: assorted cleanups and fixes
1509
1510 2007-02-05  Geoffrey Garen  <ggaren@apple.com>
1511
1512         Reviewed by Darin Adler.
1513         
1514         New script that allows you to ignore leaks by regular expression.
1515
1516         * Scripts/run-leaks: Added.
1517
1518 2007-02-03  Sam Weinig  <sam@webkit.org>
1519
1520         Reviewed by Mark.
1521
1522         Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
1523         Drosera doesn't handle CR ( carriage returns ) well
1524
1525         - Normalize all the line endings.
1526
1527         * Drosera/debugger.js:
1528
1529 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
1530
1531         Reviewed by Darin Adler.
1532
1533         Added some more known leaks to the leaks ignore list.
1534
1535         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
1536         hate itself so much?
1537         * Scripts/run-webkit-tests:
1538
1539 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
1540
1541         Even better build fix than the last.
1542
1543         * ChangeLog:
1544         * DumpRenderTree/DumpRenderTree.m:
1545         (shouldIgnoreWebCoreNodeLeaks):
1546
1547 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
1548
1549         Fixed build. Added work-around for GCC bug.
1550
1551         * DumpRenderTree/DumpRenderTree.m:
1552         (shouldIgnoreWebCoreNodeLeaks):
1553
1554 2007-02-01  Geoffrey Garen  <ggaren@apple.com>
1555
1556         Reviewed by Maciej Stachowiak.
1557         
1558         Added support for selectively ignoring WebCore::Node leaks during layout
1559         tests, so that we can ignore known leaks in other components.
1560
1561         * DumpRenderTree/DumpRenderTree.m:
1562         (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
1563         WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
1564         confuse anyone else? 
1565         (runTest):
1566
1567 2007-02-01  Anders Carlsson  <acarlsson@apple.com>
1568
1569         Reviewed by Darin.
1570
1571         * DumpRenderTree/UIDelegate.m:
1572         (-[UIDelegate webView:addMessageToConsole:]):
1573         Dump console messages.
1574
1575 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
1576
1577         * DumpRenderTree/ResourceLoadDelegate.m:
1578         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1579         Use an NSString here so we can guarantee that -description always returns the same value.
1580
1581 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
1582
1583         Reviewed by Darin Adler.
1584
1585         Added Selection::toRange to the leaks -exclude list, since it comes up
1586         as a false positive (Radar 4967949).
1587         
1588         Also added RangeCounter to the global initializer exclude list. I added
1589         a RangeCounter since leaks won't detect all Range leaks anymore.
1590
1591         * Scripts/check-for-global-initializers:
1592         * Scripts/run-webkit-tests:
1593
1594 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
1595
1596         * DumpRenderTree/ResourceLoadDelegate.m:
1597         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1598         Don't try to create an identifier if resource loads shouldn't be dumped.
1599
1600 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
1601
1602         Reviewed by Geoff.
1603
1604         Add dumping of resource loads. This isn't completely tweaked yet since the test results would
1605         rely on resources being delivered in the same order which might not always be true. However, it works good
1606         enough for the simple webarchive tests I want to do right now.
1607         
1608         * DumpRenderTree/DumpRenderTree.h:
1609         * DumpRenderTree/DumpRenderTree.m:
1610         (dumpRenderTree):
1611         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1612         (-[LayoutTestController dumpResourceLoadCallbacks]):
1613         (runTest):
1614         
1615         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1616         * DumpRenderTree/ResourceLoadDelegate.h: Added.
1617         * DumpRenderTree/ResourceLoadDelegate.m: Added.
1618         Add new resource load delegate.
1619         
1620 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
1621
1622         Backing out the CFRunLoopRunSpecific exclude command because it was overly
1623         broad. We'll either need to work around this leak in DRT, or do some
1624         custom grep-based leak ignoring.
1625
1626         * Scripts/run-webkit-tests:
1627
1628 2007-01-30  Geoffrey Garen  <ggaren@apple.com>
1629
1630         Reviewed by Beth Dakin.
1631
1632         Filed some more Radars in other components, added some more leaks to the
1633         exclusion list.
1634
1635         * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
1636         CFRunLoopRunSpecific, and NSSpellChecker.
1637
1638 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
1639
1640         Reviewed by Darin.
1641
1642         http://bugs.webkit.org/show_bug.cgi?id=11882
1643         Need a way to regression test .webarchive output files
1644
1645         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
1646         Alters WebResourceResponse and WebResourceURL properties within WebArchive format
1647         to normalize URLs to remove path where WebKit was checked out.  Also converts
1648         WebDataResource properties from data to string if the corresponding
1649         WebResourceMIMEType property starts with "text/" or equals
1650         "application/x-javascript".
1651
1652         * DumpRenderTree/DumpRenderTree.m:
1653         (convertWebResourceDataToString): Added.
1654         (normalizeWebResourceURL): Added.
1655         (normalizeWebResourceResponse): Added.
1656         (serializeWebArchiveToXML): Added.
1657         (dump):
1658         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1659         (-[LayoutTestController dumpAsWebArchive]): Added.
1660         (runTest):
1661
1662 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
1663
1664         Reviewed by Mark Rowe.
1665
1666         http://bugs.webkit.org/show_bug.cgi?id=12470
1667         svn-create-patch creates duplicate patches for files within an added/modified directory
1668
1669         * Scripts/svn-create-patch:
1670         (sub generateFileList($\%\%)): Ignore directories when generating the file list.
1671
1672 2007-01-29  Geoffrey Garen  <ggaren@apple.com>
1673
1674         Reviewed by Maciej Stachowiak.
1675
1676         Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
1677         
1678         No more mollycoddling for you, FastMalloc.o!
1679         
1680         * Scripts/check-for-global-initializers:
1681
1682 2007-01-29  Graham Dennis  <graham.dennis@gmail.com>
1683
1684         Reviewed by Maciej.
1685         
1686         Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
1687         Image data in from RTFD clipboard data thrown away
1688         
1689         - This method is needed because NSArrays are bridged to JS Arrays,
1690           which in turn are bridged back to WebScriptObjects when passed from
1691           JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
1692
1693         * DumpRenderTree/DumpRenderTree.m:
1694         (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
1695
1696 2007-01-25  Geoffrey Garen  <ggaren@apple.com>
1697
1698         Reviewed by Maciej Stachowiak.
1699         
1700         Added support for test for <rdar://problem/4608404> WebScriptObject's 
1701         _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
1702         
1703         * DumpRenderTree/DumpRenderTree.m:
1704         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1705         (+[LayoutTestController webScriptNameForSelector:]):
1706         (-[LayoutTestController storeWebScriptObject:]):
1707         (-[LayoutTestController accessStoredWebScriptObject]):
1708         (-[LayoutTestController dealloc]):
1709
1710 2007-01-26  Lars Knoll <lars@trolltech.com>
1711
1712         Reviewed by Zack
1713
1714         Small hack to ensure that our top level frame actually has the
1715         correct size. Unfortunately this means I'll have to regenerate 
1716         all test cases :/
1717
1718         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1719         (WebCore::DumpRenderTree::DumpRenderTree):
1720
1721 2007-01-25  Lars Knoll <lars@trolltech.com>
1722
1723         Reviewed by Darin and Zack
1724         
1725         Move the test results for Qt into a directory of it's own
1726         (WebKit/LayoutTestResults/qt). Leave the Mac results where
1727         they are for now and share the text only results between 
1728         Mac and Qt.
1729
1730         Add support for a LayoutTestResults/platform/Skipped file
1731         to run-webkit-tests to be able to ignore certain tests
1732
1733         Remove the old tests-skipped.txt from Qts DumpRenderTree
1734         implementation. 
1735
1736         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1737         (WebCore::DumpRenderTree::DumpRenderTree):
1738         (WebCore::DumpRenderTree::open):
1739         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1740         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
1741         * Scripts/run-webkit-tests:
1742
1743 2007-01-24  Darin Adler  <darin@apple.com>
1744
1745         Reviewed by Oliver.
1746
1747         - fix crash seen in layout tests
1748
1749         * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
1750         Add back the line of code that sets savedMouseEvents to nil. I thought it was
1751         a field of the EventSendingController, but it's actually a global.
1752
1753 2007-01-24  Darin Adler  <darin@apple.com>
1754
1755         Reviewed by Maciej.
1756
1757         - changed dragMode to be a property instead of a function
1758
1759         * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
1760         * DumpRenderTree/EventSendingController.m:
1761         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
1762         (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
1763         (-[EventSendingController init]): Updated for name change.
1764         (-[EventSendingController leapForward:]): Ditto.
1765         (-[EventSendingController mouseUp]): Ditto.
1766         (-[EventSendingController mouseMoveToX:Y:]): Ditto.
1767
1768 2007-01-24  Darin Adler  <darin@apple.com>
1769
1770         Reviewed by Maciej.
1771
1772         - made the deferral of mouse events until drag completes conditional
1773           it's needed for drag testing, and harmful for selection testing
1774
1775         * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
1776         * DumpRenderTree/EventSendingController.m:
1777         (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
1778         (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
1779         and remove unneeded clearKillRing name.
1780         (-[EventSendingController init]): Initialize inDragMode to true.
1781         (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
1782         not be asserting things that are dependent on the test content!
1783         (-[EventSendingController leapForward:]): Only queue events in drag mode.
1784         (-[EventSendingController setDragMode:]): Added.
1785         (-[EventSendingController mouseDown]): Removed overzealous assertion.
1786         (-[EventSendingController mouseUp]): Removed overzealous assertions.
1787         Only queue events in drag mode.
1788         (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
1789
1790 2007-01-24  Lars Knoll <lars@trolltech.com>
1791
1792         Reviewed by Zack
1793
1794         Add a signal handler, always dump immediately if we get an
1795         error during a page load and raise the timeout to 5 seconds
1796         (as we get a lot less such failures now)
1797
1798         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1799         (WebCore::DumpRenderTree::DumpRenderTree):
1800         (WebCore::DumpRenderTree::maybeDump):
1801         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1802         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1803         (LayoutTestController::waitUntilDone):
1804         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1805         (crashHandler):
1806         (main):
1807         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
1808
1809 2007-01-22  Darin Adler  <darin@apple.com>
1810
1811         Reviewed by Mitz.
1812
1813         - a couple tiny tweaks to make --reset-results work better
1814
1815         * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
1816         Don't make a separate "new" entry while generating results when --reset-results
1817         is specified since new results are the norm in that case.
1818
1819 2007-01-21  Sanjay Madhav  <sanjay12@gmail.com>
1820
1821         Reviewed by Darin.
1822
1823         Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
1824
1825         This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
1826
1827         * DumpRenderTree/GCController.h:
1828         * DumpRenderTree/GCController.mm:
1829         (+[GCController isSelectorExcludedFromWebScript:]):
1830         (-[GCController getJSObjectCount]):
1831
1832 2007-01-20  Mark Rowe  <mrowe@apple.com>
1833
1834         Reviewed by Maciej.
1835
1836         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
1837         catch single regressions, and don't generate tests results for new tests.
1838
1839 2007-01-20  Adam Roben  <aroben@apple.com>
1840
1841         Rubberstamped by Maciej.
1842
1843         * Scripts/run-webkit-tests: Change the default behavior back to
1844         generating results for new tests (this can be disabled with
1845         --no-new-test-results)
1846
1847 2007-01-19  Lars Knoll <lars@trolltech.com>
1848
1849         Reviewed by Adam Roben.
1850
1851         run-webkit-tests does now not generate new results by default anymore. 
1852         You'll have to pass the --new-tests flag to it to force it to do so.
1853
1854         This is required to make it possible to have tests running on multiple 
1855         platforms peacefully together.
1856
1857         * Scripts/run-webkit-tests:
1858
1859 2007-01-18  Darin Adler  <darin@apple.com>
1860
1861         Reviewed by John Sullivan.
1862
1863         * Scripts/run-webkit-tests: Fix handling of configuration so it
1864         does the right thing when no explicit configuration is passed in.
1865         The old code assumed that the result of setConfiguration() was the
1866         configuration, but it's undefined when no configuration is
1867         explicitly passed in. The correct function to use is
1868         configuration(), and I also streamlined the code.
1869
1870 2007-01-17  Lars Knoll <lars@trolltech.com>
1871
1872         Fix my last commit to actually work in all cases.
1873
1874         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1875         (WebCore::DumpRenderTree::readStdin):
1876
1877 2007-01-17  Lars Knoll <lars@trolltech.com>
1878
1879         Reviewed by Maciej
1880
1881         Make sure DumpRenderTree exits when run-webkit-tests
1882         is done.
1883
1884         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1885         (WebCore::DumpRenderTree::readStdin):
1886
1887 2007-01-17  Lars Knoll <lars@trolltech.com>
1888
1889         Reviewed by Zack
1890
1891         Small fixes in DumpRenderTree, so we don't by
1892         accident dump twice for the same test.
1893
1894         Exclude one more test as it currently causes DumpRenderTree to
1895         hang forever.
1896
1897         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1898         (WebCore::DumpRenderTree::readStdin):
1899         (WebCore::DumpRenderTree::dump):
1900         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1901         (LayoutTestController::notifyDone):
1902         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
1903
1904 2007-01-17  Lars Knoll <lars@trolltech.com>
1905
1906         Reviewed by Zack
1907
1908         Add a message handler to DumpRenderTree that will
1909         suppress all debug output coming from qDebug() statements.
1910         Like this we can get rid of all the noise coming
1911         from the notImplemented() macro when running the
1912         layout tests. You can get it back by adding -v to
1913         DumpRenderTree's command line.
1914
1915         Changed run-webkit-tests slightly, so we by default
1916         don't fail anymore when our output differs from what
1917         is generated on the Mac. Added a --strict option, so
1918         that we can still see this cases and fix them one by one.
1919
1920         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1921         (messageHandler):
1922         (main):
1923         * Scripts/run-webkit-tests:
1924
1925 2007-01-16  Lars Knoll <lars@trolltech.com>
1926
1927         Reviewed by Zack
1928
1929         Use the new public API for the Qt build, and don't rely on
1930         WebKit internals anymore.
1931
1932         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1933         (WebCore::DumpRenderTree::DumpRenderTree):
1934         (WebCore::DumpRenderTree::~DumpRenderTree):
1935         (WebCore::DumpRenderTree::open):
1936         (WebCore::DumpRenderTree::readStdin):
1937         (WebCore::DumpRenderTree::initJSObjects):
1938         (WebCore::DumpRenderTree::dump):
1939         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1940         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1941         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
1942         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
1943         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1944         (LayoutTestController::notifyDone):
1945         (LayoutTestController::timerEvent):
1946         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1947         (main):
1948         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
1949
1950 2007-01-15  Justin Garcia  <justin.garcia@apple.com>
1951
1952         Reviewed by mjs
1953
1954         <rdar://problem/4810960>
1955         Gmail Editor: window.focus() called on keyDown (9640)
1956
1957         * DumpRenderTree/EventSendingController.m: Send the keyDown event
1958         to the firstResponder, not the event's locationInWindow.  A
1959         key press's locationInWindow is meaningless and just a dummy 
1960         coordinate.
1961
1962 2007-01-15  Eric Seidel  <eric@webkit.org>
1963
1964         Reviewed by bdash.
1965         
1966         Add a script to keep our header guards squeaky clean.
1967
1968         * Scripts/clean-header-guards: Added.
1969
1970 2007-01-15  Lars Knoll <lars@trolltech.com>
1971
1972         Reviewed by Zack
1973
1974         Fix a few smaller issues in here, and update
1975         our list of skipped tests.
1976
1977         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1978         (WebCore::DumpRenderTree::DumpRenderTree):
1979         (WebCore::DumpRenderTree::readStdin):
1980         (WebCore::DumpRenderTree::dump):
1981         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1982         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1983         (LayoutTestController::LayoutTestController):
1984         (LayoutTestController::reset):
1985         (LayoutTestController::waitUntilDone):
1986         (LayoutTestController::notifyDone):
1987         (LayoutTestController::dumpEditingCallbacks):
1988         (LayoutTestController::timerEvent):
1989         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1990         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
1991
1992 2007-01-14  Mark Rowe  <mrowe@apple.com>
1993
1994         Reviewed by Adam.
1995
1996         <rdar://problem/4908909> Need to create Leopard nightly build
1997
1998         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK.  The disk images don't mount pre-10.4 so we aren't losing anything here.
1999         * WebKitLauncher/WebKitNightlyEnabler.m:
2000         (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables.  The smaller timeframe where the
2001         CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
2002         (enableWebKitNightlyBehaviour):
2003         * WebKitLauncher/main.m:
2004         (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
2005         * Drosera/launcher.m:
2006         (main): Ditto
2007
2008 2007-01-12  Lars Knoll <lars@trolltech.com>
2009
2010         Reviewed by Zack
2011
2012         Get DumpRenderTree to work again for the Qt build.
2013
2014         Make run-webkit-tests a little less verbose when testing
2015         Qt, and add an option to run DumpRenderTree inside valgrind
2016         (useful for debugging)
2017
2018         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2019         (WebCore::DumpRenderTree::DumpRenderTree):
2020         (WebCore::DumpRenderTree::~DumpRenderTree):
2021         (WebCore::DumpRenderTree::open):
2022         (WebCore::DumpRenderTree::dump):
2023         (WebCore::DumpRenderTree::maybeDump):
2024         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2025         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
2026         (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
2027         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
2028         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2029         * Scripts/run-webkit-tests:
2030
2031 2007-01-12  Zack Rusin  <zack@kde.org>
2032
2033         Add WEBKIT_FULLBUILD env variable to get the
2034         build do a make clean before make to cleanout the
2035         stale depenendencies (for buildbot mainly).
2036
2037         * Scripts/webkitdirs.pm:
2038
2039 2007-01-11  Mitz Pettel  <mitz@webkit.org>
2040
2041         Reviewed by Hyatt.
2042
2043         - http://bugs.webkit.org/show_bug.cgi?id=10249
2044           Temporarily disable tests that are causing kernel panics
2045
2046         Changed the ImageDiff tool not to use CoreImage filters.
2047
2048         * DumpRenderTree/ImageDiff.m:
2049         (main):
2050         (createImageFromStdin):
2051         (compareImages):
2052         (getDifferenceBitmap):
2053
2054 2007-01-11  Lars Knoll <lars@trolltech.com>
2055
2056         Fix compilation
2057
2058         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2059
2060 2007-01-11  Lars Knoll <lars@trolltech.com>
2061
2062         Reviewed by Darin.
2063
2064         Adjust to loader changes.
2065
2066         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2067         (WebCore::DumpRenderTree::DumpRenderTree):
2068
2069 2007-01-06  George Staikos  <staikos@kde.org>
2070
2071         This doesn't build on all unix platforms!
2072
2073         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2074
2075 2007-01-05  Zack Rusin  <zack@kde.org>
2076
2077         Reviewed by Simon.
2078
2079         Fix the undefined warnings and try to detect
2080         the DISPLAY properly.
2081
2082         * Scripts/run-webkit-tests:
2083
2084 2007-01-05  David Kilzer  <ddkilzer@webkit.org>
2085
2086         Reviewed by Mark Rowe.
2087
2088         Speed up svn-create-patch for copied and moved files.
2089
2090         * Scripts/svn-create-patch:
2091         (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
2092         so svn pulls original from local disk.
2093
2094 2007-01-04  Lars Knoll <lars@trolltech.com>
2095
2096         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2097               Link with RPATH to (hopefully) get the automatic tests working.
2098
2099 2007-01-03  Mark Rowe  <bdash@webkit.org>
2100
2101         Reviewed by Anders.
2102
2103         * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
2104
2105 2007-01-02  Zack Rusin  <zack@kde.org>
2106
2107         Make it work after javascriptcore/bindings changes.
2108
2109         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2110         (WebCore::DumpRenderTree::initJSObjects):
2111         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2112
2113 2007-01-01  David Kilzer  <ddkilzer@webkit.org>
2114
2115         Reviewed by Darin.
2116
2117         http://bugs.webkit.org/show_bug.cgi?id=12023
2118         svn-create-patch and friends should handle moved/copied files
2119
2120         * Scripts/svn-apply: Identify copied files and handle those before all other patches.
2121         * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
2122         (findMimeType($)): Added.
2123         (findModificationTime($)): Added.
2124         (findSourceFileAndRevision($)): Added.
2125         (generateDiff($$$)): Changed to use svn stat instead of svn diff.
2126         (isBinaryMimeType($)): Added.
2127         (manufacturePatchForAdditionWithHistory($$)): Added.
2128         * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
2129
2130 2006-12-29  Eric Seidel  <eric@webkit.org>
2131
2132         Reviewed by olliej.
2133
2134         Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
2135
2136         * DumpRenderTree/DumpRenderTree.m:
2137         (dumpRenderTree): clear WebCore cache before exiting
2138
2139 2006-12-29  David Kilzer  <ddkilzer@webkit.org>
2140
2141         Reviewed by NOBODY (build fix).
2142
2143         Reverted last commit until WebResourceData issue is fixed.
2144
2145         http://bugs.webkit.org/show_bug.cgi?id=11882
2146         Need a way to regression test .webarchive output files
2147
2148         * DumpRenderTree/DumpRenderTree.m:
2149         (serializeWebArchiveToXML): Removed.
2150         (dump):
2151         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2152         (-[LayoutTestController dumpAsWebArchive]): Removed.
2153         (runTest):
2154
2155 2006-12-28  David Kilzer  <ddkilzer@webkit.org>
2156
2157         Reviewed by Darin.
2158
2159         http://bugs.webkit.org/show_bug.cgi?id=11882
2160         Need a way to regression test .webarchive output files
2161
2162         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
2163         Saves WebArchive plist in xml format, then alters file:// URLs to remove path
2164         where WebKit was checked out.
2165
2166         * DumpRenderTree/DumpRenderTree.m:
2167         (serializeWebArchiveToXML): Added.
2168         (dump):
2169         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2170         (-[LayoutTestController dumpAsWebArchive]): Added.
2171         (runTest):
2172
2173 2006-12-28  George Staikos  <staikos@kde.org>
2174
2175         Reviewed by Olliej.
2176
2177         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
2178
2179 2006-12-27  Geoffrey Garen  <ggaren@apple.com>
2180
2181         Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
2182
2183         Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
2184         
2185         No behavior change. Layout tests pass.
2186
2187         * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
2188         doneLoading() accessor function. This matches the rest of DRT's exports and 
2189         makes it easier to search for clients who check (!done).
2190
2191         * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
2192         it would cover both code paths for calling runTest().
2193
2194         (dumpRenderTree): "doneLoading()" => "done"
2195         (dump): ditto
2196         * DumpRenderTree/EditingDelegate.m: ditto
2197         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
2198         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
2199         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
2200         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
2201         (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
2202         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
2203         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
2204         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
2205         (-[EditingDelegate webViewDidBeginEditing:]): ditto
2206         (-[EditingDelegate webViewDidChange:]): ditto
2207         (-[EditingDelegate webViewDidEndEditing:]): ditto
2208         (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
2209         (-[EditingDelegate webViewDidChangeSelection:]): ditto
2210         * DumpRenderTree/UIDelegate.m: ditto
2211         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
2212
2213 2006-12-26  Eric Seidel  <eric@webkit.org>
2214
2215         Reviewed by bradee-oh.
2216         
2217         Add very simple run-pageloadtest script for running SVG page load test.
2218
2219         * Scripts/run-pageloadtest: Added.
2220
2221 2006-12-26  Geoffrey Garen  <ggaren@apple.com>
2222
2223         Reviewed by Eric Seidel.
2224
2225         Some cleanup in preparation for fixing <rdar://problem/4740328> Safari 
2226         crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
2227         
2228         (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
2229
2230 2006-12-23  Geoffrey Garen  <ggaren@apple.com>
2231
2232         Reviewed by Maciej Stachowiak.
2233         
2234         Added --threaded support to run-webkit-tests and DumpRenderTree.
2235         
2236         In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
2237         stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore 
2238         interface. This is useful for tracking down bugs you might see on a system
2239         configured to use a PAC file.
2240         
2241         Ironically, I can proudly state that very few layout tests pass.
2242
2243         * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
2244         for starting and stopping it.
2245         (runJavaScriptThread): helper function
2246         (startJavaScriptThread): helper function
2247         (stopJavaScriptThread): helper function
2248
2249         (dumpRenderTree): Added --threaded command line argument.
2250         * Scripts/run-webkit-tests: ditto
2251
2252 2006-12-22  Mark Rowe  <bdash@webkit.org>
2253
2254         Reviewed by Brady.
2255
2256         Fix for <rdar://problem/4265976>
2257         prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
2258
2259         * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
2260
2261 2006-12-21  Mark Rowe  <bdash@webkit.org>
2262
2263         Reviewed by Tim Hatcher.
2264
2265         http://bugs.webkit.org/show_bug.cgi?id=11922
2266         Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
2267
2268         * Drosera/DebuggerDocument.m:
2269         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
2270         ensure that the properties are being retrieved from the correct scope object.
2271
2272 2006-12-21  Lars Knoll <lars@trolltech.com>
2273
2274         Reviewed by Zack
2275
2276         Add support for the layoutTestController JavaScript object
2277         to be able to get textOnly dumps.
2278         Added a Qt specific hack to always get the same fonts (the ones
2279         added in this submit) and the same dpi when running the layout tests.
2280         Modified the run-webkit-tests script to also do a comparison to the 
2281         Mac generated outputs (by stripping out positioning information).
2282
2283         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2284         (WebCore::DumpRenderTree::DumpRenderTree):
2285         (WebCore::DumpRenderTree::open):
2286         (WebCore::DumpRenderTree::resetJSObjects):
2287         (WebCore::DumpRenderTree::initJSObjects):
2288         (WebCore::DumpRenderTree::dump):
2289         (WebCore::DumpRenderTree::checkLoaded):
2290         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2291         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2292         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
2293         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
2294         (WebCore::DumpRenderTreeClient::partClearedInBegin):
2295         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
2296         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
2297         (QX11Info::appDpiY):
2298         (QX11Info::appDpiX):
2299         (qt_x11ft_convert_pattern):
2300         (LayoutTestController::LayoutTestController):
2301         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
2302         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
2303         (LayoutTestController::shouldDumpAsText):
2304         (LayoutTestController::shouldWaitUntilDone):
2305         (LayoutTestController::reset):
2306         (LayoutTestController::dumpAsText):
2307         (LayoutTestController::waitUntilDone):
2308         (LayoutTestController::notifyDone):
2309         * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
2310         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
2311         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
2312         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
2313         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
2314         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
2315         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
2316         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
2317         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
2318         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
2319         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
2320         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
2321         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
2322         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
2323         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
2324         * Scripts/run-webkit-tests:
2325
2326 2006-12-21  Mark Rowe  <bdash@webkit.org>
2327
2328         Reviewed by Geoff.
2329
2330         http://bugs.webkit.org/show_bug.cgi?id=11888
2331         Bug 11888: REGRESSION (r18320): Web Inspector panes broken
2332
2333         * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
2334
2335 2006-12-18  Geoffrey Garen  <ggaren@apple.com>
2336
2337         Reviewed by Beth Dakin.
2338
2339         Updated EventSender to be able to send mouse up events outside the WebView.
2340         This is a minor tweak to a hackish implementation. The real solution
2341         should be to use NSApplication's event sending model instead of rolling
2342         our own, but I don't have time for that right now.
2343         
2344         * DumpRenderTree/EventSendingController.m:
2345         (-[EventSendingController mouseUp]): 
2346
2347 2006-12-15  Marvin Decker  <marv.decker@gmail.com>
2348
2349         Reviewed by Darin and Alexey.
2350
2351         Fix the Windows build, move various Client implementations out of
2352         WebCore and into WebKit.
2353
2354         * Spinneret/Spinneret.sln:
2355
2356 2006-12-14  Timothy Hatcher  <timothy@apple.com>
2357
2358         Reviewed by Brady.
2359
2360         * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
2361
2362 2006-12-13  Zack Rusin  <zack@kde.org>
2363
2364         Reviewed by rwlbuis
2365
2366         Use the qmake build by default with Qt - it's the one that works
2367         currently.
2368
2369         * Scripts/build-webkit:
2370         * Scripts/webkitdirs.pm:
2371
2372 2006-12-10  Lars Knoll <lars@trolltech.com>
2373
2374         Reviewed by Zack
2375
2376         Some more fixes to the dumprendertree application.
2377         Fix the run-webkit-tests script for Qt.
2378
2379         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2380         (WebCore::DumpRenderTree::open):
2381         (WebCore::DumpRenderTree::readStdin):
2382         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2383         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
2384         * Scripts/run-webkit-tests:
2385         * Scripts/webkitdirs.pm:
2386
2387 2006-12-10  Rob Buis  <buis@kde.org>
2388
2389         Reviewed by Darin.
2390
2391         * DumpRenderTree/DumpRenderTree.m:
2392         (dump):
2393
2394 2006-12-10  Lars Knoll <lars@trolltech.com>
2395
2396         Reviewed by Zack
2397
2398         Get the DumpRenderTree app to compile again
2399
2400         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2401         (WebCore::DumpRenderTree::DumpRenderTree):
2402         (WebCore::DumpRenderTree::open):
2403         (WebCore::DumpRenderTree::readStdin):
2404         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
2405         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
2406         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
2407         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
2408         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2409         (main):
2410
2411 2006-12-09  George Staikos  <staikos@kde.org>
2412
2413         Reviewed by Zack.
2414
2415         Repair QMake build on OS X.
2416
2417         * Scripts/build-webkit:
2418
2419 2006-12-09  Zack Rusin  <zack@kde.org>
2420
2421         Fixing small mistakes in the build scripts for
2422         the qmake builds.
2423
2424         * Scripts/build-webkit:
2425         * Scripts/webkitdirs.pm:
2426
2427 2006-12-09  Simon Hausmann  <hausmann@kde.org>
2428
2429         Reviewed by hyatt.
2430
2431         Add support for a QMake build using build-webkit --qmake
2432
2433         * Scripts/build-webkit:
2434         * Scripts/webkitdirs.pm:
2435
2436 2006-12-09  George Staikos  <staikos@kde.org>
2437
2438         Reviewed by Zack.
2439
2440         Remove reference to Unity.
2441
2442         * Scripts/webkitdirs.pm:
2443
2444 2006-12-08  Zack Rusin  <zack@kde.org>
2445
2446         Reviewed by Maciej.
2447
2448         Fix the compile after recent API changes.
2449
2450         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2451         (WebCore::DumpRenderTree::DumpRenderTree):
2452         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2453         (main):
2454
2455 2006-12-08  George Staikos  <staikos@kde.org>
2456
2457         Reviewed by Maciej.
2458
2459         Build Qt webkit on non-linux, and prefer it if $QTDIR is set
2460
2461         * Scripts/build-webkit:
2462         * Scripts/webkitdirs.pm:
2463
2464 2006-12-06  Steve Falkenburg  <sfalken@apple.com>
2465
2466         Support C strings for localization
2467
2468         * Scripts/extract-localizable-strings:
2469
2470 2006-12-04  Steve Falkenburg  <sfalken@apple.com>
2471
2472         Reviewed by Darin.
2473         
2474         Make extract-localizable-strings compatible with cpp file extensions.
2475
2476         * Scripts/extract-localizable-strings:
2477
2478 2006-11-21  Darin Adler  <darin@apple.com>
2479
2480         Reviewed by Maciej.
2481
2482         - a couple changes to reduce the chance of false positives on the leakbot
2483
2484         * DumpRenderTree/DumpRenderTree.m:
2485         (dumpRenderTree): Move the main function into a separate function so we can run
2486         a final garbage collect afterward without any stray values on the stack. Replaced
2487         the old way of closing down a WebView (setting the delegates to nil) with the new
2488         way (calling the close method), which does a more complete job of shutting
2489         everything down without waiting for the WebView object to be deallocated.
2490         (main): Put auto-release pool here and added an explicit call to garbage collect.
2491         With a separate function, we greatly reduce the chance that a stray address on the
2492         stack will keep an object alive.
2493
2494         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
2495         because I don't have what it takes to fight the power.
2496
2497 2006-11-17  Zack Rusin  <zack@kde.org>
2498
2499         Reviewed by Mitz. Landed by Niko.
2500
2501         Fixing compilation.
2502
2503         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2504         (WebCore::DumpRenderTree::DumpRenderTree): Adding
2505         ContextMenuClient to the constructor
2506
2507 2006-11-12  Mark Rowe  <bdash@webkit.org>
2508
2509         Reviewed by Mitz.
2510
2511         Clean up of GdkLauncher bakefile.
2512
2513         * GdkLauncher/gdklauncher.bkl:
2514
2515 2006-11-11  Nikolas Zimmermann  <zimmermann@kde.org>
2516
2517         Reviewed and landed by Anders.
2518
2519         Make DRT work again on Qt/Linux.
2520
2521         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2522         (WebCore::DumpRenderTree::DumpRenderTree):
2523
2524 2006-11-10  Zack Rusin  <zack@kde.org>
2525
2526         Reviewed and landed by Anders.
2527
2528         Adjusting to the recent loader changes, making it compile
2529         and work.
2530
2531         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2532         (WebCore::DumpRenderTree::DumpRenderTree):
2533         (WebCore::DumpRenderTree::checkLoaded):
2534         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2535
2536 2006-11-10  Zack Rusin  <zack@kde.org>
2537
2538         Reviewed by Anders.
2539
2540         Making the Qt code work after refactorings in WebCore.
2541
2542         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2543         (WebCore::DumpRenderTree::DumpRenderTree):
2544         (WebCore::DumpRenderTree::checkLoaded):
2545         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2546
2547 2006-11-08  Darin Adler  <darin@apple.com>
2548
2549         Reviewed by Anders.
2550
2551         - same change as below, only tested this time
2552
2553         * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
2554         mode off. I think we need to do this because WebPreferences saves things
2555         for us automatically. It would be good to turn that off for DumpRenderTree,
2556         but for now lets handle this like the other preferences (set it explicitly
2557         each time).
2558
2559 2006-11-08  Darin Adler  <darin@apple.com>
2560
2561         Reviewed by Anders.
2562
2563         * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
2564         "tab to links" mode. No current tests depend on this, and there's a new
2565         test I want to land that depends on the default setting.
2566
2567 2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
2568
2569         Reviewed by Maciej.
2570
2571         Linux\gdk build fixes.
2572
2573         * GdkLauncher/main.cpp:
2574         (LauncherFrameGdk::LauncherFrameGdk):
2575         (main):
2576
2577 2006-11-06  Alexey Proskuryakov  <ap@nypop.com>
2578
2579         Build fix, approved in principle by Tim H.
2580
2581         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2582         Disable deprecated warnings for main.c (TestNetscapePlugin),
2583         as it now uses QuickDraw to convert mouse event coordinates.
2584
2585 2006-11-05  Timothy Hatcher  <timothy@apple.com>
2586
2587         Reviewed by Maciej.
2588
2589         Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
2590         http://bugs.webkit.org/show_bug.cgi?id=11525
2591
2592         * Drosera/debugger.js: imporved the function name code
2593
2594 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
2595
2596         Reviewed by Maciej.
2597
2598         Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
2599         being attributed to the next test.
2600
2601         * DumpRenderTree/EditingDelegate.m:
2602         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2603         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2604         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2605         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2606         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2607         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2608         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2609         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2610         (-[EditingDelegate webViewDidBeginEditing:]):
2611         (-[EditingDelegate webViewDidChange:]):
2612         (-[EditingDelegate webViewDidEndEditing:]):
2613         (-[EditingDelegate webViewDidChangeTypingStyle:]):
2614         (-[EditingDelegate webViewDidChangeSelection:]):
2615         * DumpRenderTree/UIDelegate.m:
2616         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
2617
2618 2006-11-06  Mark Rowe  <bdash@webkit.org>
2619
2620         Reviewed by Alexey.
2621
2622         Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
2623
2624         * Scripts/run-webkit-tests: import the POSIX module.
2625
2626 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
2627
2628         Reviewed by Maciej.
2629
2630         Test for http://bugs.webkit.org/show_bug.cgi?id=11517
2631         REGRESSION: Flash clicks/interactivity not working properly
2632
2633         Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
2634
2635         <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
2636         <script>
2637             plg.eventLoggingEnabled = true;
2638             // use eventSender to simulate events...
2639         </script>
2640
2641         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2642         (pluginGetProperty):
2643         (pluginSetProperty):
2644         (pluginAllocate):
2645         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2646         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2647         (NPP_HandleEvent):
2648
2649 2006-11-04  David Smith  <catfish.man@gmail.com>
2650
2651         Reviewed by Tim H.
2652
2653         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
2654         Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
2655
2656         * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
2657
2658 2006-11-04  David Smith  <catfish.man@gmail.com>
2659
2660         Reviewed by Tim H.
2661
2662         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
2663         Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
2664
2665         * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
2666
2667 2006-11-04  David Smith  <catfish.man@gmail.com>
2668
2669         Reviewed by Tim H.
2670
2671         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
2672         Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
2673
2674         * Drosera/debugger.js: blur() the function popup when we're done with it.
2675
2676 2006-11-04  Mark Rowe  <bdash@webkit.org>
2677
2678         Reviewed by Darin.
2679
2680         Fix use of uninitialized value in pattern match.
2681
2682         * Scripts/webkitdirs.pm:
2683
2684 2006-11-04  Darin Adler  <darin@apple.com>
2685
2686         Reviewed by Tim Hatcher.
2687
2688         * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
2689
2690 2006-11-03  David Smith  <catfish.man@gmail.com>
2691
2692         Reviewed by Tim H.
2693
2694         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
2695         Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
2696
2697         * Drosera/DebuggerApplication.m:
2698         (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
2699
2700 2006-11-03  Vladimir Olexa  <vladimir.olexa@gmail.com>
2701
2702         Reviewed by Tim H.
2703
2704         Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
2705         Bug 9596: [Drosera] add a function popup to the source pane
2706
2707         * Drosera/debugger.css: Added styles for function popup
2708         * Drosera/debugger.html: Added function popup button and select
2709         * Drosera/debugger.js: Added function popup functionality
2710
2711 2006-11-03  Michael Emmel  <mike.emmel@gmail.com>
2712
2713         Reviewed by Maciej.
2714         
2715         http://bugs.webkit.org/show_bug.cgi?id=9671
2716
2717         * Scripts/wkstyle:
2718         Adds astyle sed script formats according to most of the style guidelines. 
2719
2720 2006-11-03  Alexey Proskuryakov  <ap@nypop.com>
2721
2722         Reviewed by Adele.
2723
2724         http://bugs.webkit.org/show_bug.cgi?id=7323
2725         REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
2726
2727         When dragging, do not send EventSendingController's events immediately. Dragging 
2728         is supposed to be modal, so we need to perform it from within the delegate, without
2729         returning to JS to make the next mouse movement.
2730
2731         When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
2732
2733         * DumpRenderTree/EventSendingController.h:
2734         * DumpRenderTree/EventSendingController.m:
2735         (-[EventSendingController dealloc]):
2736         (-[EventSendingController leapForward:]):
2737         (-[EventSendingController mouseDown]):
2738         (-[EventSendingController mouseUp]):
2739         (-[EventSendingController mouseMoveToX:Y:]):
2740         (+[EventSendingController saveEvent:]):
2741         (+[EventSendingController replaySavedEvents]):
2742         * DumpRenderTree/UIDelegate.m:
2743         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2744
2745 2006-11-02  Geoffrey Garen  <ggaren@apple.com>
2746
2747         Reviewed by Justin Garcia.
2748         
2749         Made dumping of editing callbacks opt-in, so that editing spew doesn't 
2750         cloud non-editing tests.
2751
2752         * DumpRenderTree/DumpRenderTree.m:
2753         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2754         (-[LayoutTestController shouldDumpEditingCallbacks]):
2755         (runTest):
2756         * DumpRenderTree/EditingDelegate.m:
2757         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2758         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2759         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2760         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2761         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2762         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2763         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2764         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2765         (-[EditingDelegate webViewDidBeginEditing:]):
2766         (-[EditingDelegate webViewDidChange:]):
2767         (-[EditingDelegate webViewDidEndEditing:]):
2768         (-[EditingDelegate webViewDidChangeTypingStyle:]):
2769         (-[EditingDelegate webViewDidChangeSelection:]):
2770
2771 2006-11-02  Alexey Proskuryakov  <ap@nypop.com>
2772
2773         Reviewed by Maciej, landed by Anders.
2774
2775         - http://bugs.webkit.org/show_bug.cgi?id=7802
2776           devenv.com not available in VC++ Express installations
2777
2778         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2779         * Scripts/install-win-extras: Make setx.exe actually run.
2780
2781 2006-11-01  Stephanie Lewis  <slewis@apple.com>
2782
2783         Reviewed by Kevin.
2784         
2785         Fixed bug where additional arguments got fed to xcode and jsdriver.pl
2786         Since testkjs is being built before the tests are run, we don't need 
2787         to build it with webkit.
2788         
2789         Fixes bugs
2790         http://bugs.webkit.org/show_bug.cgi?id=11462
2791         http://bugs.webkit.org/show_bug.cgi?id=6168
2792
2793         * Scripts/build-webkit:
2794         * Scripts/run-javascriptcore-tests:
2795
2796 2006-11-01  Brady Eidson  <beidson@apple.com>
2797
2798         Reviewed by Tim Hatcher
2799
2800         Added accessor to get the source directory for use in client scripts
2801
2802         * Scripts/webkitdirs.pm:
2803
2804 2006-11-01  Mark Rowe  <bdash@webkit.org>
2805
2806         Reviewed by Mitz.
2807
2808         Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
2809
2810         * Spinneret/Spinneret/Spinneret.cpp:
2811         (_tWinMain):
2812         * WebKitLauncher/WebKitNightlyEnabler.m:
2813         (cleanUpAfterOurselves):
2814
2815 2006-10-31  Mark Rowe  <bdash@webkit.org>
2816
2817         Reviewed by Stephanie.
2818
2819         Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
2820
2821         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
2822         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
2823
2824 2006-10-31  Darin Adler  <darin@apple.com>
2825
2826         * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
2827         pasteboard, allocate any number of local pasteboards.
2828         (main): Allocate the dictionary of pasteboards.
2829         (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
2830         given a name.
2831         (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
2832         explicitly elsewhere.
2833         (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
2834         to the selector rather than calling unconditionally.
2835
2836 2006-10-30  Darin Adler  <darin@apple.com>
2837
2838         - fixed build
2839
2840         * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
2841         Don't use CFPasteboard.
2842
2843 2006-10-30  Vladimir Olexa  <vladimir.olexa@gmail.com>
2844
2845         Reviewed by Tim H.
2846
2847         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
2848
2849         * Drosera/debugger.js: ParsedURL() object now recognizes local files
2850
2851 2006-10-30  Darin Adler  <darin@apple.com>
2852
2853         Reviewed by Tim Hatcher.
2854
2855         * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
2856         This should make our buildbot tests no longer need a pasteboard server.
2857
2858 2006-10-30  Geoffrey Garen  <ggaren@apple.com>
2859
2860         Reviewed by Beth.
2861         
2862         Reorganized project file into Delegates and Controllers groups, and split 
2863         UIDelegate stuff into a UIDelegate class.
2864         
2865         A little birdy told me that I might end up adding some UIDelegate methods
2866         to DRT soon.
2867
2868         * DumpRenderTree/DumpRenderTree.m:
2869         (main):
2870         (runTest):
2871         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2872
2873 2006-10-31  Nikolas Zimmermann  <zimmermann@kde.org>
2874
2875         Reviewed by Oliver.
2876
2877         Add new platform/graphics include directory.
2878
2879         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
2880
2881 2006-10-30  Timothy Hatcher  <timothy@apple.com>
2882
2883         Reviewed by Stephanie.
2884
2885         Add a special case for the Internal makefiles, so it can find the OepnSource.
2886
2887         * Scripts/webkitdirs.pm:
2888
2889 2006-10-30  Stephanie Lewis  <slewis@apple.com>
2890
2891         Reviewed by Darin.
2892         
2893         Change Makefiles to return non-zero when module make fails.
2894         Fix bug where if xcode options are not set, modules can build in the
2895         wrong directory.
2896
2897         * Makefile:
2898         * Scripts/webkitdirs.pm:
2899
2900 2006-10-30  Matt Lilek  <pewtermoose@gmail.com>
2901
2902         Reviewed by Tim H.
2903
2904         Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
2905         [Drosera] The Console toolbar button should bring the console window to the front.
2906
2907         The console now gets focus when its activated but already open.  Command + L also
2908         now activates/focuses the console.
2909
2910         * Drosera/English.lproj/MainMenu.nib/classes.nib:
2911         * Drosera/English.lproj/MainMenu.nib/info.nib:
2912         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
2913         * Drosera/debugger.js:
2914
2915 2006-10-29  Darin Adler  <darin@apple.com>
2916
2917         * Scripts/do-file-rename: Renames done, ready for the next round.
2918         * Scripts/do-webcore-rename: Ditto.
2919
2920 2006-10-29  Darin Adler  <darin@apple.com>
2921
2922         * Scripts/do-file-rename: And again.
2923
2924 2006-10-29  Darin Adler  <darin@apple.com>
2925
2926         * Scripts/do-webcore-rename: Tweaked plans for renaming again.
2927
2928 2006-10-29  Darin Adler  <darin@apple.com>
2929
2930         Reviewed by Mitz.
2931
2932         * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
2933         Added. Does nothing, which prevents a beep.
2934
2935         * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
2936
2937 2006-10-27  Brady Eidson  <beidson@apple.com>
2938
2939         Rubber stamped by Tim Hatcher
2940
2941         Added "make universal" to build universal binaries
2942
2943         * Makefile:
2944         * Makefile.shared:
2945
2946 2006-10-26  Sam Weinig  <sam.weinig@gmail.com>
2947
2948         Reviewed by Geoff.
2949
2950         Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
2951         REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
2952         ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
2953
2954         * DumpRenderTree/EventSendingController.m:
2955         (-[EventSendingController mouseMoveToX:Y:]):
2956
2957 2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
2958
2959         Reviewed by Darin.
2960
2961         Fix Qt/Linux build.
2962
2963         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2964         (WebCore::DumpRenderTree::open):
2965
2966 2006-10-24  Stephanie Lewis  <slewis@apple.com>
2967
2968         Reviewed by Maciej.
2969
2970         - Changed run-javascriptcore tests to build testkjs before running.
2971
2972         * Scripts/run-javascriptcore-tests:
2973
2974 2006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
2975
2976         Reviewed by Maciej.
2977
2978         Fix Qt/Linux build.
2979
2980         - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
2981         - Fix CMakeLists.txt to include platform/network.
2982
2983         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
2984
2985 2006-10-24  David Smith  <catfish.man@gmail.com>
2986
2987         Reviewed by Tim H.
2988
2989         Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
2990         http://bugs.webkit.org/show_bug.cgi?id=11382
2991
2992         * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
2993
2994 2006-10-21  Darin Adler  <darin@apple.com>
2995
2996         * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
2997         This was still using "symroots" so it almost never worked!
2998
2999 2006-10-21  Darin Adler  <darin@apple.com>
3000
3001         * Makefile: Build DumpRenderTree too.
3002         * Scripts/do-webcore-rename: Removed bogus comment.
3003
3004 2006-10-20  David Smith  <catfish.man@gmail.com>
3005
3006         Reviewed by Tim H.
3007
3008         Bug 11367: Inline Breakpoint Editor Improvements: Act III
3009         http://bugs.webkit.org/show_bug.cgi?id=11367
3010
3011         Major breakpoint editor changes:
3012         * Breakpoints can now either pause or log to console
3013         * Code cleanup through use of XPath and converting breakpoints to objects
3014         * Breakpoints now track how many times they've been reached
3015         * UI tweaks
3016         * The breakpoint editor now saves changes as they're entered
3017         * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
3018         * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
3019
3020         * Drosera/DebuggerDocument.m:
3021         (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
3022         * Drosera/Drosera.xcodeproj/project.pbxproj:
3023         * Drosera/Images/close.tif: Added.
3024         * Drosera/Images/close_active.tif: Added.
3025         * Drosera/Images/close_hover.tif: Added.
3026         * Drosera/breakpointEditor.html: Added.
3027         * Drosera/console.js: Added a way to append messages from outside the console window.
3028         * Drosera/debugger.js:
3029         * Drosera/viewer.css:
3030         * Drosera/viewer.html:
3031
3032 2006-10-18  David Smith  <catfish.man@gmail.com>
3033
3034         Reviewed by Tim H.
3035
3036         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.
3037
3038         * Drosera/DebuggerDocument.m:
3039         (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
3040         * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
3041         * Drosera/debugger.js:
3042
3043 2006-10-18  Timothy Hatcher  <timothy@apple.com>
3044
3045         Reviewed by Anders.
3046
3047         Bug 10851: Crash with Drosera
3048         http://bugs.webkit.org/show_bug.cgi?id=10851
3049
3050         This crash results in an assert in debug builds.
3051
3052         assert(implementsCall());
3053
3054         The __drosera_introspection propery was not callable. Now we just assign
3055         this.__drosera_introspection in the evaluateWebScript call.
3056         This change also removes one DO message.
3057
3058         * Drosera/DebuggerDocument.m:
3059         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
3060
3061 2006-10-18  Mark Rowe  <bdash@webkit.org>
3062
3063         Reviewed by Tim H.
3064
3065         http://bugs.webkit.org/show_bug.cgi?id=11304
3066         Bug 11304: Drosera fails to link as universal binary on PowerPC machine
3067
3068         * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
3069         when they are not part of the WebKit umbrella framework.
3070
3071 2006-10-18  Adam Roben  <aroben@apple.com>
3072
3073         fixo el buildo II: Release's Pride.
3074
3075         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3076
3077 2006-10-18  Geoffrey Garen  <ggaren@apple.com>
3078
3079         fixo el buildo.
3080         
3081         Work around #import of <PDFKit/PDFView.h>.
3082
3083         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3084
3085 2006-10-18  David Smith  <catfish.man@gmail.com>
3086
3087         Reviewed by Tim H.
3088
3089         Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
3090
3091         * Drosera/Drosera.xcodeproj/project.pbxproj:
3092         * Drosera/Images/breakpointeditor.png: Added.
3093         * Drosera/breakpointEditor.css: Removed.
3094         * Drosera/breakpointEditor.html: Removed.
3095         * Drosera/breakpointEditor.js: Removed.
3096         * Drosera/debugger.js:
3097         * Drosera/viewer.css:
3098
3099 2006-10-18  David Harrison  <harrison@apple.com>
3100
3101         Reviewed by Tim H.
3102
3103         Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
3104         http://bugs.webkit.org/show_bug.cgi?id=11341
3105
3106         Link editing behavior became a preference. DumpRenderTree needs to specify the
3107         non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
3108
3109         * DumpRenderTree/DumpRenderTree.m:
3110         (main):
3111
3112 2006-10-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3113
3114         Reviewed by Anders.
3115
3116         Make compiler not complain about unused gk. SpinneretWebHost was not setting
3117         initial refcount upon creation, so it is completely bogus.
3118
3119         * GdkLauncher/main.cpp:
3120         (main):
3121         * Spinneret/Spinneret/Spinneret.h:
3122         (SpinneretWebHost::SpinneretWebHost):
3123
3124 2006-10-15  Nikolas Zimmermann  <zimmermann@kde.org>
3125
3126         Reviewed by Oliver.
3127
3128         Add another hanging test, to the "to be skipped" list.
3129
3130         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
3131
3132 2006-10-14  Nikolas Zimmermann  <zimmermann@kde.org>
3133
3134         Reviewed by Anders.
3135
3136         Some fixes to get the Qt BuildSlave to run the LayoutTests.
3137
3138         * Scripts/build-dumprendertree: No need to call cmake again.
3139         * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
3140
3141 2006-10-13  Nikolas Zimmermann  <zimmermann@kde.org>
3142
3143         Reviewed by Eric.
3144
3145         Force --no-http on Qt/Linux.
3146
3147         * Scripts/run-webkit-tests:
3148
3149 2006-10-13  Kevin McCullough  <KMcCullough@apple.com>
3150
3151         Reviewed by Adam.
3152
3153         Gets JavaScripCore tests running on windows.
3154
3155         * Scripts/run-javascriptcore-tests:
3156         * Scripts/webkitdirs.pm:
3157
3158 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
3159
3160         Reviewed by Maciej.
3161
3162         Exclude some tests which crash or hang from Qt/Linux DRT.
3163         These are known to fail, and will be fixed at some point :-)
3164
3165         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3166         (WebCore::DumpRenderTree::DumpRenderTree):
3167         (WebCore::DumpRenderTree::open):
3168         (WebCore::DumpRenderTree::readStdin):
3169         (WebCore::DumpRenderTree::readSkipFile):
3170         (WebCore::DumpRenderTree::checkLoaded):
3171         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3172         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
3173
3174 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
3175
3176         Reviewed by Maciej.
3177
3178         Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
3179
3180         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
3181         (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
3182         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
3183
3184 2006-10-12  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3185
3186         Reviewed by Maciej.
3187
3188         Also regenerate GdkLauncher makefiles, since not doing that might
3189         lead to mismatch between WebCore and GdkLauncher compiler settings.
3190
3191         * Scripts/regenerate-makefiles:
3192
3193 2006-10-10  David Smith  <catfish.man@gmail.com>
3194
3195         Reviewed by Tim H.
3196
3197         Bug 11246: Minor Drosera code cleanup
3198         http://bugs.webkit.org/show_bug.cgi?id=11246
3199
3200         * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
3201
3202 2006-10-10  Vladimir Olexa  <vladimir.olexa@gmail.com>
3203
3204         Reviewed by Tim H.
3205
3206         Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778 
3207
3208         * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
3209         * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
3210         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
3211         * Drosera/Images/SourceArrowOpen.png: Added.
3212         * Drosera/Images/fileIcon.jpg: Added.
3213         * Drosera/Images/siteCollapsed.tif: Added.
3214         * Drosera/Images/siteExpanded.tif: Added.
3215         * Drosera/Images/siteIcon.tif: Added.
3216         * Drosera/debugger.css: Added File Browser styles
3217         * Drosera/debugger.html: Added File Browser UI
3218         * Drosera/debugger.js: Added File Browser functionality
3219
3220 2006-10-10  Darin Adler  <darin@apple.com>
3221
3222         * Scripts/do-file-rename: Added.
3223
3224 2006-10-09  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3225
3226         Reviewed by Geoff.
3227
3228         Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
3229         a page. This allows automatic testing via e.g. valgrind.
3230
3231         * GdkLauncher/gdklauncher.bkl:
3232         * GdkLauncher/main.cpp:
3233         (LauncherFrameGdk::LauncherFrameGdk):
3234         (LauncherFrameGdk::setExitAfterLoading):
3235         (LauncherFrameGdk::handledOnloadEvents):
3236         (handle_event):
3237         (main):
3238
3239 2006-10-06  David Smith  <catfish.man@gmail.com>
3240
3241         Reviewed by Timothy.
3242
3243         Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
3244
3245         * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
3246         * Drosera/breakpointEditor.css: Added.
3247         * Drosera/breakpointEditor.html: Added.
3248         * Drosera/breakpointEditor.js: Added.
3249         * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
3250
3251 2006-10-06  Nikolas Zimmermann  <zimmermann@kde.org>
3252
3253         Reviewed by Tim H.
3254
3255         Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
3256
3257         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3258         (WebCore::DumpRenderTree::DumpRenderTree):
3259
3260 2006-10-05  Oliver Hunt  <ohunt@apple.com>
3261
3262         Reviewed by Anders.
3263
3264         * Scripts/run-webkit-tests:
3265         Fix pixel tests.
3266
3267 2006-10-04  Anders Carlsson  <acarlsson@apple.com>
3268
3269         Reviewed by Darin.
3270
3271         * Scripts/run-webkit-tests:
3272         Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test 
3273         results should be.
3274
3275 2006-10-05  Nikolas Zimmermann  <zimmermann@kde.org>
3276
3277         Reviewed and landed by ap.
3278
3279         Cmake: make it possible to install the libraries after having built using 'build-webkit'.
3280         Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
3281
3282         * Scripts/webkitdirs.pm:
3283
3284 2006-10-04  Mark Rowe  <bdash@webkit.org>
3285
3286         Reviewed by Stephanie.
3287
3288         Switch the Qt buildbot to the standard set of build steps.
3289         Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
3290         see if any regressions were spotted, and fail the test if so.
3291
3292         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: 
3293         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
3294         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
3295
3296 2006-10-04  Timothy Hatcher  <timothy@apple.com>
3297
3298         Reviewed by Mitz Pettel!
3299
3300         Bug 10708: [Drosera] Make the console input plaintext-only
3301         http://bugs.webkit.org/show_bug.cgi?id=10708
3302
3303         Change the console input -webkit-user-modify property to
3304         read-write-plaintext-only.
3305
3306         * Drosera/console.css:
3307
3308 2006-10-04  David Smith  <catfish.man@gmail.com>
3309
3310         Reviewed by Tim H.
3311
3312         Bug 10473: [Drosera] Overlapping text in JavaScript Console
3313         http://bugs.webkit.org/show_bug.cgi?id=10473
3314
3315         Using min-height instead of height to avoid overlapping text.
3316
3317         * Drosera/console.css:
3318
3319 2006-10-04  David Smith  <catfish.man@gmail.com>
3320
3321         Reviewed by Tim H.
3322
3323         Added a bash-style command history.
3324
3325         * Drosera/console.js:
3326
3327 2006-10-03  Anders Carlsson  <acarlsson@apple.com>
3328
3329         Reviewed by Adam and Brady.
3330
3331         * DumpRenderTree/DumpRenderTree.m:
3332         (main):
3333         Update URL to Ahem.ttf
3334
3335 2006-10-03  Darin Adler  <darin@apple.com>
3336
3337         * Scripts/commit-log-editor: Added missing "close" call. Oops!
3338
3339 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
3340
3341         Reviewed by eseidel.  Landed by eseidel.
3342
3343         Offer a way for BuildBot to not colorize the cmake output, when building
3344         with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
3345
3346         Default is colorize output, though only Qt platform handles this for now.
3347
3348         * Scripts/build-dumprendertree:
3349         * Scripts/build-webkit:
3350         * Scripts/webkitdirs.pm:
3351
3352 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
3353
3354         Reviewed by eseidel.  Landed by eseidel.
3355
3356         Make all important scripts work with Qt/Linux.
3357
3358         You can safely use this now:
3359         set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
3360
3361         * Scripts/build-dumprendertree:
3362         * Scripts/run-javascriptcore-tests:
3363         * Scripts/run-webkit-tests:
3364         * Scripts/webkitdirs.pm:
3365
3366 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
3367
3368         Reviewed by Eric.
3369
3370         build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
3371
3372         * Scripts/webkitdirs.pm:
3373
3374 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
3375
3376         Reviewed/landed by Adam.
3377
3378         Proper build-webkit support for Qt/Linux.
3379
3380         Compilation process is similar to OSX now, aka.
3381         the build directory is RootCheckoutDir/WebKitBuild now.
3382
3383         * Scripts/build-webkit: Recognize Qt.
3384         * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
3385
3386 2006-10-01  Mark Rowe  <opendarwin.org@bdash.net.nz>
3387
3388         Reviewed by Maciej.
3389
3390         Add QT build slave to Buildbot.
3391
3392         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
3393         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
3394         * 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.
3395         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
3396
3397 2006-09-28  David Harrison  <harrison@apple.com>
3398
3399         Suggested by Darin.
3400         
3401         Moved an extern declaration from inside a method to the top of the file.
3402
3403         * DumpRenderTree/EventSendingController.m:
3404         (-[EventSendingController clearKillRing]):
3405
3406 2006-09-28  David Harrison  <harrison@apple.com>
3407
3408         Reviewed by Justin.
3409         
3410         Add clearKillRing so we can test emacs support with empty kill ring.
3411
3412         * DumpRenderTree/EventSendingController.m:
3413         (+[EventSendingController isSelectorExcludedFromWebScript:]):
3414         (+[EventSendingController webScriptNameForSelector:]):
3415         (-[EventSendingController clearKillRing]):
3416
3417 2006-09-27  MorganL  <morganl.webkit@yahoo.com>
3418
3419         Reviewed by Maciej, landed by Brady
3420
3421         Fix URL bar updating.
3422
3423         * Spinneret/Spinneret/Spinneret.h:
3424         (SpinneretWebHost::didStartProvisionalLoadForFrame):
3425         (SpinneretWebHost::didCommitLoadForFrame):
3426         (SpinneretWebHost::didFinishLoadForFrame):
3427
3428 2006-09-23  Sam Weinig  <sam.weinig@gmail.com>
3429
3430         Reviewed by Eric.
3431
3432         Build Fix.
3433
3434         * DumpRenderTree/EventSendingController.m:
3435         (-[EventSendingController enableDOMUIEventLogging:]):
3436
3437 2006-09-22  Justin Garcia  <justin.garcia@apple.com>
3438
3439         Reviewed by darin
3440
3441         * Scripts/do-webcore-rename:
3442
3443 2006-09-21  Timothy Hatcher  <timothy@apple.com>
3444
3445         Reviewed by Adam.
3446
3447         Bug 10923: Frame scroll layout test failures on the buildbot
3448         http://bugs.webkit.org/show_bug.cgi?id=10923
3449         
3450         Added a new method that will toggle on the recursive dump of
3451         child frame scroll positions.
3452  
3453         * DumpRenderTree/DumpRenderTree.m:
3454         (dumpFrameScrollPosition):
3455         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3456         (-[LayoutTestController dumpChildFrameScrollPositions]):
3457
3458 2006-09-19  Krzysztof Kowalczyk <kkowalczyk@gmail.com>
3459
3460         Reviewed by eseidel.  Landed by eseidel.
3461         
3462         Detect that close button was pressed and exit cleanly.
3463
3464         * GdkLauncher/main.cpp:
3465         (handle_event):
3466         (main):
3467
3468 2006-09-17  Adam Roben  <aroben@apple.com>
3469
3470         Reviewed by hyatt, sfalken.
3471
3472         Get DumpRenderTree compiling and limping along on Windows.
3473
3474         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3475         (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
3476         (main): Add NULL argument to Page constructor.
3477         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
3478         * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
3479
3480 2006-09-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
3481
3482         Reviewed by Brady.
3483
3484         http://bugs.webkit.org/show_bug.cgi?id=10635
3485         Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
3486
3487         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
3488         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
3489         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot.  Always do clean SVG builds.
3490
3491 2006-09-09  Sam Weinig  <sam.weinig@gmail.com>
3492
3493         Reviewed by Eric.
3494
3495         Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
3496         Even More Objective-C DOM auto-generation cleanup
3497
3498         - Change to use new, more Objectice-C'ish version of
3499           DOMKeyboardEvent's initKeyboardEvent.  Fixes an error with
3500           regression test for fast/events/dblclick-addEventListener.html.
3501
3502         * DumpRenderTree/EventSendingController.m:
3503         (-[EventSendingController fireKeyboardEventsToElement:]):
3504
3505 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
3506
3507         Reviewed by Tim H.
3508
3509         Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
3510         Move QtLauncher down to WebKitQt.
3511
3512         * QtLauncher/CMakeLists.txt: Removed.
3513         * QtLauncher/main.cpp: Removed.
3514
3515 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
3516
3517         Reviewed by Darin.
3518
3519         Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
3520         Adjust DumpRenderTree to the FrameQtClient changes.
3521
3522         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
3523         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3524         (WebCore::DumpRenderTree::DumpRenderTree):
3525         (WebCore::DumpRenderTree::~DumpRenderTree):
3526         (WebCore::DumpRenderTree::frame):
3527         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3528         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
3529         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
3530         (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
3531         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
3532
3533 2006-09-03  Darin Adler  <darin@apple.com>
3534
3535         * Scripts/do-webcore-rename: More renaming plans.
3536
3537 2006-09-03  Alexey Proskuryakov  <ap@nypop.com>
3538
3539         Reviewed by Tim H.
3540
3541         http://bugs.webkit.org/show_bug.cgi?id=10693
3542         Convert JavaScript arrays to AppleScript lists
3543
3544         * DumpRenderTree/AppleScriptController.m:
3545         (convertAEDescToObject):
3546         (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
3547
3548 2006-08-31  Darin Adler  <darin@apple.com>
3549
3550         * Scripts/do-webcore-rename: Prepare for another round of renaming.
3551
3552 2006-08-29  Dan Waylonis  <waylonis@google.com>
3553
3554         Reviewed by ggaren.
3555
3556         - Verification of exceptions thrown in a plugin.  Test for bug 10114.
3557         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3558         * DumpRenderTree/ObjCPlugin.m:
3559         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
3560         (+[ObjCPlugin webScriptNameForSelector:]):
3561         (-[ObjCPlugin throwIfArgumentIsNotHello:]):
3562
3563 2006-08-30  Nikolas Zimmermann  <zimmermann@kde.org>
3564
3565         Reviewed by Tim H.
3566
3567         Commit KDE related tweaks, to be able to
3568         differentiate between a Qt-only or a KDE build.
3569
3570         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
3571         * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
3572
3573 2006-08-29  Darin Adler  <darin@apple.com>
3574
3575         Reviewed by Tim Hatcher.
3576
3577         * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
3578         to work around what seems to be a bug in some versions of gdb.
3579
3580 2006-08-16  Tim Omernick  <timo@apple.com>
3581
3582         Reviewed by John Sullivan.
3583
3584         Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
3585         <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
3586         in Firefox
3587
3588         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3589         (NPP_GetValue):
3590         WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox.  NPObject return values
3591         are expected to be retained by the plug-in, and released by the caller.
3592
3593 2006-08-28  Nikolas Zimmermann  <zimmermann@kde.org>
3594
3595         Reviewed by Tim Hatcher.
3596         
3597         Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
3598
3599         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3600         (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
3601         Qt's DumpRenderTree.
3602
3603       * Scripts/run-webkit-tests:
3604         Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
3605
3606 2006-08-28  Darin Adler  <darin@apple.com>
3607
3608         Reviewed by Tim Hatcher.
3609
3610         * Scripts/build-drosera: Fix behavior when there are multiple options.
3611
3612 2006-08-27  Timothy Hatcher  <timothy@apple.com>
3613
3614         Reviewed by Anders.
3615
3616         Drosera will be built when you type make.
3617
3618         * Drosera/Makefile: Added.
3619         * Makefile: Added.
3620         * Makefile.shared: Added.
3621
3622 2006-08-27  Anders Carlsson  <acarlsson@apple.com>
3623
3624         Forgot to add these.
3625         
3626         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
3627         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
3628         (WebCore::DumpRenderTree::DumpRenderTree):
3629         (WebCore::DumpRenderTree::~DumpRenderTree):
3630         (WebCore::DumpRenderTree::open):
3631         (WebCore::DumpRenderTree::readStdin):
3632         (WebCore::DumpRenderTree::checkLoaded):
3633         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
3634         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
3635         (main):
3636
3637 2006-08-27  Nikolas Zimmermann  <zimmermann@kde.org>