154de118e78d8dd67830d3d5254b90e0af9e4b84
[WebKit-https.git] / WebKitTools / ChangeLog
1 2009-03-30  Mark Rowe  <mrowe@apple.com>
2
3         Rubber-stamped by Stephanie Lewis.
4
5         Add a script in support of the new build.webkit.org configuration.
6
7         * BuildSlaveSupport/built-product-archive: Added.
8
9 2009-03-30  Darin Adler  <darin@apple.com>
10
11         Reviewed by Sam Weinig.
12
13         Make policy-delegate logging work even for local files by processing the URLs as we
14         do for other delegates.
15
16         * DumpRenderTree/mac/PolicyDelegate.mm:
17         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
18         Use _drt_descriptionSuitableForTestResult on the URL.
19
20         * DumpRenderTree/win/PolicyDelegate.cpp:
21         (PolicyDelegate::decidePolicyForNavigationAction): Use urlSuitableForTestResult on the URL.
22
23 2009-03-30  Adam Roben  <aroben@apple.com>
24
25         Windows build fix
26
27         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
28         (LayoutTestController::waitForPolicyDelegate): Added this empty stub.
29
30         * DumpRenderTree/win/WorkQueueItemWin.cpp:
31         (LoadItem::invoke):
32         (ScriptItem::invoke):
33         Changed to use data members instead of removed member functions.
34
35 2009-03-30  Jan Michael Alonzo  <jmalonzo@webkit.org>
36
37         Gtk DRT build fix per changeset
38         http://trac.webkit.org/changeset/42082. Not reviewed.
39
40         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
41         (LoadItem::invoke):
42         (ScriptItem::invoke):
43
44 2009-03-29  Darin Adler  <darin@apple.com>
45
46         * DumpRenderTree/qt/jsobjects.cpp: Rolled out changes to this file. Maybe this will fix
47         Qt building of DumpRenderTree.
48
49 2009-03-29  Darin Adler  <darin@apple.com>
50
51         Reviewed by Cameron Zwarich.
52
53         Bug 24922: change WorkQueue-based navigation tests to not depend on synchronous form submission
54         https://bugs.webkit.org/show_bug.cgi?id=24922
55
56         Don't rely on delegate methods to guess whether a queued step starts a load or not, because
57         script-triggered loads can't be detected that way. Instead have the steps themselves indicate
58         whether or not a load was triggered.
59
60         * DumpRenderTree/LayoutTestController.cpp:
61         (queueLoadingScriptCallback): Added. Version for scripts that perform loads.
62         (queueNonLoadingScriptCallback): Added. Version for scripts that do not perform loads.
63         (LayoutTestController::staticFunctions): Replaced queueScript with queueLoadingScript and
64         queueNonLoadingScript.
65         (LayoutTestController::queueBackNavigation): Moved here since it's platform-independent now.
66         (LayoutTestController::queueForwardNavigation): Ditto.
67         (LayoutTestController::queueLoadingScript): Replacement for queueScript. Here since it's
68         platform-independent.
69         (LayoutTestController::queueNonLoadingScript): Ditto.
70         (LayoutTestController::queueReload): Moved here since it's platform-independent now.
71         * DumpRenderTree/LayoutTestController.h: Ditto.
72
73         * DumpRenderTree/WorkQueue.cpp:
74         (WorkQueue::processWork): Added. Shared by the different platform's work queue implementations.
75         * DumpRenderTree/WorkQueue.h: Ditto.
76
77         * DumpRenderTree/WorkQueueItem.h: Changed the invoke function to return true if the item
78         started a load. Removed unused getter functions. Made invoke functions private.
79         Added LoadingScriptItem and NonLoadingScriptItem, making ScriptItem an abstract base.
80
81         * DumpRenderTree/gtk/DumpRenderTree.cpp:
82         (processWork): Use the new WorkQueue::processWork function to implement the new rule.
83         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Removed queue functions that are now
84         platform-independent and in LayoutTestController.cpp.
85         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
86         (LoadItem::invoke): Return true.
87         (ReloadItem::invoke): Ditto.
88         (ScriptItem::invoke): Ditto.
89         (BackForwardItem::invoke): Ditto.
90
91         * DumpRenderTree/mac/FrameLoadDelegate.mm:
92         (-[FrameLoadDelegate processWork:]): Use the new WorkQueue::processWork function to implement
93         the new rule.
94         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Removed queue functions that are now
95         platform-independent and in LayoutTestController.cpp.
96         * DumpRenderTree/mac/WorkQueueItemMac.mm:
97         (LoadItem::invoke): Return true.
98         (ReloadItem::invoke): Ditto.
99         (ScriptItem::invoke): Ditto.
100         (BackForwardItem::invoke): Ditto.
101
102         * DumpRenderTree/qt/jsobjects.cpp:
103         (LayoutTestController::processWork): Use the new WorkQueue::processWork function to implement
104         the new rule. Removed queue functions that are now platform-independent and in
105         LayoutTestController.cpp.
106
107         * DumpRenderTree/win/FrameLoadDelegate.cpp:
108         (FrameLoadDelegate::processWork): Use the new WorkQueue::processWork function to implement
109         the new rule.
110         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Removed queue functions that are now
111         platform-independent and in LayoutTestController.cpp.
112         * DumpRenderTree/win/WorkQueueItemWin.cpp:
113         (LoadItem::invoke): Return false when we fail, true when we succeed.
114         (ReloadItem::invoke): Ditto.
115         (ScriptItem::invoke): Ditto.
116         (BackForwardItem::invoke): Ditto.
117
118 2009-03-28  Kevin Ollivier  <kevino@theolliviers.com>
119
120         Reviewed by Eric Seidel.
121         
122         Always use wxGraphicsContext on Mac to ensure path, matrix, etc. support.
123
124         * wx/build-wxwebkit:
125
126 2009-03-27  Darin Adler  <darin@apple.com>
127
128         Reviewed by Sam Weinig.
129
130         * Scripts/extract-localizable-strings: Fixed version check for perl 5.10 compatibility.
131
132 2009-03-27  Darin Adler  <darin@apple.com>
133
134         Reviewed by Sam Weinig.
135
136         Added waitForPolicyDelegate, a more-reliable way to make our mailto form submission
137         tests work.
138
139         * DumpRenderTree/AccessibilityController.cpp:
140         (getFocusedElementCallback): Use static_cast instead of reinterpret_cast because there's
141         no reason to use reinterpret_cast just to get from void* to a specific type.
142         (getRootElementCallback): Ditto.
143         * DumpRenderTree/AccessibilityUIElement.cpp:
144         (toAXElement): Ditto.
145         * DumpRenderTree/GCController.cpp:
146         (collectCallback): Ditto.
147         (collectOnAlternateThreadCallback): Ditto.
148         (getJSObjectCountCallback): Ditto.
149         * DumpRenderTree/LayoutTestController.cpp:
150         (many functions):  Ditto.
151         (waitForPolicyDelegateCallback): Added.
152         (LayoutTestController::staticFunctions): Sorted functions by name.
153         Added waitForPolicyDelegate.
154
155         * DumpRenderTree/LayoutTestController.h: Sorted functions by name.
156         Added waitForPolicyDelegate.
157
158         * DumpRenderTree/mac/DumpRenderTree.mm:
159         (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
160         policy delegate.
161         (runTest): Added an additional call to resetWebViewToConsistentStateBeforeTesting just
162         before loading an empty page. This prevents extra policy delegate calls from being logged.
163
164         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
165         (LayoutTestController::waitForPolicyDelegate): Added. Puts us into wait mode, and then
166         tells the policy delegate to notify when done, then points the web view at the policy delegate.
167
168         * DumpRenderTree/mac/PolicyDelegate.h: Added setControllerToNotifyDone: method.
169
170         * DumpRenderTree/mac/PolicyDelegate.mm:
171         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
172         Added code to do notifyDone if controllerToNotifyDone is set.
173         (-[PolicyDelegate setControllerToNotifyDone:]): Added.
174
175         * DumpRenderTree/win/DumpRenderTree.cpp:
176         (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
177         policy delegate. Also moved the call to resetUndoManager in here.
178         (runTest): Removed the call to resetUndoManager (see above). Added an additional call to
179         resetWebViewToConsistentStateBeforeTesting to match the Mac code.
180
181         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
182         (LayoutTestController::setCustomPolicyDelegate): 0, not NULL.
183
184         * DumpRenderTree/win/PolicyDelegate.cpp:
185         (PolicyDelegate::PolicyDelegate): Initialize m_controllerToNotifyDone to 0.
186         (PolicyDelegate::decidePolicyForNavigationAction): Added code to do notifyDone if
187         m_controllerToNotifyDone is set.
188
189         * DumpRenderTree/win/PolicyDelegate.h: Added setControllerToNotifyDone and
190         m_controllerToNotifyDone.
191
192 2009-03-27  Sam Weinig  <sam@webkit.org>
193
194         Reviewed by Gavin Barraclough.
195
196         Fix for https://bugs.webkit.org/show_bug.cgi?id=24765
197         prepare-ChangeLog and svn-create-patch doesn't work with svn 1.6
198
199         * Scripts/prepare-ChangeLog:
200         * Scripts/svn-create-patch:
201
202 2009-03-26  Darin Adler  <darin@apple.com>
203
204         Reviewed by Geoff Garen.
205
206         * Scripts/do-webcore-rename:Update for rename of JSUnprotectedEventListener to
207         JSEventListener.
208
209 2009-03-26  Darin Adler  <darin@apple.com>
210
211         Reviewed by Geoff Garen.
212
213         * Scripts/do-webcore-rename: Update for rename of JSEventListener to
214         JSProtectedEventListener. This includes all the related renames, but
215         not that one because that one renames the file.
216
217 2009-03-26  Adam Roben  <aroben@apple.com>
218
219         Reduce run-webkit-tests's time out limit to 15 seconds (or 2.5 minutes
220         under GuardMalloc)
221
222         The previous limit was 60 seconds (or 10 minutes under GuardMalloc).
223         There's no evidence that we need the limit to be this long, and having
224         it be so long just makes timed-out tests take forever to complete.
225         DRT's watchdog timer is 10 seconds, so still has time to fire before
226         run-webkit-tests will cut it off.
227
228         Reviewed by Simon Fraser.
229
230         * Scripts/run-webkit-tests:
231         (sub readFromDumpToolWithTimer): Reduced the limit to 15 seconds (or
232         2.5 mintues under GuardMalloc).
233
234 2009-03-26  Adam Roben  <aroben@apple.com>
235
236         Make DRT's watchdog timer actually work on Windows
237
238         We were previously trying to use a CFRunLoopTimer for the watchdog
239         timer on Windows. This doesn't work because we don't use a CFRunLoop
240         on the main thread on Windows.
241
242         This patch changes the watchdog timer on Windows be a normal Windows
243         timer.
244
245         Reviewed by Simon Fraser.
246
247         * DumpRenderTree/DumpRenderTree.h: Moved declaration of
248         waitToDumpWatchdog from here...
249         * DumpRenderTree/mac/DumpRenderTreeMac.h: ...to here.
250
251         * DumpRenderTree/win/DumpRenderTree.cpp:
252         (invalidateAnyPreviousWaitToDumpWatchdog): Added. This function
253         cancels an existing watchdog timer.
254         (dump): Call invalidateAnyPreviousWaitToDumpWatchdog. This will
255         prevent watchdogs from previous tests firing during subsequent ones.
256         This matches Mac's behavior.
257
258         * DumpRenderTree/win/DumpRenderTreeWin.h: Added a declaration of
259         waitToDumpWatchdog.
260
261         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
262         (waitUntilDoneWatchdogFired): Converted this to be a Windows
263         TIMERPROC.
264         (LayoutTestController::setWaitToDump): Changed to use SetTimer instead
265         of CFRunLoopAddTimer.
266
267 2009-03-25  Mark Rowe  <mrowe@apple.com>
268
269         Rubber-stamped by Steve Falkenburg.
270
271         Update test result search path for Windows now that it has updated versions of ICU, libxml2, and friends.
272
273         * Scripts/run-webkit-tests:
274
275 2009-03-24  Mark Rowe  <mrowe@apple.com>
276
277         Fix the Tiger build some more.
278
279         * DumpRenderTree/mac/TextInputController.m:
280
281 2009-03-24  Mark Rowe  <mrowe@apple.com>
282
283         Fix the Tiger build.
284
285         * DumpRenderTree/mac/TextInputController.m:
286
287 2009-03-24  Mark Rowe  <mrowe@apple.com>
288
289         Reviewed by Jon "The Most Boring Man in the World" Honeycutt.
290
291         Explicitly map NSNotFound to -1 so that the result of-characterIndexForPointX:Y: does
292         not differ between 32- and 64-bit.
293
294         * DumpRenderTree/mac/TextInputController.m:
295         (-[TextInputController characterIndexForPointX:Y:]):
296
297 2009-03-24  Mark Rowe  <mrowe@apple.com>
298
299         Reviewed by Sam Weinig.
300
301         Use a different platform search path for tests and skip lists, so that Tiger doesn't end up
302         using the Leopard skip list.  Tests and skip lists are now looked for in the directory for
303         the current OS and the generic "mac" directory.  Tests and skip lists for newer OS versions are
304         ignored.
305
306         * Scripts/run-webkit-tests:
307
308 2009-03-23  Stephanie  <slewis@apple.com>
309
310         Fix root build.
311
312         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
313
314 2009-03-23  Stephanie Lewis  <slewis@apple.com>
315
316         Reviewed by Mark Rowe.
317
318         Add production configuration for creating roots of WebKitTools.
319
320         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
321
322 2009-03-23  Oliver Hunt  <oliver@apple.com>
323
324         Reviewed by Geoff Garen.
325
326         Make testapi run as part of the standard JavaScriptCore tests.
327
328         We only run testapi on the mac as currently windows webkit doesn't
329         place all the necessary files for testapi, and we also test the
330         JSC/CF APIs as well.
331
332         * Scripts/run-javascriptcore-tests:
333
334 2009-03-21  Oliver Hunt  <oliver@apple.com>
335
336         Reviewed by Mark Rowe.
337
338         Make build-jsc build testapi and minidom in addition to jsc itself.
339
340         * Scripts/build-jsc:
341
342 2009-03-20  Anders Carlsson  <andersca@apple.com>
343
344         Reviewed by Darin Adler.
345
346         Only release the result NPVariant if the call to NPN_Invoke was successful.
347         
348         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
349         (testNPRuntime):
350
351 2009-03-19  Gustavo Noronha Silva  <gns@gnome.org>
352
353         Reviewed by Mark Rowe.
354
355         Make determinePassedArchitecture always consume the --32-bit
356         option, also in non-AppleMacWebkit platforms. Solution pointed out
357         by Mark Rowe.
358
359         * Scripts/webkitdirs.pm:
360
361 2009-03-19  Mark Rowe  <mrowe@apple.com>
362
363         Reviewed by Oliver Hunt.
364
365         Work around <rdar://problem/6698023> by activating fonts from disk.
366
367         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources
368         in the built products directory.
369         * DumpRenderTree/mac/DumpRenderTree.mm:
370         (activateFonts): Activate the fonts from disk.
371
372 2009-03-18  Mark Rowe  <mrowe@apple.com>
373
374         Reviewed by Dan Bernstein.
375
376         <rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results
377
378         Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear
379         in test results even when the plug-in's stdout differs from DumpRenderTree's stdout.
380
381         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
382         (log): Invoke console.log via the NPAPI.
383         (NPP_Destroy): Call log instead of printf.
384         (NPP_SetWindow): Ditto.
385         (handleEventCarbon): Ditto.
386         (handleEventCocoa): Ditto.
387         (NPP_HandleEvent): Pass the instance in to the event handler.
388
389 2009-03-17  Mark Rowe  <mrowe@apple.com>
390
391         Reviewed by Oliver Hunt.
392
393         Use the normal search rules for tests inside the platform directory.
394
395         This allows tests inside the platform directory to have different results
396         on different versions of Mac OS X.
397
398         * Scripts/run-webkit-tests:
399
400 2009-03-17  David Kilzer  <ddkilzer@apple.com>
401
402         resolve-ChangeLogs should not die on unmerged non-ChangeLog files
403
404         Reviewed by Adam Roben.
405
406         Fixes the following bug in resolve-ChangeLogs:
407
408             Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132.
409             Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164.
410
411         * Scripts/resolve-ChangeLogs:
412         (findUnmergedChangeLogs): Check the result of findChangeLog() to
413         make sure we don't add undef values to the list of files being
414         returned.
415
416 2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
417
418         Reviewed by Simon Fraser.
419
420         Fix the usage of the $architecture variable for non-Apple-Mac
421         ports.
422
423         * Scripts/webkitdirs.pm:
424
425 2009-03-17  David Kilzer  <ddkilzer@apple.com>
426
427         Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
428
429         <https://bugs.webkit.org/show_bug.cgi?id=24645>
430
431         Reviewed by Mark Rowe.
432
433         * Scripts/bisect-builds:
434         (makeNightlyList): Added checks for Safari 4 Public Beta on
435         Tiger and Leopard.
436
437 2009-03-17  Simon Fraser  <simon.fraser@apple.com>
438
439         Reviewed by Darin Adler
440
441         https://bugs.webkit.org/show_bug.cgi?id=24396
442
443         Change the terminology from '3D transforms' to '3D rendering'.
444
445         * Scripts/build-webkit:
446         * Scripts/run-webkit-tests:
447         * Scripts/webkitdirs.pm:
448
449 2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
450
451         Reviewed by Mark Rowe.
452
453         Enable HTML5 media elements support by default also for the GTK+
454         port.
455
456         * Scripts/build-webkit:
457
458 2009-03-17  Kevin Ollivier  <kevino@theolliviers.com>
459
460         Reviewed by Mark Rowe.
461         
462         Tweak the BUILDING_ON_* defines so that they work with the default values set by
463         AvailabilityMacros.h.
464         
465         https://bugs.webkit.org/show_bug.cgi?id=24630
466
467         * DumpRenderTree/mac/DumpRenderTreeMac.h:
468
469 2009-03-17  Oliver Hunt  <oliver@apple.com>
470
471         Reviewed by Alexey Proskuryakov.
472
473         Make coverage testing more reliable by ensuring --coverage does not
474         clobber configuration settings, and by removing the unnecessary 
475         dependency on matplotlib.
476
477         * CodeCoverage/regenerate-coverage-display:
478         * Scripts/webkitdirs.pm:
479
480 2009-03-16  Anders Carlsson  <andersca@apple.com>
481
482         Reviewed by Darin Adler and John Sullivan.
483
484         When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated.
485         Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables.
486         
487         Instead, just zero out the member variable in invalidate.
488         
489         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
490         (pluginInvalidate):
491         (pluginDeallocate):
492
493 2009-03-16  Eric Seidel  <eric@webkit.org>
494
495         Reviewed by Sam Weinig.
496         
497         REGRESSION: undo-iframe-location-change.html is failing on the buildbots
498         https://bugs.webkit.org/show_bug.cgi?id=24626
499         
500         Added a call to [[webview undoManager] removeAllActions]
501         to make sure anything left on the undo stack after one test
502         will not affect any later test.
503
504         * DumpRenderTree/mac/DumpRenderTree.mm:
505         (resetWebViewToConsistentStateBeforeTesting):
506
507 2009-03-14  Mark Rowe  <mrowe@apple.com>
508
509         Reviewed by Dan Bernstein.
510
511         Change the layout test result search policy for Mac OS X to fit better with the idea of
512         newer OS versions improving on previous OS versions.
513
514         The results for the latest version of Mac OS X are placed in the "mac" directory.  The
515         results for older versions of Mac OS X are structured as a series of overlays.  When
516         running on Leopard, the results in "mac-leopard" are searched before those in "mac".
517         When running on Tiger, the results in "mac-tiger" are searched before those in
518         "mac-leopard" and "mac".
519
520         * Scripts/run-webkit-tests:
521
522 2009-03-13  Mark Rowe  <mrowe@apple.com>
523
524         Rubber-stamped by Dan Bernstein.
525
526         Take advantage of the ability of recent versions of Xcode to easily switch the active
527         architecture.
528
529         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
530
531 2009-03-13  Mark Rowe  <mrowe@apple.com>
532
533         Reviewed by Timothy Hatcher.
534
535         Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.
536
537         The scripts will automatically target 64-bit if the system and hardware support it.  This can be
538         overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
539         to make the override persistent.
540
541         * Scripts/build-webkit: Remove architecture-related code.
542         * Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
543         * Scripts/run-javascriptcore-tests: Remove architecture-related code.
544         * Scripts/run-safari: Ditto.
545         * Scripts/run-webkit-tests: Ditto.
546         * Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments.  The --32-bit argument will set the
547         architecture preference to the 32-bit architecture of the machine.  The --64-bit argument will remove any architecture
548         override that is in effect so that 64-bit support will be automatically detected.
549         * Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
550         auto-detection.
551
552 2009-03-13  Anders Carlsson  <andersca@apple.com>
553
554         Reviewed by Dan Bernstein.
555
556         <rdar://problem/6610666> Revise the Cocoa event model text API
557
558         Add a case statement for NPCocoaEventTextInput.
559         
560         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
561         (handleEventCocoa):
562
563 2009-03-12  Kevin Ollivier  <kevino@theolliviers.com>
564
565         wx build fix. Let DerivedSources.make know we want database APIs.
566
567         * wx/build-wxwebkit:
568
569 2009-03-12  David Kilzer  <ddkilzer@apple.com>
570
571         Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs
572
573         <https://bugs.webkit.org/show_bug.cgi?id=24378>
574
575         Reviewed by Adam Roben.
576
577         * Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed
578         and no file or directory names are specified on the command-line
579         then try to find unmerged ChangeLog files based on 'svn stat' or
580         'git diff'.  Added global $isGit and $isSVN variables so that
581         isGit() and isSVN() only have to be called once.
582         (findUnmergedChangeLogs): Added.
583
584 2009-03-11  David Kilzer  <ddkilzer@apple.com>
585
586         Clarify comments regarding order of FEATURE_DEFINES
587
588         Rubber-stamped by Mark Rowe.
589
590         * Scripts/build-webkit: Added warning about keeping
591         FEATURE_DEFINES in order and the consequences when they are not.
592
593 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
594
595         Reviewed by Holger Freyther.
596
597         Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
598         https://bugs.webkit.org/show_bug.cgi?id=24487
599
600         Also reset WebSettings to its default state for JavaScript
601         profiling, Developer Extras and Private Browsing before running
602         the test (can be after each test but we want to be consistent with
603         other ports in this regard)
604
605         * DumpRenderTree/gtk/DumpRenderTree.cpp:
606         (resetWebViewToConsistentStateBeforeTesting):
607         (runTest):
608         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
609         (LayoutTestController::setPrivateBrowsingEnabled):
610
611 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
612
613         Reviewed by Holger Freyther.
614
615         [GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore
616         https://bugs.webkit.org/show_bug.cgi?id=2260
617
618         Add plugin support only for X11 builds
619
620         * DumpRenderTree/gtk/DumpRenderTree.cpp:
621         (setDefaultsToConsistentStateValuesForTesting):
622         * GNUmakefile.am:
623
624 2009-03-08  Holger Hans Peter Freyther  <zecke@selfish.org>
625
626         Reviewed by Mark Rowe.
627
628         Implement setJavaScriptProfilingEnabled by enabling the Developer
629         Extras and the JavaScript profiling on the WebKitWebInspector. After
630         this change we pass the three enabled tests in fast/profiler.
631
632         * DumpRenderTree/gtk/DumpRenderTree.cpp:
633         (runTest): Reset setJavaScriptProfilingEnabled after each test run
634         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
635         (LayoutTestController::setJavaScriptProfilingEnabled):
636
637 2009-03-07  Jan Michael Alonzo  <jmalonzo@webkit.org>
638
639         Reviewed by Holger Freyther.
640
641         [Gtk] Enable http history tests
642         https://bugs.webkit.org/show_bug.cgi?id=24394
643
644         Get the index of the current item from the list of (history) items
645         to print before adding the back history items to the list. This
646         will make the 'curr' pointer point to the correct item in the
647         actual results, therefore, passing some of the http/tests/history
648         tests.
649
650         * DumpRenderTree/gtk/DumpRenderTree.cpp:
651         (dumpBackForwardListForWebView):
652
653 2009-03-06  Adam Treat  <adam.treat@torchmobile.com>
654
655         Reviewed by George Staikos.
656
657         When building QtWebKit in release mode make sure that QT_SHARED is defined
658         otherwise none of the public API will be exported.  This leads to missing
659         symbols and link errors if hidden-visibility is used.
660
661         * Scripts/webkitdirs.pm:
662
663 2009-03-06  Adam Roben  <aroben@apple.com>
664
665         Change the isCygwin check in update-webkit to isAppleWinWebKit
666
667         This matches a similar check in build-webkit, and is more correct.
668
669         Reviewed by Alexey Proskuryakov.
670
671         * Scripts/update-webkit: Only call update-webkit-auxiliary-libs if
672         isAppleWinWebKit is true.
673
674 2009-03-06  Adam Roben  <aroben@apple.com>
675
676         Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is
677         present but out of date
678
679         Reviewed by Alexey Proskuryakov.
680
681         * Scripts/update-webkit-support-libs: Changed to use
682         dieAndInstructToDownload when the zip file doesn't exist. Added an MD5
683         check to make sure the file is up-to-date. If it is out of date, print
684         an error message and quit.
685         (sub dieAndInstructToDownload): Added. Prints an error message and
686         quits with an error.
687
688 2009-03-03  Anders Carlsson  <andersca@apple.com>
689
690         Reviewed by John Sullivan.
691
692         https://bugs.webkit.org/show_bug.cgi?id=22884
693         <rdar://problem/6449783>
694         modified layout test crashes Safari
695
696         Add destroyNullStream test function to the test plug-in.
697         
698         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
699         (destroyNullStream):
700         (pluginInvoke):
701
702 2009-03-03  Brady Eidson  <beidson@apple.com>
703
704         Reviewed by Darin Adler
705
706         Support layout test covering <rdar://problem/6616664>
707
708         Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL
709
710         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
711         (-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the 
712           mainDocumentURL.
713         
714         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
715         (descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL.
716
717 2009-03-02  Sam Weinig  <sam@webkit.org>
718
719         Reviewed by Mark Rowe.
720
721         Enable Geolocation (except on Tiger and Leopard).
722
723         * Scripts/build-webkit:
724
725 2009-03-02  Kevin Ollivier  <kevino@theolliviers.com>
726
727         Build fixes for wxWidgets Mac trunk build.
728
729         * wx/build-wxwebkit:
730
731 2009-03-02  Timothy Hatcher  <timothy@apple.com>
732
733         Allow for multiline quoted text in JavaScript files when looking for function names.
734
735         https://bugs.webkit.org/show_bug.cgi?id=24296
736
737         Reviewed by David Kilzer.
738
739         * Scripts/prepare-ChangeLog:
740
741 2009-03-02  Adam Treat  <adam.treat@torchmobile.com>
742
743         Reviewed by Eric Seidel.
744
745         Add three new drt helper functions that enable all of the tests in
746         LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
747
748         * DumpRenderTree/qt/jsobjects.cpp:
749         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
750         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
751         (LayoutTestController::numberOfActiveAnimations):
752         * DumpRenderTree/qt/jsobjects.h:
753
754 2009-03-02  Adam Roben  <aroben@apple.com>
755
756         Windows build fix after r41349
757
758         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
759         (AccessibilityUIElement::getChildrenWithRange):
760
761 2009-03-01  Chris Fleizach  <cfleizach@apple.com>
762
763         Reviewed by Oliver Hunt.
764
765         Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
766
767         Change getChildAtIndex() to get a range of children instead of all the children.
768         This exercises code in WebCore that returns elements when asked for from a range.
769
770         * DumpRenderTree/AccessibilityUIElement.h:
771         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
772         (AccessibilityUIElement::getChildrenWithRange):
773         (AccessibilityUIElement::getChildAtIndex):
774         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
775         (AccessibilityUIElement::getChildrenWithRange):
776
777 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
778
779         Reviewed by Holger Freyther.
780
781          [Gtk] get the HTTP layout tests going
782          https://bugs.webkit.org/show_bug.cgi?id=24259
783
784         Determine the frame's response and decide whether to dump as text
785         or the render tree
786
787         * DumpRenderTree/gtk/DumpRenderTree.cpp:
788         (dump):
789
790 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
791
792         Reviewed by Holger Freyther.
793
794         [Gtk] get the HTTP layout tests going
795         https://bugs.webkit.org/show_bug.cgi?id=24259
796
797          Implement dumping of WebKitWebBackForwardList and its history
798          items.
799
800         * DumpRenderTree/gtk/DumpRenderTree.cpp:
801         (compareHistoryItems):
802         (dumpHistoryItem):
803         (dumpBackForwardListForWebView):
804         (dump):
805         (runTest):
806         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
807         (LayoutTestController::clearBackForwardList):
808         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
809         (BackForwardItem::invoke):
810
811 2009-02-28  Zan Dobersek  <zandobersek@gmail.com>
812
813          Reviewed by Holger Freyther.
814
815          Set the resolution for the default screen to 72.0.
816          This way, setting font sizes results in expected values.
817
818          * DumpRenderTree/gtk/DumpRenderTree.cpp:
819          (setDefaultsToConsistentStateValuesForTesting):
820
821 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
822
823         Reviewed by Holger Freyther.
824
825         Adds a WebKitMakeArguments environment variable to enable passing
826         of arguments such as '-j2' to make for the autotools build.
827
828         * Scripts/webkitdirs.pm:
829
830 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
831
832         Reviewed by Holger Freyther.
833
834         Add a GTK+-only option to enable GNOME Keyring when building.
835
836         * Scripts/build-webkit:
837
838 2009-02-28  Jan Michael Alonzo  <jmalonzo@webkit.org>
839
840         Reviewed by Holger Freyther.
841
842         [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
843         https://bugs.webkit.org/show_bug.cgi?id=24076
844
845         Refactor gtk lib detection and put it in builtDylibPathForName
846
847         * Scripts/webkitdirs.pm:
848
849 2009-02-28  Christian Dywan  <christian@twotoasts.de>
850
851         Rubber-stamped by Holger Freyther.
852
853         * GtkLauncher/main.c:
854         (activate_uri_entry_cb):
855         (main): Use the new webkit_web_view_load_uri to open URIs.
856
857 2009-02-27  Xan Lopez  <xan@gnome.org>
858
859         Rubber-stamped by Alexey Proskuryakov.
860
861         https://bugs.webkit.org/show_bug.cgi?id=24222
862         [GTK] Remove checks for old glib versions
863
864         libsoup, which is a hard dependency, needs at least glib 2.15.3,
865         so remove all glib checks for versions older than that.
866
867         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
868         (LayoutTestController::setWaitToDump):
869
870 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
871
872         Reviewed by Eric Seidel
873
874         Fix spew about a WebView being deallocated while key value observers are
875         still registered with it by making sure that we always stop observing
876         _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
877         
878         * DumpRenderTree/mac/DumpRenderTree.mm:
879         (dumpRenderTree):
880         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
881         (-[DumpRenderTreeWindow close]):
882
883 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
884
885         Reviewed by Alexey Proskuryakov.
886
887         Do not queue the calls to 'DumpRenderTree::dump()' as this can result
888         in more than one call as a test that calls 'notifyDone()' can then be
889         subsequently fully loaded and initiate a second dump.  Also make sure
890         to stop any existing page load that is happening before running the next
891         test.  Combined this serves to produce 217 more passing tests for the
892         Qt port or roughly 5% at this point.
893
894         * DumpRenderTree/qt/DumpRenderTree.cpp:
895         (WebCore::DumpRenderTree::DumpRenderTree):
896         (WebCore::DumpRenderTree::open):
897
898 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
899
900         Reviewed by Dan Bernstein
901
902         https://bugs.webkit.org/show_bug.cgi?id=23854
903
904         Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
905         property of the WebView, and use that to turn -autodisplay on and off.
906         This is necessary so that accelerated animations start correctly.
907         We can thus remove the -display hack in createBitmapContextFromWebView().
908
909         * DumpRenderTree/mac/DumpRenderTree.mm:
910         (createWebViewAndOffscreenWindow):
911         (dumpRenderTree):
912         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
913         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
914         (-[DumpRenderTreeWindow close]):
915         (-[DumpRenderTreeWindow webView]):
916         (-[DumpRenderTreeWindow startObservingWebView]):
917         (-[DumpRenderTreeWindow stopObservingWebView]):
918         (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
919         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
920         (createBitmapContextFromWebView):
921
922 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
923
924         Reviewed by Zack Rusin.
925
926         https://bugs.webkit.org/show_bug.cgi?id=24158
927         Implement the queue*() methods of the layoutTestController and begin
928         implementing the dump of the back/forward list.  This results in 2% more
929         tests passing as well as 23 currently skipped tests now passing.
930
931         * DumpRenderTree/qt/DumpRenderTree.cpp:
932         (WebCore::DumpRenderTree::dumpBackForwardList):
933         (WebCore::DumpRenderTree::dump):
934         * DumpRenderTree/qt/DumpRenderTree.h:
935         * DumpRenderTree/qt/DumpRenderTree.pro:
936         * DumpRenderTree/qt/jsobjects.cpp:
937         (findFrameNamed):
938         (LoadItem::invoke):
939         (ReloadItem::invoke):
940         (ScriptItem::invoke):
941         (BackForwardItem::invoke):
942         (LayoutTestController::reset):
943         (LayoutTestController::processWork):
944         (LayoutTestController::maybeDump):
945         (LayoutTestController::queueBackNavigation):
946         (LayoutTestController::queueForwardNavigation):
947         (LayoutTestController::queueLoad):
948         (LayoutTestController::queueReload):
949         (LayoutTestController::queueScript):
950         * DumpRenderTree/qt/jsobjects.h:
951         (LayoutTestController::shouldDumpBackForwardList):
952         (LayoutTestController::dumpBackForwardList):
953
954 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
955
956         Reviewed by Alexey Proskuryakov.
957
958         Don't print out that you are generating new results if you are not in fact
959         generating new results and disable generating new results by default for
960         the all ports other than the canonical Apple Mac port since this can litter
961         the source directory with hundreds of new results since other ports
962         are not as up to date.
963
964         * Scripts/run-webkit-tests:
965
966 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
967
968         Reviewed by Cameron Zwarich.
969
970         The Qt port does not support these yet nor does the nm check work with
971         QMake based build.
972
973         * Scripts/webkitdirs.pm:
974
975 2009-02-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
976
977         Reviewed by Alexey Proskuryakov.
978
979         [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
980         https://bugs.webkit.org/show_bug.cgi?id=24072
981
982         Allow toggling of 3D transforms and HTML5 channel messaging
983         support for the Autotools (Gtk) build.
984
985         Also add '--gtk' in the build-webkit help doc and fix autotools
986         option for web-workers support.
987
988         * Scripts/build-webkit:
989
990 2009-02-23  Xan Lopez  <xan@gnome.org>
991
992         Reviewed by Alexey Proskuryakov.
993
994         https://bugs.webkit.org/show_bug.cgi?id=22624
995         [SOUP][GTK] Need API to get SoupSession from WebKit.
996
997         Add soup flags now that dependency is explicit.
998
999         * GNUmakefile.am:
1000
1001 2009-02-22  Mark Rowe  <mrowe@apple.com>
1002
1003         Reviewed by Oliver Hunt.
1004
1005         Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
1006
1007         * DumpRenderTree/mac/DumpRenderTree.mm:
1008         (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
1009         than of an arbitrary existing method on the class.
1010
1011 2009-02-13  Eric Seidel  <eric@webkit.org>
1012
1013         Rubber-stamped by Alexey Proskuryakov.
1014
1015         Add a few ignores to make-js-test-wrappers.
1016
1017         * Scripts/make-js-test-wrappers:
1018
1019 2009-02-17  Holger Hans Peter Freyther  <zecke@selfish.org>
1020
1021         Reviewed by Alexey Proskuryakov.
1022
1023         Prepend file:// to the test result filename to make
1024         GtkLauncher display the result page.
1025
1026         * Scripts/run-webkit-tests:
1027
1028 2009-02-16  Gustavo Noronha Silva  <gns@gnome.org>
1029
1030         Reviewed by Adam Roben
1031
1032         Actually use the installation prefix defined in WebKitInstallationPrefix,
1033         in autotools builds.
1034
1035         * Scripts/webkitdirs.pm:
1036
1037 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
1038
1039         No review.
1040
1041         Remove debugging code which was committed by mistake.
1042
1043         * Scripts/run-webkit-tests:
1044
1045 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
1046
1047         Reviewed by Adam Roben
1048
1049         https://bugs.webkit.org/show_bug.cgi?id=23928
1050
1051         Add detection of accelerated compositing and 3d transforms,
1052         and add various directories to $ignoredDirectories when these
1053         features are off.
1054
1055         * Scripts/run-webkit-tests:
1056         * Scripts/webkitdirs.pm:
1057
1058 2009-02-12  Adam Roben  <aroben@apple.com>
1059
1060         Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
1061         contains non-existent tests is confusing and is given for disabled
1062         tests
1063
1064         <https://bugs.webkit.org/show_bug.cgi?id=23922>
1065
1066         We now no longer warn about disabled tests. The warning now reads:
1067
1068         Skipped list contained '$item', but no file of that name could be
1069         found
1070
1071         Reviewed by John Sullivan.
1072
1073         * Scripts/run-webkit-tests:
1074         (top level): Pass the list name to processIgnoreTests so it can print
1075         out a reasonable warning message.
1076         (processIgnoreTests): Take a list name as a second parameter and use
1077         it to display a better warning message. Also check for a "-disabled"
1078         version of the test before warning about it not existing.
1079
1080 2009-02-11  Adam Roben  <aroben@apple.com>
1081
1082         Windows fix for Bug 22239: Implement missing animation & transition
1083         APIs on LayoutTestController for non-mac platforms
1084
1085         <https://bugs.webkit.org/show_bug.cgi?id=22239>
1086
1087         Reviewed by Simon Fraser.
1088
1089         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1090         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1091         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1092         (LayoutTestController::numberOfActiveAnimations):
1093         Implemented these by calling through to IWebFramePrivate.
1094
1095 2009-02-10  Chris Marrin  <cmarrin@apple.com>
1096
1097         Reviewed by Simon Fraser.
1098
1099         * Scripts/build-webkit:
1100
1101         https://bugs.webkit.org/show_bug.cgi?id=23883
1102
1103         Added support --3d-transforms. Defaults to off
1104
1105 2009-02-11  Adam Roben  <aroben@apple.com>
1106
1107         Fix crashes in http/tests/history/redirect-301.pl and friends on
1108         Windows
1109
1110         Reviewed by Alexey Proskuryakov.
1111
1112         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1113         (LayoutTestController::webHistoryItemCount): Null-check the shared
1114         WebHistory instance before dereferencing it.
1115
1116 2009-02-10  Adam Roben  <aroben@apple.com>
1117
1118         Fix Bug 23869: Pixel tests can't be run on Windows
1119
1120         <https://bugs.webkit.org/show_bug.cgi?id=23869>
1121
1122         This patch gets the pixel tests limping along on Windows again.
1123
1124         Reviewed by Dan Bernstein.
1125
1126         * DumpRenderTree/DumpRenderTree.sln: Changed to use the new
1127         Debug_Internal configuration of ImageDiff in the Debug_Internal
1128         configuration of this solution.
1129
1130         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1131         (printPNG): Changed to call fwrite in a loop, since this call was
1132         failing due to the buffer being too large on Windows.
1133         (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
1134         #if PLATFORM(MAC)/#endif.
1135
1136         * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
1137         configuration that matches the Debug configuration but also references
1138         debug_internal.vsprops.
1139
1140         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
1141         (createBitmapContextFromWebView): Renamed from
1142         getBitmapContextFromWebView to match the name used in the
1143         cross-platform code.
1144
1145 2009-02-10  Adam Roben  <aroben@apple.com>
1146
1147         Robustify DumpRenderTree/win a little
1148
1149         DumpRenderTree was previously not holding a ref to the WebViews it
1150         created via window.open. It was getting away with this because
1151         WebViews get reffed by being preference notification observers and by
1152         registering for drag-n-drop messages. Now DRT does hold a ref, in case
1153         this situation changes in the future.
1154
1155         Reviewed by Alexey Proskuryakov.
1156
1157         * DumpRenderTree/win/DumpRenderTree.cpp:
1158         (dumpBackForwardListForAllWindows): Added a .get().
1159         (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
1160         * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
1161         windowToWebViewMap() to hold a ref to the WebViews it contains.
1162
1163 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
1164
1165         Fix the #include file order, per review comments.
1166
1167         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1168
1169 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
1170
1171         Reviewed by Dan Bernstein
1172
1173         https://bugs.webkit.org/show_bug.cgi?id=23362
1174
1175         If the WebHTMLView uses accelerated compositing, we need for force
1176         the on-screen capture path and also force animations to start with -display
1177         since the DRT window has autodisplay disabled.
1178
1179         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1180         (createBitmapContextFromWebView):
1181
1182 2009-02-03  miggilin  <mr.diggilin@gmail.com>
1183
1184         Reviewed by Darin Adler.
1185
1186         Change the way wxWidgets build gets arguments.
1187         Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
1188         argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
1189         removed when --wx is checked for).
1190
1191         https://bugs.webkit.org/show_bug.cgi?id=23701
1192
1193         * Scripts/build-webkit:
1194         * Scripts/webkitdirs.pm:
1195
1196 2009-01-30  Chris Fleizach  <cfleizach@apple.com>
1197
1198         Reviewed by Oliver Hunt.
1199
1200         Catch exceptions thrown by AppKit when accessing an attribute than an element
1201         doesn't return.
1202
1203         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1204         (attributesOfElement):
1205
1206 2009-01-29  David Kilzer  <ddkilzer@apple.com>
1207
1208         Remove semi-colons from the end of ObjC method implementations
1209
1210         Rubber-stamped by Adam Roben.
1211
1212         $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
1213
1214         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1215         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1216         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1217         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1218         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1219         * DumpRenderTree/mac/UIDelegate.mm:
1220         (-[UIDelegate webViewFrame:]):
1221
1222 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
1223
1224         Build fix for GTK.
1225
1226         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1227         (LayoutTestController::webHistoryItemCount):
1228
1229 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
1230
1231         Reviewed by Sam Weinig.
1232
1233         Added support for querying how many history items were created during a
1234         layout test.
1235
1236         * DumpRenderTree/LayoutTestController.cpp:
1237         (getWebHistoryItemCountCallback):
1238         (LayoutTestController::staticValues):
1239         * DumpRenderTree/LayoutTestController.h:
1240         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1241         (LayoutTestController::webHistoryItemCount):
1242         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1243         (LayoutTestController::webHistoryItemCount):
1244
1245 2009-01-26  Pierre-Olivier Latour  <pol@apple.com>
1246
1247         Tweaked again earlier fix, this time just to print a warning and not abort if
1248         attempting to generate pixel results and Perian is installed.
1249
1250         https://bugs.webkit.org/show_bug.cgi?id=22615
1251
1252         * Scripts/run-webkit-tests:
1253
1254 2009-01-26  Christian Dywan  <christian@twotoasts.de>
1255
1256         Rubber stamped by Holger Freyther.
1257
1258         * GtkLauncher/main.c:
1259         (main): Initialize threads, which is required for libSoup.
1260
1261 2009-01-23  David Kilzer  <ddkilzer@apple.com>
1262
1263         * Scripts/do-webcore-rename: Removed 10 header guard renames that
1264         had already been fixed, and updated 4 renames whose original values
1265         had changed.
1266
1267 2009-01-22  Anders Carlsson  <andersca@apple.com>
1268
1269         Fix Windows build.
1270
1271         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1272
1273 2009-01-22  Anders Carlsson  <andersca@apple.com>
1274
1275         Reviewed by Sam Weinig.
1276
1277         Clean up the test plug-in code. We now always use the CG drawing model and the
1278         Cocoa event model. It is however possible to revert to the old Carbon event model by
1279         specifying forcecarbon=true in the embed/object tag.
1280
1281         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1282         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1283         (NPP_New):
1284         (handleEventCarbon):
1285         (handleEventCocoa):
1286         (NPP_HandleEvent):
1287
1288 2009-01-21  Pierre-Olivier Latour  <pol@apple.com>
1289
1290         Tweaked earlier fix to only print a warning when Perian is installed,
1291         and fail completely only if attempting to generate new pixel test results.
1292
1293         https://bugs.webkit.org/show_bug.cgi?id=23392
1294
1295         * Scripts/run-webkit-tests:
1296
1297 2009-01-20  Darin Adler  <darin@apple.com>
1298
1299         Reviewed by Alexey Proskuryakov.
1300
1301         Bug 23450: string leaks seen in DumpRenderTree accessibility test code
1302         https://bugs.webkit.org/show_bug.cgi?id=23450
1303
1304         * DumpRenderTree/AccessibilityUIElement.cpp:
1305         (isAttributeSettableCallback): Add the missing JSStringRelease call.
1306         (attributeValueCallback): Ditto.
1307
1308 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
1309
1310         Reviewed by Darin Adler.
1311
1312         Print warning regarding display color profile change in run-webkit-tests instead of DRT.
1313
1314         https://bugs.webkit.org/show_bug.cgi?id=23392
1315
1316         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1317         (setupMainDisplayColorProfile):
1318         * Scripts/run-webkit-tests:
1319
1320 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
1321
1322         Reviewed by Darin Adler.
1323
1324         Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
1325         in order to avoid result differences in some media tests.
1326
1327         https://bugs.webkit.org/show_bug.cgi?id=22615
1328
1329         * Scripts/run-webkit-tests:
1330         * Scripts/webkitdirs.pm:
1331
1332 2009-01-19  Sam Weinig  <sam@webkit.org>
1333
1334         * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
1335
1336 2009-01-16  Gabor Loki  <loki@inf.u-szeged.hu>
1337
1338         Reviewed by Darin Adler.
1339
1340         * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
1341         parameters to make command in QMake projects.
1342
1343 2009-01-16  Chris Fleizach  <cfleizach@apple.com>
1344
1345         Reviewed by Beth Dakin.
1346
1347         Add AX methods to retrieve the parent of an element.
1348
1349         * DumpRenderTree/AccessibilityUIElement.cpp:
1350         (parentElementCallback):
1351         (AccessibilityUIElement::getJSClass):
1352         * DumpRenderTree/AccessibilityUIElement.h:
1353         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1354         (AccessibilityUIElement::parentElement):
1355         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1356         (AccessibilityUIElement::parentElement):
1357
1358 2009-01-16  Anders Carlsson  <andersca@apple.com>
1359
1360         Reviewed by Adam Roben.
1361
1362         Set the count to the right number of elements.
1363
1364         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1365         (testEnumerate):
1366
1367 2009-01-14  David Kilzer  <ddkilzer@apple.com>
1368
1369         BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled()
1370
1371         Rubber-stamped by Alice Liu.
1372
1373         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1374         (LayoutTestController::setIconDatabaseEnabled): Use COM API
1375         to get the shared WebIconDatabase.
1376
1377 2009-01-14  Jeremy Moskovich  <jeremy@chromium.org>
1378
1379         Reviewed by Eric Seidel.
1380
1381         <https://bugs.webkit.org/show_bug.cgi?id=16829>
1382         Implement NPN_SetException()
1383
1384         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1385         (pluginInvoke):
1386         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1387         (initializeIdentifiers):
1388         (testHasMethod):
1389         (testInvoke):
1390
1391 2009-01-13  Dmitry Titov  <dimich@chromium.org>
1392
1393         Reviewed by David Kilzer.
1394
1395         https://bugs.webkit.org/show_bug.cgi?id=23304
1396         Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches.
1397
1398         * Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files.
1399
1400 2009-01-14  David Kilzer  <ddkilzer@apple.com>
1401
1402         BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK
1403
1404         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1405         (runTest): Added call to reset the icon database to match Mac
1406         and Windows ports.
1407         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1408         (LayoutTestController::setIconDatabaseEnabled): Implemented
1409         stub method.
1410
1411 2009-01-14  David Kilzer  <ddkilzer@apple.com>
1412
1413         Bug 22795: favicons should be saved to webarchives
1414
1415         <https://bugs.webkit.org/show_bug.cgi?id=22795>
1416
1417         Reviewed by Darin Adler.
1418
1419         * DumpRenderTree/LayoutTestController.cpp:
1420         (setIconDatabaseEnabledCallback): Added.
1421         (setJavaScriptProfilingEnabledCallback): Realphabetized.
1422         (LayoutTestController::staticFunctions): Added entry for calling
1423         LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript.
1424         * DumpRenderTree/LayoutTestController.h:
1425         (setIconDatabaseEnabledCallback): Added declaration.
1426         (setJavaScriptProfilingEnabledCallback): Realphabetized.
1427
1428         * DumpRenderTree/mac/DumpRenderTree.mm:
1429         (runTest): Disable the icon database before each test.
1430         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1431         (LayoutTestController::setIconDatabaseEnabled): Added.
1432         (LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized.
1433
1434         * DumpRenderTree/win/DumpRenderTree.cpp:
1435         (runTest): Disable the icon database before each test.
1436         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1437         (LayoutTestController::setIconDatabaseEnabled): Added.
1438
1439 2009-01-14  Steve Falkenburg  <sfalken@apple.com>
1440
1441         Update copyright year in version resources.
1442
1443         Reviewed by Adam Roben.
1444
1445         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
1446
1447 2009-01-14  Dan Bernstein  <mitz@apple.com>
1448
1449         Reviewed by John Sullivan.
1450
1451         - update copyright
1452
1453         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist:
1454         * WebKitLauncher/Info.plist:
1455
1456 2009-01-13  Anders Carlsson  <andersca@apple.com>
1457
1458         Reviewed by Sam Weinig.
1459
1460         Add NPRuntime test.
1461
1462         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1463         (testNPRuntime):
1464         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1465         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1466         (NPP_New):
1467         (NPP_GetValue):
1468
1469 2009-01-12  Mark Rowe  <mrowe@apple.com>
1470
1471         Use the modern spelling of WebKit.
1472
1473         * Scripts/find-extra-includes:
1474         * Scripts/report-include-statistics:
1475         * Scripts/run-webkit-app:
1476         * Scripts/svn-unapply:
1477         * Scripts/update-webkit:
1478
1479 2009-01-11  Darin Adler  <darin@apple.com>
1480
1481         * Scripts/make-js-test-wrappers: Updated so it won't overwrite tests in the svg/dom
1482         directory that aren't using standard wrappers.
1483
1484 2009-01-11  Robert Blaut  <webkit@blaut.biz>
1485
1486         Reviewed by Eric Seidel.
1487
1488         <https://bugs.webkit.org/show_bug.cgi?id=23134>
1489         Update bisect-builds for Safari 3.2 to prevent crashes
1490
1491         * Scripts/bisect-builds: Added Safari 3.2 and the corresponding minimal revision, r37348.
1492
1493 2009-01-08  Adam Treat  <adam.treat@torchmobile.com>
1494
1495         Reviewed by Simon Hausmann.
1496
1497         Explicitly set these so that the layout tests do not break.
1498
1499         * DumpRenderTree/qt/DumpRenderTree.cpp:
1500         (WebCore::WebPage::WebPage):
1501
1502 2009-01-07  Glenn Wilson  <gwilson@chromium.org>
1503
1504         Reviewed by Eric Seidel.
1505
1506         Changed DumpRenderTree to re-enable Javascript in web preferences on every test.
1507         This fixes the case when a user mistakenly disables Javascript, and all layout tests crash.
1508
1509         * DumpRenderTree/mac/DumpRenderTree.mm:
1510         (testStringByEvaluatingJavaScriptFromString):
1511         (setDefaultsToConsistentValuesForTesting):
1512
1513 2009-01-07  Holger Hans Peter Freyther  <zecke@selfish.org>
1514
1515         Reviewed by Maciej Stachowiak.
1516
1517         Implement numberOfActiveAnimations to fix the build
1518
1519         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1520         (LayoutTestController::numberOfActiveAnimations):
1521
1522 2009-01-07  Adam Treat  <adam.treat@torchmobile.com>
1523
1524         Reviewed by George Staikos.
1525
1526         Fix unused variable warnings
1527
1528         * DumpRenderTree/qt/DumpRenderTree.cpp:
1529         (WebCore::WebPage::javaScriptAlert):
1530         (WebCore::WebPage::javaScriptConfirm):
1531         (WebCore::WebPage::javaScriptPrompt):
1532         * DumpRenderTree/qt/jsobjects.cpp:
1533         (LayoutTestController::maybeDump):
1534         * DumpRenderTree/qt/main.cpp:
1535         (get_backtrace):
1536         * DumpRenderTree/qt/testplugin.cpp:
1537         (TestPlugin::create):
1538
1539 2009-01-06  Pierre-Olivier Latour  <pol@apple.com>
1540
1541         Reviewed by Darin Adler.
1542
1543         Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations.
1544         This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore.
1545
1546         https://bugs.webkit.org/show_bug.cgi?id=23126
1547
1548         * DumpRenderTree/LayoutTestController.cpp:
1549         (numberOfActiveAnimationsCallback):
1550         (LayoutTestController::staticFunctions):
1551         * DumpRenderTree/LayoutTestController.h:
1552         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1553         (LayoutTestController::numberOfActiveAnimations):
1554         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1555         (LayoutTestController::numberOfActiveAnimations):
1556
1557 2009-01-04  David Kilzer  <ddkilzer@apple.com>
1558
1559         Don't install internal headers in WebKit framework
1560
1561         Reviewed by Darin Adler.
1562
1563         Since WebHTMLRepresentationInternal.h and WebTypesInternal.h are
1564         no longer installed in WebKit.framework/PrivateHeaders, use the
1565         special relationship of DumpRenderTree within the WebKit source
1566         tree to include the internal headers through relative paths.
1567         Created the concept of mac/InternalHeaders to hide the ugly
1568         paths.
1569
1570         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added
1571         mac/InternalHeaders to HEADER_SEARCH_PATHS.
1572         * DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Added.
1573         * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h: Added.
1574
1575 2009-01-02  Adam Treat  <treat@kde.org>
1576
1577         Reviewed by George Staikos.
1578
1579         Add support for fixedLayoutSize to the qt DRT
1580
1581         * DumpRenderTree/qt/jsobjects.cpp:
1582         (LayoutTestController::setFixedLayoutSize):
1583         (LayoutTestController::setUseFixedLayout):
1584         * DumpRenderTree/qt/jsobjects.h:
1585
1586 2009-01-03  David D. Kilzer  <ddkilzer@webkit.org>
1587
1588         Bug 23091: Some webarchive http tests intermittently fail due to Connection/Keep-Alive header differences
1589
1590         <https://bugs.webkit.org/show_bug.cgi?id=23091>
1591
1592         Reviewed by Darin Adler.
1593
1594         * DumpRenderTree/mac/DumpRenderTree.mm:
1595         (normalizeHTTPResponseHeaderFields): Remove Keep-Alive and
1596         Connection headers from webarchive results.
1597
1598 2008-12-31  Zan Dobersek  <zandobersek@gmail.com>
1599
1600         Reviewed by Holger Freyther.
1601
1602         https://bugs.webkit.org/show_bug.cgi?id=22812
1603
1604         Prevent TestNetscapePlugin from installing system-wide.
1605
1606         * GNUmakefile.am:
1607
1608 2008-12-31  Zan Dobersek  <zandobersek@gmail.com>
1609
1610         Reviewed by Holger Freyther.
1611
1612         https://bugs.webkit.org/show_bug.cgi?id=22842
1613
1614         Move WebKitWebView's size allocation into a proper place.
1615
1616         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1617         (dump):
1618         (runTest):
1619
1620 2008-12-24  Mark Rowe  <mrowe@apple.com>
1621
1622         Reviewed by Timothy Hatcher.
1623
1624         Move the guts of determineCurrentSVNRevision to VCSUtils as svnRevisionForDirectory,
1625         and make it work for git too.
1626
1627         * Scripts/VCSUtils.pm:
1628         * Scripts/webkitdirs.pm:
1629
1630 2008-12-22  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1631
1632         Reviewed by George Staikos.
1633
1634         Ignore http/tests/wml, if no WML support is present.
1635         Add http/tests/wml to list of HTTP tests, allowed to access local resources.
1636
1637         * Scripts/run-webkit-tests:
1638
1639 2008-12-19  David Levin  <levin@chromium.org>
1640
1641         Reviewed by Mark Rowe.
1642
1643         https://bugs.webkit.org/show_bug.cgi?id=22930
1644
1645         Make the git diff command used for preparing the change log avoid using any external diff tools.
1646
1647         * Scripts/prepare-ChangeLog:
1648
1649 2008-12-19  Gustavo Noronha Silva  <gns@gnome.org>
1650
1651         Reviewed by Holger Freyther.
1652
1653         https://bugs.webkit.org/show_bug.cgi?id=22686
1654
1655         Added files which were missing from the TestNetscapePlugin
1656         directory to the SOURCES variable, so that they will be
1657         distributed in a make dist.
1658
1659         * GNUMakefile.am:
1660
1661 2008-12-18  Cameron Zwarich  <zwarich@apple.com>
1662
1663         Reviewed by Geoff Garen.
1664
1665         Add tests for bug 21855: REGRESSION (r37323): Gmail complains about popup blocking when opening a link
1666         <https://bugs.webkit.org/show_bug.cgi?id=21855>
1667         <rdar://problem/6278244>
1668
1669         Add support for scheduling asynchronous clicks to DumpRenderTree, but
1670         only on the Mac.
1671
1672         * DumpRenderTree/mac/EventSendingController.h:
1673         * DumpRenderTree/mac/EventSendingController.mm:
1674         (+[EventSendingController isSelectorExcludedFromWebScript:]): Expose
1675         scheduleAsynchronousClick to JavaScript.
1676         (-[EventSendingController scheduleAsynchronousClick]): Add.
1677
1678 2008-12-15  Darin Adler  <darin@apple.com>
1679
1680         * Scripts/make-js-test-wrappers: Added another exception to avoid overwriting
1681         a custom-written test.
1682
1683 2008-12-15  Simon Hausmann  <hausmann@webkit.org>
1684
1685         Reviewed by Holger Freyther.
1686
1687         Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
1688
1689         * DumpRenderTree/qt/jsobjects.cpp:
1690         (LayoutTestController::setJavaScriptProfilingEnabled):
1691         * DumpRenderTree/qt/jsobjects.h:
1692
1693 2008-12-13  Zan Dobersek  <zandobersek@gmail.com>
1694
1695         Reviewed by Darin Adler.
1696
1697         https://bugs.webkit.org/show_bug.cgi?id=22039
1698
1699         Implement animation and transition pausing.
1700
1701         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1702         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1703         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1704
1705 2008-12-12  Brent Fulgham  <bfulgham@gmail.com>
1706
1707         Reviewed by Adam Roben.
1708
1709         https://bugs.webkit.org/show_bug.cgi?id=22809
1710
1711         Increase timeout in call to initWithURL so that people actually see
1712         new web pages when they type URLs rather than a blank screen.
1713
1714         * WinLauncher/WinLauncher.cpp:
1715         (loadURL):  Increase timeout in initWithURL from 0 to 60 seconds.
1716
1717 2008-12-12  Darin Adler  <darin@apple.com>
1718
1719         * Scripts/do-webcore-rename: Add a renaming idea.
1720
1721 2008-12-12  Holger Hans Peter Freyther  <zecke@selfish.org>
1722
1723         Reviewed by Simon Hausmann.
1724
1725         Update the WebKit.qrc and add a script to automatically generate the file.
1726
1727         With the way rcc and qmake work this can not be done at build time
1728         as the WebKit.qrc must sit inside the directory that contains the files
1729         and at build time we may not change the content of the source directory.
1730
1731         * Scripts/generate-qt-inspector-resource: Added.
1732
1733 2008-12-11  Cameron Zwarich  <zwarich@apple.com>
1734
1735         Rubber-stamped by Mark Rowe.
1736
1737         Roll out r39212 due to assertion failures during layout tests, multiple
1738         layout test failures, memory leaks, and obvious incorrectness.
1739
1740         * DumpRenderTree/LayoutTestController.cpp:
1741         (LayoutTestController::staticFunctions):
1742         * DumpRenderTree/LayoutTestController.h:
1743         * DumpRenderTree/mac/DumpRenderTree.mm:
1744         (resetWebViewToConsistentStateBeforeTesting):
1745         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1746         * DumpRenderTree/win/DumpRenderTree.cpp:
1747         (resetWebViewToConsistentStateBeforeTesting):
1748         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1749         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1750
1751 2008-12-10  Glenn Wilson  <gwilson@google.com>
1752
1753         Reviewed by Adam Roben.
1754
1755         Changed LayoutTestController and DumpRenderTree to allow for manual
1756         overriding of default preferences at test time.  Also added support for
1757         resetting the preferences after each test.
1758         https://bugs.webkit.org/show_bug.cgi?id=20534
1759
1760         * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
1761         * DumpRenderTree/LayoutTestController.h: Added signature for callback
1762         * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
1763         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
1764         * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
1765         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
1766
1767 2008-12-10  Brady Eidson  <beidson@apple.com>
1768
1769         Reviewed by Darin Adler.
1770
1771         Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
1772
1773         * DumpRenderTree/win/DumpRenderTree.cpp:
1774         * DumpRenderTree/win/DumpRenderTreeWin.h:
1775
1776         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1777         (LayoutTestController::setCustomPolicyDelegate):
1778
1779         * DumpRenderTree/win/PolicyDelegate.cpp:
1780         (PolicyDelegate::PolicyDelegate):
1781         (PolicyDelegate::decidePolicyForNavigationAction):
1782         * DumpRenderTree/win/PolicyDelegate.h:
1783         (PolicyDelegate::setPermissive):
1784
1785 2008-12-10  Brady Eidson  <beidson@apple.com>
1786
1787         Reviewed by Darin
1788
1789         Change the custom policy delegate to actually allow navigation for tests that need it.
1790         The new behavior is opt-in and doesn't require any changes in old tests.
1791
1792         * DumpRenderTree/LayoutTestController.cpp:
1793         (setCustomPolicyDelegateCallback):  Allow for a second boolean argument to set the permissive flag on the custom
1794           policy delegate, which will be false by default to maintain original behavior.
1795         * DumpRenderTree/LayoutTestController.h:
1796         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1797         (LayoutTestController::setCustomPolicyDelegate):
1798
1799         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1800         (LayoutTestController::setCustomPolicyDelegate):  Partially stubbed out for now.
1801         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1802         (LayoutTestController::setCustomPolicyDelegate):  Still stubbed out, but with new param.
1803
1804         * DumpRenderTree/mac/PolicyDelegate.h:
1805         * DumpRenderTree/mac/PolicyDelegate.mm:
1806         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):  If the permissive flag
1807           is set, allow the navigation.
1808         (-[PolicyDelegate setPermissive:]):  Change the behavior between "use" and "ignore" - allowing navigation or not.
1809
1810 2008-12-09  Mark Rowe  <mrowe@apple.com>
1811
1812         Rubber-stamped by Ada Chan.
1813
1814         Fix gdb-safari on Tiger.
1815
1816         gdb on Tiger does not take the -arch flag, so do not pass it.
1817
1818         * Scripts/gdb-safari:
1819
1820 2008-12-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1821
1822         Reviewed by Alexey Proskuryakov.
1823
1824         Ignore WML tests, if no WML support available.
1825
1826         * Scripts/run-webkit-tests:
1827
1828 2008-12-08  Geoffrey Garen  <ggaren@apple.com>
1829
1830         Reviewed by Oliver Hunt.
1831
1832         Added a shortcut for --jsDriver-args, which I use a lot.
1833
1834         * Scripts/run-javascriptcore-tests:
1835
1836 2008-12-08  Stephanie Lewis  <slewis@apple.com>
1837
1838         Fix Tiger build.
1839
1840         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1841
1842 2008-12-08  Darin Adler  <darin@apple.com>
1843
1844         Reviewed by John Sullivan.
1845
1846         - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
1847           REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
1848
1849         * DumpRenderTree/LayoutTestController.cpp:
1850         (isCommandEnabledCallback): Added.
1851         (LayoutTestController::staticFunctions): Added "isCommandEnabled".
1852         * DumpRenderTree/LayoutTestController.h: Ditto.
1853         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1854         (LayoutTestController::isCommandEnabled): Ditto.
1855         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1856         (-[CommandValidationTarget initWithAction:]): Added. Used to get the
1857         command validation system to tell us if a comment is enabled.
1858         (-[CommandValidationTarget action]): Ditto.
1859         (-[CommandValidationTarget tag]): Ditto.
1860         (LayoutTestController::isCommandEnabled): Ditto.
1861         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1862         (LayoutTestController::isCommandEnabled): Ditto.
1863
1864 2008-12-08  David Kilzer  <ddkilzer@apple.com>
1865
1866         Bug 22555: Sort "children" sections in Xcode project files
1867
1868         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1869
1870         Reviewed by Eric Seidel.
1871
1872         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
1873         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
1874         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
1875
1876 2008-12-08  David Kilzer  <ddkilzer@apple.com>
1877
1878         Bug 22555: Sort "children" sections in Xcode project files
1879
1880         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1881
1882         Reviewed by Timothy Hatcher.
1883
1884         * Scripts/sort-Xcode-project-file: By popular request, don't sort
1885         the mainGroup in the project (the list of items below the top-level
1886         project file).
1887
1888 2008-12-05  David Kilzer  <ddkilzer@apple.com>
1889
1890         Bug 22555: Sort "children" sections in Xcode project files
1891
1892         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1893
1894         Reviewed by Darin Adler.
1895
1896         Sort "children" sections alphabetically, moving groups (folders) to
1897         the top of each of the lists.  Files are assumed to have extensions,
1898         so %isFile is used to override this behavior.
1899
1900         * Scripts/sort-Xcode-project-file:
1901         (sortChildrenByFileName): Added.
1902         (sortFilesByFileName): Renamed from sortByFileName().
1903
1904 2008-12-05  Eric Seidel  <eric@webkit.org>
1905
1906         Reviewed by Geoff Garen.
1907
1908         https://bugs.webkit.org/show_bug.cgi?id=22683
1909         Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
1910         Add a new argumentsForConfiguration() function and clean up some old code to use it.
1911         Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
1912
1913         * Scripts/run-javascriptcore-tests:
1914         * Scripts/run-launcher:
1915         * Scripts/run-webkit-tests:
1916         * Scripts/webkitdirs.pm:
1917
1918 2008-12-03  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1919
1920         Reviewed by Cameron Zwarich.
1921
1922         Further preparations for WML layout tests.
1923         Ignore WMLTestCase.js, that's going to be in trunk soon.
1924
1925         * Scripts/make-js-test-wrappers:
1926
1927 2008-12-03  Eric Seidel  <eric@webkit.org>
1928
1929         Build fix for --gtk and --chromium, no review.
1930
1931         Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
1932         through to build-jsc.
1933
1934         * Scripts/build-jsc:
1935         * Scripts/webkitdirs.pm:
1936
1937 2008-12-03  Eric Seidel  <eric@webkit.org>
1938
1939         Build fix only, no review.
1940
1941         Remove support for build-webkit --svg-experimental.
1942         All of the "experimental" svg features have their own toggles anyway.
1943         I broke --svg-experimental in my last commit (which then broke clean builds)
1944         I can't find any use of --svg-experimental in our source tree, so removing it.
1945
1946         * Scripts/build-webkit:
1947
1948 2008-12-02  Eric Seidel  <eric@webkit.org>
1949
1950         Reviewed by David Hyatt (and Mark Rowe).
1951
1952         Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
1953         Move --coverage support out of run-javascriptcore-tests and into build-jsc
1954
1955         Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
1956         there from build-webkit (to allow future sharing with other build-* scripts)
1957
1958         Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
1959         picking through ARGV with a blacklist of what arguments weren't jsDriver args
1960         this makes run-javascriptcore-tests transparently support all arguments which
1961         webkitdirs.pm gives it support for.
1962
1963         Make run-javascriptcore-tests actually print what commands it's running before running them.
1964
1965         Add --help support to build-jsc and run-javascriptcore-tests!
1966
1967         Make code to support --svg-experimental defaults take up half as many lines.
1968
1969         * Scripts/build-jsc:
1970         * Scripts/build-webkit:
1971         * Scripts/run-javascriptcore-tests:
1972         * Scripts/webkitdirs.pm:
1973
1974 2008-12-03  Adam Roben  <aroben@apple.com>
1975
1976         Fix a leak in WinLauncher shutdown
1977
1978         Reviewed by Sam Weinig.
1979
1980         * WinLauncher/WinLauncher.cpp:
1981         (_tWinMain): Replaced a delete with a Release. We can't delete the
1982         WebView properly since we only have a pointer to one of its
1983         interfaces. We also shouldn't be deleting COM objects directly anyway,
1984         for a number of reasons.
1985
1986 2008-12-03  Adam Roben  <aroben@apple.com>
1987
1988         Fix a crash on exit in WinLauncher
1989
1990         Reviewed by Sam Weinig.
1991
1992         * WinLauncher/WinLauncher.cpp:
1993         (_tWinMain): Call shutDownWebKit before exiting.
1994
1995 2008-12-03  Adam Roben  <aroben@apple.com>
1996
1997         Add a Debug_Internal configuration to WinLauncher
1998
1999         This matches our other projects.
2000
2001         Reviewed by Sam Weinig.
2002
2003         * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
2004         configuration, which is identical to Debug except that it also
2005         references debug_internal.vsprops. Also removed some settings that we
2006         should be picking up from the .vsprops files.
2007
2008 2008-12-02  Eric Seidel  <eric@webkit.org>
2009
2010         Reviewed by David Kilzer.
2011
2012         Hack build-webkit --chromium to use Win32 python instead
2013         of using the default cygwin python.  Scons + CYGWIN tries
2014         to build with GCC by default, we force MSVC in our file
2015         but that just results in errors from Scons.  Until we can fix
2016         this latest round of errors, at least make build-webkit --chromium
2017         actually "work" under CYGWIN instead of forcing users to use
2018         a cmd shell directly.
2019
2020         This is working around a Scons bug:
2021         http://scons.tigris.org/issues/show_bug.cgi?id=2266
2022
2023         * Scripts/webkitdirs.pm:
2024
2025 2008-12-01  David Kilzer  <ddkilzer@apple.com>
2026
2027         Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
2028
2029         <https://bugs.webkit.org/show_bug.cgi?id=22466>
2030         <rdar://problem/6403593>
2031
2032         Reviewed by Brady Eidson.
2033
2034         * DumpRenderTree/mac/DumpRenderTree.mm:
2035         (normalizeHTTPResponseHeaderFields): Added.  Normalizes Date, Etag,
2036         Keep-Alive, Last-Modified and Server header fields to prevent false
2037         positive test failures.
2038         (convertWebResourceResponseToDictionary): Call
2039         normalizeHTTPResponseHeaderFields() to noramlize HTTP response
2040         header fields.
2041
2042 2008-12-01  David D. Kilzer  <ddkilzer@webkit.org>
2043
2044         Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
2045
2046         <https://bugs.webkit.org/show_bug.cgi?id=22559>
2047
2048         Reviewed by Adam Roben.
2049
2050         * Scripts/bisect-builds: Updated status message to report the
2051         maximum number of builds left to test after the current one.
2052         (max): Added.
2053
2054 2008-11-27  Alp Toker  <alp@nuanti.com>
2055
2056         Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
2057         API header breakage at build time.
2058
2059         * GNUmakefile.am:
2060
2061 2008-11-26  Eric Seidel  <eric@webkit.org>
2062
2063         Reviewed by Nikolas Zimmermann and Mark Rowe.
2064
2065         Add support for build-webkit --chromium
2066         https://bugs.webkit.org/show_bug.cgi?id=22515
2067         More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
2068
2069         * Scripts/build-dumprendertree:
2070         * Scripts/build-jsc:
2071         * Scripts/build-webkit:
2072         * Scripts/gdb-safari:
2073         * Scripts/run-webkit-tests:
2074         * Scripts/webkitdirs.pm:
2075
2076 2008-11-26  Eric Seidel  <eric@webkit.org>
2077
2078         Reviewed by Nikolas Zimmermann.
2079
2080         Add support for build-webkit --chromium (tested on mac)
2081         https://bugs.webkit.org/show_bug.cgi?id=22515
2082         Also simplified some code using checkArgv
2083
2084         * Scripts/build-webkit:
2085         * Scripts/webkitdirs.pm:
2086
2087 2008-11-26  Eric Seidel  <eric@webkit.org>
2088
2089         Reviewed by Nikolas Zimmermann.
2090
2091         More pre-work for adding a build-webkit --chromium which works on Mac and Windows
2092         https://bugs.webkit.org/show_bug.cgi?id=22515
2093         Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
2094         in preparation for having a chromium cygwin and chromium mac build
2095
2096         * Scripts/build-webkit:
2097         * Scripts/webkitdirs.pm:
2098
2099 2008-11-26  Eric Seidel  <eric@webkit.org>
2100
2101         Reviewed by Nikolas Zimmermann.
2102
2103         Pre-work for getting build-webkit --chromium to work
2104         https://bugs.webkit.org/show_bug.cgi?id=22515
2105         Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
2106
2107         * Scripts/build-dumprendertree:
2108         * Scripts/build-jsc:
2109         * Scripts/build-webkit:
2110         * Scripts/gdb-safari:
2111         * Scripts/run-javascriptcore-tests:
2112         * Scripts/run-webkit-tests:
2113         * Scripts/webkitdirs.pm:
2114
2115 2008-11-26  David Kilzer  <ddkilzer@apple.com>
2116
2117         Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
2118
2119         <https://bugs.webkit.org/show_bug.cgi?id=22488>
2120
2121         Reviewed by Brady Eidson.
2122
2123         * DumpRenderTree/mac/DumpRenderTree.mm:
2124         (convertWebResourceDataToString): If an IANA charset encoding string
2125         is provided, convert it to a CFStringEncoding value and then to an
2126         NSStringEncoding value, else fall back to NSUTF8StringEncoding.  We
2127         also nil-check dataAsString, so the worst-case scenario is that the
2128         data won't be decoded to a string (versus crashing DumpRenderTree).
2129
2130 2008-11-26  Jan Michael Alonzo  <jmalonzo@webkit.org>
2131
2132         Reviewed by Holger Freyther.
2133
2134         [Gtk] add/remove tests from Skipped and fix netscape plugin test
2135         https://bugs.webkit.org/show_bug.cgi?id=22484
2136
2137         Remove print'ing to stderr
2138
2139         * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2140         (NP_Initialize):
2141         (NP_Shutdown):
2142
2143 2008-11-25  Steve Falkenburg  <sfalken@apple.com>
2144
2145         Windows build fix.
2146
2147         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2148
2149 2008-11-25  Steve Falkenburg  <sfalken@apple.com>
2150
2151         Windows build fix.
2152
2153         * DumpRenderTree/cg/ImageDiffCG.cpp:
2154
2155 2008-11-24  Darin Fisher  <darin@chromium.org>
2156
2157         Fix bustage.
2158
2159         https://bugs.webkit.org/show_bug.cgi?id=15643
2160
2161         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2162         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
2163
2164 2008-11-24  Glenn Wilson  <gwilson@chromium.org>
2165
2166         Reviewed by Alexey Proskuryakov.
2167
2168         http://bugs.webkit.org/show_bug.cgi?id=15643
2169
2170         Added support for changing the "trailing whitespace" work-around
2171         in LayoutTestController (so layout tests can verify this functionality)
2172
2173         * DumpRenderTree/LayoutTestController.cpp:
2174         (setSelectTrailingWhitespaceEnabledCallback):
2175         (LayoutTestController::staticFunctions):
2176         * DumpRenderTree/LayoutTestController.h:
2177         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2178         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
2179         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2180         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
2181
2182 2008-11-24  Simon Fraser  <simon.fraser@apple.com>
2183
2184         Reviewed by Darin Adler
2185
2186         https://bugs.webkit.org/show_bug.cgi?id=22433
2187
2188         Add script that attempts to detect virtual methods
2189         whose signatures differ only by constness (which can
2190         indicate a programming error).
2191
2192         * Scripts/detect-mismatched-virtual-const: Added.
2193
2194 2008-11-24  Zan Dobersek  <zandobersek@gmail.com>
2195
2196         Reviewed by Holger Freyther.
2197
2198         https://bugs.webkit.org/show_bug.cgi?id=22039
2199
2200         [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
2201         build.
2202
2203         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2204         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2205         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2206         (setDefaultsToConsistentStateValuesForTesting):
2207         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
2208         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
2209         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
2210         * GNUmakefile.am:
2211
2212 2008-11-24  Holger Hans Peter Freyther  <zecke@selfish.org>
2213
2214         Reviewed by Mark Rowe.
2215
2216         [Gtk+] Add configure option to enable Web Workers and enable it by default
2217
2218         Add --enable-workers to the buildsystem (used by build-webkit) add
2219         the to be build files to the GNUmakefile.am and change build-webkit
2220         to enable Web Workers by default.
2221
2222         * Scripts/build-webkit:
2223
2224 2008-11-24  Mark Rowe  <mrowe@apple.com>
2225
2226         Reviewed by Alexey Proskuryakov.
2227
2228         Let gdb-safari accept the --debug and --release options once more.
2229
2230         * Scripts/gdb-safari:
2231
2232 2008-11-23  Zan Dobersek  <zandobersek@gmail.com>
2233
2234         Reviewed by Holger Freyther. Landed by Jan Alonzo.
2235
2236         Get SVG tests tested on GTK port.
2237
2238         * Scripts/webkitdirs.pm:
2239
2240 2008-11-19  Greg Bolsinga  <bolsinga@apple.com>
2241
2242         Reviewed by Darin Adler.
2243
2244         https://bugs.webkit.org/show_bug.cgi?id=21810
2245         Remove use of static C++ objects that are destroyed at exit time (destructors)
2246
2247         All static C++ objects that create atexit calls are gone. Update script
2248         to indicate how to fix the problem should a new one appear.
2249
2250         * Scripts/check-for-exit-time-destructors:
2251
2252 2008-11-18  Alexey Proskuryakov  <ap@webkit.org>
2253
2254         Reviewed by Darin Adler.
2255
2256         https://bugs.webkit.org/show_bug.cgi?id=22337
2257         Enable workers by default
2258
2259         * Scripts/build-webkit: Changed the default to enabled.
2260
2261 2008-11-18  Alexey Proskuryakov  <ap@webkit.org>
2262
2263         Rubber-stamped by Darin Adler.
2264
2265         https://bugs.webkit.org/show_bug.cgi?id=22306
2266         Disable channel messaging support
2267
2268         * Scripts/build-webkit: Add an option to enable channel messaging.
2269
2270 2008-11-17  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
2271
2272         Reviewed by George Staikos.
2273
2274         Add --(no-)wml build flags.
2275
2276         * Scripts/build-webkit:
2277         * Scripts/run-webkit-tests:
2278         * Scripts/webkitdirs.pm:
2279
2280 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
2281
2282         Not reviewed.
2283
2284         Try to fix gtk build.
2285
2286         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2287         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2288         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2289
2290 2008-11-17  Pierre-Olivier Latour  <pol@apple.com>
2291
2292         Reviewed by Maciej.
2293
2294         Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
2295         on Tiger.
2296
2297         https://bugs.webkit.org/show_bug.cgi?id=22271
2298
2299         * Scripts/run-webkit-tests:
2300
2301 2008-11-17  Pierre-Olivier Latour  <pol@apple.com>
2302
2303         Reviewed by Sam Weinig.
2304
2305         Added new JavaScript API on LayoutController to pause a running
2306         CSS transition or animation at a given time.
2307
2308         https://bugs.webkit.org/show_bug.cgi?id=21261
2309
2310         * DumpRenderTree/LayoutTestController.cpp:
2311         (pauseAnimationAtTimeOnElementWithIdCallback):
2312         (pauseTransitionAtTimeOnElementWithIdCallback):
2313         (LayoutTestController::staticFunctions):
2314         * DumpRenderTree/LayoutTestController.h:
2315         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2316         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2317         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2318         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2319         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2320         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2321
2322 2008-11-17  Gabor Loki  <loki@inf.u-szeged.hu>
2323
2324         Reviewed by Darin Adler.
2325
2326         <https://bugs.webkit.org/show_bug.cgi?id=22309>
2327         Pass the remaining options to build system on Qt-port
2328
2329         * Scripts/build-webkit:
2330         * Scripts/webkitdirs.pm:
2331
2332 2008-11-16  Greg Bolsinga  <bolsinga@apple.com>
2333
2334         Reviewed by Darin Adler.
2335
2336         https://bugs.webkit.org/show_bug.cgi?id=21810
2337         Remove use of static C++ objects that are destroyed at exit time (destructors)
2338
2339         Remove .o files from the exclude list that have had their exit-time destructors removed.
2340         Handle case when there is no current symbol.
2341
2342         * Scripts/check-for-exit-time-destructors:
2343
2344 2008-11-16  Sam Weinig  <sam@webkit.org>
2345
2346         * Scripts/do-webcore-rename: Remove now fixed renames.
2347
2348 2008-11-16  Darin Adler  <darin@apple.com>
2349
2350         * Scripts/do-webcore-rename: Plan some future renames.
2351
2352 2008-11-15  Darin Adler  <darin@apple.com>
2353
2354         Rubber stamped by Geoff Garen.
2355
2356         - do the long-planned StructureID -> Structure rename
2357
2358         * Scripts/check-for-global-initializers: Update name of StructureID.o.
2359         * Scripts/do-webcore-rename: Renaming script that I used.
2360
2361 2008-11-15  Greg Bolsinga  <bolsinga@apple.com>
2362
2363         Reviewed by Darin Adler.
2364
2365         https://bugs.webkit.org/show_bug.cgi?id=21810
2366         Remove use of static C++ objects that are destroyed at exit time (destructors)
2367
2368         Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
2369         exit-time destructor. Update code that was changed to fix this issue that ran
2370         into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
2371         in gcc build 5465). Also typdefs for template types needed to be added in some
2372         cases so the type could make it through the macro successfully.
2373
2374         Basically code of the form:
2375         static T m;
2376         becomes:
2377         DEFINE_STATIC_LOCAL(T, m, ());
2378
2379         Also any code of the form:
2380         static T& m = *new T;
2381         also becomes:
2382         DEFINE_STATIC_LOCAL(T, m, ());
2383
2384         Remove .o files from the exclude list that have had their exit-time destructors removed.
2385
2386         * Scripts/check-for-exit-time-destructors:
2387
2388 2008-11-14  Kevin Ollivier  <kevino@theolliviers.com>
2389
2390         wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
2391
2392         * wx/install-unix-extras:
2393
2394 2008-11-14  Alp Toker  <alp@nuanti.com>
2395
2396         GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
2397
2398         Fixes Debian bug #505723
2399         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
2400
2401         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2402
2403 2008-11-14  Krishna <krishnamurty.podipireddy@nokia.com>
2404
2405         Reviewed by Simon Hausmann.
2406
2407         Fix hanging DRT with Qt.
2408
2409         https://bugs.webkit.org/show_bug.cgi?id=22209
2410
2411         * DumpRenderTree/qt/DumpRenderTree.cpp:
2412         (WebCore::DumpRenderTree::dump):
2413         Send empty pixel test data 'block', which is now
2414         expected by run-layout-tests.
2415
2416 2008-11-12  Dmitry Titov  <dimich@chromium.org>
2417
2418         Reviewed by Alexey Proskuryakov.
2419
2420         https://bugs.webkit.org/show_bug.cgi?id=22216
2421
2422         * Scripts/build-webkit:
2423         Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
2424
2425 2008-11-06  David Kilzer  <ddkilzer@apple.com>
2426
2427         BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
2428
2429         Apparently older versions of gcc have issues with this patch.
2430         Backing out a second time until the issues are resolved.
2431
2432 2008-11-06  David Kilzer  <ddkilzer@apple.com>
2433
2434         BUILD WAS NOT BROKEN: Rolling r38189 back in.
2435
2436         Please perform a clean build if you see crashes.
2437
2438 2008-11-06  David Kilzer  <ddkilzer@apple.com>
2439
2440         BUILD FIX: Backed out r38189 since it apparently broke the world.
2441
2442 2008-11-06  Chris Fleizach  <cfleizach@apple.com>
2443
2444         Reviewed by Beth Dakin.
2445
2446         Add ability to query an attribute's settable status and the
2447         ability to retrieve a single attribute from an AXObject
2448
2449         * DumpRenderTree/AccessibilityUIElement.cpp:
2450         (isAttributeSettableCallback):
2451         (attributeValueCallback):
2452         (AccessibilityUIElement::getJSClass):
2453         * DumpRenderTree/AccessibilityUIElement.h:
2454         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2455         (+[NSString stringWithJSStringRef:]):
2456         (AccessibilityUIElement::attributeValue):
2457         (AccessibilityUIElement::isAttributeSettable):
2458         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2459         (AccessibilityUIElement::attributeValue):
2460         (AccessibilityUIElement::isAttributeSettable):
2461
2462 2008-11-06  Greg Bolsinga  <bolsinga@apple.com>
2463
2464         Reviewed by Darin Adler.
2465
2466         Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
2467         https://bugs.webkit.org/show_bug.cgi?id=21810
2468
2469         Remove .o files from the exclude list that have had their exit-time destructors removed.
2470
2471         * Scripts/check-for-exit-time-destructors:
2472
2473 2008-11-05  Alp Toker  <alp@nuanti.com>
2474
2475         GTK build script tweak.
2476
2477         Make the path relative since it will appear in all -I compiler flags.
2478         Long argument lists cause bizarre slowdowns in libtool and result
2479         in huge build logs.
2480
2481         * Scripts/webkitdirs.pm:
2482
2483 2008-11-05  Anders Carlsson  <andersca@apple.com>
2484
2485         Fix 64-bit build.
2486
2487         * DumpRenderTree/mac/DumpRenderTree.mm:
2488         (setDefaultsToConsistentValuesForTesting):
2489
2490 2008-11-04  Simon Fraser  <simon.fraser@apple.com>
2491
2492         Add AccessibilityObject.o to the exclude list for the
2493         check for global destructors.
2494
2495         * Scripts/check-for-exit-time-destructors:
2496
2497 2008-11-04  Darin Adler  <darin@apple.com>
2498
2499         * Scripts/check-for-exit-time-destructors: Fix failures seen on the
2500         bot, but for some reason not on my computer.
2501
2502 2008-11-03  Darin Adler  <darin@apple.com>
2503
2504         Reviewed by Tim Hatcher.
2505
2506         - https://bugs.webkit.org/show_bug.cgi?id=22061
2507           create script to check for exit-time destructors
2508
2509         * Scripts/check-for-exit-time-destructors: Added.
2510         Started as a copy of check-for-global-initializers.
2511
2512         * Scripts/check-for-global-initializers: Added code to make
2513         this script rerun any time it's modified, and also to properly
2514         run again after the first time it reports an error.
2515
2516 2008-11-03  Pierre-Olivier Latour  <pol@apple.com>
2517
2518         Reviewed by Dan Bernstein.
2519
2520         Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
2521
2522         https://bugs.webkit.org/show_bug.cgi?id=22054
2523
2524         * DumpRenderTree/mac/DumpRenderTree.mm:
2525         (setDefaultsToConsistentValuesForTesting):
2526
2527 2008-10-31  Cameron Zwarich  <zwarich@apple.com>
2528
2529         Not reviewed.
2530
2531         * Scripts/do-webcore-rename:
2532
2533         Add some renames to contemplate for the future.
2534
2535 2008-10-31  Darin Adler  <darin@apple.com>
2536
2537         Requested by Mark Rowe.
2538
2539         * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
2540
2541 2008-10-31  David Kilzer  <ddkilzer@apple.com>
2542
2543         Bug 21997: prepare-ChangeLog should filter out ChangeLog files
2544
2545         <https://bugs.webkit.org/show_bug.cgi?id=21997>
2546
2547         Reviewed by Darin Adler.
2548
2549         * Scripts/prepare-ChangeLog:
2550         (generateFileList): Don't add ChangeLog files to %{$functionLists}.
2551         This prevents them from showing up in the new ChangeLog entry.  They
2552         were already excluded from @{$changedFiles}.
2553
2554 2008-10-30  Mark Rowe  <mrowe@apple.com>
2555
2556         Reviewed by Jon Homeycutt.
2557
2558         Explicitly default to building for only the native architecture in debug and release builds.
2559
2560         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2561
2562 2008-10-30  Pierre-Olivier Latour  <pol@apple.com>
2563
2564         Reviewed by Dan Bernstein.
2565
2566         Fixed 64 bit build failure.
2567
2568         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2569         (setupMainDisplayColorProfile):
2570         (createBitmapContextFromWebView):
2571
2572 2008-10-28  Alp Toker  <alp@nuanti.com>
2573
2574         Fix GTK DRT following build breakage in r37928.
2575
2576         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2577         (dump):
2578         (runTest):
2579         (main):
2580
2581 2008-10-28  Alp Toker  <alp@nuanti.com>
2582
2583         Reviewed by Mark Rowe.
2584
2585         Fix recently introduced double-free crashes in GTK DRT.
2586
2587         LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
2588         were updated to call ->deref() but GTK DRT was still deleting
2589         gLayoutTestController manually. This patch updates GTK to match the
2590         other ports and resolves the memory allocation issues.
2591
2592         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2593         (runTest):
2594
2595 2008-10-28  Alp Toker  <alp@nuanti.com>
2596
2597         Reviewed by Mark Rowe.
2598
2599         Fix GTK DRT hang when running the tests.
2600
2601         Update output from the DRT tool to print an additional '#EOF' to match
2602         breaking changes that were made in r37434.
2603
2604         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2605         (dump):
2606
2607 2008-10-28  Adele Peterson  <adele@apple.com>
2608
2609         Reviewed by Sam Weinig.
2610
2611         Specify which Localizable.strings to update since we don't always want to update the file in the same
2612         directory where we're searching for the strings to localize.
2613
2614         * Scripts/extract-localizable-strings:
2615         * Scripts/update-webkit-localizable-strings:
2616
2617 2008-10-28  Timothy Hatcher  <timothy@apple.com>
2618
2619         Add support for enabling the profiler, so the profiling tests can continue
2620         work now that the profiler is not always enabled.
2621
2622         https://bugs.webkit.org/show_bug.cgi?id=21927
2623
2624         <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
2625         not slow down JavaScript all the time
2626
2627         Reviewed by Darin Adler and Kevin McCullough.
2628
2629         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
2630         * DumpRenderTree/LayoutTestController.cpp:
2631         (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
2632         (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
2633         * DumpRenderTree/LayoutTestController.h:
2634         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2635         (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
2636         * DumpRenderTree/mac/DumpRenderTree.mm:
2637         (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
2638         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2639         (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2640         * DumpRenderTree/win/DumpRenderTree.cpp:
2641         (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
2642         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2643         (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2644
2645 2008-10-28  Pierre-Olivier Latour  <pol@apple.com>
2646
2647         Reviewed by Dan Bernstein
2648
2649         Primary changes in DumpRenderTree:
2650         - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
2651         is different from regular font CG anti-aliasing) as font-smoothing settings
2652         depends on the display and can also be changed by the user
2653         - Use a new cleared buffer for each test instead of the reusing same one to
2654         avoid potential result corruption across tests
2655         - Can now receive the expected pixel hash as a suffix to the test path or
2656         url as "path'hash"
2657         - Make sure hash is computed in a endian-independent way
2658         - Improve the code that sets/restores the screen color profile
2659         - Make the code more cross-platformy with std::string goodness
2660         - Added an "on-screen" mode where the snapshot will take into account surfaces
2661         on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
2662         reading from the display framebuffer on 10.4. This mode is not active by
2663         default for performance reason, but must be explicitly activated from the test
2664         file using the new "testOnscreen()" JS API.
2665
2666         Primary changes in ImageDiff:
2667         - Provide a new comparison algorithm that is more tolerant to "acceptable"
2668         failures (i.e. very small differences in font rendering, which --threshold is
2669         not really good at handling)
2670         - Generate normalized intensity-only diff images
2671
2672         Primary changes in run-webkit-tests:
2673         - Take advantage of hashes for pixel tests which makes them much faster by
2674         minimizing image comparisons
2675         - Removed repaint options as these should be set from within test files using
2676         JS API
2677         - Replaced "threshold" option in  by "tolerance" expressed in percents
2678         - Added more logging when in "verbose" mode
2679
2680         https://bugs.webkit.org/show_bug.cgi?id=21322
2681         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2682         * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
2683         * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
2684         * DumpRenderTree/LayoutTestController.cpp:
2685         (LayoutTestController::LayoutTestController):
2686         (testOnscreenCallback):
2687         (LayoutTestController::staticFunctions):
2688         * DumpRenderTree/LayoutTestController.h:
2689         (LayoutTestController::testOnscreen):
2690         (LayoutTestController::setTestOnscreen):
2691         (LayoutTestController::testPathOrURL):
2692         (LayoutTestController::expectedPixelHash):
2693         * DumpRenderTree/PixelDumpSupport.h:
2694         * DumpRenderTree/cg/ImageDiffCG.cpp:
2695         (strtof):
2696         (releaseMallocBuffer):
2697         (createDifferenceImage):
2698         (imageHasAlpha):
2699         (main):
2700         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2701         (computeMD5HashStringForBitmapContext):
2702         (dumpWebViewAsPixelsAndCompareWithExpected):
2703         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2704         (BitmapContext::createByAdoptingBitmapAndContext):
2705         (BitmapContext::~BitmapContext):
2706         (BitmapContext::cgContext):
2707         (BitmapContext::BitmapContext):
2708         * DumpRenderTree/mac/DumpRenderTree.mm:
2709         (shouldIgnoreWebCoreNodeLeaks):
2710         (setDefaultsToConsistentValuesForTesting):
2711         (crashHandler):
2712         (initializeGlobalsFromCommandLineOptions):
2713         (prepareConsistentTestingEnvironment):
2714         (dumpRenderTree):
2715         (sizeWebViewForCurrentTest):
2716         (dump):
2717         (runTest):
2718         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2719         (restoreMainDisplayColorProfile):
2720         (setupMainDisplayColorProfile):
2721         (createBitmapContextFromWebView):
2722         * DumpRenderTree/win/DumpRenderTree.cpp:
2723         (dump):
2724         (runTest):
2725         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2726         (getBitmapContextFromWebView):
2727         * Scripts/run-webkit-tests:
2728
2729 2008-10-27  Kevin Ollivier  <kevino@theolliviers.com>
2730
2731         wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
2732
2733         * wx/build-wxwebkit:
2734
2735 2008-10-24  Anders Carlsson  <andersca@apple.com>
2736
2737         Try fixing the 64-bit build.
2738
2739         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2740         (testGetProperty):
2741
2742 2008-10-24  Anders Carlsson  <andersca@apple.com>
2743
2744         Reviewed by Sam Weinig.
2745
2746         <rdar://problem/5440917> Support NPN_Construct
2747
2748         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2749         (testCallback):
2750         Fix a memory leak.
2751
2752         (testConstruct):
2753         New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
2754
2755         (pluginInvoke):
2756         Handle testConstruct.
2757
2758         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2759         (testGetProperty):
2760         Add objectPointer property.
2761
2762         (testEnumerate):
2763         Only enumerate the two first properties.
2764
2765         (testConstruct):
2766         Add a simple construct implementation that just returns the test object.
2767
2768 2008-10-24  David Kilzer  <ddkilzer@apple.com>
2769
2770         Bug 21850: svn-apply and svn-unapply should preserve patch line endings
2771
2772         <https://bugs.webkit.org/show_bug.cgi?id=21850>
2773
2774         Reviewed by Adam Roben.
2775
2776         * Scripts/svn-apply: Save end-of-line characters when stripping them
2777         off each line of a patch so that they may be restored after
2778         processing the line.
2779         * Scripts/svn-unapply: Ditto.
2780
2781 2008-10-23  David Kilzer  <ddkilzer@apple.com>
2782
2783         Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
2784
2785         <https://bugs.webkit.org/show_bug.cgi?id=21832>
2786
2787         Reviewed by Sam Weinig.
2788
2789         * Scripts/bisect-builds: Use imported tempfile() from File::Temp
2790         instead of 'new File::Temp' to make the script work with Perl 5.10.
2791         * Scripts/sort-Xcode-project-file: Ditto.
2792
2793 2008-10-22  Brady Eidson  <beidson@apple.com>
2794
2795         Reviewed by Adam Roben
2796
2797         <rdar://6261773> - autocomplete="off" doesn't work on Windows
2798
2799         Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
2800
2801         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2802
2803 2008-10-22  Darin Adler  <darin@apple.com>
2804
2805         * Scripts/do-webcore-rename: More renaming plans.
2806
2807 2008-10-21  Steve Falkenburg  <sfalken@apple.com>
2808
2809         Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
2810
2811         * Scripts/extract-localizable-strings:
2812
2813 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2814
2815         Reviewed by Mark Rowe.
2816
2817         - default to 1000 tests per dump tool instance again, now that CTI no longer causes
2818         excess different stack logs.
2819
2820         (Also fix a small bug in my last change.)
2821
2822         * Scripts/run-webkit-tests:
2823
2824 2008-10-17  Stephanie Lewis  <slewis@apple.com>
2825
2826         Reviewed by Mark Rowe.
2827
2828         Fix layout tests that use prologues and epilogues.
2829
2830         * Scripts/run-webkit-tests:
2831
2832 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2833
2834         Reviewed by Mark Rowe.
2835
2836         - make sure MallocStackLogging is only on for tools we want to
2837         leak check, not other random stuff as well.
2838
2839         * Scripts/run-webkit-tests:
2840
2841 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2842
2843         Reviewed by Stephanie Lewis.
2844
2845         - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
2846
2847         This should reduce or eliminate crashes on the buildbot due to
2848         running out of memory while stack logging.
2849
2850         * Scripts/run-webkit-tests:
2851
2852 2008-10-16  Jan Michael Alonzo  <jmalonzo@webkit.org>
2853
2854         Gtk build fix. Not reviewed.
2855
2856         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2857         (LayoutTestController::setSmartInsertDeleteEnabled):
2858
2859 2008-10-15  Glenn Wilson  <gwilson@google.com>
2860
2861         Added new method to allow tests to disable smart editing in the course of a test.
2862         This is a possible solution to bug .20655
2863
2864         Reviewed by Tim Hatcher.
2865
2866         * DumpRenderTree/LayoutTestController.cpp:
2867         (setSmartInsertDeleteEnabledCallback): new method
2868         (LayoutTestController::staticFunctions): added new method to static list of callbacks
2869         * DumpRenderTree/LayoutTestController.h: added signature of new method
2870         * DumpRenderTree/mac/DumpRenderTree.mm:
2871         (resetWebViewToConsistentStateBeforeTesting): added state resetting
2872         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2873         (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2874         * DumpRenderTree/win/DumpRenderTree.cpp:
2875         (resetWebViewToConsistentStateBeforeTesting): added state resetting
2876         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2877         (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2878
2879 2008-10-14  Ada Chan  <adachan@apple.com>
2880
2881         Fix windows build.
2882
2883         Reviewed by Sam Weinig.
2884
2885         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2886         * DumpRenderTree/config.h:
2887         * DumpRenderTree/win/DumpRenderTreeWin.h:
2888         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2889         * DumpRenderTree/win/UIDelegate.cpp:
2890
2891 2008-10-13  Timothy Hatcher  <timothy@apple.com>
2892
2893         Make prepare-ChangeLog populate the changed functions for JavaScript files.
2894
2895         https://bugs.webkit.org/show_bug.cgi?id=21567
2896
2897         Reviewed by David Kilzer.
2898
2899         * Scripts/prepare-ChangeLog:
2900         (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
2901         files that end with ".js".
2902         (get_function_line_ranges_for_javascript): Find functions, anonymous functions
2903         and getters/setters.
2904
2905 2008-10-14  Alp Toker  <alp@nuanti.com>
2906
2907         Reviewed by Sam Weinig.
2908
2909         https://bugs.webkit.org/show_bug.cgi?id=16299
2910         Add a config.h file to DRT
2911
2912         Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
2913         an ad-hoc config header.
2914
2915         * DumpRenderTree/AccessibilityController.cpp:
2916         * DumpRenderTree/AccessibilityUIElement.cpp:
2917         * DumpRenderTree/AccessibilityUIElement.h:
2918         * DumpRenderTree/DumpRenderTree.h:
2919         * DumpRenderTree/GCController.cpp:
2920         * DumpRenderTree/LayoutTestController.cpp:
2921         * DumpRenderTree/WorkQueue.cpp:
2922         * DumpRenderTree/config.h: Added.
2923         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2924         * DumpRenderTree/gtk/GCControllerGtk.cpp:
2925         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2926         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2927         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
2928         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2929         * DumpRenderTree/win/DumpRenderTree.cpp:
2930         * DumpRenderTree/win/DumpRenderTreeWin.h:
2931         * DumpRenderTree/win/EditingDelegate.cpp:
2932         * DumpRenderTree/win/EventSender.cpp:
2933         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2934         * DumpRenderTree/win/GCControllerWin.cpp:
2935         * DumpRenderTree/win/MD5.cpp:
2936         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2937         * DumpRenderTree/win/PolicyDelegate.cpp:
2938         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2939         * DumpRenderTree/win/WorkQueueItemWin.cpp:
2940         * GNUmakefile.am:
2941
2942 2008-10-13  Chris Fleizach  <cfleizach@apple.com>
2943
2944         Reviewed by Beth Dakin.
2945
2946         Added a method to get the links in a webpage
2947
2948         * DumpRenderTree/AccessibilityUIElement.cpp:
2949         (attributesOfDocumentLinksCallback):
2950         (AccessibilityUIElement::getJSClass):
2951         * DumpRenderTree/AccessibilityUIElement.h:
2952         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2953         (AccessibilityUIElement::getDocumentLinks):
2954         (AccessibilityUIElement::attributesOfDocumentLinks):
2955         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2956         (AccessibilityUIElement::getDocumentLinks):
2957         (AccessibilityUIElement::attributesOfDocumentLinks):
2958
2959 2008-10-13  David Kilzer  <ddkilzer@apple.com>
2960
2961         Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
2962
2963         <https://bugs.webkit.org/show_bug.cgi?id=21457>
2964
2965         Reviewed by Adam.
2966
2967         * Scripts/resolve-ChangeLogs: Added optional parameter to
2968         -f|--fix-merged switch to run the script on a revision range.
2969         Updated command-line validation checks.
2970         (findChangeLog): Fixed long-standing bug that should have used
2971         $_[0] instead of $_.
2972         (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($).  Updated
2973         to work when called from git filter-branch.  It always restores a
2974         copy of the previous revision before reapplying the patch.
2975         (fixMergedChangeLogs): Added.  Calls itself through git filter-branch
2976         to re-merge ChangeLog files across a revision range.  Removes
2977         .git/refs/original directory on success.
2978         (parseFixMerged): Added.  Custom method to parse the -f|--fix-merged
2979         switch.
2980         (removeChangeLogArguments): Added.  Removes items from @ARGV when
2981         they are ChangeLog paths, and return a list of paths.  This makes it
2982         easier to validate the command-line.
2983         (resolveChangeLog): Added.  Extracted from main code block.  Runs
2984         the traditional single-file merge algorithm.
2985         (usageAndExit): Added.  Extracted from main code block.  Prints
2986         usage statement and exits with error status.
2987
2988 2008-10-12  Darin Adler  <darin@apple.com>
2989
2990         * Scripts/make-js-test-wrappers: Update exceptions list so the script
2991         won't overwrite files and mangle tests.
2992
2993 2008-10-11  Dan Bernstein  <mitz@apple.com>
2994
2995         Reviewed by Sam Weinig and Anders Carlsson.
2996
2997         - update Mac DumpRenderTree to use the new WebView SPI for forcing the
2998           complex text code path
2999         - add --complex-text support to Windows DumpRenderTree
3000
3001         * DumpRenderTree/mac/DumpRenderTree.mm:
3002         (dumpRenderTree):
3003         * DumpRenderTree/win/DumpRenderTree.cpp:
3004         (createWebViewAndOffscreenWindow):
3005         (main):
3006         * Scripts/run-webkit-tests:
3007
3008 2008-10-09  Eric Seidel  <eric@webkit.org>
3009
3010         Reviewed by Oliver Hunt.
3011
3012         https://bugs.webkit.org/show_bug.cgi?id=21498
3013
3014         * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
3015
3016 2008-10-09  Cameron Zwarich  <zwarich@apple.com>
3017
3018         Not reviewed.
3019
3020         Add StructureID.o to the exclusion list in the global initializers
3021         script to fix the Debug build.
3022
3023         * Scripts/check-for-global-initializers:
3024
3025 2008-10-08  Mark Rowe  <mrowe@apple.com>
3026
3027         Fix the Windows build after r37434.
3028
3029         * DumpRenderTree/win/DumpRenderTree.cpp:
3030         (dump): Update code to approximate valid C++ syntax.
3031
3032 2008-10-08  Timothy Hatcher  <timothy@apple.com>
3033
3034         Add SVGElementInstance to the list of exceptions that have
3035         global initializers in debug builds.
3036
3037         Rubber-stamped by Mark Rowe.
3038
3039         * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
3040
3041 2008-10-08  Simon Fraser  <simon.fraser@apple.com>
3042
3043         Reviewed by Dan Bernstein
3044
3045         Avoid disconnect between DRT and run-webkit-tests
3046         about whether to expect PNG dumps by having DRT always
3047         print two blocks terminated by #EOF, the second of which
3048         may be empty.
3049
3050         https://bugs.webkit.org/show_bug.cgi?id=21483
3051
3052         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3053         (printPNG):
3054         (dumpWebViewAsPixelsAndCompareWithExpected):
3055         * DumpRenderTree/mac/DumpRenderTree.mm:
3056         (dump):
3057         * DumpRenderTree/win/DumpRenderTree.cpp:
3058         (dump):
3059         * Scripts/run-webkit-tests:
3060
3061 2008-10-07  Adam Roben  <aroben@apple.com>
3062
3063         Make sure short functions get included in ChangeLog output for git
3064         repositories
3065
3066         Reviewed by Dave Kilzer.
3067
3068         * Scripts/prepare-ChangeLog:
3069         (sub diffCommand): Pass -U0 to git diff so that each contiguous change
3070         will get its own chunk without any surrounding context.
3071         (sub extractLineRange): Use the line numbers from the chunk header
3072         without modifying them now that they're accurate.
3073
3074 2008-10-04  Mark Rowe  <mrowe@apple.com>
3075
3076         Reviewed by Tim Hatcher.
3077
3078         Update check-for-weak-vtables to check only the final linked image for weak vtables.
3079         This gives more useful results than checking each object file independently.
3080
3081         * Scripts/check-for-weak-vtables:
3082
3083 2008-10-03  Pierre-Olivier Latour <pol@apple.com>
3084
3085         Reviewed by Darin Adler
3086
3087         Render images to RGBA8 bitmaps independently of platform endianness.
3088
3089         Create image difference bitmap in reference image colorspace instead of device colorspace
3090         (which depends on the main display profile), so that no color matching happens.
3091
3092         https://bugs.webkit.org/show_bug.cgi?id=21336
3093
3094         * DumpRenderTree/cg/ImageDiffCG.cpp:
3095         (createDifferenceBitmap):
3096         (computePercentageDifferent):
3097         (compareImages):
3098
3099 2008-10-02  Simon Fraser  <simon.fraser@apple.com>
3100
3101         Reviewed by Darin Adler
3102
3103         Fix hang when running with --pixel --reset, which occurs
3104         because DRT spews PNG data when the script does not expect it.
3105
3106         https://bugs.webkit.org/show_bug.cgi?id=21323
3107
3108         * Scripts/run-webkit-tests:
3109
3110 2008-09-30  Mark Rowe  <mrowe@apple.com>
3111
3112         Reviewed by Dan Bernstein.
3113
3114         Add a leak counter for CachedResources since we've had two recent leaks involving them.
3115
3116         * Scripts/check-for-global-initializers:
3117
3118 2008-09-30  Mark Rowe  <mrowe@apple.com>
3119
3120         Rubber-stamped by Dan Bernstein.
3121
3122         Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
3123
3124         JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
3125         being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
3126         We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
3127         any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
3128         torn down before we exit.
3129
3130         * DumpRenderTree/mac/DumpRenderTree.mm:
3131         (dumpRenderTree):
3132         (main):
3133
3134 2008-09-30  Simon Fraser  <simon.fraser@apple.com>
3135
3136         Reviewed by Dan Bernstein
3137
3138         Don't run pixel comparison for text-only tests.
3139         https://bugs.webkit.org/show_bug.cgi?id=21124
3140
3141         * DumpRenderTree/mac/DumpRenderTree.mm:
3142         (dump):
3143         * Scripts/run-webkit-tests:
3144
3145 2008-09-29  Thiago Macieira  <thiago.macieira@nokia.com>
3146
3147         Reviewed by Simon.
3148
3149         Changed copyright from Trolltech ASA to Nokia.
3150
3151         Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
3152
3153
3154         * DumpRenderTree/qt/DumpRenderTree.cpp:
3155         * DumpRenderTree/qt/jsobjects.cpp:
3156         * DumpRenderTree/qt/jsobjects.h:
3157         * DumpRenderTree/qt/main.cpp:
3158         * DumpRenderTree/qt/testplugin.cpp:
3159         * DumpRenderTree/qt/testplugin.h:
3160
3161 2008-09-28  David Kilzer  <ddkilzer@apple.com>
3162
3163         Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
3164
3165         <https://bugs.webkit.org/show_bug.cgi?id=21185>
3166
3167         Reviewed by Adam.
3168
3169         * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
3170         will attempt to reapply the last commit to a ChangeLog file such
3171         that the ChangeLog entry appears at the top of the file.
3172         (findChangeLog): Added prototype and moved method below the exit
3173         statement.
3174         (fixMergedChangeLog): Added.  Method to fix incorrectly merged
3175         ChangeLog entries.
3176
3177 2008-09-27  Anders Carlsson  <andersca@apple.com>
3178
3179         Reviewed by Sam Weinig.
3180
3181         https://bugs.webkit.org/show_bug.cgi?id=21178
3182         <rdar://problem/6248651>
3183
3184         Return the result value from getURL.
3185
3186         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3187         (getURL):
3188
3189 2008-09-26  Matt Lilek  <webkit@mattlilek.com>
3190
3191         Reviewed by Tim Hatcher.
3192
3193         Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
3194
3195         * Scripts/build-webkit:
3196
3197 2008-09-26  Alice Liu  <alice.liu@apple.com>
3198
3199         Remove usage of atlstr.h and CString for VCExpress compatibility
3200
3201         Reviewed by Stephanie Lewis.
3202
3203         * record-memory-win/main.cpp:
3204         (ProcessArgs):
3205         (UseImage):
3206         (QueryContinuously):
3207         (OneQuery):
3208         (OneQueryMP):
3209
3210 2008-09-26  Kevin Ollivier  <kevino@theolliviers.com>
3211
3212         wx build fix. Update the version of libpng.
3213
3214         * wx/install-unix-extras:
3215
3216 2008-09-24  Sam Weinig  <sam@webkit.org>
3217
3218         Reviewed by Darin Adler.
3219
3220         Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
3221         <rdar://problem/6243534>
3222         Crash below Function.apply when using a runtime array as the argument list
3223
3224         Add method to ObjCController to return a runtime array.
3225
3226         * DumpRenderTree/mac/ObjCController.m:
3227         (+[ObjCController isSelectorExcludedFromWebScript:]):
3228         (+[ObjCController webScriptNameForSelector:]):
3229         (-[ObjCController testArray]):
3230
3231 2008-09-24  Beth Dakin  <bdakin@apple.com>
3232
3233         Reviewed by Sam Weinig.
3234
3235         Speculative build fix.
3236
3237         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3238         (AccessibilityUIElement::supportsPressAction):
3239
3240 2008-09-23  Beth Dakin  <bdakin@apple.com>
3241
3242         Reviewed by Sam Weinig.
3243
3244         This patch extends DumpRenderTree's AccessibilityController to ask
3245         if the focused element supports the press action.
3246
3247         * DumpRenderTree/AccessibilityUIElement.cpp:
3248         (getSupportsPressActionCallback):
3249         (AccessibilityUIElement::getJSClass):
3250         * DumpRenderTree/AccessibilityUIElement.h:
3251         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3252         (AccessibilityUIElement::supportsPressAction):
3253
3254 2008-09-22  Alice Liu  <alice.liu@apple.com>
3255
3256         Adding a stand-alone Windows console application to record a process's memory usage
3257
3258         Reviewed by Steve Falkenburg.
3259
3260         * record-memory-win: Added.
3261         * record-memory-win/main.cpp: Added.
3262         * record-memory-win/record-memory-win.vcproj: Added.
3263
3264 2008-09-22  Chris Fleizach  <cfleizach@apple.com>
3265
3266         Reviewed by Darin Adler.
3267
3268         Support ability to get/set selected text ranges for text controls through AX.
3269
3270         * DumpRenderTree/AccessibilityUIElement.cpp:
3271         (setSelectedTextRangeCallback):
3272         (getSelectedTextRangeCallback):
3273         (AccessibilityUIElement::getJSClass):
3274         * DumpRenderTree/AccessibilityUIElement.h:
3275         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3276         (AccessibilityUIElement::attributesOfRowHeaders):
3277         (AccessibilityUIElement::attributesOfVisibleCells):
3278         (AccessibilityUIElement::rowIndexRange):
3279         (AccessibilityUIElement::columnIndexRange):
3280         (AccessibilityUIElement::cellForColumnAndRow):
3281         (AccessibilityUIElement::selectedTextRange):
3282         (AccessibilityUIElement::setSelectedTextRange):
3283         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3284         (AccessibilityUIElement::selectedTextRange):
3285         (AccessibilityUIElement::setSelectedTextRange):
3286
3287 2008-09-20  Darin Adler  <darin@apple.com>
3288
3289         * DumpRenderTree/mac/DumpRenderTree.mm:
3290         (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
3291
3292 2008-09-19  Alp Toker  <alp@nuanti.com>
3293
3294         Build fix for the 'gold' linker and recent binutils. New behaviour
3295         requires that we link to used libraries explicitly.
3296
3297         * GNUmakefile.am:
3298
3299 2008-09-19  Stephanie Lewis  <slewis@apple.com>
3300
3301         Reviewed by Oliver Hunt.
3302
3303         Implement a workaround for an incorrect mime-type on machines with
3304         Dashcode 2.0.1.  Dashcode is overriding the UTI type for .js files.
3305         See radar <rdar://problem/6234318>.
3306
3307         * DumpRenderTree/mac/DumpRenderTree.mm:
3308         (convertMIMEType):
3309
3310 2008-09-19  Chris Fleizach  <cfleizach@apple.com>
3311
3312         Fixed Windows bustage
3313
3314         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3315         (AccessibilityUIElement::titleUIElement):
3316
3317 2008-09-18  Chris Fleizach  <cfleizach@apple.com>
3318
3319         Reviewed by Darin Adler.
3320
3321         Expose titleUIElement call for DumpRenderTree
3322
3323         * ChangeLog:
3324         * DumpRenderTree/AccessibilityUIElement.cpp:
3325         (titleUIElementCallback):
3326         (AccessibilityUIElement::getJSClass):
3327         * DumpRenderTree/AccessibilityUIElement.h:
3328         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3329         (AccessibilityUIElement::titleUIElement):
3330
3331 2008-09-18  Darin Adler  <darin@apple.com>
3332
3333         * Scripts/do-webcore-rename: More renaming plans.
3334
3335 2008-09-18  Mark Rowe  <mrowe@apple.com>
3336
3337         Reviewed by Dan Bernstein.
3338
3339         Clear the main frame's name between tests to get more consistent test results
3340         when running the WebKit tests with --nthly.
3341
3342         * DumpRenderTree/mac/DumpRenderTree.mm:
3343         (resetWebViewToConsistentStateBeforeTesting):
3344         * DumpRenderTree/win/DumpRenderTree.cpp:
3345         (resetWebViewToConsistentStateBeforeTesting):
3346
3347 2008-09-18  Stephanie Lewis  <slewis@apple.com>
3348
3349         Really fix tiger jsc tests.
3350
3351         * Scripts/run-javascriptcore-tests:
3352
3353 2008-09-18  Stephanie Lewis  <slewis@apple.com>
3354
3355         Reviewed by Maciej Stachowiak.
3356
3357         Fix jsc tests on Tiger.  Make jsc tests smarter about when to use the arch flag.
3358
3359         * Scripts/run-javascriptcore-tests:
3360         * Scripts/webkitdirs.pm:
3361
3362 2008-09-18  Mark Rowe  <mrowe@apple.com>
3363
3364         Rubber-stamped by Sam Weinig.
3365
3366         Print warning to stdout rather than stderr when a test attempts to access a remote resource.
3367         This should make it more obvious when a test does this, as stderr output tends to be obscured
3368         by noise in the test results.
3369
3370         Also fixes some coding style issues in ResourceLoadDelegate.mm.
3371
3372         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3373         (-[NSError _drt_descriptionSuitableForTestResult]):
3374         (-[NSURL _drt_descriptionSuitableForTestResult]):
3375         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3376         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3377         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
3378         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
3379         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
3380         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
3381
3382 2008-09-18  Stephanie Lewis  <slewis@apple.com>
3383
3384         Reviewed by Mark Rowe and Maciej Stachowiak..
3385
3386         add a --64-bit option and specify which architecture to run on Mac.
3387
3388         * Scripts/run-javascriptcore-tests:
3389
3390 2008-09-17  Mark Rowe  <mrowe@apple.com>
3391
3392         Reviewed by Sam Weinig.
3393
3394         Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
3395
3396         The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
3397         attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
3398         LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
3399
3400         * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
3401         * DumpRenderTree/LayoutTestController.cpp:
3402         (LayoutTestController::LayoutTestController):
3403         (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
3404         (layoutTestControllerObjectFinalize): Deref the wrapped object.
3405         (LayoutTestController::makeWindowObject): Ref the wrapped object.
3406         * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
3407         * DumpRenderTree/mac/DumpRenderTree.mm:
3408         (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
3409         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
3410         * DumpRenderTree/win/DumpRenderTree.cpp:
3411         (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
3412
3413 2008-09-16  Sam Weinig  <sam@webkit.org>
3414
3415         Reviewed by Mark Rowe.
3416
3417         Add flag to disable running sample on tests that timeout.
3418
3419         * Scripts/run-webkit-tests:
3420
3421 2008-09-16  Adam Roben  <aroben@apple.com>
3422
3423         Windows build fix after r36511
3424
3425         Update for rename of layoutTestController to gLayoutTestController.
3426
3427         * DumpRenderTree/LayoutTestController.cpp:
3428         * DumpRenderTree/win/EditingDelegate.cpp:
3429         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3430         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3431         * DumpRenderTree/win/UIDelegate.cpp:
3432
3433 2008-09-16  Adam Roben  <aroben@apple.com>
3434
3435         Add a script to print out the dependency tree of a Visual Studio
3436         solution file
3437
3438         * Scripts/print-msvc-project-dependencies: Added.
3439
3440 2008-09-16  Mark Rowe  <mrowe@apple.com>
3441
3442         Fix the build.
3443
3444         * DumpRenderTree/LayoutTestController.cpp:
3445         (notifyDoneCallback): Call fprintf in a safer manner.
3446
3447 2008-09-16  Simon Fraser  <simon.fraser@apple.com>
3448
3449         Reviewed by Eric Seidel
3450
3451         Protect against tests that call layoutTestController.notifyDone()
3452         more than once, which would lead to memory corruption, by nulling
3453         out the LayoutTestController on the JSObjectRef on destruction. Also
3454         add a finalize callback on the class so that if the LTC outlives
3455         the JSObjectRef, the JSObjectRef backpointer on the LTC can be
3456         nulled out.
3457
3458         https://bugs.webkit.org/show_bug.cgi?id=20875
3459
3460         * DumpRenderTree/LayoutTestController.cpp:
3461         (LayoutTestController::LayoutTestController):
3462         (notifyDoneCallback):
3463         (layoutTestControllerObjectFinalize):
3464         (LayoutTestController::makeWindowObject):
3465         (LayoutTestController::getJSClass):
3466         * DumpRenderTree/LayoutTestController.h:
3467         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3468         (LayoutTestController::~LayoutTestController):
3469
3470 2008-09-16  Simon Fraser  <simon.fraser@apple.com>
3471
3472         Reviewed by Eric Seidel
3473
3474         Step 1 patch: rename global variable for clarity.
3475         https://bugs.webkit.org/show_bug.cgi?id=20875
3476
3477         * DumpRenderTree/DumpRenderTree.h:
3478         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3479         (dumpWebViewAsPixelsAndCompareWithExpected):
3480         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3481         (dumpFramesAsText):
3482         (dump):
3483         (runTest):
3484         (processWork):
3485         (webViewLoadFinished):
3486         (webViewWindowObjectCleared):
3487         * DumpRenderTree/mac/DumpRenderTree.mm:
3488         (allocateGlobalControllers):
3489         (dumpFrameScrollPosition):
3490         (dumpFramesAsText):
3491         (methodNameStringForFailedTest):
3492         (dump):
3493         (runTest):
3494         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3495         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3496         * DumpRenderTree/mac/EditingDelegate.mm:
3497         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3498         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3499         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3500         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3501         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3502         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3503         (-[EditingDelegate webViewDidBeginEditing:]):
3504         (-[EditingDelegate webViewDidChange:]):
3505         (-[EditingDelegate webViewDidEndEditing:]):
3506         (-[EditingDelegate webViewDidChangeTypingStyle:]):
3507         * DumpRenderTree/mac/FrameLoadDelegate.mm:
3508         (-[FrameLoadDelegate processWork:]):
3509         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3510         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3511         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3512         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3513         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3514         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3515         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3516         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3517         * DumpRenderTree/mac/UIDelegate.mm:
3518         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3519         (-[UIDelegate webViewFocus:]):
3520         (-[UIDelegate webViewUnfocus:]):
3521         (-[UIDelegate webView:createWebViewWithRequest:]):
3522         (-[UIDelegate webViewClose:]):
3523         * DumpRenderTree/win/DumpRenderTree.cpp:
3524         (dumpFrameScrollPosition):
3525         (dumpFramesAsText):
3526         (dump):
3527         (runTest):
3528
3529 2008-09-15  Alice Liu  <alice.liu@apple.com>
3530
3531         A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
3532
3533         Reviewed by Stephanie Lewis.
3534
3535         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3536         Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
3537         but not Intel.  Add a check for nil before calling.
3538         (AccessibilityUIElement::rowIndexRange):
3539         (AccessibilityUIElement::columnIndexRange):
3540
3541 2008-09-14  Mark Rowe  <mrowe@apple.com>
3542
3543         Build fix.
3544
3545         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3546         (waitUntilDoneWatchdogFired):
3547         * DumpRenderTree/mac/ObjCPlugin.m:
3548
3549 2008-09-08  Dan Bernstein  <mitz@apple.com>
3550
3551         Reviewed by Mark Rowe.
3552
3553         - add an option to run-webkit-tests to always use the complex text code path
3554
3555         * DumpRenderTree/mac/DumpRenderTree.mm:
3556         (initializeGlobalsFromCommandLineOptions):
3557         (dumpRenderTree):
3558         * Scripts/run-webkit-tests:
3559
3560 2008-09-08  Steve Falkenburg  <sfalken@apple.com>
3561
3562         Another Windows nightly build fix.
3563
3564         Reviewed by Sam Weinig.
3565
3566         * FindSafari/FindSafari.cpp:
3567         (_tmain): Delete existing WebKitNightly directory in temp.
3568         * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
3569
3570 2008-09-07  Stephanie Lewis  <slewis@apple.com>
3571
3572         Reviewed by Mark Rowe.
3573
3574         Fix DRT build
3575
3576         * DumpRenderTree/DumpRenderTreePrefix.h:
3577         * DumpRenderTree/win/DumpRenderTree.vcproj:
3578
3579 2008-09-06  Steve Falkenburg  <sfalken@apple.com>
3580
3581         Fix Windows nightlies.
3582
3583         Copy WebKit.dll alongside application so registry-free COM can find it.
3584         Update embedded manifest to force use registry-free COM.
3585
3586         Reviewed by Dave Hyatt.
3587
3588         * FindSafari/FindSafari.cpp:
3589         (copyManifest):
3590         (replaceManifest):
3591         (_tmain):
3592         * FindSafari/FindSafari.rc: Added.
3593         * FindSafari/FindSafari.vcproj:
3594         * FindSafari/Safari.exe.manifest: Added.
3595         * FindSafari/resource.h: Added.
3596
3597 === End merge of squirrelfish-extreme ===
3598
3599 2008-08-31  Mark Rowe  <mrowe@apple.com>
3600
3601         Reviewed by Maciej Stachowiak.
3602
3603         Add a --profile flag to run-sunspider.
3604
3605         * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
3606         to build scripts as indicating that we should use the "Profiling" configuration.  At present
3607         this is only supported by JavaScriptCore, so using this argument to build any other project
3608         will likely result in unexpected behaviour.
3609
3610 2008-08-27  Mark Rowe  <mrowe@apple.com>
3611
3612         Reviewed by Oliver Hunt.
3613
3614         Fix run-webkit-tests to handle DRT exiting early.
3615
3616         * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
3617
3618 === Start merge of squirrelfish-extreme ===
3619
3620 2008-09-04  Mark Rowe  <mrowe@apple.com>
3621
3622         Reviewed by Eric Seidel.
3623
3624         Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
3625         Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
3626
3627         * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
3628
3629 2008-09-04  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
3630
3631         Reviewed by Oliver Hunt.
3632
3633         Bug 20616: Incorporate V8 benchmarks in testing
3634         <https://bugs.webkit.org/show_bug.cgi?id=20616>
3635
3636         Add support for the --v8 option to run-sunspider.
3637
3638         * Scripts/run-sunspider:
3639
3640 2008-09-04  Kevin Ollivier  <kevino@theolliviers.com>
3641
3642         wx buildbot fix. More robust handling of clean when makefiles are not built or
3643         are not completely made.
3644
3645         * wx/build-wxwebkit:
3646
3647 2008-09-03  Mark Rowe  <mrowe@apple.com>
3648
3649         More Mac build fixes.
3650
3651         Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
3652         Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
3653         default configuration specified in the .xcconfig files.
3654
3655         * Scripts/build-webkit:
3656
3657 2008-09-03  Mark Rowe  <mrowe@apple.com>
3658
3659         Mac build fix.  Ensure that dashboard support is enabled.
3660
3661         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3662
3663 2008-08-25  Steve Falkenburg  <sfalken@apple.com>
3664
3665         Build fix. Copy correct version of ICU.
3666
3667         * DumpRenderTree/win/DumpRenderTree.vcproj:
3668
3669 2008-08-25  Holger Hans Peter Freyther  <zecke@selfish.org>
3670
3671         Reviewed by Simon.
3672
3673         [run-webkit-tests] Use QtLauncher to show the results of the tests
3674         konqueror might not be installed, xdg-open might not be installed but the
3675         QtLauncher should be present.
3676
3677         * Scripts/run-webkit-tests:
3678
3679 2008-08-24  Jon Honeycutt  <jhoneycutt@apple.com>
3680
3681         Initial support for accessibility layout tests on Windows.
3682         https://bugs.webkit.org/show_bug.cgi?id=20497
3683
3684         Reviewed by Sam Weinig.
3685
3686         * DumpRenderTree/AccessibilityController.h: Fix typos.
3687         * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
3688         * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
3689         prevent oleacc.h, which includes windows.h, from including winsock.h.
3690         Fixed typos.
3691         * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
3692         (AccessibilityController::AccessibilityController):
3693         (AccessibilityController::~AccessibilityController):
3694         (AccessibilityController::focusedElement): Get the root element, and
3695         request its focused object.
3696         (AccessibilityController::rootElement): Query Windows for the
3697         accessible client object for the WebView's window.
3698         * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
3699         (AccessibilityUIElement::AccessibilityUIElement):
3700         (AccessibilityUIElement::~AccessibilityUIElement):
3701         (AccessibilityUIElement::getLinkedUIElements): Not implemented.
3702         (AccessibilityUIElement::getChildren): Get the child count, and append
3703         each child.
3704         (AccessibilityUIElement::getChildAtIndex): Get the child at the given
3705         index offset by 1. In MSAA, child 0 is the object itself.
3706         (AccessibilityUIElement::allAttributes): Not implemented.
3707         (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
3708         (AccessibilityUIElement::attributesOfChildren): Same.
3709         (AccessibilityUIElement::parameterizedAttributeNames): Same.
3710         (self): Return a VARIANT representing the "self" object. This is used
3711         when calling methods that require a child variant.
3712         (AccessibilityUIElement::role): Get the MSAA role, a long value, and
3713         convert it into a string with GetRoleText().
3714         (AccessibilityUIElement::title): Get the element's title, and convert
3715         it to a JS String.
3716         (AccessibilityUIElement::description): Same, for description.
3717         (AccessibilityUIElement::width):
3718         (AccessibilityUIElement::height):
3719         (AccessibilityUIElement::intValue): Get the object's value as a string,
3720         and convert the string to a double.
3721         (AccessibilityUIElement::minValue): Not implemented.
3722         (AccessibilityUIElement::maxValue): Same.
3723         (AccessibilityUIElement::insertionPointLineNumber): Same.
3724         (AccessibilityUIElement::attributesOfColumnHeaders): Same.
3725         (AccessibilityUIElement::attributesOfRowHeaders): Same.
3726         (AccessibilityUIElement::attributesOfColumns): Same.
3727         (AccessibilityUIElement::attributesOfRows): Same.
3728         (AccessibilityUIElement::attributesOfVisibleCells): Same.
3729         (AccessibilityUIElement::attributesOfHeader): Same.
3730         (AccessibilityUIElement::indexInTable): Same.
3731         (AccessibilityUIElement::rowIndexRange): Same.
3732         (AccessibilityUIElement::columnIndexRange): Same.
3733         (AccessibilityUIElement::lineForIndex): Same.
3734         (AccessibilityUIElement::boundsForRange): Same.
3735         (AccessibilityUIElement::cellForColumnAndRow): Same.
3736         * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
3737         project.  Link to oleacc.lib, the MSAA library.
3738         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3739         (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
3740         controller.
3741         (FrameLoadDelegate::didClearWindowObject): Create a new window object
3742         for the accessibility controller.
3743         * DumpRenderTree/win/FrameLoadDelegate.h:
3744
3745 2008-08-21  Simon Fraser  <simon.fraser@apple.com>
3746
3747         Reviewed by Mark Rowe
3748
3749         Make build-launcher-app work when run from a git repository.
3750         https://bugs.webkit.org/show_bug.cgi?id=20478
3751
3752         * BuildSlaveSupport/build-launcher-app:
3753
3754 2008-08-20  Maxime Britto  <britto@apple.com>
3755
3756         Reviewed by Ada Chan.
3757
3758          rdar://5259746
3759         Mouse events are sent to page while resizing window (affects Gmail)
3760
3761         * DumpRenderTree/win/UIDelegate.h:
3762         (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
3763
3764 2008-08-19  Chris Fleizach  <cfleizach@apple.com>
3765
3766         Reviewed by Beth Dakin.
3767
3768         Add snowleopard platform in layout tests
3769
3770         Added support for accessing the attributes of
3771         accessibility tables through the accessibility controller
3772         in DumpRenderTree
3773
3774         * DumpRenderTree/AccessibilityUIElement.cpp:
3775         (attributesOfColumnHeadersCallback):
3776         (attributesOfRowHeadersCallback):
3777         (attributesOfColumnsCallback):
3778         (attributesOfRowsCallback):
3779         (attributesOfVisibleCellsCallback):
3780         (attributesOfHeaderCallback):
3781         (indexInTableCallback):
3782         (rowIndexRangeCallback):
3783         (columnIndexRangeCallback):
3784         (childAtIndexCallback):
3785         (cellForColumnAndRowCallback):
3786         (AccessibilityUIElement::getJSClass):
3787         * DumpRenderTree/AccessibilityUIElement.h:
3788         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3789         (convertNSArrayToVector):
3790         (descriptionOfElements):
3791         (AccessibilityUIElement::getLinkedUIElements):
3792         (AccessibilityUIElement::getChildren):
3793         (AccessibilityUIElement::attributesOfLinkedUIElements):
3794         (AccessibilityUIElement::attributesOfChildren):
3795         (AccessibilityUIElement::attributesOfColumnHeaders):
3796         (AccessibilityUIElement::attributesOfRowHeaders):
3797         (AccessibilityUIElement::attributesOfColumns):
3798         (AccessibilityUIElement::attributesOfRows):
3799         (AccessibilityUIElement::attributesOfVisibleCells):
3800         (AccessibilityUIElement::attributesOfHeader):
3801         (AccessibilityUIElement::indexInTable):
3802         (AccessibilityUIElement::rowIndexRange):
3803         (AccessibilityUIElement::columnIndexRange):
3804         (AccessibilityUIElement::cellForColumnAndRow):
3805         * Scripts/run-webkit-tests:
3806
3807 2008-08-19  Alexey Proskuryakov  <ap@webkit.org>
3808
3809         Reviewed by Darin Adler.
3810
3811         Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
3812         is waiting for crash reporter to let it exit.
3813
3814         The fix does not work on Tiger, because the state of the process is indistinguishable from
3815         other waiting processes, at least not with this technique.
3816
3817         * Scripts/run-webkit-tests:
3818
3819 2008-08-18  Alp Toker  <alp@nuanti.com>
3820
3821         Reviewed by Holger Freyther.
3822
3823         https://bugs.webkit.org/show_bug.cgi?id=20350
3824         [GTK] Get DumpRenderTree working
3825
3826         Fixes and enhancements to DumpRenderTree. With these changes, the test
3827         suite can now complete a run producing text and render tree dumps.
3828
3829         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3830         (dumpFramesAsText):
3831         (dump):
3832         (runTest):
3833         (webViewLoadFinished):
3834         (webViewWindowObjectCleared):
3835         (webViewConsoleMessage):
3836         (webViewScriptAlert):
3837         (webViewScriptPrompt):
3838         (webViewScriptConfirm):
3839         (webViewTitleChanged):
3840         (main):
3841         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3842         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3843         (LayoutTestController::clearBackForwardList):
3844         (LayoutTestController::pathToLocalResource):
3845         (LayoutTestController::setAcceptsEditing):
3846         (LayoutTestController::setUserStyleSheetEnabled):
3847         (LayoutTestController::setUserStyleSheetLocation):
3848         (waitToDumpWatchdogFired):
3849         (LayoutTestController::windowCount):
3850         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
3851         (JSStringCopyUTF8CString):
3852         (ScriptItem::invoke):
3853
3854 2008-08-17  Geoffrey Garen  <ggaren@apple.com>
3855
3856         Reviewed by Cameron Zwarich.
3857
3858         Updated project files to XCode 3.1.
3859
3860         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3861         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3862
3863 2008-08-15  Mark Rowe  <mrowe@apple.com>
3864
3865         Rubber-stamped by Geoff Garen.
3866
3867         <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
3868
3869         * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
3870
3871 2008-08-13  Simon Hausmann  <hausmann@webkit.org>
3872
3873         Rubber-stamped by Holger.
3874
3875         Revert r31585 and disable http tests for the Qt build again unless
3876         explicitly enabled.
3877
3878         Running the http tests unfortunately currently still triggers
3879         failures in non-http tests due to side-effects. Disable them by default for
3880         now, for more reliable results.
3881
3882         * Scripts/run-webkit-tests:
3883
3884 2008-08-10  Jan Michael Alonzo  <jmalonzo@webkit.org>
3885
3886         Reviewed (and updated) by Alp Toker.
3887
3888         https://bugs.webkit.org/show_bug.cgi?id=16620
3889         [GTK] Autotools make dist and make check support
3890
3891         Get make dist working.
3892
3893         Note that not all possible configurations have been tested yet.
3894
3895         * GNUmakefile.am:
3896
3897 2008-08-10  Alp Toker  <alp@nuanti.com>
3898
3899         Remove leftover qmake/GTK+ build files.
3900
3901         * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
3902         * GtkLauncher/GtkLauncher.pro: Removed.
3903
3904 2008-08-06  Chris Fleizach  <cfleizach@apple.com>
3905
3906         Reviewed by Beth Dakin
3907
3908         AX functions shouldn't return position information because it changes
3909         based on the platform
3910
3911         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3912         (AccessibilityUIElement::boundsForRange):
3913
3914 2008-08-06  Eric Seidel  <eric@webkit.org>
3915
3916         Reviewed by darin.
3917
3918         Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
3919         <https://bugs.webkit.org/show_bug.cgi?id=20297>
3920         <rdar://problem/6093153>
3921
3922         I've made AccessibilityUIElement a stack object for now.  It could be
3923         made RefCounted, but I figured that might be overkill for the moment.
3924         Essentially it's just a RefPtr itself. :)
3925
3926         I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
3927         which was causing additional leaks. :)
3928
3929         I added toAXElement to remove a bunch of copy/paste code.
3930
3931         * DumpRenderTree/AccessibilityController.h:
3932         * DumpRenderTree/AccessibilityUIElement.cpp:
3933         (toAXElement):
3934         (allAttributesCallback):
3935         (attributesOfLinkedUIElementsCallback):
3936         (attributesOfChildrenCallback):
3937         (lineForIndexCallback):
3938         (boundsForRangeCallback):
3939         (childAtIndexCallback):
3940         (getRoleCallback):
3941         (getTitleCallback):
3942         (getDescriptionCallback):
3943         (getWidthCallback):
3944         (getHeightCallback):
3945         (getIntValueCallback):
3946         (getMinValueCallback):
3947         (getMaxValueCallback):
3948         (getInsertionPointLineNumberCallback):
3949         (finalize):
3950         * DumpRenderTree/AccessibilityUIElement.h:
3951         (AccessibilityUIElement::platformUIElement):
3952         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3953         (AccessibilityController::focusedElement):
3954         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3955         (AccessibilityUIElement::AccessibilityUIElement):
3956         (AccessibilityUIElement::getLinkedUIElements):
3957         (AccessibilityUIElement::getChildren):
3958         (AccessibilityUIElement::getChildAtIndex):
3959         (AccessibilityUIElement::attributesOfLinkedUIElements):
3960         (AccessibilityUIElement::attributesOfChildren):
3961
3962 2008-08-06  Eric Seidel  <eric@webkit.org>
3963
3964         Reviewed by Cameron Zwarich.
3965
3966         Speculative fix for an error I keep seeing in my Cygwin build
3967
3968         * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
3969
3970 2008-08-02  Kevin Ollivier  <kevino@theolliviers.com>
3971
3972         Forgot to commit licensing correction in last commit.
3973
3974         * wx/packaging/wxWebKitInstaller.iss.in:
3975
3976 2008-08-02  Kevin Ollivier  <kevino@theolliviers.com>
3977
3978         Reviewed by Eric Seidel.
3979
3980         Scripts for building a wxWebKit installer for wxPython on Win, eventually will
3981         be used for nightlies.
3982
3983         https://bugs.webkit.org/show_bug.cgi?id=20036
3984
3985         * wx/packaging: Added.
3986         * wx/packaging/build-win-installer.py: Added.
3987         * wx/packaging/wxWebKitInstaller.iss.in: Added.
3988
3989 2008-07-31  Adam Roben  <aroben@apple.com>
3990
3991         Follow-up to r35500
3992
3993         * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
3994         Release configuration, too.
3995
3996 2008-07-31  Stefan Landvogt <stefan.landvogt@gmail.com>
3997
3998         Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
3999         the box
4000
4001         <https://bugs.webkit.org/show_bug.cgi?id=20245>
4002
4003         Reviewed by Adam Roben.
4004
4005         * WinLauncher/WinLauncher.vcproj: adding the following properties to
4006         WinLauncher > Properties > Manifest Tool > Isolated COM
4007         Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
4008         Component File Name: WebKit$(WebKitDLLConfigSuffix)
4009         Doing the change on "All Configurations"
4010
4011 2008-07-31  Adam Roben  <aroben@apple.com>
4012
4013         Windows build bot fix
4014
4015         * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
4016         exist for people at Apple can't be found. Also updated the ICU version
4017         to 3.8.
4018
4019 2008-07-31  David Kilzer  <ddkilzer@apple.com>
4020
4021         Fix layout test results for webarchive/test-xml-stylesheet.xml
4022
4023         Reviewed by Darin Adler.
4024
4025         * DumpRenderTree/mac/DumpRenderTree.mm:
4026         (convertMIMEType): Work around the "text/xml" local file type
4027         regression in Leopard using the BUILDING_ON_LEOPARD macro.  Also
4028         stop mangling "application/x-javascript" into "text/javascript".
4029         (convertWebResourceDataToString): When checking whether to dump a
4030         resource as text, also check to see if the MIME type is in the
4031         -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
4032         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
4033         macro.
4034
4035 2008-07-31  Chris Fleizach  <cfleizach@apple.com>
4036
4037         Reviewed by Alice Liu
4038
4039         Add AX support to get the bounds for a range of text
4040         Add AX support to get the child of an element
4041         Add AX support to get all the parameterized attribute names of an element
4042
4043         * DumpRenderTree/AccessibilityUIElement.cpp:
4044         (parameterizedAttributeNamesCallback):
4045         (boundsForRangeCallback):
4046         (childAtIndexCallback):
4047         (AccessibilityUIElement::getJSClass):
4048         * DumpRenderTree/AccessibilityUIElement.h:
4049         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4050         (AccessibilityUIElement::getChildAtIndex):
4051         (AccessibilityUIElement::parameterizedAttributeNames):
4052         (AccessibilityUIElement::boundsForRange):
4053
4054 2008-07-31  Erik Bunce  <elbunce@thehive.com>
4055
4056         Reviewed by Simon.
4057
4058         Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
4059
4060         * Scripts/run-launcher:
4061
4062 2008-07-30  Jessica Kahn  <jess@apple.com>
4063
4064         Reviewed by Adam Roben.
4065
4066         Slightly stricter checking for previous change, suggested by Adam.
4067
4068         * Scripts/extract-localizable-strings:
4069
4070 2008-07-30  Jessica Kahn  <jess@apple.com>
4071
4072         Reviewed by Darin Adler.
4073
4074         Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
4075
4076         * Scripts/extract-localizable-strings:
4077
4078 2008-07-30  Anders Carlsson  <andersca@apple.com>
4079
4080         Reviewed by Adam.
4081
4082         Copy icu38* files instead of icu36* files.
4083
4084         * DumpRenderTree/win/DumpRenderTree.vcproj:
4085
4086 2008-07-25  Jan Michael Alonzo  <jmalonzo@webkit.org>
4087
4088         DRT/Gtk build fix for r35362
4089
4090         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4091         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
4092
4093 2008-07-25  Brady Eidson  <beidson@apple.com>
4094
4095         Reviewed by Sam
4096
4097         Add the ability to dump whether-or-not an element should have autocomplete enabled,
4098         from the perspective of the WebKit API
4099
4100         * DumpRenderTree/LayoutTestController.cpp:
4101         (elementDoesAutoCompleteForElementWithIdCallback):
4102         (LayoutTestController::staticFunctions):
4103
4104         * DumpRenderTree/LayoutTestController.h:
4105         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4106         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
4107         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4108         (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
4109
4110 2008-07-25  Chris Fleizach  <cfleizach@apple.com>
4111
4112         Reviewed by Beth Dakin
4113
4114         Add support for AXLineForIndex and AXInsertionPointIndex through the
4115         accessibility controller
4116
4117         * DumpRenderTree/AccessibilityUIElement.cpp:
4118         (lineForIndexCallback):
4119         (getInsertionPointLineNumberCallback):
4120         (AccessibilityUIElement::getJSClass):
4121         * DumpRenderTree/AccessibilityUIElement.h:
4122         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4123         (AccessibilityUIElement::insertionPointLineNumber):
4124         (AccessibilityUIElement::lineForIndex):
4125
4126 2008-07-25  Adam Roben  <aroben@apple.com>
4127
4128         Try to fix the Windows build bot
4129
4130         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
4131         that don't exist for people outside of Apple.
4132
4133 2008-07-18  Landry Breuil  <landry@openbsd.org>
4134
4135         Bug 19975: [OpenBSD] Patches to enable build of WebKit
4136
4137         <https://bugs.webkit.org/show_bug.cgi?id=19975>
4138
4139         Reviewed by David Kilzer.
4140
4141         * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
4142
4143 2008-07-16  Jon Honeycutt  <jhoneycutt@apple.com>
4144
4145         CygwinDownloader fails to install necessary packages
4146         https://bugs.webkit.org/show_bug.cgi?id=20075
4147
4148         Reviewed by Mark Rowe.
4149
4150         * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
4151         mirrors removed in r34116. Set MIME type to application/octet-stream.
4152
4153 2008-07-16  Jon Honeycutt  <jhoneycutt@apple.com>
4154
4155         CygwinDownloader's make-zip.sh script fails
4156         https://bugs.webkit.org/show_bug.cgi?id=20074
4157
4158         Reviewed by Mark Rowe.
4159
4160         * CygwinDownloader/cygwin-downloader.py:
4161
4162 2008-07-15  Sam Weinig  <sam@webkit.org>
4163
4164         Reviewed by Anders Carlsson.
4165
4166         Refactor accessibility testing code.
4167
4168         We now have:
4169         - AccessibilityController
4170           Controller which has access to the WebView and can provide the focused element, root element
4171           and in the future, elementAtPoint.
4172
4173         - AccessibilityUIElement
4174           Object which provides access to the data provided by the Accessibility APIs.
4175
4176         * DumpRenderTree/AccessibilityController.cpp:
4177         (getFocusedElementCallback):
4178         (getRootElementCallback):
4179         (AccessibilityController::getJSClass):
4180         * DumpRenderTree/AccessibilityController.h:
4181         * DumpRenderTree/AccessibilityUIElement.cpp: Added.
4182         (allAttributesCallback):
4183         (attributesOfLinkedUIElementsCallback):
4184         (attributesOfChildrenCallback):
4185         (getRoleCallback):
4186         (getTitleCallback):
4187         (getDescriptionCallback):
4188         (getWidthCallback):
4189         (getHeightCallback):
4190         (getIntValueCallback):
4191         (getMinValueCallback):
4192         (getMaxValueCallback):
4193         (finalize):
4194         (AccessibilityUIElement::makeJSAccessibilityUIElement):
4195         (AccessibilityUIElement::getJSClass):
4196         * DumpRenderTree/AccessibilityUIElement.h: Added.
4197         (AccessibilityUIElement::platformUIElement):
4198         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4199         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4200         (AccessibilityController::AccessibilityController):
4201         (AccessibilityController::~AccessibilityController):
4202         (AccessibilityController::focusedElement):
4203         (AccessibilityController::rootElement):
4204         * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
4205         (AccessibilityUIElement::AccessibilityUIElement):
4206         (descriptionOfValue):
4207         (attributesOfElement):
4208         (nsStringToJSStringRef):
4209         (concatenateAttributeAndValue):
4210         (AccessibilityUIElement::getLinkedUIElements):
4211         (AccessibilityUIElement::getChildren):
4212         (AccessibilityUIElement::attributesOfLinkedUIElements):
4213         (AccessibilityUIElement::attributesOfChildren):
4214         (AccessibilityUIElement::allAttributes):
4215         (AccessibilityUIElement::role):
4216         (AccessibilityUIElement::title):
4217         (AccessibilityUIElement::description):
4218         (AccessibilityUIElement::width):
4219         (AccessibilityUIElement::height):
4220         (AccessibilityUIElement::intValue):
4221         (AccessibilityUIElement::minValue):
4222         (AccessibilityUIElement::maxValue):
4223
4224 2008-07-14  Chris Fleizach  <cfleizach@apple.com>
4225
4226         Reviewed by Beth Dakin
4227
4228         Add support to get attributes of the AXChildren of an objecty
4229
4230         * DumpRenderTree/AccessibilityController.cpp:
4231         (attributesOfChildrenForFocusedElementCallback):
4232         (AccessibilityController::staticFunctions):
4233         * DumpRenderTree/AccessibilityController.h:
4234         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4235         (descriptionOfValue):
4236         (AccessibilityController::attributesOfChildrenForFocusedElement):
4237
4238 2008-07-14  Steve Falkenburg  <sfalken@apple.com>
4239
4240         Build fix.
4241
4242         * DumpRenderTree/win/DumpRenderTree.vcproj:
4243
4244 2008-07-14  Adam Roben  <aroben@apple.com>
4245
4246         Attempted Windows build fix
4247
4248         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
4249         CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
4250         include path.
4251
4252 2008-07-14  Alexey Proskuryakov  <ap@webkit.org>
4253
4254         Reviewed by Geoff Garen.
4255
4256         Eliminate per-thread JavaScript global data instance support and make arbitrary
4257         global data/global object combinations possible.
4258
4259         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
4260         (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
4261         In this scenario, it was causing crashes after each 10-20 tests, because there was a large
4262         chance for a different thread to cause GC after the context was released.
4263
4264 2008-07-11  Stephanie Lewis  <slewis@apple.com>
4265
4266         Reviewed by Darin Adler.
4267
4268         Make sure we read WebCore Leak messages.  Force full document teardown for DumpRenderTree.
4269
4270         Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
4271
4272         * DumpRenderTree/mac/DumpRenderTree.mm:
4273         (setDefaultsToConsistentValuesForTesting):
4274         (resetWebViewToConsistentStateBeforeTesting):
4275         * Scripts/run-webkit-tests:
4276
4277 2008-07-10  Steve Falkenburg  <sfalken@apple.com>
4278
4279         Build fix.
4280
4281         * DumpRenderTree/win/DumpRenderTree.vcproj:
4282
4283 2008-07-09  Eric Seidel  <eric@webkit.org>
4284
4285         Reviewed by Mark Rowe.
4286
4287         Print <div> backgrounds when printing from DRT.
4288
4289         * DumpRenderTree/mac/DumpRenderTree.mm:
4290         (setDefaultsToConsistentValuesForTesting):
4291
4292 2008-07-09  Eric Seidel  <eric@webkit.org>
4293
4294         Reviewed by Mark Rowe.
4295
4296         Fix copying of expected results to correct location
4297
4298         * Scripts/run-webkit-tests:
4299
4300 2008-07-09  Eric Seidel  <eric@webkit.org>
4301
4302         Reviewed by aroben.
4303
4304         * DumpRenderTree/LayoutTestController.cpp:
4305         (LayoutTestController::LayoutTestController):
4306         (dumpAsPDFCallback):
4307         (LayoutTestController::staticFunctions):
4308         * DumpRenderTree/LayoutTestController.h:
4309         (LayoutTestController::dumpAsPDF):
4310         (LayoutTestController::setDumpAsPDF):
4311         * DumpRenderTree/mac/DumpRenderTree.mm:
4312         (dumpFrameAsPDF):
4313         (dump):
4314
4315 2008-07-09  Eric Seidel  <eric@webkit.org>
4316
4317         Reviewed by weinig.
4318
4319         Add Content-Type support to DumpRenderTree and run-webkit-tests
4320         and move expected.txt files to expected.webarchive
4321
4322         https://bugs.webkit.org/show_bug.cgi?id=15565
4323
4324         * DumpRenderTree/cg/ImageDiffCG.cpp:
4325         (compareImages):
4326         (main):
4327         * DumpRenderTree/cg/PixelDumpSupportCG.cpp: