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