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