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