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