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