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