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