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