88a679a00f2d8237a3112eced5996ca1e69d7038
[WebKit-https.git] / WebKitTools / ChangeLog
1 2008-07-02  Jon Honeycutt  <jhoneycutt@apple.com>
2
3         Allow tests to define JavaScript to execute when NPP_DestroyStream or
4         NPP_URLNotify is called.
5
6         Reviewed by Anders.
7
8         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
9         property, "returnErrorFromNewStream." This is to support the test for
10         <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
11         caused by WebKit calling NPP_DestroyStream after a plug-in returns an
12         error from NPP_NewStream.
13         (pluginGetProperty): 
14         (pluginSetProperty):
15         (pluginAllocate):
16         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
17         members, onStreamDestroy and onURLNotify.
18         * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
19         (NPP_New): Remove initialization of onStreamLoad; this was moved to
20         pluginAllocate. Look for new arguments onStreamDestroy and
21         onURLNotify, and store their values.
22         (NPP_Destroy): Free new members.
23         (executeScript): Code moved from onStreamLoad
24         (NPP_NewStream): If returnErrorFromNewStream has been set to true,
25         return a generic error code. If onStreamLoad is set, execute it as
26         JavaScript.
27         (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
28         (NPP_URLNotify): Same, for onURLNotify.
29
30 2008-07-02  Brady Eidson  <beidson@apple.com>
31
32         Reviewed by Mitz Pettel and John Sullivan
33
34         Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
35         load delegate.
36
37         Required to add a layout test for the fix for <rdar://problem/5549871>
38
39         * DumpRenderTree/mac/FrameLoadDelegate.mm:
40         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
41           [WebFrame stopLoading] to test for the crash reflected in 5549871
42
43         All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
44         * DumpRenderTree/LayoutTestController.cpp:
45         (LayoutTestController::LayoutTestController):
46         (setStopProvisionalFrameLoadsCallback):
47         (LayoutTestController::staticFunctions):
48         * DumpRenderTree/LayoutTestController.h:
49         (LayoutTestController::stopProvisionalFrameLoads):
50         (LayoutTestController::setStopProvisionalFrameLoads):
51
52 2008-07-01  chris fleizach  <cfleizach@apple.com>
53
54         Reviewed by Beth Dakin
55
56         Support ability to get width and height of an element through accessibility
57
58         * DumpRenderTree/AccessibilityController.cpp:
59         (widthOfFocusedElementCallback):
60         (heightOfFocusedElementCallback):
61         (AccessibilityController::staticFunctions):
62         * DumpRenderTree/AccessibilityController.h:
63         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
64         (AccessibilityController::widthOfFocusedElement):
65         (AccessibilityController::heightOfFocusedElement):
66
67 2008-06-30  chris fleizach  <cfleizach@apple.com>
68
69         Reviewed by Beth Dakin
70
71         Support the ability to get the linked ui elements of an object
72
73         * DumpRenderTree/AccessibilityController.cpp:
74         (attributesOfLinkedUIElementsForFocusedElementCallback):
75         (AccessibilityController::staticFunctions):
76         * DumpRenderTree/AccessibilityController.h:
77         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
78         (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
79         (AccessibilityController::allAttributesOfFocusedElement):
80         (attributesOfElement):
81         (nsStringToJSStringRef):
82
83 2008-06-29  Sam Weinig  <sam@webkit.org>
84
85         Fix Tiger build.
86
87         * DumpRenderTree/mac/EventSendingController.mm:
88         (eventTypeForMouseButtonAndAction):
89
90 2008-06-27  Eric Seidel  <eric@webkit.org>
91
92         Reviewed by darin.
93
94         Add multi-button mouseevent support to DRT
95         https://bugs.webkit.org/show_bug.cgi?id=15173
96         
97         It's now possible to specify the mouse button with:
98         eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
99
100         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
101         * DumpRenderTree/mac/EventSendingController.h:
102         * DumpRenderTree/mac/EventSendingController.mm:
103         (+[EventSendingController isSelectorExcludedFromWebScript:]):
104         (+[EventSendingController webScriptNameForSelector:]):
105         (eventTypeForMouseButtonAndAction):
106         (-[EventSendingController updateClickCountForButton:]):
107         (-[EventSendingController mouseDown:]):
108         (-[EventSendingController mouseUp:]):
109         (-[EventSendingController mouseMoveToX:Y:]):
110         (-[EventSendingController contextClick]):
111
112 2008-06-28  Nikolas Zimmermann  <zimmermann@kde.org>
113
114         Reviewed by Oliver.
115
116         Copy <test>-expected.png from the right location to /tmp/layout-test-results.
117         Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
118
119         * Scripts/run-webkit-tests:
120
121 2008-06-27  Jan Michael Alonzo  <jmalonzo@webkit.org>
122
123         Reviewed by Christian Dywan.
124
125         [Gtk] Initialize webview settings before running DRT tests
126         http://bugs.webkit.org/show_bug.cgi?id=19778
127
128         * DumpRenderTree/gtk/DumpRenderTree.cpp:
129         (setDefaultsToConsistentStateValuesForTesting):
130         (main):
131
132 2008-06-26  Darin Adler  <darin@apple.com>
133
134         * Scripts/check-for-weak-vtables: Fixed comment.
135
136 2008-06-26  Darin Adler  <darin@apple.com>
137
138         * Scripts/check-for-weak-vtables: Added.
139
140 2008-06-26  Beth Dakin  <bdakin@apple.com>
141
142         Reviewed by Sam.
143
144         Do not include AXPosition in the dump of all of the accessibility 
145         attributes since it is screen-specific.
146
147         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
148         (AccessibilityController::allAttributesOfFocusedElement):
149
150 2008-06-26  Beth Dakin  <bdakin@apple.com>
151
152         Reviewed by Anders.
153
154         This is a speculative fix for the failing layout test on the build 
155         bot. It seems that the problem that the Build Bot is having is 
156         Tiger-specific. On Tiger, [NSValue description] was not very smart. 
157         So I replaced our call to description with a hand-rolled equivalent 
158         that will match on both platforms. 
159
160         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
161         (descriptionOfValue):
162
163 2008-06-25  Beth Dakin  <bdakin@apple.com>
164
165         Reviewed by Sam Weinig.
166
167         This patch adds support to the AccessibilityController to query the 
168         following attributes specifically, without a full attribute dump: 
169         AXRole, AXTitle, and AXDescription.
170
171         * DumpRenderTree/AccessibilityController.cpp:
172         (allAttributesForFocusedElementCallback):
173         (roleOfFocusedElementCallback):
174         (titleOfFocusedElementCallback):
175         (descriptionOfFocusedElementCallback):
176         (AccessibilityController::staticFunctions):
177         * DumpRenderTree/AccessibilityController.h:
178         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
179         (AccessibilityController::allAttributesForFocusedElement):
180         (concatenateAttributeAndValue):
181         (AccessibilityController::roleOfFocusedElement):
182         (AccessibilityController::titleOfFocusedElement):
183         (AccessibilityController::descriptionOfFocusedElement):
184
185 2008-06-24  Dan Bernstein  <mitz@apple.com>
186
187         Reviewed by Stephanie Lewis.
188
189         - move the linker flags from the debug configuration in the project
190           to the shared configuration
191
192         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
193         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
194
195 2008-06-24  Dan Bernstein  <mitz@apple.com>
196
197         - try to fix the Tiger build
198
199         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
200
201 2008-06-24  Sam Weinig and Beth Dakin  <bdakin@apple.com and sam@webkit.org>
202
203         Reviewed by Darin.
204
205         Fix for <rdar://problem/5884881> Make DumpRenderTree support 
206         accessibility tests
207
208         This patch adds some basic support for accessibility layout tests 
209         on the Mac.
210
211         * DumpRenderTree/AccessibilityController.cpp: Added.
212         (AccessibilityController::AccessibilityController):
213         (AccessibilityController::~AccessibilityController):
214         (dumpCurrentAttributesCallback):
215         (AccessibilityController::makeWindowObject):
216         (AccessibilityController::getJSClass):
217         (AccessibilityController::staticFunctions):
218         * DumpRenderTree/AccessibilityController.h: Added.
219         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
220         * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
221         (descriptionOfValue):
222         (AccessibilityController::dumpCurrentAttributes):
223         * DumpRenderTree/mac/DumpRenderTree.mm:
224         * DumpRenderTree/mac/FrameLoadDelegate.h:
225         * DumpRenderTree/mac/FrameLoadDelegate.mm:
226         (-[FrameLoadDelegate init]):
227         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
228
229 2008-06-24  John Sullivan  <sullivan@apple.com>
230
231         Reviewed by Dan Bernstein
232
233         * Scripts/extract-localizable-strings:
234         add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the 
235         list of debugging macros, to avoid noise when keeping the list of localized string 
236         exceptions up to date
237
238 2008-06-24  Dan Bernstein  <mitz@apple.com>
239
240         Rubber-stamped by Darin Adler.
241
242         - add a font family for testing font-weight
243
244         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
245         flags to create data sections for the WeightWatcher fonts.
246         * DumpRenderTree/fonts: Added.
247         * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
248         * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
249         * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
250         * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
251         * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
252         * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
253         * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
254         * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
255         * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
256         * DumpRenderTree/mac/DumpRenderTree.mm:
257         (activateFonts): Renamed activateAhemFont to this and made it activate
258         the WeightWatcher fonts in addition to Ahem.
259         (prepareConsistentTestingEnvironment): Adjusted for the name change.
260         * DumpRenderTree/win/DumpRenderTree.cpp:
261         (initialize): Added the WeightWatcher fonts.
262
263 2008-06-20  Brent Fulgham  <bfulgham@gmail.com>
264
265         Reviewed by Darin.
266
267         Extend the build-webkit (and set-webkit-configuration) script to
268         support Cairo-based webkit builds.  (see http://bugs.webkit.org/show_bug.cgi?17952)
269
270         * Scripts/build-webkit:  Add --cairo-win32 to the help message
271         * Scripts/webkitdirs.pm:  Extend the 'determinePassedConfiguration
272           subroutine to recognize the --cairo-win32 flag.  When present,
273           the build configuration is changed from Debug/Release to
274           Debug_Cairo/Release_Cairo.  This flag is only active when the
275           isCygwin() test is true.
276
277 2008-06-17  Dan Bernstein  <mitz@apple.com>
278
279         Reviewed by Justin Garcia.
280
281         - prefer Leopard results when running on Snow Leopard.
282
283         * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
284           mac-leopard.
285         * Scripts/webkitdirs.pm: Added isSnowLeopard().
286
287 2008-06-15  Darin Adler  <darin@apple.com>
288
289         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
290
291 2008-06-15  Darin Adler  <darin@apple.com>
292
293         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
294
295 2008-06-15  Darin Adler  <darin@apple.com>
296
297         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
298
299 2008-06-15  Darin Adler  <darin@apple.com>
300
301         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
302
303 2008-06-15  Darin Adler  <darin@apple.com>
304
305         * Scripts/do-file-rename: Updated.
306         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
307
308 2008-06-15  Darin Adler  <darin@apple.com>
309
310         * Scripts/do-file-rename: Updated for the latest round of renaming.
311         * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
312
313 2008-06-15  Darin Adler  <darin@apple.com>
314
315         * Scripts/create-exports: Added.
316         * Scripts/do-file-rename: Added some planned renames.
317         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
318
319 2008-06-15  Darin Adler  <darin@apple.com>
320
321         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
322
323 2008-06-15  Maciej Stachowiak  <mjs@apple.com>
324
325         Reviewed by Oliver.
326         
327         - rename testkjs to jsc
328
329         * Scripts/build-jsc: Copied from Scripts/build-testkjs.
330         * Scripts/build-testkjs: Removed.
331         * Scripts/run-javascriptcore-tests:
332         * Scripts/run-jsc: Copied from Scripts/run-testkjs.
333         * Scripts/run-sunspider:
334         * Scripts/run-testkjs: Removed.
335         * Scripts/sunspider-compare-results:
336
337 2008-06-14  Darin Adler  <darin@apple.com>
338
339         * Scripts/do-webcore-rename: Moved planned renames into a separate hash
340         from the actual renames. Removed many renames that are either done or
341         no longer planned.
342
343 2008-06-14  Darin Adler  <darin@apple.com>
344
345         * Scripts/do-webcore-rename: Fixed obvious typo.
346
347 2008-06-13  Darin Adler  <darin@apple.com>
348
349         * Scripts/make-js-test-wrappers: Added three more exceptions.
350
351 2008-06-10  Joerg Bornemann  <joerg.bornemann@trolltech.com>
352
353         Reviewed by Simon.
354
355         For the qmake based build make it possible to build against makespecs where
356         QMAKE_CC is defined in a configuration file included from qmake.conf.
357
358         * Scripts/webkitdirs.pm: Added support for include() statements in
359         qmake.conf.
360
361 2008-06-09  Alp Toker  <alp@nuanti.com>
362
363         gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
364         each of the tools since these are no longer set globally.
365
366         * GNUmakefile.am:
367
368 2008-06-08  Darin Adler  <darin@apple.com>
369
370         * Scripts/make-js-test-wrappers: Added another exception.
371
372 2008-06-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
373
374         Reviewed by Timothy.
375
376         Remove the --squirrelfish option from SunSpider, as it is no longer needed.
377
378         * Scripts/run-sunspider:
379
380 2008-06-05  Alp Toker  <alp@nuanti.com>
381
382         Build fix for r34387.
383
384         * GNUmakefile.am:
385
386 2008-06-04  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
387
388         Reviewed by Oliver.
389
390         Add an exception for Opcode.o to the global initializers check so that
391         we can dump instruction statistics in the JavaScript virtual machine.
392
393         * Scripts/check-for-global-initializers:
394
395 2008-05-30  Steve Falkenburg  <sfalken@apple.com>
396
397         Generate an isolated COM manifest for registry free COM.
398         
399         * DumpRenderTree/win/DumpRenderTree.vcproj:
400
401 2008-06-02  Anders Carlsson  <andersca@apple.com>
402
403         Reviewed by David Hyatt and Mitz.
404
405         <rdar://problem/5704119> 
406         repro crash in WebCore::RenderPart::setWidget (plugin-related?)
407         
408         Call -[WebView display] in the "plug-in" failed delegate method, simulating
409         the sheet that Safari puts up.
410         
411         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
412         (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
413
414 2008-05-30  Timothy Hatcher  <timothy@apple.com>
415
416         Made the starting line number of scripts be 1-based throughout the engine.
417         This cleans up script line numbers so they are all consistent now.
418
419         Reviewed by Oliver Hunt.
420
421         * DumpRenderTree/mac/ObjCController.m:
422         (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
423         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
424         (runJavaScriptThread): Ditto.
425         * DumpRenderTree/win/DumpRenderTree.cpp:
426         (runJavaScriptThread): Ditto.
427
428 2008-05-29  Geoffrey Garen  <ggaren@apple.com>
429
430         Reviewed by Adam Roben.
431
432         Fixed VCSUtils.pm to work with git repositories inside symlinks.
433
434         * Scripts/VCSUtils.pm: Compute a relative path from the git repository
435         root, instead of the root of the filesystem, to work around a bug in
436         abs2rel when traversing symlinked home directories.
437
438 2008-05-29  Kevin Ollivier  <kevino@theolliviers.com>
439
440         Reviewed by Darin Adler.
441         
442         Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
443         
444         https://bugs.webkit.org/show_bug.cgi?id=19311
445
446         * Scripts/webkitdirs.pm:
447
448 2008-05-29  Alexey Proskuryakov  <ap@webkit.org>
449
450         Reviewed by Adam Roben.
451
452         Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
453         configuration files.
454
455         * Scripts/run-iexploder-tests:
456         * Scripts/run-mangleme-tests:
457         Renamed runSafari to not conflict with the one in webkitdirs.
458         Added SSLCertificateFile option for httpd, as now needed.
459
460 2008-05-27  Kevin Ollivier  <kevino@theolliviers.com>
461
462         wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
463
464         * wx/browser/browser.cpp:
465         (MyApp::OnInit):
466
467 2008-05-24  Andreia Gaita  <shana@isninja.com>
468
469         Reviewed by Alp Toker.
470
471         cygwin-downloader.py fixes.
472
473         Remove two non-working mirrors. Add a check for missing dependency
474         packages to avoid bailing out on an inconsistent Cygwin package list.
475
476         * CygwinDownloader/cygwin-downloader.py:
477
478 2008-05-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
479
480         Reviewed by Darin Adler.
481
482         Remove useQmake usage. QMake build doesn't support Gtk port
483         anymore.
484
485         Also fix 2 occurences of "Web Kit". Should be WebKit.
486
487         * Scripts/build-webkit:
488         * Scripts/run-javascriptcore-tests:
489         * Scripts/run-launcher:
490         * Scripts/run-webkit-tests:
491         * Scripts/webkitdirs.pm:
492
493 2008-05-22  Stephanie Lewis  <slewis@apple.com>
494
495         Reviewed by Dan.
496
497         implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
498
499         * DumpRenderTree/mac/UIDelegate.mm:
500         (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
501         * DumpRenderTree/win/UIDelegate.cpp:
502         (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
503
504 2008-05-21  Adele Peterson  <adele@apple.com>
505
506         Reviewed by Adam.
507
508         DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
509
510         * DumpRenderTree/win/UIDelegate.cpp:
511         (UIDelegate::webViewFocus): Added.
512         (UIDelegate::webViewUnfocus): Added.
513         * DumpRenderTree/win/UIDelegate.h:
514
515 2008-05-21  Mark Rowe  <mrowe@apple.com>
516
517         Rubber-stamped by Stephanie Lewis.
518
519         Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
520         rather than trigger an unknown argument message.  This allows run-webkit-tests to display results
521         once more.
522
523         * Scripts/run-safari:
524
525 2008-05-21  Stephanie Lewis  <slewis@apple.com>
526
527         Reviewed by Maciej, Mark.
528   
529         arch doesn't take arguments on tiger.  expand DRT timeout for guardMalloc.
530
531         * Scripts/run-webkit-tests:
532         * Scripts/webkitdirs.pm:
533
534 2008-05-20  Mark Rowe  <mrowe@apple.com>
535
536         Reviewed by Stephanie Lewis.
537
538         Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
539
540         If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
541         This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
542         can be manually overridden by passing --64-bit or --no-64-bit.  This removes the need to always
543         pass an argument to run-webkit-tests after having built with "make x86_64".
544
545         * Scripts/gdb-safari:
546         * Scripts/run-safari:
547         * Scripts/run-webkit-tests:
548         * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
549         preferred architecture, and exporting of the environment variables for 'arch' out into
550         separate subroutines.
551
552 2008-05-20  Mark Rowe  <mrowe@apple.com>
553
554         Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
555
556         * Makefile:
557
558 === End merge of squirrelfish ===
559
560 2008-04-14  Maciej Stachowiak  <mjs@apple.com>
561
562         Reviewed by Oliver.
563         
564         - added support for --ubench mode
565
566         * Scripts/run-sunspider:
567
568 2008-03-26  Geoffrey Garen  <ggaren@apple.com>
569
570         Reviewed by Oliver Hunt.
571
572         --squirrelfish mode: pared down tests for squirrelfish to chew on.
573
574         * Scripts/run-sunspider:
575
576 === Start merge of squirrelfish ===
577
578 2008-05-21  Darin Adler  <darin@apple.com>
579
580         * Scripts/make-js-test-wrappers: Added another exception.
581
582 2008-05-19  Stephanie Lewis  <slewis@apple.com>
583
584         Reviewed by Adam.
585
586         Explicitly set run mode to 32bit unless overridden to avoid
587         confusion when running tests
588
589         * Scripts/build-dumprendertree:
590         * Scripts/gdb-safari:
591         * Scripts/run-webkit-tests:
592         * Scripts/webkitdirs.pm:
593
594 2008-05-16  Stephanie Lewis  <slewis@apple.com>
595
596         Reviewed by Steve.
597
598         Print out pending unload event count. Also print out main frame name to match Mac.         
599
600         * DumpRenderTree/win/FrameLoadDelegate.cpp:
601         (descriptionSuitableForTestResult):
602         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
603
604 2008-05-16  Timothy Hatcher  <timothy@apple.com>
605
606         Remove the Drosera project, code and resources since it has been
607         replaced with the Web Inspector's debugger. Removes references to
608         Drosera in various scripts and makefiles.
609
610         Rubber-stamped by Mark Rowe.
611
612         * BuildSlaveSupport/build-launcher-app:
613         * Drosera/DebuggerDocument.cpp: Removed.
614         * Drosera/DebuggerDocument.h: Removed.
615         * Drosera/Drosera.icns: Removed.
616         * Drosera/DroseraWin.make: Removed.
617         * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
618         * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
619         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
620         * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
621         * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
622         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
623         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
624         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
625         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
626         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
627         * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
628         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
629         * Drosera/Images/Drosera.ico: Removed.
630         * Drosera/Images/SourceArrow.png: Removed.
631         * Drosera/Images/SourceArrowBlank.png: Removed.
632         * Drosera/Images/SourceArrowOpen.png: Removed.
633         * Drosera/Images/background_stripe.png: Removed.
634         * Drosera/Images/breakPoint.tif: Removed.
635         * Drosera/Images/breakPointDisabled.tif: Removed.
636         * Drosera/Images/breakpointeditor.png: Removed.
637         * Drosera/Images/close.tif: Removed.
638         * Drosera/Images/close_active.tif: Removed.
639         * Drosera/Images/close_hover.tif: Removed.
640         * Drosera/Images/console.png: Removed.
641         * Drosera/Images/continue.tif: Removed.
642         * Drosera/Images/fileIcon.jpg: Removed.
643         * Drosera/Images/finishFunction.tif: Removed.
644         * Drosera/Images/glossyFooterFill.tif: Removed.
645         * Drosera/Images/glossyHeader.png: Removed.
646         * Drosera/Images/glossyHeaderPressed.png: Removed.
647         * Drosera/Images/gradientBackground.png: Removed.
648         * Drosera/Images/gutter.png: Removed.
649         * Drosera/Images/navLeftDisabled.png: Removed.
650         * Drosera/Images/navLeftNormal.png: Removed.
651         * Drosera/Images/navLeftPressed.png: Removed.
652         * Drosera/Images/navRightDisabled.png: Removed.
653         * Drosera/Images/navRightNormal.png: Removed.
654         * Drosera/Images/navRightPressed.png: Removed.
655         * Drosera/Images/pause.tif: Removed.
656         * Drosera/Images/popUpArrows.png: Removed.
657         * Drosera/Images/programCounter.tif: Removed.
658         * Drosera/Images/programCounterBreakPoint.tif: Removed.
659         * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
660         * Drosera/Images/run.tif: Removed.
661         * Drosera/Images/siteCollapsed.tif: Removed.
662         * Drosera/Images/siteExpanded.tif: Removed.
663         * Drosera/Images/siteIcon.tif: Removed.
664         * Drosera/Images/small.ico: Removed.
665         * Drosera/Images/splitterBar.tif: Removed.
666         * Drosera/Images/splitterDimple.tif: Removed.
667         * Drosera/Images/step.tif: Removed.
668         * Drosera/Images/stepOut.tif: Removed.
669         * Drosera/Images/stepOver.tif: Removed.
670         * Drosera/Images/stop.tif: Removed.
671         * Drosera/Images/toolbarBackground.png: Removed.
672         * Drosera/Images/verticalSplitterBar.tiff: Removed.
673         * Drosera/Images/verticalSplitterDimple.tiff: Removed.
674         * Drosera/Makefile: Removed.
675         * Drosera/breakpointEditor.html: Removed.
676         * Drosera/config.h: Removed.
677         * Drosera/console.css: Removed.
678         * Drosera/console.html: Removed.
679         * Drosera/console.js: Removed.
680         * Drosera/debugger.css: Removed.
681         * Drosera/debugger.html: Removed.
682         * Drosera/debugger.js: Removed.
683         * Drosera/mac/DebuggerApplication.h: Removed.
684         * Drosera/mac/DebuggerApplication.mm: Removed.
685         * Drosera/mac/DebuggerClient.h: Removed.
686         * Drosera/mac/DebuggerClient.mm: Removed.
687         * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
688         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
689         * Drosera/mac/Info.plist: Removed.
690         * Drosera/mac/LauncherInfo.plist: Removed.
691         * Drosera/mac/Makefile: Removed.
692         * Drosera/mac/ServerConnection.h: Removed.
693         * Drosera/mac/ServerConnection.mm: Removed.
694         * Drosera/mac/launcher.m: Removed.
695         * Drosera/mac/main.m: Removed.
696         * Drosera/viewer.css: Removed.
697         * Drosera/viewer.html: Removed.
698         * Drosera/win/BaseDelegate.h: Removed.
699         * Drosera/win/DebuggerClient.cpp: Removed.
700         * Drosera/win/DebuggerClient.h: Removed.
701         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
702         * Drosera/win/Drosera.cpp: Removed.
703         * Drosera/win/Drosera.h: Removed.
704         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
705         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
706         * Drosera/win/DroseraPrefix.cpp: Removed.
707         * Drosera/win/DroseraPrefix.h: Removed.
708         * Drosera/win/Info.plist: Removed.
709         * Drosera/win/ServerConnection.cpp: Removed.
710         * Drosera/win/ServerConnection.h: Removed.
711         * Drosera/win/resource.h: Removed.
712         * Makefile:
713         * Scripts/build-drosera: Removed.
714         * Scripts/gdb-drosera: Removed.
715         * Scripts/run-drosera: Removed.
716         * Scripts/run-drosera-nightly.cmd: Removed.
717         * Scripts/run-drosera.cmd: Removed.
718         * Scripts/webkitdirs.pm:
719
720 2008-05-15  Stephanie Lewis  <slewis@apple.com>
721
722         Reviewed by Anders.
723
724         Dump the unload count for a frame after parsing is finished.
725
726         * DumpRenderTree/mac/FrameLoadDelegate.mm:
727         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
728
729 2008-05-15  Alexey Proskuryakov  <ap@webkit.org>
730
731         Reviewed by Dan Bernstein.
732
733         https://bugs.webkit.org/show_bug.cgi?id=10707
734         DumpRenderTree should not be able to access non-local resources
735
736         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
737         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
738         Block them, and complain.
739
740 2008-05-15  Kevin Ollivier  <kevino@theolliviers.com>
741
742         wx build fix. Update the version of libpng to download and instsall.
743
744         * wx/install-unix-extras:
745
746 2008-05-14  Julien Chaffraix  <jchaffraix@webkit.org>
747
748         Reviewed by Eric.
749
750         - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
751           We now force the return value to be numeric.
752
753         - Removed platform checks as it was a work around the previous issue.
754
755         - Replaced isDarwin() by isOSX() as they have now the same behaviour.
756
757         * Scripts/build-webkit:
758         * Scripts/webkitdirs.pm:
759
760 2008-05-12  Adam Roben  <aroben@apple.com>
761
762         Support for testing NPN_PostURL
763
764         Reviewed by Anders Carlsson.
765
766         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
767         (toCString): Added this helper function.
768         (testPostURLFile): Added. Writes the passed-in content to the
769         passed-in file and calls NPN_PostURL with the passed-in URL and
770         target.
771         (pluginInvoke): Added a case for testPostURLFile.
772         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
773         (followShortcuts): Changed to allow paths that don't yet exist.
774
775 2008-05-12  Mark Rowe  <mrowe@apple.com>
776
777         Reviewed by Sam Weinig.
778
779         Minor cleanup of the DRT Xcode project.
780
781         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Use GCC_OPTIMIZATION_LEVEL rather than
782         OPTIMIZATION_CFLAGS.  Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
783         not need to be there.
784
785 2008-05-12  Anders Carlsson  <andersca@apple.com>
786
787         Reviewed by Adam.
788
789         Add support for testing application caches.
790         
791         * DumpRenderTree/mac/DumpRenderTree.mm:
792         (dumpRenderTree):
793         Empty the cache.
794         
795         (resetWebViewToConsistentStateBeforeTesting):
796         Turn on support for the application cache.
797
798 2008-05-09  Mark Rowe  <mrowe@apple.com>
799
800         Reviewed by Anders Carlsson.
801
802         Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
803
804         It currently does not attempt to print events which means that plugins/mouse-events.html
805         will fail when run 64-bit.  All other tests that use this plugin pass.
806
807         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
808         (testGetIntIdentifier):
809         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
810         (NPP_New):
811         (NPP_HandleEvent):
812
813 2008-05-09  Brady Eidson  <beidson@apple.com>
814
815         Reviewed by Adam Roben
816
817         Explicitly call shutDownWebKit() before quitting.
818
819         * Drosera/win/Drosera.cpp:
820         (_tWinMain):
821
822         * DumpRenderTree/win/DumpRenderTree.cpp:
823         (main):
824
825 2008-05-09  Mark Rowe  <mrowe@apple.com>
826
827         Fix the Tiger build of Drosera.
828
829         * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
830
831 2008-05-09  Sam Weinig  <sam@webkit.org>
832
833         Rubber-stamped by Mark Rowe.
834
835         Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
836
837         * Scripts/build-webkit:
838
839 2008-05-08  Mark Rowe  <mrowe@apple.com>
840
841         Another attempt at a Tiger build fix.
842
843         Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
844
845         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
846
847 2008-05-08  Mark Rowe  <mrowe@apple.com>
848
849         Tiger build fix.  Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
850
851         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
852
853 2008-05-08  Mark Rowe  <mrowe@apple.com>
854
855         Reviewed by Oliver Hunt and Dan Bernstein.
856
857         Update DumpRenderTree to build 64-bit.
858
859         The three major changes here are:
860         1) Use NSInteger in the appropriate places.
861         2) Use ColorSync API that is available in 64-bit to switch display profiles.
862         3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
863
864         The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
865         needs updated to successfully build.
866
867         * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
868         * DumpRenderTree/mac/DumpRenderTree.mm:
869         (swizzleAllMethods):
870         (poseAsClass):
871         (prepareConsistentTestingEnvironment):
872         * DumpRenderTree/mac/DumpRenderTreeMac.h:
873         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
874         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
875         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
876         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
877         (restoreColorSpace):
878         (failedGettingCurrentProfile):
879         (setDefaultColorProfileToRGB):
880
881 2008-05-08  Mark Rowe  <mrowe@apple.com>
882
883         Reviewed by Darin Adler.
884
885         Clean up Drosera so that it will build 64-bit.
886
887         * Drosera/mac/DebuggerApplication.mm:
888         (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
889         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
890         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
891
892 2008-05-07  David Kilzer  <ddkilzer@apple.com>
893
894         Use File::Find and Getopt::Long in make-js-test-wrappers
895
896         Reviewed by Darin.
897
898         * Scripts/make-js-test-wrappers:
899         - Updated Apple copyright statement.
900         - Added command-line switch parsing and -h|--help switch.
901         - Allowed user to pass list of files/directories on which to do
902           a restricted search for TEMPLATE.html files.  The default
903           behavior is still to search the entire LayoutTests directory.
904         - Removed duplicate 'use strict' statement.
905         - Replaced use of `find` statements with File::Find::find().
906         - Remove unneeded chomp() calls now that we use File::Find.
907         (directoryFilter): Added.  Filters .svn directories when used
908         with File::Find::find().
909         (findTemplateFiles): Added.  Returns a list of TEMPLATE.html
910         files found.
911
912 2008-05-05  Steve Falkenburg  <sfalken@apple.com>
913
914         Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
915
916         * DumpRenderTree/win/DumpRenderTree.vcproj:
917         * DumpRenderTree/win/ImageDiff.vcproj:
918
919 2008-05-05  Adele Peterson  <adele@apple.com>
920
921         Reviewed by Adam.
922
923         Look for the right ImageDiff executable for debug builds.
924
925         * Scripts/run-webkit-tests:
926
927 2008-05-05  Darin Adler  <darin@apple.com>
928
929         * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
930         leak tests.
931
932 2008-05-05  Ariya Hidayat  <ariya.hidayat@trolltech.com>
933
934         Reviewed by Simon.
935
936         In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG 
937         tests expect to be 480x360)
938
939         * DumpRenderTree/qt/DumpRenderTree.cpp:
940         (WebCore::DumpRenderTree::open):
941
942 2008-05-02  Dan Bernstein  <mitz@apple.com>
943
944         Reviewed by Adam Roben.
945
946         - add an option to svn-apply to set the reviewer name in change logs
947
948         * Scripts/svn-apply: Added a [-r|--reviewer name] option.
949
950 2008-05-01  David Kilzer  <ddkilzer@apple.com>
951
952         Clean up configuration usage in run-webkit-tests
953
954         Reviewed by Adam.
955
956         * Scripts/run-webkit-tests: Parse configuration switches using
957         passedConfiguration() from webkitdirs.pm like every other script.
958         Note that we must still call setConfiguration() afterwards in
959         case the --configuration switch was used.  Use $configurationOption
960         when running build-dumprendertree instead of recreating the switch.
961
962 2008-04-29  Adam Roben  <aroben@apple.com>
963
964         Restore the beloved COMPtr::operator&
965
966 2008-04-29  Adam Roben  <aroben@apple.com>
967
968         Windows build fixes
969
970         Replace COMPtr::operator& with COMPtr::adoptionPointer.
971
972 2008-04-25  Alexey Proskuryakov  <ap@webkit.org>
973
974         Reviewed by Darin.
975
976         Fix run-webkit-tests --threading
977         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
978         Proxy server issue in Sunday's Nightly
979
980         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
981         (runJavaScriptThread):
982         (startJavaScriptThreads):
983         (stopJavaScriptThreads):
984         Spawned threads were immediately detached, unlike the original ones, so joining them
985         made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
986         waits for them all to exit.
987
988 2008-04-28  Holger Hans Peter Freyther  <zecke@selfish.org>
989
990         Reviewed by Simon.
991
992         Reset dumping resource load callbacks to false for the next test
993         
994
995         * DumpRenderTree/qt/jsobjects.cpp:
996         (LayoutTestController::reset):
997
998 2008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
999
1000         Reviewed by Simon.
1001
1002         Adapt to the latest API changes in WebKit/qt/Api.
1003
1004         * DumpRenderTree/qt/DumpRenderTree.cpp:
1005         (WebCore::DumpRenderTree::DumpRenderTree):
1006         * DumpRenderTree/qt/jsobjects.cpp:
1007
1008 2008-04-26  Robin Dunn  <robin@alldunn.com>
1009
1010         Reviewed by Kevin Ollivier.
1011         
1012         Delete the DerivedSources after make clean has been done so that the DerivedSources
1013         don't get re-created. Also, use the proper extension for the Win wxPython extension.
1014         
1015         https://bugs.webkit.org/show_bug.cgi?id=18756
1016
1017         * wx/build-wxwebkit:
1018
1019 2008-04-26  Adam Barth <hk9565@gmail.com>
1020
1021         Reviewed by Adam Roben and Sam Weinig.
1022
1023         Updates LayoutTestController to use host instead of domain.
1024
1025         Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
1026
1027         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1028         (LayoutTestController::setDatabaseQuota):
1029         * DumpRenderTree/mac/UIDelegate.mm:
1030         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
1031
1032 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
1033
1034         wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
1035
1036         * wx/install-unix-extras:
1037
1038 2008-04-26  Robin Dunn  <robin@alldunn.com>
1039
1040         Reviewed by Kevin Ollivier.
1041         
1042         Allow the user to set the path to SWIG using an environment variable.
1043         
1044         https://bugs.webkit.org/show_bug.cgi?id=18660
1045
1046         * wx/build-wxwebkit:
1047
1048 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
1049
1050         wx build fix. Download the latest libpng version for building the
1051         dependencies.
1052
1053         * wx/install-unix-extras:
1054
1055 2008-04-25  Holger Hans Peter Freyther  <zecke@selfish.org>
1056
1057         Reviewed by Simon.
1058
1059         Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
1060         
1061         Similar to Editing and Frameloading we do the dumping within WebCore
1062         
1063
1064         * DumpRenderTree/qt/jsobjects.cpp:
1065         (LayoutTestController::dumpResourceLoadCallbacks):
1066         * DumpRenderTree/qt/jsobjects.h:
1067
1068 2008-04-24  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1069
1070         Reviewed by Maciej Stachowiak.
1071
1072         http://bugs.webkit.org/show_bug.cgi?id=18485
1073         Typo and documentation fix for build-webkit
1074
1075         * Scripts/build-webkit:
1076
1077 2008-04-24  Anders Carlsson  <andersca@apple.com>
1078
1079         Reviewed by Sam.
1080
1081         Don't call fprintf from the signal handler.
1082         
1083         * DumpRenderTree/mac/DumpRenderTree.mm:
1084         (crashHandler):
1085
1086 2008-04-23  Adam Roben  <aroben@apple.com>
1087
1088         Make crashes be reported as crashes, not hangs
1089
1090         Reviewed by David Kilzer.
1091
1092         * Scripts/run-webkit-tests:
1093         (top level): Use the new status field of the output from
1094         readFromDumpToolWithTimer to determine if the test crashed or hung.
1095         (sub readFromDumpToolWithTimer):
1096           - If we fail to read a line and $! is not EAGAIN, then we've crashed
1097             and should not try to read any more.
1098           - Changed the timedout field to a more general status field.
1099
1100 2008-04-22  David Kilzer  <ddkilzer@apple.com>
1101
1102         Bug 18683: update-webkit returns 0 even if it fails
1103
1104         <https://bugs.webkit.org/show_bug.cgi?id=18683>
1105
1106         Reviewed by Mitz Pettel.
1107
1108         * Scripts/update-webkit:
1109         (runSvnUpdate): Die if close() fails.
1110
1111 2008-04-21  Adam Roben  <aroben@apple.com>
1112
1113         Flush stdout/stderr after printing every #EOF separator
1114
1115         This fixes a hang when running the pixel tests on Windows
1116
1117         Reviewed by Mitz Pettel.
1118
1119         * DumpRenderTree/win/DumpRenderTree.cpp:
1120         (dump):
1121         (main): We don't have to flush stdout/stderr in the arguments loop
1122         anymore, as runTest flushes for us.
1123
1124 2008-04-21  Adam Roben  <aroben@apple.com>
1125
1126         Fix pixel tests
1127
1128         * Scripts/run-webkit-tests:
1129         (sub readFromDumpToolWithTimer): Use readline instead of read to
1130         ensure that we don't read past the #EOF marker.
1131
1132 2008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1133
1134         Reviewed by Simon.
1135
1136         Build fix for Qt 4.3
1137
1138         * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
1139         always defined. Do this by adding defines to the compiler line
1140
1141         * DumpRenderTree/qt/DumpRenderTree.pro:
1142
1143 2008-04-19  Mike Hommey  <glandium@debian.org>
1144
1145         Reviewed by Alp Toker.
1146
1147         Don't build GtkLauncher and DumpRenderTree with rpath.
1148
1149         * GNUmakefile.am:
1150
1151 2008-04-18  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1152
1153         Reviewed by Alp Toker.
1154
1155         http://bugs.webkit.org/show_bug.cgi?id=16620
1156         [GTK] Autotools make dist and make check support
1157
1158         Cleanups.
1159
1160         * GNUmakefile.am:
1161
1162 2008-04-18  Adam Roben  <aroben@apple.com>
1163
1164         Drop the hang timer to 30 seconds
1165
1166         This matches what DRT/mac was using.
1167
1168         Reviewed by Mitz Pettel.
1169
1170         * Scripts/run-webkit-tests:
1171
1172 2008-04-18  Adam Roben  <aroben@apple.com>
1173
1174         Get rid of DRT's Watchdog
1175
1176         run-webkit-tests now detects hangs and samples DRT as needed.
1177
1178         Reviewed by Mitz Pettel.
1179
1180         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
1181         Watchdog* files from the project.
1182         * DumpRenderTree/Watchdog.cpp: Removed.
1183         * DumpRenderTree/Watchdog.h: Removed.
1184         * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
1185         (dumpRenderTree):
1186         (runTest):
1187         * DumpRenderTree/mac/WatchdogMac.h: Removed.
1188         * DumpRenderTree/mac/WatchdogMac.mm: Removed.
1189         * Scripts/run-webkit-tests:
1190         (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
1191         (sub sampleDumpTool): Added. Writes a sample report to
1192         ~/Library/Logs/DumpRenderTree/HangReport.txt.
1193
1194 2008-04-18  Simon Hausmann  <hausmann@webkit.org>
1195
1196         Reviewed by Holger.
1197
1198         Adapt to the API changes in WebKit/qt
1199
1200         * DumpRenderTree/qt/DumpRenderTree.cpp:
1201         (WebCore::WebPage::WebPage):
1202         (WebCore::DumpRenderTree::DumpRenderTree):
1203         (WebCore::DumpRenderTree::initJSObjects):
1204         (WebCore::DumpRenderTree::dumpFramesAsText):
1205         (WebCore::DumpRenderTree::dump):
1206
1207 2008-04-17  Adam Roben  <aroben@apple.com>
1208
1209         Fix many tests on Windows
1210
1211         * Scripts/run-webkit-tests:
1212         (readFromDumpToolWithTimer):
1213          - Use read instead of sysread to ensure that we don't interfere with
1214            other uses of buffered IO in this script.
1215         (setFileHandleNonBlocking): Actually set the filehandle to blocking
1216         when specified.
1217
1218 2008-04-17  Adam Roben  <aroben@apple.com>
1219
1220         Fix ~10 tests
1221
1222         * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
1223         whatever newline happens to be at the end of what we've read.
1224
1225 2008-04-17  Adam Roben  <aroben@apple.com>
1226
1227         Remove DRT/win's hang timer
1228
1229         run-webkit-tests takes care of this for us now
1230
1231         Reviewed by Anders Carlsson.
1232
1233         * DumpRenderTree/win/DumpRenderTree.cpp:
1234
1235 2008-04-17  Adam Roben  <aroben@apple.com>
1236
1237         Don't wait for the hang timer twice in the case of a hang
1238
1239         Previously we'd wait for a hang while reading both stdout and stderr
1240         from DRT. Now we'll only wait for one or the other.
1241
1242         Reviewed by Anders Carlsson.
1243
1244         * Scripts/run-webkit-tests:
1245         (top level): Don't wait for stderr to time out if stdout already timed
1246         out.
1247         (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
1248         after the first read that returns no data.
1249
1250 2008-04-17  Adam Roben  <aroben@apple.com>
1251
1252         Don't throw away the output from timed out tests
1253
1254         Reviewed by Anders Carlsson.
1255
1256         * Scripts/run-webkit-tests:
1257         (top level): Updated for changes to readFromDumpToolWithTimer.
1258         (readFromDumpToolWithTimer): Return a hash that contains both the
1259         output and whether or not the test timed out.
1260
1261 2008-04-17  Adam Roben  <aroben@apple.com>
1262
1263         Make the hang timer 60 seconds
1264
1265         * Scripts/run-webkit-tests:
1266
1267 2008-04-17  Adam Roben  <aroben@apple.com>
1268
1269         Get rid of carriage returns in DRT/win's stderr
1270
1271         Reviewed by Eric Seidel.
1272
1273         * DumpRenderTree/win/DumpRenderTree.cpp:
1274         (main): Mark stderr as binary like we already do for stdout.
1275
1276 2008-04-17  Adam Roben  <aroben@apple.com>
1277
1278         Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
1279         timeout long tests)
1280
1281         <https://bugs.webkit.org/show_bug.cgi?id=17678>
1282
1283         We now abort tests that take longer than 60 seconds to produce output.
1284         This matches the watchdog timer in DRT/mac and DRT/win (which we can
1285         now remove).
1286
1287         Reviewed by Eric Seidel.
1288
1289         * Scripts/run-webkit-tests:
1290         (top level): Read DRT's output using the new readFromDumpToolWithTimer
1291         subroutine. If readFromDumpToolWithTimer returns undefined it means
1292         the test timed out, so we register the test as a hang and move on.
1293         (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
1294         both crashed and timed out tests. If the test timed out, we kill DRT
1295         before returning.
1296         (sub linksForTimedOutTest): Added. We don't have any output to link to for
1297         tests that timed out.
1298         (sub recordActualResultsAndDiff): Don't call length on undefined.
1299         (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
1300         from a filehandle until an #EOF is reached or
1301         $maximumSecondsWithoutOutput have elapsed.
1302         (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
1303         non-blocking.
1304
1305 2008-04-17  Adam Roben  <aroben@apple.com>
1306
1307         Refactor test results page generation
1308
1309         Reviewed by Eric Seidel.
1310
1311         * Scripts/run-webkit-tests:
1312         (sub htmlForResultsSection): Added. Takes a set of tests, a
1313         description, and a subroutine to generate the links for each test, and
1314         creates a HTML string containing a table of the tests and their
1315         links.
1316         (sub linksForExpectedAndActualResults): Added. Replaces the
1317         htmlForExpectedAndActualResults subroutine.
1318         (sub linksForMismatchTest): Added.
1319         (sub linksForCrashOrErrorTest): Added.
1320         (sub linksForNewTest): Added.
1321
1322 2008-04-17  Adam Roben  <aroben@apple.com>
1323
1324         Print the extension for all tests in the test results page
1325
1326         Reviewed by Eric Seidel.
1327
1328         * Scripts/run-webkit-tests:
1329
1330 2008-04-17  Adam Roben  <aroben@apple.com>
1331
1332         Move code that counts finished tests into a subroutine
1333
1334         Reviewed by Eric Seidel.
1335
1336         * Scripts/run-webkit-tests:
1337         (sub countFinishedTest): Added.
1338
1339 2008-04-17  Adam Roben  <aroben@apple.com>
1340
1341         Move code that handles a crash into a subroutine
1342
1343         Reviewed by Eric Seidel.
1344
1345         * Scripts/run-webkit-tests:
1346         (sub testCrashed): Added.
1347
1348 2008-04-17  Eric Seidel  <eric@webkit.org>
1349
1350         Reviewed by hyatt.
1351         
1352         Rename RenderView to RenderViewport in the next rename patch.
1353
1354         * Scripts/do-webcore-rename:
1355
1356 2008-04-17  Mario Bensi  <mbensi@pleyo.com>
1357
1358         Reviewed by Alp Toker.
1359
1360         http://bugs.webkit.org/show_bug.cgi?id=18543
1361         DumpRenderTree gtk freeze
1362
1363         fix DumpRenderTree gtk freeze 
1364
1365         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1366         (dump):
1367
1368 2008-04-15  Anders Carlsson  <andersca@apple.com>
1369
1370         Add missing ;
1371         
1372         * Scripts/build-webkit:
1373         
1374 2008-04-15  Anders Carlsson  <andersca@apple.com>
1375
1376         Reviewed by Adam.
1377
1378         Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
1379
1380         * Scripts/build-webkit:
1381
1382 2008-04-15  Andre Poenitz  <andre.poenitz@trolltech.com>
1383
1384         Reviewed by Simon.
1385
1386         Fix compilation with Qt namespaces
1387
1388         Qt can be configured to have all of its classes inside a specified namespaces.
1389         This is for example used in plugin/component environments like Eclipse.
1390
1391         This change makes it possible to let the Qt port compile against a namespaced
1392         Qt by the use of macros Qt provides to properly forward declare Qt classes in
1393         the namespace.
1394
1395         * DumpRenderTree/qt/DumpRenderTree.h:
1396
1397 2008-04-08  Kevin Ollivier  <kevino@theolliviers.com>
1398
1399         Reviewed by Darin Adler.
1400
1401         Add a script that propagates any file changes made to the Bakefiles
1402         over to GTK and Qt build systems. Still needs to be wired into
1403         those ports though.
1404
1405         * Scripts/update-sources-list.py: Added.
1406
1407 2008-04-08  Mark Rowe  <mrowe@apple.com>
1408
1409         Clean up after Brady.
1410
1411         * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
1412
1413 2008-04-08  Brady Eidson  <beidson@apple.com>
1414
1415         Reviewed by Mitzpettel
1416
1417         Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
1418         -WebArchive subresources dump in random order, intermittent failures
1419
1420         * DumpRenderTree/mac/DumpRenderTree.mm:
1421         (compareResourceURLs): Sorting function based on the resource URLs
1422         (serializeWebArchiveToXML): Sort the subresource array
1423
1424 2008-04-07  Brady Eidson  <beidson@apple.com>
1425
1426         OMG, BUILD - please!
1427
1428         * Scripts/build-webkit:
1429
1430 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1431
1432         Reviewed by Simon.
1433
1434         * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
1435         * Running these tests on windows and other platforms might need some work.
1436
1437         * Scripts/run-webkit-tests:
1438
1439 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1440
1441         Reviewed by Simon.
1442
1443         * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
1444         is not exporting enough to create the output in DRT itself. Settle with the approach
1445         Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
1446         * run-webkit-tests http/tests(/loading) can now be executed.
1447         * For tests in loading/ directories we are going to throw away the dirty
1448         QWebPage to start with something clean.
1449         
1450
1451         * DumpRenderTree/qt/DumpRenderTree.cpp:
1452
1453 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1454
1455         Reviewed by Simon.
1456
1457         * Treat http and https as special URLs as well. Change the main.cpp and
1458         DumpRenderTree.cpp to handle http and https URIs as input.
1459         * I'm not doing the clean up and merging of these two checks now.
1460         
1461
1462         * DumpRenderTree/qt/DumpRenderTree.cpp:
1463         (WebCore::DumpRenderTree::readStdin):
1464         * DumpRenderTree/qt/main.cpp:
1465         (main):
1466
1467 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1468
1469         Reviewed by Simon.
1470
1471         * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
1472         located in a directory with the name "loading". And this will autoamtically
1473         enable dumping.
1474         * Remove this method from the LayoutTestController as it is unused now and this
1475         avoids adding it to the DRT of the Qt port.
1476         
1477
1478         * DumpRenderTree/LayoutTestController.cpp:
1479         (setPrivateBrowsingEnabledCallback):
1480
1481 2008-04-01  Christian Dywan  <christian@imendio.com>
1482
1483         Build fix for GCC 4.3.
1484
1485         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
1486
1487 2008-04-01  Simon Hausmann  <hausmann@webkit.org>
1488
1489         Reviewed by Holger.
1490
1491         Fix Qt DRT run by also printing EOF on stderr, as expected by
1492         run-webkit-tests.
1493
1494         * DumpRenderTree/qt/DumpRenderTree.cpp:
1495         (WebCore::DumpRenderTree::dump):
1496
1497 2008-03-31  Julien Chaffraix  <julien.chaffraix@gmail.com>
1498
1499         Reviewed by Darin.
1500
1501         Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
1502
1503         Remove trailing '/' in $sourceDir in determineSourceDir().
1504
1505         Fix suggested by Dmitriy Kazachkov.
1506
1507         * Scripts/webkitdirs.pm:
1508
1509 2008-03-29  Adam Roben  <aroben@apple.com>
1510
1511         Update for rename of an IWebViewPrivate method
1512
1513         Reviewed by Mitz Pettel.
1514
1515         * DumpRenderTree/win/DumpRenderTree.cpp:
1516         (createWebViewAndOffscreenWindow):
1517
1518 2008-03-26  Antti Koivisto  <antti@apple.com>
1519
1520         Reviewed by Anders.
1521         
1522         Enable SVG animation support by default.
1523
1524         * Scripts/build-webkit:
1525
1526 2008-03-25  Adam Roben  <aroben@apple.com>
1527
1528         Windows build fix
1529
1530         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1531         Add $(WebKitLibrariesDir)\include to the include path so we can find
1532         stdint.h there.
1533
1534 2008-03-24  Eric Seidel  <eric@webkit.org>
1535
1536         Reviewed by Mark.
1537
1538         Clean up SVG features message to be less confusing.
1539
1540         * Scripts/build-webkit:
1541
1542 2008-03-24  Sam Weinig  <sam@webkit.org>
1543
1544         Reviewed by Dave Hyatt.
1545
1546         Add EventSender.zoomPageIn/zoomPageOut support to DRT.
1547
1548         * DumpRenderTree/mac/DumpRenderTree.mm:
1549         (resetWebViewToConsistentStateBeforeTesting):
1550         * DumpRenderTree/mac/EventSendingController.mm:
1551         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1552         (-[EventSendingController zoomPageIn]):
1553         (-[EventSendingController zoomPageOut]):
1554         * DumpRenderTree/win/DumpRenderTree.cpp:
1555         (resetWebViewToConsistentStateBeforeTesting):
1556         * DumpRenderTree/win/EventSender.cpp:
1557         (textZoomInCallback):
1558         (textZoomOutCallback):
1559         (zoomPageInCallback):
1560         (zoomPageOutCallback):
1561
1562 2008-03-24  Dan Bernstein  <mitz@apple.com>
1563
1564         Reviewed by Mark Rowe.
1565
1566         - update bisect-builds for Safari 3.1
1567
1568         * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
1569         revision, r29711.
1570
1571 2008-03-21  Rodney Dawes  <dobey@wayofthemonkey.com>
1572
1573         Reviewed by Holger.
1574
1575         http://bugs.webkit.org/show_bug.cgi?id=17981
1576
1577         Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
1578
1579         * GNUmakefile.am:
1580
1581 2008-03-21  Adam Roben  <aroben@apple.com>
1582
1583         Remove a non-working mirror from cygwin-downloader and add the ruby package
1584
1585         * CygwinDownloader/cygwin-downloader.py:
1586         * CygwinDownloader/cygwin-downloader.zip: Updated.
1587
1588 2008-03-20  Mark Rowe  <mrowe@apple.com>
1589
1590         Reviewed by Sam Weinig.
1591
1592         Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
1593         This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
1594         command-line.
1595
1596         * Scripts/build-webkit:
1597
1598 2008-03-17  Eric Seidel  <eric@webkit.org>
1599
1600         Reviewed by Dan Bernstein.
1601
1602         Fix bogus argCount check breaking plugin test.
1603
1604         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1605
1606 2008-03-17  Eric Seidel  <eric@webkit.org>
1607
1608         Reviewed by darin.
1609
1610         Cleanup PluginObject.cpp and add support for testing
1611         converting from int -> identifier -> string
1612         and from string -> identifier -> int
1613         as well as round-tripping ints and stings through identifiers
1614
1615         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1616         (pluginGetProperty):
1617         (pluginSetProperty):
1618         (testDOMAccess):
1619         (stringVariantToIdentifier):
1620         (int32VariantToIdentifier):
1621         (doubleVariantToIdentifier):
1622         (variantToIdentifier):
1623         (testIdentifierToString):
1624         (testIdentifierToInt):
1625         (testCallback):
1626         (getURL):
1627         (removeDefaultMethod):
1628         (getURLNotify):
1629         (testInvokeDefault):
1630         (destroyStream):
1631         (testEnumerate):
1632         (testGetIntIdentifier):
1633         (testGetProperty):
1634         (testEvaluate):
1635         (testGetPropertyReturnValue):
1636         (pluginInvoke):
1637         (pluginInvokeDefault):
1638         (pluginInvalidate):
1639         (pluginAllocate):
1640         (pluginDeallocate):
1641         (handleCallback):
1642
1643 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
1644
1645         Rubber stamped by Darin.
1646
1647         Add set-webkit-configuration support for wx port, and centralize
1648         build dir location setting.
1649
1650         http://bugs.webkit.org/show_bug.cgi?id=17790
1651
1652         * wx/browser/browser.bkl:
1653         * wx/build-wxwebkit:
1654
1655 2008-03-15  Darin Adler  <darin@apple.com>
1656
1657         * Scripts/commit-log-editor: Include the name line of the change log entry.
1658         A long time ago I designed this script to not include the name because I
1659         thought it was redundant (same as the name of the person checking in), but
1660         nowadays it's more common for someone to check something in done by someone
1661         else.
1662
1663         * Scripts/do-webcore-rename: Added some more planned renames and removed
1664         some that were already done "by hand".
1665
1666 2008-03-13  Brent Fulgham  <bfulgham@gmail.com>
1667
1668         Reviewed by Darin.
1669
1670         Correct paths to vsprops files so they use the environment
1671         variable, rather than hard-coded path.
1672         http://bugs.webkit.org/show_bug.cgi?id=17797.
1673
1674         * WinLauncher/WinLauncher.vcproj:  Correct paths to vsprops.
1675
1676 2008-03-12  Steve Falkenburg  <sfalken@apple.com>
1677
1678         VSExpress build fix
1679
1680         * WinLauncher/WinLauncher.vcproj:
1681
1682 2008-03-12  Holger Hans Peter Freyther  <zecke@selfish.org>
1683
1684         Reviewed by Alp Toker.
1685
1686         Run testkjs in the correct productsDir in the GTK+ port.
1687
1688         * Scripts/run-javascriptcore-tests:
1689
1690 2008-03-11  Brent Fulgham  <bfulgham@gmail.com>
1691
1692         Reviewed by Adam Roben.
1693
1694         Enabled WinLauncher as part of normal Windows build.
1695         http://bugs.webkit.org/show_bug.cgi?id=17715.
1696
1697         * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
1698           it can find the proper libraries to link against.
1699
1700 2008-03-10  Julien Chaffraix  <julien.chaffraix@gmail.com>
1701
1702         Reviewed and landed by Darin.
1703
1704         http://bugs.webkit.org/show_bug.cgi?id=17581
1705         Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
1706
1707         Remove the previous warning which occurs when the --random option is used.
1708
1709         * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
1710         its inequality
1711
1712 2008-03-07  Simon Hausmann  <hausmann@webkit.org>
1713
1714         Reviewed by Darin.
1715
1716         Done with Lars.
1717
1718         Ported the netscape test plugin to QWebPluginFactory.
1719
1720         * DumpRenderTree/qt/DumpRenderTree.cpp:
1721         (WebCore::WebPage::WebPage):
1722         * DumpRenderTree/qt/main.cpp:
1723         * DumpRenderTree/qt/testplugin.cpp:
1724         (TestPlugin::plugins):
1725         (TestPlugin::create):
1726         * DumpRenderTree/qt/testplugin.h:
1727
1728 2008-03-09  Steve Falkenburg  <sfalken@apple.com>
1729
1730         Stop Windows build if an error occurs in a prior project.
1731
1732         Rubber stamped by Darin.
1733
1734         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1735         * DumpRenderTree/win/DumpRenderTree.vcproj:
1736         * DumpRenderTree/win/ImageDiff.vcproj:
1737         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1738
1739 2008-03-08  Julien Chaffraix  <julien.chaffraix@gmail.com>
1740
1741         Reviewed by Mark Rowe.
1742
1743         DRT build fix for Tiger.
1744
1745         * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
1746
1747 2008-03-07  Mark Rowe  <mrowe@apple.com>
1748
1749         Reviewed by Oliver Hunt.
1750
1751         Fix WebKit build with GCC 4.2.
1752
1753         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
1754
1755 2008-03-07  Stephanie Lewis <slewis@apple.com>
1756
1757         Reviewed by Oliver.
1758
1759         Add Windows part of <rdar://problem/5693690> 
1760
1761         * DumpRenderTree/win/DumpRenderTree.cpp:
1762         (dump):
1763         (main):
1764
1765 2008-03-07  Alp Toker  <alp@atoker.com>
1766
1767         Back out the r30818, r30819 build fix attempts now the GTK+ build
1768         server has been upgraded.
1769
1770         * Scripts/webkitdirs.pm:
1771
1772 2008-03-07  Stephanie Lewis <slewis@apple.com>
1773
1774         Reviewed by Geoff.
1775
1776         <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
1777
1778         * DumpRenderTree/mac/DumpRenderTree.mm:
1779         (dump): push EOF to stderr after every test
1780         * Scripts/run-webkit-tests: collect stderr output and print it
1781
1782 2008-03-07  Steve Falkenburg  <sfalken@apple.com>
1783
1784         Get pdevenv working with Visual Studio Express.
1785         
1786         Reviewed by Adam.
1787
1788         * Scripts/pdevenv:
1789
1790 2008-03-06  Adele Peterson  <adele@apple.com>
1791
1792         Reviewed by Darin.
1793
1794         Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
1795
1796         * DumpRenderTree/mac/UIDelegate.mm:
1797         (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
1798         (-[UIDelegate webViewUnfocus:]): Added.  In Safari, the default is to focus another window if there is one.
1799          To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
1800
1801 2008-03-06  Matt Lilek  <webkit@mattlilek.com>
1802
1803         Reviewed by Adam Roben.
1804
1805         Bug 17691: REGRESSION: FindSafari doesn't work
1806         http://bugs.webkit.org/show_bug.cgi?id=17691
1807
1808         Swap my change from r30394 to use the Release libraries instead of Debug
1809         since some machines don't have the Debug version.
1810
1811         * FindSafari/FindSafari.vcproj:
1812
1813 2008-03-06  Kevin McCullough  <kmccullough@apple.com>
1814
1815         Reviewed by Sam and Tim.
1816
1817         <rdar://5631450> Drosera: breakpoint indicators disappear after the
1818         script is finished running.
1819         - If there is a pre-existing breakpoint on a line when the file is
1820         updated we need to redraw it.
1821
1822         * Drosera/debugger.js:
1823
1824 2008-03-06  Brady Eidson  <beidson@apple.com>
1825
1826         Tiger build fix...?
1827
1828         * DumpRenderTree/mac/WatchdogMac.mm:
1829
1830 2008-03-06  Brady Eidson  <beidson@apple.com>
1831
1832         Reviewed by Darin
1833
1834         Added a cross-platform Watchdog thread to DRT.
1835
1836         The current watchdog in both DRTWin and DRTMac is Timer based.  Therefore, deadlocks and long running
1837         main thread hangs still affect DRT.
1838
1839         By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
1840         and true deadlocks can be caught.
1841
1842         There is one hook for platform specific code.  As I did my development and testing on Mac, and Mac has
1843         `sample` available, the Mac implementation of this hook samples the process before it is killed.
1844
1845         I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
1846
1847         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1848         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
1849
1850         * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
1851         * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
1852
1853         * DumpRenderTree/Watchdog.cpp: Added.
1854         (Watchdog::Watchdog):
1855         (Watchdog::~Watchdog):
1856         (Watchdog::start):
1857         (Watchdog::stop):
1858         (Watchdog::checkIn):
1859         (Watchdog::setWatchdogInterval):
1860         (Watchdog::handleHang):
1861         (Watchdog::watchdogThreadStart):
1862         (Watchdog::watchdogThread):
1863         * DumpRenderTree/Watchdog.h: Added.
1864
1865         * DumpRenderTree/mac/WatchdogMac.h: Added.
1866         * DumpRenderTree/mac/WatchdogMac.mm: Added.
1867         (WatchdogMac::handleHang): Sample the process and write it out to a file
1868
1869         * DumpRenderTree/mac/DumpRenderTree.mm:
1870         (dumpRenderTree): Setup and start the watchdog before running any tests
1871         (runTest): Checkin with the watchdog after each test
1872
1873 2008-03-05  Alp Toker  <alp@atoker.com>
1874
1875         Attempt to get the autotools build working again on the bot with
1876         build-webkit.
1877
1878         Force the use of /bin/bash since we seem to have bash-isms in the
1879         configure script right now.
1880
1881         * Scripts/webkitdirs.pm:
1882
1883 2008-03-05  Alp Toker  <alp@atoker.com>
1884
1885         Re-attempt to switch to the autotools build system for GTK+.
1886
1887         Change scripts to continue when distclean fails.
1888
1889         * Scripts/webkitdirs.pm:
1890
1891 2008-03-05  Alp Toker  <alp@atoker.com>
1892
1893         Force qmake for the GTK+ build until we get the build bot to succeed
1894         with autotools (currently dies at make distclean)
1895
1896         * Scripts/webkitdirs.pm:
1897
1898 2008-03-04  Alp Toker  <alp@atoker.com>
1899
1900         Reviewed by Mark Rowe.
1901
1902         Switch the default GTK+ build system from qmake to autotools.
1903
1904         qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
1905
1906         * Scripts/build-webkit:
1907         * Scripts/run-launcher:
1908         * Scripts/run-webkit-tests:
1909         * Scripts/webkitdirs.pm:
1910
1911 2008-03-04  Sam Weinig  <sam@webkit.org>
1912
1913         Reviewed by Darin Adler.
1914
1915         * Scripts/do-webcore-rename: Update renaming plan.
1916
1917 2008-03-02  Brent Fulgham  <bfulgham@gmail.com>
1918
1919         Reviewed by Alp Toker.
1920
1921         Remove some needless LIBS.
1922
1923         * GNUmakefile.am:
1924
1925 2008-03-02  Alp Toker  <alp@atoker.com>
1926
1927         Reviewed by Mark Rowe.
1928
1929         Split the WebKit GTK+ build out of the WebCore build and change the
1930         shared object name to match the package name.
1931
1932         * GNUmakefile.am:
1933
1934 2008-03-01  Mark Rowe  <mrowe@apple.com>
1935
1936         Reviewed by Tim Hatcher.
1937
1938         Update Xcode configuration to support building debug and release from the mysterious future.
1939
1940         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1941
1942 2008-02-29  David Kilzer  <ddkilzer@apple.com>
1943
1944         Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
1945
1946         Reviewed by Dan.
1947
1948         Originally broken in r26838.
1949
1950         * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
1951         not local, unused @args variable.
1952
1953 2008-02-29  David Kilzer  <ddkilzer@apple.com>
1954
1955         Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
1956
1957         <http://bugs.webkit.org/show_bug.cgi?id=15754>
1958
1959         Reviewed by Geoff and Darin.
1960
1961         We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
1962         then removing that path from all file:/// URLs in the WebArchive output so these tests
1963         would pass no matter where they were run.
1964
1965         The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
1966         current working directory, but the WebArchive does not.  This left the current working
1967         directory in all file:/// URLs in the test output, and thus all tests failed, for any
1968         developer that used symlinks to get to their WebKit source directory.
1969
1970         The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
1971         remove the current working directory path (no matter what it is) after "file://" but
1972         before "/LayoutTests/".  
1973
1974         * DumpRenderTree/mac/DumpRenderTree.mm:
1975         (normalizeWebResourceURL): Removed unused oldURLBase argument.  We now replace the
1976         current working directory as described above.
1977         (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument.  Update
1978         calls to normalizeWebResourceURL().
1979         (serializeWebArchiveToXML): Removed now unused cwdURL variable.  Update calls to
1980         normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
1981
1982 2008-02-26  Robin Dunn <robin@alldunn.com>
1983
1984         Reviewed by Kevin Ollivier.
1985
1986         Improvements to the wx build script.
1987
1988         http://bugs.webkit.org/show_bug.cgi?id=17492
1989
1990         * wx/build-wxwebkit:
1991         - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
1992         - Allow the build script to properly find wxPython includes under different setups
1993         - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
1994
1995 2008-02-26  Timothy Hatcher  <timothy@apple.com>
1996
1997         Reviewed by Darin Adler.
1998
1999         * Scripts/build-webkit: Add --universal and --64-bit flags to make building
2000         64-bit architectures easy. Combine the two flags to build 4-way universal.
2001         * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
2002         non-zero when the build failes.
2003
2004 2008-02-26  Jessica Kahn  <jess@apple.com>
2005
2006         Reviewed by Darin.
2007
2008         * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
2009         so that Safari inherits it when launched. Preexisting code in WebKit checks this
2010         environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
2011         launched by Safari continue to use the standard system WebKit.
2012
2013 2008-02-25  Adam Roben  <aroben@apple.com>
2014
2015         Fix run-webkit-tests after r30394
2016
2017         * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
2018         executable name.
2019
2020 2008-02-24  Darin Adler  <darin@apple.com>
2021
2022         * Scripts/do-webcore-rename: Make some updates based on a trial run of
2023         the renaming script.
2024
2025 2008-02-24  Darin Adler  <darin@apple.com>
2026
2027         * Scripts/do-webcore-rename: More renaming plans.
2028
2029 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2030
2031         Rubber stamped by Darin.
2032
2033         Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
2034         whitespaces introduced in the previous commit.
2035
2036         * GNUmakefile.am:
2037
2038 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2039
2040         Rubber-stamped by Darin.
2041
2042         * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
2043
2044 2008-02-23  David Kilzer  <ddkilzer@apple.com>
2045
2046         Please clarify licensing for some files
2047         <http://bugs.webkit.org/show_bug.cgi?id=14970>
2048
2049         Reviewed by Darin.
2050
2051         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
2052         copyright statement.  Replaced license with newer Apple BSD-style license.
2053         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
2054         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
2055         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
2056         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
2057         * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
2058         * mangleme/LICENSE: Added (LGPL).
2059
2060 2008-02-22  Anders Carlsson  <andersca@apple.com>
2061
2062         Reviewed by Adam.
2063
2064         <rdar://problem/5748781> 
2065         https://bugs.webkit.org/show_bug.cgi?id=17413
2066         REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
2067         
2068         Copy the Java plug-in over to the new location.
2069         
2070         * FindSafari/FindSafari.cpp:
2071         (_tmain):
2072
2073 2008-02-22  Anders Carlsson  <andersca@apple.com>
2074
2075         Reviewed by Adam.
2076
2077         <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
2078         
2079         * DumpRenderTree/win/DumpRenderTree.cpp:
2080         (runTest):
2081         Init the URL request with the correct timeout.
2082
2083 2008-02-21  Mike Auty  <mike.auty@gmail.com>
2084
2085         Reviewed by Alp Toker.
2086
2087         http://bugs.webkit.org/show_bug.cgi?id=17445
2088         [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
2089
2090         GTK+/autotools build system improvements
2091
2092         The GNUmakefile.am files make use of the LDFLAGS variable to include library
2093         additions such as -ljpeg etc.  Unfortunately, if these inclusions aren't made
2094         in LIBADD/LDADD variables, then they are mis-ordered during the linking.
2095
2096         The as-needed flag discards libraries whose functions have not been needed by
2097         earlier libraries, which therefore makes the ordering important.
2098
2099         This moves all -l library inclusion statements from LDFLAGS variables to
2100         LIBADD/LDADD variables.
2101
2102         * GNUmakefile.am:
2103
2104 2008-02-20  Brent Fulgham  <bfulgham@gmail.com>
2105
2106         Reviewed by Alp.
2107
2108         - http://bugs.webkit.org/show_bug.cgi?id=17428
2109           Reenable a Windows-based launcher
2110
2111         This patch reenables the venerable Spinneret application,
2112         changing its name to match the other lanch applications.
2113
2114         * WinLauncher: Added.
2115         * WinLauncher/WinLauncher.cpp: Added.
2116         (WinLauncherWebHost::updateAddressBar):
2117         (WinLauncherWebHost::QueryInterface):
2118         (WinLauncherWebHost::AddRef):
2119         (WinLauncherWebHost::Release):
2120         (resizeSubViews):
2121         (_tWinMain):
2122         (MyRegisterClass):
2123         (InitInstance):
2124         (WndProc):
2125         (MyEditProc):
2126         (About):
2127         (loadURL):
2128         * WinLauncher/WinLauncher.h: Added.
2129         (WinLauncherWebHost::WinLauncherWebHost):
2130         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
2131         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2132         (WinLauncherWebHost::didFailProvisionalLoadWithError):
2133         (WinLauncherWebHost::didCommitLoadForFrame):
2134         (WinLauncherWebHost::didReceiveTitle):
2135         (WinLauncherWebHost::didReceiveIcon):
2136         (WinLauncherWebHost::didFinishLoadForFrame):
2137         (WinLauncherWebHost::didFailLoadWithError):
2138         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
2139         (WinLauncherWebHost::willPerformClientRedirectToURL):
2140         (WinLauncherWebHost::didCancelClientRedirectForFrame):
2141         (WinLauncherWebHost::willCloseFrame):
2142         (WinLauncherWebHost::windowScriptObjectAvailable):
2143         * WinLauncher/WinLauncher.ico: Added.
2144         * WinLauncher/WinLauncher.rc: Added.
2145         * WinLauncher/WinLauncher.vcproj: Added.
2146         * WinLauncher/resource.h: Added.
2147         * WinLauncher/small.ico: Added.
2148         * WinLauncher/stdafx.cpp: Added.
2149         * WinLauncher/stdafx.h: Added.
2150
2151 2008-02-19  Brady Eidson  <beidson@apple.com>
2152
2153         Reviewed by Geoff
2154
2155         Fixed a bug in DRT --threaded mode
2156
2157         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2158         (startJavaScriptThreads): Don't detach the newly created thread.  The later call to stopJavaScriptThreads() tries
2159           to pthread_join() each thread that had been created, but you can't join a detached thread!
2160
2161 2008-02-18  Brady Eidson  <beidson@apple.com>
2162
2163         Changes by Geoff Garen, Reviewed by Darin
2164
2165         Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
2166
2167         DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
2168
2169         [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
2170         This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread.  If the lock has leaked,
2171         this series of method calls will deadlock.  If things are good, it will complete successfully.
2172
2173         * DumpRenderTree/mac/ObjCController.m:
2174         (runJavaScriptThread):
2175         (+[ObjCController isSelectorExcludedFromWebScript:]):
2176         (+[ObjCController webScriptNameForSelector:]):
2177         (-[ObjCController testValueForKey]):
2178
2179 2008-02-18  Matt Lilek  <webkit@mattlilek.com>
2180
2181         Reviewed by Adam.
2182
2183         Remove FindSafari's Release configuration.
2184
2185         * FindSafari/FindSafari.vcproj:
2186
2187 2008-02-15  Adam Roben  <aroben@apple.com>
2188
2189         Fix a typo that broke the Mac build
2190
2191         Reviewed by Mark.
2192
2193         * Scripts/build-webkit:
2194
2195 2008-02-14  Adam Roben  <aroben@apple.com>
2196
2197         Turn on cross-document messaging support by default
2198
2199         Reviewed by Darin.
2200
2201         * Scripts/build-webkit:
2202
2203 2008-02-14  Adam Roben  <aroben@apple.com>
2204
2205         Conditionalize cross-document messaging support
2206
2207         The cross-document messaging parts of HTML 5 are in flux and we want
2208         ports to be able to turn off the support as needed.
2209
2210         Note that the support is turned off by default right now. A subsequent
2211         commit will turn it on by default.
2212
2213         Reviewed by Darin.
2214
2215         * Scripts/build-webkit:
2216
2217 2008-02-14  Darin Adler  <darin@apple.com>
2218
2219        - fix Windows build
2220
2221         * DumpRenderTree/win/UIDelegate.cpp:
2222         (UIDelegate::setStatusText): Update parameter types to match declaration.
2223
2224 2008-02-14  Oliver Hunt  <oliver@apple.com>
2225
2226         Reviewed by Geoff G and Weinig.
2227
2228         Add ability for DRT to report tests setting the status text.
2229
2230         * DumpRenderTree/LayoutTestController.cpp:
2231         (LayoutTestController::LayoutTestController):
2232         (dumpStatusCallbacksCallback):
2233         (LayoutTestController::staticFunctions):
2234         * DumpRenderTree/LayoutTestController.h:
2235         * DumpRenderTree/mac/UIDelegate.mm:
2236         (-[UIDelegate webView:setStatusText:]):
2237         * DumpRenderTree/win/UIDelegate.cpp:
2238         * DumpRenderTree/win/UIDelegate.h:
2239
2240 2008-02-13  Adam Roben  <aroben@apple.com>
2241
2242         Windows build fix
2243
2244         * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
2245
2246 2008-02-13  Adam Roben  <aroben@apple.com>
2247
2248         Windows/GTK+ build fix
2249
2250         * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
2251         get isnan.
2252
2253 2008-02-13  Brady Eidson  <beidson@apple.com>
2254
2255         Reviewed by Darin Adler
2256
2257         Add some much needed Database support to DRT
2258
2259         * DumpRenderTree/LayoutTestController.cpp:
2260         (LayoutTestController::LayoutTestController):
2261         (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
2262           databases are called
2263         (clearAllDatabasesCallback): Allow a test to delete all databases
2264         (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
2265         (LayoutTestController::staticFunctions):
2266
2267         * DumpRenderTree/LayoutTestController.h:
2268         (LayoutTestController::dumpDatabaseCallbacks):
2269         (LayoutTestController::setDumpDatabaseCallbacks):
2270
2271         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2272         (LayoutTestController::clearAllDatabases):
2273         (LayoutTestController::setDatabaseQuota):
2274
2275         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2276         (LayoutTestController::clearAllDatabases): Stubbed out
2277         (LayoutTestController::setDatabaseQuota): Ditto
2278         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2279         (LayoutTestController::clearAllDatabases): Stubbed out with error message
2280         (LayoutTestController::setDatabaseQuota): Ditto
2281
2282         * DumpRenderTree/mac/UIDelegate.mm:
2283         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
2284           message with details about the event then return a 5mb quota like before
2285
2286
2287 2008-02-12  Steve Falkenburg  <sfalken@apple.com>
2288
2289         Changes to support merged MIDL output.
2290
2291         All COM interfaces are now generated to WebKit.h.
2292
2293         Reviewed by Sam, Ada.
2294
2295         * Drosera/win/BaseDelegate.h:
2296         * Drosera/win/DebuggerClient.cpp:
2297         * Drosera/win/DebuggerDocumentPlatform.cpp:
2298         * Drosera/win/Drosera.cpp:
2299         * Drosera/win/ServerConnection.cpp:
2300         * Drosera/win/ServerConnection.h:
2301         * DumpRenderTree/win/DumpRenderTree.cpp:
2302         * DumpRenderTree/win/EditingDelegate.h:
2303         * DumpRenderTree/win/EventSender.cpp:
2304         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2305         * DumpRenderTree/win/FrameLoadDelegate.h:
2306         * DumpRenderTree/win/GCControllerWin.cpp:
2307         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2308         * DumpRenderTree/win/PolicyDelegate.h:
2309         * DumpRenderTree/win/ResourceLoadDelegate.h:
2310         * DumpRenderTree/win/UIDelegate.cpp:
2311         * DumpRenderTree/win/UIDelegate.h:
2312         * DumpRenderTree/win/WorkQueueItemWin.cpp:
2313
2314 2008-02-10  Dan Bernstein  <mitz@apple.com>
2315
2316         Reviewed by Oliver Hunt.
2317
2318         - fix a memory leak
2319
2320         * DumpRenderTree/cg/ImageDiffCG.cpp:
2321         (getDifferenceBitmap): Use a static CFMutableData instead of allocating
2322         and leaking the buffer each time.
2323
2324 2008-02-07  Adam Roben  <aroben@apple.com>
2325
2326         Fix error in bisect-builds when responding "broken" for the first
2327         build
2328
2329         Reviewed by Dave Kilzer.
2330
2331         * Scripts/bisect-builds: Only try to test the build if the nightly
2332         info for the current index has not been deleted.
2333
2334 2008-02-07  Geoffrey Garen  <ggaren@apple.com>
2335
2336         Reviewed by Alexey Proskuryakov.
2337
2338         Fixed two minor typos in the --root option, to get it working.
2339
2340         * Scripts/run-sunspider:
2341             1. Actually assign the function argument to our local variable.
2342             2. Actually set the $root variable, so we don't try to build later.
2343
2344 2008-02-05  Oliver Hunt  <oliver@apple.com>
2345
2346         RS=Eric.
2347
2348         Re-enable foreignObject by default as it is needed for a number of non-fO
2349         related SVG tests and none of the old known crashes occur anymore.
2350
2351         * Scripts/build-webkit:
2352
2353 2008-02-05  Steve Falkenburg  <sfalken@apple.com>
2354
2355         Build fix.  Don't override intermediate directory.
2356
2357         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2358
2359 2008-02-05  Holger Hans Peter Freyther  <zecke@selfish.org>
2360
2361         Build fix for Windows. willCloseFrame is a pure virtual and we are
2362         forced to have an implementation.
2363         
2364         This partially reverts r30014.
2365
2366         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2367         (FrameLoadDelegate::willCloseFrame):
2368         * DumpRenderTree/win/FrameLoadDelegate.h:
2369
2370 2008-02-05  Nikolas Zimmermann  <zimmermann@kde.org>
2371
2372         Reviewed by Holger.
2373
2374         Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
2375
2376         * Scripts/make-js-test-wrappers:
2377
2378 2008-02-05  Holger Freyther  <zecke@selfish.org>
2379
2380         Reviewed by Darin.
2381
2382         In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
2383         the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
2384         depends on the order the tests are executed.
2385         
2386         Propose to remove willCloseFrame and didlCearWindowObject output from the
2387         FrameLoadDelegate and update the test results. The output of didClearWindowObject
2388         is not interesting for any of the current tests and we have other ways to find
2389         out if a frame was closed or not.
2390
2391         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2392         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2393         (FrameLoadDelegate::didClearWindowObject):
2394         * DumpRenderTree/win/FrameLoadDelegate.h:
2395
2396 2008-02-04  Mark Rowe  <mrowe@apple.com>
2397
2398         Reviewed by Oliver Hunt.
2399
2400         Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
2401         Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
2402
2403         Don't install the signal handler unless we are running the pixel tests.
2404         It is currently only used to restore the color profile, but by catching
2405         signals we can trigger a deadlock in DRT while running leak tests.
2406         The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
2407         and a more complete fix will need to be developed to address this for
2408         pixel tests as well.
2409
2410         * DumpRenderTree/mac/DumpRenderTree.mm:
2411         (dumpRenderTree):
2412
2413 2008-02-04  Mark Rowe  <mrowe@apple.com>
2414
2415        Gtk qmake build fix.
2416
2417         * Scripts/webkitdirs.pm:  Fix perl's complaint about an odd number of elements in anonymous hash.
2418
2419 2008-02-04  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2420
2421         Reviewed by Alp Toker and Mark Rowe.
2422
2423         http://bugs.webkit.org/show_bug.cgi?id=16618
2424         [GTK] build-webkit and run-webkit-tests autootools support
2425
2426         * Scripts/build-webkit: added --database and --icon-database options
2427         * Scripts/run-launcher:
2428         * Scripts/run-webkit-tests:
2429         * Scripts/webkitdirs.pm:
2430
2431 2008-02-04  Oliver Hunt  <oliver@apple.com>
2432
2433         Reviewed by Steve F.
2434
2435         Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
2436
2437         Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
2438         Issues include:
2439           * Uses Sleep() to implement leapForward reliably.
2440           * 3 DND tests still fail for reasons that i have not yet determined
2441           * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain 
2442
2443         * DumpRenderTree/win/EventSender.cpp:
2444         (leapForwardCallback):
2445         (mouseDownCallback):
2446         (doMouseUp):
2447         (mouseUpCallback):
2448         (doMouseMove):
2449         (mouseMoveToCallback):
2450           Minor updates to these functions to handle the different message queue structure.
2451
2452         (replaySavedEvents):
2453           More complicated now.  Where possible we just use the old while-loop model of execution,
2454           but when leapForward has been used we have to jump through some hoops and set up an 
2455           inner event loop so that we can ensure messages get the correct time stamp.
2456
2457         * DumpRenderTree/win/UIDelegate.cpp:
2458         (UIDelegate::doDragDrop):
2459           Call replaySavedEvents directly to force synchronous handling of drag and drop.
2460
2461 2008-02-04  Rodney Dawes  <dobey@wayofthemonkey.com>
2462
2463         Reviewed by Alp Toker and Mark Rowe.
2464
2465         Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
2466         Bug 17175: Use of C++ compiler flags in CFLAGS
2467
2468         * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
2469
2470 2008-02-04  Darin Adler  <darin@apple.com>
2471
2472         Reviewed by Geoff.
2473
2474         * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
2475         and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
2476         subdirectory.
2477
2478 2008-02-04  Adam Roben  <aroben@apple.com>
2479
2480         Windows Apple-only build fix
2481
2482         * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
2483         directory.
2484
2485 2008-02-04  Alp Toker  <alp@atoker.com>
2486
2487         Rubber-stamped by Mark Rowe.
2488
2489         Remove all trailing whitespace in the GTK+ port and related
2490         components.
2491
2492         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2493         * DumpRenderTree/gtk/GCControllerGtk.cpp:
2494         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2495         * GNUmakefile.am:
2496
2497 2008-02-01  Eric Seidel  <eric@webkit.org>
2498
2499         Reviewed by Oliver.
2500
2501         Also search LayoutTests/svg for js-based tests.
2502
2503         * Scripts/make-js-test-wrappers:
2504
2505 2008-01-31  Alp Toker  <alp@atoker.com>
2506
2507         Rubber-stamped by Adam Roben.
2508
2509         http://bugs.webkit.org/show_bug.cgi?id=17006
2510         [GTK] Header path should be webkit/webkit.h
2511
2512         Move the GTK+ API sources as needed and update the build systems.
2513
2514         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2515         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2516         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2517         * GNUmakefile.am:
2518         * GtkLauncher/main.c:
2519
2520 2008-01-30  Stephanie  <slewis@apple.com>
2521
2522         Reviewed by Geoff.
2523
2524         Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth.  This should make it easier for the buildbots to track new leaks.
2525
2526         * Scripts/run-webkit-tests:
2527
2528 2008-01-30  Alexey Proskuryakov  <ap@webkit.org>
2529
2530         Reviewed by Adam Roben.
2531
2532         One more debug (external) fix.
2533
2534         * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
2535         and Debug configurations. 
2536
2537 2008-01-29  Geoffrey Garen  <ggaren@apple.com>
2538
2539         Reviewed by Sam Weinig. Sam Weinig.
2540         
2541         Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
2542         fails when run after fast/dom/Window/window-property-shadowing.html (16902)
2543
2544         Modified our policy delegates not to output window.name. Since a
2545         previous test may have explicitly set window.name, we can't rely on its
2546         implicit value in test results.
2547
2548         * DumpRenderTree/mac/PolicyDelegate.mm:
2549         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2550
2551         * DumpRenderTree/win/PolicyDelegate.cpp:
2552         (PolicyDelegate::decidePolicyForNavigationAction):
2553
2554 2008-01-29  Mark Rowe  <mrowe@apple.com>
2555
2556         Reviewed by Tim Hatcher.
2557
2558         <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
2559
2560         * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
2561
2562 2008-01-29  David Kilzer  <ddkilzer@apple.com>
2563
2564         Refactor ChangeLog path code
2565
2566         Reviewed by Adam.
2567
2568         * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
2569         duplicate code in another foreach() loop.
2570
2571 2008-01-29  Alexey Proskuryakov  <ap@webkit.org>
2572
2573         Reviewed by Darin.
2574
2575         <rdar://problem/5710692> All storage tests fail/crash
2576
2577         * DumpRenderTree/mac/UIDelegate.mm:
2578         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
2579         arbitrary quota of 5 megabytes.
2580
2581         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2582         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
2583         Removed unused (I think) code.
2584         
2585         * DumpRenderTree/win/UIDelegate.cpp:
2586         (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
2587         (UIDelegate::webViewPainted): A stub implementation.
2588         (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
2589         * DumpRenderTree/win/UIDelegate.h:
2590
2591 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2592
2593         GTK+ DRT build fix for breakage introduced in r29822.
2594
2595         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2596         (LayoutTestController::setPersistentUserStyleSheetLocation):
2597         (LayoutTestController::clearPersistentUserStyleSheet):
2598
2599 2008-01-27  Dan Bernstein  <mitz@apple.com>
2600
2601         Reviewed by Darin Adler.
2602
2603         - add support for directory prologues and epilogues to run-webkit-tests
2604         - allow setting a persistent user style sheet in DumpRenderTree
2605         - activate the WebKit Layout Tests font in Windows DumpRenderTree
2606
2607         * DumpRenderTree/LayoutTestController.cpp:
2608         (clearPersistentUserStyleSheetCallback): Added.
2609         (setPersistentUserStyleSheetLocationCallback): Added.
2610         (LayoutTestController::staticFunctions): Added.
2611         clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
2612         * DumpRenderTree/LayoutTestController.h:
2613         * DumpRenderTree/mac/DumpRenderTree.mm:
2614         (setPersistentUserStyleSheetLocation): Added.
2615         (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
2616         to the set of things this function resets. Now it either disables the
2617         user style sheet or sets it to the persistent user style sheet and
2618         enables it.
2619         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2620         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2621         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2622         (LayoutTestController::clearPersistentUserStyleSheet): Added.
2623         * DumpRenderTree/win/DumpRenderTree.cpp:
2624         (setPersistentUserStyleSheetLocation): Added.
2625         (initialize): Added the WebKit Layout Tests font to the set of fonts to
2626         install.
2627         (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
2628         * DumpRenderTree/win/DumpRenderTreeWin.h:
2629         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2630         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2631         (LayoutTestController::clearPersistentUserStyleSheet): Added.
2632         * Scripts/run-webkit-tests: Changed to look for, and if found process in
2633         DumpRenderTree, files named run-webkit-tests-prologue.html and
2634         run-webkit-tests-epilogue.html in the resources subdirectory of any
2635         test directory and platform test results directory. The prologues are
2636         processed before the first test from the directory (and its
2637         subdirectories) is run, and the epilogues are processed after the last
2638         test from the directory is run. Platform-specific prologues and
2639         epilogues are processed in order of specificity.
2640
2641 2008-01-25  Alexey Proskuryakov  <ap@webkit.org>
2642
2643         Reviewed by Mark Rowe.
2644
2645         <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
2646
2647         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
2648         (matching Mac DRT).
2649         * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
2650
2651 2008-01-24  Sam Weinig  <sam@webkit.org>
2652
2653         Reviewed by Ada Chan.
2654
2655         Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
2656
2657         - Adds simplified UndoManager to windows DRT to allow testing the
2658           undo/redo code paths in WebCore and WebKit.  This is a temporary
2659           solution to an issue that should eventually be solved by having a
2660           shared UndoManager in WebKit.
2661
2662         * DumpRenderTree/win/DumpRenderTree.cpp:
2663         (runTest):
2664         * DumpRenderTree/win/UIDelegate.cpp:
2665         (DRTUndoObject::DRTUndoObject):
2666         (DRTUndoObject::invoke):
2667         (DRTUndoStack::~DRTUndoStack):
2668         (DRTUndoStack::isEmpty):
2669         (DRTUndoStack::clear):
2670         (DRTUndoStack::push):
2671         (DRTUndoStack::pop):
2672         (DRTUndoManager::canRedo):
2673         (DRTUndoManager::canUndo):
2674         (DRTUndoManager::DRTUndoManager):
2675         (DRTUndoManager::removeAllActions):
2676         (DRTUndoManager::registerUndoWithTarget):
2677         (DRTUndoManager::redo):
2678         (DRTUndoManager::undo):
2679         (UIDelegate::UIDelegate):
2680         (UIDelegate::resetUndoManager):
2681         (UIDelegate::registerUndoWithTarget):
2682         (UIDelegate::removeAllActionsWithTarget):
2683         (UIDelegate::setActionTitle):
2684         (UIDelegate::undo):
2685         (UIDelegate::redo):
2686         (UIDelegate::canUndo):
2687         (UIDelegate::canRedo):
2688         * DumpRenderTree/win/UIDelegate.h:
2689
2690 2008-01-23  Adam Roben  <aroben@apple.com>
2691
2692         Allow directories containing ChangeLogs to be passed to
2693         resolve-ChangeLogs
2694
2695         Reviewed by David Kilzer.
2696
2697         * Scripts/resolve-ChangeLogs:
2698         (sub findChangeLog): Return a ChangeLog contained within the specified
2699         directory if one exists.
2700
2701 2008-01-23  Steve Falkenburg  <sfalken@apple.com>
2702
2703         <rdar://problem/5698732> Copyright strings should include 2008
2704
2705         Reviewed by Sam.
2706
2707         * Drosera/win/Drosera.vcproj/Drosera.rc:
2708         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
2709
2710 2008-01-23  Alp Toker  <alp@atoker.com>
2711
2712         Rubber-stamped by Mark Rowe.
2713
2714         Remove whitespace after -I in automake include lists.
2715
2716         * GNUmakefile.am:
2717
2718 2008-01-23  Michael Goddard <michael.goddard@trolltech.com>
2719
2720         Reviewed by Lars Knoll <lars@trolltech.com>.
2721
2722         Reworked the JavaScriptCore Qt bindings:
2723         
2724         * Update JS DRT controller for Qt JS binding changes.
2725         There were two functions that needed some changes
2726         so that the layout tests would work, so this makes
2727         a few tests pass again.
2728         
2729         * Bump the timeout for layout tests up to 11s.
2730         At least some tests have an internal timeout of
2731         10 seconds, so make the waitUntilDone approach
2732         wait at least 11s.  fast/dom/open-and-close-by-DOM.html
2733         is one of these - now the failure message is more
2734         accurate.
2735         
2736
2737         * DumpRenderTree/qt/jsobjects.cpp:
2738         (LayoutTestController::waitUntilDone):
2739         * DumpRenderTree/qt/jsobjects.h:
2740
2741 2008-01-22  Anders Carlsson  <andersca@apple.com>
2742
2743         Reviewed by Darin and Adam.
2744
2745         <rdar://problem/5688975>
2746         div element on microsoft site has wrong left offset.
2747         
2748         Add new method for testing the return vale of NPN_GetProperty.
2749         
2750         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2751         (pluginInvoke):
2752
2753 2008-01-22  Alexey Proskuryakov  <ap@webkit.org>
2754
2755         Reviewed by Adam Roben.
2756
2757         <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
2758
2759         * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
2760
2761 2008-01-21  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2762
2763         Reviewed by Alp Toker.
2764
2765         http://bugs.webkit.org/show_bug.cgi?id=16955
2766         Get errors when cross-compile webkit-gtk
2767
2768         * GNUmakefile.am: Removed ICU_CFLAGS 
2769
2770 2008-01-21  Darin Adler  <darin@apple.com>
2771
2772         Reviewed by Mitz and Adam.
2773
2774         * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
2775         sorting speed by doing all sort criteria in a single pass instead of three sorts.
2776
2777 2008-01-21  Simon Hausmann  <hausmann@webkit.org>
2778
2779         Reviewed by Holger.
2780
2781         Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
2782         
2783         * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
2784         * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
2785         and make the return value depend on whether we successfully determined a focusable
2786         node or not.
2787         * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
2788         if we could not handle the focus chain ourselves.
2789         * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
2790         * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
2791         used to control the situation of stepping out of the focus chain inside the page.
2792         * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
2793         The layout tests expect this to be disabled but for the user it seems sensible to have it
2794         on by default, hence the default in qwebsettings.cpp
2795         
2796
2797         * DumpRenderTree/qt/DumpRenderTree.cpp:
2798         (WebCore::WebPage::WebPage):
2799
2800 2008-01-19  Mark Rowe  <mrowe@apple.com>
2801
2802         Reviewed by Alp Toker.
2803
2804         Allow the --http flag to run-webkit-tests to override
2805         the default behaviour of disabling HTTP tests for Qt,
2806         Gtk and Wx.
2807
2808         * Scripts/run-webkit-tests:
2809
2810 2008-01-19  David Kilzer  <ddkilzer@apple.com>
2811
2812         <rdar://problem/5695344> check-for-global-initializers script never checks any object files
2813
2814         Reviewed by Darin.
2815
2816         We now touch a check-for-global-initializers.timestamp file in
2817         the TARGET_TEMP_DIR directory to determine when new object files
2818         have been compiled and thus need to be checked.  If the timestamp
2819         file doesn't exist, all object files will be checked.
2820
2821         Previously the modification time of the "executable" (the
2822         framework binary, e.g., WebKit.framework/WebKit) was used, but
2823         since this was the last file modified at the end of the compile
2824         phase, no object files would ever get checked!
2825
2826         Also added JSCustomSQLTransactionCallback.o to the list of files
2827         since it has static initializers in Debug builds of WebCore.
2828
2829         * Scripts/check-for-global-initializers:
2830
2831 2008-01-18  Adam Roben  <aroben@apple.com>
2832
2833         Build fix
2834
2835         * Scripts/build-webkit:
2836
2837 2008-01-18  Beth Dakin  <bdakin@apple.com>
2838
2839         Reviewed by Oliver.
2840
2841         Update build-webkit to account for foreign-object being disabled by 
2842         default.
2843
2844         * Scripts/build-webkit:
2845
2846 2008-01-18  Adam Roben  <aroben@apple.com>
2847
2848         Updated for method renames
2849
2850         Reviewed by Adele.
2851
2852         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2853         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2854         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2855         (LayoutTestController::setMainFrameIsFirstResponder):
2856         (LayoutTestController::setWindowIsKey):
2857         * DumpRenderTree/mac/UIDelegate.mm:
2858         (-[UIDelegate webViewFocus:]):
2859         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2860         (FrameLoadDelegate::didCommitLoadForFrame):
2861
2862 2008-01-18  Alexey Proskuryakov  <ap@webkit.org>
2863
2864         Reviewed by Adam Roben.
2865
2866         Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
2867         between DRT and TestNetscapePlugin.
2868
2869         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
2870         * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
2871
2872 2008-01-18  Simon Hausmann  <hausmann@webkit.org>
2873
2874         Reviewed by Holger.
2875
2876         Fix fast/dom/Window/window-resize.html
2877         
2878         In DRT connect the page's geometryChangeRequest signal to a slot that
2879         sets the geometry of the view widget.
2880         
2881
2882         * DumpRenderTree/qt/DumpRenderTree.cpp:
2883         (WebCore::WebPage::setViewGeometry):
2884         (WebCore::WebPage::WebPage):
2885
2886 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
2887
2888         Build fix.
2889
2890         * Drosera/DroseraWin.make:
2891
2892 2008-01-17  Darin Adler  <darin@apple.com>
2893
2894         * Scripts/run-webkit-tests: Fixed a bug number.
2895
2896 2008-01-17  Alexey Proskuryakov  <ap@webkit.org>
2897
2898         Reviewed by Adam Roben.
2899
2900         http://bugs.webkit.org/show_bug.cgi?id=16908
2901         run-webkit-tests complains about missing FindSafari.exe
2902
2903         * Scripts/webkitdirs.pm: Append _debug as appropriate.
2904
2905 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
2906
2907         Re-add DEBUG_WEBKIT_HAS_SUFFIX.
2908         
2909         Rubber-stamped by Jon Honeycutt.
2910
2911         * DumpRenderTree/win/DumpRenderTree.vcproj:
2912
2913 2008-01-16  Alp Toker  <alp@atoker.com>
2914
2915         Reviewed by Mark Rowe.
2916
2917         http://bugs.webkit.org/show_bug.cgi?id=16218
2918         [GTK] API: Should this entry point be called go_back rather than go_backward?
2919
2920         Track back/forward API changes in the tools.
2921
2922         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2923         (BackForwardItem::invoke):
2924         * GtkLauncher/main.c:
2925         (go_back_cb):
2926
2927 2008-01-16  Adam Roben  <aroben@apple.com>
2928
2929         Windows build fix after r29488
2930
2931         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2932         Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
2933         expects to find the plugin.
2934
2935 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
2936
2937         Reviewed by Sam Weinig.
2938         
2939         Fixed the waitUntilDone watchdog timer -- the old code never added the
2940         timer to the run loop, so it didn't do anything.
2941
2942         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2943         (LayoutTestController::setWaitToDump):
2944         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2945         (LayoutTestController::setWaitToDump):
2946
2947 2008-01-14  Steve Falkenburg  <sfalken@apple.com>
2948
2949         Use shared vsprops for most vcproj properties.
2950         
2951         Reviewed by Darin.
2952
2953         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2954         * DumpRenderTree/win/DumpRenderTree.vcproj:
2955         * DumpRenderTree/win/ImageDiff.vcproj:
2956         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2957         * FindSafari/FindSafari.vcproj:
2958
2959 2008-01-14  Stephanie  <slewis@apple.com>
2960
2961        Reviewed by NOBODY.
2962   
2963        revert accidental character.
2964
2965        * Scripts/run-webkit-tests:
2966
2967 2008-01-14  Stephanie  <slewis@apple.com>
2968
2969         RS=Oliver
2970
2971         add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
2972
2973         * Scripts/run-webkit-tests:
2974
2975 2008-01-14  Darin Adler  <darin@apple.com>
2976
2977         * Scripts/do-webcore-rename: Queue up another rename.
2978
2979 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2980
2981         Reviewed by Darin.
2982
2983         * Allow to run the tests in reverse order to spot test cases where the result depends on the order
2984         the tests were ran.
2985         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2986
2987         * Scripts/run-webkit-tests:
2988
2989 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2990
2991         Reviewed by Darin.
2992
2993         * Randomize tests array to spot test cases where the results depends on the order
2994         the tests are ran.
2995         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2996
2997         * Scripts/run-webkit-tests:
2998
2999 2008-01-14  Darin Adler  <darin@apple.com>
3000
3001         * Scripts/run-webkit-tests: More ignore list tweaking.
3002
3003 2008-01-14  Darin Adler  <darin@apple.com>
3004
3005         * Scripts/run-webkit-tests: Add another leak to the ignore list.
3006
3007 2008-01-14  Dan Bernstein  <mitz@apple.com>
3008
3009         Reviewed by Adam Roben.
3010
3011         - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
3012           build bots
3013
3014         * DumpRenderTree/win/DumpRenderTree.cpp:
3015         (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
3016
3017 2008-01-13  Steve Falkenburg  <sfalken@apple.com>
3018
3019         Share common files across projects.
3020         
3021         Unify vsprops files
3022         Debug:          common.vsprops, debug.vsprops
3023         Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
3024         Release:        common.vsprops, release.vsprops
3025         
3026         Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
3027         debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
3028
3029         Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
3030
3031         Reviewed by Adam Roben.
3032
3033         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3034         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
3035         * Drosera/win/Drosera.vcproj/VERSION: Removed.
3036         * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
3037         * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
3038         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
3039         * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
3040         * DumpRenderTree/win/DumpRenderTree.vcproj:
3041         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3042         * DumpRenderTree/win/debug.vsprops: Removed.
3043         * DumpRenderTree/win/debug_internal.vsprops: Removed.
3044         * DumpRenderTree/win/release.vsprops: Removed.
3045
3046 2008-01-13  Brent Fulgham  <bfulgham@gmail.com>
3047
3048         Reviewed by Maciej.
3049
3050         - http://bugs.webkit.org/show_bug.cgi?id=16314
3051           Script to launch Drosera
3052
3053         * Scripts/gdb-drosera: Added.
3054         * Scripts/run-drosera: Added.
3055         * Scripts/run-drosera-nightly.cmd: Added.
3056         * Scripts/webkitdirs.pm: Added runDrosera function.
3057
3058 2008-01-13  Dan Bernstein  <mitz@apple.com>
3059
3060         - fix breakage due to last-minute change
3061
3062         * DumpRenderTree/win/DumpRenderTree.cpp:
3063         (runTest): Declare the loop variable.
3064
3065 2008-01-13  Dan Bernstein  <mitz@apple.com>
3066
3067         Reviewed by Adam Roben.
3068
3069         - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
3070
3071         * DumpRenderTree/win/DumpRenderTree.cpp:
3072         (DumpRenderTreeWndProc):
3073         (initialize):
3074         (dumpBackForwardList):
3075         (dumpBackForwardListForAllWindows):
3076         (dump):
3077         (resetWebViewToConsistentStateBeforeTesting): Factored out of
3078         runTest().
3079         (runTest):
3080         (allWindows): Added. Returns a vector of all open windows.
3081         (windowToWebViewMap): Added. Returns a map from open windows to their
3082         WebViews.
3083         (createWebViewAndOffscreenWindow): Factored out of main() to be
3084         reusable for creating extra windows.
3085         (main):
3086         * DumpRenderTree/win/DumpRenderTreeWin.h:
3087         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3088         (LayoutTestController::windowCount): Implemented.
3089         * DumpRenderTree/win/UIDelegate.cpp:
3090         (UIDelegate::createWebViewWithRequest): Implemented.
3091         (UIDelegate::webViewClose): Implemented.
3092         * DumpRenderTree/win/UIDelegate.h:
3093
3094 2008-01-12  Alp Toker  <alp@atoker.com>
3095
3096         Reviewed by Mark Rowe.
3097
3098         Hide non-public symbols in GTK+/autotools release builds.
3099
3100         * GNUmakefile.am:
3101
3102 2008-01-12  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
3103
3104         Reviewed by Ap.
3105
3106         * Make launching of the WebKit httpd work on GNU/Debian/Linux
3107         
3108         The configuration of Apache2 and installation does not depend on
3109         the kernel but on the distribution policy. Make launching of httpd
3110         work for Debian derived distributions.
3111
3112         * Scripts/run-webkit-httpd:
3113         * Scripts/run-webkit-tests:
3114         * Scripts/webkitdirs.pm:
3115
3116 2008-01-12  Mark Rowe  <mrowe@apple.com>
3117
3118         Reviewed by Maciej Stachowiak.
3119
3120         Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
3121
3122         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
3123         match the callers expectations that it can take ownership of the string.
3124
3125 2008-01-11  Alexey Proskuryakov  <ap@webkit.org>
3126
3127         Reviewed by Adam Roben.
3128
3129         <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
3130
3131         * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
3132         as these are only posted because the test window is not a normal visible one, and
3133         they confuse drag&drop machinery.
3134
3135 2008-01-11  Adam Roben  <aroben@apple.com>
3136
3137         Fix a crash when pathToLocalResource fails and a leak
3138
3139         Reviewed by Darin.
3140
3141         * DumpRenderTree/LayoutTestController.cpp:
3142         (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
3143         sure not to pass null to JSValueMakeString.
3144         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3145         (LayoutTestController::pathToLocalResource): Print an error message if
3146         the conversion fails so it's clear what happened.
3147
3148 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
3149
3150         Reviewed by John Sullivan.
3151
3152         * DumpRenderTree/mac/GCControllerMac.mm:
3153         (GCController::collectOnAlternateThread): Updated for name change.
3154
3155 2008-01-10  Kevin Ollivier  <kevino@theolliviers.com>
3156
3157         wx build fix. Don't build dftables any longer since it's now a Perl
3158         script.
3159
3160         * wx/build-wxwebkit:
3161
3162 2008-01-10  Sam Weinig  <sam@webkit.org>
3163
3164         Reviewed by Anders Carlsson.
3165
3166         Make DRT track open windows instead of allocated windows so that
3167         we can avoid ASSERTION due to late deallocs out of our control.
3168
3169         * DumpRenderTree/mac/DumpRenderTree.mm:
3170         (dumpBackForwardListForAllWindows):
3171         (runTest):
3172         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3173         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
3174         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3175         (+[DumpRenderTreeWindow openWindows]):
3176         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
3177         (-[DumpRenderTreeWindow close]):
3178         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3179         (LayoutTestController::windowCount):
3180
3181 2008-01-10  Ada Chan  <adachan@apple.com>
3182
3183         Meta key is not the same as Alt key on windows.
3184
3185         Reviewed by Darin.
3186
3187         * DumpRenderTree/win/EventSender.cpp:
3188         (keyDownCallback):
3189
3190 2008-01-09  Kevin McCullough  <kmccullough@apple.com>
3191
3192         Reviewed by Darin, Sam and Adam.
3193
3194         -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
3195         link in gmail message displays JavaScript alert falsely complaining
3196         about pop-up blocking.
3197         - Added the ability to enable the pop-up blocker via the
3198         LayoutTestController.
3199
3200         * DumpRenderTree/LayoutTestController.cpp:
3201         (setPopupBlockingEnabledCallback):
3202         (LayoutTestController::staticFunctions):
3203         * DumpRenderTree/LayoutTestController.h:
3204         * DumpRenderTree/mac/DumpRenderTree.mm:
3205         (setDefaultsToConsistentValuesForTesting):
3206         (resetWebViewToConsistentStateBeforeTesting):
3207         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3208         (LayoutTestController::setPopupBlockingEnabled):
3209
3210 2008-01-10  Lars Knoll  <lars@trolltech.com>
3211
3212         Reviewed by Simon.
3213
3214         rename QWebPageHistory to QWebHistory.
3215         
3216
3217         * DumpRenderTree/qt/jsobjects.cpp:
3218
3219 2008-01-09  Maciej Stachowiak  <mjs@apple.com>
3220
3221         Reviewed by Darin.
3222         
3223         - add some more renames, adjust some
3224
3225         * Scripts/do-webcore-rename:
3226
3227 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
3228
3229         Reviewed by Oliver.
3230
3231         Enable SVG Fonts support by default.
3232
3233         * Scripts/build-webkit:
3234
3235 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
3236
3237         Reviewed by Adam.
3238
3239         Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
3240         DRT doesn't handle platform specific pixel test results correctly.
3241
3242         <test>-expected.txt files and <test>-expected.png files may now live
3243         in different directories (ie. a cross-platform <test>-expected.txt file
3244         and a platform-specific <test>-expected.png file).
3245
3246         * Scripts/run-webkit-tests:
3247
3248 2008-01-04  Kevin McCullough  <kmccullough@apple.com>
3249
3250         Reviewed by Darin.
3251
3252         - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
3253         DRT did not correctly handle printing the '\0' char.  Now it does.
3254
3255         * DumpRenderTree/win/DumpRenderTree.cpp:
3256         (dumpFramesAsText):
3257         (dump):
3258
3259 2008-01-07  Simon Hausmann  <hausmann@webkit.org>
3260
3261         Reviewed by Lars.
3262
3263         Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
3264         
3265
3266         * DumpRenderTree/qt/main.cpp:
3267         * DumpRenderTree/qt/testplugin.cpp:
3268         * DumpRenderTree/qt/testplugin.h:
3269
3270 2008-01-05  Mark Rowe  <mrowe@apple.com>
3271
3272         Reviewed by Alp Toker.
3273
3274         Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
3275
3276         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3277         (processWork): Process pending work.
3278         (webViewLoadFinished): Schedule processing of pending work.
3279         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
3280
3281 2008-01-05  Darin Adler  <darin@apple.com>
3282
3283         * Scripts/do-webcore-rename: Some more renaming plans.
3284
3285 2008-01-04  Alice Liu  <alice.liu@apple.com>
3286
3287         Reviewed by Alexey and Darin.
3288
3289         Adding "home" and "end" to DRT's keydown since
3290         DOM key events can't handle keyIdentifiers at this point. 
3291
3292         * DumpRenderTree/mac/EventSendingController.mm:
3293         (-[EventSendingController keyDown:withModifiers:]):
3294         * DumpRenderTree/win/EventSender.cpp:
3295         (keyDownCallback):
3296
3297 2008-01-04  Lars Knoll  <lars@trolltech.com>
3298
3299         Reviewed by Simon.
3300
3301         fix DRT after the changes to QWebPage.
3302         
3303         The great thing is that we actually don't have
3304         any regressions from the QWebPage change :)
3305         
3306
3307         * DumpRenderTree/qt/DumpRenderTree.cpp:
3308         (WebCore::DumpRenderTree::DumpRenderTree):
3309
3310 2008-01-04  Lars Knoll  <lars@trolltech.com>
3311
3312         Reviewed by Simon.
3313
3314         make QWebPage a QObject and get things to compile.
3315         
3316         Nothing works currently though.
3317         
3318
3319         * DumpRenderTree/qt/DumpRenderTree.cpp:
3320         (WebCore::DumpRenderTree::DumpRenderTree):
3321
3322 2008-01-04  Lars Knoll  <lars@trolltech.com>
3323
3324         Reviewed by Simon.
3325
3326         take a QString as identifier in QWebFrame::addToJSWindowObject.
3327
3328         * DumpRenderTree/qt/DumpRenderTree.cpp:
3329         (WebCore::DumpRenderTree::initJSObjects):
3330
3331 2008-01-04  Alp Toker  <alp@atoker.com>
3332
3333         GTK+ DRT build fix for breakage introduced in r29149.
3334
3335         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3336         (LayoutTestController::execCommand):
3337
3338 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
3339
3340         Reviewed by Darin.
3341
3342         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
3343
3344         Added layoutTestController.execCommand to access editor commands that are not available
3345         via document.execCommand.
3346
3347         * DumpRenderTree/LayoutTestController.cpp:
3348         (execCommandCallback):
3349         (LayoutTestController::staticFunctions):
3350         * DumpRenderTree/LayoutTestController.h:
3351         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3352         (LayoutTestController::execCommand):
3353         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3354         (LayoutTestController::queueLoad):
3355         (LayoutTestController::execCommand):
3356
3357 2008-01-03  Alice Liu  <alice.liu@apple.com>
3358
3359         Reviewed by Darin, Mitz.
3360
3361         fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
3362
3363         the clickcount should not increase if the last click was at a different location.  it's a new click.
3364
3365         * DumpRenderTree/mac/DumpRenderTree.mm:
3366         (runTest):
3367         * DumpRenderTree/mac/EventSendingController.h:
3368         * DumpRenderTree/mac/EventSendingController.mm:
3369         (-[EventSendingController mouseDown]):
3370         (-[EventSendingController mouseUp]):
3371
3372 2008-01-03  Darin Adler  <darin@apple.com>
3373
3374         Reviewed by Adam.
3375
3376         * Scripts/update-webkit: Make this work a little better for the people at Apple
3377         who have a directory named Internal.
3378
3379 2008-01-03  Adam Roben  <aroben@apple.com>
3380
3381         Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
3382
3383         Rubberstamped by Mark.
3384
3385         * Scripts/update-webkit-auxiliary-libs:
3386
3387 2008-01-03  Adam Roben  <aroben@apple.com>
3388
3389         Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
3390
3391         http://bugs.webkit.org/show_bug.cgi?id=15663
3392
3393         Added a fuzz factor into the Last-Modified comparison for downloading
3394         WebKitAuxiliaryLibrary.zip.
3395
3396         The zip file is served from a set of mirrors who give Last-Modified
3397         times that are off by 1-3 seconds from each other. This was causing
3398         the build bots to redownload WebKitAuxiliaryLibrary for every build,
3399         which would then cause all of WebCore to rebuild each time.
3400
3401         Reviewed by Mark.
3402
3403         * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
3404         at least 30 seconds newer than the old one -- otherwise we assume that
3405         the difference in time is due to the mirrors being slightly offset
3406         from each other.
3407         (sub lastModifiedToUnixTime): Added.
3408
3409 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
3410
3411         Windows build fix.
3412
3413         * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
3414
3415 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
3416
3417         Reviewed by Lars.
3418
3419         Moved QWebPage::open to QWebFrame::load and added setHtml.
3420         
3421
3422         * DumpRenderTree/qt/DumpRenderTree.cpp:
3423         (WebCore::DumpRenderTree::open):
3424
3425 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
3426
3427         Reviewed by Lars.
3428
3429         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
3430         
3431
3432         * DumpRenderTree/qt/DumpRenderTree.cpp:
3433         (WebCore::DumpRenderTree::DumpRenderTree):
3434
3435 2008-01-02  Sam Weinig  <sam@webkit.org>
3436
3437         * Scripts/do-webcore-rename: Yet more renaming ideas.
3438
3439 2008-01-02  Darin Adler  <darin@apple.com>
3440
3441         * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
3442
3443 2008-01-02  Alice Liu  <alice.liu@apple.com>
3444
3445         Reviewed by Sam Weinig.
3446
3447         fixing assertion hit with editing/selection/move-begin-end.html
3448
3449         * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
3450         * DumpRenderTree/win/DumpRenderTree.vcproj:
3451         * DumpRenderTree/win/EventSender.cpp:
3452         (keyDownCallback):
3453         using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
3454
3455 2008-01-02  Darin Adler  <darin@apple.com>
3456
3457         * Scripts/do-webcore-rename: Some more name change plans.
3458
3459 2008-01-02  Alice Liu  <alice.liu@apple.com>
3460
3461         Reviewed by Maciej.
3462
3463         Added handling for page up and page down in EventSender
3464
3465         * DumpRenderTree/mac/EventSendingController.mm:
3466         (-[EventSendingController keyDown:withModifiers:]):
3467         * DumpRenderTree/win/EventSender.cpp:
3468         (keyDownCallback):
3469
3470 2008-01-02  Alexey Proskuryakov  <ap@webkit.org>
3471
3472         Reviewed by Darin.
3473
3474         Fix fast/events/arrow-keys-on-body.html for real.
3475
3476         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
3477
3478 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
3479
3480         Reviewed by Darin.
3481
3482         http://bugs.webkit.org/show_bug.cgi?id=16674
3483         [GTK] run-launcher sets wrong LD_LIBRARY_PATH
3484
3485         * Scripts/run-launcher:
3486
3487 2007-12-31  Darin Adler  <darin@apple.com>
3488
3489         Suggested by Antti.
3490
3491         * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
3492         we get it installed on the build bots.
3493
3494 2007-12-30  Eric Seidel  <eric@webkit.org>
3495
3496         Reviewed by Sam.
3497
3498         * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
3499
3500 2007-12-29  Darin Adler  <darin@apple.com>
3501
3502         Reviewed by Oliver.
3503
3504         - fix http://bugs.webkit.org/show_bug.cgi?id=16663
3505           leak bot shows createCStringFromNPVariant result leaking
3506
3507         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3508         (pluginInvoke): Added a missing free.
3509
3510 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
3511
3512         Reviewed by Alp Toker.
3513
3514         http://bugs.webkit.org/show_bug.cgi?id=16390
3515         Use autotools or GNU make as the build system for the GTK port
3516
3517         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
3518         * GNUmakefile.am: Added.
3519
3520 2007-12-24  Alexey Proskuryakov  <ap@webkit.org>
3521
3522         Reviewed by Oliver.
3523
3524         Fix fast/events/arrow-keys-on-body.html, failing on Windows.
3525
3526         * DumpRenderTree/win/EventSender.cpp:
3527         (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
3528         of 1, even though WebKit currently ignores it.
3529
3530 2007-12-23  Kevin Ollivier  <kevino@theolliviers.com>
3531
3532         wx buildbot fix. Update libpng dl script to the latest version.
3533
3534         * wx/install-unix-extras:
3535
3536 2007-12-22  Antti Koivisto  <antti@apple.com>
3537
3538         Fix a typo.
3539
3540         * Scripts/webkitdirs.pm:
3541
3542 2007-12-21  Sam Weinig  <sam@webkit.org>
3543
3544         Reviewed by Mark Rowe.
3545
3546         - Disable the back/forward cache using the new WebPreferences API
3547           instead of through the BackForwardList.  This makes us match what
3548           we do on Windows.
3549
3550         * DumpRenderTree/mac/DumpRenderTree.mm:
3551         (createWebViewAndOffscreenWindow):
3552         (setDefaultsToConsistentValuesForTesting):
3553
3554 2007-12-21  Dan Bernstein  <mitz@apple.com>
3555
3556         Reviewed by Mark Rowe.
3557
3558         - disable the back/forward cache in Windows DumpRenderTree. It is
3559           already disabled in Mac DumpRenderTree.
3560
3561         * DumpRenderTree/win/DumpRenderTree.cpp:
3562         (initializePreferences):
3563
3564 2007-12-13  Antti Koivisto  <antti@apple.com>
3565
3566         Reviewed by Darin and Steve.
3567         
3568         - check for QuickTime SDK on Windows.
3569         - build media support on Windows by default
3570
3571         * Scripts/build-webkit:
3572         * Scripts/webkitdirs.pm:
3573
3574 2007-12-21  Kevin Ollivier  <kevino@theolliviers.com>
3575
3576         Build script fix for buildbot.
3577
3578         * wx/build-wxwebkit:
3579
3580 2007-12-20  Eric Seidel  <eric@webkit.org>
3581
3582         Reviewed by mjs.
3583
3584         * Scripts/run-sunspider: change --runs default to 10 for better accuracy
3585
3586 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
3587
3588         Reviewed by Steve.
3589
3590         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
3591         WebKit.
3592
3593         - Drosera and Safari need to use the same ProgIDs in order for
3594         CoCreateInstance to work properly.  The most robust way to do this is
3595         for WebKit to dynamically publish those ProgIDs.
3596
3597         * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
3598         (DebuggerClient::createWebViewWithRequest):
3599         * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
3600         statics.
3601         (Drosera::initUI):
3602         (Drosera::attach):
3603         (Drosera::attemptToCreateServerConnection):
3604         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
3605         * Drosera/win/ServerConnection.cpp: Reformat the connection function and
3606         make use of the published ProgIDs.
3607         (ServerConnection::attemptToCreateServerConnection):
3608
3609 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
3610
3611         - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
3612         - Build bot and leak fix.
3613
3614         * DumpRenderTree/LayoutTestController.cpp:
3615         (pathToLocalResourceCallback):
3616
3617 2007-12-19  David Kilzer  <ddkilzer@apple.com>
3618
3619         Make svn-apply/svn-unapply work with patches from git-format-patch.
3620
3621         Reviewed by Darin.
3622
3623         * Scripts/svn-apply:
3624         (patch): If 'Index:' can't be found in the text passed in, print it
3625         out with a warning and return early.
3626         * Scripts/svn-unapply:
3627         (patch): Ditto.
3628
3629 2007-12-18  Kevin Ollivier  <kevino@theolliviers.com>
3630
3631         Reviewed by Alp Toker.
3632
3633         Build related fixes.
3634
3635         * wx/build-wxwebkit:
3636         - Check to make sure the user is running a supported wx port
3637         - More robust checks for Cygwin
3638         - Only run install-unix-extras on Mac, it's not the right solution
3639           for Linux distros.
3640         - Remove outdated Linux instructions after successful build
3641         - Clean Bakefile-generated files during a clean operation
3642
3643 2007-12-18  Darin Adler  <darin@apple.com>
3644
3645         * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
3646
3647 2007-12-18  Steve Falkenburg  <sfalken@apple.com>
3648
3649         Add script to run Drosera as part of the nightly.
3650         
3651         Reviewed by Kevin M.
3652
3653         * Scripts/run-drosera.cmd: Added.
3654
3655 2007-12-18  Darin Adler  <darin@apple.com>
3656
3657         * Scripts/do-webcore-rename: Remove a stray K.
3658
3659 2007-12-18  Darin Adler  <darin@apple.com>
3660
3661         * Scripts/do-webcore-rename: Plan more renaming.
3662
3663 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
3664
3665         Reviewed by Alp Toker.
3666
3667         http://bugs.webkit.org/show_bug.cgi?id=16042
3668         [GTK] Eliminate webkit_init()
3669
3670         Moving webkit initialization to WebView class init.
3671
3672         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3673         (main):
3674         * GtkLauncher/main.c:
3675         (main):
3676
3677 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
3678
3679         Reviewed by Alp Toker.
3680
3681         http://bugs.webkit.org/show_bug.cgi?id=13542
3682         gdklauncher doesnt change URL in adress GTKEntry.
3683
3684         * GtkLauncher/main.c:
3685         (load_commit_cb): added
3686         (title_change_cb):
3687         (create_browser):
3688
3689 2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>
3690
3691         Reviewed by Adam Roben.
3692
3693         Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
3694
3695         * FindSafari/FindSafari.cpp:
3696         (_tmain):
3697
3698 2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
3699
3700         Reviewed by Adam Roben.
3701
3702         http://bugs.webkit.org/show_bug.cgi?id=16315
3703         FindSafari needs a path-only option.
3704
3705         * FindSafari/FindSafari.cpp:
3706         (_tmain):
3707
3708 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
3709
3710         Reviewed by Darin.
3711
3712         http://bugs.webkit.org/show_bug.cgi?id=16462
3713         REGRESSION: access keys broken on Windows
3714
3715         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
3716         if Alt is pressed.
3717
3718 2007-12-15  Sam Weinig  <sam@webkit.org>
3719
3720         Reviewed by Mark Rowe.
3721
3722         Fix urlSuitableForTestResult to correctly identify wstring::npos as
3723         the case when wstring.find doesn't find anything.
3724
3725         * DumpRenderTree/win/DumpRenderTree.cpp:
3726         (urlSuitableForTestResult):
3727
3728 2007-12-15  Alp Toker  <alp@atoker.com>
3729
3730         GTK+ DRT build fix for GLib < 2.14.
3731
3732         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3733         (LayoutTestController::setWaitToDump):
3734
3735 2007-12-05  Mark Rowe  <mrowe@apple.com>
3736
3737         Reviewed by Alp Toker.
3738
3739         Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.  This prevents
3740         many layout tests from hanging while waiting on user responses to dialogs.
3741
3742         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3743         (invalidateAnyPreviousWaitToDumpWatchdog):
3744         (webViewScriptAlert):
3745         (webViewScriptPrompt):
3746         (webViewScriptConfirm):
3747         (main):
3748         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3749         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3750         (waitToDumpWatchdogFired):
3751         (LayoutTestController::setWaitToDump):
3752
3753 2007-12-05  Mark Rowe  <mrowe@apple.com>
3754
3755         Reviewed by Alp Toker.
3756
3757         Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.
3758
3759         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3760         (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
3761         (dump):
3762         (runTest):
3763         (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
3764         (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
3765         work queue is empty.
3766         (webViewWindowObjectCleared): Set up window.layoutTestController.
3767         (webViewConsoleMessage): Match the console message format expected by the layout test results.
3768         (main): Hook up the new signals.
3769         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3770         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
3771         dumping multiple times.
3772         * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
3773         * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways.  Use run-launcher to open test results.
3774
3775 2007-12-14  Anders Carlsson  <andersca@apple.com>
3776
3777         Reviewed by Brady.
3778
3779         Assert that a web frame that's loading a resource always has either a data source or 
3780         a provisional data source.
3781         
3782         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3783         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3784
3785 2007-12-14  Darin Adler  <darin@apple.com>
3786
3787         - fix mistake causing nearly all tests to fail on Windows
3788
3789         * DumpRenderTree/win/UIDelegate.cpp:
3790         (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
3791         npos, not 0. Also pass URL in to URL function rather than passing the entire message.
3792
3793         * DumpRenderTree/mac/UIDelegate.mm:
3794         (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
3795         than passing the entire message.
3796
3797 2007-12-14  Darin Adler  <darin@apple.com>
3798
3799         - fix Tiger build
3800
3801         * DumpRenderTree/mac/UIDelegate.mm:
3802         (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
3803         new-to-Leopard methods.
3804
3805 2007-12-14  Darin Adler  <darin@apple.com>
3806
3807         * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
3808         since it now triggers unwanted icon loading. We only had it because we implemented "all"
3809         delegate methods here.
3810
3811 2007-12-14  Anders Carlsson  <andersca@apple.com>
3812
3813         Reviewed by Darin and Geoff.
3814
3815         <rdar://problem/5619295> 
3816         REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
3817         
3818         Add property getting methods to the plug-in.
3819         
3820         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3821         (pluginInvoke):
3822
3823 2007-12-14  Kevin McCullough  <kmccullough@apple.com>
3824
3825         Reviewed by Darin.
3826
3827         - Layout test fix for mac. When dumped to the console local file paths
3828         now only show the name of the resource not the whole path.  This is to
3829         make the results machine and OS independent.
3830
3831         * DumpRenderTree/mac/UIDelegate.mm:
3832         (-[UIDelegate webView:addMessageToConsole:]):
3833
3834 2007-12-13  Kevin McCullough  <kmccullough@apple.com>
3835
3836         Reviewed by Adam.
3837
3838         - Layout tests fix.  We need a way to remove machine-dependent
3839         information from paths in layout test results. The UIDelegate now does
3840         this.
3841
3842         * DumpRenderTree/DumpRenderTree.h:
3843         * DumpRenderTree/win/DumpRenderTree.cpp:
3844         (urlSuitableForTestResult):
3845         * DumpRenderTree/win/DumpRenderTreeWin.h:
3846         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3847         * DumpRenderTree/win/UIDelegate.cpp:
3848         (UIDelegate::webViewAddMessageToConsole):
3849
3850 2007-12-13  Alp Toker  <alp@atoker.com>
3851
3852         Build fix for DRT breakage introduced in r28690.
3853
3854         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3855         (LayoutTestController::pathToLocalResource):
3856
3857 2007-12-12  Kevin McCullough  <kmccullough@apple.com>
3858
3859         Reviewed by Alice and Sam.
3860
3861         - <rdar://5621435> Need a way to specify local resources (being loaded
3862         from HTTP tests) on Windows.
3863         - Implemented pathToLocalResource which exposes the functionality of
3864         converting a given unix path to the correct location on Windows.
3865
3866         * DumpRenderTree/LayoutTestController.cpp:
3867         (pathToLocalResourceCallback):
3868         (LayoutTestController::staticFunctions):
3869         * DumpRenderTree/LayoutTestController.h:
3870         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3871         (LayoutTestController::pathToLocalResource):
3872         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3873         (LayoutTestController::pathToLocalResource):
3874
3875 2007-12-12  Anders Carlsson  <andersca@apple.com>
3876
3877         Reviewed by Sam.
3878
3879         <rdar://problem/5132003>
3880         dumpResourceLoadCallbacks is not implemented in DRT on Windows.
3881
3882         * DumpRenderTree/win/DumpRenderTree.cpp:
3883         (main):
3884         Set the resource load delegate.
3885         
3886         * DumpRenderTree/win/DumpRenderTree.vcproj:
3887         
3888         * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
3889         * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
3890
3891 2007-12-12  Alexey Proskuryakov  <ap@webkit.org>
3892
3893         Reviewed by Adam Roben.
3894
3895         Fix conversion from double to LPARAM in dispatchMessage().
3896
3897         * DumpRenderTree/win/EventSender.cpp:
3898         (dispatchMessageCallback):
3899
3900 2007-12-11  Dan Bernstein  <mitz@apple.com>
3901
3902         Reviewed by Mark Rowe and Sam Weinig too!
3903
3904         - added Helvetica Oblique and Helvetica Bold Oblique to the list of
3905           fonts DumpRenderTree registers.
3906
3907         * DumpRenderTree/win/DumpRenderTree.cpp:
3908         (initialize):
3909
3910 2007-12-11  Brady Eidson  <beidson@apple.com>
3911
3912         Reviewed by Anders
3913
3914         Make DumpRenderTree on mac use its own path for Databases testing
3915
3916         * DumpRenderTree/mac/DumpRenderTree.mm:
3917         (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree 
3918           for future DRT-only use, then use it to construct the Databases path and set that default
3919
3920 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
3921
3922         Reviewed by Darin.
3923
3924         <rdar://problem/5535636>
3925         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
3926
3927         http://bugs.webkit.org/show_bug.cgi?id=13916
3928         JavaScript detects Tab as a character input on a textfield validation
3929
3930         * DumpRenderTree/mac/EventSendingController.mm:
3931         (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
3932         Dispatch a keyup to better match what happens when a key is physically pressed.
3933
3934         * DumpRenderTree/win/EventSender.cpp:
3935         (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
3936         returning from keyDown().
3937         (getConstantCallback): Fixed a couple copy/paste mistakes.
3938
3939 2007-12-07  Kevin McCullough  <kmccullough@apple.com>
3940
3941         Reviewed by Oliver.
3942
3943         - <rdar://5599845> Drosera: Does not show loal files in the file list
3944         on the left side.
3945
3946         * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
3947         * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
3948         so the open source community can build.
3949
3950 2007-12-10  Brady Eidson  <beidson@apple.com>
3951
3952         Rubberstamped by Sam Weinig
3953
3954         Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
3955
3956         * DumpRenderTree/mac/UIDelegate.mm:
3957         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
3958         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
3959
3960 2007-12-08  Oliver Hunt  <oliver@apple.com>
3961
3962         Reviewed by Sam W.
3963
3964         Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
3965         
3966         Fixes <rdar://problem/5620249> Must disable SVG animation
3967         <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
3968         
3969         In order to allow finer grained control over the set of SVG features
3970         this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
3971         distinct flags:
3972         ENABLE_SVG_ANIMATION
3973         ENABLE_SVG_FILTERS
3974         ENABLE_SVG_FONTS
3975         ENABLE_SVG_AS_IMAGE
3976         ENABLE_SVG_USE
3977         
3978         by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
3979         
3980         Script handles all the new build flags, and allows --svg-experimental
3981         to automatically enable all features.
3982
3983         * Scripts/build-webkit:
3984
3985 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
3986
3987         Fix version parsing.
3988
3989         Rubber-stamped by Oliver.
3990
3991         * Drosera/win/Drosera.vcproj/auto-version.sh:
3992
3993 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
3994
3995         Build modifications for Drosera.
3996
3997         Reviewed by Adam.
3998
3999         * Drosera/DroseraWin.make: Added.
4000         * Drosera/win/Drosera.vcproj/Drosera.rc:
4001         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4002         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
4003         * Drosera/win/Drosera.vcproj/VERSION: Added.
4004         * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
4005
4006 2007-12-06  Adam Roben  <aroben@apple.com>
4007
4008         Explicitly turn on the Mac font ascent hack on Windows
4009
4010         This keeps our font metrics matching those from Mac.
4011
4012         Reviewed by Hyatt.
4013
4014         * DumpRenderTree/win/DumpRenderTree.cpp:
4015         (main):
4016
4017 2007-12-06  Anders Carlsson  <andersca@apple.com>
4018
4019         Rename main.c to main.cpp here too.
4020         
4021         * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
4022
4023 2007-12-06  Sam Weinig  <sam@webkit.org>
4024
4025         Rubber stamped by Geoff.
4026
4027         * Scripts/do-webcore-rename: Don't rename kjs_css twice.
4028
4029 2007-12-06  Darin Adler  <darin@apple.com>
4030
4031         * Scripts/do-webcore-rename: Some more renaming plans.
4032
4033 2007-12-06  Anders Carlsson  <andersca@apple.com>
4034
4035         Restore implementation of testGetIntIdentifier that was accidentally
4036         removed somehow (possibly when I made PluginObject be a cpp file).
4037         
4038         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4039         (pluginInvoke):
4040
4041 2007-12-05  Anders Carlsson  <andersca@apple.com>
4042
4043         Make the entry points extern "C".
4044         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
4045         
4046 2007-12-05  Anders Carlsson  <andersca@apple.com>
4047
4048         C++ warning fixes.
4049         
4050         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
4051         (NPP_New):
4052         (NPP_Destroy):
4053         (NPP_SetWindow):
4054         (NPP_NewStream):
4055         (NPP_HandleEvent):
4056         (NPP_URLNotify):
4057         (NPP_GetValue):
4058
4059 2007-12-05  Anders Carlsson  <andersca@apple.com>
4060
4061         Add the .cpp files to the TestNetscapePlugIn target.
4062
4063         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4064
4065 2007-12-05  Anders Carlsson  <andersca@apple.com>
4066
4067         Reviewed by Geoff.
4068         
4069         Rename the TestNetscapePlugIn .c files to be .cpp.
4070
4071         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4072         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
4073         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
4074         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
4075         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
4076         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
4077         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
4078         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4079
4080 2007-12-05  Adam Roben  <aroben@apple.com>
4081
4082         Fix case of keypresses from the Windows implementation of eventSender.keyDown
4083
4084         This fixes several regression tests.
4085
4086         Reviewed by Alice.
4087
4088         * DumpRenderTree/win/EventSender.cpp:
4089         (keyDownCallback): Virtual keycodes for ASCII characters are always
4090         uppercase, so we need to check the case of the original character
4091         passed in to eventSender.keyDown.
4092
4093 2007-12-05  Adam Roben  <aroben@apple.com>
4094
4095         Learn from Tim's mistakes
4096
4097         * DumpRenderTree/win/DumpRenderTree.cpp:
4098         (runTest): Reset the authorAndUserStylesEnabled preference for each
4099         test.
4100
4101 2007-12-05  Alp Toker  <alp@atoker.com>
4102
4103         Reviewed by Mark Rowe.
4104
4105         Initialize GTK+ and WebKit so the tests can run.
4106
4107         Reorganize the headers a little.
4108
4109         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4110         (main):
4111
4112 2007-12-04  Anders Carlsson  <andersca@apple.com>
4113
4114         Remove IWebScriptScope include.
4115         
4116         * Drosera/win/DebuggerDocumentPlatform.cpp:
4117
4118 2007-12-04  Sam Weinig  <sam@webkit.org>
4119
4120         Rubber stamped by Mark Rowe.
4121
4122         Define CF as platform for mac and revert r28409
4123
4124         * DumpRenderTree/DumpRenderTree.h:
4125         * DumpRenderTree/mac/DumpRenderTreeMac.h:
4126
4127 2007-12-04  Sam Weinig  <sam@webkit.org>
4128
4129         Define CF as platform for windows.
4130
4131         Reviewed by Adam Roben.
4132
4133         * DumpRenderTree/win/DumpRenderTreeWin.h:
4134
4135 2007-12-04  Kevin McCullough  <kmccullough@apple.com>
4136
4137         Reviewed by Adam and Darin.
4138
4139         - Removed a needless BSTR cleanup.
4140
4141         * Drosera/win/DebuggerDocumentPlatform.cpp:
4142         (DebuggerDocument::getPlatformCurrentFunctionStack):
4143
4144 2007-11-27  Adam Roben  <aroben@apple.com>
4145
4146         Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
4147
4148         Reviewed by Maciej.
4149
4150         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4151         (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
4152
4153 2007-12-04  Alp Toker  <alp@atoker.com>
4154
4155         Prospective Win DRT build fix.
4156
4157         * DumpRenderTree/DumpRenderTree.h:
4158
4159 2007-12-04  Alp Toker  <alp@atoker.com>
4160
4161         Fix a clobbered copyright header.
4162
4163         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4164
4165 2007-12-04  Xan Lopez  <xan@gnome.org>
4166
4167         Reviewed by Alp Toker.
4168
4169         http://bugs.webkit.org/show_bug.cgi?id=15561
4170         GTK port needs DumpRenderTree implementation
4171
4172         Start work on the GTK+ DRT.
4173
4174         This does not work yet, and there are a few lingering style issues
4175         (nothing major) but this patch has been stuck in the bug tracker for
4176         too long already.
4177
4178         * DumpRenderTree/DumpRenderTree.h:
4179         * DumpRenderTree/gtk: Added.
4180         * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
4181         (autocorrectURL):
4182         (shouldLogFrameLoadDelegates):
4183         (dumpFrameScrollPosition):
4184         (displayWebView):
4185         (appendString):
4186         (dumpFramesAsText):
4187         (dumpRenderTreeAsText):
4188         (dump):
4189         (runTest):
4190         (main):
4191         * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
4192         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
4193         * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
4194         (GCController::collect):
4195         (GCController::collectOnAlternateThread):
4196         (GCController::getJSObjectCount):
4197         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
4198         (LayoutTestController::~LayoutTestController):
4199         (LayoutTestController::addDisallowedURL):
4200         (LayoutTestController::clearBackForwardList):
4201         (LayoutTestController::copyDecodedHostName):
4202         (LayoutTestController::copyEncodedHostName):
4203         (LayoutTestController::display):
4204         (LayoutTestController::keepWebHistory):
4205         (LayoutTestController::notifyDone):
4206         (LayoutTestController::queueBackNavigation):
4207         (LayoutTestController::queueForwardNavigation):
4208         (LayoutTestController::queueLoad):
4209         (LayoutTestController::queueReload):
4210         (LayoutTestController::queueScript):
4211         (LayoutTestController::setAcceptsEditing):
4212         (LayoutTestController::setCustomPolicyDelegate):
4213         (LayoutTestController::setMainFrameIsFirstResponder):
4214         (LayoutTestController::setTabKeyCyclesThroughElements):
4215         (LayoutTestController::setUseDashboardCompatibilityMode):
4216         (LayoutTestController::setUserStyleSheetEnabled):
4217         (LayoutTestController::setUserStyleSheetLocation):
4218         (LayoutTestController::setWindowIsKey):
4219         (LayoutTestController::setWaitToDump):
4220         (LayoutTestController::windowCount):
4221         (LayoutTestController::setPrivateBrowsingEnabled):
4222         (LayoutTestController::setAuthorAndUserStylesEnabled):
4223         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
4224         (JSStringCopyUTF8CString):
4225         (LoadItem::invoke):
4226         (ReloadItem::invoke):
4227         (ScriptItem::invoke):
4228         (BackForwardItem::invoke):
4229
4230 2007-12-03  Sam Weinig  <sam@webkit.org>
4231
4232         Move JavaScriptCore thread testing code to pthread specific directory
4233         and remove the dependance on CoreFoundation by using WTF::HashSet.
4234
4235         Reviewed by Geoff and Oliver.
4236
4237         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4238         * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
4239         * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
4240         * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
4241         * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
4242         * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
4243         * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
4244         * DumpRenderTree/pthreads: Added.
4245         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
4246         (javaScriptThreads):
4247         (runJavaScriptThread):
4248         (startJavaScriptThreads):
4249         (stopJavaScriptThreads):
4250
4251 2007-12-03  Andrew Bonventre  <andybons@google.com>
4252
4253         Reviewed by Darin Adler.
4254
4255         - fix http://bugs.webkit.org/show_bug.cgi?id=16267
4256         Symbol lookup menu broken in debugger view
4257
4258         * Drosera/debugger.js: Fixed javascript error where document property
4259         should have been used instead of contentDocument in switchFunction that
4260         was breaking the select symbol dropdown menu.  This is because
4261         window.frames will return a Window object and not a frame object like
4262         the author was originally expecting.
4263
4264 2007-12-03  Kevin McCullough  <kmccullough@apple.com>
4265
4266         Reviewed by Adam.
4267
4268         - <rdar://5618942> Drosera: Console window does not process everything
4269         correctly.
4270         - <rdar://5619005> Drosera: could be sped up by moving the 
4271         WebScriptScope stuff into the WebScriptCallFrame.
4272         - Now the console can correctly process objects and does not receive
4273         notifications from JavaScriptCore about the JavaScript in Drosera's
4274         own process.
4275
4276         * Drosera/win/DebuggerDocumentPlatform.cpp:
4277         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
4278         (DebuggerDocument::platformValueForScopeVariableNamed):
4279
4280 2007-12-03  Stephanie  <slewis@apple.com>
4281
4282         Reviewed by Darin.
4283
4284         Check to see if we are building a debug root
4285
4286         * Scripts/check-for-global-initializers: 
4287
4288 2007-12-03  Dan Bernstein  <mitz@apple.com>
4289
4290         Reviewed by Darin Adler.
4291
4292         - added a testGetIntIdentifier() method to TestNetscapePlugIn
4293
4294         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
4295         (pluginInvoke):
4296
4297 2007-12-03  Alexey Proskuryakov  <ap@webkit.org>
4298
4299         Reviewed by Oliver.
4300
4301         Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
4302         in a more fine-grained manner than eventSender.keyDown().
4303
4304         * DumpRenderTree/win/EventSender.cpp:
4305         (getConstantCallback):
4306         (dispatchMessageCallback):
4307
4308 2007-12-02  Darin Adler  <darin@apple.com>
4309
4310         * Scripts/do-webcore-rename: More planned renaming.
4311
4312 2007-12-02  Sam Weinig  <sam@webkit.org>
4313
4314         Rubber stamped by Anders.
4315
4316         Use [NSURL absoluteString] instead of [NSURL description] in order to get
4317         more uniform results cross platform.
4318
4319         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
4320         (-[NSURL _drt_descriptionSuitableForTestResult]):
4321
4322 2007-12-02  Sam Weinig  <sam@webkit.org>
4323
4324         Rubber stamped by Niko.
4325
4326         Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
4327
4328         * DumpRenderTree/win/DumpRenderTree.cpp:
4329         * DumpRenderTree/win/DumpRenderTree.vcproj:
4330         * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
4331         * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
4332         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
4333         * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
4334
4335 2007-12-01  Alp Toker  <alp@atoker.com>
4336
4337         Reviewed by Adam Roben.
4338
4339         Make use of the newly introduced webkit.h convenience header.
4340
4341         * GtkLauncher/main.c:
4342
4343 2007-12-01  Adam Treat  <treat@kde.org>
4344
4345         Reviewed by Simon.
4346
4347         * Check to see if the directory exists and exit if not.
4348
4349         * DumpRenderTree/qt/main.cpp:
4350         (main):
4351
4352 2007-12-01  Adam Treat  <treat@kde.org>
4353